@kl1/contracts 1.2.51-uat → 1.2.53-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.
Files changed (110) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +4 -4
  2. package/dist/api-contracts/src/activity-log/schema.d.ts +4 -4
  3. package/dist/api-contracts/src/attribute/index.d.ts +4 -4
  4. package/dist/api-contracts/src/attribute/validation.d.ts +4 -4
  5. package/dist/api-contracts/src/auth/index.d.ts +69 -309
  6. package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
  7. package/dist/api-contracts/src/automation-queue/index.d.ts +80 -80
  8. package/dist/api-contracts/src/automation-queue/schema.d.ts +10 -10
  9. package/dist/api-contracts/src/botpress/index.d.ts +28 -28
  10. package/dist/api-contracts/src/botpress/schema.d.ts +6 -6
  11. package/dist/api-contracts/src/botpress/validation.d.ts +8 -8
  12. package/dist/api-contracts/src/business-calendar/index.d.ts +32 -32
  13. package/dist/api-contracts/src/business-calendar/schema.d.ts +8 -8
  14. package/dist/api-contracts/src/business-calendar/validation.d.ts +2 -2
  15. package/dist/api-contracts/src/category/index.d.ts +12 -12
  16. package/dist/api-contracts/src/category/schema.d.ts +2 -2
  17. package/dist/api-contracts/src/channel/index.d.ts +467 -467
  18. package/dist/api-contracts/src/channel/schema.d.ts +16 -16
  19. package/dist/api-contracts/src/channel/validation.d.ts +20 -20
  20. package/dist/api-contracts/src/chat/index.d.ts +3703 -3703
  21. package/dist/api-contracts/src/chat/schema.d.ts +1128 -1128
  22. package/dist/api-contracts/src/chat/validation.d.ts +745 -745
  23. package/dist/api-contracts/src/comment/index.d.ts +244 -244
  24. package/dist/api-contracts/src/comment/schema.d.ts +68 -68
  25. package/dist/api-contracts/src/company/index.d.ts +4 -4
  26. package/dist/api-contracts/src/company/validation.d.ts +4 -4
  27. package/dist/api-contracts/src/contact/index.d.ts +246 -246
  28. package/dist/api-contracts/src/contact/schema.d.ts +26 -26
  29. package/dist/api-contracts/src/contact/validation.d.ts +134 -134
  30. package/dist/api-contracts/src/contract.d.ts +8578 -8817
  31. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  32. package/dist/api-contracts/src/cx-log/index.d.ts +248 -248
  33. package/dist/api-contracts/src/cx-log/schema.d.ts +204 -204
  34. package/dist/api-contracts/src/cx-log/validation.d.ts +2 -2
  35. package/dist/api-contracts/src/dashboard/index.d.ts +40 -40
  36. package/dist/api-contracts/src/dashboard/schema.d.ts +34 -34
  37. package/dist/api-contracts/src/extension/index.d.ts +4 -4
  38. package/dist/api-contracts/src/facebook-feed/index.d.ts +708 -708
  39. package/dist/api-contracts/src/facebook-feed/schema.d.ts +64 -64
  40. package/dist/api-contracts/src/facebook-feed/validation.d.ts +66 -66
  41. package/dist/api-contracts/src/hold-label/index.d.ts +34 -34
  42. package/dist/api-contracts/src/hold-label/schema.d.ts +10 -10
  43. package/dist/api-contracts/src/instagram/index.d.ts +596 -596
  44. package/dist/api-contracts/src/instagram/validation.d.ts +10 -10
  45. package/dist/api-contracts/src/line/index.d.ts +608 -608
  46. package/dist/api-contracts/src/line/schema.d.ts +4 -4
  47. package/dist/api-contracts/src/line/validation.d.ts +50 -50
  48. package/dist/api-contracts/src/mail/account-contract.d.ts +83 -83
  49. package/dist/api-contracts/src/mail/mail-contract.d.ts +2630 -2630
  50. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +32 -32
  51. package/dist/api-contracts/src/mail/message-contract.d.ts +278 -278
  52. package/dist/api-contracts/src/mail/room-contract.d.ts +1483 -1483
  53. package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts +50 -50
  54. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +10 -10
  55. package/dist/api-contracts/src/mail/schemas/message.schema.d.ts +56 -56
  56. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +478 -478
  57. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +466 -466
  58. package/dist/api-contracts/src/messenger/index.d.ts +599 -599
  59. package/dist/api-contracts/src/messenger/schema.d.ts +16 -16
  60. package/dist/api-contracts/src/messenger/validation.d.ts +62 -62
  61. package/dist/api-contracts/src/notification/index.d.ts +26 -26
  62. package/dist/api-contracts/src/notification/schema.d.ts +18 -18
  63. package/dist/api-contracts/src/notification/validation.d.ts +10 -10
  64. package/dist/api-contracts/src/public-api/index.d.ts +84 -84
  65. package/dist/api-contracts/src/public-api/schema.d.ts +10 -10
  66. package/dist/api-contracts/src/public-api/validation.d.ts +20 -20
  67. package/dist/api-contracts/src/sms/index.d.ts +164 -164
  68. package/dist/api-contracts/src/sms/schema.d.ts +8 -8
  69. package/dist/api-contracts/src/sms/validation.d.ts +2 -2
  70. package/dist/api-contracts/src/snippet/index.d.ts +42 -42
  71. package/dist/api-contracts/src/snippet/schema.d.ts +10 -10
  72. package/dist/api-contracts/src/subscription/index.d.ts +190 -190
  73. package/dist/api-contracts/src/subscription/schema.d.ts +218 -218
  74. package/dist/api-contracts/src/subscription/validation.d.ts +2 -2
  75. package/dist/api-contracts/src/tag/index.d.ts +12 -12
  76. package/dist/api-contracts/src/tag/schema.d.ts +2 -2
  77. package/dist/api-contracts/src/telegram/index.d.ts +556 -556
  78. package/dist/api-contracts/src/telegram/validation.d.ts +4 -4
  79. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +14 -14
  80. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +4 -4
  81. package/dist/api-contracts/src/telephony-cdr/index.d.ts +186 -186
  82. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +58 -58
  83. package/dist/api-contracts/src/tenant/schema.d.ts +2 -2
  84. package/dist/api-contracts/src/ticket/index.d.ts +328 -328
  85. package/dist/api-contracts/src/ticket/schema.d.ts +42 -42
  86. package/dist/api-contracts/src/user/index.d.ts +23 -23
  87. package/dist/api-contracts/src/user/schema.d.ts +2 -2
  88. package/dist/api-contracts/src/user/validation.d.ts +5 -5
  89. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +4 -4
  90. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +4 -4
  91. package/dist/api-contracts/src/viber/index.d.ts +568 -568
  92. package/dist/api-contracts/src/viber/validation.d.ts +4 -4
  93. package/dist/api-contracts/src/webchat/index.d.ts +562 -562
  94. package/dist/api-contracts/src/webchat/schema.d.ts +10 -10
  95. package/dist/api-contracts/src/webchat/validation.d.ts +2 -2
  96. package/dist/api-contracts/src/whatsapp/index.d.ts +562 -562
  97. package/dist/api-contracts/src/widget/index.d.ts +24 -24
  98. package/dist/api-contracts/src/widget/schema.d.ts +2 -2
  99. package/dist/api-contracts/src/widget/validation.d.ts +4 -4
  100. package/dist/api-contracts/src/workflow-rule/index.d.ts +424 -424
  101. package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -2
  102. package/dist/api-contracts/src/wrap-up-form/index.d.ts +26 -26
  103. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +4 -4
  104. package/dist/api-contracts/utils.d.ts +1 -1
  105. package/dist/api-contracts/utils.d.ts.map +1 -1
  106. package/dist/index.js +2487 -2548
  107. package/dist/index.js.map +1 -1
  108. package/dist/index.mjs +2487 -2548
  109. package/dist/index.mjs.map +1 -1
  110. package/package.json +1 -1
