fix(all): TS issues.
This commit is contained in:
parent
a628948394
commit
4a6917a48d
7 changed files with 43 additions and 43 deletions
36
package-lock.json
generated
36
package-lock.json
generated
|
@ -9,18 +9,18 @@
|
||||||
"version": "2.0.153",
|
"version": "2.0.153",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@azure/cognitiveservices-computervision": "^8.1.0",
|
"@azure/cognitiveservices-computervision": "8.1.0",
|
||||||
"@azure/ms-rest-js": "2.5.1",
|
"@azure/ms-rest-js": "2.5.1",
|
||||||
"@google-cloud/pubsub": "^2.13.0",
|
"@google-cloud/pubsub": "2.13.0",
|
||||||
"@google-cloud/translate": "^6.2.6",
|
"@google-cloud/translate": "6.2.6",
|
||||||
"@microsoft/microsoft-graph-client": "2.2.1",
|
"@microsoft/microsoft-graph-client": "2.2.1",
|
||||||
"@semantic-release/changelog": "5.0.1",
|
"@semantic-release/changelog": "5.0.1",
|
||||||
"@semantic-release/exec": "5.0.0",
|
"@semantic-release/exec": "5.0.0",
|
||||||
"@semantic-release/git": "9.0.0",
|
"@semantic-release/git": "9.0.0",
|
||||||
"@sendgrid/mail": "^7.4.4",
|
"@sendgrid/mail": "7.4.4",
|
||||||
"@types/validator": "13.1.4",
|
"@types/validator": "13.1.4",
|
||||||
"adal-node": "0.2.2",
|
"adal-node": "0.2.2",
|
||||||
"adm-zip": "^0.5.6",
|
"adm-zip": "0.5.6",
|
||||||
"any-shell-escape": "0.1.1",
|
"any-shell-escape": "0.1.1",
|
||||||
"async-promises": "0.2.3",
|
"async-promises": "0.2.3",
|
||||||
"azure-arm-cognitiveservices": "3.0.0",
|
"azure-arm-cognitiveservices": "3.0.0",
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
"botlib": "1.9.4",
|
"botlib": "1.9.4",
|
||||||
"cli-spinner": "0.2.10",
|
"cli-spinner": "0.2.10",
|
||||||
"core-js": "3.14.0",
|
"core-js": "3.14.0",
|
||||||
"date-diff": "^0.2.2",
|
"date-diff": "0.2.2",
|
||||||
"dotenv-extended": "2.9.0",
|
"dotenv-extended": "2.9.0",
|
||||||
"exceljs": "4.2.1",
|
"exceljs": "4.2.1",
|
||||||
"express": "4.17.1",
|
"express": "4.17.1",
|
||||||
|
@ -49,15 +49,15 @@
|
||||||
"googleapis": "75.0.0",
|
"googleapis": "75.0.0",
|
||||||
"ibm-watson": "6.1.1",
|
"ibm-watson": "6.1.1",
|
||||||
"js-beautify": "1.13.13",
|
"js-beautify": "1.13.13",
|
||||||
"luxon": "^2.0.2",
|
"luxon": "2.0.2",
|
||||||
"marked": "2.0.7",
|
"marked": "2.0.7",
|
||||||
"momentjs": "^2.0.0",
|
"momentjs": "2.0.0",
|
||||||
"ms-rest-azure": "3.0.0",
|
"ms-rest-azure": "3.0.0",
|
||||||
"nexmo": "2.9.1",
|
"nexmo": "2.9.1",
|
||||||
"node-cron": "3.0.0",
|
"node-cron": "3.0.0",
|
||||||
"npm": "7.21.0",
|
"npm": "7.21.0",
|
||||||
"opn": "6.0.0",
|
"opn": "6.0.0",
|
||||||
"pdf-extraction": "^1.0.2",
|
"pdf-extraction": "1.0.2",
|
||||||
"phone": "2.4.21",
|
"phone": "2.4.21",
|
||||||
"pragmatismo-io-framework": "1.0.20",
|
"pragmatismo-io-framework": "1.0.20",
|
||||||
"prism-media": "1.3.1",
|
"prism-media": "1.3.1",
|
||||||
|
@ -72,13 +72,13 @@
|
||||||
"sequelize": "5.21.5",
|
"sequelize": "5.21.5",
|
||||||
"sequelize-typescript": "1.1.0",
|
"sequelize-typescript": "1.1.0",
|
||||||
"simple-git": "2.39.1",
|
"simple-git": "2.39.1",
|
||||||
"speakingurl": "^14.0.1",
|
"speakingurl": "14.0.1",
|
||||||
"sppull": "2.7.0",
|
"sppull": "2.7.0",
|
||||||
"strict-password-generator": "1.1.2",
|
"strict-password-generator": "1.1.2",
|
||||||
"swagger-client": "2.1.18",
|
"swagger-client": "2.1.18",
|
||||||
"tedious": "9.2.1",
|
"tedious": "9.2.1",
|
||||||
"textract": "2.5.0",
|
"textract": "2.5.0",
|
||||||
"typescript": "3.9.2",
|
"typescript": "3.6.4",
|
||||||
"url-join": "4.0.1",
|
"url-join": "4.0.1",
|
||||||
"vbscript-to-typescript": "1.0.8",
|
"vbscript-to-typescript": "1.0.8",
|
||||||
"walk-promise": "0.2.0",
|
"walk-promise": "0.2.0",
|
||||||
|
@ -104,7 +104,7 @@
|
||||||
"travis-deploy-once": "5.0.11",
|
"travis-deploy-once": "5.0.11",
|
||||||
"ts-node": "10.0.0",
|
"ts-node": "10.0.0",
|
||||||
"tslint": "6.1.2",
|
"tslint": "6.1.2",
|
||||||
"tslint-microsoft-contrib": "^6.2.0",
|
"tslint-microsoft-contrib": "6.2.0",
|
||||||
"typedoc": "0.20.36"
|
"typedoc": "0.20.36"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
@ -25629,9 +25629,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/typescript": {
|
"node_modules/typescript": {
|
||||||
"version": "3.9.2",
|
"version": "3.6.4",
|
||||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.2.tgz",
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.6.4.tgz",
|
||||||
"integrity": "sha512-q2ktq4n/uLuNNShyayit+DTobV2ApPEo/6so68JaD5ojvc/6GClBipedB9zNWYxRSAlZXAe405Rlijzl6qDiSw==",
|
"integrity": "sha512-unoCll1+l+YK4i4F8f22TaNVPRHcD9PA3yCuZ8g5e0qGqlVlJ/8FSateOLLSagn+Yg5+ZwuPkL8LFUc0Jcvksg==",
|
||||||
"bin": {
|
"bin": {
|
||||||
"tsc": "bin/tsc",
|
"tsc": "bin/tsc",
|
||||||
"tsserver": "bin/tsserver"
|
"tsserver": "bin/tsserver"
|
||||||
|
@ -46914,9 +46914,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"typescript": {
|
"typescript": {
|
||||||
"version": "3.9.2",
|
"version": "3.6.4",
|
||||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.2.tgz",
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.6.4.tgz",
|
||||||
"integrity": "sha512-q2ktq4n/uLuNNShyayit+DTobV2ApPEo/6so68JaD5ojvc/6GClBipedB9zNWYxRSAlZXAe405Rlijzl6qDiSw=="
|
"integrity": "sha512-unoCll1+l+YK4i4F8f22TaNVPRHcD9PA3yCuZ8g5e0qGqlVlJ/8FSateOLLSagn+Yg5+ZwuPkL8LFUc0Jcvksg=="
|
||||||
},
|
},
|
||||||
"typpy": {
|
"typpy": {
|
||||||
"version": "2.3.11",
|
"version": "2.3.11",
|
||||||
|
|
|
@ -117,7 +117,7 @@
|
||||||
"swagger-client": "2.1.18",
|
"swagger-client": "2.1.18",
|
||||||
"tedious": "9.2.1",
|
"tedious": "9.2.1",
|
||||||
"textract": "2.5.0",
|
"textract": "2.5.0",
|
||||||
"typescript": "3.9.2",
|
"typescript": "3.6.4",
|
||||||
"url-join": "4.0.1",
|
"url-join": "4.0.1",
|
||||||
"vbscript-to-typescript": "1.0.8",
|
"vbscript-to-typescript": "1.0.8",
|
||||||
"walk-promise": "0.2.0",
|
"walk-promise": "0.2.0",
|
||||||
|
|
|
@ -62,9 +62,9 @@ export class GuaribasAdmin extends Model<GuaribasAdmin> {
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
@CreatedAt
|
@CreatedAt
|
||||||
declare public createdAt: Date;
|
public createdAt: Date;
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
@UpdatedAt
|
@UpdatedAt
|
||||||
declare public updatedAt: Date;
|
public updatedAt: Date;
|
||||||
}
|
}
|
||||||
|
|
|
@ -96,7 +96,7 @@ export class GuaribasConversation extends Model<GuaribasConversation> {
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
@CreatedAt
|
@CreatedAt
|
||||||
declare public createdAt: Date;
|
public createdAt: Date;
|
||||||
|
|
||||||
@Column public text: string;
|
@Column public text: string;
|
||||||
|
|
||||||
|
@ -128,11 +128,11 @@ export class GuaribasConversationMessage extends Model<GuaribasConversationMessa
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
@CreatedAt
|
@CreatedAt
|
||||||
declare public createdAt: Date;
|
public createdAt: Date;
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
@UpdatedAt
|
@UpdatedAt
|
||||||
declare public updatedAt: Date;
|
public updatedAt: Date;
|
||||||
|
|
||||||
//tslint:disable-next-line:no-use-before-declare
|
//tslint:disable-next-line:no-use-before-declare
|
||||||
@ForeignKey(() => GuaribasConversation)
|
@ForeignKey(() => GuaribasConversation)
|
||||||
|
|
|
@ -70,9 +70,9 @@ export class GuaribasSchedule extends Model<GuaribasSchedule> {
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
@CreatedAt
|
@CreatedAt
|
||||||
declare public createdAt: Date;
|
public createdAt: Date;
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
@UpdatedAt
|
@UpdatedAt
|
||||||
declare public updatedAt: Date;
|
public updatedAt: Date;
|
||||||
}
|
}
|
||||||
|
|
|
@ -85,7 +85,7 @@ export class GuaribasInstance extends Model<GuaribasInstance>
|
||||||
public state: string;
|
public state: string;
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
declare public version: string;
|
public version: string;
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
public enabledAdmin: boolean;
|
public enabledAdmin: boolean;
|
||||||
|
@ -262,11 +262,11 @@ export class GuaribasInstance extends Model<GuaribasInstance>
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
@CreatedAt
|
@CreatedAt
|
||||||
declare public createdAt: Date;
|
public createdAt: Date;
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
@UpdatedAt
|
@UpdatedAt
|
||||||
declare public updatedAt: Date;
|
public updatedAt: Date;
|
||||||
|
|
||||||
@Column(DataType.STRING(4000))
|
@Column(DataType.STRING(4000))
|
||||||
public params: string;
|
public params: string;
|
||||||
|
@ -294,11 +294,11 @@ export class GuaribasPackage extends Model<GuaribasPackage> {
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
@CreatedAt
|
@CreatedAt
|
||||||
declare public createdAt: Date;
|
public createdAt: Date;
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
@UpdatedAt
|
@UpdatedAt
|
||||||
declare public updatedAt: Date;
|
public updatedAt: Date;
|
||||||
|
|
||||||
@Column({ type: DataType.STRING(512) })
|
@Column({ type: DataType.STRING(512) })
|
||||||
public custom: string;
|
public custom: string;
|
||||||
|
@ -319,11 +319,11 @@ export class GuaribasChannel extends Model<GuaribasChannel> {
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
@CreatedAt
|
@CreatedAt
|
||||||
declare public createdAt: Date;
|
public createdAt: Date;
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
@UpdatedAt
|
@UpdatedAt
|
||||||
declare public updatedAt: Date;
|
public updatedAt: Date;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -349,11 +349,11 @@ export class GuaribasException extends Model<GuaribasException> {
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
@CreatedAt
|
@CreatedAt
|
||||||
declare public createdAt: Date;
|
public createdAt: Date;
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
@UpdatedAt
|
@UpdatedAt
|
||||||
declare public updatedAt: Date;
|
public updatedAt: Date;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Table
|
@Table
|
||||||
|
@ -372,11 +372,11 @@ export class GuaribasApplications extends Model<GuaribasApplications> {
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
@CreatedAt
|
@CreatedAt
|
||||||
declare public createdAt: Date;
|
public createdAt: Date;
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
@UpdatedAt
|
@UpdatedAt
|
||||||
declare public updatedAt: Date;
|
public updatedAt: Date;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Table
|
@Table
|
||||||
|
@ -398,9 +398,9 @@ export class GuaribasSchedule extends Model<GuaribasSchedule> {
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
@CreatedAt
|
@CreatedAt
|
||||||
declare public createdAt: Date;
|
public createdAt: Date;
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
@UpdatedAt
|
@UpdatedAt
|
||||||
declare public updatedAt: Date;
|
public updatedAt: Date;
|
||||||
}
|
}
|
||||||
|
|
|
@ -158,11 +158,11 @@ export class GuaribasQuestion extends Model<GuaribasQuestion> {
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
@CreatedAt
|
@CreatedAt
|
||||||
declare public createdAt: Date;
|
public createdAt: Date;
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
@UpdatedAt
|
@UpdatedAt
|
||||||
declare public updatedAt: Date;
|
public updatedAt: Date;
|
||||||
|
|
||||||
//tslint:disable-next-line:no-use-before-declare
|
//tslint:disable-next-line:no-use-before-declare
|
||||||
@ForeignKey(() => GuaribasAnswer)
|
@ForeignKey(() => GuaribasAnswer)
|
||||||
|
@ -207,11 +207,11 @@ export class GuaribasAnswer extends Model<GuaribasAnswer> {
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
@CreatedAt
|
@CreatedAt
|
||||||
declare public createdAt: Date;
|
public createdAt: Date;
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
@UpdatedAt
|
@UpdatedAt
|
||||||
declare public updatedAt: Date;
|
public updatedAt: Date;
|
||||||
|
|
||||||
@HasMany(() => GuaribasQuestion)
|
@HasMany(() => GuaribasQuestion)
|
||||||
public questions: GuaribasQuestion[];
|
public questions: GuaribasQuestion[];
|
||||||
|
|
Loading…
Add table
Reference in a new issue