@kl1/contracts 1.2.50-uat → 1.2.52-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +3 -3
  2. package/dist/api-contracts/src/attribute/index.d.ts +21 -21
  3. package/dist/api-contracts/src/auth/index.d.ts +67 -307
  4. package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
  5. package/dist/api-contracts/src/automation-queue/index.d.ts +21 -21
  6. package/dist/api-contracts/src/base-contract.d.ts +3 -3
  7. package/dist/api-contracts/src/category/index.d.ts +18 -18
  8. package/dist/api-contracts/src/channel/index.d.ts +66 -66
  9. package/dist/api-contracts/src/chat/index.d.ts +60 -60
  10. package/dist/api-contracts/src/comment/index.d.ts +16 -16
  11. package/dist/api-contracts/src/company/index.d.ts +5 -5
  12. package/dist/api-contracts/src/contact/index.d.ts +56 -56
  13. package/dist/api-contracts/src/contract.d.ts +783 -1022
  14. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  15. package/dist/api-contracts/src/cx-intelligence/index.d.ts +9 -9
  16. package/dist/api-contracts/src/cx-log/index.d.ts +9 -9
  17. package/dist/api-contracts/src/dashboard/index.d.ts +54 -54
  18. package/dist/api-contracts/src/extension/index.d.ts +21 -21
  19. package/dist/api-contracts/src/mail/account-contract.d.ts +33 -33
  20. package/dist/api-contracts/src/mail/mail-contract.d.ts +33 -33
  21. package/dist/api-contracts/src/permission/index.d.ts +3 -3
  22. package/dist/api-contracts/src/presence-status/index.d.ts +15 -15
  23. package/dist/api-contracts/src/role/index.d.ts +15 -15
  24. package/dist/api-contracts/src/tag/index.d.ts +12 -12
  25. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +9 -9
  26. package/dist/api-contracts/src/telephony-cdr/index.d.ts +42 -42
  27. package/dist/api-contracts/src/telephony-extension/index.d.ts +3 -3
  28. package/dist/api-contracts/src/ticket/index.d.ts +76 -76
  29. package/dist/api-contracts/src/upload/index.d.ts +6 -6
  30. package/dist/api-contracts/src/user/index.d.ts +18 -18
  31. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +6 -6
  32. package/dist/api-contracts/src/widget/index.d.ts +27 -27
  33. package/dist/api-contracts/src/wrap-up-form/index.d.ts +18 -18
  34. package/dist/index.js +2488 -2549
  35. package/dist/index.js.map +1 -1
  36. package/dist/index.mjs +2488 -2549
  37. package/dist/index.mjs.map +1 -1
  38. package/package.json +1 -1
@@ -859,17 +859,17 @@ export declare const automationQueueContract: {
859
859
  path: "/automation-queue";
860
860
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
861
861
  'x-tenant': z.ZodString;
862
- authorization: z.ZodString;
862
+ 'x-service-token': z.ZodString;
863
863
  'x-code': z.ZodOptional<z.ZodString>;
864
864
  'x-client-timezone': z.ZodDefault<z.ZodString>;
865
865
  }, "strip", z.ZodTypeAny, {
866
866
  'x-tenant': string;
867
- authorization: string;
867
+ 'x-service-token': string;
868
868
  'x-client-timezone': string;
869
869
  'x-code'?: string | undefined;
870
870
  }, {
871
871
  'x-tenant': string;
872
- authorization: string;
872
+ 'x-service-token': string;
873
873
  'x-code'?: string | undefined;
874
874
  'x-client-timezone'?: string | undefined;
875
875
  }>>>;
