@kl1/contracts 1.0.22 → 1.0.24

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.
Files changed (57) hide show
  1. package/dist/index.js +21 -17
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +21 -17
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/attribute/index.d.ts +42 -0
  6. package/dist/src/attribute/index.d.ts.map +1 -1
  7. package/dist/src/auth/index.d.ts +30 -0
  8. package/dist/src/auth/index.d.ts.map +1 -1
  9. package/dist/src/base-contract.d.ts +6 -0
  10. package/dist/src/base-contract.d.ts.map +1 -1
  11. package/dist/src/category/index.d.ts +36 -0
  12. package/dist/src/category/index.d.ts.map +1 -1
  13. package/dist/src/channel/index.d.ts +12 -0
  14. package/dist/src/channel/index.d.ts.map +1 -1
  15. package/dist/src/chat/index.d.ts +91 -3
  16. package/dist/src/chat/index.d.ts.map +1 -1
  17. package/dist/src/contact/index.d.ts +72 -0
  18. package/dist/src/contact/index.d.ts.map +1 -1
  19. package/dist/src/contract.d.ts +805 -392
  20. package/dist/src/contract.d.ts.map +1 -1
  21. package/dist/src/cx-log/index.d.ts +6 -357
  22. package/dist/src/cx-log/index.d.ts.map +1 -1
  23. package/dist/src/cx-log/schema.d.ts +0 -287
  24. package/dist/src/cx-log/schema.d.ts.map +1 -1
  25. package/dist/src/dashboard/index.d.ts +136 -28
  26. package/dist/src/dashboard/index.d.ts.map +1 -1
  27. package/dist/src/dashboard/schema.d.ts +5 -5
  28. package/dist/src/extension/index.d.ts +36 -0
  29. package/dist/src/extension/index.d.ts.map +1 -1
  30. package/dist/src/mail/account-contract.d.ts +42 -0
  31. package/dist/src/mail/account-contract.d.ts.map +1 -1
  32. package/dist/src/mail/mail-contract.d.ts +42 -0
  33. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  34. package/dist/src/messenger/index.d.ts +10 -0
  35. package/dist/src/messenger/index.d.ts.map +1 -1
  36. package/dist/src/permission/index.d.ts +6 -0
  37. package/dist/src/permission/index.d.ts.map +1 -1
  38. package/dist/src/role/index.d.ts +24 -0
  39. package/dist/src/role/index.d.ts.map +1 -1
  40. package/dist/src/tag/index.d.ts +24 -0
  41. package/dist/src/tag/index.d.ts.map +1 -1
  42. package/dist/src/telephony-agent-presence-status/index.d.ts +24 -0
  43. package/dist/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  44. package/dist/src/telephony-extension/index.d.ts +6 -0
  45. package/dist/src/telephony-extension/index.d.ts.map +1 -1
  46. package/dist/src/ticket/index.d.ts +106 -4
  47. package/dist/src/ticket/index.d.ts.map +1 -1
  48. package/dist/src/ticket/validation.d.ts +4 -4
  49. package/dist/src/user/index.d.ts +30 -0
  50. package/dist/src/user/index.d.ts.map +1 -1
  51. package/dist/src/user-presence-status-log/index.d.ts +6 -0
  52. package/dist/src/user-presence-status-log/index.d.ts.map +1 -1
  53. package/dist/src/widget/index.d.ts +48 -0
  54. package/dist/src/widget/index.d.ts.map +1 -1
  55. package/dist/src/wrap-up-form/index.d.ts +18 -0
  56. package/dist/src/wrap-up-form/index.d.ts.map +1 -1
  57. package/package.json +4 -10
@@ -348,12 +348,18 @@ export declare const userContract: {
348
348
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
349
349
  'x-tenant': z.ZodString;
350
350
  authorization: z.ZodString;
351
+ 'x-code': z.ZodOptional<z.ZodString>;
352
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
351
353
  }, "strip", z.ZodTypeAny, {
352
354
  'x-tenant': string;
353
355
  authorization: string;
356
+ 'x-client-timezone': string;
357
+ 'x-code'?: string | undefined;
354
358
  }, {
355
359
  'x-tenant': string;
356
360
  authorization: string;
361
+ 'x-code'?: string | undefined;
362
+ 'x-client-timezone'?: string | undefined;
357
363
  }>>>;
358
364
  };
