@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.
- package/dist/api-contracts/src/activity-log/index.d.ts +3 -3
- package/dist/api-contracts/src/attribute/index.d.ts +21 -21
- package/dist/api-contracts/src/auth/index.d.ts +67 -307
- package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/index.d.ts +21 -21
- package/dist/api-contracts/src/base-contract.d.ts +3 -3
- package/dist/api-contracts/src/category/index.d.ts +18 -18
- package/dist/api-contracts/src/channel/index.d.ts +66 -66
- package/dist/api-contracts/src/chat/index.d.ts +60 -60
- package/dist/api-contracts/src/comment/index.d.ts +16 -16
- package/dist/api-contracts/src/company/index.d.ts +5 -5
- package/dist/api-contracts/src/contact/index.d.ts +56 -56
- package/dist/api-contracts/src/contract.d.ts +783 -1022
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-intelligence/index.d.ts +9 -9
- package/dist/api-contracts/src/cx-log/index.d.ts +9 -9
- package/dist/api-contracts/src/dashboard/index.d.ts +54 -54
- package/dist/api-contracts/src/extension/index.d.ts +21 -21
- package/dist/api-contracts/src/mail/account-contract.d.ts +33 -33
- package/dist/api-contracts/src/mail/mail-contract.d.ts +33 -33
- package/dist/api-contracts/src/permission/index.d.ts +3 -3
- package/dist/api-contracts/src/presence-status/index.d.ts +15 -15
- package/dist/api-contracts/src/role/index.d.ts +15 -15
- package/dist/api-contracts/src/tag/index.d.ts +12 -12
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +9 -9
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +42 -42
- package/dist/api-contracts/src/telephony-extension/index.d.ts +3 -3
- package/dist/api-contracts/src/ticket/index.d.ts +76 -76
- package/dist/api-contracts/src/upload/index.d.ts +6 -6
- package/dist/api-contracts/src/user/index.d.ts +18 -18
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +6 -6
- package/dist/api-contracts/src/widget/index.d.ts +27 -27
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +18 -18
- package/dist/index.js +2488 -2549
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2488 -2549
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -387,17 +387,17 @@ export declare const activityLogContract: {
|
|
387
387
|
path: "activity-log";
|
388
388
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
389
389
|
'x-tenant': z.ZodString;
|
390
|
-
|
390
|
+
'x-service-token': z.ZodString;
|
391
391
|
'x-code': z.ZodOptional<z.ZodString>;
|
392
392
|
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
393
393
|
}, "strip", z.ZodTypeAny, {
|
394
394
|
'x-tenant': string;
|
395
|
-
|
395
|
+
'x-service-token': string;
|
396
396
|
'x-client-timezone': string;
|
397
397
|
'x-code'?: string | undefined;
|
398
398
|
}, {
|
399
399
|
'x-tenant': string;
|
400
|
-
|
400
|
+
'x-service-token': string;
|
401
401
|
'x-code'?: string | undefined;
|
402
402
|
'x-client-timezone'?: string | undefined;
|
403
403
|
}>>>;
|
@@ -248,17 +248,17 @@ export declare const attributeContract: {
|
|
248
248
|
path: "attributes";
|
249
249
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
250
250
|
'x-tenant': z.ZodString;
|
251
|
-
|
251
|
+
'x-service-token': z.ZodString;
|
252
252
|
'x-code': z.ZodOptional<z.ZodString>;
|
253
253
|
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
254
254
|
}, "strip", z.ZodTypeAny, {
|
255
255
|
'x-tenant': string;
|
256
|
-
|
256
|
+
'x-service-token': string;
|
257
257
|
'x-client-timezone': string;
|
258
258
|
'x-code'?: string | undefined;
|
259
259
|
}, {
|
260
260
|
'x-tenant': string;
|
261
|
-
|
261
|
+
'x-service-token': string;
|
262
262
|
'x-code'?: string | undefined;
|
263
263
|
'x-client-timezone'?: string | undefined;
|
264
264
|
}>>>;
|
@@ -466,17 +466,17 @@ export declare const attributeContract: {
|
|
466
466
|
path: "attributes";
|
467
467
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
468
468
|
'x-tenant': z.ZodString;
|
469
|
-
|
469
|
+
'x-service-token': z.ZodString;
|
470
470
|
'x-code': z.ZodOptional<z.ZodString>;
|
471
471
|
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
472
472
|
}, "strip", z.ZodTypeAny, {
|
473
473
|
'x-tenant': string;
|
474
|
-
|
474
|
+
'x-service-token': string;
|
475
475
|
'x-client-timezone': string;
|
476
476
|
'x-code'?: string | undefined;
|
477
477
|
}, {
|
478
478
|
'x-tenant': string;
|
479
|
-
|
479
|
+
'x-service-token': string;
|
480
480
|
'x-code'?: string | undefined;
|
481
481
|
'x-client-timezone'?: string | undefined;
|
482
482
|
}>>>;
|
@@ -728,17 +728,17 @@ export declare const attributeContract: {
|
|
728
728
|
path: "attributes/:id";
|
729
729
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
730
730
|
'x-tenant': z.ZodString;
|
731
|
-
|
731
|
+
'x-service-token': z.ZodString;
|
732
732
|
'x-code': z.ZodOptional<z.ZodString>;
|
733
733
|
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
734
734
|
}, "strip", z.ZodTypeAny, {
|
735
735
|
'x-tenant': string;
|
736
|
-
|
736
|
+
'x-service-token': string;
|
737
737
|
'x-client-timezone': string;
|
738
738
|
'x-code'?: string | undefined;
|
739
739
|
}, {
|
740
740
|
'x-tenant': string;
|
741
|
-
|
741
|
+
'x-service-token': string;
|
742
742
|
'x-code'?: string | undefined;
|
743
743
|
'x-client-timezone'?: string | undefined;
|
744
744
|
}>>>;
|
@@ -784,17 +784,17 @@ export declare const attributeContract: {
|
|
784
784
|
path: "attributes/visibility/:id";
|
785
785
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
786
786
|
'x-tenant': z.ZodString;
|
787
|
-
|
787
|
+
'x-service-token': z.ZodString;
|
788
788
|
'x-code': z.ZodOptional<z.ZodString>;
|
789
789
|
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
790
790
|
}, "strip", z.ZodTypeAny, {
|
791
791
|
'x-tenant': string;
|
792
|
-
|
792
|
+
'x-service-token': string;
|
793
793
|
'x-client-timezone': string;
|
794
794
|
'x-code'?: string | undefined;
|
795
795
|
}, {
|
796
796
|
'x-tenant': string;
|
797
|
-
|
797
|
+
'x-service-token': string;
|
798
798
|
'x-code'?: string | undefined;
|
799
799
|
'x-client-timezone'?: string | undefined;
|
800
800
|
}>>>;
|
@@ -840,17 +840,17 @@ export declare const attributeContract: {
|
|
840
840
|
path: "attributes/required/:id";
|
841
841
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
842
842
|
'x-tenant': z.ZodString;
|
843
|
-
|
843
|
+
'x-service-token': z.ZodString;
|
844
844
|
'x-code': z.ZodOptional<z.ZodString>;
|
845
845
|
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
846
846
|
}, "strip", z.ZodTypeAny, {
|
847
847
|
'x-tenant': string;
|
848
|
-
|
848
|
+
'x-service-token': string;
|
849
849
|
'x-client-timezone': string;
|
850
850
|
'x-code'?: string | undefined;
|
851
851
|
}, {
|
852
852
|
'x-tenant': string;
|
853
|
-
|
853
|
+
'x-service-token': string;
|
854
854
|
'x-code'?: string | undefined;
|
855
855
|
'x-client-timezone'?: string | undefined;
|
856
856
|
}>>>;
|
@@ -904,17 +904,17 @@ export declare const attributeContract: {
|
|
904
904
|
path: "attributes/position";
|
905
905
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
906
906
|
'x-tenant': z.ZodString;
|
907
|
-
|
907
|
+
'x-service-token': z.ZodString;
|
908
908
|
'x-code': z.ZodOptional<z.ZodString>;
|
909
909
|
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
910
910
|
}, "strip", z.ZodTypeAny, {
|
911
911
|
'x-tenant': string;
|
912
|
-
|
912
|
+
'x-service-token': string;
|
913
913
|
'x-client-timezone': string;
|
914
914
|
'x-code'?: string | undefined;
|
915
915
|
}, {
|
916
916
|
'x-tenant': string;
|
917
|
-
|
917
|
+
'x-service-token': string;
|
918
918
|
'x-code'?: string | undefined;
|
919
919
|
'x-client-timezone'?: string | undefined;
|
920
920
|
}>>>;
|
@@ -954,17 +954,17 @@ export declare const attributeContract: {
|
|
954
954
|
path: "attributes/:id";
|
955
955
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
956
956
|
'x-tenant': z.ZodString;
|
957
|
-
|
957
|
+
'x-service-token': z.ZodString;
|
958
958
|
'x-code': z.ZodOptional<z.ZodString>;
|
959
959
|
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
960
960
|
}, "strip", z.ZodTypeAny, {
|
961
961
|
'x-tenant': string;
|
962
|
-
|
962
|
+
'x-service-token': string;
|
963
963
|
'x-client-timezone': string;
|
964
964
|
'x-code'?: string | undefined;
|
965
965
|
}, {
|
966
966
|
'x-tenant': string;
|
967
|
-
|
967
|
+
'x-service-token': string;
|
968
968
|
'x-code'?: string | undefined;
|
969
969
|
'x-client-timezone'?: string | undefined;
|
970
970
|
}>>>;
|
@@ -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
|
-
authorization: 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
|
-
authorization: string;
|
61
|
-
'x-client-timezone': string;
|
62
|
-
'x-code'?: string | undefined;
|
63
|
-
}, {
|
64
|
-
'x-tenant': string;
|
65
|
-
authorization: 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
|
-
authorization: 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
|
-
authorization: string;
|
128
|
-
'x-client-timezone': string;
|
129
|
-
'x-code'?: string | undefined;
|
130
|
-
}, {
|
131
|
-
'x-tenant': string;
|
132
|
-
authorization: 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
|
-
authorization: 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
|
-
authorization: string;
|
192
|
-
'x-client-timezone': string;
|
193
|
-
'x-code'?: string | undefined;
|
194
|
-
}, {
|
195
|
-
'x-tenant': string;
|
196
|
-
authorization: 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:
|
206
|
-
requestId:
|
207
|
-
user:
|
208
|
-
id:
|
209
|
-
createdAt:
|
210
|
-
updatedAt:
|
211
|
-
deletedAt:
|
212
|
-
name:
|
213
|
-
email:
|
214
|
-
emailVerifiedAt:
|
215
|
-
password:
|
216
|
-
address:
|
217
|
-
phone:
|
218
|
-
notificationCount:
|
219
|
-
roles:
|
220
|
-
id:
|
221
|
-
createdAt:
|
222
|
-
updatedAt:
|
223
|
-
deletedAt:
|
224
|
-
systemName:
|
225
|
-
displayName:
|
226
|
-
description:
|
227
|
-
permissions:
|
228
|
-
id:
|
229
|
-
createdAt:
|
230
|
-
updatedAt:
|
231
|
-
deletedAt:
|
232
|
-
systemName:
|
233
|
-
displayName:
|
234
|
-
description:
|
235
|
-
}, "strip",
|
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",
|
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:
|
288
|
-
id:
|
289
|
-
createdAt:
|
290
|
-
updatedAt:
|
291
|
-
deletedAt:
|
292
|
-
userId:
|
293
|
-
sipServerUrl:
|
294
|
-
sipUserName:
|
295
|
-
webphoneLoginUser:
|
296
|
-
extensionId:
|
297
|
-
extensionName:
|
298
|
-
telephonySignature:
|
299
|
-
}, "strip",
|
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,7 +122,7 @@ export declare const authContract: {
|
|
321
122
|
extensionName: string;
|
322
123
|
telephonySignature: string | null;
|
323
124
|
}>;
|
324
|
-
}, "strip",
|
125
|
+
}, "strip", import("zod").ZodTypeAny, {
|
325
126
|
id: string;
|
326
127
|
address: string | null;
|
327
128
|
name: string;
|
@@ -408,7 +209,7 @@ export declare const authContract: {
|
|
408
209
|
telephonySignature: string | null;
|
409
210
|
};
|
410
211
|
}>;
|
411
|
-
}, "strip",
|
212
|
+
}, "strip", import("zod").ZodTypeAny, {
|
412
213
|
user: {
|
413
214
|
id: string;
|
414
215
|
address: string | null;
|
@@ -501,30 +302,30 @@ export declare const authContract: {
|
|
501
302
|
};
|
502
303
|
requestId: string;
|
503
304
|
}>;
|
504
|
-
401:
|
505
|
-
message:
|
506
|
-
error:
|
507
|
-
}, "strip",
|
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:
|
515
|
-
message:
|
516
|
-
error:
|
517
|
-
}, "strip",
|
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:
|
525
|
-
message:
|
526
|
-
error:
|
527
|
-
}, "strip",
|
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,60 +334,19 @@ export declare const authContract: {
|
|
533
334
|
}>;
|
534
335
|
};
|
535
336
|
path: "auth/me";
|
536
|
-
headers:
|
537
|
-
'x-tenant':
|
538
|
-
|
539
|
-
'x-code':
|
540
|
-
'x-client-timezone':
|
541
|
-
}, "strip",
|
542
|
-
'x-tenant': string;
|
543
|
-
authorization: string;
|
544
|
-
'x-client-timezone': string;
|
545
|
-
'x-code'?: string | undefined;
|
546
|
-
}, {
|
547
|
-
'x-tenant': string;
|
548
|
-
authorization: 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
|
-
authorization: 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;
|
586
346
|
'x-code'?: string | undefined;
|
587
347
|
}, {
|
588
348
|
'x-tenant': string;
|
589
|
-
|
349
|
+
'x-service-token': string;
|
590
350
|
'x-code'?: string | undefined;
|
591
351
|
'x-client-timezone'?: string | undefined;
|
592
352
|
}>>>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/auth/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/auth/index.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBxB,CAAC"}
|