@kl1/contracts 1.0.27 → 1.0.28

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 (63) hide show
  1. package/dist/index.js +151 -118
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +151 -118
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/activity-log/index.d.ts +113 -113
  6. package/dist/src/activity-log/schema.d.ts +122 -122
  7. package/dist/src/auth/index.d.ts +89 -89
  8. package/dist/src/channel/index.d.ts +319 -319
  9. package/dist/src/channel/schema.d.ts +89 -92
  10. package/dist/src/channel/schema.d.ts.map +1 -1
  11. package/dist/src/channel/validation.d.ts +89 -89
  12. package/dist/src/chat/index.d.ts +8699 -8699
  13. package/dist/src/chat/schema.d.ts +1486 -1486
  14. package/dist/src/chat/validation.d.ts +2244 -2244
  15. package/dist/src/comment/index.d.ts +1005 -1005
  16. package/dist/src/comment/schema.d.ts +283 -283
  17. package/dist/src/company/index.d.ts +28 -28
  18. package/dist/src/company/schema.d.ts +8 -8
  19. package/dist/src/company/validation.d.ts +15 -15
  20. package/dist/src/contact/index.d.ts +960 -960
  21. package/dist/src/contact/schema.d.ts +161 -161
  22. package/dist/src/contact/validation.d.ts +690 -690
  23. package/dist/src/contract.d.ts +18366 -18196
  24. package/dist/src/contract.d.ts.map +1 -1
  25. package/dist/src/custom-field/schema.d.ts +3 -3
  26. package/dist/src/cx-log/index.d.ts +1023 -1023
  27. package/dist/src/cx-log/schema.d.ts +837 -837
  28. package/dist/src/dashboard/index.d.ts +6 -6
  29. package/dist/src/dashboard/index.d.ts.map +1 -1
  30. package/dist/src/dashboard/schema.d.ts +2 -2
  31. package/dist/src/dashboard/schema.d.ts.map +1 -1
  32. package/dist/src/extension/index.d.ts +115 -115
  33. package/dist/src/extension/schema.d.ts +9 -9
  34. package/dist/src/mail/account-contract.d.ts +168 -168
  35. package/dist/src/mail/mail-contract.d.ts +3336 -3336
  36. package/dist/src/mail/message-contract.d.ts +152 -152
  37. package/dist/src/mail/room-contract.d.ts +3015 -3015
  38. package/dist/src/mail/schemas/account-validation.schema.d.ts +168 -168
  39. package/dist/src/mail/schemas/account.schema.d.ts +33 -33
  40. package/dist/src/mail/schemas/message.schema.d.ts +108 -108
  41. package/dist/src/mail/schemas/room-validation.schema.d.ts +1000 -1000
  42. package/dist/src/mail/schemas/room.schema.d.ts +791 -791
  43. package/dist/src/messenger/index.d.ts +1078 -1078
  44. package/dist/src/permission/index.d.ts +15 -15
  45. package/dist/src/permission/schema.d.ts +9 -9
  46. package/dist/src/role/index.d.ts +96 -96
  47. package/dist/src/role/schema.d.ts +24 -24
  48. package/dist/src/telephony-agent-presence-status/index.d.ts +293 -293
  49. package/dist/src/telephony-agent-presence-status/schema.d.ts +89 -89
  50. package/dist/src/ticket/index.d.ts +288 -187
  51. package/dist/src/ticket/index.d.ts.map +1 -1
  52. package/dist/src/ticket/schema.d.ts +77 -77
  53. package/dist/src/ticket/validation.d.ts +66 -0
  54. package/dist/src/ticket/validation.d.ts.map +1 -1
  55. package/dist/src/user/index.d.ts +293 -293
  56. package/dist/src/user/schema.d.ts +63 -63
  57. package/dist/src/user-presence-status-log/index.d.ts +52 -52
  58. package/dist/src/user-presence-status-log/schema.d.ts +89 -89
  59. package/dist/src/widget/index.d.ts +72 -1
  60. package/dist/src/widget/index.d.ts.map +1 -1
  61. package/dist/src/widget/validation.d.ts +10 -0
  62. package/dist/src/widget/validation.d.ts.map +1 -1
  63. package/package.json +1 -1