359
365
  getUsers: {
@@ -592,12 +598,18 @@ export declare const userContract: {
592
598
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
593
599
  'x-tenant': z.ZodString;
594
600
  authorization: z.ZodString;
601
+ 'x-code': z.ZodOptional<z.ZodString>;
602
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
595
603
  }, "strip", z.ZodTypeAny, {
596
604
  'x-tenant': string;
597
605
  authorization: string;
606
+ 'x-client-timezone': string;
607
+ 'x-code'?: string | undefined;
598
608
  }, {
599
609
  'x-tenant': string;
600
610
  authorization: string;
611
+ 'x-code'?: string | undefined;
612
+ 'x-client-timezone'?: string | undefined;
601
613
  }>>>;
602
614
  };
603
615
  getUserById: {
@@ -832,12 +844,18 @@ export declare const userContract: {
832
844
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
833
845
  'x-tenant': z.ZodString;
834
846
  authorization: z.ZodString;
847
+ 'x-code': z.ZodOptional<z.ZodString>;
848
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
835
849
  }, "strip", z.ZodTypeAny, {
836
850
  'x-tenant': string;
837
851
  authorization: string;
852
+ 'x-client-timezone': string;
853
+ 'x-code'?: string | undefined;
838
854
  }, {
839
855
  'x-tenant': string;
840
856
  authorization: string;
857
+ 'x-code'?: string | undefined;
858
+ 'x-client-timezone'?: string | undefined;
841
859
  }>>>;
842
860
  };
843
861
  updateUser: {
@@ -1193,12 +1211,18 @@ export declare const userContract: {
1193
1211
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1194
1212
  'x-tenant': z.ZodString;
1195
1213
  authorization: z.ZodString;
1214
+ 'x-code': z.ZodOptional<z.ZodString>;
1215
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
1196
1216
  }, "strip", z.ZodTypeAny, {
1197
1217
  'x-tenant': string;
1198
1218
  authorization: string;
1219
+ 'x-client-timezone': string;
1220
+ 'x-code'?: string | undefined;
1199
1221
  }, {
1200
1222
  'x-tenant': string;
1201
1223
  authorization: string;
1224
+ 'x-code'?: string | undefined;
1225
+ 'x-client-timezone'?: string | undefined;
1202
1226
  }>>>;
1203
1227
  };
1204
1228
  deleteUser: {
@@ -1238,12 +1262,18 @@ export declare const userContract: {
1238
1262
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1239
1263
  'x-tenant': z.ZodString;
1240
1264
  authorization: z.ZodString;
1265
+ 'x-code': z.ZodOptional<z.ZodString>;
1266
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
1241
1267
  }, "strip", z.ZodTypeAny, {
1242
1268
  'x-tenant': string;
1243
1269
  authorization: string;
1270
+ 'x-client-timezone': string;
1271
+ 'x-code'?: string | undefined;
1244
1272
  }, {
1245
1273
  'x-tenant': string;
1246
1274
  authorization: string;
1275
+ 'x-code'?: string | undefined;
1276
+ 'x-client-timezone'?: string | undefined;
1247
1277
  }>>>;
1248
1278
  };
1249
1279
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/user/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAQpB,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAGlE,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAC9C,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AACjE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AACjE,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyFxB,CAAC"}
@@ -332,12 +332,18 @@ export declare const userPresenceStatusLogContract: {
332
332
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
333
333
  'x-tenant': z.ZodString;
334
334
  authorization: z.ZodString;
335
+ 'x-code': z.ZodOptional<z.ZodString>;
336
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
335
337
  }, "strip", z.ZodTypeAny, {
336
338
  'x-tenant': string;
337
339
  authorization: string;
340
+ 'x-client-timezone': string;
341
+ 'x-code'?: string | undefined;
338
342
  }, {
339
343
  'x-tenant': string;
340
344
  authorization: string;
345
+ 'x-code'?: string | undefined;
346
+ 'x-client-timezone'?: string | undefined;
341
347
  }>>>;
342
348
  };
343
349
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/user-presence-status-log/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAOpB,OAAO,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAC;AACvD,OAAO,EAAE,iCAAiC,EAAE,MAAM,cAAc,CAAC;AAEjE,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,iCAAiC,CACzC,CAAC;AACF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBzC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/user-presence-status-log/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAOpB,OAAO,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAC;AACvD,OAAO,EAAE,iCAAiC,EAAE,MAAM,cAAc,CAAC;AAEjE,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,iCAAiC,CACzC,CAAC;AACF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBzC,CAAC"}
@@ -144,12 +144,18 @@ export declare const widgetContract: {
144
144
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
145
145
  'x-tenant': z.ZodString;
146
146
  authorization: z.ZodString;
147
+ 'x-code': z.ZodOptional<z.ZodString>;
148
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
147
149
  }, "strip", z.ZodTypeAny, {
148
150
  'x-tenant': string;
149
151
  authorization: string;
152
+ 'x-client-timezone': string;
153
+ 'x-code'?: string | undefined;
150
154
  }, {
151
155
  'x-tenant': string;
152
156
  authorization: string;
157
+ 'x-code'?: string | undefined;
158
+ 'x-client-timezone'?: string | undefined;
153
159
  }>>>;