@@ -1709,17 +1709,17 @@ export declare const automationQueueContract: {
1709
1709
  path: "/automation-queue/:id/duplicate";
1710
1710
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1711
1711
  'x-tenant': z.ZodString;
1712
- authorization: z.ZodString;
1712
+ 'x-service-token': z.ZodString;
1713
1713
  'x-code': z.ZodOptional<z.ZodString>;
1714
1714
  'x-client-timezone': z.ZodDefault<z.ZodString>;
1715
1715
  }, "strip", z.ZodTypeAny, {
1716
1716
  'x-tenant': string;
1717
- authorization: string;
1717
+ 'x-service-token': string;
1718
1718
  'x-client-timezone': string;
1719
1719
  'x-code'?: string | undefined;
1720
1720
  }, {
1721
1721
  'x-tenant': string;
1722
- authorization: string;
1722
+ 'x-service-token': string;
1723
1723
  'x-code'?: string | undefined;
1724
1724
  'x-client-timezone'?: string | undefined;
1725
1725
  }>>>;
@@ -2558,17 +2558,17 @@ export declare const automationQueueContract: {
2558
2558
  path: "/automation-queue";
2559
2559
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2560
2560
  'x-tenant': z.ZodString;
2561
- authorization: z.ZodString;
2561
+ 'x-service-token': z.ZodString;
2562
2562
  'x-code': z.ZodOptional<z.ZodString>;
2563
2563
  'x-client-timezone': z.ZodDefault<z.ZodString>;
2564
2564
  }, "strip", z.ZodTypeAny, {
2565
2565
  'x-tenant': string;
2566
- authorization: string;
2566
+ 'x-service-token': string;
2567
2567
  'x-client-timezone': string;
2568
2568
  'x-code'?: string | undefined;
2569
2569
  }, {
2570
2570
  'x-tenant': string;
2571
- authorization: string;
2571
+ 'x-service-token': string;
2572
2572
  'x-code'?: string | undefined;
2573
2573
  'x-client-timezone'?: string | undefined;
2574
2574
  }>>>;
@@ -3407,17 +3407,17 @@ export declare const automationQueueContract: {
3407
3407
  path: "/automation-queue/:id";
3408
3408
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3409
3409
  'x-tenant': z.ZodString;
3410
- authorization: z.ZodString;
3410
+ 'x-service-token': z.ZodString;
3411
3411
  'x-code': z.ZodOptional<z.ZodString>;
3412
3412
  'x-client-timezone': z.ZodDefault<z.ZodString>;
3413
3413
  }, "strip", z.ZodTypeAny, {
3414
3414
  'x-tenant': string;
3415
- authorization: string;
3415
+ 'x-service-token': string;
3416
3416
  'x-client-timezone': string;
3417
3417
  'x-code'?: string | undefined;
3418
3418
  }, {
3419
3419
  'x-tenant': string;
3420
- authorization: string;
3420
+ 'x-service-token': string;
3421
3421
  'x-code'?: string | undefined;
3422
3422
  'x-client-timezone'?: string | undefined;
3423
3423
  }>>>;
@@ -4281,17 +4281,17 @@ export declare const automationQueueContract: {
4281
4281
  path: "/automation-queue/:id";
4282
4282
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4283
4283
  'x-tenant': z.ZodString;
4284
- authorization: z.ZodString;
4284
+ 'x-service-token': z.ZodString;
4285
4285
  'x-code': z.ZodOptional<z.ZodString>;
4286
4286
  'x-client-timezone': z.ZodDefault<z.ZodString>;
4287
4287
  }, "strip", z.ZodTypeAny, {
4288
4288
  'x-tenant': string;
4289
- authorization: string;
4289
+ 'x-service-token': string;
4290
4290
  'x-client-timezone': string;
4291
4291
  'x-code'?: string | undefined;
4292
4292
  }, {
4293
4293
  'x-tenant': string;
4294
- authorization: string;
4294
+ 'x-service-token': string;
4295
4295
  'x-code'?: string | undefined;
4296
4296
  'x-client-timezone'?: string | undefined;
4297
4297
  }>>>;