@@ -6,89 +6,89 @@ export declare const UserPresenceStatusLogSchema: z.ZodObject<{
6
6
  deletedAt: z.ZodNullable<z.ZodString>;
7
7
  user: z.ZodObject<{
8
8
  id: z.ZodString;
9
- createdAt: z.ZodDate;
10
- updatedAt: z.ZodDate;
11
- deletedAt: z.ZodNullable<z.ZodDate>;
9
+ createdAt: z.ZodString;
10
+ updatedAt: z.ZodString;
11
+ deletedAt: z.ZodNullable<z.ZodString>;
12
12
  name: z.ZodString;
13
13
  email: z.ZodString;
14
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
14
+ emailVerifiedAt: z.ZodNullable<z.ZodString>;
15
15
  password: z.ZodString;
16
16
  address: z.ZodNullable<z.ZodString>;
17
17
  phone: z.ZodNullable<z.ZodString>;
18
18
  notificationCount: z.ZodNullable<z.ZodNumber>;
19
19
  roles: z.ZodArray<z.ZodObject<{
20
20
  id: z.ZodString;
21
- createdAt: z.ZodDate;
22
- updatedAt: z.ZodDate;
23
- deletedAt: z.ZodNullable<z.ZodDate>;
21
+ createdAt: z.ZodString;
22
+ updatedAt: z.ZodString;
23
+ deletedAt: z.ZodNullable<z.ZodString>;
24
24
  systemName: z.ZodString;
25
25
  displayName: z.ZodString;
26
26
  description: z.ZodNullable<z.ZodString>;
27
27
  permissions: z.ZodArray<z.ZodObject<{
28
28
  id: z.ZodString;
29
- createdAt: z.ZodDate;
30
- updatedAt: z.ZodDate;
31
- deletedAt: z.ZodNullable<z.ZodDate>;
29
+ createdAt: z.ZodString;
30
+ updatedAt: z.ZodString;
31
+ deletedAt: z.ZodNullable<z.ZodString>;
32
32
  systemName: z.ZodString;
33
33
  displayName: z.ZodString;
34
34
  description: z.ZodNullable<z.ZodString>;
35
35
  }, "strip", z.ZodTypeAny, {
36
36
  id: string;
37
37
  description: string | null;
38
- createdAt: Date;
39
- updatedAt: Date;
40
- deletedAt: Date | null;
38
+ createdAt: string;
39
+ updatedAt: string;
40
+ deletedAt: string | null;
41
41
  systemName: string;
42
42
  displayName: string;
43
43
  }, {
44
44
  id: string;
45
45
  description: string | null;
46
- createdAt: Date;
47
- updatedAt: Date;
48
- deletedAt: Date | null;
46
+ createdAt: string;
47
+ updatedAt: string;
48
+ deletedAt: string | null;
49
49
  systemName: string;
50
50
  displayName: string;
51
51
  }>, "many">;
52
52
  }, "strip", z.ZodTypeAny, {
53
53
  id: string;
54
54
  description: string | null;
55
- createdAt: Date;
56
- updatedAt: Date;
57
- deletedAt: Date | null;
55
+ createdAt: string;
56
+ updatedAt: string;
57
+ deletedAt: string | null;
58
58
  systemName: string;
59
59
  displayName: string;
60
60
  permissions: {
61
61
  id: string;
62
62
  description: string | null;
63
- createdAt: Date;
64
- updatedAt: Date;
65
- deletedAt: Date | null;
63
+ createdAt: string;
64
+ updatedAt: string;
65
+ deletedAt: string | null;
66
66
  systemName: string;
67
67
  displayName: string;
68
68
  }[];
69
69
  }, {
70
70
  id: string;
71
71
  description: string | null;
72
- createdAt: Date;
73
- updatedAt: Date;
74
- deletedAt: Date | null;
72
+ createdAt: string;
73
+ updatedAt: string;
74
+ deletedAt: string | null;
75
75
  systemName: string;
76
76
  displayName: string;
77
77
  permissions: {
78
78
  id: string;
79
79
  description: string | null;
80
- createdAt: Date;
81
- updatedAt: Date;
82
- deletedAt: Date | null;
80
+ createdAt: string;
81
+ updatedAt: string;
82
+ deletedAt: string | null;
83
83
  systemName: string;
84
84
  displayName: string;
85
85
  }[];
86
86
  }>, "many">;
87
87
  extension: z.ZodOptional<z.ZodObject<{
88
88
  id: z.ZodString;
89
- createdAt: z.ZodDate;
90
- updatedAt: z.ZodDate;
91
- deletedAt: z.ZodNullable<z.ZodDate>;
89
+ createdAt: z.ZodString;
90
+ updatedAt: z.ZodString;
91
+ deletedAt: z.ZodNullable<z.ZodString>;
92
92
  userId: z.ZodNullable<z.ZodString>;
93
93
  sipServerUrl: z.ZodString;
94
94
  sipUserName: z.ZodString;
@@ -97,9 +97,9 @@ export declare const UserPresenceStatusLogSchema: z.ZodObject<{
97
97
  telephonySignature: z.ZodNullable<z.ZodString>;
98
98
  }, "strip", z.ZodTypeAny, {
99
99
  id: string;
100
- createdAt: Date;
101
- updatedAt: Date;
102
- deletedAt: Date | null;
100
+ createdAt: string;
101
+ updatedAt: string;
102
+ deletedAt: string | null;
103
103
  userId: string | null;
104
104
  sipServerUrl: string;
105
105
  sipUserName: string;
@@ -108,9 +108,9 @@ export declare const UserPresenceStatusLogSchema: z.ZodObject<{
108
108
  telephonySignature: string | null;
109
109
  }, {
110
110
  id: string;
111
- createdAt: Date;
112
- updatedAt: Date;
113
- deletedAt: Date | null;
111
+ createdAt: string;
112
+ updatedAt: string;
113
+ deletedAt: string | null;
114
114
  userId: string | null;
115
115
  sipServerUrl: string;
116
116
  sipUserName: string;
@@ -123,36 +123,36 @@ export declare const UserPresenceStatusLogSchema: z.ZodObject<{
123
123
  address: string | null;
124
124
  name: string;
125
125
  email: string;
126
- createdAt: Date;
127
- updatedAt: Date;
128
- deletedAt: Date | null;
129
- emailVerifiedAt: Date | null;
126
+ createdAt: string;
127
+ updatedAt: string;
128
+ deletedAt: string | null;
129
+ emailVerifiedAt: string | null;
130
130
  password: string;
131
131
  phone: string | null;
132
132
  notificationCount: number | null;
133
133
  roles: {
134
134
  id: string;
135
135
  description: string | null;
136
- createdAt: Date;
137
- updatedAt: Date;
138
- deletedAt: Date | null;
136
+ createdAt: string;
137
+ updatedAt: string;
138
+ deletedAt: string | null;
139
139
  systemName: string;
140
140
  displayName: string;
141
141
  permissions: {
142
142
  id: string;
143
143
  description: string | null;
144
- createdAt: Date;
145
- updatedAt: Date;
146
- deletedAt: Date | null;
144
+ createdAt: string;
145
+ updatedAt: string;
146
+ deletedAt: string | null;
147
147
  systemName: string;
148
148
  displayName: string;
149
149
  }[];
150
150
  }[];
151
151
  extension?: {
152
152
  id: string;
153
- createdAt: Date;
154
- updatedAt: Date;
155
- deletedAt: Date | null;
153
+ createdAt: string;
154
+ updatedAt: string;
155
+ deletedAt: string | null;
156
156
  userId: string | null;
157
157
  sipServerUrl: string;
158
158
  sipUserName: string;
@@ -165,36 +165,36 @@ export declare const UserPresenceStatusLogSchema: z.ZodObject<{
165
165
  address: string | null;
166
166
  name: string;
167
167
  email: string;
168
- createdAt: Date;
169
- updatedAt: Date;
170
- deletedAt: Date | null;
171
- emailVerifiedAt: Date | null;
168
+ createdAt: string;
169
+ updatedAt: string;
170
+ deletedAt: string | null;
171
+ emailVerifiedAt: string | null;
172
172
  password: string;
173
173
  phone: string | null;
174
174
  notificationCount: number | null;
175
175
  roles: {
176
176
  id: string;
177
177
  description: string | null;
178
- createdAt: Date;
179
- updatedAt: Date;
180
- deletedAt: Date | null;
178
+ createdAt: string;
179
+ updatedAt: string;
180
+ deletedAt: string | null;
181
181
  systemName: string;
182
182
  displayName: string;
183
183
  permissions: {
184
184
  id: string;
185
185
  description: string | null;
186
- createdAt: Date;
187
- updatedAt: Date;
188
- deletedAt: Date | null;
186
+ createdAt: string;
187
+ updatedAt: string;
188
+ deletedAt: string | null;
189
189
  systemName: string;
190
190
  displayName: string;
191
191
  }[];
192
192
  }[];
193
193
  extension?: {
194
194
  id: string;
195
- createdAt: Date;
196
- updatedAt: Date;
197
- deletedAt: Date | null;
195
+ createdAt: string;
196
+ updatedAt: string;
197
+ deletedAt: string | null;
198
198
  userId: string | null;
199
199
  sipServerUrl: string;
200
200
  sipUserName: string;
@@ -256,36 +256,36 @@ export declare const UserPresenceStatusLogSchema: z.ZodObject<{
256
256
  address: string | null;
257
257
  name: string;
258
258
  email: string;
259
- createdAt: Date;
260
- updatedAt: Date;
261
- deletedAt: Date | null;
262
- emailVerifiedAt: Date | null;
259
+ createdAt: string;
260
+ updatedAt: string;
261
+ deletedAt: string | null;
262
+ emailVerifiedAt: string | null;
263
263
  password: string;
264
264
  phone: string | null;
265
265
  notificationCount: number | null;
266
266
  roles: {
267
267
  id: string;
268
268
  description: string | null;
269
- createdAt: Date;
270
- updatedAt: Date;
271
- deletedAt: Date | null;
269
+ createdAt: string;
270
+ updatedAt: string;
271
+ deletedAt: string | null;
272
272
  systemName: string;
273
273
  displayName: string;
274
274
  permissions: {
275
275
  id: string;
276
276
  description: string | null;
277
- createdAt: Date;
278
- updatedAt: Date;
279
- deletedAt: Date | null;
277
+ createdAt: string;
278
+ updatedAt: string;
279
+ deletedAt: string | null;
280
280
  systemName: string;
281
281
  displayName: string;
282
282
  }[];
283
283
  }[];
284
284
  extension?: {
285
285
  id: string;
286
- createdAt: Date;
287
- updatedAt: Date;
288
- deletedAt: Date | null;
286
+ createdAt: string;
287
+ updatedAt: string;
288
+ deletedAt: string | null;
289
289
  userId: string | null;
290
290
  sipServerUrl: string;
291
291
  sipUserName: string;
@@ -321,36 +321,36 @@ export declare const UserPresenceStatusLogSchema: z.ZodObject<{
321
321
  address: string | null;
322
322
  name: string;
323
323
  email: string;
324
- createdAt: Date;
325
- updatedAt: Date;
326
- deletedAt: Date | null;
327
- emailVerifiedAt: Date | null;
324
+ createdAt: string;
325
+ updatedAt: string;
326
+ deletedAt: string | null;
327
+ emailVerifiedAt: string | null;
328
328
  password: string;
329
329
  phone: string | null;
330
330
  notificationCount: number | null;
331
331
  roles: {
332
332
  id: string;
333
333
  description: string | null;
334
- createdAt: Date;
335
- updatedAt: Date;
336
- deletedAt: Date | null;
334
+ createdAt: string;
335
+ updatedAt: string;
336
+ deletedAt: string | null;
337
337
  systemName: string;
338
338
  displayName: string;
339
339
  permissions: {
340
340
  id: string;
341
341
  description: string | null;
342
- createdAt: Date;
343
- updatedAt: Date;
344
- deletedAt: Date | null;
342
+ createdAt: string;
343
+ updatedAt: string;
344
+ deletedAt: string | null;
345
345
  systemName: string;
346
346
  displayName: string;
347
347
  }[];
348
348
  }[];
349
349
  extension?: {
350
350
  id: string;
351
- createdAt: Date;
352
- updatedAt: Date;
353
- deletedAt: Date | null;
351
+ createdAt: string;
352
+ updatedAt: string;
353
+ deletedAt: string | null;
354
354
  userId: string | null;
355
355
  sipServerUrl: string;
356
356
  sipUserName: string;
@@ -1,8 +1,9 @@
1
1
  import z from 'zod';
2
2
  import { WidgetSchema } from './schema';
3
- import { CreateWidgetSchema, UpdateWidgetSchema } from './validation';
3
+ import { CreateWidgetSchema, GetWidgetUrlPathQuerySchema, UpdateWidgetSchema } from './validation';
4
4
  export type CreateWidgetRequest = z.infer<typeof CreateWidgetSchema>;
5
5
  export type UpdateWidgetRequest = z.infer<typeof UpdateWidgetSchema>;
6
+ export type GetWidgetUrlQueryRequest = z.infer<typeof GetWidgetUrlPathQuerySchema>;
6
7
  export type Widget = z.infer<typeof WidgetSchema>;
7
8
  export declare const widgetContract: {
8
9
  createWidget: {
@@ -659,6 +660,76 @@ export declare const widgetContract: {
659
660
  'x-client-timezone'?: string | undefined;
660
661
  }>>>;
661
662
  };
663
+ getWidgetUrl: {
664
+ summary: "Generate url token for widget.";
665
+ method: "GET";
666
+ query: z.ZodObject<{
667
+ widgetId: z.ZodString;
668
+ positionId: z.ZodString;
669
+ }, "strip", z.ZodTypeAny, {
670
+ widgetId: string;
671
+ positionId: string;
672
+ }, {
673
+ widgetId: string;
674
+ positionId: string;
675
+ }>;
676
+ responses: {
677
+ 201: z.ZodObject<{
678
+ requestId: z.ZodString;
679
+ widget: z.ZodObject<{
680
+ url: z.ZodString;
681
+ }, "strip", z.ZodTypeAny, {
682
+ url: string;
683
+ }, {
684
+ url: string;
685
+ }>;
686
+ }, "strip", z.ZodTypeAny, {
687
+ requestId: string;
688
+ widget: {
689
+ url: string;
690
+ };
691
+ }, {
692
+ requestId: string;
693
+ widget: {
694
+ url: string;
695
+ };
696
+ }>;
697
+ 400: z.ZodObject<{
698
+ message: z.ZodString;
699
+ }, "strip", z.ZodTypeAny, {
700
+ message: string;
701
+ }, {
702
+ message: string;
703
+ }>;
704
+ 401: z.ZodObject<{
705
+ message: z.ZodString;
706
+ error: z.ZodAny;
707
+ }, "strip", z.ZodTypeAny, {
708
+ message: string;
709
+ error?: any;
710
+ }, {
711
+ message: string;
712
+ error?: any;
713
+ }>;
714
+ };
715
+ path: "widget/url_token/generate";
716
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
717
+ 'x-tenant': z.ZodString;
718
+ authorization: z.ZodString;
719
+ 'x-code': z.ZodOptional<z.ZodString>;
720
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
721
+ }, "strip", z.ZodTypeAny, {
722
+ 'x-tenant': string;
723
+ authorization: string;
724
+ 'x-client-timezone': string;
725
+ 'x-code'?: string | undefined;
726
+ }, {
727
+ 'x-tenant': string;
728
+ authorization: string;
729
+ 'x-code'?: string | undefined;
730
+ 'x-client-timezone'?: string | undefined;
731
+ }>>>;
732
+ };
662
733
  updateWidget: {
663
734
  body: z.ZodObject<{
664
735
  name: z.ZodString;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgK1B,CAAC"}
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,EACL,kBAAkB,EAClB,2BAA2B,EAC3B,kBAAkB,EACnB,MAAM,cAAc,CAAC;AAGtB,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,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAC5C,OAAO,2BAA2B,CACnC,CAAC;AACF,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAElD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0J1B,CAAC"}
@@ -57,4 +57,14 @@ export declare const UpdateWidgetSchema: z.ZodObject<{
57
57
  data: string[];
58
58
  } | undefined;
59
59
  }>;
60
+ export declare const GetWidgetUrlPathQuerySchema: z.ZodObject<{
61
+ widgetId: z.ZodString;
62
+ positionId: z.ZodString;
63
+ }, "strip", z.ZodTypeAny, {
64
+ widgetId: string;
65
+ positionId: string;
66
+ }, {
67
+ widgetId: string;
68
+ positionId: string;
69
+ }>;
60
70
  //# sourceMappingURL=validation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/widget/validation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAa7B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAqB,CAAC"}
1
+ {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/widget/validation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAa7B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAqB,CAAC;AAErD,eAAO,MAAM,2BAA2B;;;;;;;;;EAKtC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kl1/contracts",
3
- "version": "1.0.27",
3
+ "version": "1.0.28",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/src/index.d.ts",