@kl1/contracts 1.1.21-uat → 1.1.22-uat
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.js +12 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -7
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +3 -3
- package/dist/src/chat/validation.d.ts +3 -3
- package/dist/src/contract.d.ts +555 -98
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +10 -0
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +6 -0
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/snippet/index.d.ts +545 -97
- package/dist/src/snippet/index.d.ts.map +1 -1
- package/dist/src/snippet/schema.d.ts +220 -19
- package/dist/src/snippet/schema.d.ts.map +1 -1
- package/dist/src/snippet/validation.d.ts +5 -5
- package/package.json +1 -1
package/dist/src/contract.d.ts
CHANGED
@@ -15648,7 +15648,9 @@ export declare const apiContract: {
|
|
15648
15648
|
startedDate: import("zod").ZodNullable<import("zod").ZodString>;
|
15649
15649
|
handledTime: import("zod").ZodNullable<import("zod").ZodString>;
|
15650
15650
|
firstResponseTime: import("zod").ZodNullable<import("zod").ZodString>;
|
15651
|
+
firstResponseDate: import("zod").ZodString;
|
15651
15652
|
resolutionTime: import("zod").ZodNullable<import("zod").ZodString>;
|
15653
|
+
resolutionDate: import("zod").ZodString;
|
15652
15654
|
slaMeet: import("zod").ZodNullable<import("zod").ZodString>;
|
15653
15655
|
evaluateForm: import("zod").ZodNullable<import("zod").ZodObject<{
|
15654
15656
|
id: import("zod").ZodString;
|
@@ -21173,7 +21175,9 @@ export declare const apiContract: {
|
|
21173
21175
|
} | null;
|
21174
21176
|
customerPhone: string | null;
|
21175
21177
|
channelType: string | null;
|
21178
|
+
firstResponseDate: string;
|
21176
21179
|
resolutionTime: string | null;
|
21180
|
+
resolutionDate: string;
|
21177
21181
|
slaMeet: string | null;
|
21178
21182
|
evaluateForm: {
|
21179
21183
|
id: string;
|
@@ -21896,7 +21900,9 @@ export declare const apiContract: {
|
|
21896
21900
|
} | null;
|
21897
21901
|
customerPhone: string | null;
|
21898
21902
|
channelType: string | null;
|
21903
|
+
firstResponseDate: string;
|
21899
21904
|
resolutionTime: string | null;
|
21905
|
+
resolutionDate: string;
|
21900
21906
|
slaMeet: string | null;
|
21901
21907
|
evaluateForm: {
|
21902
21908
|
id: string;
|
@@ -22625,7 +22631,9 @@ export declare const apiContract: {
|
|
22625
22631
|
} | null;
|
22626
22632
|
customerPhone: string | null;
|
22627
22633
|
channelType: string | null;
|
22634
|
+
firstResponseDate: string;
|
22628
22635
|
resolutionTime: string | null;
|
22636
|
+
resolutionDate: string;
|
22629
22637
|
slaMeet: string | null;
|
22630
22638
|
evaluateForm: {
|
22631
22639
|
id: string;
|
@@ -23354,7 +23362,9 @@ export declare const apiContract: {
|
|
23354
23362
|
} | null;
|
23355
23363
|
customerPhone: string | null;
|
23356
23364
|
channelType: string | null;
|
23365
|
+
firstResponseDate: string;
|
23357
23366
|
resolutionTime: string | null;
|
23367
|
+
resolutionDate: string;
|
23358
23368
|
slaMeet: string | null;
|
23359
23369
|
evaluateForm: {
|
23360
23370
|
id: string;
|
@@ -42171,12 +42181,7 @@ export declare const apiContract: {
|
|
42171
42181
|
createdAt: import("zod").ZodDate;
|
42172
42182
|
updatedAt: import("zod").ZodDate;
|
42173
42183
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
42174
|
-
|
42175
|
-
contentType: import("zod").ZodString;
|
42176
|
-
contentValue: import("zod").ZodNullable<import("zod").ZodString>;
|
42177
|
-
uploadId: import("zod").ZodNullable<import("zod").ZodString>;
|
42178
|
-
order: import("zod").ZodOptional<import("zod").ZodNumber>;
|
42179
|
-
snippetGroupId: import("zod").ZodString;
|
42184
|
+
name: import("zod").ZodString;
|
42180
42185
|
snippetGroup: import("zod").ZodObject<{
|
42181
42186
|
id: import("zod").ZodString;
|
42182
42187
|
createdAt: import("zod").ZodDate;
|
@@ -42199,16 +42204,98 @@ export declare const apiContract: {
|
|
42199
42204
|
deletedAt: Date | null;
|
42200
42205
|
platformType: string;
|
42201
42206
|
}>;
|
42207
|
+
snippetContent: import("zod").ZodObject<{
|
42208
|
+
id: import("zod").ZodString;
|
42209
|
+
createdAt: import("zod").ZodDate;
|
42210
|
+
updatedAt: import("zod").ZodDate;
|
42211
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
42212
|
+
contentType: import("zod").ZodString;
|
42213
|
+
contentValue: import("zod").ZodNullable<import("zod").ZodString>;
|
42214
|
+
contentTemplate: import("zod").ZodNullable<import("zod").ZodAny>;
|
42215
|
+
order: import("zod").ZodNumber;
|
42216
|
+
upload: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
42217
|
+
id: import("zod").ZodString;
|
42218
|
+
createdAt: import("zod").ZodDate;
|
42219
|
+
updatedAt: import("zod").ZodDate;
|
42220
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
42221
|
+
bucketName: import("zod").ZodString;
|
42222
|
+
fileName: import("zod").ZodString;
|
42223
|
+
fileSize: import("zod").ZodNumber;
|
42224
|
+
fileKey: import("zod").ZodString;
|
42225
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
42226
|
+
status: import("zod").ZodOptional<import("zod").ZodString>;
|
42227
|
+
}, "strip", import("zod").ZodTypeAny, {
|
42228
|
+
id: string;
|
42229
|
+
createdAt: Date;
|
42230
|
+
updatedAt: Date;
|
42231
|
+
deletedAt: Date | null;
|
42232
|
+
fileName: string;
|
42233
|
+
fileKey: string;
|
42234
|
+
bucketName: string;
|
42235
|
+
fileSize: number;
|
42236
|
+
fileUrl: string | null;
|
42237
|
+
status?: string | undefined;
|
42238
|
+
}, {
|
42239
|
+
id: string;
|
42240
|
+
createdAt: Date;
|
42241
|
+
updatedAt: Date;
|
42242
|
+
deletedAt: Date | null;
|
42243
|
+
fileName: string;
|
42244
|
+
fileKey: string;
|
42245
|
+
bucketName: string;
|
42246
|
+
fileSize: number;
|
42247
|
+
fileUrl: string | null;
|
42248
|
+
status?: string | undefined;
|
42249
|
+
}>>>;
|
42250
|
+
}, "strip", import("zod").ZodTypeAny, {
|
42251
|
+
id: string;
|
42252
|
+
order: number;
|
42253
|
+
createdAt: Date;
|
42254
|
+
updatedAt: Date;
|
42255
|
+
deletedAt: Date | null;
|
42256
|
+
contentType: string;
|
42257
|
+
contentValue: string | null;
|
42258
|
+
contentTemplate?: any;
|
42259
|
+
upload?: {
|
42260
|
+
id: string;
|
42261
|
+
createdAt: Date;
|
42262
|
+
updatedAt: Date;
|
42263
|
+
deletedAt: Date | null;
|
42264
|
+
fileName: string;
|
42265
|
+
fileKey: string;
|
42266
|
+
bucketName: string;
|
42267
|
+
fileSize: number;
|
42268
|
+
fileUrl: string | null;
|
42269
|
+
status?: string | undefined;
|
42270
|
+
} | null | undefined;
|
42271
|
+
}, {
|
42272
|
+
id: string;
|
42273
|
+
order: number;
|
42274
|
+
createdAt: Date;
|
42275
|
+
updatedAt: Date;
|
42276
|
+
deletedAt: Date | null;
|
42277
|
+
contentType: string;
|
42278
|
+
contentValue: string | null;
|
42279
|
+
contentTemplate?: any;
|
42280
|
+
upload?: {
|
42281
|
+
id: string;
|
42282
|
+
createdAt: Date;
|
42283
|
+
updatedAt: Date;
|
42284
|
+
deletedAt: Date | null;
|
42285
|
+
fileName: string;
|
42286
|
+
fileKey: string;
|
42287
|
+
bucketName: string;
|
42288
|
+
fileSize: number;
|
42289
|
+
fileUrl: string | null;
|
42290
|
+
status?: string | undefined;
|
42291
|
+
} | null | undefined;
|
42292
|
+
}>;
|
42202
42293
|
}, "strip", import("zod").ZodTypeAny, {
|
42203
42294
|
id: string;
|
42295
|
+
name: string;
|
42204
42296
|
createdAt: Date;
|
42205
42297
|
updatedAt: Date;
|
42206
42298
|
deletedAt: Date | null;
|
42207
|
-
contentType: string;
|
42208
|
-
uploadId: string | null;
|
42209
|
-
shortcutName: string;
|
42210
|
-
contentValue: string | null;
|
42211
|
-
snippetGroupId: string;
|
42212
42299
|
snippetGroup: {
|
42213
42300
|
id: string;
|
42214
42301
|
name: string;
|
@@ -42217,17 +42304,34 @@ export declare const apiContract: {
|
|
42217
42304
|
deletedAt: Date | null;
|
42218
42305
|
platformType: string;
|
42219
42306
|
};
|
42220
|
-
|
42307
|
+
snippetContent: {
|
42308
|
+
id: string;
|
42309
|
+
order: number;
|
42310
|
+
createdAt: Date;
|
42311
|
+
updatedAt: Date;
|
42312
|
+
deletedAt: Date | null;
|
42313
|
+
contentType: string;
|
42314
|
+
contentValue: string | null;
|
42315
|
+
contentTemplate?: any;
|
42316
|
+
upload?: {
|
42317
|
+
id: string;
|
42318
|
+
createdAt: Date;
|
42319
|
+
updatedAt: Date;
|
42320
|
+
deletedAt: Date | null;
|
42321
|
+
fileName: string;
|
42322
|
+
fileKey: string;
|
42323
|
+
bucketName: string;
|
42324
|
+
fileSize: number;
|
42325
|
+
fileUrl: string | null;
|
42326
|
+
status?: string | undefined;
|
42327
|
+
} | null | undefined;
|
42328
|
+
};
|
42221
42329
|
}, {
|
42222
42330
|
id: string;
|
42331
|
+
name: string;
|
42223
42332
|
createdAt: Date;
|
42224
42333
|
updatedAt: Date;
|
42225
42334
|
deletedAt: Date | null;
|
42226
|
-
contentType: string;
|
42227
|
-
uploadId: string | null;
|
42228
|
-
shortcutName: string;
|
42229
|
-
contentValue: string | null;
|
42230
|
-
snippetGroupId: string;
|
42231
42335
|
snippetGroup: {
|
42232
42336
|
id: string;
|
42233
42337
|
name: string;
|
@@ -42236,20 +42340,37 @@ export declare const apiContract: {
|
|
42236
42340
|
deletedAt: Date | null;
|
42237
42341
|
platformType: string;
|
42238
42342
|
};
|
42239
|
-
|
42343
|
+
snippetContent: {
|
42344
|
+
id: string;
|
42345
|
+
order: number;
|
42346
|
+
createdAt: Date;
|
42347
|
+
updatedAt: Date;
|
42348
|
+
deletedAt: Date | null;
|
42349
|
+
contentType: string;
|
42350
|
+
contentValue: string | null;
|
42351
|
+
contentTemplate?: any;
|
42352
|
+
upload?: {
|
42353
|
+
id: string;
|
42354
|
+
createdAt: Date;
|
42355
|
+
updatedAt: Date;
|
42356
|
+
deletedAt: Date | null;
|
42357
|
+
fileName: string;
|
42358
|
+
fileKey: string;
|
42359
|
+
bucketName: string;
|
42360
|
+
fileSize: number;
|
42361
|
+
fileUrl: string | null;
|
42362
|
+
status?: string | undefined;
|
42363
|
+
} | null | undefined;
|
42364
|
+
};
|
42240
42365
|
}>, "many">;
|
42241
42366
|
}, "strip", import("zod").ZodTypeAny, {
|
42242
42367
|
requestId: string;
|
42243
42368
|
snippets: {
|
42244
42369
|
id: string;
|
42370
|
+
name: string;
|
42245
42371
|
createdAt: Date;
|
42246
42372
|
updatedAt: Date;
|
42247
42373
|
deletedAt: Date | null;
|
42248
|
-
contentType: string;
|
42249
|
-
uploadId: string | null;
|
42250
|
-
shortcutName: string;
|
42251
|
-
contentValue: string | null;
|
42252
|
-
snippetGroupId: string;
|
42253
42374
|
snippetGroup: {
|
42254
42375
|
id: string;
|
42255
42376
|
name: string;
|
@@ -42258,20 +42379,37 @@ export declare const apiContract: {
|
|
42258
42379
|
deletedAt: Date | null;
|
42259
42380
|
platformType: string;
|
42260
42381
|
};
|
42261
|
-
|
42382
|
+
snippetContent: {
|
42383
|
+
id: string;
|
42384
|
+
order: number;
|
42385
|
+
createdAt: Date;
|
42386
|
+
updatedAt: Date;
|
42387
|
+
deletedAt: Date | null;
|
42388
|
+
contentType: string;
|
42389
|
+
contentValue: string | null;
|
42390
|
+
contentTemplate?: any;
|
42391
|
+
upload?: {
|
42392
|
+
id: string;
|
42393
|
+
createdAt: Date;
|
42394
|
+
updatedAt: Date;
|
42395
|
+
deletedAt: Date | null;
|
42396
|
+
fileName: string;
|
42397
|
+
fileKey: string;
|
42398
|
+
bucketName: string;
|
42399
|
+
fileSize: number;
|
42400
|
+
fileUrl: string | null;
|
42401
|
+
status?: string | undefined;
|
42402
|
+
} | null | undefined;
|
42403
|
+
};
|
42262
42404
|
}[];
|
42263
42405
|
}, {
|
42264
42406
|
requestId: string;
|
42265
42407
|
snippets: {
|
42266
42408
|
id: string;
|
42409
|
+
name: string;
|
42267
42410
|
createdAt: Date;
|
42268
42411
|
updatedAt: Date;
|
42269
42412
|
deletedAt: Date | null;
|
42270
|
-
contentType: string;
|
42271
|
-
uploadId: string | null;
|
42272
|
-
shortcutName: string;
|
42273
|
-
contentValue: string | null;
|
42274
|
-
snippetGroupId: string;
|
42275
42413
|
snippetGroup: {
|
42276
42414
|
id: string;
|
42277
42415
|
name: string;
|
@@ -42280,7 +42418,28 @@ export declare const apiContract: {
|
|
42280
42418
|
deletedAt: Date | null;
|
42281
42419
|
platformType: string;
|
42282
42420
|
};
|
42283
|
-
|
42421
|
+
snippetContent: {
|
42422
|
+
id: string;
|
42423
|
+
order: number;
|
42424
|
+
createdAt: Date;
|
42425
|
+
updatedAt: Date;
|
42426
|
+
deletedAt: Date | null;
|
42427
|
+
contentType: string;
|
42428
|
+
contentValue: string | null;
|
42429
|
+
contentTemplate?: any;
|
42430
|
+
upload?: {
|
42431
|
+
id: string;
|
42432
|
+
createdAt: Date;
|
42433
|
+
updatedAt: Date;
|
42434
|
+
deletedAt: Date | null;
|
42435
|
+
fileName: string;
|
42436
|
+
fileKey: string;
|
42437
|
+
bucketName: string;
|
42438
|
+
fileSize: number;
|
42439
|
+
fileUrl: string | null;
|
42440
|
+
status?: string | undefined;
|
42441
|
+
} | null | undefined;
|
42442
|
+
};
|
42284
42443
|
}[];
|
42285
42444
|
}>;
|
42286
42445
|
500: import("zod").ZodObject<{
|
@@ -42306,14 +42465,14 @@ export declare const apiContract: {
|
|
42306
42465
|
}, "strip", import("zod").ZodTypeAny, {
|
42307
42466
|
contentType: string;
|
42308
42467
|
platformType: string;
|
42309
|
-
shortcutName: string;
|
42310
42468
|
snippetGroupId: string;
|
42469
|
+
shortcutName: string;
|
42311
42470
|
contentValue?: string | undefined;
|
42312
42471
|
}, {
|
42313
42472
|
contentType: string;
|
42314
42473
|
platformType: string;
|
42315
|
-
shortcutName: string;
|
42316
42474
|
snippetGroupId: string;
|
42475
|
+
shortcutName: string;
|
42317
42476
|
contentValue?: string | undefined;
|
42318
42477
|
}>;
|
42319
42478
|
method: "POST";
|
@@ -42325,12 +42484,7 @@ export declare const apiContract: {
|
|
42325
42484
|
createdAt: import("zod").ZodDate;
|
42326
42485
|
updatedAt: import("zod").ZodDate;
|
42327
42486
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
42328
|
-
|
42329
|
-
contentType: import("zod").ZodString;
|
42330
|
-
contentValue: import("zod").ZodNullable<import("zod").ZodString>;
|
42331
|
-
uploadId: import("zod").ZodNullable<import("zod").ZodString>;
|
42332
|
-
order: import("zod").ZodOptional<import("zod").ZodNumber>;
|
42333
|
-
snippetGroupId: import("zod").ZodString;
|
42487
|
+
name: import("zod").ZodString;
|
42334
42488
|
snippetGroup: import("zod").ZodObject<{
|
42335
42489
|
id: import("zod").ZodString;
|
42336
42490
|
createdAt: import("zod").ZodDate;
|
@@ -42353,16 +42507,98 @@ export declare const apiContract: {
|
|
42353
42507
|
deletedAt: Date | null;
|
42354
42508
|
platformType: string;
|
42355
42509
|
}>;
|
42510
|
+
snippetContent: import("zod").ZodObject<{
|
42511
|
+
id: import("zod").ZodString;
|
42512
|
+
createdAt: import("zod").ZodDate;
|
42513
|
+
updatedAt: import("zod").ZodDate;
|
42514
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
42515
|
+
contentType: import("zod").ZodString;
|
42516
|
+
contentValue: import("zod").ZodNullable<import("zod").ZodString>;
|
42517
|
+
contentTemplate: import("zod").ZodNullable<import("zod").ZodAny>;
|
42518
|
+
order: import("zod").ZodNumber;
|
42519
|
+
upload: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
42520
|
+
id: import("zod").ZodString;
|
42521
|
+
createdAt: import("zod").ZodDate;
|
42522
|
+
updatedAt: import("zod").ZodDate;
|
42523
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
42524
|
+
bucketName: import("zod").ZodString;
|
42525
|
+
fileName: import("zod").ZodString;
|
42526
|
+
fileSize: import("zod").ZodNumber;
|
42527
|
+
fileKey: import("zod").ZodString;
|
42528
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
42529
|
+
status: import("zod").ZodOptional<import("zod").ZodString>;
|
42530
|
+
}, "strip", import("zod").ZodTypeAny, {
|
42531
|
+
id: string;
|
42532
|
+
createdAt: Date;
|
42533
|
+
updatedAt: Date;
|
42534
|
+
deletedAt: Date | null;
|
42535
|
+
fileName: string;
|
42536
|
+
fileKey: string;
|
42537
|
+
bucketName: string;
|
42538
|
+
fileSize: number;
|
42539
|
+
fileUrl: string | null;
|
42540
|
+
status?: string | undefined;
|
42541
|
+
}, {
|
42542
|
+
id: string;
|
42543
|
+
createdAt: Date;
|
42544
|
+
updatedAt: Date;
|
42545
|
+
deletedAt: Date | null;
|
42546
|
+
fileName: string;
|
42547
|
+
fileKey: string;
|
42548
|
+
bucketName: string;
|
42549
|
+
fileSize: number;
|
42550
|
+
fileUrl: string | null;
|
42551
|
+
status?: string | undefined;
|
42552
|
+
}>>>;
|
42553
|
+
}, "strip", import("zod").ZodTypeAny, {
|
42554
|
+
id: string;
|
42555
|
+
order: number;
|
42556
|
+
createdAt: Date;
|
42557
|
+
updatedAt: Date;
|
42558
|
+
deletedAt: Date | null;
|
42559
|
+
contentType: string;
|
42560
|
+
contentValue: string | null;
|
42561
|
+
contentTemplate?: any;
|
42562
|
+
upload?: {
|
42563
|
+
id: string;
|
42564
|
+
createdAt: Date;
|
42565
|
+
updatedAt: Date;
|
42566
|
+
deletedAt: Date | null;
|
42567
|
+
fileName: string;
|
42568
|
+
fileKey: string;
|
42569
|
+
bucketName: string;
|
42570
|
+
fileSize: number;
|
42571
|
+
fileUrl: string | null;
|
42572
|
+
status?: string | undefined;
|
42573
|
+
} | null | undefined;
|
42574
|
+
}, {
|
42575
|
+
id: string;
|
42576
|
+
order: number;
|
42577
|
+
createdAt: Date;
|
42578
|
+
updatedAt: Date;
|
42579
|
+
deletedAt: Date | null;
|
42580
|
+
contentType: string;
|
42581
|
+
contentValue: string | null;
|
42582
|
+
contentTemplate?: any;
|
42583
|
+
upload?: {
|
42584
|
+
id: string;
|
42585
|
+
createdAt: Date;
|
42586
|
+
updatedAt: Date;
|
42587
|
+
deletedAt: Date | null;
|
42588
|
+
fileName: string;
|
42589
|
+
fileKey: string;
|
42590
|
+
bucketName: string;
|
42591
|
+
fileSize: number;
|
42592
|
+
fileUrl: string | null;
|
42593
|
+
status?: string | undefined;
|
42594
|
+
} | null | undefined;
|
42595
|
+
}>;
|
42356
42596
|
}, "strip", import("zod").ZodTypeAny, {
|
42357
42597
|
id: string;
|
42598
|
+
name: string;
|
42358
42599
|
createdAt: Date;
|
42359
42600
|
updatedAt: Date;
|
42360
42601
|
deletedAt: Date | null;
|
42361
|
-
contentType: string;
|
42362
|
-
uploadId: string | null;
|
42363
|
-
shortcutName: string;
|
42364
|
-
contentValue: string | null;
|
42365
|
-
snippetGroupId: string;
|
42366
42602
|
snippetGroup: {
|
42367
42603
|
id: string;
|
42368
42604
|
name: string;
|
@@ -42371,17 +42607,34 @@ export declare const apiContract: {
|
|
42371
42607
|
deletedAt: Date | null;
|
42372
42608
|
platformType: string;
|
42373
42609
|
};
|
42374
|
-
|
42610
|
+
snippetContent: {
|
42611
|
+
id: string;
|
42612
|
+
order: number;
|
42613
|
+
createdAt: Date;
|
42614
|
+
updatedAt: Date;
|
42615
|
+
deletedAt: Date | null;
|
42616
|
+
contentType: string;
|
42617
|
+
contentValue: string | null;
|
42618
|
+
contentTemplate?: any;
|
42619
|
+
upload?: {
|
42620
|
+
id: string;
|
42621
|
+
createdAt: Date;
|
42622
|
+
updatedAt: Date;
|
42623
|
+
deletedAt: Date | null;
|
42624
|
+
fileName: string;
|
42625
|
+
fileKey: string;
|
42626
|
+
bucketName: string;
|
42627
|
+
fileSize: number;
|
42628
|
+
fileUrl: string | null;
|
42629
|
+
status?: string | undefined;
|
42630
|
+
} | null | undefined;
|
42631
|
+
};
|
42375
42632
|
}, {
|
42376
42633
|
id: string;
|
42634
|
+
name: string;
|
42377
42635
|
createdAt: Date;
|
42378
42636
|
updatedAt: Date;
|
42379
42637
|
deletedAt: Date | null;
|
42380
|
-
contentType: string;
|
42381
|
-
uploadId: string | null;
|
42382
|
-
shortcutName: string;
|
42383
|
-
contentValue: string | null;
|
42384
|
-
snippetGroupId: string;
|
42385
42638
|
snippetGroup: {
|
42386
42639
|
id: string;
|
42387
42640
|
name: string;
|
@@ -42390,20 +42643,37 @@ export declare const apiContract: {
|
|
42390
42643
|
deletedAt: Date | null;
|
42391
42644
|
platformType: string;
|
42392
42645
|
};
|
42393
|
-
|
42646
|
+
snippetContent: {
|
42647
|
+
id: string;
|
42648
|
+
order: number;
|
42649
|
+
createdAt: Date;
|
42650
|
+
updatedAt: Date;
|
42651
|
+
deletedAt: Date | null;
|
42652
|
+
contentType: string;
|
42653
|
+
contentValue: string | null;
|
42654
|
+
contentTemplate?: any;
|
42655
|
+
upload?: {
|
42656
|
+
id: string;
|
42657
|
+
createdAt: Date;
|
42658
|
+
updatedAt: Date;
|
42659
|
+
deletedAt: Date | null;
|
42660
|
+
fileName: string;
|
42661
|
+
fileKey: string;
|
42662
|
+
bucketName: string;
|
42663
|
+
fileSize: number;
|
42664
|
+
fileUrl: string | null;
|
42665
|
+
status?: string | undefined;
|
42666
|
+
} | null | undefined;
|
42667
|
+
};
|
42394
42668
|
}>;
|
42395
42669
|
}, "strip", import("zod").ZodTypeAny, {
|
42396
42670
|
requestId: string;
|
42397
42671
|
snippet: {
|
42398
42672
|
id: string;
|
42673
|
+
name: string;
|
42399
42674
|
createdAt: Date;
|
42400
42675
|
updatedAt: Date;
|
42401
42676
|
deletedAt: Date | null;
|
42402
|
-
contentType: string;
|
42403
|
-
uploadId: string | null;
|
42404
|
-
shortcutName: string;
|
42405
|
-
contentValue: string | null;
|
42406
|
-
snippetGroupId: string;
|
42407
42677
|
snippetGroup: {
|
42408
42678
|
id: string;
|
42409
42679
|
name: string;
|
@@ -42412,20 +42682,37 @@ export declare const apiContract: {
|
|
42412
42682
|
deletedAt: Date | null;
|
42413
42683
|
platformType: string;
|
42414
42684
|
};
|
42415
|
-
|
42685
|
+
snippetContent: {
|
42686
|
+
id: string;
|
42687
|
+
order: number;
|
42688
|
+
createdAt: Date;
|
42689
|
+
updatedAt: Date;
|
42690
|
+
deletedAt: Date | null;
|
42691
|
+
contentType: string;
|
42692
|
+
contentValue: string | null;
|
42693
|
+
contentTemplate?: any;
|
42694
|
+
upload?: {
|
42695
|
+
id: string;
|
42696
|
+
createdAt: Date;
|
42697
|
+
updatedAt: Date;
|
42698
|
+
deletedAt: Date | null;
|
42699
|
+
fileName: string;
|
42700
|
+
fileKey: string;
|
42701
|
+
bucketName: string;
|
42702
|
+
fileSize: number;
|
42703
|
+
fileUrl: string | null;
|
42704
|
+
status?: string | undefined;
|
42705
|
+
} | null | undefined;
|
42706
|
+
};
|
42416
42707
|
};
|
42417
42708
|
}, {
|
42418
42709
|
requestId: string;
|
42419
42710
|
snippet: {
|
42420
42711
|
id: string;
|
42712
|
+
name: string;
|
42421
42713
|
createdAt: Date;
|
42422
42714
|
updatedAt: Date;
|
42423
42715
|
deletedAt: Date | null;
|
42424
|
-
contentType: string;
|
42425
|
-
uploadId: string | null;
|
42426
|
-
shortcutName: string;
|
42427
|
-
contentValue: string | null;
|
42428
|
-
snippetGroupId: string;
|
42429
42716
|
snippetGroup: {
|
42430
42717
|
id: string;
|
42431
42718
|
name: string;
|
@@ -42434,7 +42721,28 @@ export declare const apiContract: {
|
|
42434
42721
|
deletedAt: Date | null;
|
42435
42722
|
platformType: string;
|
42436
42723
|
};
|
42437
|
-
|
42724
|
+
snippetContent: {
|
42725
|
+
id: string;
|
42726
|
+
order: number;
|
42727
|
+
createdAt: Date;
|
42728
|
+
updatedAt: Date;
|
42729
|
+
deletedAt: Date | null;
|
42730
|
+
contentType: string;
|
42731
|
+
contentValue: string | null;
|
42732
|
+
contentTemplate?: any;
|
42733
|
+
upload?: {
|
42734
|
+
id: string;
|
42735
|
+
createdAt: Date;
|
42736
|
+
updatedAt: Date;
|
42737
|
+
deletedAt: Date | null;
|
42738
|
+
fileName: string;
|
42739
|
+
fileKey: string;
|
42740
|
+
bucketName: string;
|
42741
|
+
fileSize: number;
|
42742
|
+
fileUrl: string | null;
|
42743
|
+
status?: string | undefined;
|
42744
|
+
} | null | undefined;
|
42745
|
+
};
|
42438
42746
|
};
|
42439
42747
|
}>;
|
42440
42748
|
500: import("zod").ZodObject<{
|
@@ -42454,22 +42762,22 @@ export declare const apiContract: {
|
|
42454
42762
|
body: import("zod").ZodObject<{
|
42455
42763
|
contentType: import("zod").ZodString;
|
42456
42764
|
platformType: import("zod").ZodString;
|
42457
|
-
shortcutName: import("zod").ZodString;
|
42458
42765
|
contentValue: import("zod").ZodOptional<import("zod").ZodString>;
|
42459
42766
|
snippetGroupId: import("zod").ZodString;
|
42767
|
+
shortcutName: import("zod").ZodString;
|
42460
42768
|
snippetContentId: import("zod").ZodString;
|
42461
42769
|
}, "strip", import("zod").ZodTypeAny, {
|
42462
42770
|
contentType: string;
|
42463
42771
|
platformType: string;
|
42464
|
-
shortcutName: string;
|
42465
42772
|
snippetGroupId: string;
|
42773
|
+
shortcutName: string;
|
42466
42774
|
snippetContentId: string;
|
42467
42775
|
contentValue?: string | undefined;
|
42468
42776
|
}, {
|
42469
42777
|
contentType: string;
|
42470
42778
|
platformType: string;
|
42471
|
-
shortcutName: string;
|
42472
42779
|
snippetGroupId: string;
|
42780
|
+
shortcutName: string;
|
42473
42781
|
snippetContentId: string;
|
42474
42782
|
contentValue?: string | undefined;
|
42475
42783
|
}>;
|
@@ -42489,12 +42797,7 @@ export declare const apiContract: {
|
|
42489
42797
|
createdAt: import("zod").ZodDate;
|
42490
42798
|
updatedAt: import("zod").ZodDate;
|
42491
42799
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
42492
|
-
|
42493
|
-
contentType: import("zod").ZodString;
|
42494
|
-
contentValue: import("zod").ZodNullable<import("zod").ZodString>;
|
42495
|
-
uploadId: import("zod").ZodNullable<import("zod").ZodString>;
|
42496
|
-
order: import("zod").ZodOptional<import("zod").ZodNumber>;
|
42497
|
-
snippetGroupId: import("zod").ZodString;
|
42800
|
+
name: import("zod").ZodString;
|
42498
42801
|
snippetGroup: import("zod").ZodObject<{
|
42499
42802
|
id: import("zod").ZodString;
|
42500
42803
|
createdAt: import("zod").ZodDate;
|
@@ -42517,16 +42820,98 @@ export declare const apiContract: {
|
|
42517
42820
|
deletedAt: Date | null;
|
42518
42821
|
platformType: string;
|
42519
42822
|
}>;
|
42823
|
+
snippetContent: import("zod").ZodObject<{
|
42824
|
+
id: import("zod").ZodString;
|
42825
|
+
createdAt: import("zod").ZodDate;
|
42826
|
+
updatedAt: import("zod").ZodDate;
|
42827
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
42828
|
+
contentType: import("zod").ZodString;
|
42829
|
+
contentValue: import("zod").ZodNullable<import("zod").ZodString>;
|
42830
|
+
contentTemplate: import("zod").ZodNullable<import("zod").ZodAny>;
|
42831
|
+
order: import("zod").ZodNumber;
|
42832
|
+
upload: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
42833
|
+
id: import("zod").ZodString;
|
42834
|
+
createdAt: import("zod").ZodDate;
|
42835
|
+
updatedAt: import("zod").ZodDate;
|
42836
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
42837
|
+
bucketName: import("zod").ZodString;
|
42838
|
+
fileName: import("zod").ZodString;
|
42839
|
+
fileSize: import("zod").ZodNumber;
|
42840
|
+
fileKey: import("zod").ZodString;
|
42841
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
42842
|
+
status: import("zod").ZodOptional<import("zod").ZodString>;
|
42843
|
+
}, "strip", import("zod").ZodTypeAny, {
|
42844
|
+
id: string;
|
42845
|
+
createdAt: Date;
|
42846
|
+
updatedAt: Date;
|
42847
|
+
deletedAt: Date | null;
|
42848
|
+
fileName: string;
|
42849
|
+
fileKey: string;
|
42850
|
+
bucketName: string;
|
42851
|
+
fileSize: number;
|
42852
|
+
fileUrl: string | null;
|
42853
|
+
status?: string | undefined;
|
42854
|
+
}, {
|
42855
|
+
id: string;
|
42856
|
+
createdAt: Date;
|
42857
|
+
updatedAt: Date;
|
42858
|
+
deletedAt: Date | null;
|
42859
|
+
fileName: string;
|
42860
|
+
fileKey: string;
|
42861
|
+
bucketName: string;
|
42862
|
+
fileSize: number;
|
42863
|
+
fileUrl: string | null;
|
42864
|
+
status?: string | undefined;
|
42865
|
+
}>>>;
|
42866
|
+
}, "strip", import("zod").ZodTypeAny, {
|
42867
|
+
id: string;
|
42868
|
+
order: number;
|
42869
|
+
createdAt: Date;
|
42870
|
+
updatedAt: Date;
|
42871
|
+
deletedAt: Date | null;
|
42872
|
+
contentType: string;
|
42873
|
+
contentValue: string | null;
|
42874
|
+
contentTemplate?: any;
|
42875
|
+
upload?: {
|
42876
|
+
id: string;
|
42877
|
+
createdAt: Date;
|
42878
|
+
updatedAt: Date;
|
42879
|
+
deletedAt: Date | null;
|
42880
|
+
fileName: string;
|
42881
|
+
fileKey: string;
|
42882
|
+
bucketName: string;
|
42883
|
+
fileSize: number;
|
42884
|
+
fileUrl: string | null;
|
42885
|
+
status?: string | undefined;
|
42886
|
+
} | null | undefined;
|
42887
|
+
}, {
|
42888
|
+
id: string;
|
42889
|
+
order: number;
|
42890
|
+
createdAt: Date;
|
42891
|
+
updatedAt: Date;
|
42892
|
+
deletedAt: Date | null;
|
42893
|
+
contentType: string;
|
42894
|
+
contentValue: string | null;
|
42895
|
+
contentTemplate?: any;
|
42896
|
+
upload?: {
|
42897
|
+
id: string;
|
42898
|
+
createdAt: Date;
|
42899
|
+
updatedAt: Date;
|
42900
|
+
deletedAt: Date | null;
|
42901
|
+
fileName: string;
|
42902
|
+
fileKey: string;
|
42903
|
+
bucketName: string;
|
42904
|
+
fileSize: number;
|
42905
|
+
fileUrl: string | null;
|
42906
|
+
status?: string | undefined;
|
42907
|
+
} | null | undefined;
|
42908
|
+
}>;
|
42520
42909
|
}, "strip", import("zod").ZodTypeAny, {
|
42521
42910
|
id: string;
|
42911
|
+
name: string;
|
42522
42912
|
createdAt: Date;
|
42523
42913
|
updatedAt: Date;
|
42524
42914
|
deletedAt: Date | null;
|
42525
|
-
contentType: string;
|
42526
|
-
uploadId: string | null;
|
42527
|
-
shortcutName: string;
|
42528
|
-
contentValue: string | null;
|
42529
|
-
snippetGroupId: string;
|
42530
42915
|
snippetGroup: {
|
42531
42916
|
id: string;
|
42532
42917
|
name: string;
|
@@ -42535,17 +42920,34 @@ export declare const apiContract: {
|
|
42535
42920
|
deletedAt: Date | null;
|
42536
42921
|
platformType: string;
|
42537
42922
|
};
|
42538
|
-
|
42923
|
+
snippetContent: {
|
42924
|
+
id: string;
|
42925
|
+
order: number;
|
42926
|
+
createdAt: Date;
|
42927
|
+
updatedAt: Date;
|
42928
|
+
deletedAt: Date | null;
|
42929
|
+
contentType: string;
|
42930
|
+
contentValue: string | null;
|
42931
|
+
contentTemplate?: any;
|
42932
|
+
upload?: {
|
42933
|
+
id: string;
|
42934
|
+
createdAt: Date;
|
42935
|
+
updatedAt: Date;
|
42936
|
+
deletedAt: Date | null;
|
42937
|
+
fileName: string;
|
42938
|
+
fileKey: string;
|
42939
|
+
bucketName: string;
|
42940
|
+
fileSize: number;
|
42941
|
+
fileUrl: string | null;
|
42942
|
+
status?: string | undefined;
|
42943
|
+
} | null | undefined;
|
42944
|
+
};
|
42539
42945
|
}, {
|
42540
42946
|
id: string;
|
42947
|
+
name: string;
|
42541
42948
|
createdAt: Date;
|
42542
42949
|
updatedAt: Date;
|
42543
42950
|
deletedAt: Date | null;
|
42544
|
-
contentType: string;
|
42545
|
-
uploadId: string | null;
|
42546
|
-
shortcutName: string;
|
42547
|
-
contentValue: string | null;
|
42548
|
-
snippetGroupId: string;
|
42549
42951
|
snippetGroup: {
|
42550
42952
|
id: string;
|
42551
42953
|
name: string;
|
@@ -42554,20 +42956,37 @@ export declare const apiContract: {
|
|
42554
42956
|
deletedAt: Date | null;
|
42555
42957
|
platformType: string;
|
42556
42958
|
};
|
42557
|
-
|
42959
|
+
snippetContent: {
|
42960
|
+
id: string;
|
42961
|
+
order: number;
|
42962
|
+
createdAt: Date;
|
42963
|
+
updatedAt: Date;
|
42964
|
+
deletedAt: Date | null;
|
42965
|
+
contentType: string;
|
42966
|
+
contentValue: string | null;
|
42967
|
+
contentTemplate?: any;
|
42968
|
+
upload?: {
|
42969
|
+
id: string;
|
42970
|
+
createdAt: Date;
|
42971
|
+
updatedAt: Date;
|
42972
|
+
deletedAt: Date | null;
|
42973
|
+
fileName: string;
|
42974
|
+
fileKey: string;
|
42975
|
+
bucketName: string;
|
42976
|
+
fileSize: number;
|
42977
|
+
fileUrl: string | null;
|
42978
|
+
status?: string | undefined;
|
42979
|
+
} | null | undefined;
|
42980
|
+
};
|
42558
42981
|
}>;
|
42559
42982
|
}, "strip", import("zod").ZodTypeAny, {
|
42560
42983
|
requestId: string;
|
42561
42984
|
snippet: {
|
42562
42985
|
id: string;
|
42986
|
+
name: string;
|
42563
42987
|
createdAt: Date;
|
42564
42988
|
updatedAt: Date;
|
42565
42989
|
deletedAt: Date | null;
|
42566
|
-
contentType: string;
|
42567
|
-
uploadId: string | null;
|
42568
|
-
shortcutName: string;
|
42569
|
-
contentValue: string | null;
|
42570
|
-
snippetGroupId: string;
|
42571
42990
|
snippetGroup: {
|
42572
42991
|
id: string;
|
42573
42992
|
name: string;
|
@@ -42576,20 +42995,37 @@ export declare const apiContract: {
|
|
42576
42995
|
deletedAt: Date | null;
|
42577
42996
|
platformType: string;
|
42578
42997
|
};
|
42579
|
-
|
42998
|
+
snippetContent: {
|
42999
|
+
id: string;
|
43000
|
+
order: number;
|
43001
|
+
createdAt: Date;
|
43002
|
+
updatedAt: Date;
|
43003
|
+
deletedAt: Date | null;
|
43004
|
+
contentType: string;
|
43005
|
+
contentValue: string | null;
|
43006
|
+
contentTemplate?: any;
|
43007
|
+
upload?: {
|
43008
|
+
id: string;
|
43009
|
+
createdAt: Date;
|
43010
|
+
updatedAt: Date;
|
43011
|
+
deletedAt: Date | null;
|
43012
|
+
fileName: string;
|
43013
|
+
fileKey: string;
|
43014
|
+
bucketName: string;
|
43015
|
+
fileSize: number;
|
43016
|
+
fileUrl: string | null;
|
43017
|
+
status?: string | undefined;
|
43018
|
+
} | null | undefined;
|
43019
|
+
};
|
42580
43020
|
};
|
42581
43021
|
}, {
|
42582
43022
|
requestId: string;
|
42583
43023
|
snippet: {
|
42584
43024
|
id: string;
|
43025
|
+
name: string;
|
42585
43026
|
createdAt: Date;
|
42586
43027
|
updatedAt: Date;
|
42587
43028
|
deletedAt: Date | null;
|
42588
|
-
contentType: string;
|
42589
|
-
uploadId: string | null;
|
42590
|
-
shortcutName: string;
|
42591
|
-
contentValue: string | null;
|
42592
|
-
snippetGroupId: string;
|
42593
43029
|
snippetGroup: {
|
42594
43030
|
id: string;
|
42595
43031
|
name: string;
|
@@ -42598,7 +43034,28 @@ export declare const apiContract: {
|
|
42598
43034
|
deletedAt: Date | null;
|
42599
43035
|
platformType: string;
|
42600
43036
|
};
|
42601
|
-
|
43037
|
+
snippetContent: {
|
43038
|
+
id: string;
|
43039
|
+
order: number;
|
43040
|
+
createdAt: Date;
|
43041
|
+
updatedAt: Date;
|
43042
|
+
deletedAt: Date | null;
|
43043
|
+
contentType: string;
|
43044
|
+
contentValue: string | null;
|
43045
|
+
contentTemplate?: any;
|
43046
|
+
upload?: {
|
43047
|
+
id: string;
|
43048
|
+
createdAt: Date;
|
43049
|
+
updatedAt: Date;
|
43050
|
+
deletedAt: Date | null;
|
43051
|
+
fileName: string;
|
43052
|
+
fileKey: string;
|
43053
|
+
bucketName: string;
|
43054
|
+
fileSize: number;
|
43055
|
+
fileUrl: string | null;
|
43056
|
+
status?: string | undefined;
|
43057
|
+
} | null | undefined;
|
43058
|
+
};
|
42602
43059
|
};
|
42603
43060
|
}>;
|
42604
43061
|
500: import("zod").ZodObject<{
|
@@ -159468,9 +159925,9 @@ export declare const chatContract: {
|
|
159468
159925
|
page: import("zod").ZodDefault<import("zod").ZodNumber>;
|
159469
159926
|
pageSize: import("zod").ZodDefault<import("zod").ZodNumber>;
|
159470
159927
|
query: import("zod").ZodString;
|
159471
|
-
type: import("zod").ZodDefault<import("zod").ZodEnum<["contact", "message"]>>;
|
159928
|
+
type: import("zod").ZodDefault<import("zod").ZodEnum<["contact", "message", "caseId"]>>;
|
159472
159929
|
}, "strip", import("zod").ZodTypeAny, {
|
159473
|
-
type: "message" | "contact";
|
159930
|
+
type: "message" | "contact" | "caseId";
|
159474
159931
|
page: number;
|
159475
159932
|
pageSize: number;
|
159476
159933
|
query: string;
|
@@ -159478,7 +159935,7 @@ export declare const chatContract: {
|
|
159478
159935
|
query: string;
|
159479
159936
|
page?: number | undefined;
|
159480
159937
|
pageSize?: number | undefined;
|
159481
|
-
type?: "message" | "contact" | undefined;
|
159938
|
+
type?: "message" | "contact" | "caseId" | undefined;
|
159482
159939
|
}>;
|
159483
159940
|
responses: {
|
159484
159941
|
200: import("zod").ZodObject<{
|