154
160
  };
155
161
  getWidgets: {
@@ -268,12 +274,18 @@ export declare const widgetContract: {
268
274
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
269
275
  'x-tenant': z.ZodString;
270
276
  authorization: z.ZodString;
277
+ 'x-code': z.ZodOptional<z.ZodString>;
278
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
271
279
  }, "strip", z.ZodTypeAny, {
272
280
  'x-tenant': string;
273
281
  authorization: string;
282
+ 'x-client-timezone': string;
283
+ 'x-code'?: string | undefined;
274
284
  }, {
275
285
  'x-tenant': string;
276
286
  authorization: string;
287
+ 'x-code'?: string | undefined;
288
+ 'x-client-timezone'?: string | undefined;
277
289
  }>>>;
278
290
  };
279
291
  getMenuWidgets: {
@@ -353,12 +365,18 @@ export declare const widgetContract: {
353
365
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
354
366
  'x-tenant': z.ZodString;
355
367
  authorization: z.ZodString;
368
+ 'x-code': z.ZodOptional<z.ZodString>;
369
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
356
370
  }, "strip", z.ZodTypeAny, {
357
371
  'x-tenant': string;
358
372
  authorization: string;
373
+ 'x-client-timezone': string;
374
+ 'x-code'?: string | undefined;
359
375
  }, {
360
376
  'x-tenant': string;
361
377
  authorization: string;
378
+ 'x-code'?: string | undefined;
379
+ 'x-client-timezone'?: string | undefined;
362
380
  }>>>;
363
381
  };
364
382
  getTicketWidgets: {
@@ -438,12 +456,18 @@ export declare const widgetContract: {
438
456
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
439
457
  'x-tenant': z.ZodString;
440
458
  authorization: z.ZodString;
459
+ 'x-code': z.ZodOptional<z.ZodString>;
460
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
441
461
  }, "strip", z.ZodTypeAny, {
442
462
  'x-tenant': string;
443
463
  authorization: string;
464
+ 'x-client-timezone': string;
465
+ 'x-code'?: string | undefined;
444
466
  }, {
445
467
  'x-tenant': string;
446
468
  authorization: string;
469
+ 'x-code'?: string | undefined;
470
+ 'x-client-timezone'?: string | undefined;
447
471
  }>>>;
448
472
  };
449
473
  getContactWidgets: {
@@ -523,12 +547,18 @@ export declare const widgetContract: {
523
547
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
524
548
  'x-tenant': z.ZodString;
525
549
  authorization: z.ZodString;
550
+ 'x-code': z.ZodOptional<z.ZodString>;
551
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
526
552
  }, "strip", z.ZodTypeAny, {
527
553
  'x-tenant': string;
528
554
  authorization: string;
555
+ 'x-client-timezone': string;
556
+ 'x-code'?: string | undefined;
529
557
  }, {
530
558
  'x-tenant': string;
531
559
  authorization: string;
560
+ 'x-code'?: string | undefined;
561
+ 'x-client-timezone'?: string | undefined;
532
562
  }>>>;
533
563
  };
534
564
  getWidgetById: {
@@ -615,12 +645,18 @@ export declare const widgetContract: {
615
645
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
616
646
  'x-tenant': z.ZodString;
617
647
  authorization: z.ZodString;
648
+ 'x-code': z.ZodOptional<z.ZodString>;
649
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
618
650
  }, "strip", z.ZodTypeAny, {
619
651
  'x-tenant': string;
620
652
  authorization: string;
653
+ 'x-client-timezone': string;
654
+ 'x-code'?: string | undefined;
621
655
  }, {
622
656
  'x-tenant': string;
623
657
  authorization: string;
658
+ 'x-code'?: string | undefined;
659
+ 'x-client-timezone'?: string | undefined;
624
660
  }>>>;
625
661
  };
626
662
  updateWidget: {
@@ -759,12 +795,18 @@ export declare const widgetContract: {
759
795
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
760
796
  'x-tenant': z.ZodString;
761
797
  authorization: z.ZodString;
798
+ 'x-code': z.ZodOptional<z.ZodString>;
799
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
762
800
  }, "strip", z.ZodTypeAny, {
763
801
  'x-tenant': string;
764
802
  authorization: string;
803
+ 'x-client-timezone': string;
804
+ 'x-code'?: string | undefined;
765
805
  }, {
766
806
  'x-tenant': string;
767
807
  authorization: string;
808
+ 'x-code'?: string | undefined;
809
+ 'x-client-timezone'?: string | undefined;
768
810
  }>>>;
769
811
  };