@@ -4321,17 +4321,17 @@ export declare const automationQueueContract: {
4321
4321
  path: "/automation-queue/:id";
4322
4322
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4323
4323
  'x-tenant': z.ZodString;
4324
- authorization: z.ZodString;
4324
+ 'x-service-token': z.ZodString;
4325
4325
  'x-code': z.ZodOptional<z.ZodString>;
4326
4326
  'x-client-timezone': z.ZodDefault<z.ZodString>;
4327
4327
  }, "strip", z.ZodTypeAny, {
4328
4328
  'x-tenant': string;
4329
- authorization: string;
4329
+ 'x-service-token': string;
4330
4330
  'x-client-timezone': string;
4331
4331
  'x-code'?: string | undefined;
4332
4332
  }, {
4333
4333
  'x-tenant': string;
4334
- authorization: string;
4334
+ 'x-service-token': string;
4335
4335
  'x-code'?: string | undefined;
4336
4336
  'x-client-timezone'?: string | undefined;
4337
4337
  }>>>;
@@ -4373,17 +4373,17 @@ export declare const automationQueueContract: {
4373
4373
  path: "/automation-queue/check-has-assigned-room";
4374
4374
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4375
4375
  'x-tenant': z.ZodString;
4376
- authorization: z.ZodString;
4376
+ 'x-service-token': z.ZodString;
4377
4377
  'x-code': z.ZodOptional<z.ZodString>;
4378
4378
  'x-client-timezone': z.ZodDefault<z.ZodString>;
4379
4379
  }, "strip", z.ZodTypeAny, {
4380
4380
  'x-tenant': string;
4381
- authorization: string;
4381
+ 'x-service-token': string;
4382
4382
  'x-client-timezone': string;
4383
4383
  'x-code'?: string | undefined;
4384
4384
  }, {
4385
4385
  'x-tenant': string;
4386
- authorization: string;
4386
+ 'x-service-token': string;
4387
4387
  'x-code'?: string | undefined;
4388
4388
  'x-client-timezone'?: string | undefined;
4389
4389
  }>>>;
@@ -1,17 +1,17 @@
1
1
  import z from 'zod';
2
2
  export declare const DefaultHeaderSchema: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3
3
  'x-tenant': z.ZodString;
4
- authorization: z.ZodString;
4
+ 'x-service-token': z.ZodString;
5
5
  'x-code': z.ZodOptional<z.ZodString>;
6
6
  'x-client-timezone': z.ZodDefault<z.ZodString>;
7
7
  }, "strip", z.ZodTypeAny, {
8
8
  'x-tenant': string;
9
- authorization: string;
9
+ 'x-service-token': string;
10
10
  'x-client-timezone': string;
11
11
  'x-code'?: string | undefined;
12
12
  }, {
13
13
  'x-tenant': string;
14
- authorization: string;
14
+ 'x-service-token': string;
15
15
  'x-code'?: string | undefined;
16
16
  'x-client-timezone'?: string | undefined;
17
17
  }>>>;
@@ -189,17 +189,17 @@ export declare const categoryContract: {
189
189
  path: "categories";
190
190
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
191
191
  'x-tenant': z.ZodString;
192
- authorization: z.ZodString;
192
+ 'x-service-token': z.ZodString;
193
193
  'x-code': z.ZodOptional<z.ZodString>;
194
194
  'x-client-timezone': z.ZodDefault<z.ZodString>;
195
195
  }, "strip", z.ZodTypeAny, {
196
196
  'x-tenant': string;
197
- authorization: string;
197
+ 'x-service-token': string;
198
198
  'x-client-timezone': string;
199
199
  'x-code'?: string | undefined;
200
200
  }, {
201
201
  'x-tenant': string;
202
- authorization: string;
202
+ 'x-service-token': string;
203
203
  'x-code'?: string | undefined;
204
204
  'x-client-timezone'?: string | undefined;
205
205
  }>>>;
@@ -334,17 +334,17 @@ export declare const categoryContract: {
334
334
  path: "categories";
335
335
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
336
336
  'x-tenant': z.ZodString;
337
- authorization: z.ZodString;
337
+ 'x-service-token': z.ZodString;
338
338
  'x-code': z.ZodOptional<z.ZodString>;
339
339
  'x-client-timezone': z.ZodDefault<z.ZodString>;
340
340
  }, "strip", z.ZodTypeAny, {
341
341
  'x-tenant': string;
342
- authorization: string;
342
+ 'x-service-token': string;
343
343
  'x-client-timezone': string;
344
344
  'x-code'?: string | undefined;
345
345
  }, {
346
346
  'x-tenant': string;
347
- authorization: string;
347
+ 'x-service-token': string;
348
348
  'x-code'?: string | undefined;
349
349
  'x-client-timezone'?: string | undefined;
350
350
  }>>>;
