diff --git a/package-lock.json b/package-lock.json index 40aba2b..1190840 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "groupdocs-conversion-cloud", - "version": "23.10.0", + "version": "23.12.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "groupdocs-conversion-cloud", - "version": "23.10.0", + "version": "23.12.0", "license": "MIT", "dependencies": { - "axios": "1.3.0", + "axios": "1.6.2", "form-data": "*", "jsonwebtoken": "9.0.1", "qs": "6.11.2" @@ -314,10 +314,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/axios": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.0.tgz", - "integrity": "sha512-oCye5nHhTypzkdLIvF9SaHfr8UAquqCn1KY3j8vsrjeol8yohAdGxIpRPbF1bOLsx33HOAatdfMX1yzsj2cHwg==", - "license": "MIT", + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.2.tgz", + "integrity": "sha512-7i24Ri4pmDRfJTR7LDBhsOTtcm+9kjX5WiY1X3wIisx6G9So3pfMkEiU7emUBe46oceVImccTEM3k6C5dbVW8A==", "dependencies": { "follow-redirects": "^1.15.0", "form-data": "^4.0.0", @@ -2111,9 +2110,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "axios": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.0.tgz", - "integrity": "sha512-oCye5nHhTypzkdLIvF9SaHfr8UAquqCn1KY3j8vsrjeol8yohAdGxIpRPbF1bOLsx33HOAatdfMX1yzsj2cHwg==", + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.2.tgz", + "integrity": "sha512-7i24Ri4pmDRfJTR7LDBhsOTtcm+9kjX5WiY1X3wIisx6G9So3pfMkEiU7emUBe46oceVImccTEM3k6C5dbVW8A==", "requires": { "follow-redirects": "^1.15.0", "form-data": "^4.0.0", diff --git a/package.json b/package.json index 91b6eb9..26e9cc7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "groupdocs-conversion-cloud", - "version": "23.10.0", + "version": "23.12.0", "description": "GroupDocs.Conversion Cloud SDK for Node.js", "homepage": "https://products.groupdocs.cloud/conversion", "author": { @@ -32,7 +32,7 @@ "build:package": "npm pack" }, "dependencies": { - "axios": "1.3.0", + "axios": "1.6.2", "form-data": "*", "jsonwebtoken": "9.0.1", "qs": "6.11.2" diff --git a/src/model.ts b/src/model.ts index c155e8c..c33b6f7 100644 --- a/src/model.ts +++ b/src/model.ts @@ -1367,90 +1367,6 @@ export class CadLoadOptions extends LoadOptions { } } -/** - * Csv document load options - */ -// tslint:disable: completed-docs -export class CsvLoadOptions extends LoadOptions { - - /** - * Attribute type map - */ - public static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - name: "separator", - baseName: "separator", - type: "string", - }, - { - name: "isMultiEncoded", - baseName: "isMultiEncoded", - type: "boolean", - }, - { - name: "hasFormula", - baseName: "hasFormula", - type: "boolean", - }, - { - name: "convertNumericData", - baseName: "convertNumericData", - type: "boolean", - }, - { - name: "convertDateTimeData", - baseName: "convertDateTimeData", - type: "boolean", - }, - { - name: "encoding", - baseName: "encoding", - type: "string", - } ]; - - /** - * Returns attribute type map - */ - public static getAttributeTypeMap() { - return super.getAttributeTypeMap().concat(CsvLoadOptions.attributeTypeMap); - } - - /** - * Delimiter of a Csv file - */ - public separator: string; - - /** - * True means the file contains several encodings - */ - public isMultiEncoded: boolean; - - /** - * Indicates whether text is formula if it starts with \"=\" - */ - public hasFormula: boolean; - - /** - * Indicates whether the string in the file is converted to numeric. Default is True - */ - public convertNumericData: boolean; - - /** - * Indicates whether the string in the file is converted to date. Default is True - */ - public convertDateTimeData: boolean; - - /** - * File encoding - */ - public encoding: string; - - public constructor(init?: Partial) { - super(init); - Object.assign(this, init); - } -} - /** * Diagram document load options */ @@ -3303,6 +3219,90 @@ export class BmpLoadOptions extends ImageLoadOptions { } } +/** + * Csv document load options + */ +// tslint:disable: completed-docs +export class CsvLoadOptions extends SpreadsheetLoadOptions { + + /** + * Attribute type map + */ + public static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + name: "separator", + baseName: "separator", + type: "string", + }, + { + name: "isMultiEncoded", + baseName: "isMultiEncoded", + type: "boolean", + }, + { + name: "hasFormula", + baseName: "hasFormula", + type: "boolean", + }, + { + name: "convertNumericData", + baseName: "convertNumericData", + type: "boolean", + }, + { + name: "convertDateTimeData", + baseName: "convertDateTimeData", + type: "boolean", + }, + { + name: "encoding", + baseName: "encoding", + type: "string", + } ]; + + /** + * Returns attribute type map + */ + public static getAttributeTypeMap() { + return super.getAttributeTypeMap().concat(CsvLoadOptions.attributeTypeMap); + } + + /** + * Delimiter of a Csv file + */ + public separator: string; + + /** + * True means the file contains several encodings + */ + public isMultiEncoded: boolean; + + /** + * Indicates whether text is formula if it starts with \"=\" + */ + public hasFormula: boolean; + + /** + * Indicates whether the string in the file is converted to numeric. Default is True + */ + public convertNumericData: boolean; + + /** + * Indicates whether the string in the file is converted to date. Default is True + */ + public convertDateTimeData: boolean; + + /** + * File encoding + */ + public encoding: string; + + public constructor(init?: Partial) { + super(init); + Object.assign(this, init); + } +} + /** * Dcm convert options */ @@ -6755,7 +6755,6 @@ const typeMap = { SupportedFormat, WatermarkOptions, CadLoadOptions, - CsvLoadOptions, DiagramLoadOptions, EBookConvertOptions, EmailLoadOptions, @@ -6780,6 +6779,7 @@ const typeMap = { XmlLoadOptions, BmpConvertOptions, BmpLoadOptions, + CsvLoadOptions, DcmConvertOptions, DcmLoadOptions, DgnLoadOptions, diff --git a/src/package_version.ts b/src/package_version.ts index 4711889..d0030d0 100644 --- a/src/package_version.ts +++ b/src/package_version.ts @@ -25,4 +25,4 @@ /** * Package version */ -export const PackageVersion: string = "23.10.0"; +export const PackageVersion: string = "23.12.0";