770
812
  deleteWidget: {
@@ -804,12 +846,18 @@ export declare const widgetContract: {
804
846
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
805
847
  'x-tenant': z.ZodString;
806
848
  authorization: z.ZodString;
849
+ 'x-code': z.ZodOptional<z.ZodString>;
850
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
807
851
  }, "strip", z.ZodTypeAny, {
808
852
  'x-tenant': string;
809
853
  authorization: string;
854
+ 'x-client-timezone': string;
855
+ 'x-code'?: string | undefined;
810
856
  }, {
811
857
  'x-tenant': string;
812
858
  authorization: string;
859
+ 'x-code'?: string | undefined;
860
+ 'x-client-timezone'?: string | undefined;
813
861
  }>>>;
814
862
  };
815
863
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/widget/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAQpB,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAGtE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AACrE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AACrE,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAElD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgK1B,CAAC"}
@@ -157,12 +157,18 @@ export declare const wrapUpFormContract: {
157
157
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
158
158
  'x-tenant': z.ZodString;
159
159
  authorization: z.ZodString;
160
+ 'x-code': z.ZodOptional<z.ZodString>;
161
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
160
162
  }, "strip", z.ZodTypeAny, {
161
163
  'x-tenant': string;
162
164
  authorization: string;
165
+ 'x-client-timezone': string;
166
+ 'x-code'?: string | undefined;
163
167
  }, {
164
168
  'x-tenant': string;
165
169
  authorization: string;
170
+ 'x-code'?: string | undefined;
171
+ 'x-client-timezone'?: string | undefined;
166
172
  }>>>;
167
173
  };
168
174
  getWrapUpForms: {
@@ -294,12 +300,18 @@ export declare const wrapUpFormContract: {
294
300
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
295
301
  'x-tenant': z.ZodString;
296
302
  authorization: z.ZodString;
303
+ 'x-code': z.ZodOptional<z.ZodString>;
304
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
297
305
  }, "strip", z.ZodTypeAny, {
298
306
  'x-tenant': string;
299
307
  authorization: string;
308
+ 'x-client-timezone': string;
309
+ 'x-code'?: string | undefined;
300
310
  }, {
301
311
  'x-tenant': string;
302
312
  authorization: string;
313
+ 'x-code'?: string | undefined;
314
+ 'x-client-timezone'?: string | undefined;
303
315
  }>>>;
304
316
  };
305
317
  updateWrapUpForm: {
@@ -466,12 +478,18 @@ export declare const wrapUpFormContract: {
466
478
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
467
479
  'x-tenant': z.ZodString;
468
480
  authorization: z.ZodString;
481
+ 'x-code': z.ZodOptional<z.ZodString>;
482
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
469
483
  }, "strip", z.ZodTypeAny, {
470
484
  'x-tenant': string;
471
485
  authorization: string;
486
+ 'x-client-timezone': string;
487
+ 'x-code'?: string | undefined;
472
488
  }, {
473
489
  'x-tenant': string;
474
490
  authorization: string;
491
+ 'x-code'?: string | undefined;
492
+ 'x-client-timezone'?: string | undefined;
475
493
  }>>>;
476
494
  };
477
495
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/wrap-up-form/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AASpB,OAAO,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAG9E,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAC7E,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE7E,eAAO,MAAM,kBAAkB;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6D9B,CAAC"}
package/package.json CHANGED
@@ -1,13 +1,11 @@
1
1
  {
2
2
  "name": "@kl1/contracts",
3
- "version": "1.0.22",
3
+ "version": "1.0.24",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/src/index.d.ts",
7
7
  "module": "dist/index.mjs",
8
- "files": [
9
- "dist"
10
- ],
8
+ "files": ["dist"],
11
9
  "keywords": [],
12
10
  "author": "",
13
11
  "license": "ISC",
@@ -21,16 +19,12 @@
21
19
  },
22
20
  "watch": {
23
21
  "build": {
24
- "patterns": [
25
- "src"
26
- ],
22
+ "patterns": ["src"],
27
23
  "extensions": "ts",
28
24
  "quite": true
29
25
  },
30
26
  "types": {
31
- "patterns": [
32
- "src"
33
- ],
27
+ "patterns": ["src"],
34
28
  "extensions": "ts",
35
29
  "quite": true
36
30
  }