@webitel/api-services 0.1.41 → 0.1.43
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 +2 -2
- package/src/gen/_models/apiGeneratePasswordRequest.ts +12 -0
- package/src/gen/_models/apiGeneratePasswordRequest.zod.ts +12 -0
- package/src/gen/_models/{updateUser2BodyProfile.ts → apiGeneratePasswordResponse.ts} +3 -3
- package/src/gen/_models/{updateUser2BodyProfile.zod.ts → apiGeneratePasswordResponse.zod.ts} +3 -3
- package/src/gen/_models/{updateUserBody.ts → apiInputUser.ts} +9 -15
- package/src/gen/_models/{updateUserBody.zod.ts → apiInputUser.zod.ts} +9 -15
- package/src/gen/_models/apiInputUserBody.ts +12 -0
- package/src/gen/_models/apiInputUserBody.zod.ts +12 -0
- package/src/gen/_models/apiInputUserDevice.ts +13 -0
- package/src/gen/_models/apiInputUserDevice.zod.ts +13 -0
- package/src/gen/_models/{updateUserBodyProfile.ts → apiInputUserProfile.ts} +1 -1
- package/src/gen/_models/{updateUserBodyProfile.zod.ts → apiInputUserProfile.zod.ts} +1 -1
- package/src/gen/_models/apiUser.ts +7 -7
- package/src/gen/_models/apiUser.zod.ts +7 -7
- package/src/gen/_models/apiUserinfo.ts +1 -0
- package/src/gen/_models/apiUserinfo.zod.ts +1 -0
- package/src/gen/_models/contactsCreateContactError.ts +20 -0
- package/src/gen/_models/contactsCreateContactError.zod.ts +20 -0
- package/src/gen/_models/contactsCreateContactsBulkResponse.ts +20 -0
- package/src/gen/_models/contactsCreateContactsBulkResponse.zod.ts +20 -0
- package/src/gen/_models/createContactsParams.ts +13 -0
- package/src/gen/_models/createContactsParams.zod.ts +13 -0
- package/src/gen/_models/createUserParams.ts +31 -0
- package/src/gen/_models/createUserParams.zod.ts +31 -0
- package/src/gen/_models/engineSystemSettingName.ts +2 -0
- package/src/gen/_models/engineSystemSettingName.zod.ts +2 -0
- package/src/gen/_models/index.ts +15 -9
- package/src/gen/_models/index.zod.ts +15 -9
- package/src/gen/_models/messageHistorySearchLeftThreadsMessagesHistoryParams.ts +49 -0
- package/src/gen/_models/messageHistorySearchLeftThreadsMessagesHistoryParams.zod.ts +49 -0
- package/src/gen/_models/searchSystemSettingNameItem.ts +2 -0
- package/src/gen/_models/searchSystemSettingNameItem.zod.ts +2 -0
- package/src/gen/_models/signupParams.ts +5 -0
- package/src/gen/_models/signupParams.zod.ts +5 -0
- package/src/gen/_models/webitelCasesInputPriority.ts +5 -2
- package/src/gen/_models/webitelCasesInputPriority.zod.ts +5 -2
- package/src/gen/_models/webitelCasesPriority.ts +10 -7
- package/src/gen/_models/webitelCasesPriority.zod.ts +10 -7
- package/src/gen/_models/webitelImApiGatewayV1SendContactRequest.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendContactRequest.zod.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendDocumentRequest.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendDocumentRequest.zod.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendImageRequest.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendImageRequest.zod.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendInteractiveMessageRequest.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendInteractiveMessageRequest.zod.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendLocationRequest.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendLocationRequest.zod.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendTextRequest.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendTextRequest.zod.ts +2 -0
- package/src/gen/_models/webitelImProviderV1CreateGateRequest.ts +17 -0
- package/src/gen/_models/webitelImProviderV1CreateGateRequest.zod.ts +17 -0
- package/src/gen/_models/webitelImProviderV1CreateWABAGateRequest.ts +14 -0
- package/src/gen/_models/webitelImProviderV1CreateWABAGateRequest.zod.ts +14 -0
- package/src/gen/_models/webitelImProviderV1GateResponse.ts +21 -0
- package/src/gen/_models/webitelImProviderV1GateResponse.zod.ts +21 -0
- package/src/gen/_models/webitelImProviderV1ProviderSendDocumentRequest.ts +1 -0
- package/src/gen/_models/webitelImProviderV1ProviderSendDocumentRequest.zod.ts +1 -0
- package/src/gen/_models/webitelImProviderV1ProviderSendImageRequest.ts +1 -0
- package/src/gen/_models/webitelImProviderV1ProviderSendImageRequest.zod.ts +1 -0
- package/src/gen/_models/webitelImProviderV1ProviderSendTextRequest.ts +1 -0
- package/src/gen/_models/webitelImProviderV1ProviderSendTextRequest.zod.ts +1 -0
- package/src/gen/_models/webitelImProviderV1WhatsAppBusinessAccount.ts +16 -0
- package/src/gen/_models/webitelImProviderV1WhatsAppBusinessAccount.zod.ts +16 -0
- package/src/gen/auth/auth.msw.ts +18 -0
- package/src/gen/auth/auth.zod.ts +8 -0
- package/src/gen/cases/cases.msw.ts +1093 -1387
- package/src/gen/cases/cases.zod.ts +210 -245
- package/src/gen/catalogs/catalogs.msw.ts +836 -1088
- package/src/gen/catalogs/catalogs.zod.ts +198 -216
- package/src/gen/contacts/contacts.msw.ts +2900 -1
- package/src/gen/contacts/contacts.ts +21 -0
- package/src/gen/contacts/contacts.zod.ts +2083 -0
- package/src/gen/priorities/priorities.msw.ts +408 -534
- package/src/gen/priorities/priorities.zod.ts +108 -113
- package/src/gen/services/services.msw.ts +613 -802
- package/src/gen/services/services.zod.ts +96 -108
- package/src/gen/system-setting-service/system-setting-service.zod.ts +16 -0
- package/src/gen/users/users.msw.ts +434 -397
- package/src/gen/users/users.ts +46 -57
- package/src/gen/users/users.zod.ts +443 -459
- package/src/gen/webitel-im-api-gateway-v1-message/webitel-im-api-gateway-v1-message.zod.ts +42 -0
- package/src/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.msw.ts +931 -0
- package/src/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.ts +27 -0
- package/src/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.ts +576 -0
- package/src/gen/webitel-im-provider-v1-providermessageservice/webitel-im-provider-v1-providermessageservice.zod.ts +3 -0
- package/src/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.msw.ts +94 -19
- package/src/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.ts +6 -8
- package/src/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.zod.ts +64 -42
- package/src/validations/casePriority/casePriority.validations.ts +9 -0
- package/src/validations/caseSource/caseSource.validations.ts +7 -16
- package/src/validations/caseStatus/caseStatus.validations.ts +8 -0
- package/src/validations/caseStatusCondition/caseStatusCondition.validations.ts +10 -0
- package/src/validations/index.ts +4 -0
- package/src/validations/types.ts +9 -0
- package/types/gen/_models/apiGeneratePasswordRequest.d.ts +11 -0
- package/types/gen/_models/apiGeneratePasswordRequest.zod.d.ts +11 -0
- package/types/gen/_models/apiGeneratePasswordResponse.d.ts +9 -0
- package/types/gen/_models/apiGeneratePasswordResponse.zod.d.ts +9 -0
- package/types/gen/_models/{updateUserBody.d.ts → apiInputUser.d.ts} +9 -15
- package/types/gen/_models/{updateUserBody.zod.d.ts → apiInputUser.zod.d.ts} +9 -15
- package/types/gen/_models/apiInputUserBody.d.ts +11 -0
- package/types/gen/_models/apiInputUserBody.zod.d.ts +11 -0
- package/types/gen/_models/apiInputUserDevice.d.ts +12 -0
- package/types/gen/_models/apiInputUserDevice.zod.d.ts +12 -0
- package/types/gen/_models/{updateUserBodyProfile.d.ts → apiInputUserProfile.d.ts} +1 -1
- package/types/gen/_models/{updateUserBodyProfile.zod.d.ts → apiInputUserProfile.zod.d.ts} +1 -1
- package/types/gen/_models/apiUser.d.ts +7 -7
- package/types/gen/_models/apiUser.zod.d.ts +7 -7
- package/types/gen/_models/apiUserinfo.d.ts +1 -0
- package/types/gen/_models/apiUserinfo.zod.d.ts +1 -0
- package/types/gen/_models/contactsCreateContactError.d.ts +19 -0
- package/types/gen/_models/contactsCreateContactError.zod.d.ts +19 -0
- package/types/gen/_models/contactsCreateContactsBulkResponse.d.ts +19 -0
- package/types/gen/_models/contactsCreateContactsBulkResponse.zod.d.ts +19 -0
- package/types/gen/_models/createContactsParams.d.ts +12 -0
- package/types/gen/_models/createContactsParams.zod.d.ts +12 -0
- package/types/gen/_models/createUserParams.d.ts +30 -0
- package/types/gen/_models/createUserParams.zod.d.ts +30 -0
- package/types/gen/_models/engineSystemSettingName.d.ts +2 -0
- package/types/gen/_models/engineSystemSettingName.zod.d.ts +2 -0
- package/types/gen/_models/index.zod.d.ts +15 -9
- package/types/gen/_models/messageHistorySearchLeftThreadsMessagesHistoryParams.d.ts +48 -0
- package/types/gen/_models/messageHistorySearchLeftThreadsMessagesHistoryParams.zod.d.ts +48 -0
- package/types/gen/_models/searchSystemSettingNameItem.d.ts +2 -0
- package/types/gen/_models/searchSystemSettingNameItem.zod.d.ts +2 -0
- package/types/gen/_models/signupParams.d.ts +5 -0
- package/types/gen/_models/signupParams.zod.d.ts +5 -0
- package/types/gen/_models/webitelCasesInputPriority.d.ts +5 -2
- package/types/gen/_models/webitelCasesInputPriority.zod.d.ts +5 -2
- package/types/gen/_models/webitelCasesPriority.d.ts +10 -7
- package/types/gen/_models/webitelCasesPriority.zod.d.ts +10 -7
- package/types/gen/_models/webitelImApiGatewayV1SendContactRequest.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendContactRequest.zod.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendDocumentRequest.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendDocumentRequest.zod.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendImageRequest.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendImageRequest.zod.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendInteractiveMessageRequest.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendInteractiveMessageRequest.zod.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendLocationRequest.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendLocationRequest.zod.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendTextRequest.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendTextRequest.zod.d.ts +2 -0
- package/types/gen/_models/webitelImProviderV1CreateGateRequest.d.ts +16 -0
- package/types/gen/_models/webitelImProviderV1CreateGateRequest.zod.d.ts +16 -0
- package/types/gen/_models/webitelImProviderV1CreateWABAGateRequest.d.ts +13 -0
- package/types/gen/_models/webitelImProviderV1CreateWABAGateRequest.zod.d.ts +13 -0
- package/types/gen/_models/webitelImProviderV1GateResponse.d.ts +20 -0
- package/types/gen/_models/webitelImProviderV1GateResponse.zod.d.ts +20 -0
- package/types/gen/_models/webitelImProviderV1ProviderSendDocumentRequest.d.ts +1 -0
- package/types/gen/_models/webitelImProviderV1ProviderSendDocumentRequest.zod.d.ts +1 -0
- package/types/gen/_models/webitelImProviderV1ProviderSendImageRequest.d.ts +1 -0
- package/types/gen/_models/webitelImProviderV1ProviderSendImageRequest.zod.d.ts +1 -0
- package/types/gen/_models/webitelImProviderV1ProviderSendTextRequest.d.ts +1 -0
- package/types/gen/_models/webitelImProviderV1ProviderSendTextRequest.zod.d.ts +1 -0
- package/types/gen/_models/webitelImProviderV1WhatsAppBusinessAccount.d.ts +15 -0
- package/types/gen/_models/webitelImProviderV1WhatsAppBusinessAccount.zod.d.ts +15 -0
- package/types/gen/auth/auth.zod.d.ts +3 -0
- package/types/gen/cases/cases.zod.d.ts +126 -126
- package/types/gen/catalogs/catalogs.zod.d.ts +108 -108
- package/types/gen/contacts/contacts.d.ts +3 -1
- package/types/gen/contacts/contacts.msw.d.ts +3 -1
- package/types/gen/contacts/contacts.zod.d.ts +665 -0
- package/types/gen/priorities/priorities.zod.d.ts +60 -60
- package/types/gen/services/services.zod.d.ts +54 -54
- package/types/gen/system-setting-service/system-setting-service.zod.d.ts +16 -0
- package/types/gen/users/users.d.ts +8 -25
- package/types/gen/users/users.msw.d.ts +7 -5
- package/types/gen/users/users.zod.d.ts +136 -139
- package/types/gen/webitel-im-api-gateway-v1-message/webitel-im-api-gateway-v1-message.zod.d.ts +30 -0
- package/types/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.d.ts +3 -1
- package/types/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.msw.d.ts +2 -0
- package/types/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.d.ts +167 -0
- package/types/gen/webitel-im-provider-v1-providermessageservice/webitel-im-provider-v1-providermessageservice.zod.d.ts +3 -0
- package/types/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.d.ts +3 -3
- package/types/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.msw.d.ts +3 -3
- package/types/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.zod.d.ts +40 -17
- package/types/validations/casePriority/casePriority.validations.d.ts +11 -0
- package/types/validations/caseSource/caseSource.validations.d.ts +11 -1
- package/types/validations/caseStatus/caseStatus.validations.d.ts +10 -0
- package/types/validations/caseStatusCondition/caseStatusCondition.validations.d.ts +13 -0
- package/types/validations/index.d.ts +4 -0
- package/types/validations/types.d.ts +8 -0
- package/src/gen/_models/apiCreateUserRequest.ts +0 -13
- package/src/gen/_models/apiCreateUserRequest.zod.ts +0 -13
- package/src/gen/_models/updateUser2Body.ts +0 -45
- package/src/gen/_models/updateUser2Body.zod.ts +0 -45
- package/src/gen/_models/updateUserUserBody.ts +0 -45
- package/src/gen/_models/updateUserUserBody.zod.ts +0 -45
- package/src/gen/_models/updateUserUserBodyProfile.ts +0 -10
- package/src/gen/_models/updateUserUserBodyProfile.zod.ts +0 -10
- package/src/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateRequest.ts +0 -17
- package/src/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateRequest.zod.ts +0 -17
- package/src/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateResponse.ts +0 -14
- package/src/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateResponse.zod.ts +0 -14
- package/types/gen/_models/apiCreateUserRequest.d.ts +0 -12
- package/types/gen/_models/apiCreateUserRequest.zod.d.ts +0 -12
- package/types/gen/_models/updateUser2Body.d.ts +0 -44
- package/types/gen/_models/updateUser2Body.zod.d.ts +0 -44
- package/types/gen/_models/updateUser2BodyProfile.d.ts +0 -9
- package/types/gen/_models/updateUser2BodyProfile.zod.d.ts +0 -9
- package/types/gen/_models/updateUserUserBody.d.ts +0 -44
- package/types/gen/_models/updateUserUserBody.zod.d.ts +0 -44
- package/types/gen/_models/updateUserUserBodyProfile.d.ts +0 -9
- package/types/gen/_models/updateUserUserBodyProfile.zod.d.ts +0 -9
- package/types/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateRequest.d.ts +0 -16
- package/types/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateRequest.zod.d.ts +0 -16
- package/types/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateResponse.d.ts +0 -13
- package/types/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateResponse.zod.d.ts +0 -13
|
@@ -102,47 +102,38 @@ export const getListServicesResponseMock = (
|
|
|
102
102
|
]),
|
|
103
103
|
defaultPriority: faker.helpers.arrayElement([
|
|
104
104
|
{
|
|
105
|
-
color: faker.
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
max: 20,
|
|
110
|
-
},
|
|
111
|
-
}),
|
|
112
|
-
undefined,
|
|
113
|
-
]),
|
|
114
|
-
createdAt: faker.helpers.arrayElement([
|
|
115
|
-
faker.string.alpha({
|
|
116
|
-
length: {
|
|
117
|
-
min: 10,
|
|
118
|
-
max: 20,
|
|
119
|
-
},
|
|
120
|
-
}),
|
|
121
|
-
undefined,
|
|
122
|
-
]),
|
|
123
|
-
createdBy: faker.helpers.arrayElement([
|
|
124
|
-
{
|
|
125
|
-
id: faker.helpers.arrayElement([
|
|
126
|
-
faker.string.alpha({
|
|
127
|
-
length: {
|
|
128
|
-
min: 10,
|
|
129
|
-
max: 20,
|
|
130
|
-
},
|
|
131
|
-
}),
|
|
132
|
-
undefined,
|
|
133
|
-
]),
|
|
134
|
-
name: faker.helpers.arrayElement([
|
|
135
|
-
faker.string.alpha({
|
|
136
|
-
length: {
|
|
137
|
-
min: 10,
|
|
138
|
-
max: 20,
|
|
139
|
-
},
|
|
140
|
-
}),
|
|
141
|
-
undefined,
|
|
142
|
-
]),
|
|
105
|
+
color: faker.string.alpha({
|
|
106
|
+
length: {
|
|
107
|
+
min: 10,
|
|
108
|
+
max: 20,
|
|
143
109
|
},
|
|
144
|
-
|
|
145
|
-
|
|
110
|
+
}),
|
|
111
|
+
createdAt: faker.string.alpha({
|
|
112
|
+
length: {
|
|
113
|
+
min: 10,
|
|
114
|
+
max: 20,
|
|
115
|
+
},
|
|
116
|
+
}),
|
|
117
|
+
createdBy: {
|
|
118
|
+
id: faker.helpers.arrayElement([
|
|
119
|
+
faker.string.alpha({
|
|
120
|
+
length: {
|
|
121
|
+
min: 10,
|
|
122
|
+
max: 20,
|
|
123
|
+
},
|
|
124
|
+
}),
|
|
125
|
+
undefined,
|
|
126
|
+
]),
|
|
127
|
+
name: faker.helpers.arrayElement([
|
|
128
|
+
faker.string.alpha({
|
|
129
|
+
length: {
|
|
130
|
+
min: 10,
|
|
131
|
+
max: 20,
|
|
132
|
+
},
|
|
133
|
+
}),
|
|
134
|
+
undefined,
|
|
135
|
+
]),
|
|
136
|
+
},
|
|
146
137
|
description: faker.helpers.arrayElement([
|
|
147
138
|
faker.string.alpha({
|
|
148
139
|
length: {
|
|
@@ -152,56 +143,44 @@ export const getListServicesResponseMock = (
|
|
|
152
143
|
}),
|
|
153
144
|
undefined,
|
|
154
145
|
]),
|
|
155
|
-
id: faker.
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
max: 20,
|
|
160
|
-
},
|
|
161
|
-
}),
|
|
162
|
-
undefined,
|
|
163
|
-
]),
|
|
164
|
-
name: faker.helpers.arrayElement([
|
|
165
|
-
faker.string.alpha({
|
|
166
|
-
length: {
|
|
167
|
-
min: 10,
|
|
168
|
-
max: 20,
|
|
169
|
-
},
|
|
170
|
-
}),
|
|
171
|
-
undefined,
|
|
172
|
-
]),
|
|
173
|
-
updatedAt: faker.helpers.arrayElement([
|
|
174
|
-
faker.string.alpha({
|
|
175
|
-
length: {
|
|
176
|
-
min: 10,
|
|
177
|
-
max: 20,
|
|
178
|
-
},
|
|
179
|
-
}),
|
|
180
|
-
undefined,
|
|
181
|
-
]),
|
|
182
|
-
updatedBy: faker.helpers.arrayElement([
|
|
183
|
-
{
|
|
184
|
-
id: faker.helpers.arrayElement([
|
|
185
|
-
faker.string.alpha({
|
|
186
|
-
length: {
|
|
187
|
-
min: 10,
|
|
188
|
-
max: 20,
|
|
189
|
-
},
|
|
190
|
-
}),
|
|
191
|
-
undefined,
|
|
192
|
-
]),
|
|
193
|
-
name: faker.helpers.arrayElement([
|
|
194
|
-
faker.string.alpha({
|
|
195
|
-
length: {
|
|
196
|
-
min: 10,
|
|
197
|
-
max: 20,
|
|
198
|
-
},
|
|
199
|
-
}),
|
|
200
|
-
undefined,
|
|
201
|
-
]),
|
|
146
|
+
id: faker.string.alpha({
|
|
147
|
+
length: {
|
|
148
|
+
min: 10,
|
|
149
|
+
max: 20,
|
|
202
150
|
},
|
|
203
|
-
|
|
204
|
-
|
|
151
|
+
}),
|
|
152
|
+
name: faker.string.alpha({
|
|
153
|
+
length: {
|
|
154
|
+
min: 10,
|
|
155
|
+
max: 20,
|
|
156
|
+
},
|
|
157
|
+
}),
|
|
158
|
+
updatedAt: faker.string.alpha({
|
|
159
|
+
length: {
|
|
160
|
+
min: 10,
|
|
161
|
+
max: 20,
|
|
162
|
+
},
|
|
163
|
+
}),
|
|
164
|
+
updatedBy: {
|
|
165
|
+
id: faker.helpers.arrayElement([
|
|
166
|
+
faker.string.alpha({
|
|
167
|
+
length: {
|
|
168
|
+
min: 10,
|
|
169
|
+
max: 20,
|
|
170
|
+
},
|
|
171
|
+
}),
|
|
172
|
+
undefined,
|
|
173
|
+
]),
|
|
174
|
+
name: faker.helpers.arrayElement([
|
|
175
|
+
faker.string.alpha({
|
|
176
|
+
length: {
|
|
177
|
+
min: 10,
|
|
178
|
+
max: 20,
|
|
179
|
+
},
|
|
180
|
+
}),
|
|
181
|
+
undefined,
|
|
182
|
+
]),
|
|
183
|
+
},
|
|
205
184
|
},
|
|
206
185
|
undefined,
|
|
207
186
|
]),
|
|
@@ -432,47 +411,38 @@ export const getCreateServiceResponseMock = (
|
|
|
432
411
|
]),
|
|
433
412
|
defaultPriority: faker.helpers.arrayElement([
|
|
434
413
|
{
|
|
435
|
-
color: faker.
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
max: 20,
|
|
440
|
-
},
|
|
441
|
-
}),
|
|
442
|
-
undefined,
|
|
443
|
-
]),
|
|
444
|
-
createdAt: faker.helpers.arrayElement([
|
|
445
|
-
faker.string.alpha({
|
|
446
|
-
length: {
|
|
447
|
-
min: 10,
|
|
448
|
-
max: 20,
|
|
449
|
-
},
|
|
450
|
-
}),
|
|
451
|
-
undefined,
|
|
452
|
-
]),
|
|
453
|
-
createdBy: faker.helpers.arrayElement([
|
|
454
|
-
{
|
|
455
|
-
id: faker.helpers.arrayElement([
|
|
456
|
-
faker.string.alpha({
|
|
457
|
-
length: {
|
|
458
|
-
min: 10,
|
|
459
|
-
max: 20,
|
|
460
|
-
},
|
|
461
|
-
}),
|
|
462
|
-
undefined,
|
|
463
|
-
]),
|
|
464
|
-
name: faker.helpers.arrayElement([
|
|
465
|
-
faker.string.alpha({
|
|
466
|
-
length: {
|
|
467
|
-
min: 10,
|
|
468
|
-
max: 20,
|
|
469
|
-
},
|
|
470
|
-
}),
|
|
471
|
-
undefined,
|
|
472
|
-
]),
|
|
414
|
+
color: faker.string.alpha({
|
|
415
|
+
length: {
|
|
416
|
+
min: 10,
|
|
417
|
+
max: 20,
|
|
473
418
|
},
|
|
474
|
-
|
|
475
|
-
|
|
419
|
+
}),
|
|
420
|
+
createdAt: faker.string.alpha({
|
|
421
|
+
length: {
|
|
422
|
+
min: 10,
|
|
423
|
+
max: 20,
|
|
424
|
+
},
|
|
425
|
+
}),
|
|
426
|
+
createdBy: {
|
|
427
|
+
id: faker.helpers.arrayElement([
|
|
428
|
+
faker.string.alpha({
|
|
429
|
+
length: {
|
|
430
|
+
min: 10,
|
|
431
|
+
max: 20,
|
|
432
|
+
},
|
|
433
|
+
}),
|
|
434
|
+
undefined,
|
|
435
|
+
]),
|
|
436
|
+
name: faker.helpers.arrayElement([
|
|
437
|
+
faker.string.alpha({
|
|
438
|
+
length: {
|
|
439
|
+
min: 10,
|
|
440
|
+
max: 20,
|
|
441
|
+
},
|
|
442
|
+
}),
|
|
443
|
+
undefined,
|
|
444
|
+
]),
|
|
445
|
+
},
|
|
476
446
|
description: faker.helpers.arrayElement([
|
|
477
447
|
faker.string.alpha({
|
|
478
448
|
length: {
|
|
@@ -482,56 +452,44 @@ export const getCreateServiceResponseMock = (
|
|
|
482
452
|
}),
|
|
483
453
|
undefined,
|
|
484
454
|
]),
|
|
485
|
-
id: faker.
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
max: 20,
|
|
490
|
-
},
|
|
491
|
-
}),
|
|
492
|
-
undefined,
|
|
493
|
-
]),
|
|
494
|
-
name: faker.helpers.arrayElement([
|
|
495
|
-
faker.string.alpha({
|
|
496
|
-
length: {
|
|
497
|
-
min: 10,
|
|
498
|
-
max: 20,
|
|
499
|
-
},
|
|
500
|
-
}),
|
|
501
|
-
undefined,
|
|
502
|
-
]),
|
|
503
|
-
updatedAt: faker.helpers.arrayElement([
|
|
504
|
-
faker.string.alpha({
|
|
505
|
-
length: {
|
|
506
|
-
min: 10,
|
|
507
|
-
max: 20,
|
|
508
|
-
},
|
|
509
|
-
}),
|
|
510
|
-
undefined,
|
|
511
|
-
]),
|
|
512
|
-
updatedBy: faker.helpers.arrayElement([
|
|
513
|
-
{
|
|
514
|
-
id: faker.helpers.arrayElement([
|
|
515
|
-
faker.string.alpha({
|
|
516
|
-
length: {
|
|
517
|
-
min: 10,
|
|
518
|
-
max: 20,
|
|
519
|
-
},
|
|
520
|
-
}),
|
|
521
|
-
undefined,
|
|
522
|
-
]),
|
|
523
|
-
name: faker.helpers.arrayElement([
|
|
524
|
-
faker.string.alpha({
|
|
525
|
-
length: {
|
|
526
|
-
min: 10,
|
|
527
|
-
max: 20,
|
|
528
|
-
},
|
|
529
|
-
}),
|
|
530
|
-
undefined,
|
|
531
|
-
]),
|
|
455
|
+
id: faker.string.alpha({
|
|
456
|
+
length: {
|
|
457
|
+
min: 10,
|
|
458
|
+
max: 20,
|
|
532
459
|
},
|
|
533
|
-
|
|
534
|
-
|
|
460
|
+
}),
|
|
461
|
+
name: faker.string.alpha({
|
|
462
|
+
length: {
|
|
463
|
+
min: 10,
|
|
464
|
+
max: 20,
|
|
465
|
+
},
|
|
466
|
+
}),
|
|
467
|
+
updatedAt: faker.string.alpha({
|
|
468
|
+
length: {
|
|
469
|
+
min: 10,
|
|
470
|
+
max: 20,
|
|
471
|
+
},
|
|
472
|
+
}),
|
|
473
|
+
updatedBy: {
|
|
474
|
+
id: faker.helpers.arrayElement([
|
|
475
|
+
faker.string.alpha({
|
|
476
|
+
length: {
|
|
477
|
+
min: 10,
|
|
478
|
+
max: 20,
|
|
479
|
+
},
|
|
480
|
+
}),
|
|
481
|
+
undefined,
|
|
482
|
+
]),
|
|
483
|
+
name: faker.helpers.arrayElement([
|
|
484
|
+
faker.string.alpha({
|
|
485
|
+
length: {
|
|
486
|
+
min: 10,
|
|
487
|
+
max: 20,
|
|
488
|
+
},
|
|
489
|
+
}),
|
|
490
|
+
undefined,
|
|
491
|
+
]),
|
|
492
|
+
},
|
|
535
493
|
},
|
|
536
494
|
undefined,
|
|
537
495
|
]),
|
|
@@ -692,47 +650,38 @@ export const getCreateServiceResponseMock = (
|
|
|
692
650
|
]),
|
|
693
651
|
defaultPriority: faker.helpers.arrayElement([
|
|
694
652
|
{
|
|
695
|
-
color: faker.
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
max: 20,
|
|
700
|
-
},
|
|
701
|
-
}),
|
|
702
|
-
undefined,
|
|
703
|
-
]),
|
|
704
|
-
createdAt: faker.helpers.arrayElement([
|
|
705
|
-
faker.string.alpha({
|
|
706
|
-
length: {
|
|
707
|
-
min: 10,
|
|
708
|
-
max: 20,
|
|
709
|
-
},
|
|
710
|
-
}),
|
|
711
|
-
undefined,
|
|
712
|
-
]),
|
|
713
|
-
createdBy: faker.helpers.arrayElement([
|
|
714
|
-
{
|
|
715
|
-
id: faker.helpers.arrayElement([
|
|
716
|
-
faker.string.alpha({
|
|
717
|
-
length: {
|
|
718
|
-
min: 10,
|
|
719
|
-
max: 20,
|
|
720
|
-
},
|
|
721
|
-
}),
|
|
722
|
-
undefined,
|
|
723
|
-
]),
|
|
724
|
-
name: faker.helpers.arrayElement([
|
|
725
|
-
faker.string.alpha({
|
|
726
|
-
length: {
|
|
727
|
-
min: 10,
|
|
728
|
-
max: 20,
|
|
729
|
-
},
|
|
730
|
-
}),
|
|
731
|
-
undefined,
|
|
732
|
-
]),
|
|
653
|
+
color: faker.string.alpha({
|
|
654
|
+
length: {
|
|
655
|
+
min: 10,
|
|
656
|
+
max: 20,
|
|
733
657
|
},
|
|
734
|
-
|
|
735
|
-
|
|
658
|
+
}),
|
|
659
|
+
createdAt: faker.string.alpha({
|
|
660
|
+
length: {
|
|
661
|
+
min: 10,
|
|
662
|
+
max: 20,
|
|
663
|
+
},
|
|
664
|
+
}),
|
|
665
|
+
createdBy: {
|
|
666
|
+
id: faker.helpers.arrayElement([
|
|
667
|
+
faker.string.alpha({
|
|
668
|
+
length: {
|
|
669
|
+
min: 10,
|
|
670
|
+
max: 20,
|
|
671
|
+
},
|
|
672
|
+
}),
|
|
673
|
+
undefined,
|
|
674
|
+
]),
|
|
675
|
+
name: faker.helpers.arrayElement([
|
|
676
|
+
faker.string.alpha({
|
|
677
|
+
length: {
|
|
678
|
+
min: 10,
|
|
679
|
+
max: 20,
|
|
680
|
+
},
|
|
681
|
+
}),
|
|
682
|
+
undefined,
|
|
683
|
+
]),
|
|
684
|
+
},
|
|
736
685
|
description: faker.helpers.arrayElement([
|
|
737
686
|
faker.string.alpha({
|
|
738
687
|
length: {
|
|
@@ -742,56 +691,44 @@ export const getCreateServiceResponseMock = (
|
|
|
742
691
|
}),
|
|
743
692
|
undefined,
|
|
744
693
|
]),
|
|
745
|
-
id: faker.
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
max: 20,
|
|
750
|
-
},
|
|
751
|
-
}),
|
|
752
|
-
undefined,
|
|
753
|
-
]),
|
|
754
|
-
name: faker.helpers.arrayElement([
|
|
755
|
-
faker.string.alpha({
|
|
756
|
-
length: {
|
|
757
|
-
min: 10,
|
|
758
|
-
max: 20,
|
|
759
|
-
},
|
|
760
|
-
}),
|
|
761
|
-
undefined,
|
|
762
|
-
]),
|
|
763
|
-
updatedAt: faker.helpers.arrayElement([
|
|
764
|
-
faker.string.alpha({
|
|
765
|
-
length: {
|
|
766
|
-
min: 10,
|
|
767
|
-
max: 20,
|
|
768
|
-
},
|
|
769
|
-
}),
|
|
770
|
-
undefined,
|
|
771
|
-
]),
|
|
772
|
-
updatedBy: faker.helpers.arrayElement([
|
|
773
|
-
{
|
|
774
|
-
id: faker.helpers.arrayElement([
|
|
775
|
-
faker.string.alpha({
|
|
776
|
-
length: {
|
|
777
|
-
min: 10,
|
|
778
|
-
max: 20,
|
|
779
|
-
},
|
|
780
|
-
}),
|
|
781
|
-
undefined,
|
|
782
|
-
]),
|
|
783
|
-
name: faker.helpers.arrayElement([
|
|
784
|
-
faker.string.alpha({
|
|
785
|
-
length: {
|
|
786
|
-
min: 10,
|
|
787
|
-
max: 20,
|
|
788
|
-
},
|
|
789
|
-
}),
|
|
790
|
-
undefined,
|
|
791
|
-
]),
|
|
694
|
+
id: faker.string.alpha({
|
|
695
|
+
length: {
|
|
696
|
+
min: 10,
|
|
697
|
+
max: 20,
|
|
792
698
|
},
|
|
793
|
-
|
|
794
|
-
|
|
699
|
+
}),
|
|
700
|
+
name: faker.string.alpha({
|
|
701
|
+
length: {
|
|
702
|
+
min: 10,
|
|
703
|
+
max: 20,
|
|
704
|
+
},
|
|
705
|
+
}),
|
|
706
|
+
updatedAt: faker.string.alpha({
|
|
707
|
+
length: {
|
|
708
|
+
min: 10,
|
|
709
|
+
max: 20,
|
|
710
|
+
},
|
|
711
|
+
}),
|
|
712
|
+
updatedBy: {
|
|
713
|
+
id: faker.helpers.arrayElement([
|
|
714
|
+
faker.string.alpha({
|
|
715
|
+
length: {
|
|
716
|
+
min: 10,
|
|
717
|
+
max: 20,
|
|
718
|
+
},
|
|
719
|
+
}),
|
|
720
|
+
undefined,
|
|
721
|
+
]),
|
|
722
|
+
name: faker.helpers.arrayElement([
|
|
723
|
+
faker.string.alpha({
|
|
724
|
+
length: {
|
|
725
|
+
min: 10,
|
|
726
|
+
max: 20,
|
|
727
|
+
},
|
|
728
|
+
}),
|
|
729
|
+
undefined,
|
|
730
|
+
]),
|
|
731
|
+
},
|
|
795
732
|
},
|
|
796
733
|
undefined,
|
|
797
734
|
]),
|
|
@@ -1083,47 +1020,38 @@ export const getDeleteServiceResponseMock = (
|
|
|
1083
1020
|
]),
|
|
1084
1021
|
defaultPriority: faker.helpers.arrayElement([
|
|
1085
1022
|
{
|
|
1086
|
-
color: faker.
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
max: 20,
|
|
1091
|
-
},
|
|
1092
|
-
}),
|
|
1093
|
-
undefined,
|
|
1094
|
-
]),
|
|
1095
|
-
createdAt: faker.helpers.arrayElement([
|
|
1096
|
-
faker.string.alpha({
|
|
1097
|
-
length: {
|
|
1098
|
-
min: 10,
|
|
1099
|
-
max: 20,
|
|
1100
|
-
},
|
|
1101
|
-
}),
|
|
1102
|
-
undefined,
|
|
1103
|
-
]),
|
|
1104
|
-
createdBy: faker.helpers.arrayElement([
|
|
1105
|
-
{
|
|
1106
|
-
id: faker.helpers.arrayElement([
|
|
1107
|
-
faker.string.alpha({
|
|
1108
|
-
length: {
|
|
1109
|
-
min: 10,
|
|
1110
|
-
max: 20,
|
|
1111
|
-
},
|
|
1112
|
-
}),
|
|
1113
|
-
undefined,
|
|
1114
|
-
]),
|
|
1115
|
-
name: faker.helpers.arrayElement([
|
|
1116
|
-
faker.string.alpha({
|
|
1117
|
-
length: {
|
|
1118
|
-
min: 10,
|
|
1119
|
-
max: 20,
|
|
1120
|
-
},
|
|
1121
|
-
}),
|
|
1122
|
-
undefined,
|
|
1123
|
-
]),
|
|
1023
|
+
color: faker.string.alpha({
|
|
1024
|
+
length: {
|
|
1025
|
+
min: 10,
|
|
1026
|
+
max: 20,
|
|
1124
1027
|
},
|
|
1125
|
-
|
|
1126
|
-
|
|
1028
|
+
}),
|
|
1029
|
+
createdAt: faker.string.alpha({
|
|
1030
|
+
length: {
|
|
1031
|
+
min: 10,
|
|
1032
|
+
max: 20,
|
|
1033
|
+
},
|
|
1034
|
+
}),
|
|
1035
|
+
createdBy: {
|
|
1036
|
+
id: faker.helpers.arrayElement([
|
|
1037
|
+
faker.string.alpha({
|
|
1038
|
+
length: {
|
|
1039
|
+
min: 10,
|
|
1040
|
+
max: 20,
|
|
1041
|
+
},
|
|
1042
|
+
}),
|
|
1043
|
+
undefined,
|
|
1044
|
+
]),
|
|
1045
|
+
name: faker.helpers.arrayElement([
|
|
1046
|
+
faker.string.alpha({
|
|
1047
|
+
length: {
|
|
1048
|
+
min: 10,
|
|
1049
|
+
max: 20,
|
|
1050
|
+
},
|
|
1051
|
+
}),
|
|
1052
|
+
undefined,
|
|
1053
|
+
]),
|
|
1054
|
+
},
|
|
1127
1055
|
description: faker.helpers.arrayElement([
|
|
1128
1056
|
faker.string.alpha({
|
|
1129
1057
|
length: {
|
|
@@ -1133,56 +1061,44 @@ export const getDeleteServiceResponseMock = (
|
|
|
1133
1061
|
}),
|
|
1134
1062
|
undefined,
|
|
1135
1063
|
]),
|
|
1136
|
-
id: faker.
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
max: 20,
|
|
1141
|
-
},
|
|
1142
|
-
}),
|
|
1143
|
-
undefined,
|
|
1144
|
-
]),
|
|
1145
|
-
name: faker.helpers.arrayElement([
|
|
1146
|
-
faker.string.alpha({
|
|
1147
|
-
length: {
|
|
1148
|
-
min: 10,
|
|
1149
|
-
max: 20,
|
|
1150
|
-
},
|
|
1151
|
-
}),
|
|
1152
|
-
undefined,
|
|
1153
|
-
]),
|
|
1154
|
-
updatedAt: faker.helpers.arrayElement([
|
|
1155
|
-
faker.string.alpha({
|
|
1156
|
-
length: {
|
|
1157
|
-
min: 10,
|
|
1158
|
-
max: 20,
|
|
1159
|
-
},
|
|
1160
|
-
}),
|
|
1161
|
-
undefined,
|
|
1162
|
-
]),
|
|
1163
|
-
updatedBy: faker.helpers.arrayElement([
|
|
1164
|
-
{
|
|
1165
|
-
id: faker.helpers.arrayElement([
|
|
1166
|
-
faker.string.alpha({
|
|
1167
|
-
length: {
|
|
1168
|
-
min: 10,
|
|
1169
|
-
max: 20,
|
|
1170
|
-
},
|
|
1171
|
-
}),
|
|
1172
|
-
undefined,
|
|
1173
|
-
]),
|
|
1174
|
-
name: faker.helpers.arrayElement([
|
|
1175
|
-
faker.string.alpha({
|
|
1176
|
-
length: {
|
|
1177
|
-
min: 10,
|
|
1178
|
-
max: 20,
|
|
1179
|
-
},
|
|
1180
|
-
}),
|
|
1181
|
-
undefined,
|
|
1182
|
-
]),
|
|
1064
|
+
id: faker.string.alpha({
|
|
1065
|
+
length: {
|
|
1066
|
+
min: 10,
|
|
1067
|
+
max: 20,
|
|
1183
1068
|
},
|
|
1184
|
-
|
|
1185
|
-
|
|
1069
|
+
}),
|
|
1070
|
+
name: faker.string.alpha({
|
|
1071
|
+
length: {
|
|
1072
|
+
min: 10,
|
|
1073
|
+
max: 20,
|
|
1074
|
+
},
|
|
1075
|
+
}),
|
|
1076
|
+
updatedAt: faker.string.alpha({
|
|
1077
|
+
length: {
|
|
1078
|
+
min: 10,
|
|
1079
|
+
max: 20,
|
|
1080
|
+
},
|
|
1081
|
+
}),
|
|
1082
|
+
updatedBy: {
|
|
1083
|
+
id: faker.helpers.arrayElement([
|
|
1084
|
+
faker.string.alpha({
|
|
1085
|
+
length: {
|
|
1086
|
+
min: 10,
|
|
1087
|
+
max: 20,
|
|
1088
|
+
},
|
|
1089
|
+
}),
|
|
1090
|
+
undefined,
|
|
1091
|
+
]),
|
|
1092
|
+
name: faker.helpers.arrayElement([
|
|
1093
|
+
faker.string.alpha({
|
|
1094
|
+
length: {
|
|
1095
|
+
min: 10,
|
|
1096
|
+
max: 20,
|
|
1097
|
+
},
|
|
1098
|
+
}),
|
|
1099
|
+
undefined,
|
|
1100
|
+
]),
|
|
1101
|
+
},
|
|
1186
1102
|
},
|
|
1187
1103
|
undefined,
|
|
1188
1104
|
]),
|
|
@@ -1417,7 +1333,39 @@ export const getLocateServiceResponseMock = (
|
|
|
1417
1333
|
]),
|
|
1418
1334
|
defaultPriority: faker.helpers.arrayElement([
|
|
1419
1335
|
{
|
|
1420
|
-
color: faker.
|
|
1336
|
+
color: faker.string.alpha({
|
|
1337
|
+
length: {
|
|
1338
|
+
min: 10,
|
|
1339
|
+
max: 20,
|
|
1340
|
+
},
|
|
1341
|
+
}),
|
|
1342
|
+
createdAt: faker.string.alpha({
|
|
1343
|
+
length: {
|
|
1344
|
+
min: 10,
|
|
1345
|
+
max: 20,
|
|
1346
|
+
},
|
|
1347
|
+
}),
|
|
1348
|
+
createdBy: {
|
|
1349
|
+
id: faker.helpers.arrayElement([
|
|
1350
|
+
faker.string.alpha({
|
|
1351
|
+
length: {
|
|
1352
|
+
min: 10,
|
|
1353
|
+
max: 20,
|
|
1354
|
+
},
|
|
1355
|
+
}),
|
|
1356
|
+
undefined,
|
|
1357
|
+
]),
|
|
1358
|
+
name: faker.helpers.arrayElement([
|
|
1359
|
+
faker.string.alpha({
|
|
1360
|
+
length: {
|
|
1361
|
+
min: 10,
|
|
1362
|
+
max: 20,
|
|
1363
|
+
},
|
|
1364
|
+
}),
|
|
1365
|
+
undefined,
|
|
1366
|
+
]),
|
|
1367
|
+
},
|
|
1368
|
+
description: faker.helpers.arrayElement([
|
|
1421
1369
|
faker.string.alpha({
|
|
1422
1370
|
length: {
|
|
1423
1371
|
min: 10,
|
|
@@ -1426,97 +1374,44 @@ export const getLocateServiceResponseMock = (
|
|
|
1426
1374
|
}),
|
|
1427
1375
|
undefined,
|
|
1428
1376
|
]),
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
max: 20,
|
|
1434
|
-
},
|
|
1435
|
-
}),
|
|
1436
|
-
undefined,
|
|
1437
|
-
]),
|
|
1438
|
-
createdBy: faker.helpers.arrayElement([
|
|
1439
|
-
{
|
|
1440
|
-
id: faker.helpers.arrayElement([
|
|
1441
|
-
faker.string.alpha({
|
|
1442
|
-
length: {
|
|
1443
|
-
min: 10,
|
|
1444
|
-
max: 20,
|
|
1445
|
-
},
|
|
1446
|
-
}),
|
|
1447
|
-
undefined,
|
|
1448
|
-
]),
|
|
1449
|
-
name: faker.helpers.arrayElement([
|
|
1450
|
-
faker.string.alpha({
|
|
1451
|
-
length: {
|
|
1452
|
-
min: 10,
|
|
1453
|
-
max: 20,
|
|
1454
|
-
},
|
|
1455
|
-
}),
|
|
1456
|
-
undefined,
|
|
1457
|
-
]),
|
|
1377
|
+
id: faker.string.alpha({
|
|
1378
|
+
length: {
|
|
1379
|
+
min: 10,
|
|
1380
|
+
max: 20,
|
|
1458
1381
|
},
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
min: 10,
|
|
1465
|
-
max: 20,
|
|
1466
|
-
},
|
|
1467
|
-
}),
|
|
1468
|
-
undefined,
|
|
1469
|
-
]),
|
|
1470
|
-
id: faker.helpers.arrayElement([
|
|
1471
|
-
faker.string.alpha({
|
|
1472
|
-
length: {
|
|
1473
|
-
min: 10,
|
|
1474
|
-
max: 20,
|
|
1475
|
-
},
|
|
1476
|
-
}),
|
|
1477
|
-
undefined,
|
|
1478
|
-
]),
|
|
1479
|
-
name: faker.helpers.arrayElement([
|
|
1480
|
-
faker.string.alpha({
|
|
1481
|
-
length: {
|
|
1482
|
-
min: 10,
|
|
1483
|
-
max: 20,
|
|
1484
|
-
},
|
|
1485
|
-
}),
|
|
1486
|
-
undefined,
|
|
1487
|
-
]),
|
|
1488
|
-
updatedAt: faker.helpers.arrayElement([
|
|
1489
|
-
faker.string.alpha({
|
|
1490
|
-
length: {
|
|
1491
|
-
min: 10,
|
|
1492
|
-
max: 20,
|
|
1493
|
-
},
|
|
1494
|
-
}),
|
|
1495
|
-
undefined,
|
|
1496
|
-
]),
|
|
1497
|
-
updatedBy: faker.helpers.arrayElement([
|
|
1498
|
-
{
|
|
1499
|
-
id: faker.helpers.arrayElement([
|
|
1500
|
-
faker.string.alpha({
|
|
1501
|
-
length: {
|
|
1502
|
-
min: 10,
|
|
1503
|
-
max: 20,
|
|
1504
|
-
},
|
|
1505
|
-
}),
|
|
1506
|
-
undefined,
|
|
1507
|
-
]),
|
|
1508
|
-
name: faker.helpers.arrayElement([
|
|
1509
|
-
faker.string.alpha({
|
|
1510
|
-
length: {
|
|
1511
|
-
min: 10,
|
|
1512
|
-
max: 20,
|
|
1513
|
-
},
|
|
1514
|
-
}),
|
|
1515
|
-
undefined,
|
|
1516
|
-
]),
|
|
1382
|
+
}),
|
|
1383
|
+
name: faker.string.alpha({
|
|
1384
|
+
length: {
|
|
1385
|
+
min: 10,
|
|
1386
|
+
max: 20,
|
|
1517
1387
|
},
|
|
1518
|
-
|
|
1519
|
-
|
|
1388
|
+
}),
|
|
1389
|
+
updatedAt: faker.string.alpha({
|
|
1390
|
+
length: {
|
|
1391
|
+
min: 10,
|
|
1392
|
+
max: 20,
|
|
1393
|
+
},
|
|
1394
|
+
}),
|
|
1395
|
+
updatedBy: {
|
|
1396
|
+
id: faker.helpers.arrayElement([
|
|
1397
|
+
faker.string.alpha({
|
|
1398
|
+
length: {
|
|
1399
|
+
min: 10,
|
|
1400
|
+
max: 20,
|
|
1401
|
+
},
|
|
1402
|
+
}),
|
|
1403
|
+
undefined,
|
|
1404
|
+
]),
|
|
1405
|
+
name: faker.helpers.arrayElement([
|
|
1406
|
+
faker.string.alpha({
|
|
1407
|
+
length: {
|
|
1408
|
+
min: 10,
|
|
1409
|
+
max: 20,
|
|
1410
|
+
},
|
|
1411
|
+
}),
|
|
1412
|
+
undefined,
|
|
1413
|
+
]),
|
|
1414
|
+
},
|
|
1520
1415
|
},
|
|
1521
1416
|
undefined,
|
|
1522
1417
|
]),
|
|
@@ -1739,47 +1634,38 @@ export const getUpdateService2ResponseMock = (
|
|
|
1739
1634
|
]),
|
|
1740
1635
|
defaultPriority: faker.helpers.arrayElement([
|
|
1741
1636
|
{
|
|
1742
|
-
color: faker.
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
max: 20,
|
|
1747
|
-
},
|
|
1748
|
-
}),
|
|
1749
|
-
undefined,
|
|
1750
|
-
]),
|
|
1751
|
-
createdAt: faker.helpers.arrayElement([
|
|
1752
|
-
faker.string.alpha({
|
|
1753
|
-
length: {
|
|
1754
|
-
min: 10,
|
|
1755
|
-
max: 20,
|
|
1756
|
-
},
|
|
1757
|
-
}),
|
|
1758
|
-
undefined,
|
|
1759
|
-
]),
|
|
1760
|
-
createdBy: faker.helpers.arrayElement([
|
|
1761
|
-
{
|
|
1762
|
-
id: faker.helpers.arrayElement([
|
|
1763
|
-
faker.string.alpha({
|
|
1764
|
-
length: {
|
|
1765
|
-
min: 10,
|
|
1766
|
-
max: 20,
|
|
1767
|
-
},
|
|
1768
|
-
}),
|
|
1769
|
-
undefined,
|
|
1770
|
-
]),
|
|
1771
|
-
name: faker.helpers.arrayElement([
|
|
1772
|
-
faker.string.alpha({
|
|
1773
|
-
length: {
|
|
1774
|
-
min: 10,
|
|
1775
|
-
max: 20,
|
|
1776
|
-
},
|
|
1777
|
-
}),
|
|
1778
|
-
undefined,
|
|
1779
|
-
]),
|
|
1637
|
+
color: faker.string.alpha({
|
|
1638
|
+
length: {
|
|
1639
|
+
min: 10,
|
|
1640
|
+
max: 20,
|
|
1780
1641
|
},
|
|
1781
|
-
|
|
1782
|
-
|
|
1642
|
+
}),
|
|
1643
|
+
createdAt: faker.string.alpha({
|
|
1644
|
+
length: {
|
|
1645
|
+
min: 10,
|
|
1646
|
+
max: 20,
|
|
1647
|
+
},
|
|
1648
|
+
}),
|
|
1649
|
+
createdBy: {
|
|
1650
|
+
id: faker.helpers.arrayElement([
|
|
1651
|
+
faker.string.alpha({
|
|
1652
|
+
length: {
|
|
1653
|
+
min: 10,
|
|
1654
|
+
max: 20,
|
|
1655
|
+
},
|
|
1656
|
+
}),
|
|
1657
|
+
undefined,
|
|
1658
|
+
]),
|
|
1659
|
+
name: faker.helpers.arrayElement([
|
|
1660
|
+
faker.string.alpha({
|
|
1661
|
+
length: {
|
|
1662
|
+
min: 10,
|
|
1663
|
+
max: 20,
|
|
1664
|
+
},
|
|
1665
|
+
}),
|
|
1666
|
+
undefined,
|
|
1667
|
+
]),
|
|
1668
|
+
},
|
|
1783
1669
|
description: faker.helpers.arrayElement([
|
|
1784
1670
|
faker.string.alpha({
|
|
1785
1671
|
length: {
|
|
@@ -1789,56 +1675,44 @@ export const getUpdateService2ResponseMock = (
|
|
|
1789
1675
|
}),
|
|
1790
1676
|
undefined,
|
|
1791
1677
|
]),
|
|
1792
|
-
id: faker.
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
max: 20,
|
|
1797
|
-
},
|
|
1798
|
-
}),
|
|
1799
|
-
undefined,
|
|
1800
|
-
]),
|
|
1801
|
-
name: faker.helpers.arrayElement([
|
|
1802
|
-
faker.string.alpha({
|
|
1803
|
-
length: {
|
|
1804
|
-
min: 10,
|
|
1805
|
-
max: 20,
|
|
1806
|
-
},
|
|
1807
|
-
}),
|
|
1808
|
-
undefined,
|
|
1809
|
-
]),
|
|
1810
|
-
updatedAt: faker.helpers.arrayElement([
|
|
1811
|
-
faker.string.alpha({
|
|
1812
|
-
length: {
|
|
1813
|
-
min: 10,
|
|
1814
|
-
max: 20,
|
|
1815
|
-
},
|
|
1816
|
-
}),
|
|
1817
|
-
undefined,
|
|
1818
|
-
]),
|
|
1819
|
-
updatedBy: faker.helpers.arrayElement([
|
|
1820
|
-
{
|
|
1821
|
-
id: faker.helpers.arrayElement([
|
|
1822
|
-
faker.string.alpha({
|
|
1823
|
-
length: {
|
|
1824
|
-
min: 10,
|
|
1825
|
-
max: 20,
|
|
1826
|
-
},
|
|
1827
|
-
}),
|
|
1828
|
-
undefined,
|
|
1829
|
-
]),
|
|
1830
|
-
name: faker.helpers.arrayElement([
|
|
1831
|
-
faker.string.alpha({
|
|
1832
|
-
length: {
|
|
1833
|
-
min: 10,
|
|
1834
|
-
max: 20,
|
|
1835
|
-
},
|
|
1836
|
-
}),
|
|
1837
|
-
undefined,
|
|
1838
|
-
]),
|
|
1678
|
+
id: faker.string.alpha({
|
|
1679
|
+
length: {
|
|
1680
|
+
min: 10,
|
|
1681
|
+
max: 20,
|
|
1839
1682
|
},
|
|
1840
|
-
|
|
1841
|
-
|
|
1683
|
+
}),
|
|
1684
|
+
name: faker.string.alpha({
|
|
1685
|
+
length: {
|
|
1686
|
+
min: 10,
|
|
1687
|
+
max: 20,
|
|
1688
|
+
},
|
|
1689
|
+
}),
|
|
1690
|
+
updatedAt: faker.string.alpha({
|
|
1691
|
+
length: {
|
|
1692
|
+
min: 10,
|
|
1693
|
+
max: 20,
|
|
1694
|
+
},
|
|
1695
|
+
}),
|
|
1696
|
+
updatedBy: {
|
|
1697
|
+
id: faker.helpers.arrayElement([
|
|
1698
|
+
faker.string.alpha({
|
|
1699
|
+
length: {
|
|
1700
|
+
min: 10,
|
|
1701
|
+
max: 20,
|
|
1702
|
+
},
|
|
1703
|
+
}),
|
|
1704
|
+
undefined,
|
|
1705
|
+
]),
|
|
1706
|
+
name: faker.helpers.arrayElement([
|
|
1707
|
+
faker.string.alpha({
|
|
1708
|
+
length: {
|
|
1709
|
+
min: 10,
|
|
1710
|
+
max: 20,
|
|
1711
|
+
},
|
|
1712
|
+
}),
|
|
1713
|
+
undefined,
|
|
1714
|
+
]),
|
|
1715
|
+
},
|
|
1842
1716
|
},
|
|
1843
1717
|
undefined,
|
|
1844
1718
|
]),
|
|
@@ -1999,47 +1873,38 @@ export const getUpdateService2ResponseMock = (
|
|
|
1999
1873
|
]),
|
|
2000
1874
|
defaultPriority: faker.helpers.arrayElement([
|
|
2001
1875
|
{
|
|
2002
|
-
color: faker.
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
max: 20,
|
|
2007
|
-
},
|
|
2008
|
-
}),
|
|
2009
|
-
undefined,
|
|
2010
|
-
]),
|
|
2011
|
-
createdAt: faker.helpers.arrayElement([
|
|
2012
|
-
faker.string.alpha({
|
|
2013
|
-
length: {
|
|
2014
|
-
min: 10,
|
|
2015
|
-
max: 20,
|
|
2016
|
-
},
|
|
2017
|
-
}),
|
|
2018
|
-
undefined,
|
|
2019
|
-
]),
|
|
2020
|
-
createdBy: faker.helpers.arrayElement([
|
|
2021
|
-
{
|
|
2022
|
-
id: faker.helpers.arrayElement([
|
|
2023
|
-
faker.string.alpha({
|
|
2024
|
-
length: {
|
|
2025
|
-
min: 10,
|
|
2026
|
-
max: 20,
|
|
2027
|
-
},
|
|
2028
|
-
}),
|
|
2029
|
-
undefined,
|
|
2030
|
-
]),
|
|
2031
|
-
name: faker.helpers.arrayElement([
|
|
2032
|
-
faker.string.alpha({
|
|
2033
|
-
length: {
|
|
2034
|
-
min: 10,
|
|
2035
|
-
max: 20,
|
|
2036
|
-
},
|
|
2037
|
-
}),
|
|
2038
|
-
undefined,
|
|
2039
|
-
]),
|
|
1876
|
+
color: faker.string.alpha({
|
|
1877
|
+
length: {
|
|
1878
|
+
min: 10,
|
|
1879
|
+
max: 20,
|
|
2040
1880
|
},
|
|
2041
|
-
|
|
2042
|
-
|
|
1881
|
+
}),
|
|
1882
|
+
createdAt: faker.string.alpha({
|
|
1883
|
+
length: {
|
|
1884
|
+
min: 10,
|
|
1885
|
+
max: 20,
|
|
1886
|
+
},
|
|
1887
|
+
}),
|
|
1888
|
+
createdBy: {
|
|
1889
|
+
id: faker.helpers.arrayElement([
|
|
1890
|
+
faker.string.alpha({
|
|
1891
|
+
length: {
|
|
1892
|
+
min: 10,
|
|
1893
|
+
max: 20,
|
|
1894
|
+
},
|
|
1895
|
+
}),
|
|
1896
|
+
undefined,
|
|
1897
|
+
]),
|
|
1898
|
+
name: faker.helpers.arrayElement([
|
|
1899
|
+
faker.string.alpha({
|
|
1900
|
+
length: {
|
|
1901
|
+
min: 10,
|
|
1902
|
+
max: 20,
|
|
1903
|
+
},
|
|
1904
|
+
}),
|
|
1905
|
+
undefined,
|
|
1906
|
+
]),
|
|
1907
|
+
},
|
|
2043
1908
|
description: faker.helpers.arrayElement([
|
|
2044
1909
|
faker.string.alpha({
|
|
2045
1910
|
length: {
|
|
@@ -2049,56 +1914,44 @@ export const getUpdateService2ResponseMock = (
|
|
|
2049
1914
|
}),
|
|
2050
1915
|
undefined,
|
|
2051
1916
|
]),
|
|
2052
|
-
id: faker.
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
max: 20,
|
|
2057
|
-
},
|
|
2058
|
-
}),
|
|
2059
|
-
undefined,
|
|
2060
|
-
]),
|
|
2061
|
-
name: faker.helpers.arrayElement([
|
|
2062
|
-
faker.string.alpha({
|
|
2063
|
-
length: {
|
|
2064
|
-
min: 10,
|
|
2065
|
-
max: 20,
|
|
2066
|
-
},
|
|
2067
|
-
}),
|
|
2068
|
-
undefined,
|
|
2069
|
-
]),
|
|
2070
|
-
updatedAt: faker.helpers.arrayElement([
|
|
2071
|
-
faker.string.alpha({
|
|
2072
|
-
length: {
|
|
2073
|
-
min: 10,
|
|
2074
|
-
max: 20,
|
|
2075
|
-
},
|
|
2076
|
-
}),
|
|
2077
|
-
undefined,
|
|
2078
|
-
]),
|
|
2079
|
-
updatedBy: faker.helpers.arrayElement([
|
|
2080
|
-
{
|
|
2081
|
-
id: faker.helpers.arrayElement([
|
|
2082
|
-
faker.string.alpha({
|
|
2083
|
-
length: {
|
|
2084
|
-
min: 10,
|
|
2085
|
-
max: 20,
|
|
2086
|
-
},
|
|
2087
|
-
}),
|
|
2088
|
-
undefined,
|
|
2089
|
-
]),
|
|
2090
|
-
name: faker.helpers.arrayElement([
|
|
2091
|
-
faker.string.alpha({
|
|
2092
|
-
length: {
|
|
2093
|
-
min: 10,
|
|
2094
|
-
max: 20,
|
|
2095
|
-
},
|
|
2096
|
-
}),
|
|
2097
|
-
undefined,
|
|
2098
|
-
]),
|
|
1917
|
+
id: faker.string.alpha({
|
|
1918
|
+
length: {
|
|
1919
|
+
min: 10,
|
|
1920
|
+
max: 20,
|
|
2099
1921
|
},
|
|
2100
|
-
|
|
2101
|
-
|
|
1922
|
+
}),
|
|
1923
|
+
name: faker.string.alpha({
|
|
1924
|
+
length: {
|
|
1925
|
+
min: 10,
|
|
1926
|
+
max: 20,
|
|
1927
|
+
},
|
|
1928
|
+
}),
|
|
1929
|
+
updatedAt: faker.string.alpha({
|
|
1930
|
+
length: {
|
|
1931
|
+
min: 10,
|
|
1932
|
+
max: 20,
|
|
1933
|
+
},
|
|
1934
|
+
}),
|
|
1935
|
+
updatedBy: {
|
|
1936
|
+
id: faker.helpers.arrayElement([
|
|
1937
|
+
faker.string.alpha({
|
|
1938
|
+
length: {
|
|
1939
|
+
min: 10,
|
|
1940
|
+
max: 20,
|
|
1941
|
+
},
|
|
1942
|
+
}),
|
|
1943
|
+
undefined,
|
|
1944
|
+
]),
|
|
1945
|
+
name: faker.helpers.arrayElement([
|
|
1946
|
+
faker.string.alpha({
|
|
1947
|
+
length: {
|
|
1948
|
+
min: 10,
|
|
1949
|
+
max: 20,
|
|
1950
|
+
},
|
|
1951
|
+
}),
|
|
1952
|
+
undefined,
|
|
1953
|
+
]),
|
|
1954
|
+
},
|
|
2102
1955
|
},
|
|
2103
1956
|
undefined,
|
|
2104
1957
|
]),
|
|
@@ -2380,47 +2233,38 @@ export const getUpdateServiceResponseMock = (
|
|
|
2380
2233
|
]),
|
|
2381
2234
|
defaultPriority: faker.helpers.arrayElement([
|
|
2382
2235
|
{
|
|
2383
|
-
color: faker.
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
max: 20,
|
|
2388
|
-
},
|
|
2389
|
-
}),
|
|
2390
|
-
undefined,
|
|
2391
|
-
]),
|
|
2392
|
-
createdAt: faker.helpers.arrayElement([
|
|
2393
|
-
faker.string.alpha({
|
|
2394
|
-
length: {
|
|
2395
|
-
min: 10,
|
|
2396
|
-
max: 20,
|
|
2397
|
-
},
|
|
2398
|
-
}),
|
|
2399
|
-
undefined,
|
|
2400
|
-
]),
|
|
2401
|
-
createdBy: faker.helpers.arrayElement([
|
|
2402
|
-
{
|
|
2403
|
-
id: faker.helpers.arrayElement([
|
|
2404
|
-
faker.string.alpha({
|
|
2405
|
-
length: {
|
|
2406
|
-
min: 10,
|
|
2407
|
-
max: 20,
|
|
2408
|
-
},
|
|
2409
|
-
}),
|
|
2410
|
-
undefined,
|
|
2411
|
-
]),
|
|
2412
|
-
name: faker.helpers.arrayElement([
|
|
2413
|
-
faker.string.alpha({
|
|
2414
|
-
length: {
|
|
2415
|
-
min: 10,
|
|
2416
|
-
max: 20,
|
|
2417
|
-
},
|
|
2418
|
-
}),
|
|
2419
|
-
undefined,
|
|
2420
|
-
]),
|
|
2236
|
+
color: faker.string.alpha({
|
|
2237
|
+
length: {
|
|
2238
|
+
min: 10,
|
|
2239
|
+
max: 20,
|
|
2421
2240
|
},
|
|
2422
|
-
|
|
2423
|
-
|
|
2241
|
+
}),
|
|
2242
|
+
createdAt: faker.string.alpha({
|
|
2243
|
+
length: {
|
|
2244
|
+
min: 10,
|
|
2245
|
+
max: 20,
|
|
2246
|
+
},
|
|
2247
|
+
}),
|
|
2248
|
+
createdBy: {
|
|
2249
|
+
id: faker.helpers.arrayElement([
|
|
2250
|
+
faker.string.alpha({
|
|
2251
|
+
length: {
|
|
2252
|
+
min: 10,
|
|
2253
|
+
max: 20,
|
|
2254
|
+
},
|
|
2255
|
+
}),
|
|
2256
|
+
undefined,
|
|
2257
|
+
]),
|
|
2258
|
+
name: faker.helpers.arrayElement([
|
|
2259
|
+
faker.string.alpha({
|
|
2260
|
+
length: {
|
|
2261
|
+
min: 10,
|
|
2262
|
+
max: 20,
|
|
2263
|
+
},
|
|
2264
|
+
}),
|
|
2265
|
+
undefined,
|
|
2266
|
+
]),
|
|
2267
|
+
},
|
|
2424
2268
|
description: faker.helpers.arrayElement([
|
|
2425
2269
|
faker.string.alpha({
|
|
2426
2270
|
length: {
|
|
@@ -2430,56 +2274,44 @@ export const getUpdateServiceResponseMock = (
|
|
|
2430
2274
|
}),
|
|
2431
2275
|
undefined,
|
|
2432
2276
|
]),
|
|
2433
|
-
id: faker.
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
max: 20,
|
|
2438
|
-
},
|
|
2439
|
-
}),
|
|
2440
|
-
undefined,
|
|
2441
|
-
]),
|
|
2442
|
-
name: faker.helpers.arrayElement([
|
|
2443
|
-
faker.string.alpha({
|
|
2444
|
-
length: {
|
|
2445
|
-
min: 10,
|
|
2446
|
-
max: 20,
|
|
2447
|
-
},
|
|
2448
|
-
}),
|
|
2449
|
-
undefined,
|
|
2450
|
-
]),
|
|
2451
|
-
updatedAt: faker.helpers.arrayElement([
|
|
2452
|
-
faker.string.alpha({
|
|
2453
|
-
length: {
|
|
2454
|
-
min: 10,
|
|
2455
|
-
max: 20,
|
|
2456
|
-
},
|
|
2457
|
-
}),
|
|
2458
|
-
undefined,
|
|
2459
|
-
]),
|
|
2460
|
-
updatedBy: faker.helpers.arrayElement([
|
|
2461
|
-
{
|
|
2462
|
-
id: faker.helpers.arrayElement([
|
|
2463
|
-
faker.string.alpha({
|
|
2464
|
-
length: {
|
|
2465
|
-
min: 10,
|
|
2466
|
-
max: 20,
|
|
2467
|
-
},
|
|
2468
|
-
}),
|
|
2469
|
-
undefined,
|
|
2470
|
-
]),
|
|
2471
|
-
name: faker.helpers.arrayElement([
|
|
2472
|
-
faker.string.alpha({
|
|
2473
|
-
length: {
|
|
2474
|
-
min: 10,
|
|
2475
|
-
max: 20,
|
|
2476
|
-
},
|
|
2477
|
-
}),
|
|
2478
|
-
undefined,
|
|
2479
|
-
]),
|
|
2277
|
+
id: faker.string.alpha({
|
|
2278
|
+
length: {
|
|
2279
|
+
min: 10,
|
|
2280
|
+
max: 20,
|
|
2480
2281
|
},
|
|
2481
|
-
|
|
2482
|
-
|
|
2282
|
+
}),
|
|
2283
|
+
name: faker.string.alpha({
|
|
2284
|
+
length: {
|
|
2285
|
+
min: 10,
|
|
2286
|
+
max: 20,
|
|
2287
|
+
},
|
|
2288
|
+
}),
|
|
2289
|
+
updatedAt: faker.string.alpha({
|
|
2290
|
+
length: {
|
|
2291
|
+
min: 10,
|
|
2292
|
+
max: 20,
|
|
2293
|
+
},
|
|
2294
|
+
}),
|
|
2295
|
+
updatedBy: {
|
|
2296
|
+
id: faker.helpers.arrayElement([
|
|
2297
|
+
faker.string.alpha({
|
|
2298
|
+
length: {
|
|
2299
|
+
min: 10,
|
|
2300
|
+
max: 20,
|
|
2301
|
+
},
|
|
2302
|
+
}),
|
|
2303
|
+
undefined,
|
|
2304
|
+
]),
|
|
2305
|
+
name: faker.helpers.arrayElement([
|
|
2306
|
+
faker.string.alpha({
|
|
2307
|
+
length: {
|
|
2308
|
+
min: 10,
|
|
2309
|
+
max: 20,
|
|
2310
|
+
},
|
|
2311
|
+
}),
|
|
2312
|
+
undefined,
|
|
2313
|
+
]),
|
|
2314
|
+
},
|
|
2483
2315
|
},
|
|
2484
2316
|
undefined,
|
|
2485
2317
|
]),
|
|
@@ -2640,47 +2472,38 @@ export const getUpdateServiceResponseMock = (
|
|
|
2640
2472
|
]),
|
|
2641
2473
|
defaultPriority: faker.helpers.arrayElement([
|
|
2642
2474
|
{
|
|
2643
|
-
color: faker.
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
max: 20,
|
|
2648
|
-
},
|
|
2649
|
-
}),
|
|
2650
|
-
undefined,
|
|
2651
|
-
]),
|
|
2652
|
-
createdAt: faker.helpers.arrayElement([
|
|
2653
|
-
faker.string.alpha({
|
|
2654
|
-
length: {
|
|
2655
|
-
min: 10,
|
|
2656
|
-
max: 20,
|
|
2657
|
-
},
|
|
2658
|
-
}),
|
|
2659
|
-
undefined,
|
|
2660
|
-
]),
|
|
2661
|
-
createdBy: faker.helpers.arrayElement([
|
|
2662
|
-
{
|
|
2663
|
-
id: faker.helpers.arrayElement([
|
|
2664
|
-
faker.string.alpha({
|
|
2665
|
-
length: {
|
|
2666
|
-
min: 10,
|
|
2667
|
-
max: 20,
|
|
2668
|
-
},
|
|
2669
|
-
}),
|
|
2670
|
-
undefined,
|
|
2671
|
-
]),
|
|
2672
|
-
name: faker.helpers.arrayElement([
|
|
2673
|
-
faker.string.alpha({
|
|
2674
|
-
length: {
|
|
2675
|
-
min: 10,
|
|
2676
|
-
max: 20,
|
|
2677
|
-
},
|
|
2678
|
-
}),
|
|
2679
|
-
undefined,
|
|
2680
|
-
]),
|
|
2475
|
+
color: faker.string.alpha({
|
|
2476
|
+
length: {
|
|
2477
|
+
min: 10,
|
|
2478
|
+
max: 20,
|
|
2681
2479
|
},
|
|
2682
|
-
|
|
2683
|
-
|
|
2480
|
+
}),
|
|
2481
|
+
createdAt: faker.string.alpha({
|
|
2482
|
+
length: {
|
|
2483
|
+
min: 10,
|
|
2484
|
+
max: 20,
|
|
2485
|
+
},
|
|
2486
|
+
}),
|
|
2487
|
+
createdBy: {
|
|
2488
|
+
id: faker.helpers.arrayElement([
|
|
2489
|
+
faker.string.alpha({
|
|
2490
|
+
length: {
|
|
2491
|
+
min: 10,
|
|
2492
|
+
max: 20,
|
|
2493
|
+
},
|
|
2494
|
+
}),
|
|
2495
|
+
undefined,
|
|
2496
|
+
]),
|
|
2497
|
+
name: faker.helpers.arrayElement([
|
|
2498
|
+
faker.string.alpha({
|
|
2499
|
+
length: {
|
|
2500
|
+
min: 10,
|
|
2501
|
+
max: 20,
|
|
2502
|
+
},
|
|
2503
|
+
}),
|
|
2504
|
+
undefined,
|
|
2505
|
+
]),
|
|
2506
|
+
},
|
|
2684
2507
|
description: faker.helpers.arrayElement([
|
|
2685
2508
|
faker.string.alpha({
|
|
2686
2509
|
length: {
|
|
@@ -2690,56 +2513,44 @@ export const getUpdateServiceResponseMock = (
|
|
|
2690
2513
|
}),
|
|
2691
2514
|
undefined,
|
|
2692
2515
|
]),
|
|
2693
|
-
id: faker.
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
max: 20,
|
|
2698
|
-
},
|
|
2699
|
-
}),
|
|
2700
|
-
undefined,
|
|
2701
|
-
]),
|
|
2702
|
-
name: faker.helpers.arrayElement([
|
|
2703
|
-
faker.string.alpha({
|
|
2704
|
-
length: {
|
|
2705
|
-
min: 10,
|
|
2706
|
-
max: 20,
|
|
2707
|
-
},
|
|
2708
|
-
}),
|
|
2709
|
-
undefined,
|
|
2710
|
-
]),
|
|
2711
|
-
updatedAt: faker.helpers.arrayElement([
|
|
2712
|
-
faker.string.alpha({
|
|
2713
|
-
length: {
|
|
2714
|
-
min: 10,
|
|
2715
|
-
max: 20,
|
|
2716
|
-
},
|
|
2717
|
-
}),
|
|
2718
|
-
undefined,
|
|
2719
|
-
]),
|
|
2720
|
-
updatedBy: faker.helpers.arrayElement([
|
|
2721
|
-
{
|
|
2722
|
-
id: faker.helpers.arrayElement([
|
|
2723
|
-
faker.string.alpha({
|
|
2724
|
-
length: {
|
|
2725
|
-
min: 10,
|
|
2726
|
-
max: 20,
|
|
2727
|
-
},
|
|
2728
|
-
}),
|
|
2729
|
-
undefined,
|
|
2730
|
-
]),
|
|
2731
|
-
name: faker.helpers.arrayElement([
|
|
2732
|
-
faker.string.alpha({
|
|
2733
|
-
length: {
|
|
2734
|
-
min: 10,
|
|
2735
|
-
max: 20,
|
|
2736
|
-
},
|
|
2737
|
-
}),
|
|
2738
|
-
undefined,
|
|
2739
|
-
]),
|
|
2516
|
+
id: faker.string.alpha({
|
|
2517
|
+
length: {
|
|
2518
|
+
min: 10,
|
|
2519
|
+
max: 20,
|
|
2740
2520
|
},
|
|
2741
|
-
|
|
2742
|
-
|
|
2521
|
+
}),
|
|
2522
|
+
name: faker.string.alpha({
|
|
2523
|
+
length: {
|
|
2524
|
+
min: 10,
|
|
2525
|
+
max: 20,
|
|
2526
|
+
},
|
|
2527
|
+
}),
|
|
2528
|
+
updatedAt: faker.string.alpha({
|
|
2529
|
+
length: {
|
|
2530
|
+
min: 10,
|
|
2531
|
+
max: 20,
|
|
2532
|
+
},
|
|
2533
|
+
}),
|
|
2534
|
+
updatedBy: {
|
|
2535
|
+
id: faker.helpers.arrayElement([
|
|
2536
|
+
faker.string.alpha({
|
|
2537
|
+
length: {
|
|
2538
|
+
min: 10,
|
|
2539
|
+
max: 20,
|
|
2540
|
+
},
|
|
2541
|
+
}),
|
|
2542
|
+
undefined,
|
|
2543
|
+
]),
|
|
2544
|
+
name: faker.helpers.arrayElement([
|
|
2545
|
+
faker.string.alpha({
|
|
2546
|
+
length: {
|
|
2547
|
+
min: 10,
|
|
2548
|
+
max: 20,
|
|
2549
|
+
},
|
|
2550
|
+
}),
|
|
2551
|
+
undefined,
|
|
2552
|
+
]),
|
|
2553
|
+
},
|
|
2743
2554
|
},
|
|
2744
2555
|
undefined,
|
|
2745
2556
|
]),
|