@@ -127,9 +127,9 @@ export declare const activityLogContract: {
127
127
  telephonySignature: string | null;
128
128
  }>;
129
129
  }, "strip", z.ZodTypeAny, {
130
+ name: string;
130
131
  id: string;
131
132
  address: string | null;
132
- name: string;
133
133
  email: string;
134
134
  createdAt: Date;
135
135
  updatedAt: Date;
@@ -170,9 +170,9 @@ export declare const activityLogContract: {
170
170
  telephonySignature: string | null;
171
171
  };
172
172
  }, {
173
+ name: string;
173
174
  id: string;
174
175
  address: string | null;
175
- name: string;
176
176
  email: string;
177
177
  createdAt: Date;
178
178
  updatedAt: Date;
@@ -244,9 +244,9 @@ export declare const activityLogContract: {
244
244
  updatedAt: Date;
245
245
  deletedAt: Date | null;
246
246
  actor: {
247
+ name: string;
247
248
  id: string;
248
249
  address: string | null;
249
- name: string;
250
250
  email: string;
251
251
  createdAt: Date;
252
252
  updatedAt: Date;
@@ -303,9 +303,9 @@ export declare const activityLogContract: {
303
303
  updatedAt: Date;
304
304
  deletedAt: Date | null;
305
305
  actor: {
306
+ name: string;
306
307
  id: string;
307
308
  address: string | null;
308
- name: string;
309
309
  email: string;
310
310
  createdAt: Date;
311
311
  updatedAt: Date;
@@ -144,9 +144,9 @@ export declare const ActivityLogSchema: z.ZodObject<{
144
144
  telephonySignature: string | null;
145
145
  }>;
146
146
  }, "strip", z.ZodTypeAny, {
147
+ name: string;
147
148
  id: string;
148
149
  address: string | null;
149
- name: string;
150
150
  email: string;
151
151
  createdAt: Date;
152
152
  updatedAt: Date;
@@ -187,9 +187,9 @@ export declare const ActivityLogSchema: z.ZodObject<{
187
187
  telephonySignature: string | null;
188
188
  };
189
189
  }, {
190
+ name: string;
190
191
  id: string;
191
192
  address: string | null;
192
- name: string;
193
193
  email: string;
194
194
  createdAt: Date;
195
195
  updatedAt: Date;
@@ -261,9 +261,9 @@ export declare const ActivityLogSchema: z.ZodObject<{
261
261
  updatedAt: Date;
262
262
  deletedAt: Date | null;
263
263
  actor: {
264
+ name: string;
264
265
  id: string;
265
266
  address: string | null;
266
- name: string;
267
267
  email: string;
268
268
  createdAt: Date;
269
269
  updatedAt: Date;
@@ -320,9 +320,9 @@ export declare const ActivityLogSchema: z.ZodObject<{
320
320
  updatedAt: Date;
321
321
  deletedAt: Date | null;
322
322
  actor: {
323
+ name: string;
323
324
  id: string;
324
325
  address: string | null;
325
- name: string;
326
326
  email: string;
327
327
  createdAt: Date;
328
328
  updatedAt: Date;
@@ -32,8 +32,8 @@ export declare const attributeContract: {
32
32
  isDefault: boolean;
33
33
  }>, "many">;
34
34
  }, "strip", z.ZodTypeAny, {
35
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
36
35
  name: string;
36
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
37
37
  options: {
38
38
  position: number;
39
39
  value: string;
@@ -44,8 +44,8 @@ export declare const attributeContract: {
44
44
  isRequired: boolean;
45
45
  isVisible: boolean;
46
46
  }, {
47
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
48
47
  name: string;
48
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
49
49
  options: {
50
50
  position: number;
51
51
  value: string;
@@ -505,8 +505,8 @@ export declare const attributeContract: {
505
505
  isDefault: boolean;
506
506
  }>, "many">;
507
507
  }, "strip", z.ZodTypeAny, {
508
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
509
508
  name: string;
509
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
510
510
  options: {
511
511
  position: number;
512
512
  value: string;
@@ -517,8 +517,8 @@ export declare const attributeContract: {
517
517
  isRequired: boolean;
518
518
  isVisible: boolean;
519
519
  }, {
520
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
521
520
  name: string;
521
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
522
522
  options: {
523
523
  position: number;
524
524
  value: string;
@@ -22,8 +22,8 @@ export declare const CreateAttributeSchema: z.ZodObject<{
22
22
  isDefault: boolean;
23
23
  }>, "many">;
24
24
  }, "strip", z.ZodTypeAny, {
25
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
26
25
  name: string;
26
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
27
27
  options: {
28
28
  position: number;
29
29
  value: string;
@@ -34,8 +34,8 @@ export declare const CreateAttributeSchema: z.ZodObject<{
34
34
  isRequired: boolean;
35
35
  isVisible: boolean;
36
36
  }, {
37
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
38
37
  name: string;
38
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
39
39
  options: {
40
40
  position: number;
41
41
  value: string;
@@ -79,8 +79,8 @@ export declare const UpdateAttributeSchema: z.ZodObject<{
79
79
  isDefault: boolean;
80
80
  }>, "many">;
81
81
  }, "strip", z.ZodTypeAny, {
82
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
83
82
  name: string;
83
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
84
84
  options: {
85
85
  position: number;
86
86
  value: string;
@@ -91,8 +91,8 @@ export declare const UpdateAttributeSchema: z.ZodObject<{
91
91
  isRequired: boolean;
92
92
  isVisible: boolean;
93
93
  }, {
94
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
95
94
  name: string;
95
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
96
96
  options: {
97
97
  position: number;
98
98
  value: string;
@@ -1,238 +1,39 @@
1
- import { z } from 'zod';
2
1
  export declare const authContract: {
3
- refreshToken: {
4
- body: null;
5
- summary: "Refresh token";
6
- method: "POST";
7
- responses: {
8
- 200: z.ZodObject<{
9
- requestId: z.ZodString;
10
- accessToken: z.ZodString;
11
- refreshToken: z.ZodString;
12
- }, "strip", z.ZodTypeAny, {
13
- requestId: string;
14
- refreshToken: string;
15
- accessToken: string;
16
- }, {
17
- requestId: string;
18
- refreshToken: string;
19
- accessToken: string;
20
- }>;
21
- 401: z.ZodObject<{
22
- message: z.ZodString;
23
- error: z.ZodAny;
24
- }, "strip", z.ZodTypeAny, {
25
- message: string;
26
- error?: any;
27
- }, {
28
- message: string;
29
- error?: any;
30
- }>;
31
- 404: z.ZodObject<{
32
- message: z.ZodString;
33
- error: z.ZodAny;
34
- }, "strip", z.ZodTypeAny, {
35
- message: string;
36
- error?: any;
37
- }, {
38
- message: string;
39
- error?: any;
40
- }>;
41
- 422: z.ZodObject<{
42
- message: z.ZodString;
43
- error: z.ZodAny;
44
- }, "strip", z.ZodTypeAny, {
45
- message: string;
46
- error?: any;
47
- }, {
48
- message: string;
49
- error?: any;
50
- }>;
51
- };
52
- path: "auth/refresh-token";
53
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
54
- 'x-tenant': z.ZodString;
55
- 'x-service-token': z.ZodString;
56
- 'x-code': z.ZodOptional<z.ZodString>;
57
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
58
- }, "strip", z.ZodTypeAny, {
59
- 'x-tenant': string;
60
- 'x-service-token': string;
61
- 'x-client-timezone': string;
62
- 'x-code'?: string | undefined;
63
- }, {
64
- 'x-tenant': string;
65
- 'x-service-token': string;
66
- 'x-code'?: string | undefined;
67
- 'x-client-timezone'?: string | undefined;
68
- }>>>;
69
- };
70
- exchangeToken: {
71
- body: null;
72
- summary: "Exchange jwt token";
73
- method: "POST";
74
- responses: {
75
- 200: z.ZodObject<{
76
- requestId: z.ZodString;
77
- accessToken: z.ZodString;
78
- refreshToken: z.ZodString;
79
- }, "strip", z.ZodTypeAny, {
80
- requestId: string;
81
- refreshToken: string;
82
- accessToken: string;
83
- }, {
84
- requestId: string;
85
- refreshToken: string;
86
- accessToken: string;
87
- }>;
88
- 401: z.ZodObject<{
89
- message: z.ZodString;
90
- error: z.ZodAny;
91
- }, "strip", z.ZodTypeAny, {
92
- message: string;
93
- error?: any;
94
- }, {
95
- message: string;
96
- error?: any;
97
- }>;
98
- 404: z.ZodObject<{
99
- message: z.ZodString;
100
- error: z.ZodAny;
101
- }, "strip", z.ZodTypeAny, {
102
- message: string;
103
- error?: any;
104
- }, {
105
- message: string;
106
- error?: any;
107
- }>;
108
- 422: z.ZodObject<{
109
- message: z.ZodString;
110
- error: z.ZodAny;
111
- }, "strip", z.ZodTypeAny, {
112
- message: string;
113
- error?: any;
114
- }, {
115
- message: string;
116
- error?: any;
117
- }>;
118
- };
119
- path: "auth/exchange-token";
120
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
121
- 'x-tenant': z.ZodString;
122
- 'x-service-token': z.ZodString;
123
- 'x-code': z.ZodOptional<z.ZodString>;
124
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
125
- }, "strip", z.ZodTypeAny, {
126
- 'x-tenant': string;
127
- 'x-service-token': string;
128
- 'x-client-timezone': string;
129
- 'x-code'?: string | undefined;
130
- }, {
131
- 'x-tenant': string;
132
- 'x-service-token': string;
133
- 'x-code'?: string | undefined;
134
- 'x-client-timezone'?: string | undefined;
135
- }>>>;
136
- };
137
- logout: {
138
- body: null;
139
- summary: "Logout";
140
- method: "POST";
141
- responses: {
142
- 200: z.ZodObject<{
143
- requestId: z.ZodString;
144
- message: z.ZodString;
145
- }, "strip", z.ZodTypeAny, {
146
- message: string;
147
- requestId: string;
148
- }, {
149
- message: string;
150
- requestId: string;
151
- }>;
152
- 401: z.ZodObject<{
153
- message: z.ZodString;
154
- error: z.ZodAny;
155
- }, "strip", z.ZodTypeAny, {
156
- message: string;
157
- error?: any;
158
- }, {
159
- message: string;
160
- error?: any;
161
- }>;
162
- 404: z.ZodObject<{
163
- message: z.ZodString;
164
- error: z.ZodAny;
165
- }, "strip", z.ZodTypeAny, {
166
- message: string;
167
- error?: any;
168
- }, {
169
- message: string;
170
- error?: any;
171
- }>;
172
- 422: z.ZodObject<{
173
- message: z.ZodString;
174
- error: z.ZodAny;
175
- }, "strip", z.ZodTypeAny, {
176
- message: string;
177
- error?: any;
178
- }, {
179
- message: string;
180
- error?: any;
181
- }>;
182
- };
183
- path: "auth/logout";
184
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
185
- 'x-tenant': z.ZodString;
186
- 'x-service-token': z.ZodString;
187
- 'x-code': z.ZodOptional<z.ZodString>;
188
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
189
- }, "strip", z.ZodTypeAny, {
190
- 'x-tenant': string;
191
- 'x-service-token': string;
192
- 'x-client-timezone': string;
193
- 'x-code'?: string | undefined;
194
- }, {
195
- 'x-tenant': string;
196
- 'x-service-token': string;
197
- 'x-code'?: string | undefined;
198
- 'x-client-timezone'?: string | undefined;
199
- }>>>;
200
- };
201
2
  me: {
202
3
  summary: "Get current user";
203
4
  method: "GET";
204
5
  responses: {
205
- 200: z.ZodObject<{
206
- requestId: z.ZodString;
207
- user: z.ZodObject<{
208
- id: z.ZodString;
209
- createdAt: z.ZodDate;
210
- updatedAt: z.ZodDate;
211
- deletedAt: z.ZodNullable<z.ZodDate>;
212
- name: z.ZodString;
213
- email: z.ZodString;
214
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
215
- password: z.ZodString;
216
- address: z.ZodNullable<z.ZodString>;
217
- phone: z.ZodNullable<z.ZodString>;
218
- notificationCount: z.ZodNullable<z.ZodNumber>;
219
- roles: z.ZodArray<z.ZodObject<{
220
- id: z.ZodString;
221
- createdAt: z.ZodDate;
222
- updatedAt: z.ZodDate;
223
- deletedAt: z.ZodNullable<z.ZodDate>;
224
- systemName: z.ZodString;
225
- displayName: z.ZodString;
226
- description: z.ZodNullable<z.ZodString>;
227
- permissions: z.ZodArray<z.ZodObject<{
228
- id: z.ZodString;
229
- createdAt: z.ZodDate;
230
- updatedAt: z.ZodDate;
231
- deletedAt: z.ZodNullable<z.ZodDate>;
232
- systemName: z.ZodString;
233
- displayName: z.ZodString;
234
- description: z.ZodNullable<z.ZodString>;
235
- }, "strip", z.ZodTypeAny, {
6
+ 200: import("zod").ZodObject<{
7
+ requestId: import("zod").ZodString;
8
+ user: import("zod").ZodObject<{
9
+ id: import("zod").ZodString;
10
+ createdAt: import("zod").ZodDate;
11
+ updatedAt: import("zod").ZodDate;
12
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
13
+ name: import("zod").ZodString;
14
+ email: import("zod").ZodString;
15
+ emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
16
+ password: import("zod").ZodString;
17
+ address: import("zod").ZodNullable<import("zod").ZodString>;
18
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
19
+ notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
20
+ roles: import("zod").ZodArray<import("zod").ZodObject<{
21
+ id: import("zod").ZodString;
22
+ createdAt: import("zod").ZodDate;
23
+ updatedAt: import("zod").ZodDate;
24
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
25
+ systemName: import("zod").ZodString;
26
+ displayName: import("zod").ZodString;
27
+ description: import("zod").ZodNullable<import("zod").ZodString>;
28
+ permissions: import("zod").ZodArray<import("zod").ZodObject<{
29
+ id: import("zod").ZodString;
30
+ createdAt: import("zod").ZodDate;
31
+ updatedAt: import("zod").ZodDate;
32
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
33
+ systemName: import("zod").ZodString;
34
+ displayName: import("zod").ZodString;
35
+ description: import("zod").ZodNullable<import("zod").ZodString>;
36
+ }, "strip", import("zod").ZodTypeAny, {
236
37
  id: string;
237
38
  description: string | null;
238
39
  createdAt: Date;
@@ -249,7 +50,7 @@ export declare const authContract: {
249
50
  systemName: string;
250
51
  displayName: string;
251
52
  }>, "many">;
252
- }, "strip", z.ZodTypeAny, {
53
+ }, "strip", import("zod").ZodTypeAny, {
253
54
  id: string;
254
55
  description: string | null;
255
56
  createdAt: Date;
@@ -284,19 +85,19 @@ export declare const authContract: {
284
85
  displayName: string;
285
86
  }[];
286
87
  }>, "many">;
287
- extension: z.ZodObject<{
288
- id: z.ZodString;
289
- createdAt: z.ZodDate;
290
- updatedAt: z.ZodDate;
291
- deletedAt: z.ZodNullable<z.ZodDate>;
292
- userId: z.ZodNullable<z.ZodString>;
293
- sipServerUrl: z.ZodString;
294
- sipUserName: z.ZodString;
295
- webphoneLoginUser: z.ZodString;
296
- extensionId: z.ZodNullable<z.ZodString>;
297
- extensionName: z.ZodString;
298
- telephonySignature: z.ZodNullable<z.ZodString>;
299
- }, "strip", z.ZodTypeAny, {
88
+ extension: import("zod").ZodObject<{
89
+ id: import("zod").ZodString;
90
+ createdAt: import("zod").ZodDate;
91
+ updatedAt: import("zod").ZodDate;
92
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
93
+ userId: import("zod").ZodNullable<import("zod").ZodString>;
94
+ sipServerUrl: import("zod").ZodString;
95
+ sipUserName: import("zod").ZodString;
96
+ webphoneLoginUser: import("zod").ZodString;
97
+ extensionId: import("zod").ZodNullable<import("zod").ZodString>;
98
+ extensionName: import("zod").ZodString;
99
+ telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
100
+ }, "strip", import("zod").ZodTypeAny, {
300
101
  id: string;
301
102
  createdAt: Date;
302
103
  updatedAt: Date;
@@ -321,10 +122,10 @@ export declare const authContract: {
321
122
  extensionName: string;
322
123
  telephonySignature: string | null;
323
124
  }>;
324
- }, "strip", z.ZodTypeAny, {
125
+ }, "strip", import("zod").ZodTypeAny, {
126
+ name: string;
325
127
  id: string;
326
128
  address: string | null;
327
- name: string;
328
129
  email: string;
329
130
  createdAt: Date;
330
131
  updatedAt: Date;
@@ -365,9 +166,9 @@ export declare const authContract: {
365
166
  telephonySignature: string | null;
366
167
  };
367
168
  }, {
169
+ name: string;
368
170
  id: string;
369
171
  address: string | null;
370
- name: string;
371
172
  email: string;
372
173
  createdAt: Date;
373
174
  updatedAt: Date;
@@ -408,11 +209,11 @@ export declare const authContract: {
408
209
  telephonySignature: string | null;
409
210
  };
410
211
  }>;
411
- }, "strip", z.ZodTypeAny, {
212
+ }, "strip", import("zod").ZodTypeAny, {
412
213
  user: {
214
+ name: string;
413
215
  id: string;
414
216
  address: string | null;
415
- name: string;
416
217
  email: string;
417
218
  createdAt: Date;
418
219
  updatedAt: Date;
@@ -456,9 +257,9 @@ export declare const authContract: {
456
257
  requestId: string;
457
258
  }, {
458
259
  user: {
260
+ name: string;
459
261
  id: string;
460
262
  address: string | null;
461
- name: string;
462
263
  email: string;
463
264
  createdAt: Date;
464
265
  updatedAt: Date;
@@ -501,30 +302,30 @@ export declare const authContract: {
501
302
  };
502
303
  requestId: string;
503
304
  }>;
504
- 401: z.ZodObject<{
505
- message: z.ZodString;
506
- error: z.ZodAny;
507
- }, "strip", z.ZodTypeAny, {
305
+ 401: import("zod").ZodObject<{
306
+ message: import("zod").ZodString;
307
+ error: import("zod").ZodAny;
308
+ }, "strip", import("zod").ZodTypeAny, {
508
309
  message: string;
509
310
  error?: any;
510
311
  }, {
511
312
  message: string;
512
313
  error?: any;
513
314
  }>;
514
- 404: z.ZodObject<{
515
- message: z.ZodString;
516
- error: z.ZodAny;
517
- }, "strip", z.ZodTypeAny, {
315
+ 404: import("zod").ZodObject<{
316
+ message: import("zod").ZodString;
317
+ error: import("zod").ZodAny;
318
+ }, "strip", import("zod").ZodTypeAny, {
518
319
  message: string;
519
320
  error?: any;
520
321
  }, {
521
322
  message: string;
522
323
  error?: any;
523
324
  }>;
524
- 422: z.ZodObject<{
525
- message: z.ZodString;
526
- error: z.ZodAny;
527
- }, "strip", z.ZodTypeAny, {
325
+ 422: import("zod").ZodObject<{
326
+ message: import("zod").ZodString;
327
+ error: import("zod").ZodAny;
328
+ }, "strip", import("zod").ZodTypeAny, {
528
329
  message: string;
529
330
  error?: any;
530
331
  }, {
@@ -533,53 +334,12 @@ export declare const authContract: {
533
334
  }>;
534
335
  };
535
336
  path: "auth/me";
536
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
537
- 'x-tenant': z.ZodString;
538
- 'x-service-token': z.ZodString;
539
- 'x-code': z.ZodOptional<z.ZodString>;
540
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
541
- }, "strip", z.ZodTypeAny, {
542
- 'x-tenant': string;
543
- 'x-service-token': string;
544
- 'x-client-timezone': string;
545
- 'x-code'?: string | undefined;
546
- }, {
547
- 'x-tenant': string;
548
- 'x-service-token': string;
549
- 'x-code'?: string | undefined;
550
- 'x-client-timezone'?: string | undefined;
551
- }>>>;
552
- };
553
- getAuthUserRole: {
554
- summary: "Get role by auth user which mean current login user roles";
555
- method: "GET";
556
- responses: {
557
- 200: z.ZodArray<z.ZodString, "many">;
558
- 400: z.ZodObject<{
559
- message: z.ZodString;
560
- }, "strip", z.ZodTypeAny, {
561
- message: string;
562
- }, {
563
- message: string;
564
- }>;
565
- 401: z.ZodObject<{
566
- message: z.ZodString;
567
- error: z.ZodAny;
568
- }, "strip", z.ZodTypeAny, {
569
- message: string;
570
- error?: any;
571
- }, {
572
- message: string;
573
- error?: any;
574
- }>;
575
- };
576
- path: "auth/user/role";
577
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
578
- 'x-tenant': z.ZodString;
579
- 'x-service-token': z.ZodString;
580
- 'x-code': z.ZodOptional<z.ZodString>;
581
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
582
- }, "strip", z.ZodTypeAny, {
337
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
338
+ 'x-tenant': import("zod").ZodString;
339
+ 'x-service-token': import("zod").ZodString;
340
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
341
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
342
+ }, "strip", import("zod").ZodTypeAny, {
583
343
  'x-tenant': string;
584
344
  'x-service-token': string;
585
345
  'x-client-timezone': string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/auth/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkFxB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/auth/index.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBxB,CAAC"}