@webitel/api-services 0.0.29 → 0.0.31
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/Readme.md +100 -6
- package/package.json +4 -3
- package/src/api/clients/caseSources/caseSources.ts +1 -1
- package/src/api/clients/quickReplies/quickReplies.ts +2 -0
- package/src/api/transformers/generateUrl/generateUrl.transformer.ts +1 -1
- package/src/gen/_docs/html/assets/navigation.js +1 -1
- package/src/gen/_docs/html/assets/search.js +1 -1
- package/src/gen/_docs/html/interfaces/_models_webitelCasesFile.WebitelCasesFile.html +4 -5
- package/src/gen/_docs/html/interfaces/_models_webitelContactsIMClient.WebitelContactsIMClient.html +4 -2
- package/src/gen/_docs/html/modules/index.html +1 -1
- package/src/gen/_docs/html/modules/sources_sources.zod.gen.html +6 -6
- package/src/gen/_docs/html/types/_models_listSourcesParams.ListSourcesParams.html +11 -7
- package/src/gen/_docs/html/types/_models_publishCommentParams.PublishCommentParams.html +5 -3
- package/src/gen/_docs/html/types/_models_searchCases2Params.SearchCases2Params.html +5 -3
- package/src/gen/_docs/html/types/_models_searchCasesParams.SearchCasesParams.html +5 -3
- package/src/gen/_docs/html/types/_models_updateComment2Params.UpdateComment2Params.html +4 -2
- package/src/gen/_docs/html/types/_models_updateCommentParams.UpdateCommentParams.html +4 -2
- package/src/gen/_docs/html/variables/case-comments_case-comments.zod.gen.publishCommentQueryParams.html +1 -1
- package/src/gen/_docs/html/variables/case-comments_case-comments.zod.gen.updateComment2QueryParams.html +1 -1
- package/src/gen/_docs/html/variables/case-comments_case-comments.zod.gen.updateCommentQueryParams.html +1 -1
- package/src/gen/_docs/html/variables/case-files_case-files.zod.gen.deleteFileResponse.html +1 -1
- package/src/gen/_docs/html/variables/case-files_case-files.zod.gen.listFilesResponse.html +1 -1
- package/src/gen/_docs/html/variables/cases_cases.zod.gen.createCaseResponse.html +1 -1
- package/src/gen/_docs/html/variables/cases_cases.zod.gen.deleteCaseResponse.html +1 -1
- package/src/gen/_docs/html/variables/cases_cases.zod.gen.locateCaseResponse.html +1 -1
- package/src/gen/_docs/html/variables/cases_cases.zod.gen.searchCases2QueryParams.html +1 -1
- package/src/gen/_docs/html/variables/cases_cases.zod.gen.searchCasesQueryParams.html +1 -1
- package/src/gen/_docs/html/variables/contacts_contacts.zod.gen.contactsCreateContactResponse.html +1 -1
- package/src/gen/_docs/html/variables/contacts_contacts.zod.gen.contactsDeleteContactResponse.html +1 -1
- package/src/gen/_docs/html/variables/contacts_contacts.zod.gen.contactsLocateContactResponse.html +1 -1
- package/src/gen/_docs/html/variables/contacts_contacts.zod.gen.contactsUpdateContactResponse.html +1 -1
- package/src/gen/_docs/html/variables/imclients_imclients.zod.gen.iMClientsListIMClientsResponse.html +1 -1
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceBody.html +1 -1
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.listSourcesQueryPageDefault.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.listSourcesQueryParams.html +1 -1
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.listSourcesQuerySizeDefault.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.listSourcesQuerySortDefault.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2Body.html +1 -1
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceBody.html +1 -1
- package/src/gen/_models/listSourcesParams.ts +15 -11
- package/src/gen/_models/publishCommentParams.ts +4 -0
- package/src/gen/_models/searchCases2Params.ts +5 -1
- package/src/gen/_models/searchCasesParams.ts +5 -1
- package/src/gen/_models/updateComment2Params.ts +4 -0
- package/src/gen/_models/updateCommentParams.ts +4 -0
- package/src/gen/_models/webitelCasesFile.ts +2 -3
- package/src/gen/_models/webitelContactsIMClient.ts +2 -0
- package/src/gen/case-comments/case-comments.zod.gen.ts +18 -0
- package/src/gen/case-files/case-files.msw.api.gen.ts +8 -26
- package/src/gen/case-files/case-files.zod.gen.ts +2 -12
- package/src/gen/cases/cases.msw.api.gen.ts +28 -91
- package/src/gen/cases/cases.zod.gen.ts +17 -44
- package/src/gen/contacts/contacts.msw.api.gen.ts +20 -0
- package/src/gen/contacts/contacts.zod.gen.ts +20 -0
- package/src/gen/groups/groups.msw.api.gen.ts +8 -0
- package/src/gen/groups/groups.zod.gen.ts +8 -0
- package/src/gen/imclients/imclients.msw.api.gen.ts +4 -0
- package/src/gen/imclients/imclients.zod.gen.ts +1 -0
- package/src/gen/sources/sources.zod.gen.ts +19 -14
- package/types/defaults/index.d.ts +2 -0
- package/types/gen/_models/agentAbsenceServiceUpdateAgentAbsenceBodyItem.d.ts +1 -1
- package/types/gen/_models/agentWorkingScheduleServiceCreateAgentsWorkingScheduleShiftsBody.d.ts +2 -2
- package/types/gen/_models/apiAccessStoreToggleDefaultAccessBody.d.ts +1 -1
- package/types/gen/_models/apiCustomer.d.ts +2 -2
- package/types/gen/_models/apiDevice.d.ts +1 -1
- package/types/gen/_models/apiLDAPCatalog.d.ts +4 -4
- package/types/gen/_models/apiLDAPUpdateLDAPCatalogBodyCatalog.d.ts +4 -4
- package/types/gen/_models/apiLDAProcess.d.ts +2 -2
- package/types/gen/_models/apiLicenseV1.d.ts +1 -1
- package/types/gen/_models/apiRole.d.ts +3 -3
- package/types/gen/_models/apiRolesUpdateRoleBodyRole.d.ts +3 -3
- package/types/gen/_models/apiUser.d.ts +1 -1
- package/types/gen/_models/apiUsersUpdateUserBodyUser.d.ts +1 -1
- package/types/gen/_models/configServicePatchConfigBody.d.ts +15 -0
- package/types/gen/_models/configServiceUpdateConfigBody.d.ts +14 -0
- package/types/gen/_models/contactsUpdateContactBody.d.ts +1 -1
- package/types/gen/_models/engineActiveCall.d.ts +2 -2
- package/types/gen/_models/engineAgent.d.ts +1 -1
- package/types/gen/_models/engineAgentInQueueStatistics.d.ts +1 -1
- package/types/gen/_models/engineAggregateHistoryCallRequest.d.ts +1 -1
- package/types/gen/_models/engineAttempt.d.ts +1 -1
- package/types/gen/_models/engineAttemptHistory.d.ts +1 -1
- package/types/gen/_models/engineAuditFormServicePatchAuditFormBody.d.ts +1 -1
- package/types/gen/_models/engineAuditFormServiceUpdateAuditFormBody.d.ts +1 -1
- package/types/gen/_models/engineAuditRate.d.ts +2 -2
- package/types/gen/_models/engineCreateAuditFormRequest.d.ts +1 -1
- package/types/gen/_models/engineCreateCallRequest.d.ts +1 -1
- package/types/gen/_models/engineCreateMemberBulkItem.d.ts +1 -1
- package/types/gen/_models/engineCreateOutboundResourceRequest.d.ts +2 -2
- package/types/gen/_models/engineCreateQueueRequest.d.ts +2 -2
- package/types/gen/_models/engineCreateRoutingSchemaRequest.d.ts +1 -1
- package/types/gen/_models/engineCreateTriggerRequest.d.ts +2 -2
- package/types/gen/_models/engineDeleteAllMembersRequest.d.ts +1 -1
- package/types/gen/_models/engineHistoryCall.d.ts +6 -6
- package/types/gen/_models/engineListReportGeneral.d.ts +1 -1
- package/types/gen/_models/engineOutboundResource.d.ts +1 -1
- package/types/gen/_models/engineOutboundResourceServicePatchOutboundResourceBody.d.ts +1 -1
- package/types/gen/_models/engineOutboundResourceServiceUpdateOutboundResourceBody.d.ts +1 -1
- package/types/gen/_models/engineQuestion.d.ts +1 -1
- package/types/gen/_models/engineQueue.d.ts +2 -2
- package/types/gen/_models/engineQueueReportGeneral.d.ts +1 -1
- package/types/gen/_models/engineQueueServicePatchQueueBody.d.ts +2 -2
- package/types/gen/_models/engineQueueServiceUpdateQueueBody.d.ts +2 -2
- package/types/gen/_models/engineRoutingSchema.d.ts +2 -2
- package/types/gen/_models/engineRoutingSchemaServicePatchRoutingSchemaBody.d.ts +1 -1
- package/types/gen/_models/engineRoutingSchemaServiceUpdateRoutingSchemaBody.d.ts +1 -1
- package/types/gen/_models/engineTeamHook.d.ts +1 -1
- package/types/gen/_models/engineTeamHookServiceCreateTeamHookBody.d.ts +1 -1
- package/types/gen/_models/engineTeamHookServicePatchTeamHookBody.d.ts +1 -1
- package/types/gen/_models/engineTeamHookServiceUpdateTeamHookBody.d.ts +1 -1
- package/types/gen/_models/engineTrigger.d.ts +1 -1
- package/types/gen/_models/engineTriggerJob.d.ts +1 -1
- package/types/gen/_models/engineTriggerObjectType.d.ts +0 -1
- package/types/gen/_models/engineTriggerServicePatchTriggerBody.d.ts +1 -1
- package/types/gen/_models/engineTriggerServiceUpdateTriggerBody.d.ts +1 -1
- package/types/gen/_models/fileServiceSearchFilesChannelItem.d.ts +0 -2
- package/types/gen/_models/groupsAddContactsToGroupParams.d.ts +12 -0
- package/types/gen/_models/loggerDeleteConfigBulkRequest.d.ts +9 -0
- package/types/gen/_models/loggerDeleteConfigLogsRequest.d.ts +10 -0
- package/types/gen/_models/loggerDeleteConfigLogsResponse.d.ts +9 -0
- package/types/gen/_models/pauseTemplateServiceUpdatePauseTemplateBodyItem.d.ts +1 -1
- package/types/gen/_models/readSystemObjectsParams.d.ts +9 -0
- package/types/gen/_models/searchConfigObjectItem.d.ts +25 -0
- package/types/gen/_models/searchConfigParams.d.ts +18 -0
- package/types/gen/_models/searchLogByConfigIdActionItem.d.ts +14 -0
- package/types/gen/_models/searchLogByConfigIdParams.d.ts +19 -0
- package/types/gen/_models/searchLogByRecordIdActionItem.d.ts +14 -0
- package/types/gen/_models/searchLogByRecordIdParams.d.ts +22 -0
- package/types/gen/_models/searchLogByUserIdActionItem.d.ts +14 -0
- package/types/gen/_models/searchLogByUserIdParams.d.ts +25 -0
- package/types/gen/_models/storageCreateImportTemplateRequest.d.ts +1 -1
- package/types/gen/_models/storageFile.d.ts +2 -2
- package/types/gen/_models/storageFilePolicy.d.ts +1 -1
- package/types/gen/_models/storageImportTemplate.d.ts +2 -2
- package/types/gen/_models/storageSafeUploadFileResponseMetadata.d.ts +1 -1
- package/types/gen/_models/storageUpdateCognitiveProfileRequest.d.ts +2 -2
- package/types/gen/_models/storageUpdateImportTemplateRequest.d.ts +1 -1
- package/types/gen/_models/storageUploadFileChannel.d.ts +0 -2
- package/types/gen/_models/storageUploadFileResponse.d.ts +1 -1
- package/types/gen/_models/storageUploadFileUrlResponse.d.ts +1 -1
- package/types/gen/_models/usersUpdateUser2Body.d.ts +1 -1
- package/types/gen/_models/usersUpdateUserBody.d.ts +1 -1
- package/types/gen/_models/usersUpdateUserUserBody.d.ts +1 -1
- package/types/gen/_models/webitelCasesCallEvent.d.ts +1 -1
- package/types/gen/_models/webitelCasesCase.d.ts +1 -1
- package/types/gen/_models/webitelCasesChatEvent.d.ts +1 -1
- package/types/gen/_models/webitelCasesEmailEvent.d.ts +1 -1
- package/types/gen/_models/webitelCasesInputCreateService.d.ts +1 -1
- package/types/gen/_models/webitelCasesInputService.d.ts +1 -1
- package/types/gen/_models/webitelCasesInputSource.d.ts +1 -0
- package/types/gen/_models/webitelCasesService.d.ts +1 -1
- package/types/gen/_models/webitelCasesSource.d.ts +6 -5
- package/types/gen/_models/webitelChatAgentChat.d.ts +1 -1
- package/types/gen/_models/webitelChatBroadcastMessageRequest.d.ts +1 -1
- package/types/gen/_models/webitelChatChatMessage.d.ts +2 -2
- package/types/gen/_models/webitelChatContactChat.d.ts +1 -1
- package/types/gen/_models/webitelChatDialog.d.ts +1 -1
- package/types/gen/_models/webitelChatGetContactChatHistoryResponse.d.ts +2 -2
- package/types/gen/_models/webitelContactsComment.d.ts +1 -1
- package/types/gen/_models/webitelProtoDataStruct.d.ts +1 -1
- package/types/gen/_models/wfmAbsence.d.ts +1 -1
- package/types/gen/_models/wfmAgentScheduleShift.d.ts +2 -2
- package/types/gen/_models/wfmAgentWorkingSchedule.d.ts +1 -1
- package/types/gen/_models/wfmPauseTemplate.d.ts +1 -1
- package/types/gen/_models/wfmSearchAgentsWorkingScheduleResponse.d.ts +1 -1
- package/types/gen/agent-chat-service/agent-chat-service.zod.gen.d.ts +1 -1
- package/types/gen/articles/articles.api.gen.d.ts +1 -1
- package/types/gen/call-service/call-service.zod.gen.d.ts +6 -6
- package/types/gen/cases-chat-catalog/cases-chat-catalog.zod.gen.d.ts +1 -1
- package/types/gen/catalog/catalog.zod.gen.d.ts +3 -3
- package/types/gen/config-service/config-service.zod.gen.d.ts +2 -2
- package/types/gen/contacts/contacts.zod.gen.d.ts +2 -2
- package/types/gen/contacts-chat-catalog/contacts-chat-catalog.zod.gen.d.ts +2 -2
- package/types/gen/dictionaries/dictionaries.zod.gen.d.ts +33 -33
- package/types/gen/extensions/extensions.zod.gen.d.ts +24 -24
- package/types/gen/file-policies-service/file-policies-service.zod.gen.d.ts +0 -18
- package/types/gen/file-service/file-service.api.gen.d.ts +1 -3
- package/types/gen/file-service/file-service.msw.api.gen.d.ts +1 -3
- package/types/gen/file-service/file-service.zod.gen.d.ts +0 -18
- package/types/gen/ldap/ldap.api.gen.d.ts +1 -1
- package/types/gen/ldap/ldap.msw.api.gen.d.ts +1 -1
- package/types/gen/logger-service/logger-service.zod.gen.d.ts +5 -5
- package/types/gen/timeline/timeline.zod.gen.d.ts +2 -2
- package/types/gen/trigger-service/trigger-service.zod.gen.d.ts +15 -24
- package/types/gen/types/types.zod.gen.d.ts +6 -6
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceBodyDescriptionDefault.html +0 -1
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2BodyDescriptionDefault.html +0 -1
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceBodyDescriptionDefault.html +0 -1
|
@@ -4,17 +4,16 @@
|
|
|
4
4
|
* Webitel API
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
|
-
import type {
|
|
7
|
+
import type { GeneralExtendedLookup } from './generalExtendedLookup';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Metadata for a file associated with a case.
|
|
11
11
|
*/
|
|
12
12
|
export interface WebitelCasesFile {
|
|
13
|
-
author?: GeneralLookup;
|
|
14
13
|
/** Creation timestamp in Unix milliseconds. */
|
|
15
14
|
createdAt?: string;
|
|
16
15
|
/** Creator of the file. */
|
|
17
|
-
createdBy?:
|
|
16
|
+
createdBy?: GeneralExtendedLookup;
|
|
18
17
|
/** Storage file ID. */
|
|
19
18
|
id?: string;
|
|
20
19
|
/** MIME type of the file. */
|
|
@@ -21,6 +21,8 @@ Name will be name of the gateway. */
|
|
|
21
21
|
/** Unique ID of the latest version of the update.
|
|
22
22
|
This ID changes after any update to the underlying value(s). */
|
|
23
23
|
etag?: string;
|
|
24
|
+
/** External user id. */
|
|
25
|
+
externalId?: string;
|
|
24
26
|
/** The unique ID of the association. Never changes. */
|
|
25
27
|
id?: string;
|
|
26
28
|
/** Protocol used to connect the IM client. */
|
|
@@ -158,6 +158,12 @@ export const updateComment2QueryParams = zod.object({
|
|
|
158
158
|
.array(zod.string())
|
|
159
159
|
.optional()
|
|
160
160
|
.describe('Fields to include in the response.'),
|
|
161
|
+
updatedAt: zod
|
|
162
|
+
.string()
|
|
163
|
+
.optional()
|
|
164
|
+
.describe(
|
|
165
|
+
'Optional updating timestamp. If not set, will be set default(current) time.',
|
|
166
|
+
),
|
|
161
167
|
});
|
|
162
168
|
|
|
163
169
|
export const updateComment2Body = zod.object({
|
|
@@ -238,6 +244,12 @@ export const updateCommentQueryParams = zod.object({
|
|
|
238
244
|
.array(zod.string())
|
|
239
245
|
.optional()
|
|
240
246
|
.describe('Fields to include in the response.'),
|
|
247
|
+
updatedAt: zod
|
|
248
|
+
.string()
|
|
249
|
+
.optional()
|
|
250
|
+
.describe(
|
|
251
|
+
'Optional updating timestamp. If not set, will be set default(current) time.',
|
|
252
|
+
),
|
|
241
253
|
});
|
|
242
254
|
|
|
243
255
|
export const updateCommentBody = zod.object({
|
|
@@ -422,6 +434,12 @@ export const publishCommentQueryParams = zod.object({
|
|
|
422
434
|
.array(zod.string())
|
|
423
435
|
.optional()
|
|
424
436
|
.describe('Result fields to include in the response.'),
|
|
437
|
+
createdAt: zod
|
|
438
|
+
.string()
|
|
439
|
+
.optional()
|
|
440
|
+
.describe(
|
|
441
|
+
'Optional creation timestamp. If not set, will be set default(current) time.',
|
|
442
|
+
),
|
|
425
443
|
});
|
|
426
444
|
|
|
427
445
|
export const publishCommentBody = zod
|
|
@@ -18,19 +18,6 @@ export const getListFilesResponseMock = (
|
|
|
18
18
|
{ length: faker.number.int({ min: 1, max: 10 }) },
|
|
19
19
|
(_, i) => i + 1,
|
|
20
20
|
).map(() => ({
|
|
21
|
-
author: faker.helpers.arrayElement([
|
|
22
|
-
{
|
|
23
|
-
id: faker.helpers.arrayElement([
|
|
24
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
25
|
-
undefined,
|
|
26
|
-
]),
|
|
27
|
-
name: faker.helpers.arrayElement([
|
|
28
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
29
|
-
undefined,
|
|
30
|
-
]),
|
|
31
|
-
},
|
|
32
|
-
undefined,
|
|
33
|
-
]),
|
|
34
21
|
createdAt: faker.helpers.arrayElement([
|
|
35
22
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
36
23
|
undefined,
|
|
@@ -45,6 +32,10 @@ export const getListFilesResponseMock = (
|
|
|
45
32
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
46
33
|
undefined,
|
|
47
34
|
]),
|
|
35
|
+
type: faker.helpers.arrayElement([
|
|
36
|
+
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
37
|
+
undefined,
|
|
38
|
+
]),
|
|
48
39
|
},
|
|
49
40
|
undefined,
|
|
50
41
|
]),
|
|
@@ -82,19 +73,6 @@ export const getListFilesResponseMock = (
|
|
|
82
73
|
export const getDeleteFileResponseMock = (
|
|
83
74
|
overrideResponse: Partial<WebitelCasesFile> = {},
|
|
84
75
|
): WebitelCasesFile => ({
|
|
85
|
-
author: faker.helpers.arrayElement([
|
|
86
|
-
{
|
|
87
|
-
id: faker.helpers.arrayElement([
|
|
88
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
89
|
-
undefined,
|
|
90
|
-
]),
|
|
91
|
-
name: faker.helpers.arrayElement([
|
|
92
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
93
|
-
undefined,
|
|
94
|
-
]),
|
|
95
|
-
},
|
|
96
|
-
undefined,
|
|
97
|
-
]),
|
|
98
76
|
createdAt: faker.helpers.arrayElement([
|
|
99
77
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
100
78
|
undefined,
|
|
@@ -109,6 +87,10 @@ export const getDeleteFileResponseMock = (
|
|
|
109
87
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
110
88
|
undefined,
|
|
111
89
|
]),
|
|
90
|
+
type: faker.helpers.arrayElement([
|
|
91
|
+
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
92
|
+
undefined,
|
|
93
|
+
]),
|
|
112
94
|
},
|
|
113
95
|
undefined,
|
|
114
96
|
]),
|
|
@@ -33,12 +33,6 @@ export const listFilesResponse = zod
|
|
|
33
33
|
.array(
|
|
34
34
|
zod
|
|
35
35
|
.object({
|
|
36
|
-
author: zod
|
|
37
|
-
.object({
|
|
38
|
-
id: zod.string().optional(),
|
|
39
|
-
name: zod.string().optional(),
|
|
40
|
-
})
|
|
41
|
-
.optional(),
|
|
42
36
|
createdAt: zod
|
|
43
37
|
.string()
|
|
44
38
|
.optional()
|
|
@@ -47,6 +41,7 @@ export const listFilesResponse = zod
|
|
|
47
41
|
.object({
|
|
48
42
|
id: zod.string().optional(),
|
|
49
43
|
name: zod.string().optional(),
|
|
44
|
+
type: zod.string().optional(),
|
|
50
45
|
})
|
|
51
46
|
.optional(),
|
|
52
47
|
id: zod.string().optional().describe('Storage file ID.'),
|
|
@@ -77,12 +72,6 @@ export const deleteFileParams = zod.object({
|
|
|
77
72
|
|
|
78
73
|
export const deleteFileResponse = zod
|
|
79
74
|
.object({
|
|
80
|
-
author: zod
|
|
81
|
-
.object({
|
|
82
|
-
id: zod.string().optional(),
|
|
83
|
-
name: zod.string().optional(),
|
|
84
|
-
})
|
|
85
|
-
.optional(),
|
|
86
75
|
createdAt: zod
|
|
87
76
|
.string()
|
|
88
77
|
.optional()
|
|
@@ -91,6 +80,7 @@ export const deleteFileResponse = zod
|
|
|
91
80
|
.object({
|
|
92
81
|
id: zod.string().optional(),
|
|
93
82
|
name: zod.string().optional(),
|
|
83
|
+
type: zod.string().optional(),
|
|
94
84
|
})
|
|
95
85
|
.optional(),
|
|
96
86
|
id: zod.string().optional().describe('Storage file ID.'),
|
|
@@ -236,19 +236,6 @@ export const getSearchCasesResponseMock = (
|
|
|
236
236
|
{ length: faker.number.int({ min: 1, max: 10 }) },
|
|
237
237
|
(_, i) => i + 1,
|
|
238
238
|
).map(() => ({
|
|
239
|
-
author: faker.helpers.arrayElement([
|
|
240
|
-
{
|
|
241
|
-
id: faker.helpers.arrayElement([
|
|
242
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
243
|
-
undefined,
|
|
244
|
-
]),
|
|
245
|
-
name: faker.helpers.arrayElement([
|
|
246
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
247
|
-
undefined,
|
|
248
|
-
]),
|
|
249
|
-
},
|
|
250
|
-
undefined,
|
|
251
|
-
]),
|
|
252
239
|
createdAt: faker.helpers.arrayElement([
|
|
253
240
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
254
241
|
undefined,
|
|
@@ -263,6 +250,10 @@ export const getSearchCasesResponseMock = (
|
|
|
263
250
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
264
251
|
undefined,
|
|
265
252
|
]),
|
|
253
|
+
type: faker.helpers.arrayElement([
|
|
254
|
+
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
255
|
+
undefined,
|
|
256
|
+
]),
|
|
266
257
|
},
|
|
267
258
|
undefined,
|
|
268
259
|
]),
|
|
@@ -1056,19 +1047,6 @@ export const getCreateCaseResponseMock = (
|
|
|
1056
1047
|
{ length: faker.number.int({ min: 1, max: 10 }) },
|
|
1057
1048
|
(_, i) => i + 1,
|
|
1058
1049
|
).map(() => ({
|
|
1059
|
-
author: faker.helpers.arrayElement([
|
|
1060
|
-
{
|
|
1061
|
-
id: faker.helpers.arrayElement([
|
|
1062
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
1063
|
-
undefined,
|
|
1064
|
-
]),
|
|
1065
|
-
name: faker.helpers.arrayElement([
|
|
1066
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
1067
|
-
undefined,
|
|
1068
|
-
]),
|
|
1069
|
-
},
|
|
1070
|
-
undefined,
|
|
1071
|
-
]),
|
|
1072
1050
|
createdAt: faker.helpers.arrayElement([
|
|
1073
1051
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
1074
1052
|
undefined,
|
|
@@ -1083,6 +1061,10 @@ export const getCreateCaseResponseMock = (
|
|
|
1083
1061
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
1084
1062
|
undefined,
|
|
1085
1063
|
]),
|
|
1064
|
+
type: faker.helpers.arrayElement([
|
|
1065
|
+
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
1066
|
+
undefined,
|
|
1067
|
+
]),
|
|
1086
1068
|
},
|
|
1087
1069
|
undefined,
|
|
1088
1070
|
]),
|
|
@@ -1850,19 +1832,6 @@ export const getDeleteCaseResponseMock = (
|
|
|
1850
1832
|
{ length: faker.number.int({ min: 1, max: 10 }) },
|
|
1851
1833
|
(_, i) => i + 1,
|
|
1852
1834
|
).map(() => ({
|
|
1853
|
-
author: faker.helpers.arrayElement([
|
|
1854
|
-
{
|
|
1855
|
-
id: faker.helpers.arrayElement([
|
|
1856
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
1857
|
-
undefined,
|
|
1858
|
-
]),
|
|
1859
|
-
name: faker.helpers.arrayElement([
|
|
1860
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
1861
|
-
undefined,
|
|
1862
|
-
]),
|
|
1863
|
-
},
|
|
1864
|
-
undefined,
|
|
1865
|
-
]),
|
|
1866
1835
|
createdAt: faker.helpers.arrayElement([
|
|
1867
1836
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
1868
1837
|
undefined,
|
|
@@ -1877,6 +1846,10 @@ export const getDeleteCaseResponseMock = (
|
|
|
1877
1846
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
1878
1847
|
undefined,
|
|
1879
1848
|
]),
|
|
1849
|
+
type: faker.helpers.arrayElement([
|
|
1850
|
+
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
1851
|
+
undefined,
|
|
1852
|
+
]),
|
|
1880
1853
|
},
|
|
1881
1854
|
undefined,
|
|
1882
1855
|
]),
|
|
@@ -2644,19 +2617,6 @@ export const getLocateCaseResponseMock = (
|
|
|
2644
2617
|
{ length: faker.number.int({ min: 1, max: 10 }) },
|
|
2645
2618
|
(_, i) => i + 1,
|
|
2646
2619
|
).map(() => ({
|
|
2647
|
-
author: faker.helpers.arrayElement([
|
|
2648
|
-
{
|
|
2649
|
-
id: faker.helpers.arrayElement([
|
|
2650
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
2651
|
-
undefined,
|
|
2652
|
-
]),
|
|
2653
|
-
name: faker.helpers.arrayElement([
|
|
2654
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
2655
|
-
undefined,
|
|
2656
|
-
]),
|
|
2657
|
-
},
|
|
2658
|
-
undefined,
|
|
2659
|
-
]),
|
|
2660
2620
|
createdAt: faker.helpers.arrayElement([
|
|
2661
2621
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
2662
2622
|
undefined,
|
|
@@ -2671,6 +2631,10 @@ export const getLocateCaseResponseMock = (
|
|
|
2671
2631
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
2672
2632
|
undefined,
|
|
2673
2633
|
]),
|
|
2634
|
+
type: faker.helpers.arrayElement([
|
|
2635
|
+
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
2636
|
+
undefined,
|
|
2637
|
+
]),
|
|
2674
2638
|
},
|
|
2675
2639
|
undefined,
|
|
2676
2640
|
]),
|
|
@@ -3445,19 +3409,6 @@ export const getUpdateCase2ResponseMock = (
|
|
|
3445
3409
|
{ length: faker.number.int({ min: 1, max: 10 }) },
|
|
3446
3410
|
(_, i) => i + 1,
|
|
3447
3411
|
).map(() => ({
|
|
3448
|
-
author: faker.helpers.arrayElement([
|
|
3449
|
-
{
|
|
3450
|
-
id: faker.helpers.arrayElement([
|
|
3451
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
3452
|
-
undefined,
|
|
3453
|
-
]),
|
|
3454
|
-
name: faker.helpers.arrayElement([
|
|
3455
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
3456
|
-
undefined,
|
|
3457
|
-
]),
|
|
3458
|
-
},
|
|
3459
|
-
undefined,
|
|
3460
|
-
]),
|
|
3461
3412
|
createdAt: faker.helpers.arrayElement([
|
|
3462
3413
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
3463
3414
|
undefined,
|
|
@@ -3472,6 +3423,10 @@ export const getUpdateCase2ResponseMock = (
|
|
|
3472
3423
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
3473
3424
|
undefined,
|
|
3474
3425
|
]),
|
|
3426
|
+
type: faker.helpers.arrayElement([
|
|
3427
|
+
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
3428
|
+
undefined,
|
|
3429
|
+
]),
|
|
3475
3430
|
},
|
|
3476
3431
|
undefined,
|
|
3477
3432
|
]),
|
|
@@ -4281,19 +4236,6 @@ export const getUpdateCaseResponseMock = (
|
|
|
4281
4236
|
{ length: faker.number.int({ min: 1, max: 10 }) },
|
|
4282
4237
|
(_, i) => i + 1,
|
|
4283
4238
|
).map(() => ({
|
|
4284
|
-
author: faker.helpers.arrayElement([
|
|
4285
|
-
{
|
|
4286
|
-
id: faker.helpers.arrayElement([
|
|
4287
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
4288
|
-
undefined,
|
|
4289
|
-
]),
|
|
4290
|
-
name: faker.helpers.arrayElement([
|
|
4291
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
4292
|
-
undefined,
|
|
4293
|
-
]),
|
|
4294
|
-
},
|
|
4295
|
-
undefined,
|
|
4296
|
-
]),
|
|
4297
4239
|
createdAt: faker.helpers.arrayElement([
|
|
4298
4240
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
4299
4241
|
undefined,
|
|
@@ -4308,6 +4250,10 @@ export const getUpdateCaseResponseMock = (
|
|
|
4308
4250
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
4309
4251
|
undefined,
|
|
4310
4252
|
]),
|
|
4253
|
+
type: faker.helpers.arrayElement([
|
|
4254
|
+
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
4255
|
+
undefined,
|
|
4256
|
+
]),
|
|
4311
4257
|
},
|
|
4312
4258
|
undefined,
|
|
4313
4259
|
]),
|
|
@@ -5120,19 +5066,6 @@ export const getSearchCases2ResponseMock = (
|
|
|
5120
5066
|
{ length: faker.number.int({ min: 1, max: 10 }) },
|
|
5121
5067
|
(_, i) => i + 1,
|
|
5122
5068
|
).map(() => ({
|
|
5123
|
-
author: faker.helpers.arrayElement([
|
|
5124
|
-
{
|
|
5125
|
-
id: faker.helpers.arrayElement([
|
|
5126
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
5127
|
-
undefined,
|
|
5128
|
-
]),
|
|
5129
|
-
name: faker.helpers.arrayElement([
|
|
5130
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
5131
|
-
undefined,
|
|
5132
|
-
]),
|
|
5133
|
-
},
|
|
5134
|
-
undefined,
|
|
5135
|
-
]),
|
|
5136
5069
|
createdAt: faker.helpers.arrayElement([
|
|
5137
5070
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
5138
5071
|
undefined,
|
|
@@ -5147,6 +5080,10 @@ export const getSearchCases2ResponseMock = (
|
|
|
5147
5080
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
5148
5081
|
undefined,
|
|
5149
5082
|
]),
|
|
5083
|
+
type: faker.helpers.arrayElement([
|
|
5084
|
+
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
5085
|
+
undefined,
|
|
5086
|
+
]),
|
|
5150
5087
|
},
|
|
5151
5088
|
undefined,
|
|
5152
5089
|
]),
|
|
@@ -12,7 +12,7 @@ import { z as zod } from 'zod/v4';
|
|
|
12
12
|
export const searchCasesQueryParams = zod.object({
|
|
13
13
|
page: zod.number().optional().describe('Page number for pagination.'),
|
|
14
14
|
size: zod.number().optional().describe('Number of results per page.'),
|
|
15
|
-
q: zod.string().optional().describe('
|
|
15
|
+
q: zod.string().optional().describe('General query string.'),
|
|
16
16
|
ids: zod
|
|
17
17
|
.array(zod.string())
|
|
18
18
|
.optional()
|
|
@@ -30,6 +30,10 @@ export const searchCasesQueryParams = zod.object({
|
|
|
30
30
|
.string()
|
|
31
31
|
.optional()
|
|
32
32
|
.describe('Contact ID for filtering cases.'),
|
|
33
|
+
qin: zod
|
|
34
|
+
.string()
|
|
35
|
+
.optional()
|
|
36
|
+
.describe("Specify which fields to apply 'q' to."),
|
|
33
37
|
});
|
|
34
38
|
|
|
35
39
|
export const searchCasesResponseItemsItemRelatedDataItemRelationTypeDefault =
|
|
@@ -186,12 +190,6 @@ export const searchCasesResponse = zod
|
|
|
186
190
|
.array(
|
|
187
191
|
zod
|
|
188
192
|
.object({
|
|
189
|
-
author: zod
|
|
190
|
-
.object({
|
|
191
|
-
id: zod.string().optional(),
|
|
192
|
-
name: zod.string().optional(),
|
|
193
|
-
})
|
|
194
|
-
.optional(),
|
|
195
193
|
createdAt: zod
|
|
196
194
|
.string()
|
|
197
195
|
.optional()
|
|
@@ -200,6 +198,7 @@ export const searchCasesResponse = zod
|
|
|
200
198
|
.object({
|
|
201
199
|
id: zod.string().optional(),
|
|
202
200
|
name: zod.string().optional(),
|
|
201
|
+
type: zod.string().optional(),
|
|
203
202
|
})
|
|
204
203
|
.optional(),
|
|
205
204
|
id: zod
|
|
@@ -832,12 +831,6 @@ export const createCaseResponse = zod
|
|
|
832
831
|
.array(
|
|
833
832
|
zod
|
|
834
833
|
.object({
|
|
835
|
-
author: zod
|
|
836
|
-
.object({
|
|
837
|
-
id: zod.string().optional(),
|
|
838
|
-
name: zod.string().optional(),
|
|
839
|
-
})
|
|
840
|
-
.optional(),
|
|
841
834
|
createdAt: zod
|
|
842
835
|
.string()
|
|
843
836
|
.optional()
|
|
@@ -846,6 +839,7 @@ export const createCaseResponse = zod
|
|
|
846
839
|
.object({
|
|
847
840
|
id: zod.string().optional(),
|
|
848
841
|
name: zod.string().optional(),
|
|
842
|
+
type: zod.string().optional(),
|
|
849
843
|
})
|
|
850
844
|
.optional(),
|
|
851
845
|
id: zod.string().optional().describe('Storage file ID.'),
|
|
@@ -1304,12 +1298,6 @@ export const deleteCaseResponse = zod
|
|
|
1304
1298
|
.array(
|
|
1305
1299
|
zod
|
|
1306
1300
|
.object({
|
|
1307
|
-
author: zod
|
|
1308
|
-
.object({
|
|
1309
|
-
id: zod.string().optional(),
|
|
1310
|
-
name: zod.string().optional(),
|
|
1311
|
-
})
|
|
1312
|
-
.optional(),
|
|
1313
1301
|
createdAt: zod
|
|
1314
1302
|
.string()
|
|
1315
1303
|
.optional()
|
|
@@ -1318,6 +1306,7 @@ export const deleteCaseResponse = zod
|
|
|
1318
1306
|
.object({
|
|
1319
1307
|
id: zod.string().optional(),
|
|
1320
1308
|
name: zod.string().optional(),
|
|
1309
|
+
type: zod.string().optional(),
|
|
1321
1310
|
})
|
|
1322
1311
|
.optional(),
|
|
1323
1312
|
id: zod.string().optional().describe('Storage file ID.'),
|
|
@@ -1776,12 +1765,6 @@ export const locateCaseResponse = zod
|
|
|
1776
1765
|
.array(
|
|
1777
1766
|
zod
|
|
1778
1767
|
.object({
|
|
1779
|
-
author: zod
|
|
1780
|
-
.object({
|
|
1781
|
-
id: zod.string().optional(),
|
|
1782
|
-
name: zod.string().optional(),
|
|
1783
|
-
})
|
|
1784
|
-
.optional(),
|
|
1785
1768
|
createdAt: zod
|
|
1786
1769
|
.string()
|
|
1787
1770
|
.optional()
|
|
@@ -1790,6 +1773,7 @@ export const locateCaseResponse = zod
|
|
|
1790
1773
|
.object({
|
|
1791
1774
|
id: zod.string().optional(),
|
|
1792
1775
|
name: zod.string().optional(),
|
|
1776
|
+
type: zod.string().optional(),
|
|
1793
1777
|
})
|
|
1794
1778
|
.optional(),
|
|
1795
1779
|
id: zod.string().optional().describe('Storage file ID.'),
|
|
@@ -2355,12 +2339,6 @@ export const updateCase2Response = zod.object({
|
|
|
2355
2339
|
.array(
|
|
2356
2340
|
zod
|
|
2357
2341
|
.object({
|
|
2358
|
-
author: zod
|
|
2359
|
-
.object({
|
|
2360
|
-
id: zod.string().optional(),
|
|
2361
|
-
name: zod.string().optional(),
|
|
2362
|
-
})
|
|
2363
|
-
.optional(),
|
|
2364
2342
|
createdAt: zod
|
|
2365
2343
|
.string()
|
|
2366
2344
|
.optional()
|
|
@@ -2369,6 +2347,7 @@ export const updateCase2Response = zod.object({
|
|
|
2369
2347
|
.object({
|
|
2370
2348
|
id: zod.string().optional(),
|
|
2371
2349
|
name: zod.string().optional(),
|
|
2350
|
+
type: zod.string().optional(),
|
|
2372
2351
|
})
|
|
2373
2352
|
.optional(),
|
|
2374
2353
|
id: zod.string().optional().describe('Storage file ID.'),
|
|
@@ -2949,12 +2928,6 @@ export const updateCaseResponse = zod.object({
|
|
|
2949
2928
|
.array(
|
|
2950
2929
|
zod
|
|
2951
2930
|
.object({
|
|
2952
|
-
author: zod
|
|
2953
|
-
.object({
|
|
2954
|
-
id: zod.string().optional(),
|
|
2955
|
-
name: zod.string().optional(),
|
|
2956
|
-
})
|
|
2957
|
-
.optional(),
|
|
2958
2931
|
createdAt: zod
|
|
2959
2932
|
.string()
|
|
2960
2933
|
.optional()
|
|
@@ -2963,6 +2936,7 @@ export const updateCaseResponse = zod.object({
|
|
|
2963
2936
|
.object({
|
|
2964
2937
|
id: zod.string().optional(),
|
|
2965
2938
|
name: zod.string().optional(),
|
|
2939
|
+
type: zod.string().optional(),
|
|
2966
2940
|
})
|
|
2967
2941
|
.optional(),
|
|
2968
2942
|
id: zod.string().optional().describe('Storage file ID.'),
|
|
@@ -3288,7 +3262,7 @@ export const searchCases2Params = zod.object({
|
|
|
3288
3262
|
export const searchCases2QueryParams = zod.object({
|
|
3289
3263
|
page: zod.number().optional().describe('Page number for pagination.'),
|
|
3290
3264
|
size: zod.number().optional().describe('Number of results per page.'),
|
|
3291
|
-
q: zod.string().optional().describe('
|
|
3265
|
+
q: zod.string().optional().describe('General query string.'),
|
|
3292
3266
|
ids: zod
|
|
3293
3267
|
.array(zod.string())
|
|
3294
3268
|
.optional()
|
|
@@ -3302,6 +3276,10 @@ export const searchCases2QueryParams = zod.object({
|
|
|
3302
3276
|
.array(zod.string())
|
|
3303
3277
|
.optional()
|
|
3304
3278
|
.describe('Key-value pairs for additional filtering.'),
|
|
3279
|
+
qin: zod
|
|
3280
|
+
.string()
|
|
3281
|
+
.optional()
|
|
3282
|
+
.describe("Specify which fields to apply 'q' to."),
|
|
3305
3283
|
});
|
|
3306
3284
|
|
|
3307
3285
|
export const searchCases2ResponseItemsItemRelatedDataItemRelationTypeDefault =
|
|
@@ -3459,12 +3437,6 @@ export const searchCases2Response = zod
|
|
|
3459
3437
|
.array(
|
|
3460
3438
|
zod
|
|
3461
3439
|
.object({
|
|
3462
|
-
author: zod
|
|
3463
|
-
.object({
|
|
3464
|
-
id: zod.string().optional(),
|
|
3465
|
-
name: zod.string().optional(),
|
|
3466
|
-
})
|
|
3467
|
-
.optional(),
|
|
3468
3440
|
createdAt: zod
|
|
3469
3441
|
.string()
|
|
3470
3442
|
.optional()
|
|
@@ -3473,6 +3445,7 @@ export const searchCases2Response = zod
|
|
|
3473
3445
|
.object({
|
|
3474
3446
|
id: zod.string().optional(),
|
|
3475
3447
|
name: zod.string().optional(),
|
|
3448
|
+
type: zod.string().optional(),
|
|
3476
3449
|
})
|
|
3477
3450
|
.optional(),
|
|
3478
3451
|
id: zod
|
|
@@ -467,6 +467,10 @@ export const getContactsSearchContactsResponseMock = (
|
|
|
467
467
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
468
468
|
undefined,
|
|
469
469
|
]),
|
|
470
|
+
externalId: faker.helpers.arrayElement([
|
|
471
|
+
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
472
|
+
undefined,
|
|
473
|
+
]),
|
|
470
474
|
id: faker.helpers.arrayElement([
|
|
471
475
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
472
476
|
undefined,
|
|
@@ -1770,6 +1774,10 @@ export const getContactsCreateContactResponseMock = (
|
|
|
1770
1774
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
1771
1775
|
undefined,
|
|
1772
1776
|
]),
|
|
1777
|
+
externalId: faker.helpers.arrayElement([
|
|
1778
|
+
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
1779
|
+
undefined,
|
|
1780
|
+
]),
|
|
1773
1781
|
id: faker.helpers.arrayElement([
|
|
1774
1782
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
1775
1783
|
undefined,
|
|
@@ -3037,6 +3045,10 @@ export const getContactsDeleteContactResponseMock = (
|
|
|
3037
3045
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
3038
3046
|
undefined,
|
|
3039
3047
|
]),
|
|
3048
|
+
externalId: faker.helpers.arrayElement([
|
|
3049
|
+
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
3050
|
+
undefined,
|
|
3051
|
+
]),
|
|
3040
3052
|
id: faker.helpers.arrayElement([
|
|
3041
3053
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
3042
3054
|
undefined,
|
|
@@ -4304,6 +4316,10 @@ export const getContactsLocateContactResponseMock = (
|
|
|
4304
4316
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
4305
4317
|
undefined,
|
|
4306
4318
|
]),
|
|
4319
|
+
externalId: faker.helpers.arrayElement([
|
|
4320
|
+
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
4321
|
+
undefined,
|
|
4322
|
+
]),
|
|
4307
4323
|
id: faker.helpers.arrayElement([
|
|
4308
4324
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
4309
4325
|
undefined,
|
|
@@ -5571,6 +5587,10 @@ export const getContactsUpdateContactResponseMock = (
|
|
|
5571
5587
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
5572
5588
|
undefined,
|
|
5573
5589
|
]),
|
|
5590
|
+
externalId: faker.helpers.arrayElement([
|
|
5591
|
+
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
5592
|
+
undefined,
|
|
5593
|
+
]),
|
|
5574
5594
|
id: faker.helpers.arrayElement([
|
|
5575
5595
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
5576
5596
|
undefined,
|
|
@@ -576,6 +576,10 @@ export const contactsSearchContactsResponse = zod
|
|
|
576
576
|
.describe(
|
|
577
577
|
'Unique ID of the latest version of the update.\nThis ID changes after any update to the underlying value(s).',
|
|
578
578
|
),
|
|
579
|
+
externalId: zod
|
|
580
|
+
.string()
|
|
581
|
+
.optional()
|
|
582
|
+
.describe('External user id.'),
|
|
579
583
|
id: zod
|
|
580
584
|
.string()
|
|
581
585
|
.optional()
|
|
@@ -2271,6 +2275,10 @@ export const contactsCreateContactResponse = zod
|
|
|
2271
2275
|
.describe(
|
|
2272
2276
|
'Unique ID of the latest version of the update.\nThis ID changes after any update to the underlying value(s).',
|
|
2273
2277
|
),
|
|
2278
|
+
externalId: zod
|
|
2279
|
+
.string()
|
|
2280
|
+
.optional()
|
|
2281
|
+
.describe('External user id.'),
|
|
2274
2282
|
id: zod
|
|
2275
2283
|
.string()
|
|
2276
2284
|
.optional()
|
|
@@ -3549,6 +3557,10 @@ export const contactsDeleteContactResponse = zod
|
|
|
3549
3557
|
.describe(
|
|
3550
3558
|
'Unique ID of the latest version of the update.\nThis ID changes after any update to the underlying value(s).',
|
|
3551
3559
|
),
|
|
3560
|
+
externalId: zod
|
|
3561
|
+
.string()
|
|
3562
|
+
.optional()
|
|
3563
|
+
.describe('External user id.'),
|
|
3552
3564
|
id: zod
|
|
3553
3565
|
.string()
|
|
3554
3566
|
.optional()
|
|
@@ -4839,6 +4851,10 @@ export const contactsLocateContactResponse = zod
|
|
|
4839
4851
|
.describe(
|
|
4840
4852
|
'Unique ID of the latest version of the update.\nThis ID changes after any update to the underlying value(s).',
|
|
4841
4853
|
),
|
|
4854
|
+
externalId: zod
|
|
4855
|
+
.string()
|
|
4856
|
+
.optional()
|
|
4857
|
+
.describe('External user id.'),
|
|
4842
4858
|
id: zod
|
|
4843
4859
|
.string()
|
|
4844
4860
|
.optional()
|
|
@@ -6472,6 +6488,10 @@ export const contactsUpdateContactResponse = zod
|
|
|
6472
6488
|
.describe(
|
|
6473
6489
|
'Unique ID of the latest version of the update.\nThis ID changes after any update to the underlying value(s).',
|
|
6474
6490
|
),
|
|
6491
|
+
externalId: zod
|
|
6492
|
+
.string()
|
|
6493
|
+
.optional()
|
|
6494
|
+
.describe('External user id.'),
|
|
6475
6495
|
id: zod
|
|
6476
6496
|
.string()
|
|
6477
6497
|
.optional()
|
|
@@ -757,6 +757,10 @@ export const getGroupsAddContactsToGroupsResponseMock = (
|
|
|
757
757
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
758
758
|
undefined,
|
|
759
759
|
]),
|
|
760
|
+
externalId: faker.helpers.arrayElement([
|
|
761
|
+
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
762
|
+
undefined,
|
|
763
|
+
]),
|
|
760
764
|
id: faker.helpers.arrayElement([
|
|
761
765
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
762
766
|
undefined,
|
|
@@ -2074,6 +2078,10 @@ export const getGroupsRemoveContactsFromGroupResponseMock = (
|
|
|
2074
2078
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
2075
2079
|
undefined,
|
|
2076
2080
|
]),
|
|
2081
|
+
externalId: faker.helpers.arrayElement([
|
|
2082
|
+
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
2083
|
+
undefined,
|
|
2084
|
+
]),
|
|
2077
2085
|
id: faker.helpers.arrayElement([
|
|
2078
2086
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
2079
2087
|
undefined,
|