@cristian-israel/giganet_lib_conecta 1.0.69 → 1.0.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +13 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.js +14 -1
- package/dist/index.mjs +14 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -35896,10 +35896,12 @@ interface CancellationAnalysisAttributes {
|
|
|
35896
35896
|
resultadoIa?: object;
|
|
35897
35897
|
status?: "processando" | "concluido" | "erro";
|
|
35898
35898
|
processadoEm?: Date;
|
|
35899
|
+
tentativas?: number;
|
|
35900
|
+
maxTentativas?: number;
|
|
35899
35901
|
createdAt?: Date;
|
|
35900
35902
|
updatedAt?: Date;
|
|
35901
35903
|
}
|
|
35902
|
-
type CancellationAnalysisOptionalAttributes = "id" | "totalOs" | "totalEvitaveis" | "causaPrincipal" | "resumoExecutivo" | "resultadoIa" | "status" | "processadoEm" | "createdAt" | "updatedAt";
|
|
35904
|
+
type CancellationAnalysisOptionalAttributes = "id" | "totalOs" | "totalEvitaveis" | "causaPrincipal" | "resumoExecutivo" | "resultadoIa" | "status" | "processadoEm" | "tentativas" | "maxTentativas" | "createdAt" | "updatedAt";
|
|
35903
35905
|
type CancellationAnalysisCreationAttributes = Optional<CancellationAnalysisAttributes, CancellationAnalysisOptionalAttributes>;
|
|
35904
35906
|
declare class CancellationAnalysis extends Model<CancellationAnalysisAttributes, CancellationAnalysisCreationAttributes> implements CancellationAnalysisAttributes {
|
|
35905
35907
|
id: number;
|
|
@@ -35913,6 +35915,8 @@ declare class CancellationAnalysis extends Model<CancellationAnalysisAttributes,
|
|
|
35913
35915
|
resultadoIa?: object;
|
|
35914
35916
|
status?: "processando" | "concluido" | "erro";
|
|
35915
35917
|
processadoEm?: Date;
|
|
35918
|
+
tentativas?: number;
|
|
35919
|
+
maxTentativas?: number;
|
|
35916
35920
|
createdAt?: Date;
|
|
35917
35921
|
updatedAt?: Date;
|
|
35918
35922
|
static initModel(sequelize: Sequelize.Sequelize): typeof CancellationAnalysis;
|
|
@@ -36637,6 +36641,7 @@ declare const schemas: {
|
|
|
36637
36641
|
is_active: boolean;
|
|
36638
36642
|
cron_expression: string;
|
|
36639
36643
|
execution_count: number;
|
|
36644
|
+
metadata?: any;
|
|
36640
36645
|
status_last_execution?: "success" | "error" | "info" | "warning" | null | undefined;
|
|
36641
36646
|
last_execution_at?: NativeDate | null | undefined;
|
|
36642
36647
|
next_execution_at?: NativeDate | null | undefined;
|
|
@@ -36648,6 +36653,7 @@ declare const schemas: {
|
|
|
36648
36653
|
is_active: boolean;
|
|
36649
36654
|
cron_expression: string;
|
|
36650
36655
|
execution_count: number;
|
|
36656
|
+
metadata?: any;
|
|
36651
36657
|
status_last_execution?: "success" | "error" | "info" | "warning" | null | undefined;
|
|
36652
36658
|
last_execution_at?: NativeDate | null | undefined;
|
|
36653
36659
|
next_execution_at?: NativeDate | null | undefined;
|
|
@@ -36663,6 +36669,7 @@ declare const schemas: {
|
|
|
36663
36669
|
is_active: boolean;
|
|
36664
36670
|
cron_expression: string;
|
|
36665
36671
|
execution_count: number;
|
|
36672
|
+
metadata?: any;
|
|
36666
36673
|
status_last_execution?: "success" | "error" | "info" | "warning" | null | undefined;
|
|
36667
36674
|
last_execution_at?: NativeDate | null | undefined;
|
|
36668
36675
|
next_execution_at?: NativeDate | null | undefined;
|
|
@@ -36680,6 +36687,7 @@ declare const schemas: {
|
|
|
36680
36687
|
is_active: boolean;
|
|
36681
36688
|
cron_expression: string;
|
|
36682
36689
|
execution_count: number;
|
|
36690
|
+
metadata?: any;
|
|
36683
36691
|
status_last_execution?: "success" | "error" | "info" | "warning" | null | undefined;
|
|
36684
36692
|
last_execution_at?: NativeDate | null | undefined;
|
|
36685
36693
|
next_execution_at?: NativeDate | null | undefined;
|
|
@@ -37104,6 +37112,7 @@ declare const RoutinesTasksSchema: Schema<any, mongoose.Model<any, any, any, any
|
|
|
37104
37112
|
is_active: boolean;
|
|
37105
37113
|
cron_expression: string;
|
|
37106
37114
|
execution_count: number;
|
|
37115
|
+
metadata?: any;
|
|
37107
37116
|
status_last_execution?: "success" | "error" | "info" | "warning" | null | undefined;
|
|
37108
37117
|
last_execution_at?: NativeDate | null | undefined;
|
|
37109
37118
|
next_execution_at?: NativeDate | null | undefined;
|
|
@@ -37115,6 +37124,7 @@ declare const RoutinesTasksSchema: Schema<any, mongoose.Model<any, any, any, any
|
|
|
37115
37124
|
is_active: boolean;
|
|
37116
37125
|
cron_expression: string;
|
|
37117
37126
|
execution_count: number;
|
|
37127
|
+
metadata?: any;
|
|
37118
37128
|
status_last_execution?: "success" | "error" | "info" | "warning" | null | undefined;
|
|
37119
37129
|
last_execution_at?: NativeDate | null | undefined;
|
|
37120
37130
|
next_execution_at?: NativeDate | null | undefined;
|
|
@@ -37130,6 +37140,7 @@ declare const RoutinesTasksSchema: Schema<any, mongoose.Model<any, any, any, any
|
|
|
37130
37140
|
is_active: boolean;
|
|
37131
37141
|
cron_expression: string;
|
|
37132
37142
|
execution_count: number;
|
|
37143
|
+
metadata?: any;
|
|
37133
37144
|
status_last_execution?: "success" | "error" | "info" | "warning" | null | undefined;
|
|
37134
37145
|
last_execution_at?: NativeDate | null | undefined;
|
|
37135
37146
|
next_execution_at?: NativeDate | null | undefined;
|
|
@@ -37147,6 +37158,7 @@ declare const RoutinesTasksSchema: Schema<any, mongoose.Model<any, any, any, any
|
|
|
37147
37158
|
is_active: boolean;
|
|
37148
37159
|
cron_expression: string;
|
|
37149
37160
|
execution_count: number;
|
|
37161
|
+
metadata?: any;
|
|
37150
37162
|
status_last_execution?: "success" | "error" | "info" | "warning" | null | undefined;
|
|
37151
37163
|
last_execution_at?: NativeDate | null | undefined;
|
|
37152
37164
|
next_execution_at?: NativeDate | null | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -35896,10 +35896,12 @@ interface CancellationAnalysisAttributes {
|
|
|
35896
35896
|
resultadoIa?: object;
|
|
35897
35897
|
status?: "processando" | "concluido" | "erro";
|
|
35898
35898
|
processadoEm?: Date;
|
|
35899
|
+
tentativas?: number;
|
|
35900
|
+
maxTentativas?: number;
|
|
35899
35901
|
createdAt?: Date;
|
|
35900
35902
|
updatedAt?: Date;
|
|
35901
35903
|
}
|
|
35902
|
-
type CancellationAnalysisOptionalAttributes = "id" | "totalOs" | "totalEvitaveis" | "causaPrincipal" | "resumoExecutivo" | "resultadoIa" | "status" | "processadoEm" | "createdAt" | "updatedAt";
|
|
35904
|
+
type CancellationAnalysisOptionalAttributes = "id" | "totalOs" | "totalEvitaveis" | "causaPrincipal" | "resumoExecutivo" | "resultadoIa" | "status" | "processadoEm" | "tentativas" | "maxTentativas" | "createdAt" | "updatedAt";
|
|
35903
35905
|
type CancellationAnalysisCreationAttributes = Optional<CancellationAnalysisAttributes, CancellationAnalysisOptionalAttributes>;
|
|
35904
35906
|
declare class CancellationAnalysis extends Model<CancellationAnalysisAttributes, CancellationAnalysisCreationAttributes> implements CancellationAnalysisAttributes {
|
|
35905
35907
|
id: number;
|
|
@@ -35913,6 +35915,8 @@ declare class CancellationAnalysis extends Model<CancellationAnalysisAttributes,
|
|
|
35913
35915
|
resultadoIa?: object;
|
|
35914
35916
|
status?: "processando" | "concluido" | "erro";
|
|
35915
35917
|
processadoEm?: Date;
|
|
35918
|
+
tentativas?: number;
|
|
35919
|
+
maxTentativas?: number;
|
|
35916
35920
|
createdAt?: Date;
|
|
35917
35921
|
updatedAt?: Date;
|
|
35918
35922
|
static initModel(sequelize: Sequelize.Sequelize): typeof CancellationAnalysis;
|
|
@@ -36637,6 +36641,7 @@ declare const schemas: {
|
|
|
36637
36641
|
is_active: boolean;
|
|
36638
36642
|
cron_expression: string;
|
|
36639
36643
|
execution_count: number;
|
|
36644
|
+
metadata?: any;
|
|
36640
36645
|
status_last_execution?: "success" | "error" | "info" | "warning" | null | undefined;
|
|
36641
36646
|
last_execution_at?: NativeDate | null | undefined;
|
|
36642
36647
|
next_execution_at?: NativeDate | null | undefined;
|
|
@@ -36648,6 +36653,7 @@ declare const schemas: {
|
|
|
36648
36653
|
is_active: boolean;
|
|
36649
36654
|
cron_expression: string;
|
|
36650
36655
|
execution_count: number;
|
|
36656
|
+
metadata?: any;
|
|
36651
36657
|
status_last_execution?: "success" | "error" | "info" | "warning" | null | undefined;
|
|
36652
36658
|
last_execution_at?: NativeDate | null | undefined;
|
|
36653
36659
|
next_execution_at?: NativeDate | null | undefined;
|
|
@@ -36663,6 +36669,7 @@ declare const schemas: {
|
|
|
36663
36669
|
is_active: boolean;
|
|
36664
36670
|
cron_expression: string;
|
|
36665
36671
|
execution_count: number;
|
|
36672
|
+
metadata?: any;
|
|
36666
36673
|
status_last_execution?: "success" | "error" | "info" | "warning" | null | undefined;
|
|
36667
36674
|
last_execution_at?: NativeDate | null | undefined;
|
|
36668
36675
|
next_execution_at?: NativeDate | null | undefined;
|
|
@@ -36680,6 +36687,7 @@ declare const schemas: {
|
|
|
36680
36687
|
is_active: boolean;
|
|
36681
36688
|
cron_expression: string;
|
|
36682
36689
|
execution_count: number;
|
|
36690
|
+
metadata?: any;
|
|
36683
36691
|
status_last_execution?: "success" | "error" | "info" | "warning" | null | undefined;
|
|
36684
36692
|
last_execution_at?: NativeDate | null | undefined;
|
|
36685
36693
|
next_execution_at?: NativeDate | null | undefined;
|
|
@@ -37104,6 +37112,7 @@ declare const RoutinesTasksSchema: Schema<any, mongoose.Model<any, any, any, any
|
|
|
37104
37112
|
is_active: boolean;
|
|
37105
37113
|
cron_expression: string;
|
|
37106
37114
|
execution_count: number;
|
|
37115
|
+
metadata?: any;
|
|
37107
37116
|
status_last_execution?: "success" | "error" | "info" | "warning" | null | undefined;
|
|
37108
37117
|
last_execution_at?: NativeDate | null | undefined;
|
|
37109
37118
|
next_execution_at?: NativeDate | null | undefined;
|
|
@@ -37115,6 +37124,7 @@ declare const RoutinesTasksSchema: Schema<any, mongoose.Model<any, any, any, any
|
|
|
37115
37124
|
is_active: boolean;
|
|
37116
37125
|
cron_expression: string;
|
|
37117
37126
|
execution_count: number;
|
|
37127
|
+
metadata?: any;
|
|
37118
37128
|
status_last_execution?: "success" | "error" | "info" | "warning" | null | undefined;
|
|
37119
37129
|
last_execution_at?: NativeDate | null | undefined;
|
|
37120
37130
|
next_execution_at?: NativeDate | null | undefined;
|
|
@@ -37130,6 +37140,7 @@ declare const RoutinesTasksSchema: Schema<any, mongoose.Model<any, any, any, any
|
|
|
37130
37140
|
is_active: boolean;
|
|
37131
37141
|
cron_expression: string;
|
|
37132
37142
|
execution_count: number;
|
|
37143
|
+
metadata?: any;
|
|
37133
37144
|
status_last_execution?: "success" | "error" | "info" | "warning" | null | undefined;
|
|
37134
37145
|
last_execution_at?: NativeDate | null | undefined;
|
|
37135
37146
|
next_execution_at?: NativeDate | null | undefined;
|
|
@@ -37147,6 +37158,7 @@ declare const RoutinesTasksSchema: Schema<any, mongoose.Model<any, any, any, any
|
|
|
37147
37158
|
is_active: boolean;
|
|
37148
37159
|
cron_expression: string;
|
|
37149
37160
|
execution_count: number;
|
|
37161
|
+
metadata?: any;
|
|
37150
37162
|
status_last_execution?: "success" | "error" | "info" | "warning" | null | undefined;
|
|
37151
37163
|
last_execution_at?: NativeDate | null | undefined;
|
|
37152
37164
|
next_execution_at?: NativeDate | null | undefined;
|
package/dist/index.js
CHANGED
|
@@ -90452,6 +90452,18 @@ var CancellationAnalysis = class _CancellationAnalysis extends import_sequelize7
|
|
|
90452
90452
|
allowNull: true,
|
|
90453
90453
|
field: "processado_em"
|
|
90454
90454
|
},
|
|
90455
|
+
tentativas: {
|
|
90456
|
+
type: import_sequelize775.DataTypes.TINYINT.UNSIGNED,
|
|
90457
|
+
allowNull: false,
|
|
90458
|
+
defaultValue: 0,
|
|
90459
|
+
field: "tentativas"
|
|
90460
|
+
},
|
|
90461
|
+
maxTentativas: {
|
|
90462
|
+
type: import_sequelize775.DataTypes.TINYINT.UNSIGNED,
|
|
90463
|
+
allowNull: false,
|
|
90464
|
+
defaultValue: 3,
|
|
90465
|
+
field: "max_tentativas"
|
|
90466
|
+
},
|
|
90455
90467
|
createdAt: {
|
|
90456
90468
|
type: import_sequelize775.DataTypes.DATE,
|
|
90457
90469
|
allowNull: true,
|
|
@@ -91468,7 +91480,8 @@ var RoutinesTasksSchema = new import_mongoose9.Schema(
|
|
|
91468
91480
|
last_execution_at: { type: Date, default: null },
|
|
91469
91481
|
next_execution_at: { type: Date, default: null },
|
|
91470
91482
|
execution_count: { type: Number, default: 0 },
|
|
91471
|
-
last_execution_time_ms: { type: Number, default: null }
|
|
91483
|
+
last_execution_time_ms: { type: Number, default: null },
|
|
91484
|
+
metadata: { type: import_mongoose9.Schema.Types.Mixed }
|
|
91472
91485
|
},
|
|
91473
91486
|
{
|
|
91474
91487
|
timestamps: true
|
package/dist/index.mjs
CHANGED
|
@@ -90408,6 +90408,18 @@ var CancellationAnalysis = class _CancellationAnalysis extends Model774 {
|
|
|
90408
90408
|
allowNull: true,
|
|
90409
90409
|
field: "processado_em"
|
|
90410
90410
|
},
|
|
90411
|
+
tentativas: {
|
|
90412
|
+
type: DataTypes774.TINYINT.UNSIGNED,
|
|
90413
|
+
allowNull: false,
|
|
90414
|
+
defaultValue: 0,
|
|
90415
|
+
field: "tentativas"
|
|
90416
|
+
},
|
|
90417
|
+
maxTentativas: {
|
|
90418
|
+
type: DataTypes774.TINYINT.UNSIGNED,
|
|
90419
|
+
allowNull: false,
|
|
90420
|
+
defaultValue: 3,
|
|
90421
|
+
field: "max_tentativas"
|
|
90422
|
+
},
|
|
90411
90423
|
createdAt: {
|
|
90412
90424
|
type: DataTypes774.DATE,
|
|
90413
90425
|
allowNull: true,
|
|
@@ -91424,7 +91436,8 @@ var RoutinesTasksSchema = new Schema8(
|
|
|
91424
91436
|
last_execution_at: { type: Date, default: null },
|
|
91425
91437
|
next_execution_at: { type: Date, default: null },
|
|
91426
91438
|
execution_count: { type: Number, default: 0 },
|
|
91427
|
-
last_execution_time_ms: { type: Number, default: null }
|
|
91439
|
+
last_execution_time_ms: { type: Number, default: null },
|
|
91440
|
+
metadata: { type: Schema8.Types.Mixed }
|
|
91428
91441
|
},
|
|
91429
91442
|
{
|
|
91430
91443
|
timestamps: true
|