@webitel/api-services 0.0.73 → 0.0.75
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.
- package/package.json +1 -1
- package/src/api/clients//321/201ontacts/contacts.ts +12 -12
- package/src/gen/_models/engineSystemSettingName.ts +1 -0
- package/src/gen/_models/searchSystemSettingNameItem.ts +1 -0
- package/src/gen/system-setting-service/system-setting-service.zod.gen.ts +8 -0
- package/types/api/clients/index.d.ts +1 -1
- package/types/gen/_models/engineSystemSettingName.d.ts +1 -0
- package/types/gen/_models/searchSystemSettingNameItem.d.ts +1 -0
- package/types/gen/system-setting-service/system-setting-service.zod.gen.d.ts +8 -0
package/package.json
CHANGED
|
@@ -112,20 +112,20 @@ const getList = async (params) => {
|
|
|
112
112
|
q: searchValue || '',
|
|
113
113
|
qin: searchKey || '',
|
|
114
114
|
};
|
|
115
|
+
}
|
|
115
116
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
if (params.hasUser != null) {
|
|
118
|
+
changedParams.user = params.hasUser;
|
|
119
|
+
}
|
|
119
120
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
}
|
|
121
|
+
if (params.contactGroup) {
|
|
122
|
+
changedParams.group = [...params.contactGroup.list];
|
|
123
|
+
}
|
|
124
|
+
if (params.contactLabel) {
|
|
125
|
+
changedParams.label = params.contactLabel.map((item) => item.label);
|
|
126
|
+
}
|
|
127
|
+
if (params.contactOwner) {
|
|
128
|
+
changedParams.owner = params.contactOwner;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
if (params.parentId) {
|
|
@@ -48,6 +48,7 @@ export const searchSystemSettingQueryParams = zod.object({
|
|
|
48
48
|
'password_categories',
|
|
49
49
|
'password_contains_username',
|
|
50
50
|
'password_warning_days',
|
|
51
|
+
'default_password',
|
|
51
52
|
]),
|
|
52
53
|
)
|
|
53
54
|
.optional()
|
|
@@ -97,6 +98,7 @@ export const searchSystemSettingResponse = zod.object({
|
|
|
97
98
|
'password_categories',
|
|
98
99
|
'password_contains_username',
|
|
99
100
|
'password_warning_days',
|
|
101
|
+
'default_password',
|
|
100
102
|
])
|
|
101
103
|
.default(searchSystemSettingResponseItemsItemNameDefault),
|
|
102
104
|
}),
|
|
@@ -143,6 +145,7 @@ export const createSystemSettingBody = zod.object({
|
|
|
143
145
|
'password_categories',
|
|
144
146
|
'password_contains_username',
|
|
145
147
|
'password_warning_days',
|
|
148
|
+
'default_password',
|
|
146
149
|
])
|
|
147
150
|
.default(createSystemSettingBodyNameDefault),
|
|
148
151
|
});
|
|
@@ -187,6 +190,7 @@ export const createSystemSettingResponse = zod.object({
|
|
|
187
190
|
'password_categories',
|
|
188
191
|
'password_contains_username',
|
|
189
192
|
'password_warning_days',
|
|
193
|
+
'default_password',
|
|
190
194
|
])
|
|
191
195
|
.default(createSystemSettingResponseNameDefault),
|
|
192
196
|
});
|
|
@@ -254,6 +258,7 @@ export const deleteSystemSettingResponse = zod.object({
|
|
|
254
258
|
'password_categories',
|
|
255
259
|
'password_contains_username',
|
|
256
260
|
'password_warning_days',
|
|
261
|
+
'default_password',
|
|
257
262
|
])
|
|
258
263
|
.default(deleteSystemSettingResponseNameDefault),
|
|
259
264
|
});
|
|
@@ -302,6 +307,7 @@ export const readSystemSettingResponse = zod.object({
|
|
|
302
307
|
'password_categories',
|
|
303
308
|
'password_contains_username',
|
|
304
309
|
'password_warning_days',
|
|
310
|
+
'default_password',
|
|
305
311
|
])
|
|
306
312
|
.default(readSystemSettingResponseNameDefault),
|
|
307
313
|
});
|
|
@@ -354,6 +360,7 @@ export const patchSystemSettingResponse = zod.object({
|
|
|
354
360
|
'password_categories',
|
|
355
361
|
'password_contains_username',
|
|
356
362
|
'password_warning_days',
|
|
363
|
+
'default_password',
|
|
357
364
|
])
|
|
358
365
|
.default(patchSystemSettingResponseNameDefault),
|
|
359
366
|
});
|
|
@@ -404,6 +411,7 @@ export const updateSystemSettingResponse = zod.object({
|
|
|
404
411
|
'password_categories',
|
|
405
412
|
'password_contains_username',
|
|
406
413
|
'password_warning_days',
|
|
414
|
+
'default_password',
|
|
407
415
|
])
|
|
408
416
|
.default(updateSystemSettingResponseNameDefault),
|
|
409
417
|
});
|
|
@@ -30,6 +30,7 @@ export * from './pdfServices/pdfServices';
|
|
|
30
30
|
export * from './phones/phones';
|
|
31
31
|
export * from './queues/queues';
|
|
32
32
|
export * from './quickReplies/quickReplies';
|
|
33
|
+
export * from './regions/regions';
|
|
33
34
|
export * from './skills/skills';
|
|
34
35
|
export * from './slas/slas';
|
|
35
36
|
export * from './teams/teams';
|
|
@@ -38,4 +39,3 @@ export * from './wtTypes/adjunctTypes/adjunctTypes';
|
|
|
38
39
|
export * from './wtTypes/sysTypes/sysTypes';
|
|
39
40
|
export * from './wtTypes/typeExtensions/typeExtensions';
|
|
40
41
|
export * from './сontacts';
|
|
41
|
-
export * from './regions/regions';
|
|
@@ -39,4 +39,5 @@ export declare const EngineSystemSettingName: {
|
|
|
39
39
|
readonly PasswordCategories: "password_categories";
|
|
40
40
|
readonly PasswordContainsUsername: "password_contains_username";
|
|
41
41
|
readonly PasswordWarningDays: "password_warning_days";
|
|
42
|
+
readonly DefaultPassword: "default_password";
|
|
42
43
|
};
|
|
@@ -39,4 +39,5 @@ export declare const SearchSystemSettingNameItem: {
|
|
|
39
39
|
readonly password_categories: "password_categories";
|
|
40
40
|
readonly password_contains_username: "password_contains_username";
|
|
41
41
|
readonly password_warning_days: "password_warning_days";
|
|
42
|
+
readonly default_password: "default_password";
|
|
42
43
|
};
|
|
@@ -45,6 +45,7 @@ export declare const searchSystemSettingQueryParams: zod.ZodObject<{
|
|
|
45
45
|
password_categories: "password_categories";
|
|
46
46
|
password_contains_username: "password_contains_username";
|
|
47
47
|
password_warning_days: "password_warning_days";
|
|
48
|
+
default_password: "default_password";
|
|
48
49
|
}>>>;
|
|
49
50
|
}, zod.core.$strip>;
|
|
50
51
|
export declare const searchSystemSettingResponseItemsItemNameDefault = "empty_system_settings_name";
|
|
@@ -85,6 +86,7 @@ export declare const searchSystemSettingResponse: zod.ZodObject<{
|
|
|
85
86
|
password_categories: "password_categories";
|
|
86
87
|
password_contains_username: "password_contains_username";
|
|
87
88
|
password_warning_days: "password_warning_days";
|
|
89
|
+
default_password: "default_password";
|
|
88
90
|
}>>;
|
|
89
91
|
}, zod.core.$strip>>>;
|
|
90
92
|
next: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -125,6 +127,7 @@ export declare const createSystemSettingBody: zod.ZodObject<{
|
|
|
125
127
|
password_categories: "password_categories";
|
|
126
128
|
password_contains_username: "password_contains_username";
|
|
127
129
|
password_warning_days: "password_warning_days";
|
|
130
|
+
default_password: "default_password";
|
|
128
131
|
}>>;
|
|
129
132
|
}, zod.core.$strip>;
|
|
130
133
|
export declare const createSystemSettingResponseNameDefault = "empty_system_settings_name";
|
|
@@ -164,6 +167,7 @@ export declare const createSystemSettingResponse: zod.ZodObject<{
|
|
|
164
167
|
password_categories: "password_categories";
|
|
165
168
|
password_contains_username: "password_contains_username";
|
|
166
169
|
password_warning_days: "password_warning_days";
|
|
170
|
+
default_password: "default_password";
|
|
167
171
|
}>>;
|
|
168
172
|
}, zod.core.$strip>;
|
|
169
173
|
export declare const searchAvailableSystemSettingQueryParams: zod.ZodObject<{
|
|
@@ -219,6 +223,7 @@ export declare const deleteSystemSettingResponse: zod.ZodObject<{
|
|
|
219
223
|
password_categories: "password_categories";
|
|
220
224
|
password_contains_username: "password_contains_username";
|
|
221
225
|
password_warning_days: "password_warning_days";
|
|
226
|
+
default_password: "default_password";
|
|
222
227
|
}>>;
|
|
223
228
|
}, zod.core.$strip>;
|
|
224
229
|
export declare const readSystemSettingParams: zod.ZodObject<{
|
|
@@ -261,6 +266,7 @@ export declare const readSystemSettingResponse: zod.ZodObject<{
|
|
|
261
266
|
password_categories: "password_categories";
|
|
262
267
|
password_contains_username: "password_contains_username";
|
|
263
268
|
password_warning_days: "password_warning_days";
|
|
269
|
+
default_password: "default_password";
|
|
264
270
|
}>>;
|
|
265
271
|
}, zod.core.$strip>;
|
|
266
272
|
export declare const patchSystemSettingParams: zod.ZodObject<{
|
|
@@ -306,6 +312,7 @@ export declare const patchSystemSettingResponse: zod.ZodObject<{
|
|
|
306
312
|
password_categories: "password_categories";
|
|
307
313
|
password_contains_username: "password_contains_username";
|
|
308
314
|
password_warning_days: "password_warning_days";
|
|
315
|
+
default_password: "default_password";
|
|
309
316
|
}>>;
|
|
310
317
|
}, zod.core.$strip>;
|
|
311
318
|
export declare const updateSystemSettingParams: zod.ZodObject<{
|
|
@@ -349,5 +356,6 @@ export declare const updateSystemSettingResponse: zod.ZodObject<{
|
|
|
349
356
|
password_categories: "password_categories";
|
|
350
357
|
password_contains_username: "password_contains_username";
|
|
351
358
|
password_warning_days: "password_warning_days";
|
|
359
|
+
default_password: "default_password";
|
|
352
360
|
}>>;
|
|
353
361
|
}, zod.core.$strip>;
|