@@ -531,17 +531,17 @@ export declare const categoryContract: {
531
531
  path: "categories/:id";
532
532
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
533
533
  'x-tenant': z.ZodString;
534
- authorization: z.ZodString;
534
+ 'x-service-token': z.ZodString;
535
535
  'x-code': z.ZodOptional<z.ZodString>;
536
536
  'x-client-timezone': z.ZodDefault<z.ZodString>;
537
537
  }, "strip", z.ZodTypeAny, {
538
538
  'x-tenant': string;
539
- authorization: string;
539
+ 'x-service-token': string;
540
540
  'x-client-timezone': string;
541
541
  'x-code'?: string | undefined;
542
542
  }, {
543
543
  'x-tenant': string;
544
- authorization: string;
544
+ 'x-service-token': string;
545
545
  'x-code'?: string | undefined;
546
546
  'x-client-timezone'?: string | undefined;
547
547
  }>>>;
@@ -581,17 +581,17 @@ export declare const categoryContract: {
581
581
  path: "categories/:id";
582
582
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
583
583
  'x-tenant': z.ZodString;
584
- authorization: z.ZodString;
584
+ 'x-service-token': z.ZodString;
585
585
  'x-code': z.ZodOptional<z.ZodString>;
586
586
  'x-client-timezone': z.ZodDefault<z.ZodString>;
587
587
  }, "strip", z.ZodTypeAny, {
588
588
  'x-tenant': string;
589
- authorization: string;
589
+ 'x-service-token': string;
590
590
  'x-client-timezone': string;
591
591
  'x-code'?: string | undefined;
592
592
  }, {
593
593
  'x-tenant': string;
594
- authorization: string;
594
+ 'x-service-token': string;
595
595
  'x-code'?: string | undefined;
596
596
  'x-client-timezone'?: string | undefined;
597
597
  }>>>;
@@ -653,17 +653,17 @@ export declare const categoryContract: {
653
653
  path: "categories/level";
654
654
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
655
655
  'x-tenant': z.ZodString;
656
- authorization: z.ZodString;
656
+ 'x-service-token': z.ZodString;
657
657
  'x-code': z.ZodOptional<z.ZodString>;
658
658
  'x-client-timezone': z.ZodDefault<z.ZodString>;
659
659
  }, "strip", z.ZodTypeAny, {
660
660
  'x-tenant': string;
661
- authorization: string;
661
+ 'x-service-token': string;
662
662
  'x-client-timezone': string;
663
663
  'x-code'?: string | undefined;
664
664
  }, {
665
665
  'x-tenant': string;
666
- authorization: string;
666
+ 'x-service-token': string;
667
667
  'x-code'?: string | undefined;
668
668
  'x-client-timezone'?: string | undefined;
669
669
  }>>>;
@@ -778,17 +778,17 @@ export declare const categoryContract: {
778
778
  path: "categories/level/:id";
779
779
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
780
780
  'x-tenant': z.ZodString;
781
- authorization: z.ZodString;
781
+ 'x-service-token': z.ZodString;
782
782
  'x-code': z.ZodOptional<z.ZodString>;
783
783
  'x-client-timezone': z.ZodDefault<z.ZodString>;
784
784
  }, "strip", z.ZodTypeAny, {
785
785
  'x-tenant': string;
786
- authorization: string;
786
+ 'x-service-token': string;
787
787
  'x-client-timezone': string;
788
788
  'x-code'?: string | undefined;
789
789
  }, {
790
790
  'x-tenant': string;
791
- authorization: string;
791
+ 'x-service-token': string;
792
792
  'x-code'?: string | undefined;
793
793
  'x-client-timezone'?: string | undefined;
794
794
  }>>>;