@kl1/contracts 1.2.34-uat → 1.2.36-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/automation-queue/index.d.ts +112 -0
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/index.d.ts +126 -0
- package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/schema.d.ts +71 -0
- package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
- package/dist/entities/src/enums/chat.d.ts +1 -1
- package/dist/entities/src/enums/chat.d.ts.map +1 -1
- package/dist/index.js +17 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +17 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -857,6 +857,22 @@ export declare const automationQueueContract: {
|
|
857
857
|
}>;
|
858
858
|
};
|
859
859
|
path: "/automation-queue";
|
860
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
861
|
+
'x-tenant': z.ZodString;
|
862
|
+
authorization: z.ZodString;
|
863
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
864
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
865
|
+
}, "strip", z.ZodTypeAny, {
|
866
|
+
'x-tenant': string;
|
867
|
+
authorization: string;
|
868
|
+
'x-client-timezone': string;
|
869
|
+
'x-code'?: string | undefined;
|
870
|
+
}, {
|
871
|
+
'x-tenant': string;
|
872
|
+
authorization: string;
|
873
|
+
'x-code'?: string | undefined;
|
874
|
+
'x-client-timezone'?: string | undefined;
|
875
|
+
}>>>;
|
860
876
|
};
|
861
877
|
duplicateAutomationQueue: {
|
862
878
|
body: null;
|
@@ -1691,6 +1707,22 @@ export declare const automationQueueContract: {
|
|
1691
1707
|
}>;
|
1692
1708
|
};
|
1693
1709
|
path: "/automation-queue/:id/duplicate";
|
1710
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
1711
|
+
'x-tenant': z.ZodString;
|
1712
|
+
authorization: z.ZodString;
|
1713
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
1714
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
1715
|
+
}, "strip", z.ZodTypeAny, {
|
1716
|
+
'x-tenant': string;
|
1717
|
+
authorization: string;
|
1718
|
+
'x-client-timezone': string;
|
1719
|
+
'x-code'?: string | undefined;
|
1720
|
+
}, {
|
1721
|
+
'x-tenant': string;
|
1722
|
+
authorization: string;
|
1723
|
+
'x-code'?: string | undefined;
|
1724
|
+
'x-client-timezone'?: string | undefined;
|
1725
|
+
}>>>;
|
1694
1726
|
};
|
1695
1727
|
getAutomationQueues: {
|
1696
1728
|
method: "GET";
|
@@ -2524,6 +2556,22 @@ export declare const automationQueueContract: {
|
|
2524
2556
|
}>;
|
2525
2557
|
};
|
2526
2558
|
path: "/automation-queue";
|
2559
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
2560
|
+
'x-tenant': z.ZodString;
|
2561
|
+
authorization: z.ZodString;
|
2562
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
2563
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
2564
|
+
}, "strip", z.ZodTypeAny, {
|
2565
|
+
'x-tenant': string;
|
2566
|
+
authorization: string;
|
2567
|
+
'x-client-timezone': string;
|
2568
|
+
'x-code'?: string | undefined;
|
2569
|
+
}, {
|
2570
|
+
'x-tenant': string;
|
2571
|
+
authorization: string;
|
2572
|
+
'x-code'?: string | undefined;
|
2573
|
+
'x-client-timezone'?: string | undefined;
|
2574
|
+
}>>>;
|
2527
2575
|
};
|
2528
2576
|
getAutomationQueueById: {
|
2529
2577
|
method: "GET";
|
@@ -3357,6 +3405,22 @@ export declare const automationQueueContract: {
|
|
3357
3405
|
}>;
|
3358
3406
|
};
|
3359
3407
|
path: "/automation-queue/:id";
|
3408
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
3409
|
+
'x-tenant': z.ZodString;
|
3410
|
+
authorization: z.ZodString;
|
3411
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
3412
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
3413
|
+
}, "strip", z.ZodTypeAny, {
|
3414
|
+
'x-tenant': string;
|
3415
|
+
authorization: string;
|
3416
|
+
'x-client-timezone': string;
|
3417
|
+
'x-code'?: string | undefined;
|
3418
|
+
}, {
|
3419
|
+
'x-tenant': string;
|
3420
|
+
authorization: string;
|
3421
|
+
'x-code'?: string | undefined;
|
3422
|
+
'x-client-timezone'?: string | undefined;
|
3423
|
+
}>>>;
|
3360
3424
|
};
|
3361
3425
|
updateAutomationQueue: {
|
3362
3426
|
body: z.ZodObject<{
|
@@ -4215,6 +4279,22 @@ export declare const automationQueueContract: {
|
|
4215
4279
|
}>;
|
4216
4280
|
};
|
4217
4281
|
path: "/automation-queue/:id";
|
4282
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
4283
|
+
'x-tenant': z.ZodString;
|
4284
|
+
authorization: z.ZodString;
|
4285
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
4286
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
4287
|
+
}, "strip", z.ZodTypeAny, {
|
4288
|
+
'x-tenant': string;
|
4289
|
+
authorization: string;
|
4290
|
+
'x-client-timezone': string;
|
4291
|
+
'x-code'?: string | undefined;
|
4292
|
+
}, {
|
4293
|
+
'x-tenant': string;
|
4294
|
+
authorization: string;
|
4295
|
+
'x-code'?: string | undefined;
|
4296
|
+
'x-client-timezone'?: string | undefined;
|
4297
|
+
}>>>;
|
4218
4298
|
};
|
4219
4299
|
deleteAutomationQueue: {
|
4220
4300
|
body: null;
|
@@ -4239,6 +4319,22 @@ export declare const automationQueueContract: {
|
|
4239
4319
|
}>;
|
4240
4320
|
};
|
4241
4321
|
path: "/automation-queue/:id";
|
4322
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
4323
|
+
'x-tenant': z.ZodString;
|
4324
|
+
authorization: z.ZodString;
|
4325
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
4326
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
4327
|
+
}, "strip", z.ZodTypeAny, {
|
4328
|
+
'x-tenant': string;
|
4329
|
+
authorization: string;
|
4330
|
+
'x-client-timezone': string;
|
4331
|
+
'x-code'?: string | undefined;
|
4332
|
+
}, {
|
4333
|
+
'x-tenant': string;
|
4334
|
+
authorization: string;
|
4335
|
+
'x-code'?: string | undefined;
|
4336
|
+
'x-client-timezone'?: string | undefined;
|
4337
|
+
}>>>;
|
4242
4338
|
};
|
4243
4339
|
checkHasAssignedRoom: {
|
4244
4340
|
body: z.ZodObject<{
|
@@ -4275,6 +4371,22 @@ export declare const automationQueueContract: {
|
|
4275
4371
|
}>;
|
4276
4372
|
};
|
4277
4373
|
path: "/automation-queue/check-has-assigned-room";
|
4374
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
4375
|
+
'x-tenant': z.ZodString;
|
4376
|
+
authorization: z.ZodString;
|
4377
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
4378
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
4379
|
+
}, "strip", z.ZodTypeAny, {
|
4380
|
+
'x-tenant': string;
|
4381
|
+
authorization: string;
|
4382
|
+
'x-client-timezone': string;
|
4383
|
+
'x-code'?: string | undefined;
|
4384
|
+
}, {
|
4385
|
+
'x-tenant': string;
|
4386
|
+
authorization: string;
|
4387
|
+
'x-code'?: string | undefined;
|
4388
|
+
'x-client-timezone'?: string | undefined;
|
4389
|
+
}>>>;
|
4278
4390
|
};
|
4279
4391
|
};
|
4280
4392
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/automation-queue/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+FnC,CAAC"}
|
@@ -333,6 +333,132 @@ export declare const holdLabelContract: {
|
|
333
333
|
};
|
334
334
|
path: "hold-label/auto-unhold";
|
335
335
|
};
|
336
|
+
getHoldLogs: {
|
337
|
+
method: "GET";
|
338
|
+
query: z.ZodObject<{
|
339
|
+
cxLogId: z.ZodString;
|
340
|
+
}, "strip", z.ZodTypeAny, {
|
341
|
+
cxLogId: string;
|
342
|
+
}, {
|
343
|
+
cxLogId: string;
|
344
|
+
}>;
|
345
|
+
responses: {
|
346
|
+
200: z.ZodObject<{
|
347
|
+
holdLogs: z.ZodArray<z.ZodObject<{
|
348
|
+
id: z.ZodString;
|
349
|
+
createdAt: z.ZodDate;
|
350
|
+
updatedAt: z.ZodDate;
|
351
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
352
|
+
startedAt: z.ZodString;
|
353
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
354
|
+
duration: z.ZodNullable<z.ZodNumber>;
|
355
|
+
holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
356
|
+
id: z.ZodString;
|
357
|
+
createdAt: z.ZodDate;
|
358
|
+
updatedAt: z.ZodDate;
|
359
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
360
|
+
name: z.ZodString;
|
361
|
+
position: z.ZodNumber;
|
362
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
363
|
+
}, "strip", z.ZodTypeAny, {
|
364
|
+
name: string;
|
365
|
+
id: string;
|
366
|
+
position: number;
|
367
|
+
createdAt: Date;
|
368
|
+
updatedAt: Date;
|
369
|
+
deletedAt: Date | null;
|
370
|
+
isDefault: boolean;
|
371
|
+
}, {
|
372
|
+
name: string;
|
373
|
+
id: string;
|
374
|
+
position: number;
|
375
|
+
createdAt: Date;
|
376
|
+
updatedAt: Date;
|
377
|
+
deletedAt: Date | null;
|
378
|
+
isDefault?: boolean | undefined;
|
379
|
+
}>>>;
|
380
|
+
formattedDuration: z.ZodString;
|
381
|
+
}, "strip", z.ZodTypeAny, {
|
382
|
+
id: string;
|
383
|
+
createdAt: Date;
|
384
|
+
updatedAt: Date;
|
385
|
+
deletedAt: Date | null;
|
386
|
+
startedAt: string;
|
387
|
+
endedAt: string | null;
|
388
|
+
duration: number | null;
|
389
|
+
formattedDuration: string;
|
390
|
+
holdLabel?: {
|
391
|
+
name: string;
|
392
|
+
id: string;
|
393
|
+
position: number;
|
394
|
+
createdAt: Date;
|
395
|
+
updatedAt: Date;
|
396
|
+
deletedAt: Date | null;
|
397
|
+
isDefault: boolean;
|
398
|
+
} | null | undefined;
|
399
|
+
}, {
|
400
|
+
id: string;
|
401
|
+
createdAt: Date;
|
402
|
+
updatedAt: Date;
|
403
|
+
deletedAt: Date | null;
|
404
|
+
startedAt: string;
|
405
|
+
endedAt: string | null;
|
406
|
+
duration: number | null;
|
407
|
+
formattedDuration: string;
|
408
|
+
holdLabel?: {
|
409
|
+
name: string;
|
410
|
+
id: string;
|
411
|
+
position: number;
|
412
|
+
createdAt: Date;
|
413
|
+
updatedAt: Date;
|
414
|
+
deletedAt: Date | null;
|
415
|
+
isDefault?: boolean | undefined;
|
416
|
+
} | null | undefined;
|
417
|
+
}>, "many">;
|
418
|
+
}, "strip", z.ZodTypeAny, {
|
419
|
+
holdLogs: {
|
420
|
+
id: string;
|
421
|
+
createdAt: Date;
|
422
|
+
updatedAt: Date;
|
423
|
+
deletedAt: Date | null;
|
424
|
+
startedAt: string;
|
425
|
+
endedAt: string | null;
|
426
|
+
duration: number | null;
|
427
|
+
formattedDuration: string;
|
428
|
+
holdLabel?: {
|
429
|
+
name: string;
|
430
|
+
id: string;
|
431
|
+
position: number;
|
432
|
+
createdAt: Date;
|
433
|
+
updatedAt: Date;
|
434
|
+
deletedAt: Date | null;
|
435
|
+
isDefault: boolean;
|
436
|
+
} | null | undefined;
|
437
|
+
}[];
|
438
|
+
}, {
|
439
|
+
holdLogs: {
|
440
|
+
id: string;
|
441
|
+
createdAt: Date;
|
442
|
+
updatedAt: Date;
|
443
|
+
deletedAt: Date | null;
|
444
|
+
startedAt: string;
|
445
|
+
endedAt: string | null;
|
446
|
+
duration: number | null;
|
447
|
+
formattedDuration: string;
|
448
|
+
holdLabel?: {
|
449
|
+
name: string;
|
450
|
+
id: string;
|
451
|
+
position: number;
|
452
|
+
createdAt: Date;
|
453
|
+
updatedAt: Date;
|
454
|
+
deletedAt: Date | null;
|
455
|
+
isDefault?: boolean | undefined;
|
456
|
+
} | null | undefined;
|
457
|
+
}[];
|
458
|
+
}>;
|
459
|
+
};
|
460
|
+
path: "hold-label/hold-logs";
|
461
|
+
};
|
336
462
|
holdRoom: {
|
337
463
|
body: z.ZodObject<{
|
338
464
|
roomId: z.ZodString;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hold-label/index.ts"],"names":[],"mappings":"AAEA,OAAO,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hold-label/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,eAAe,EACf,aAAa,EACd,MAAM,UAAU,CAAC;AAClB,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEpE,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAA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
|
94
94
|
}>;
|
95
|
+
export declare const FormattedHoldLogSchema: z.ZodObject<{
|
96
|
+
id: z.ZodString;
|
97
|
+
createdAt: z.ZodDate;
|
98
|
+
updatedAt: z.ZodDate;
|
99
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
100
|
+
startedAt: z.ZodString;
|
101
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
102
|
+
duration: z.ZodNullable<z.ZodNumber>;
|
103
|
+
holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
104
|
+
id: z.ZodString;
|
105
|
+
createdAt: z.ZodDate;
|
106
|
+
updatedAt: z.ZodDate;
|
107
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
108
|
+
name: z.ZodString;
|
109
|
+
position: z.ZodNumber;
|
110
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
111
|
+
}, "strip", z.ZodTypeAny, {
|
112
|
+
name: string;
|
113
|
+
id: string;
|
114
|
+
position: number;
|
115
|
+
createdAt: Date;
|
116
|
+
updatedAt: Date;
|
117
|
+
deletedAt: Date | null;
|
118
|
+
isDefault: boolean;
|
119
|
+
}, {
|
120
|
+
name: string;
|
121
|
+
id: string;
|
122
|
+
position: number;
|
123
|
+
createdAt: Date;
|
124
|
+
updatedAt: Date;
|
125
|
+
deletedAt: Date | null;
|
126
|
+
isDefault?: boolean | undefined;
|
127
|
+
}>>>;
|
128
|
+
formattedDuration: z.ZodString;
|
129
|
+
}, "strip", z.ZodTypeAny, {
|
130
|
+
id: string;
|
131
|
+
createdAt: Date;
|
132
|
+
updatedAt: Date;
|
133
|
+
deletedAt: Date | null;
|
134
|
+
startedAt: string;
|
135
|
+
endedAt: string | null;
|
136
|
+
duration: number | null;
|
137
|
+
formattedDuration: string;
|
138
|
+
holdLabel?: {
|
139
|
+
name: string;
|
140
|
+
id: string;
|
141
|
+
position: number;
|
142
|
+
createdAt: Date;
|
143
|
+
updatedAt: Date;
|
144
|
+
deletedAt: Date | null;
|
145
|
+
isDefault: boolean;
|
146
|
+
} | null | undefined;
|
147
|
+
}, {
|
148
|
+
id: string;
|
149
|
+
createdAt: Date;
|
150
|
+
updatedAt: Date;
|
151
|
+
deletedAt: Date | null;
|
152
|
+
startedAt: string;
|
153
|
+
endedAt: string | null;
|
154
|
+
duration: number | null;
|
155
|
+
formattedDuration: string;
|
156
|
+
holdLabel?: {
|
157
|
+
name: string;
|
158
|
+
id: string;
|
159
|
+
position: number;
|
160
|
+
createdAt: Date;
|
161
|
+
updatedAt: Date;
|
162
|
+
deletedAt: Date | null;
|
163
|
+
isDefault?: boolean | undefined;
|
164
|
+
} | null | undefined;
|
165
|
+
}>;
|
95
166
|
//# sourceMappingURL=schema.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/hold-label/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;EAI1B,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKxB,CAAC"}
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/hold-label/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;EAI1B,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKxB,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEjC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ch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B;CAC5B;AAED,MAAM,MAAM,YAAY,GAAG,GAAG,YAAY,EAAE,CAAC;AAE7C,oBAAY,aAAa;IACvB,IAAI,SAAS;IACb,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;IAC3B,YAAY,iBAAiB;IAC7B,oBAAoB,yBAAyB;IAC7C,OAAO,YAAY;IAEnB,WAAW,gBAAgB;CAC5B;AACD,MAAM,MAAM,aAAa,GAAG,GAAG,aAAa,EAAE,CAAC;AAE/C,oBAAY,cAAc;IACxB,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;CACV;AAED,MAAM,MAAM,cAAc,GAAG,GAAG,cAAc,EAAE,CAAC;AAEjD,oBAAY,cAAc;IACxB,oBAAoB,yBAAyB;IAC7C,cAAc,mBAAmB;IACjC,sBAAsB,2BAA2B;IACjD,WAAW,gBAAgB;CAC5B;AAED,oBAAY,eAAe;IACzB,KAAK,KAAK;IACV,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,aAAa,kBAAkB;CAChC"}
|
package/dist/index.js
CHANGED
@@ -1182,6 +1182,9 @@ var HoldLogSchema = DefaultEntitySchema.extend({
|
|
1182
1182
|
duration: import_zod24.default.number().nullable(),
|
1183
1183
|
holdLabel: HoldLabelSchema.nullable().optional()
|
1184
1184
|
});
|
1185
|
+
var FormattedHoldLogSchema = HoldLogSchema.extend({
|
1186
|
+
formattedDuration: import_zod24.default.string()
|
1187
|
+
});
|
1185
1188
|
|
1186
1189
|
// src/cx-log/schema.ts
|
1187
1190
|
var CxLogSchema = DefaultEntitySchema.extend({
|
@@ -8813,7 +8816,10 @@ var automationQueueContract = (0, import_core45.initContract)().router(
|
|
8813
8816
|
}
|
8814
8817
|
}
|
8815
8818
|
},
|
8816
|
-
{
|
8819
|
+
{
|
8820
|
+
baseHeaders: DefaultHeaderSchema,
|
8821
|
+
pathPrefix: "/automation-queue"
|
8822
|
+
}
|
8817
8823
|
);
|
8818
8824
|
|
8819
8825
|
// src/mail/mail-contract.ts
|
@@ -9980,6 +9986,16 @@ var holdLabelContract = (0, import_core52.initContract)().router(
|
|
9980
9986
|
})
|
9981
9987
|
}
|
9982
9988
|
},
|
9989
|
+
getHoldLogs: {
|
9990
|
+
method: "GET",
|
9991
|
+
path: "/hold-logs",
|
9992
|
+
query: import_zod135.default.object({ cxLogId: import_zod135.default.string().uuid() }),
|
9993
|
+
responses: {
|
9994
|
+
200: import_zod135.default.object({
|
9995
|
+
holdLogs: import_zod135.default.array(FormattedHoldLogSchema)
|
9996
|
+
})
|
9997
|
+
}
|
9998
|
+
},
|
9983
9999
|
holdRoom: {
|
9984
10000
|
method: "POST",
|
9985
10001
|
path: "/hold-room",
|