@ayasofyazilim/saas 0.0.171 → 0.0.173

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/CRMService/schemas.gen.ts +1102 -512
  2. package/CRMService/sdk.gen.ts +546 -387
  3. package/CRMService/types.gen.ts +590 -502
  4. package/ContractService/schemas.gen.ts +117 -111
  5. package/ContractService/sdk.gen.ts +203 -133
  6. package/ContractService/types.gen.ts +67 -47
  7. package/ExportValidationService/ExportValidationServiceClient.ts +0 -12
  8. package/ExportValidationService/schemas.gen.ts +40 -7
  9. package/ExportValidationService/sdk.gen.ts +17 -178
  10. package/ExportValidationService/types.gen.ts +126 -1271
  11. package/FinanceService/FinanceServiceClient.ts +0 -9
  12. package/FinanceService/schemas.gen.ts +138 -56
  13. package/FinanceService/sdk.gen.ts +45 -123
  14. package/FinanceService/types.gen.ts +31 -38
  15. package/IdentityService/IdentityServiceClient.ts +80 -86
  16. package/IdentityService/core/ApiError.ts +20 -20
  17. package/IdentityService/core/ApiRequestOptions.ts +20 -12
  18. package/IdentityService/core/ApiResult.ts +6 -6
  19. package/IdentityService/core/BaseHttpRequest.ts +9 -9
  20. package/IdentityService/core/CancelablePromise.ts +125 -125
  21. package/IdentityService/core/FetchHttpRequest.ts +21 -21
  22. package/IdentityService/core/OpenAPI.ts +55 -55
  23. package/IdentityService/core/request.ts +349 -340
  24. package/IdentityService/index.ts +10 -9
  25. package/IdentityService/schemas.gen.ts +6928 -6928
  26. package/IdentityService/{services.gen.ts → sdk.gen.ts} +2934 -3154
  27. package/IdentityService/types.gen.ts +1759 -5875
  28. package/TagService/schemas.gen.ts +704 -274
  29. package/TagService/sdk.gen.ts +69 -3
  30. package/TagService/types.gen.ts +147 -72
  31. package/TravellerService/TravellerServiceClient.ts +0 -9
  32. package/TravellerService/schemas.gen.ts +431 -619
  33. package/TravellerService/sdk.gen.ts +181 -385
  34. package/TravellerService/types.gen.ts +173 -238
  35. package/package.json +1 -1
  36. package/IdentityService/models/Volo_Abp_Account_AccountExternalProviderSettingsDto.ts +0 -9
  37. package/IdentityService/models/Volo_Abp_Account_AccountRecaptchaSettingsDto.ts +0 -14
  38. package/IdentityService/models/Volo_Abp_Account_AccountSettingsDto.ts +0 -9
  39. package/IdentityService/models/Volo_Abp_Account_AccountTwoFactorSettingsDto.ts +0 -11
  40. package/IdentityService/models/Volo_Abp_Account_ExternalProviders_ExternalProviderSettings.ts +0 -12
  41. package/IdentityService/models/Volo_Abp_Account_ExternalProviders_ExternalProviderSettingsProperty.ts +0 -9
  42. package/IdentityService/models/Volo_Abp_Account_UpdateExternalProviderDto.ts +0 -12
  43. package/IdentityService/models/Volo_Abp_Application_Dtos_ListResultDto_1.ts +0 -9
  44. package/IdentityService/models/Volo_Abp_Application_Dtos_PagedResultDto_1.ts +0 -10
  45. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationAuthConfigurationDto.ts +0 -8
  46. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto.ts +0 -30
  47. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationFeatureConfigurationDto.ts +0 -8
  48. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationGlobalFeatureConfigurationDto.ts +0 -8
  49. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationConfigurationDto.ts +0 -18
  50. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationDto.ts +0 -9
  51. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationResourceDto.ts +0 -9
  52. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationSettingConfigurationDto.ts +0 -8
  53. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ClockDto.ts +0 -8
  54. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentCultureDto.ts +0 -17
  55. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentUserDto.ts +0 -22
  56. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_DateTimeFormatDto.ts +0 -14
  57. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_IanaTimeZone.ts +0 -8
  58. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_EntityExtensionDto.ts +0 -10
  59. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumDto.ts +0 -10
  60. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumFieldDto.ts +0 -9
  61. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiCreateDto.ts +0 -8
  62. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiDto.ts +0 -13
  63. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiGetDto.ts +0 -8
  64. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiUpdateDto.ts +0 -8
  65. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyAttributeDto.ts +0 -9
  66. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyDto.ts +0 -19
  67. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiDto.ts +0 -14
  68. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiFormDto.ts +0 -8
  69. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiLookupDto.ts +0 -12
  70. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiTableDto.ts +0 -8
  71. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_LocalizableStringDto.ts +0 -9
  72. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ModuleExtensionDto.ts +0 -10
  73. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ObjectExtensionsDto.ts +0 -11
  74. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimeZone.ts +0 -11
  75. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimingDto.ts +0 -9
  76. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_WindowsTimeZone.ts +0 -8
  77. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_CurrentTenantDto.ts +0 -10
  78. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_MultiTenancyInfoDto.ts +0 -8
  79. package/IdentityService/models/Volo_Abp_Http_Modeling_ActionApiDescriptionModel.ts +0 -20
  80. package/IdentityService/models/Volo_Abp_Http_Modeling_ApplicationApiDescriptionModel.ts +0 -11
  81. package/IdentityService/models/Volo_Abp_Http_Modeling_ControllerApiDescriptionModel.ts +0 -17
  82. package/IdentityService/models/Volo_Abp_Http_Modeling_ControllerInterfaceApiDescriptionModel.ts +0 -11
  83. package/IdentityService/models/Volo_Abp_Http_Modeling_InterfaceMethodApiDescriptionModel.ts +0 -12
  84. package/IdentityService/models/Volo_Abp_Http_Modeling_MethodParameterApiDescriptionModel.ts +0 -13
  85. package/IdentityService/models/Volo_Abp_Http_Modeling_ModuleApiDescriptionModel.ts +0 -11
  86. package/IdentityService/models/Volo_Abp_Http_Modeling_ParameterApiDescriptionModel.ts +0 -17
  87. package/IdentityService/models/Volo_Abp_Http_Modeling_PropertyApiDescriptionModel.ts +0 -17
  88. package/IdentityService/models/Volo_Abp_Http_Modeling_ReturnValueApiDescriptionModel.ts +0 -9
  89. package/IdentityService/models/Volo_Abp_Http_Modeling_TypeApiDescriptionModel.ts +0 -14
  90. package/IdentityService/models/Volo_Abp_Http_RemoteServiceErrorInfo.ts +0 -13
  91. package/IdentityService/models/Volo_Abp_Http_RemoteServiceErrorResponse.ts +0 -9
  92. package/IdentityService/models/Volo_Abp_Http_RemoteServiceValidationErrorInfo.ts +0 -9
  93. package/IdentityService/models/Volo_Abp_Identity_ClaimTypeDto.ts +0 -19
  94. package/IdentityService/models/Volo_Abp_Identity_CreateClaimTypeDto.ts +0 -15
  95. package/IdentityService/models/Volo_Abp_Identity_DownloadTokenResultDto.ts +0 -8
  96. package/IdentityService/models/Volo_Abp_Identity_ExternalLoginProviderDto.ts +0 -9
  97. package/IdentityService/models/Volo_Abp_Identity_Features_IdentityProTwoFactorBehaviour.ts +0 -9
  98. package/IdentityService/models/Volo_Abp_Identity_IdentityClaimValueType.ts +0 -10
  99. package/IdentityService/models/Volo_Abp_Identity_IdentityLdapSettingsDto.ts +0 -15
  100. package/IdentityService/models/Volo_Abp_Identity_IdentityLockoutSettingsDto.ts +0 -10
  101. package/IdentityService/models/Volo_Abp_Identity_IdentityOAuthSettingsDto.ts +0 -15
  102. package/IdentityService/models/Volo_Abp_Identity_IdentityPasswordSettingsDto.ts +0 -15
  103. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleClaimDto.ts +0 -10
  104. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleCreateDto.ts +0 -11
  105. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleDto.ts +0 -15
  106. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleLookupDto.ts +0 -9
  107. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleUpdateDto.ts +0 -12
  108. package/IdentityService/models/Volo_Abp_Identity_IdentitySecurityLogDto.ts +0 -21
  109. package/IdentityService/models/Volo_Abp_Identity_IdentitySettingsDto.ts +0 -15
  110. package/IdentityService/models/Volo_Abp_Identity_IdentitySignInSettingsDto.ts +0 -10
  111. package/IdentityService/models/Volo_Abp_Identity_IdentityUserClaimDto.ts +0 -10
  112. package/IdentityService/models/Volo_Abp_Identity_IdentityUserCreateDto.ts +0 -20
  113. package/IdentityService/models/Volo_Abp_Identity_IdentityUserDto.ts +0 -35
  114. package/IdentityService/models/Volo_Abp_Identity_IdentityUserSettingsDto.ts +0 -9
  115. package/IdentityService/models/Volo_Abp_Identity_IdentityUserUpdateDto.ts +0 -19
  116. package/IdentityService/models/Volo_Abp_Identity_IdentityUserUpdatePasswordInput.ts +0 -8
  117. package/IdentityService/models/Volo_Abp_Identity_IdentityUserUpdateRolesDto.ts +0 -8
  118. package/IdentityService/models/Volo_Abp_Identity_ImportExternalUserInput.ts +0 -10
  119. package/IdentityService/models/Volo_Abp_Identity_ImportUsersFromFileOutput.ts +0 -12
  120. package/IdentityService/models/Volo_Abp_Identity_ImportUsersFromFileType.ts +0 -8
  121. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitCreateDto.ts +0 -10
  122. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitDto.ts +0 -21
  123. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitLookupDto.ts +0 -9
  124. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitMoveInput.ts +0 -8
  125. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitRoleDto.ts +0 -11
  126. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitRoleInput.ts +0 -8
  127. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitUpdateDto.ts +0 -10
  128. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitUserInput.ts +0 -8
  129. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitWithDetailsDto.ts +0 -23
  130. package/IdentityService/models/Volo_Abp_Identity_UpdateClaimTypeDto.ts +0 -16
  131. package/IdentityService/models/Volo_Abp_Localization_LanguageInfo.ts +0 -12
  132. package/IdentityService/models/Volo_Abp_NameValue.ts +0 -9
  133. package/IdentityService/models/Volo_Abp_OpenIddict_Applications_Dtos_ApplicationDto.ts +0 -29
  134. package/IdentityService/models/Volo_Abp_OpenIddict_Applications_Dtos_ApplicationTokenLifetimeDto.ts +0 -13
  135. package/IdentityService/models/Volo_Abp_OpenIddict_Applications_Dtos_CreateApplicationInput.ts +0 -28
  136. package/IdentityService/models/Volo_Abp_OpenIddict_Applications_Dtos_UpdateApplicationInput.ts +0 -28
  137. package/IdentityService/models/Volo_Abp_OpenIddict_Scopes_Dtos_CreateScopeInput.ts +0 -12
  138. package/IdentityService/models/Volo_Abp_OpenIddict_Scopes_Dtos_ScopeDto.ts +0 -14
  139. package/IdentityService/models/Volo_Abp_OpenIddict_Scopes_Dtos_UpdateScopeInput.ts +0 -12
  140. package/IdentityService/models/Volo_Abp_Users_UserData.ts +0 -18
  141. package/IdentityService/services/AbpApiDefinitionService.ts +0 -34
  142. package/IdentityService/services/AbpApplicationConfigurationService.ts +0 -34
  143. package/IdentityService/services/AbpApplicationLocalizationService.ts +0 -37
  144. package/IdentityService/services/AccountSettingsService.ts +0 -178
  145. package/IdentityService/services/ApplicationsService.ts +0 -199
  146. package/IdentityService/services/ClaimTypeService.ts +0 -149
  147. package/IdentityService/services/ExternalLoginService.ts +0 -27
  148. package/IdentityService/services/OrganizationUnitService.ts +0 -539
  149. package/IdentityService/services/RoleService.ts +0 -269
  150. package/IdentityService/services/ScopesService.ts +0 -164
  151. package/IdentityService/services/SecurityLogService.ts +0 -174
  152. package/IdentityService/services/SettingsService.ts +0 -135
  153. package/IdentityService/services/UserIntegrationService.ts +0 -144
  154. package/IdentityService/services/UserLookupService.ts +0 -120
  155. package/IdentityService/services/UserService.ts +0 -937
@@ -6,6 +6,7 @@ export const $PagedResultDto_AffiliationListResponseDto = {
6
6
  items: {
7
7
  type: 'array',
8
8
  items: {
9
+ required: ['abpRoleId', 'individualId', 'name', 'roleName'],
9
10
  type: 'object',
10
11
  properties: {
11
12
  id: {
@@ -13,12 +14,12 @@ export const $PagedResultDto_AffiliationListResponseDto = {
13
14
  format: 'uuid'
14
15
  },
15
16
  name: {
16
- type: 'string',
17
- nullable: true
17
+ minLength: 1,
18
+ type: 'string'
18
19
  },
19
20
  roleName: {
20
- type: 'string',
21
- nullable: true
21
+ minLength: 1,
22
+ type: 'string'
22
23
  },
23
24
  individualId: {
24
25
  type: 'string',
@@ -71,6 +72,7 @@ export const $PagedResultDto_CustomDto = {
71
72
  items: {
72
73
  type: 'array',
73
74
  items: {
75
+ required: ['name', 'status', 'typeCode'],
74
76
  type: 'object',
75
77
  properties: {
76
78
  id: {
@@ -78,21 +80,42 @@ export const $PagedResultDto_CustomDto = {
78
80
  format: 'uuid'
79
81
  },
80
82
  telephone: {
83
+ required: ['id', 'isPrimary', 'localNumber', 'type'],
81
84
  type: 'object',
82
85
  properties: {
83
86
  id: {
84
87
  type: 'string',
85
88
  format: 'uuid'
86
89
  },
87
- number: {
90
+ ituCountryCode: {
91
+ maxLength: 255,
92
+ minLength: 0,
93
+ type: 'string',
94
+ nullable: true
95
+ },
96
+ areaCode: {
97
+ maxLength: 255,
98
+ minLength: 0,
99
+ type: 'string',
100
+ nullable: true
101
+ },
102
+ localNumber: {
103
+ maxLength: 255,
104
+ minLength: 0,
105
+ type: 'string'
106
+ },
107
+ normalizedPhoneNumber: {
88
108
  type: 'string',
89
109
  nullable: true
90
110
  },
111
+ isPrimary: {
112
+ type: 'boolean'
113
+ },
91
114
  type: {
92
115
  enum: ['UNKNOWN', 'HOME', 'WORK', 'MOBILE', 'FAX', 'OTHER'],
93
116
  type: 'string'
94
117
  },
95
- isPrimary: {
118
+ isConfirmed: {
96
119
  type: 'boolean',
97
120
  nullable: true
98
121
  }
@@ -100,6 +123,7 @@ export const $PagedResultDto_CustomDto = {
100
123
  additionalProperties: false
101
124
  },
102
125
  address: {
126
+ required: ['addressLine', 'adminAreaLevel1Id', 'adminAreaLevel2Id', 'countryId', 'isPrimary', 'neighborhoodId', 'partyId', 'partyType', 'type'],
103
127
  type: 'object',
104
128
  properties: {
105
129
  id: {
@@ -107,7 +131,7 @@ export const $PagedResultDto_CustomDto = {
107
131
  format: 'uuid'
108
132
  },
109
133
  partyType: {
110
- enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE'],
134
+ enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE', 'TRAVELLER'],
111
135
  type: 'string'
112
136
  },
113
137
  partyId: {
@@ -128,12 +152,11 @@ export const $PagedResultDto_CustomDto = {
128
152
  },
129
153
  neighborhoodId: {
130
154
  type: 'string',
131
- format: 'uuid',
132
- nullable: true
155
+ format: 'uuid'
133
156
  },
134
157
  addressLine: {
135
- type: 'string',
136
- nullable: true
158
+ minLength: 1,
159
+ type: 'string'
137
160
  },
138
161
  postalCode: {
139
162
  type: 'string',
@@ -158,13 +181,13 @@ export const $PagedResultDto_CustomDto = {
158
181
  nullable: true
159
182
  },
160
183
  isPrimary: {
161
- type: 'boolean',
162
- nullable: true
184
+ type: 'boolean'
163
185
  }
164
186
  },
165
187
  additionalProperties: false
166
188
  },
167
189
  email: {
190
+ required: ['emailAddress', 'isPrimary', 'type'],
168
191
  type: 'object',
169
192
  properties: {
170
193
  id: {
@@ -172,23 +195,22 @@ export const $PagedResultDto_CustomDto = {
172
195
  format: 'uuid'
173
196
  },
174
197
  emailAddress: {
175
- type: 'string',
176
- nullable: true
198
+ minLength: 1,
199
+ type: 'string'
177
200
  },
178
201
  type: {
179
202
  enum: ['UNKNOWN', 'PERSONAL', 'WORK', 'SCHOOL', 'OTHER'],
180
203
  type: 'string'
181
204
  },
182
205
  isPrimary: {
183
- type: 'boolean',
184
- nullable: true
206
+ type: 'boolean'
185
207
  }
186
208
  },
187
209
  additionalProperties: false
188
210
  },
189
211
  name: {
190
- type: 'string',
191
- nullable: true
212
+ minLength: 1,
213
+ type: 'string'
192
214
  },
193
215
  parentId: {
194
216
  type: 'string',
@@ -203,7 +225,8 @@ export const $PagedResultDto_CustomDto = {
203
225
  type: 'string',
204
226
  nullable: true
205
227
  },
206
- gateNumber: {
228
+ externalIdentifier: {
229
+ maxLength: 15,
207
230
  type: 'string',
208
231
  nullable: true
209
232
  },
@@ -234,6 +257,7 @@ export const $PagedResultDto_CustomListResponseDto = {
234
257
  items: {
235
258
  type: 'array',
236
259
  items: {
260
+ required: ['name', 'status', 'typeCode'],
237
261
  type: 'object',
238
262
  properties: {
239
263
  id: {
@@ -241,14 +265,15 @@ export const $PagedResultDto_CustomListResponseDto = {
241
265
  format: 'uuid'
242
266
  },
243
267
  name: {
244
- type: 'string',
245
- nullable: true
268
+ minLength: 1,
269
+ type: 'string'
246
270
  },
247
271
  vatNumber: {
248
272
  type: 'string',
249
273
  nullable: true
250
274
  },
251
- gateNumber: {
275
+ externalIdentifier: {
276
+ maxLength: 15,
252
277
  type: 'string',
253
278
  nullable: true
254
279
  },
@@ -288,6 +313,7 @@ export const $PagedResultDto_IndividualListResponseDto = {
288
313
  items: {
289
314
  type: 'array',
290
315
  items: {
316
+ required: ['firstname', 'gender', 'lastname'],
291
317
  type: 'object',
292
318
  properties: {
293
319
  id: {
@@ -295,12 +321,12 @@ export const $PagedResultDto_IndividualListResponseDto = {
295
321
  format: 'uuid'
296
322
  },
297
323
  firstname: {
298
- type: 'string',
299
- nullable: true
324
+ minLength: 1,
325
+ type: 'string'
300
326
  },
301
327
  lastname: {
302
- type: 'string',
303
- nullable: true
328
+ minLength: 1,
329
+ type: 'string'
304
330
  },
305
331
  gender: {
306
332
  enum: ['UNKNOWN', 'MALE', 'FEMALE', 'OTHER'],
@@ -329,6 +355,7 @@ export const $PagedResultDto_MerchantListResponseDto = {
329
355
  items: {
330
356
  type: 'array',
331
357
  items: {
358
+ required: ['externalIdentifier', 'isPersonalCompany', 'name', 'status', 'typeCode', 'vatNumber'],
332
359
  type: 'object',
333
360
  properties: {
334
361
  id: {
@@ -341,16 +368,17 @@ export const $PagedResultDto_MerchantListResponseDto = {
341
368
  nullable: true
342
369
  },
343
370
  name: {
344
- type: 'string',
345
- nullable: true
371
+ minLength: 1,
372
+ type: 'string'
346
373
  },
347
374
  vatNumber: {
348
- type: 'string',
349
- nullable: true
375
+ minLength: 1,
376
+ type: 'string'
350
377
  },
351
- externalStoreIdentifier: {
352
- type: 'string',
353
- nullable: true
378
+ externalIdentifier: {
379
+ maxLength: 15,
380
+ minLength: 1,
381
+ type: 'string'
354
382
  },
355
383
  typeCode: {
356
384
  enum: ['HEADQUARTER', 'STORE', 'FRANCHISE'],
@@ -391,6 +419,7 @@ export const $PagedResultDto_RefundPointListResponseDto = {
391
419
  items: {
392
420
  type: 'array',
393
421
  items: {
422
+ required: ['name', 'status', 'typeCode', 'vatNumber'],
394
423
  type: 'object',
395
424
  properties: {
396
425
  id: {
@@ -398,14 +427,15 @@ export const $PagedResultDto_RefundPointListResponseDto = {
398
427
  format: 'uuid'
399
428
  },
400
429
  name: {
401
- type: 'string',
402
- nullable: true
430
+ minLength: 1,
431
+ type: 'string'
403
432
  },
404
433
  vatNumber: {
405
- type: 'string',
406
- nullable: true
434
+ minLength: 1,
435
+ type: 'string'
407
436
  },
408
- externalStoreIdentifier: {
437
+ externalIdentifier: {
438
+ maxLength: 15,
409
439
  type: 'string',
410
440
  nullable: true
411
441
  },
@@ -418,13 +448,13 @@ export const $PagedResultDto_RefundPointListResponseDto = {
418
448
  type: 'string',
419
449
  nullable: true
420
450
  },
421
- status: {
422
- enum: ['DRAFT', 'WAITINGAPPROVAL', 'APPROVED', 'REJECTED', 'ACTIVE', 'INACTIVE', 'SUSPENDED'],
423
- type: 'string'
424
- },
425
451
  typeCode: {
426
452
  enum: ['HEADQUARTER', 'REFUNDPOINT'],
427
453
  type: 'string'
454
+ },
455
+ status: {
456
+ enum: ['DRAFT', 'WAITINGAPPROVAL', 'APPROVED', 'REJECTED', 'ACTIVE', 'INACTIVE', 'SUSPENDED'],
457
+ type: 'string'
428
458
  }
429
459
  },
430
460
  additionalProperties: false
@@ -445,6 +475,7 @@ export const $PagedResultDto_TaxFreeListResponseDto = {
445
475
  items: {
446
476
  type: 'array',
447
477
  items: {
478
+ required: ['externalIdentifier', 'name', 'status', 'typeCode', 'vatNumber'],
448
479
  type: 'object',
449
480
  properties: {
450
481
  id: {
@@ -452,20 +483,17 @@ export const $PagedResultDto_TaxFreeListResponseDto = {
452
483
  format: 'uuid'
453
484
  },
454
485
  name: {
455
- type: 'string',
456
- nullable: true
486
+ minLength: 1,
487
+ type: 'string'
457
488
  },
458
489
  vatNumber: {
459
- type: 'string',
460
- nullable: true
461
- },
462
- storeSequence: {
463
- type: 'string',
464
- nullable: true
490
+ minLength: 1,
491
+ type: 'string'
465
492
  },
466
- externalStoreIdentifier: {
467
- type: 'string',
468
- nullable: true
493
+ externalIdentifier: {
494
+ maxLength: 15,
495
+ minLength: 1,
496
+ type: 'string'
469
497
  },
470
498
  parentId: {
471
499
  type: 'string',
@@ -503,6 +531,7 @@ export const $PagedResultDto_TaxOfficeDto = {
503
531
  items: {
504
532
  type: 'array',
505
533
  items: {
534
+ required: ['name', 'typeCode'],
506
535
  type: 'object',
507
536
  properties: {
508
537
  id: {
@@ -510,21 +539,42 @@ export const $PagedResultDto_TaxOfficeDto = {
510
539
  format: 'uuid'
511
540
  },
512
541
  telephone: {
542
+ required: ['id', 'isPrimary', 'localNumber', 'type'],
513
543
  type: 'object',
514
544
  properties: {
515
545
  id: {
516
546
  type: 'string',
517
547
  format: 'uuid'
518
548
  },
519
- number: {
549
+ ituCountryCode: {
550
+ maxLength: 255,
551
+ minLength: 0,
552
+ type: 'string',
553
+ nullable: true
554
+ },
555
+ areaCode: {
556
+ maxLength: 255,
557
+ minLength: 0,
558
+ type: 'string',
559
+ nullable: true
560
+ },
561
+ localNumber: {
562
+ maxLength: 255,
563
+ minLength: 0,
564
+ type: 'string'
565
+ },
566
+ normalizedPhoneNumber: {
520
567
  type: 'string',
521
568
  nullable: true
522
569
  },
570
+ isPrimary: {
571
+ type: 'boolean'
572
+ },
523
573
  type: {
524
574
  enum: ['UNKNOWN', 'HOME', 'WORK', 'MOBILE', 'FAX', 'OTHER'],
525
575
  type: 'string'
526
576
  },
527
- isPrimary: {
577
+ isConfirmed: {
528
578
  type: 'boolean',
529
579
  nullable: true
530
580
  }
@@ -532,6 +582,7 @@ export const $PagedResultDto_TaxOfficeDto = {
532
582
  additionalProperties: false
533
583
  },
534
584
  address: {
585
+ required: ['addressLine', 'adminAreaLevel1Id', 'adminAreaLevel2Id', 'countryId', 'isPrimary', 'neighborhoodId', 'partyId', 'partyType', 'type'],
535
586
  type: 'object',
536
587
  properties: {
537
588
  id: {
@@ -539,7 +590,7 @@ export const $PagedResultDto_TaxOfficeDto = {
539
590
  format: 'uuid'
540
591
  },
541
592
  partyType: {
542
- enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE'],
593
+ enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE', 'TRAVELLER'],
543
594
  type: 'string'
544
595
  },
545
596
  partyId: {
@@ -560,12 +611,11 @@ export const $PagedResultDto_TaxOfficeDto = {
560
611
  },
561
612
  neighborhoodId: {
562
613
  type: 'string',
563
- format: 'uuid',
564
- nullable: true
614
+ format: 'uuid'
565
615
  },
566
616
  addressLine: {
567
- type: 'string',
568
- nullable: true
617
+ minLength: 1,
618
+ type: 'string'
569
619
  },
570
620
  postalCode: {
571
621
  type: 'string',
@@ -590,13 +640,13 @@ export const $PagedResultDto_TaxOfficeDto = {
590
640
  nullable: true
591
641
  },
592
642
  isPrimary: {
593
- type: 'boolean',
594
- nullable: true
643
+ type: 'boolean'
595
644
  }
596
645
  },
597
646
  additionalProperties: false
598
647
  },
599
648
  email: {
649
+ required: ['emailAddress', 'isPrimary', 'type'],
600
650
  type: 'object',
601
651
  properties: {
602
652
  id: {
@@ -604,23 +654,22 @@ export const $PagedResultDto_TaxOfficeDto = {
604
654
  format: 'uuid'
605
655
  },
606
656
  emailAddress: {
607
- type: 'string',
608
- nullable: true
657
+ minLength: 1,
658
+ type: 'string'
609
659
  },
610
660
  type: {
611
661
  enum: ['UNKNOWN', 'PERSONAL', 'WORK', 'SCHOOL', 'OTHER'],
612
662
  type: 'string'
613
663
  },
614
664
  isPrimary: {
615
- type: 'boolean',
616
- nullable: true
665
+ type: 'boolean'
617
666
  }
618
667
  },
619
668
  additionalProperties: false
620
669
  },
621
670
  name: {
622
- type: 'string',
623
- nullable: true
671
+ minLength: 1,
672
+ type: 'string'
624
673
  },
625
674
  parentId: {
626
675
  type: 'string',
@@ -635,7 +684,8 @@ export const $PagedResultDto_TaxOfficeDto = {
635
684
  type: 'string',
636
685
  nullable: true
637
686
  },
638
- externalStoreIdentifier: {
687
+ externalIdentifier: {
688
+ maxLength: 15,
639
689
  type: 'string',
640
690
  nullable: true
641
691
  },
@@ -662,6 +712,7 @@ export const $PagedResultDto_TaxOfficeListResponseDto = {
662
712
  items: {
663
713
  type: 'array',
664
714
  items: {
715
+ required: ['name', 'status', 'typeCode'],
665
716
  type: 'object',
666
717
  properties: {
667
718
  id: {
@@ -669,14 +720,15 @@ export const $PagedResultDto_TaxOfficeListResponseDto = {
669
720
  format: 'uuid'
670
721
  },
671
722
  name: {
672
- type: 'string',
673
- nullable: true
723
+ minLength: 1,
724
+ type: 'string'
674
725
  },
675
726
  vatNumber: {
676
727
  type: 'string',
677
728
  nullable: true
678
729
  },
679
- externalStoreIdentifier: {
730
+ externalIdentifier: {
731
+ maxLength: 15,
680
732
  type: 'string',
681
733
  nullable: true
682
734
  },
@@ -711,6 +763,7 @@ export const $PagedResultDto_TaxOfficeListResponseDto = {
711
763
  } as const;
712
764
 
713
765
  export const $UniRefund_CRMService_Addresses_AddressDto = {
766
+ required: ['addressLine', 'adminAreaLevel1Id', 'adminAreaLevel2Id', 'countryId', 'isPrimary', 'neighborhoodId', 'partyId', 'partyType', 'type'],
714
767
  type: 'object',
715
768
  properties: {
716
769
  id: {
@@ -718,7 +771,7 @@ export const $UniRefund_CRMService_Addresses_AddressDto = {
718
771
  format: 'uuid'
719
772
  },
720
773
  partyType: {
721
- enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE'],
774
+ enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE', 'TRAVELLER'],
722
775
  type: 'string'
723
776
  },
724
777
  partyId: {
@@ -739,12 +792,11 @@ export const $UniRefund_CRMService_Addresses_AddressDto = {
739
792
  },
740
793
  neighborhoodId: {
741
794
  type: 'string',
742
- format: 'uuid',
743
- nullable: true
795
+ format: 'uuid'
744
796
  },
745
797
  addressLine: {
746
- type: 'string',
747
- nullable: true
798
+ minLength: 1,
799
+ type: 'string'
748
800
  },
749
801
  postalCode: {
750
802
  type: 'string',
@@ -769,8 +821,7 @@ export const $UniRefund_CRMService_Addresses_AddressDto = {
769
821
  nullable: true
770
822
  },
771
823
  isPrimary: {
772
- type: 'boolean',
773
- nullable: true
824
+ type: 'boolean'
774
825
  }
775
826
  },
776
827
  additionalProperties: false
@@ -781,28 +832,28 @@ export const $UniRefund_CRMService_Addresses_AddressType = {
781
832
  type: 'string'
782
833
  } as const;
783
834
 
784
- export const $UniRefund_CRMService_Addresses_CreateAddressDto = {
835
+ export const $UniRefund_CRMService_Addresses_AddressUpSertDto = {
785
836
  type: 'object',
786
837
  properties: {
787
- partyType: {
788
- enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE'],
789
- type: 'string'
790
- },
791
- partyId: {
838
+ addressId: {
792
839
  type: 'string',
793
- format: 'uuid'
840
+ format: 'uuid',
841
+ nullable: true
794
842
  },
795
843
  countryId: {
796
844
  type: 'string',
797
- format: 'uuid'
845
+ format: 'uuid',
846
+ nullable: true
798
847
  },
799
848
  adminAreaLevel1Id: {
800
849
  type: 'string',
801
- format: 'uuid'
850
+ format: 'uuid',
851
+ nullable: true
802
852
  },
803
853
  adminAreaLevel2Id: {
804
854
  type: 'string',
805
- format: 'uuid'
855
+ format: 'uuid',
856
+ nullable: true
806
857
  },
807
858
  neighborhoodId: {
808
859
  type: 'string',
@@ -836,33 +887,36 @@ export const $UniRefund_CRMService_Addresses_CreateAddressDto = {
836
887
  nullable: true
837
888
  },
838
889
  isPrimary: {
839
- type: 'boolean'
890
+ type: 'boolean',
891
+ nullable: true
840
892
  }
841
893
  },
842
894
  additionalProperties: false
843
895
  } as const;
844
896
 
845
- export const $UniRefund_CRMService_Addresses_UpdateAddressDto = {
897
+ export const $UniRefund_CRMService_Addresses_CreateAddressDto = {
898
+ required: ['addressLine', 'adminAreaLevel1Id', 'adminAreaLevel2Id', 'countryId', 'isPrimary', 'type'],
846
899
  type: 'object',
847
900
  properties: {
848
- id: {
901
+ partyType: {
902
+ enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE', 'TRAVELLER'],
903
+ type: 'string'
904
+ },
905
+ partyId: {
849
906
  type: 'string',
850
907
  format: 'uuid'
851
908
  },
852
909
  countryId: {
853
910
  type: 'string',
854
- format: 'uuid',
855
- nullable: true
911
+ format: 'uuid'
856
912
  },
857
913
  adminAreaLevel1Id: {
858
914
  type: 'string',
859
- format: 'uuid',
860
- nullable: true
915
+ format: 'uuid'
861
916
  },
862
917
  adminAreaLevel2Id: {
863
918
  type: 'string',
864
- format: 'uuid',
865
- nullable: true
919
+ format: 'uuid'
866
920
  },
867
921
  neighborhoodId: {
868
922
  type: 'string',
@@ -870,8 +924,8 @@ export const $UniRefund_CRMService_Addresses_UpdateAddressDto = {
870
924
  nullable: true
871
925
  },
872
926
  addressLine: {
873
- type: 'string',
874
- nullable: true
927
+ minLength: 1,
928
+ type: 'string'
875
929
  },
876
930
  postalCode: {
877
931
  type: 'string',
@@ -896,14 +950,14 @@ export const $UniRefund_CRMService_Addresses_UpdateAddressDto = {
896
950
  nullable: true
897
951
  },
898
952
  isPrimary: {
899
- type: 'boolean',
900
- nullable: true
953
+ type: 'boolean'
901
954
  }
902
955
  },
903
956
  additionalProperties: false
904
957
  } as const;
905
958
 
906
959
  export const $UniRefund_CRMService_AdminAreaLevel1_AdminAreaLevel1Dto = {
960
+ required: ['countryId', 'name', 'plateCode'],
907
961
  type: 'object',
908
962
  properties: {
909
963
  id: {
@@ -920,16 +974,16 @@ export const $UniRefund_CRMService_AdminAreaLevel1_AdminAreaLevel1Dto = {
920
974
  nullable: true
921
975
  },
922
976
  name: {
923
- type: 'string',
924
- nullable: true
977
+ minLength: 1,
978
+ type: 'string'
925
979
  },
926
980
  shortName: {
927
981
  type: 'string',
928
982
  nullable: true
929
983
  },
930
984
  plateCode: {
931
- type: 'string',
932
- nullable: true
985
+ minLength: 1,
986
+ type: 'string'
933
987
  },
934
988
  placeId: {
935
989
  type: 'string',
@@ -950,6 +1004,7 @@ export const $UniRefund_CRMService_AdminAreaLevel1_AdminAreaLevel1Dto = {
950
1004
  } as const;
951
1005
 
952
1006
  export const $UniRefund_CRMService_AdminAreaLevel1_CreateAdminAreaLevel1Dto = {
1007
+ required: ['countryId', 'name', 'plateCode'],
953
1008
  type: 'object',
954
1009
  properties: {
955
1010
  countryId: {
@@ -962,16 +1017,16 @@ export const $UniRefund_CRMService_AdminAreaLevel1_CreateAdminAreaLevel1Dto = {
962
1017
  nullable: true
963
1018
  },
964
1019
  name: {
965
- type: 'string',
966
- nullable: true
1020
+ minLength: 1,
1021
+ type: 'string'
967
1022
  },
968
1023
  shortName: {
969
1024
  type: 'string',
970
1025
  nullable: true
971
1026
  },
972
1027
  plateCode: {
973
- type: 'string',
974
- nullable: true
1028
+ minLength: 1,
1029
+ type: 'string'
975
1030
  },
976
1031
  placeId: {
977
1032
  type: 'string',
@@ -1035,6 +1090,7 @@ export const $UniRefund_CRMService_AdminAreaLevel1_UpdateAdminAreaLevel1Dto = {
1035
1090
  } as const;
1036
1091
 
1037
1092
  export const $UniRefund_CRMService_AdminAreaLevel2_AdminAreaLevel2Dto = {
1093
+ required: ['adminAreaLevel1Id', 'name'],
1038
1094
  type: 'object',
1039
1095
  properties: {
1040
1096
  id: {
@@ -1046,8 +1102,8 @@ export const $UniRefund_CRMService_AdminAreaLevel2_AdminAreaLevel2Dto = {
1046
1102
  format: 'uuid'
1047
1103
  },
1048
1104
  name: {
1049
- type: 'string',
1050
- nullable: true
1105
+ minLength: 1,
1106
+ type: 'string'
1051
1107
  },
1052
1108
  shortName: {
1053
1109
  type: 'string',
@@ -1072,6 +1128,7 @@ export const $UniRefund_CRMService_AdminAreaLevel2_AdminAreaLevel2Dto = {
1072
1128
  } as const;
1073
1129
 
1074
1130
  export const $UniRefund_CRMService_AdminAreaLevel2_CreateAdminAreaLevel2Dto = {
1131
+ required: ['adminAreaLevel1Id', 'name'],
1075
1132
  type: 'object',
1076
1133
  properties: {
1077
1134
  adminAreaLevel1Id: {
@@ -1079,8 +1136,8 @@ export const $UniRefund_CRMService_AdminAreaLevel2_CreateAdminAreaLevel2Dto = {
1079
1136
  format: 'uuid'
1080
1137
  },
1081
1138
  name: {
1082
- type: 'string',
1083
- nullable: true
1139
+ minLength: 1,
1140
+ type: 'string'
1084
1141
  },
1085
1142
  shortName: {
1086
1143
  type: 'string',
@@ -1139,6 +1196,7 @@ export const $UniRefund_CRMService_AdminAreaLevel2_UpdateAdminAreaLevel2Dto = {
1139
1196
  } as const;
1140
1197
 
1141
1198
  export const $UniRefund_CRMService_Affiliations_AffiliationDto = {
1199
+ required: ['abpRoleId', 'individualId', 'isPrimary', 'partyId', 'partyType'],
1142
1200
  type: 'object',
1143
1201
  properties: {
1144
1202
  id: {
@@ -1146,7 +1204,7 @@ export const $UniRefund_CRMService_Affiliations_AffiliationDto = {
1146
1204
  format: 'uuid'
1147
1205
  },
1148
1206
  partyType: {
1149
- enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE'],
1207
+ enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE', 'TRAVELLER'],
1150
1208
  type: 'string'
1151
1209
  },
1152
1210
  partyId: {
@@ -1176,6 +1234,11 @@ export const $UniRefund_CRMService_Affiliations_AffiliationDto = {
1176
1234
  format: 'date-time',
1177
1235
  nullable: true
1178
1236
  },
1237
+ parentId: {
1238
+ type: 'string',
1239
+ format: 'uuid',
1240
+ nullable: true
1241
+ },
1179
1242
  isPrimary: {
1180
1243
  type: 'boolean'
1181
1244
  }
@@ -1184,6 +1247,7 @@ export const $UniRefund_CRMService_Affiliations_AffiliationDto = {
1184
1247
  } as const;
1185
1248
 
1186
1249
  export const $UniRefund_CRMService_Affiliations_AffiliationListResponseDto = {
1250
+ required: ['abpRoleId', 'individualId', 'name', 'roleName'],
1187
1251
  type: 'object',
1188
1252
  properties: {
1189
1253
  id: {
@@ -1191,12 +1255,12 @@ export const $UniRefund_CRMService_Affiliations_AffiliationListResponseDto = {
1191
1255
  format: 'uuid'
1192
1256
  },
1193
1257
  name: {
1194
- type: 'string',
1195
- nullable: true
1258
+ minLength: 1,
1259
+ type: 'string'
1196
1260
  },
1197
1261
  roleName: {
1198
- type: 'string',
1199
- nullable: true
1262
+ minLength: 1,
1263
+ type: 'string'
1200
1264
  },
1201
1265
  individualId: {
1202
1266
  type: 'string',
@@ -1235,6 +1299,7 @@ export const $UniRefund_CRMService_Affiliations_AffiliationListResponseDto = {
1235
1299
  } as const;
1236
1300
 
1237
1301
  export const $UniRefund_CRMService_Affiliations_CreatePartyAffiliationDto = {
1302
+ required: ['abpRoleId', 'individualId'],
1238
1303
  type: 'object',
1239
1304
  properties: {
1240
1305
  individualId: {
@@ -1254,9 +1319,6 @@ export const $UniRefund_CRMService_Affiliations_CreatePartyAffiliationDto = {
1254
1319
  type: 'string',
1255
1320
  format: 'date-time',
1256
1321
  nullable: true
1257
- },
1258
- isPrimary: {
1259
- type: 'boolean'
1260
1322
  }
1261
1323
  },
1262
1324
  additionalProperties: false
@@ -1279,10 +1341,6 @@ export const $UniRefund_CRMService_Affiliations_UpdateAffiliationDto = {
1279
1341
  type: 'string',
1280
1342
  format: 'date-time',
1281
1343
  nullable: true
1282
- },
1283
- isPrimary: {
1284
- type: 'boolean',
1285
- nullable: true
1286
1344
  }
1287
1345
  },
1288
1346
  additionalProperties: false
@@ -1320,23 +1378,24 @@ export const $UniRefund_CRMService_Countries_CountryDto = {
1320
1378
  } as const;
1321
1379
 
1322
1380
  export const $UniRefund_CRMService_Countries_CreateCountryDto = {
1381
+ required: ['code2', 'code3', 'name'],
1323
1382
  type: 'object',
1324
1383
  properties: {
1325
1384
  name: {
1326
- type: 'string',
1327
- nullable: true
1385
+ minLength: 1,
1386
+ type: 'string'
1328
1387
  },
1329
1388
  shortName: {
1330
1389
  type: 'string',
1331
1390
  nullable: true
1332
1391
  },
1333
1392
  code2: {
1334
- type: 'string',
1335
- nullable: true
1393
+ minLength: 1,
1394
+ type: 'string'
1336
1395
  },
1337
1396
  code3: {
1338
- type: 'string',
1339
- nullable: true
1397
+ minLength: 1,
1398
+ type: 'string'
1340
1399
  },
1341
1400
  placeId: {
1342
1401
  type: 'string',
@@ -1387,7 +1446,8 @@ export const $UniRefund_CRMService_Customs_CreateCustomDto = {
1387
1446
  type: 'string',
1388
1447
  nullable: true
1389
1448
  },
1390
- gateNumber: {
1449
+ externalIdentifier: {
1450
+ maxLength: 15,
1391
1451
  type: 'string',
1392
1452
  nullable: true
1393
1453
  },
@@ -1401,32 +1461,42 @@ export const $UniRefund_CRMService_Customs_CreateCustomDto = {
1401
1461
  type: 'string'
1402
1462
  },
1403
1463
  telephone: {
1464
+ required: ['isPrimary', 'localNumber', 'type'],
1404
1465
  type: 'object',
1405
1466
  properties: {
1406
- id: {
1467
+ ituCountryCode: {
1468
+ maxLength: 255,
1469
+ minLength: 0,
1407
1470
  type: 'string',
1408
- format: 'uuid'
1471
+ nullable: true
1409
1472
  },
1410
- number: {
1473
+ areaCode: {
1474
+ maxLength: 255,
1475
+ minLength: 0,
1411
1476
  type: 'string',
1412
1477
  nullable: true
1413
1478
  },
1414
- type: {
1415
- enum: ['UNKNOWN', 'HOME', 'WORK', 'MOBILE', 'FAX', 'OTHER'],
1479
+ localNumber: {
1480
+ maxLength: 255,
1481
+ minLength: 0,
1416
1482
  type: 'string'
1417
1483
  },
1418
1484
  isPrimary: {
1419
- type: 'boolean',
1420
- nullable: true
1485
+ type: 'boolean'
1486
+ },
1487
+ type: {
1488
+ enum: ['UNKNOWN', 'HOME', 'WORK', 'MOBILE', 'FAX', 'OTHER'],
1489
+ type: 'string'
1421
1490
  }
1422
1491
  },
1423
1492
  additionalProperties: false
1424
1493
  },
1425
1494
  address: {
1495
+ required: ['addressLine', 'adminAreaLevel1Id', 'adminAreaLevel2Id', 'countryId', 'isPrimary', 'type'],
1426
1496
  type: 'object',
1427
1497
  properties: {
1428
1498
  partyType: {
1429
- enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE'],
1499
+ enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE', 'TRAVELLER'],
1430
1500
  type: 'string'
1431
1501
  },
1432
1502
  partyId: {
@@ -1451,8 +1521,8 @@ export const $UniRefund_CRMService_Customs_CreateCustomDto = {
1451
1521
  nullable: true
1452
1522
  },
1453
1523
  addressLine: {
1454
- type: 'string',
1455
- nullable: true
1524
+ minLength: 1,
1525
+ type: 'string'
1456
1526
  },
1457
1527
  postalCode: {
1458
1528
  type: 'string',
@@ -1483,23 +1553,26 @@ export const $UniRefund_CRMService_Customs_CreateCustomDto = {
1483
1553
  additionalProperties: false
1484
1554
  },
1485
1555
  email: {
1556
+ required: ['emailAddress', 'isPrimary', 'type'],
1486
1557
  type: 'object',
1487
1558
  properties: {
1488
1559
  id: {
1489
1560
  type: 'string',
1490
- format: 'uuid'
1561
+ format: 'uuid',
1562
+ nullable: true
1491
1563
  },
1492
1564
  emailAddress: {
1565
+ maxLength: 255,
1566
+ minLength: 0,
1493
1567
  type: 'string',
1494
- nullable: true
1568
+ format: 'email'
1569
+ },
1570
+ isPrimary: {
1571
+ type: 'boolean'
1495
1572
  },
1496
1573
  type: {
1497
1574
  enum: ['UNKNOWN', 'PERSONAL', 'WORK', 'SCHOOL', 'OTHER'],
1498
1575
  type: 'string'
1499
- },
1500
- isPrimary: {
1501
- type: 'boolean',
1502
- nullable: true
1503
1576
  }
1504
1577
  },
1505
1578
  additionalProperties: false
@@ -1509,6 +1582,7 @@ export const $UniRefund_CRMService_Customs_CreateCustomDto = {
1509
1582
  } as const;
1510
1583
 
1511
1584
  export const $UniRefund_CRMService_Customs_CustomDto = {
1585
+ required: ['name', 'status', 'typeCode'],
1512
1586
  type: 'object',
1513
1587
  properties: {
1514
1588
  id: {
@@ -1516,21 +1590,42 @@ export const $UniRefund_CRMService_Customs_CustomDto = {
1516
1590
  format: 'uuid'
1517
1591
  },
1518
1592
  telephone: {
1593
+ required: ['id', 'isPrimary', 'localNumber', 'type'],
1519
1594
  type: 'object',
1520
1595
  properties: {
1521
1596
  id: {
1522
1597
  type: 'string',
1523
1598
  format: 'uuid'
1524
1599
  },
1525
- number: {
1600
+ ituCountryCode: {
1601
+ maxLength: 255,
1602
+ minLength: 0,
1603
+ type: 'string',
1604
+ nullable: true
1605
+ },
1606
+ areaCode: {
1607
+ maxLength: 255,
1608
+ minLength: 0,
1609
+ type: 'string',
1610
+ nullable: true
1611
+ },
1612
+ localNumber: {
1613
+ maxLength: 255,
1614
+ minLength: 0,
1615
+ type: 'string'
1616
+ },
1617
+ normalizedPhoneNumber: {
1526
1618
  type: 'string',
1527
1619
  nullable: true
1528
1620
  },
1621
+ isPrimary: {
1622
+ type: 'boolean'
1623
+ },
1529
1624
  type: {
1530
1625
  enum: ['UNKNOWN', 'HOME', 'WORK', 'MOBILE', 'FAX', 'OTHER'],
1531
1626
  type: 'string'
1532
1627
  },
1533
- isPrimary: {
1628
+ isConfirmed: {
1534
1629
  type: 'boolean',
1535
1630
  nullable: true
1536
1631
  }
@@ -1538,6 +1633,7 @@ export const $UniRefund_CRMService_Customs_CustomDto = {
1538
1633
  additionalProperties: false
1539
1634
  },
1540
1635
  address: {
1636
+ required: ['addressLine', 'adminAreaLevel1Id', 'adminAreaLevel2Id', 'countryId', 'isPrimary', 'neighborhoodId', 'partyId', 'partyType', 'type'],
1541
1637
  type: 'object',
1542
1638
  properties: {
1543
1639
  id: {
@@ -1545,7 +1641,7 @@ export const $UniRefund_CRMService_Customs_CustomDto = {
1545
1641
  format: 'uuid'
1546
1642
  },
1547
1643
  partyType: {
1548
- enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE'],
1644
+ enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE', 'TRAVELLER'],
1549
1645
  type: 'string'
1550
1646
  },
1551
1647
  partyId: {
@@ -1566,12 +1662,11 @@ export const $UniRefund_CRMService_Customs_CustomDto = {
1566
1662
  },
1567
1663
  neighborhoodId: {
1568
1664
  type: 'string',
1569
- format: 'uuid',
1570
- nullable: true
1665
+ format: 'uuid'
1571
1666
  },
1572
1667
  addressLine: {
1573
- type: 'string',
1574
- nullable: true
1668
+ minLength: 1,
1669
+ type: 'string'
1575
1670
  },
1576
1671
  postalCode: {
1577
1672
  type: 'string',
@@ -1596,13 +1691,13 @@ export const $UniRefund_CRMService_Customs_CustomDto = {
1596
1691
  nullable: true
1597
1692
  },
1598
1693
  isPrimary: {
1599
- type: 'boolean',
1600
- nullable: true
1694
+ type: 'boolean'
1601
1695
  }
1602
1696
  },
1603
1697
  additionalProperties: false
1604
1698
  },
1605
1699
  email: {
1700
+ required: ['emailAddress', 'isPrimary', 'type'],
1606
1701
  type: 'object',
1607
1702
  properties: {
1608
1703
  id: {
@@ -1610,23 +1705,22 @@ export const $UniRefund_CRMService_Customs_CustomDto = {
1610
1705
  format: 'uuid'
1611
1706
  },
1612
1707
  emailAddress: {
1613
- type: 'string',
1614
- nullable: true
1708
+ minLength: 1,
1709
+ type: 'string'
1615
1710
  },
1616
1711
  type: {
1617
1712
  enum: ['UNKNOWN', 'PERSONAL', 'WORK', 'SCHOOL', 'OTHER'],
1618
1713
  type: 'string'
1619
1714
  },
1620
1715
  isPrimary: {
1621
- type: 'boolean',
1622
- nullable: true
1716
+ type: 'boolean'
1623
1717
  }
1624
1718
  },
1625
1719
  additionalProperties: false
1626
1720
  },
1627
1721
  name: {
1628
- type: 'string',
1629
- nullable: true
1722
+ minLength: 1,
1723
+ type: 'string'
1630
1724
  },
1631
1725
  parentId: {
1632
1726
  type: 'string',
@@ -1641,7 +1735,8 @@ export const $UniRefund_CRMService_Customs_CustomDto = {
1641
1735
  type: 'string',
1642
1736
  nullable: true
1643
1737
  },
1644
- gateNumber: {
1738
+ externalIdentifier: {
1739
+ maxLength: 15,
1645
1740
  type: 'string',
1646
1741
  nullable: true
1647
1742
  },
@@ -1658,6 +1753,7 @@ export const $UniRefund_CRMService_Customs_CustomDto = {
1658
1753
  } as const;
1659
1754
 
1660
1755
  export const $UniRefund_CRMService_Customs_CustomListResponseDto = {
1756
+ required: ['name', 'status', 'typeCode'],
1661
1757
  type: 'object',
1662
1758
  properties: {
1663
1759
  id: {
@@ -1665,14 +1761,15 @@ export const $UniRefund_CRMService_Customs_CustomListResponseDto = {
1665
1761
  format: 'uuid'
1666
1762
  },
1667
1763
  name: {
1668
- type: 'string',
1669
- nullable: true
1764
+ minLength: 1,
1765
+ type: 'string'
1670
1766
  },
1671
1767
  vatNumber: {
1672
1768
  type: 'string',
1673
1769
  nullable: true
1674
1770
  },
1675
- gateNumber: {
1771
+ externalIdentifier: {
1772
+ maxLength: 15,
1676
1773
  type: 'string',
1677
1774
  nullable: true
1678
1775
  },
@@ -1708,12 +1805,11 @@ export const $UniRefund_CRMService_Customs_CustomTypeCode = {
1708
1805
  } as const;
1709
1806
 
1710
1807
  export const $UniRefund_CRMService_Customs_UpdateCustomDto = {
1711
- required: ['name'],
1712
1808
  type: 'object',
1713
1809
  properties: {
1714
1810
  name: {
1715
- minLength: 1,
1716
- type: 'string'
1811
+ type: 'string',
1812
+ nullable: true
1717
1813
  },
1718
1814
  vatNumber: {
1719
1815
  maxLength: 255,
@@ -1721,20 +1817,47 @@ export const $UniRefund_CRMService_Customs_UpdateCustomDto = {
1721
1817
  type: 'string',
1722
1818
  nullable: true
1723
1819
  },
1724
- gateNumber: {
1820
+ externalIdentifier: {
1821
+ maxLength: 15,
1725
1822
  type: 'string',
1726
1823
  nullable: true
1727
1824
  },
1728
- parentId: {
1825
+ status: {
1826
+ enum: ['DRAFT', 'WAITINGAPPROVAL', 'APPROVED', 'REJECTED', 'ACTIVE', 'INACTIVE', 'SUSPENDED'],
1827
+ type: 'string'
1828
+ }
1829
+ },
1830
+ additionalProperties: false
1831
+ } as const;
1832
+
1833
+ export const $UniRefund_CRMService_Emails_EmailCreateDto = {
1834
+ required: ['emailAddress', 'isPrimary', 'type'],
1835
+ type: 'object',
1836
+ properties: {
1837
+ id: {
1729
1838
  type: 'string',
1730
1839
  format: 'uuid',
1731
1840
  nullable: true
1841
+ },
1842
+ emailAddress: {
1843
+ maxLength: 255,
1844
+ minLength: 0,
1845
+ type: 'string',
1846
+ format: 'email'
1847
+ },
1848
+ isPrimary: {
1849
+ type: 'boolean'
1850
+ },
1851
+ type: {
1852
+ enum: ['UNKNOWN', 'PERSONAL', 'WORK', 'SCHOOL', 'OTHER'],
1853
+ type: 'string'
1732
1854
  }
1733
1855
  },
1734
1856
  additionalProperties: false
1735
1857
  } as const;
1736
1858
 
1737
1859
  export const $UniRefund_CRMService_Emails_EmailDto = {
1860
+ required: ['emailAddress', 'isPrimary', 'type'],
1738
1861
  type: 'object',
1739
1862
  properties: {
1740
1863
  id: {
@@ -1742,16 +1865,15 @@ export const $UniRefund_CRMService_Emails_EmailDto = {
1742
1865
  format: 'uuid'
1743
1866
  },
1744
1867
  emailAddress: {
1745
- type: 'string',
1746
- nullable: true
1868
+ minLength: 1,
1869
+ type: 'string'
1747
1870
  },
1748
1871
  type: {
1749
1872
  enum: ['UNKNOWN', 'PERSONAL', 'WORK', 'SCHOOL', 'OTHER'],
1750
1873
  type: 'string'
1751
1874
  },
1752
1875
  isPrimary: {
1753
- type: 'boolean',
1754
- nullable: true
1876
+ type: 'boolean'
1755
1877
  }
1756
1878
  },
1757
1879
  additionalProperties: false
@@ -1762,30 +1884,35 @@ export const $UniRefund_CRMService_Emails_EmailType = {
1762
1884
  type: 'string'
1763
1885
  } as const;
1764
1886
 
1765
- export const $UniRefund_CRMService_Emails_UpdateEmailDto = {
1887
+ export const $UniRefund_CRMService_Emails_EmailUpSertDto = {
1766
1888
  type: 'object',
1767
1889
  properties: {
1768
- id: {
1890
+ emailId: {
1769
1891
  type: 'string',
1770
- format: 'uuid'
1892
+ format: 'uuid',
1893
+ nullable: true
1771
1894
  },
1772
1895
  emailAddress: {
1896
+ maxLength: 255,
1897
+ minLength: 0,
1773
1898
  type: 'string',
1899
+ format: 'email',
1774
1900
  nullable: true
1775
1901
  },
1776
- type: {
1777
- enum: ['UNKNOWN', 'PERSONAL', 'WORK', 'SCHOOL', 'OTHER'],
1778
- type: 'string'
1779
- },
1780
1902
  isPrimary: {
1781
1903
  type: 'boolean',
1782
1904
  nullable: true
1905
+ },
1906
+ type: {
1907
+ enum: ['UNKNOWN', 'PERSONAL', 'WORK', 'SCHOOL', 'OTHER'],
1908
+ type: 'string'
1783
1909
  }
1784
1910
  },
1785
1911
  additionalProperties: false
1786
1912
  } as const;
1787
1913
 
1788
1914
  export const $UniRefund_CRMService_Individuals_CreateIndividualDto = {
1915
+ required: ['firstname', 'gender', 'lastname'],
1789
1916
  type: 'object',
1790
1917
  properties: {
1791
1918
  id: {
@@ -1793,12 +1920,12 @@ export const $UniRefund_CRMService_Individuals_CreateIndividualDto = {
1793
1920
  format: 'uuid'
1794
1921
  },
1795
1922
  firstname: {
1796
- type: 'string',
1797
- nullable: true
1923
+ minLength: 1,
1924
+ type: 'string'
1798
1925
  },
1799
1926
  lastname: {
1800
- type: 'string',
1801
- nullable: true
1927
+ minLength: 1,
1928
+ type: 'string'
1802
1929
  },
1803
1930
  gender: {
1804
1931
  enum: ['UNKNOWN', 'MALE', 'FEMALE', 'OTHER'],
@@ -1818,32 +1945,42 @@ export const $UniRefund_CRMService_Individuals_CreateIndividualDto = {
1818
1945
  nullable: true
1819
1946
  },
1820
1947
  telephone: {
1948
+ required: ['isPrimary', 'localNumber', 'type'],
1821
1949
  type: 'object',
1822
1950
  properties: {
1823
- id: {
1951
+ ituCountryCode: {
1952
+ maxLength: 255,
1953
+ minLength: 0,
1824
1954
  type: 'string',
1825
- format: 'uuid'
1955
+ nullable: true
1826
1956
  },
1827
- number: {
1957
+ areaCode: {
1958
+ maxLength: 255,
1959
+ minLength: 0,
1828
1960
  type: 'string',
1829
1961
  nullable: true
1830
1962
  },
1831
- type: {
1832
- enum: ['UNKNOWN', 'HOME', 'WORK', 'MOBILE', 'FAX', 'OTHER'],
1963
+ localNumber: {
1964
+ maxLength: 255,
1965
+ minLength: 0,
1833
1966
  type: 'string'
1834
1967
  },
1835
1968
  isPrimary: {
1836
- type: 'boolean',
1837
- nullable: true
1969
+ type: 'boolean'
1970
+ },
1971
+ type: {
1972
+ enum: ['UNKNOWN', 'HOME', 'WORK', 'MOBILE', 'FAX', 'OTHER'],
1973
+ type: 'string'
1838
1974
  }
1839
1975
  },
1840
1976
  additionalProperties: false
1841
1977
  },
1842
1978
  address: {
1979
+ required: ['addressLine', 'adminAreaLevel1Id', 'adminAreaLevel2Id', 'countryId', 'isPrimary', 'type'],
1843
1980
  type: 'object',
1844
1981
  properties: {
1845
1982
  partyType: {
1846
- enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE'],
1983
+ enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE', 'TRAVELLER'],
1847
1984
  type: 'string'
1848
1985
  },
1849
1986
  partyId: {
@@ -1868,8 +2005,8 @@ export const $UniRefund_CRMService_Individuals_CreateIndividualDto = {
1868
2005
  nullable: true
1869
2006
  },
1870
2007
  addressLine: {
1871
- type: 'string',
1872
- nullable: true
2008
+ minLength: 1,
2009
+ type: 'string'
1873
2010
  },
1874
2011
  postalCode: {
1875
2012
  type: 'string',
@@ -1900,37 +2037,41 @@ export const $UniRefund_CRMService_Individuals_CreateIndividualDto = {
1900
2037
  additionalProperties: false
1901
2038
  },
1902
2039
  email: {
2040
+ required: ['emailAddress', 'isPrimary', 'type'],
1903
2041
  type: 'object',
1904
2042
  properties: {
1905
2043
  id: {
1906
2044
  type: 'string',
1907
- format: 'uuid'
2045
+ format: 'uuid',
2046
+ nullable: true
1908
2047
  },
1909
2048
  emailAddress: {
2049
+ maxLength: 255,
2050
+ minLength: 0,
1910
2051
  type: 'string',
1911
- nullable: true
2052
+ format: 'email'
2053
+ },
2054
+ isPrimary: {
2055
+ type: 'boolean'
1912
2056
  },
1913
2057
  type: {
1914
2058
  enum: ['UNKNOWN', 'PERSONAL', 'WORK', 'SCHOOL', 'OTHER'],
1915
2059
  type: 'string'
1916
- },
1917
- isPrimary: {
1918
- type: 'boolean',
1919
- nullable: true
1920
2060
  }
1921
2061
  },
1922
2062
  additionalProperties: false
1923
2063
  },
1924
2064
  newUser: {
2065
+ required: ['password', 'username'],
1925
2066
  type: 'object',
1926
2067
  properties: {
1927
2068
  username: {
1928
- type: 'string',
1929
- nullable: true
2069
+ minLength: 1,
2070
+ type: 'string'
1930
2071
  },
1931
2072
  password: {
1932
- type: 'string',
1933
- nullable: true
2073
+ minLength: 1,
2074
+ type: 'string'
1934
2075
  }
1935
2076
  },
1936
2077
  additionalProperties: false
@@ -1940,6 +2081,7 @@ export const $UniRefund_CRMService_Individuals_CreateIndividualDto = {
1940
2081
  } as const;
1941
2082
 
1942
2083
  export const $UniRefund_CRMService_Individuals_IndividualDto = {
2084
+ required: ['firstname', 'gender', 'lastname'],
1943
2085
  type: 'object',
1944
2086
  properties: {
1945
2087
  id: {
@@ -1947,12 +2089,12 @@ export const $UniRefund_CRMService_Individuals_IndividualDto = {
1947
2089
  format: 'uuid'
1948
2090
  },
1949
2091
  firstname: {
1950
- type: 'string',
1951
- nullable: true
2092
+ minLength: 1,
2093
+ type: 'string'
1952
2094
  },
1953
2095
  lastname: {
1954
- type: 'string',
1955
- nullable: true
2096
+ minLength: 1,
2097
+ type: 'string'
1956
2098
  },
1957
2099
  gender: {
1958
2100
  enum: ['UNKNOWN', 'MALE', 'FEMALE', 'OTHER'],
@@ -1976,21 +2118,42 @@ export const $UniRefund_CRMService_Individuals_IndividualDto = {
1976
2118
  type: 'string'
1977
2119
  },
1978
2120
  telephone: {
2121
+ required: ['id', 'isPrimary', 'localNumber', 'type'],
1979
2122
  type: 'object',
1980
2123
  properties: {
1981
2124
  id: {
1982
2125
  type: 'string',
1983
2126
  format: 'uuid'
1984
2127
  },
1985
- number: {
2128
+ ituCountryCode: {
2129
+ maxLength: 255,
2130
+ minLength: 0,
2131
+ type: 'string',
2132
+ nullable: true
2133
+ },
2134
+ areaCode: {
2135
+ maxLength: 255,
2136
+ minLength: 0,
2137
+ type: 'string',
2138
+ nullable: true
2139
+ },
2140
+ localNumber: {
2141
+ maxLength: 255,
2142
+ minLength: 0,
2143
+ type: 'string'
2144
+ },
2145
+ normalizedPhoneNumber: {
1986
2146
  type: 'string',
1987
2147
  nullable: true
1988
2148
  },
2149
+ isPrimary: {
2150
+ type: 'boolean'
2151
+ },
1989
2152
  type: {
1990
2153
  enum: ['UNKNOWN', 'HOME', 'WORK', 'MOBILE', 'FAX', 'OTHER'],
1991
2154
  type: 'string'
1992
2155
  },
1993
- isPrimary: {
2156
+ isConfirmed: {
1994
2157
  type: 'boolean',
1995
2158
  nullable: true
1996
2159
  }
@@ -1998,6 +2161,7 @@ export const $UniRefund_CRMService_Individuals_IndividualDto = {
1998
2161
  additionalProperties: false
1999
2162
  },
2000
2163
  address: {
2164
+ required: ['addressLine', 'adminAreaLevel1Id', 'adminAreaLevel2Id', 'countryId', 'isPrimary', 'neighborhoodId', 'partyId', 'partyType', 'type'],
2001
2165
  type: 'object',
2002
2166
  properties: {
2003
2167
  id: {
@@ -2005,7 +2169,7 @@ export const $UniRefund_CRMService_Individuals_IndividualDto = {
2005
2169
  format: 'uuid'
2006
2170
  },
2007
2171
  partyType: {
2008
- enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE'],
2172
+ enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE', 'TRAVELLER'],
2009
2173
  type: 'string'
2010
2174
  },
2011
2175
  partyId: {
@@ -2026,12 +2190,11 @@ export const $UniRefund_CRMService_Individuals_IndividualDto = {
2026
2190
  },
2027
2191
  neighborhoodId: {
2028
2192
  type: 'string',
2029
- format: 'uuid',
2030
- nullable: true
2193
+ format: 'uuid'
2031
2194
  },
2032
2195
  addressLine: {
2033
- type: 'string',
2034
- nullable: true
2196
+ minLength: 1,
2197
+ type: 'string'
2035
2198
  },
2036
2199
  postalCode: {
2037
2200
  type: 'string',
@@ -2056,13 +2219,13 @@ export const $UniRefund_CRMService_Individuals_IndividualDto = {
2056
2219
  nullable: true
2057
2220
  },
2058
2221
  isPrimary: {
2059
- type: 'boolean',
2060
- nullable: true
2222
+ type: 'boolean'
2061
2223
  }
2062
2224
  },
2063
2225
  additionalProperties: false
2064
2226
  },
2065
2227
  email: {
2228
+ required: ['emailAddress', 'isPrimary', 'type'],
2066
2229
  type: 'object',
2067
2230
  properties: {
2068
2231
  id: {
@@ -2070,16 +2233,15 @@ export const $UniRefund_CRMService_Individuals_IndividualDto = {
2070
2233
  format: 'uuid'
2071
2234
  },
2072
2235
  emailAddress: {
2073
- type: 'string',
2074
- nullable: true
2236
+ minLength: 1,
2237
+ type: 'string'
2075
2238
  },
2076
2239
  type: {
2077
2240
  enum: ['UNKNOWN', 'PERSONAL', 'WORK', 'SCHOOL', 'OTHER'],
2078
2241
  type: 'string'
2079
2242
  },
2080
2243
  isPrimary: {
2081
- type: 'boolean',
2082
- nullable: true
2244
+ type: 'boolean'
2083
2245
  }
2084
2246
  },
2085
2247
  additionalProperties: false
@@ -2094,6 +2256,7 @@ export const $UniRefund_CRMService_Individuals_IndividualGender = {
2094
2256
  } as const;
2095
2257
 
2096
2258
  export const $UniRefund_CRMService_Individuals_IndividualListResponseDto = {
2259
+ required: ['firstname', 'gender', 'lastname'],
2097
2260
  type: 'object',
2098
2261
  properties: {
2099
2262
  id: {
@@ -2101,12 +2264,12 @@ export const $UniRefund_CRMService_Individuals_IndividualListResponseDto = {
2101
2264
  format: 'uuid'
2102
2265
  },
2103
2266
  firstname: {
2104
- type: 'string',
2105
- nullable: true
2267
+ minLength: 1,
2268
+ type: 'string'
2106
2269
  },
2107
2270
  lastname: {
2108
- type: 'string',
2109
- nullable: true
2271
+ minLength: 1,
2272
+ type: 'string'
2110
2273
  },
2111
2274
  gender: {
2112
2275
  enum: ['UNKNOWN', 'MALE', 'FEMALE', 'OTHER'],
@@ -2126,6 +2289,7 @@ export const $UniRefund_CRMService_Individuals_IndividualStatus = {
2126
2289
  } as const;
2127
2290
 
2128
2291
  export const $UniRefund_CRMService_Individuals_IndividualWithAbpUserDto = {
2292
+ required: ['fullname', 'individualId'],
2129
2293
  type: 'object',
2130
2294
  properties: {
2131
2295
  individualId: {
@@ -2133,8 +2297,8 @@ export const $UniRefund_CRMService_Individuals_IndividualWithAbpUserDto = {
2133
2297
  format: 'uuid'
2134
2298
  },
2135
2299
  fullname: {
2136
- type: 'string',
2137
- nullable: true
2300
+ minLength: 1,
2301
+ type: 'string'
2138
2302
  },
2139
2303
  abpUserId: {
2140
2304
  type: 'string',
@@ -2146,15 +2310,16 @@ export const $UniRefund_CRMService_Individuals_IndividualWithAbpUserDto = {
2146
2310
  } as const;
2147
2311
 
2148
2312
  export const $UniRefund_CRMService_Individuals_NewUser = {
2313
+ required: ['password', 'username'],
2149
2314
  type: 'object',
2150
2315
  properties: {
2151
2316
  username: {
2152
- type: 'string',
2153
- nullable: true
2317
+ minLength: 1,
2318
+ type: 'string'
2154
2319
  },
2155
2320
  password: {
2156
- type: 'string',
2157
- nullable: true
2321
+ minLength: 1,
2322
+ type: 'string'
2158
2323
  }
2159
2324
  },
2160
2325
  additionalProperties: false
@@ -2193,7 +2358,7 @@ export const $UniRefund_CRMService_Individuals_UpdateIndividualDto = {
2193
2358
  } as const;
2194
2359
 
2195
2360
  export const $UniRefund_CRMService_Merchants_CreateMerchantDto = {
2196
- required: ['name', 'typeCode'],
2361
+ required: ['address', 'email', 'externalIdentifier', 'isPersonalCompany', 'name', 'telephone', 'typeCode'],
2197
2362
  type: 'object',
2198
2363
  properties: {
2199
2364
  chainCodeId: {
@@ -2216,9 +2381,10 @@ export const $UniRefund_CRMService_Merchants_CreateMerchantDto = {
2216
2381
  format: 'uuid',
2217
2382
  nullable: true
2218
2383
  },
2219
- externalStoreIdentifier: {
2220
- type: 'string',
2221
- nullable: true
2384
+ externalIdentifier: {
2385
+ maxLength: 15,
2386
+ minLength: 1,
2387
+ type: 'string'
2222
2388
  },
2223
2389
  parentId: {
2224
2390
  type: 'string',
@@ -2233,32 +2399,42 @@ export const $UniRefund_CRMService_Merchants_CreateMerchantDto = {
2233
2399
  type: 'boolean'
2234
2400
  },
2235
2401
  telephone: {
2402
+ required: ['isPrimary', 'localNumber', 'type'],
2236
2403
  type: 'object',
2237
2404
  properties: {
2238
- id: {
2405
+ ituCountryCode: {
2406
+ maxLength: 255,
2407
+ minLength: 0,
2239
2408
  type: 'string',
2240
- format: 'uuid'
2409
+ nullable: true
2241
2410
  },
2242
- number: {
2411
+ areaCode: {
2412
+ maxLength: 255,
2413
+ minLength: 0,
2243
2414
  type: 'string',
2244
2415
  nullable: true
2245
2416
  },
2246
- type: {
2247
- enum: ['UNKNOWN', 'HOME', 'WORK', 'MOBILE', 'FAX', 'OTHER'],
2417
+ localNumber: {
2418
+ maxLength: 255,
2419
+ minLength: 0,
2248
2420
  type: 'string'
2249
2421
  },
2250
2422
  isPrimary: {
2251
- type: 'boolean',
2252
- nullable: true
2423
+ type: 'boolean'
2424
+ },
2425
+ type: {
2426
+ enum: ['UNKNOWN', 'HOME', 'WORK', 'MOBILE', 'FAX', 'OTHER'],
2427
+ type: 'string'
2253
2428
  }
2254
2429
  },
2255
2430
  additionalProperties: false
2256
2431
  },
2257
2432
  address: {
2433
+ required: ['addressLine', 'adminAreaLevel1Id', 'adminAreaLevel2Id', 'countryId', 'isPrimary', 'type'],
2258
2434
  type: 'object',
2259
2435
  properties: {
2260
2436
  partyType: {
2261
- enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE'],
2437
+ enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE', 'TRAVELLER'],
2262
2438
  type: 'string'
2263
2439
  },
2264
2440
  partyId: {
@@ -2283,8 +2459,8 @@ export const $UniRefund_CRMService_Merchants_CreateMerchantDto = {
2283
2459
  nullable: true
2284
2460
  },
2285
2461
  addressLine: {
2286
- type: 'string',
2287
- nullable: true
2462
+ minLength: 1,
2463
+ type: 'string'
2288
2464
  },
2289
2465
  postalCode: {
2290
2466
  type: 'string',
@@ -2315,23 +2491,26 @@ export const $UniRefund_CRMService_Merchants_CreateMerchantDto = {
2315
2491
  additionalProperties: false
2316
2492
  },
2317
2493
  email: {
2494
+ required: ['emailAddress', 'isPrimary', 'type'],
2318
2495
  type: 'object',
2319
2496
  properties: {
2320
2497
  id: {
2321
2498
  type: 'string',
2322
- format: 'uuid'
2499
+ format: 'uuid',
2500
+ nullable: true
2323
2501
  },
2324
2502
  emailAddress: {
2503
+ maxLength: 255,
2504
+ minLength: 0,
2325
2505
  type: 'string',
2326
- nullable: true
2506
+ format: 'email'
2507
+ },
2508
+ isPrimary: {
2509
+ type: 'boolean'
2327
2510
  },
2328
2511
  type: {
2329
2512
  enum: ['UNKNOWN', 'PERSONAL', 'WORK', 'SCHOOL', 'OTHER'],
2330
2513
  type: 'string'
2331
- },
2332
- isPrimary: {
2333
- type: 'boolean',
2334
- nullable: true
2335
2514
  }
2336
2515
  },
2337
2516
  additionalProperties: false
@@ -2341,6 +2520,7 @@ export const $UniRefund_CRMService_Merchants_CreateMerchantDto = {
2341
2520
  } as const;
2342
2521
 
2343
2522
  export const $UniRefund_CRMService_Merchants_MerchantDto = {
2523
+ required: ['externalIdentifier', 'isPersonalCompany', 'name', 'status', 'typeCode', 'vatNumber'],
2344
2524
  type: 'object',
2345
2525
  properties: {
2346
2526
  id: {
@@ -2348,21 +2528,42 @@ export const $UniRefund_CRMService_Merchants_MerchantDto = {
2348
2528
  format: 'uuid'
2349
2529
  },
2350
2530
  telephone: {
2531
+ required: ['id', 'isPrimary', 'localNumber', 'type'],
2351
2532
  type: 'object',
2352
2533
  properties: {
2353
2534
  id: {
2354
2535
  type: 'string',
2355
2536
  format: 'uuid'
2356
2537
  },
2357
- number: {
2538
+ ituCountryCode: {
2539
+ maxLength: 255,
2540
+ minLength: 0,
2541
+ type: 'string',
2542
+ nullable: true
2543
+ },
2544
+ areaCode: {
2545
+ maxLength: 255,
2546
+ minLength: 0,
2547
+ type: 'string',
2548
+ nullable: true
2549
+ },
2550
+ localNumber: {
2551
+ maxLength: 255,
2552
+ minLength: 0,
2553
+ type: 'string'
2554
+ },
2555
+ normalizedPhoneNumber: {
2358
2556
  type: 'string',
2359
2557
  nullable: true
2360
2558
  },
2559
+ isPrimary: {
2560
+ type: 'boolean'
2561
+ },
2361
2562
  type: {
2362
2563
  enum: ['UNKNOWN', 'HOME', 'WORK', 'MOBILE', 'FAX', 'OTHER'],
2363
2564
  type: 'string'
2364
2565
  },
2365
- isPrimary: {
2566
+ isConfirmed: {
2366
2567
  type: 'boolean',
2367
2568
  nullable: true
2368
2569
  }
@@ -2370,6 +2571,7 @@ export const $UniRefund_CRMService_Merchants_MerchantDto = {
2370
2571
  additionalProperties: false
2371
2572
  },
2372
2573
  address: {
2574
+ required: ['addressLine', 'adminAreaLevel1Id', 'adminAreaLevel2Id', 'countryId', 'isPrimary', 'neighborhoodId', 'partyId', 'partyType', 'type'],
2373
2575
  type: 'object',
2374
2576
  properties: {
2375
2577
  id: {
@@ -2377,7 +2579,7 @@ export const $UniRefund_CRMService_Merchants_MerchantDto = {
2377
2579
  format: 'uuid'
2378
2580
  },
2379
2581
  partyType: {
2380
- enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE'],
2582
+ enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE', 'TRAVELLER'],
2381
2583
  type: 'string'
2382
2584
  },
2383
2585
  partyId: {
@@ -2398,12 +2600,11 @@ export const $UniRefund_CRMService_Merchants_MerchantDto = {
2398
2600
  },
2399
2601
  neighborhoodId: {
2400
2602
  type: 'string',
2401
- format: 'uuid',
2402
- nullable: true
2603
+ format: 'uuid'
2403
2604
  },
2404
2605
  addressLine: {
2405
- type: 'string',
2406
- nullable: true
2606
+ minLength: 1,
2607
+ type: 'string'
2407
2608
  },
2408
2609
  postalCode: {
2409
2610
  type: 'string',
@@ -2428,13 +2629,13 @@ export const $UniRefund_CRMService_Merchants_MerchantDto = {
2428
2629
  nullable: true
2429
2630
  },
2430
2631
  isPrimary: {
2431
- type: 'boolean',
2432
- nullable: true
2632
+ type: 'boolean'
2433
2633
  }
2434
2634
  },
2435
2635
  additionalProperties: false
2436
2636
  },
2437
2637
  email: {
2638
+ required: ['emailAddress', 'isPrimary', 'type'],
2438
2639
  type: 'object',
2439
2640
  properties: {
2440
2641
  id: {
@@ -2442,16 +2643,15 @@ export const $UniRefund_CRMService_Merchants_MerchantDto = {
2442
2643
  format: 'uuid'
2443
2644
  },
2444
2645
  emailAddress: {
2445
- type: 'string',
2446
- nullable: true
2646
+ minLength: 1,
2647
+ type: 'string'
2447
2648
  },
2448
2649
  type: {
2449
2650
  enum: ['UNKNOWN', 'PERSONAL', 'WORK', 'SCHOOL', 'OTHER'],
2450
2651
  type: 'string'
2451
2652
  },
2452
2653
  isPrimary: {
2453
- type: 'boolean',
2454
- nullable: true
2654
+ type: 'boolean'
2455
2655
  }
2456
2656
  },
2457
2657
  additionalProperties: false
@@ -2462,12 +2662,12 @@ export const $UniRefund_CRMService_Merchants_MerchantDto = {
2462
2662
  nullable: true
2463
2663
  },
2464
2664
  name: {
2465
- type: 'string',
2466
- nullable: true
2665
+ minLength: 1,
2666
+ type: 'string'
2467
2667
  },
2468
2668
  vatNumber: {
2469
- type: 'string',
2470
- nullable: true
2669
+ minLength: 1,
2670
+ type: 'string'
2471
2671
  },
2472
2672
  taxOfficeId: {
2473
2673
  type: 'string',
@@ -2478,13 +2678,10 @@ export const $UniRefund_CRMService_Merchants_MerchantDto = {
2478
2678
  type: 'string',
2479
2679
  nullable: true
2480
2680
  },
2481
- storeSequence: {
2482
- type: 'string',
2483
- nullable: true
2484
- },
2485
- externalStoreIdentifier: {
2486
- type: 'string',
2487
- nullable: true
2681
+ externalIdentifier: {
2682
+ maxLength: 15,
2683
+ minLength: 1,
2684
+ type: 'string'
2488
2685
  },
2489
2686
  parentId: {
2490
2687
  type: 'string',
@@ -2510,35 +2707,174 @@ export const $UniRefund_CRMService_Merchants_MerchantDto = {
2510
2707
  additionalProperties: false
2511
2708
  } as const;
2512
2709
 
2513
- export const $UniRefund_CRMService_Merchants_MerchantListResponseDto = {
2710
+ export const $UniRefund_CRMService_Merchants_MerchantInfoForTagDto = {
2711
+ required: ['address', 'name', 'productGroups'],
2514
2712
  type: 'object',
2515
2713
  properties: {
2516
2714
  id: {
2517
2715
  type: 'string',
2518
2716
  format: 'uuid'
2519
2717
  },
2520
- chainCodeId: {
2521
- type: 'string',
2522
- format: 'uuid',
2523
- nullable: true
2524
- },
2525
2718
  name: {
2719
+ minLength: 1,
2526
2720
  type: 'string',
2527
- nullable: true
2528
- },
2529
- vatNumber: {
2530
- type: 'string',
2531
- nullable: true
2532
- },
2533
- externalStoreIdentifier: {
2534
- type: 'string',
2535
- nullable: true
2536
- },
2537
- typeCode: {
2538
- enum: ['HEADQUARTER', 'STORE', 'FRANCHISE'],
2539
- type: 'string'
2721
+ description: 'The **business name** of the merchant. This is the official trading name.'
2540
2722
  },
2541
- isPersonalCompany: {
2723
+ address: {
2724
+ required: ['addressLine', 'adminAreaLevel1Id', 'adminAreaLevel2Id', 'countryId', 'isPrimary', 'neighborhoodId', 'partyId', 'partyType', 'type'],
2725
+ type: 'object',
2726
+ properties: {
2727
+ id: {
2728
+ type: 'string',
2729
+ format: 'uuid'
2730
+ },
2731
+ partyType: {
2732
+ enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE', 'TRAVELLER'],
2733
+ type: 'string'
2734
+ },
2735
+ partyId: {
2736
+ type: 'string',
2737
+ format: 'uuid'
2738
+ },
2739
+ countryId: {
2740
+ type: 'string',
2741
+ format: 'uuid'
2742
+ },
2743
+ adminAreaLevel1Id: {
2744
+ type: 'string',
2745
+ format: 'uuid'
2746
+ },
2747
+ adminAreaLevel2Id: {
2748
+ type: 'string',
2749
+ format: 'uuid'
2750
+ },
2751
+ neighborhoodId: {
2752
+ type: 'string',
2753
+ format: 'uuid'
2754
+ },
2755
+ addressLine: {
2756
+ minLength: 1,
2757
+ type: 'string'
2758
+ },
2759
+ postalCode: {
2760
+ type: 'string',
2761
+ nullable: true
2762
+ },
2763
+ type: {
2764
+ enum: ['UNKNOWN', 'HOME', 'WORK'],
2765
+ type: 'string'
2766
+ },
2767
+ placeId: {
2768
+ type: 'string',
2769
+ nullable: true
2770
+ },
2771
+ latitude: {
2772
+ type: 'number',
2773
+ format: 'float',
2774
+ nullable: true
2775
+ },
2776
+ longitude: {
2777
+ type: 'number',
2778
+ format: 'float',
2779
+ nullable: true
2780
+ },
2781
+ isPrimary: {
2782
+ type: 'boolean'
2783
+ }
2784
+ },
2785
+ additionalProperties: false
2786
+ },
2787
+ productGroups: {
2788
+ type: 'array',
2789
+ items: {
2790
+ required: ['active', 'articleCode', 'companyType', 'food', 'name', 'unitCode'],
2791
+ type: 'object',
2792
+ properties: {
2793
+ id: {
2794
+ type: 'string',
2795
+ format: 'uuid'
2796
+ },
2797
+ articleCode: {
2798
+ minLength: 1,
2799
+ type: 'string',
2800
+ description: 'The unique article code for the product group. This field is **required**.'
2801
+ },
2802
+ name: {
2803
+ minLength: 1,
2804
+ type: 'string',
2805
+ description: 'The name of the product group (e.g., "Electronics", "Apparel"). This field is **required**.'
2806
+ },
2807
+ unitCode: {
2808
+ enum: ['QNT', 'BAG', 'BOX'],
2809
+ type: 'string'
2810
+ },
2811
+ companyType: {
2812
+ enum: ['GOVERNMENT', 'TAXFREE', 'CUSTOMS', 'REFUNDPOINT', 'MERCHANT', 'EXCHANGE', 'TOURGUIDE'],
2813
+ type: 'string'
2814
+ },
2815
+ vatId: {
2816
+ type: 'string',
2817
+ description: 'The unique identifier for the VAT (Value Added Tax) category applicable to this product group.',
2818
+ format: 'uuid'
2819
+ },
2820
+ vatPercent: {
2821
+ type: 'integer',
2822
+ description: 'The percentage of VAT applied to products in this group, if applicable.',
2823
+ format: 'int32',
2824
+ nullable: true
2825
+ },
2826
+ active: {
2827
+ type: 'boolean',
2828
+ description: 'Indicates whether the product group is currently active. This field is **required**.'
2829
+ },
2830
+ food: {
2831
+ type: 'boolean',
2832
+ description: 'Indicates whether the product group consists of food items. This field is **required**.'
2833
+ }
2834
+ },
2835
+ additionalProperties: false,
2836
+ description: 'Represents a group of products with common characteristics, used for categorization and tax purposes.'
2837
+ },
2838
+ description: `A list of **product groups** that this merchant sells,
2839
+ relevant for tax-free eligibility categorization.`
2840
+ }
2841
+ },
2842
+ additionalProperties: false,
2843
+ description: `Represents the detailed business information for a merchant within the tax-free system.
2844
+ This DTO is used for transferring and displaying core merchant data.`
2845
+ } as const;
2846
+
2847
+ export const $UniRefund_CRMService_Merchants_MerchantListResponseDto = {
2848
+ required: ['externalIdentifier', 'isPersonalCompany', 'name', 'status', 'typeCode', 'vatNumber'],
2849
+ type: 'object',
2850
+ properties: {
2851
+ id: {
2852
+ type: 'string',
2853
+ format: 'uuid'
2854
+ },
2855
+ chainCodeId: {
2856
+ type: 'string',
2857
+ format: 'uuid',
2858
+ nullable: true
2859
+ },
2860
+ name: {
2861
+ minLength: 1,
2862
+ type: 'string'
2863
+ },
2864
+ vatNumber: {
2865
+ minLength: 1,
2866
+ type: 'string'
2867
+ },
2868
+ externalIdentifier: {
2869
+ maxLength: 15,
2870
+ minLength: 1,
2871
+ type: 'string'
2872
+ },
2873
+ typeCode: {
2874
+ enum: ['HEADQUARTER', 'STORE', 'FRANCHISE'],
2875
+ type: 'string'
2876
+ },
2877
+ isPersonalCompany: {
2542
2878
  type: 'boolean'
2543
2879
  },
2544
2880
  parentId: {
@@ -2570,7 +2906,8 @@ export const $UniRefund_CRMService_Merchants_MerchantSummaryRequestDto = {
2570
2906
  type: 'string',
2571
2907
  nullable: true
2572
2908
  },
2573
- externalStoreIdentifier: {
2909
+ externalIdentifier: {
2910
+ maxLength: 15,
2574
2911
  type: 'string',
2575
2912
  nullable: true
2576
2913
  }
@@ -2579,6 +2916,7 @@ export const $UniRefund_CRMService_Merchants_MerchantSummaryRequestDto = {
2579
2916
  } as const;
2580
2917
 
2581
2918
  export const $UniRefund_CRMService_Merchants_MerchantSummaryResponseDto = {
2919
+ required: ['externalIdentifier', 'name', 'status', 'typeCode', 'vatNumber'],
2582
2920
  type: 'object',
2583
2921
  properties: {
2584
2922
  id: {
@@ -2586,20 +2924,17 @@ export const $UniRefund_CRMService_Merchants_MerchantSummaryResponseDto = {
2586
2924
  format: 'uuid'
2587
2925
  },
2588
2926
  name: {
2589
- type: 'string',
2590
- nullable: true
2927
+ minLength: 1,
2928
+ type: 'string'
2591
2929
  },
2592
2930
  vatNumber: {
2593
- type: 'string',
2594
- nullable: true
2595
- },
2596
- storeSequence: {
2597
- type: 'string',
2598
- nullable: true
2931
+ minLength: 1,
2932
+ type: 'string'
2599
2933
  },
2600
- externalStoreIdentifier: {
2601
- type: 'string',
2602
- nullable: true
2934
+ externalIdentifier: {
2935
+ maxLength: 15,
2936
+ minLength: 1,
2937
+ type: 'string'
2603
2938
  },
2604
2939
  parentId: {
2605
2940
  type: 'string',
@@ -2624,7 +2959,6 @@ export const $UniRefund_CRMService_Merchants_MerchantTypeCode = {
2624
2959
  } as const;
2625
2960
 
2626
2961
  export const $UniRefund_CRMService_Merchants_UpdateMerchantDto = {
2627
- required: ['name', 'typeCode'],
2628
2962
  type: 'object',
2629
2963
  properties: {
2630
2964
  chainCodeId: {
@@ -2633,8 +2967,8 @@ export const $UniRefund_CRMService_Merchants_UpdateMerchantDto = {
2633
2967
  nullable: true
2634
2968
  },
2635
2969
  name: {
2636
- minLength: 1,
2637
- type: 'string'
2970
+ type: 'string',
2971
+ nullable: true
2638
2972
  },
2639
2973
  vatNumber: {
2640
2974
  maxLength: 255,
@@ -2647,28 +2981,25 @@ export const $UniRefund_CRMService_Merchants_UpdateMerchantDto = {
2647
2981
  format: 'uuid',
2648
2982
  nullable: true
2649
2983
  },
2650
- externalStoreIdentifier: {
2651
- type: 'string',
2652
- nullable: true
2653
- },
2654
- parentId: {
2984
+ externalIdentifier: {
2985
+ maxLength: 15,
2655
2986
  type: 'string',
2656
- format: 'uuid',
2657
2987
  nullable: true
2658
2988
  },
2659
- typeCode: {
2660
- enum: ['HEADQUARTER', 'STORE', 'FRANCHISE'],
2661
- type: 'string'
2662
- },
2663
2989
  isPersonalCompany: {
2664
2990
  type: 'boolean',
2665
2991
  nullable: true
2992
+ },
2993
+ status: {
2994
+ enum: ['DRAFT', 'WAITINGAPPROVAL', 'APPROVED', 'REJECTED', 'ACTIVE', 'INACTIVE', 'SUSPENDED'],
2995
+ type: 'string'
2666
2996
  }
2667
2997
  },
2668
2998
  additionalProperties: false
2669
2999
  } as const;
2670
3000
 
2671
3001
  export const $UniRefund_CRMService_Neighborhoods_CreateNeighborhoodDto = {
3002
+ required: ['adminAreaLevel2Id', 'name'],
2672
3003
  type: 'object',
2673
3004
  properties: {
2674
3005
  adminAreaLevel2Id: {
@@ -2676,8 +3007,8 @@ export const $UniRefund_CRMService_Neighborhoods_CreateNeighborhoodDto = {
2676
3007
  format: 'uuid'
2677
3008
  },
2678
3009
  name: {
2679
- type: 'string',
2680
- nullable: true
3010
+ minLength: 1,
3011
+ type: 'string'
2681
3012
  },
2682
3013
  shortName: {
2683
3014
  type: 'string',
@@ -2702,6 +3033,7 @@ export const $UniRefund_CRMService_Neighborhoods_CreateNeighborhoodDto = {
2702
3033
  } as const;
2703
3034
 
2704
3035
  export const $UniRefund_CRMService_Neighborhoods_NeighborhoodDto = {
3036
+ required: ['adminAreaLevel2Id', 'name'],
2705
3037
  type: 'object',
2706
3038
  properties: {
2707
3039
  id: {
@@ -2713,8 +3045,8 @@ export const $UniRefund_CRMService_Neighborhoods_NeighborhoodDto = {
2713
3045
  format: 'uuid'
2714
3046
  },
2715
3047
  name: {
2716
- type: 'string',
2717
- nullable: true
3048
+ minLength: 1,
3049
+ type: 'string'
2718
3050
  },
2719
3051
  shortName: {
2720
3052
  type: 'string',
@@ -2773,7 +3105,7 @@ export const $UniRefund_CRMService_Neighborhoods_UpdateNeighborhoodDto = {
2773
3105
  } as const;
2774
3106
 
2775
3107
  export const $UniRefund_CRMService_RefundPoints_CreateRefundPointDto = {
2776
- required: ['name'],
3108
+ required: ['address', 'email', 'name', 'telephone', 'typeCode'],
2777
3109
  type: 'object',
2778
3110
  properties: {
2779
3111
  name: {
@@ -2791,7 +3123,8 @@ export const $UniRefund_CRMService_RefundPoints_CreateRefundPointDto = {
2791
3123
  format: 'uuid',
2792
3124
  nullable: true
2793
3125
  },
2794
- externalStoreIdentifier: {
3126
+ externalIdentifier: {
3127
+ maxLength: 15,
2795
3128
  type: 'string',
2796
3129
  nullable: true
2797
3130
  },
@@ -2805,32 +3138,42 @@ export const $UniRefund_CRMService_RefundPoints_CreateRefundPointDto = {
2805
3138
  type: 'string'
2806
3139
  },
2807
3140
  telephone: {
3141
+ required: ['isPrimary', 'localNumber', 'type'],
2808
3142
  type: 'object',
2809
3143
  properties: {
2810
- id: {
3144
+ ituCountryCode: {
3145
+ maxLength: 255,
3146
+ minLength: 0,
2811
3147
  type: 'string',
2812
- format: 'uuid'
3148
+ nullable: true
2813
3149
  },
2814
- number: {
3150
+ areaCode: {
3151
+ maxLength: 255,
3152
+ minLength: 0,
2815
3153
  type: 'string',
2816
3154
  nullable: true
2817
3155
  },
2818
- type: {
2819
- enum: ['UNKNOWN', 'HOME', 'WORK', 'MOBILE', 'FAX', 'OTHER'],
3156
+ localNumber: {
3157
+ maxLength: 255,
3158
+ minLength: 0,
2820
3159
  type: 'string'
2821
3160
  },
2822
3161
  isPrimary: {
2823
- type: 'boolean',
2824
- nullable: true
3162
+ type: 'boolean'
3163
+ },
3164
+ type: {
3165
+ enum: ['UNKNOWN', 'HOME', 'WORK', 'MOBILE', 'FAX', 'OTHER'],
3166
+ type: 'string'
2825
3167
  }
2826
3168
  },
2827
3169
  additionalProperties: false
2828
3170
  },
2829
3171
  address: {
3172
+ required: ['addressLine', 'adminAreaLevel1Id', 'adminAreaLevel2Id', 'countryId', 'isPrimary', 'type'],
2830
3173
  type: 'object',
2831
3174
  properties: {
2832
3175
  partyType: {
2833
- enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE'],
3176
+ enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE', 'TRAVELLER'],
2834
3177
  type: 'string'
2835
3178
  },
2836
3179
  partyId: {
@@ -2855,8 +3198,8 @@ export const $UniRefund_CRMService_RefundPoints_CreateRefundPointDto = {
2855
3198
  nullable: true
2856
3199
  },
2857
3200
  addressLine: {
2858
- type: 'string',
2859
- nullable: true
3201
+ minLength: 1,
3202
+ type: 'string'
2860
3203
  },
2861
3204
  postalCode: {
2862
3205
  type: 'string',
@@ -2887,23 +3230,26 @@ export const $UniRefund_CRMService_RefundPoints_CreateRefundPointDto = {
2887
3230
  additionalProperties: false
2888
3231
  },
2889
3232
  email: {
3233
+ required: ['emailAddress', 'isPrimary', 'type'],
2890
3234
  type: 'object',
2891
3235
  properties: {
2892
3236
  id: {
2893
3237
  type: 'string',
2894
- format: 'uuid'
3238
+ format: 'uuid',
3239
+ nullable: true
2895
3240
  },
2896
3241
  emailAddress: {
3242
+ maxLength: 255,
3243
+ minLength: 0,
2897
3244
  type: 'string',
2898
- nullable: true
3245
+ format: 'email'
3246
+ },
3247
+ isPrimary: {
3248
+ type: 'boolean'
2899
3249
  },
2900
3250
  type: {
2901
3251
  enum: ['UNKNOWN', 'PERSONAL', 'WORK', 'SCHOOL', 'OTHER'],
2902
3252
  type: 'string'
2903
- },
2904
- isPrimary: {
2905
- type: 'boolean',
2906
- nullable: true
2907
3253
  }
2908
3254
  },
2909
3255
  additionalProperties: false
@@ -2913,6 +3259,7 @@ export const $UniRefund_CRMService_RefundPoints_CreateRefundPointDto = {
2913
3259
  } as const;
2914
3260
 
2915
3261
  export const $UniRefund_CRMService_RefundPoints_RefundPointDetailForRefund = {
3262
+ required: ['id', 'name'],
2916
3263
  type: 'object',
2917
3264
  properties: {
2918
3265
  id: {
@@ -2920,8 +3267,8 @@ export const $UniRefund_CRMService_RefundPoints_RefundPointDetailForRefund = {
2920
3267
  format: 'uuid'
2921
3268
  },
2922
3269
  name: {
2923
- type: 'string',
2924
- nullable: true
3270
+ minLength: 1,
3271
+ type: 'string'
2925
3272
  },
2926
3273
  fullAddress: {
2927
3274
  type: 'string',
@@ -2932,6 +3279,7 @@ export const $UniRefund_CRMService_RefundPoints_RefundPointDetailForRefund = {
2932
3279
  } as const;
2933
3280
 
2934
3281
  export const $UniRefund_CRMService_RefundPoints_RefundPointDto = {
3282
+ required: ['name', 'status', 'typeCode', 'vatNumber'],
2935
3283
  type: 'object',
2936
3284
  properties: {
2937
3285
  id: {
@@ -2939,21 +3287,42 @@ export const $UniRefund_CRMService_RefundPoints_RefundPointDto = {
2939
3287
  format: 'uuid'
2940
3288
  },
2941
3289
  telephone: {
3290
+ required: ['id', 'isPrimary', 'localNumber', 'type'],
2942
3291
  type: 'object',
2943
3292
  properties: {
2944
3293
  id: {
2945
3294
  type: 'string',
2946
3295
  format: 'uuid'
2947
3296
  },
2948
- number: {
3297
+ ituCountryCode: {
3298
+ maxLength: 255,
3299
+ minLength: 0,
3300
+ type: 'string',
3301
+ nullable: true
3302
+ },
3303
+ areaCode: {
3304
+ maxLength: 255,
3305
+ minLength: 0,
3306
+ type: 'string',
3307
+ nullable: true
3308
+ },
3309
+ localNumber: {
3310
+ maxLength: 255,
3311
+ minLength: 0,
3312
+ type: 'string'
3313
+ },
3314
+ normalizedPhoneNumber: {
2949
3315
  type: 'string',
2950
3316
  nullable: true
2951
3317
  },
3318
+ isPrimary: {
3319
+ type: 'boolean'
3320
+ },
2952
3321
  type: {
2953
3322
  enum: ['UNKNOWN', 'HOME', 'WORK', 'MOBILE', 'FAX', 'OTHER'],
2954
3323
  type: 'string'
2955
3324
  },
2956
- isPrimary: {
3325
+ isConfirmed: {
2957
3326
  type: 'boolean',
2958
3327
  nullable: true
2959
3328
  }
@@ -2961,6 +3330,7 @@ export const $UniRefund_CRMService_RefundPoints_RefundPointDto = {
2961
3330
  additionalProperties: false
2962
3331
  },
2963
3332
  address: {
3333
+ required: ['addressLine', 'adminAreaLevel1Id', 'adminAreaLevel2Id', 'countryId', 'isPrimary', 'neighborhoodId', 'partyId', 'partyType', 'type'],
2964
3334
  type: 'object',
2965
3335
  properties: {
2966
3336
  id: {
@@ -2968,7 +3338,7 @@ export const $UniRefund_CRMService_RefundPoints_RefundPointDto = {
2968
3338
  format: 'uuid'
2969
3339
  },
2970
3340
  partyType: {
2971
- enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE'],
3341
+ enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE', 'TRAVELLER'],
2972
3342
  type: 'string'
2973
3343
  },
2974
3344
  partyId: {
@@ -2989,12 +3359,11 @@ export const $UniRefund_CRMService_RefundPoints_RefundPointDto = {
2989
3359
  },
2990
3360
  neighborhoodId: {
2991
3361
  type: 'string',
2992
- format: 'uuid',
2993
- nullable: true
3362
+ format: 'uuid'
2994
3363
  },
2995
3364
  addressLine: {
2996
- type: 'string',
2997
- nullable: true
3365
+ minLength: 1,
3366
+ type: 'string'
2998
3367
  },
2999
3368
  postalCode: {
3000
3369
  type: 'string',
@@ -3019,13 +3388,13 @@ export const $UniRefund_CRMService_RefundPoints_RefundPointDto = {
3019
3388
  nullable: true
3020
3389
  },
3021
3390
  isPrimary: {
3022
- type: 'boolean',
3023
- nullable: true
3391
+ type: 'boolean'
3024
3392
  }
3025
3393
  },
3026
3394
  additionalProperties: false
3027
3395
  },
3028
3396
  email: {
3397
+ required: ['emailAddress', 'isPrimary', 'type'],
3029
3398
  type: 'object',
3030
3399
  properties: {
3031
3400
  id: {
@@ -3033,27 +3402,27 @@ export const $UniRefund_CRMService_RefundPoints_RefundPointDto = {
3033
3402
  format: 'uuid'
3034
3403
  },
3035
3404
  emailAddress: {
3036
- type: 'string',
3037
- nullable: true
3405
+ minLength: 1,
3406
+ type: 'string'
3038
3407
  },
3039
3408
  type: {
3040
3409
  enum: ['UNKNOWN', 'PERSONAL', 'WORK', 'SCHOOL', 'OTHER'],
3041
3410
  type: 'string'
3042
3411
  },
3043
3412
  isPrimary: {
3044
- type: 'boolean',
3045
- nullable: true
3413
+ type: 'boolean'
3046
3414
  }
3047
3415
  },
3048
3416
  additionalProperties: false
3049
3417
  },
3050
3418
  name: {
3051
- type: 'string',
3052
- nullable: true
3419
+ minLength: 1,
3420
+ type: 'string'
3053
3421
  },
3054
3422
  vatNumber: {
3055
- type: 'string',
3056
- nullable: true
3423
+ maxLength: 255,
3424
+ minLength: 0,
3425
+ type: 'string'
3057
3426
  },
3058
3427
  taxOfficeId: {
3059
3428
  type: 'string',
@@ -3064,7 +3433,8 @@ export const $UniRefund_CRMService_RefundPoints_RefundPointDto = {
3064
3433
  type: 'string',
3065
3434
  nullable: true
3066
3435
  },
3067
- externalStoreIdentifier: {
3436
+ externalIdentifier: {
3437
+ maxLength: 15,
3068
3438
  type: 'string',
3069
3439
  nullable: true
3070
3440
  },
@@ -3077,6 +3447,10 @@ export const $UniRefund_CRMService_RefundPoints_RefundPointDto = {
3077
3447
  type: 'string',
3078
3448
  nullable: true
3079
3449
  },
3450
+ typeCode: {
3451
+ enum: ['HEADQUARTER', 'REFUNDPOINT'],
3452
+ type: 'string'
3453
+ },
3080
3454
  status: {
3081
3455
  enum: ['DRAFT', 'WAITINGAPPROVAL', 'APPROVED', 'REJECTED', 'ACTIVE', 'INACTIVE', 'SUSPENDED'],
3082
3456
  type: 'string'
@@ -3085,7 +3459,8 @@ export const $UniRefund_CRMService_RefundPoints_RefundPointDto = {
3085
3459
  additionalProperties: false
3086
3460
  } as const;
3087
3461
 
3088
- export const $UniRefund_CRMService_RefundPoints_RefundPointListResponseDto = {
3462
+ export const $UniRefund_CRMService_RefundPoints_RefundPointInfoForRefundDto = {
3463
+ required: ['id', 'name'],
3089
3464
  type: 'object',
3090
3465
  properties: {
3091
3466
  id: {
@@ -3093,14 +3468,40 @@ export const $UniRefund_CRMService_RefundPoints_RefundPointListResponseDto = {
3093
3468
  format: 'uuid'
3094
3469
  },
3095
3470
  name: {
3471
+ minLength: 1,
3472
+ type: 'string'
3473
+ },
3474
+ parentId: {
3096
3475
  type: 'string',
3476
+ format: 'uuid',
3097
3477
  nullable: true
3098
3478
  },
3099
- vatNumber: {
3479
+ parentName: {
3100
3480
  type: 'string',
3101
3481
  nullable: true
3482
+ }
3483
+ },
3484
+ additionalProperties: false
3485
+ } as const;
3486
+
3487
+ export const $UniRefund_CRMService_RefundPoints_RefundPointListResponseDto = {
3488
+ required: ['name', 'status', 'typeCode', 'vatNumber'],
3489
+ type: 'object',
3490
+ properties: {
3491
+ id: {
3492
+ type: 'string',
3493
+ format: 'uuid'
3494
+ },
3495
+ name: {
3496
+ minLength: 1,
3497
+ type: 'string'
3498
+ },
3499
+ vatNumber: {
3500
+ minLength: 1,
3501
+ type: 'string'
3102
3502
  },
3103
- externalStoreIdentifier: {
3503
+ externalIdentifier: {
3504
+ maxLength: 15,
3104
3505
  type: 'string',
3105
3506
  nullable: true
3106
3507
  },
@@ -3113,13 +3514,13 @@ export const $UniRefund_CRMService_RefundPoints_RefundPointListResponseDto = {
3113
3514
  type: 'string',
3114
3515
  nullable: true
3115
3516
  },
3116
- status: {
3117
- enum: ['DRAFT', 'WAITINGAPPROVAL', 'APPROVED', 'REJECTED', 'ACTIVE', 'INACTIVE', 'SUSPENDED'],
3118
- type: 'string'
3119
- },
3120
3517
  typeCode: {
3121
3518
  enum: ['HEADQUARTER', 'REFUNDPOINT'],
3122
3519
  type: 'string'
3520
+ },
3521
+ status: {
3522
+ enum: ['DRAFT', 'WAITINGAPPROVAL', 'APPROVED', 'REJECTED', 'ACTIVE', 'INACTIVE', 'SUSPENDED'],
3523
+ type: 'string'
3123
3524
  }
3124
3525
  },
3125
3526
  additionalProperties: false
@@ -3136,12 +3537,11 @@ export const $UniRefund_CRMService_RefundPoints_RefundPointTypeCode = {
3136
3537
  } as const;
3137
3538
 
3138
3539
  export const $UniRefund_CRMService_RefundPoints_UpdateRefundPointDto = {
3139
- required: ['name'],
3140
3540
  type: 'object',
3141
3541
  properties: {
3142
3542
  name: {
3143
- minLength: 1,
3144
- type: 'string'
3543
+ type: 'string',
3544
+ nullable: true
3145
3545
  },
3146
3546
  vatNumber: {
3147
3547
  maxLength: 255,
@@ -3154,15 +3554,11 @@ export const $UniRefund_CRMService_RefundPoints_UpdateRefundPointDto = {
3154
3554
  format: 'uuid',
3155
3555
  nullable: true
3156
3556
  },
3157
- externalStoreIdentifier: {
3557
+ externalIdentifier: {
3558
+ maxLength: 15,
3158
3559
  type: 'string',
3159
3560
  nullable: true
3160
3561
  },
3161
- parentId: {
3162
- type: 'string',
3163
- format: 'uuid',
3164
- nullable: true
3165
- },
3166
3562
  status: {
3167
3563
  enum: ['DRAFT', 'WAITINGAPPROVAL', 'APPROVED', 'REJECTED', 'ACTIVE', 'INACTIVE', 'SUSPENDED'],
3168
3564
  type: 'string'
@@ -3172,6 +3568,7 @@ export const $UniRefund_CRMService_RefundPoints_UpdateRefundPointDto = {
3172
3568
  } as const;
3173
3569
 
3174
3570
  export const $UniRefund_CRMService_Regions_CreateRegionDto = {
3571
+ required: ['countryId', 'name'],
3175
3572
  type: 'object',
3176
3573
  properties: {
3177
3574
  countryId: {
@@ -3179,8 +3576,8 @@ export const $UniRefund_CRMService_Regions_CreateRegionDto = {
3179
3576
  format: 'uuid'
3180
3577
  },
3181
3578
  name: {
3182
- type: 'string',
3183
- nullable: true
3579
+ minLength: 1,
3580
+ type: 'string'
3184
3581
  },
3185
3582
  shortName: {
3186
3583
  type: 'string',
@@ -3199,6 +3596,7 @@ export const $UniRefund_CRMService_Regions_CreateRegionDto = {
3199
3596
  } as const;
3200
3597
 
3201
3598
  export const $UniRefund_CRMService_Regions_RegionDto = {
3599
+ required: ['countryId', 'name'],
3202
3600
  type: 'object',
3203
3601
  properties: {
3204
3602
  id: {
@@ -3210,8 +3608,8 @@ export const $UniRefund_CRMService_Regions_RegionDto = {
3210
3608
  format: 'uuid'
3211
3609
  },
3212
3610
  name: {
3213
- type: 'string',
3214
- nullable: true
3611
+ minLength: 1,
3612
+ type: 'string'
3215
3613
  },
3216
3614
  shortName: {
3217
3615
  type: 'string',
@@ -3258,7 +3656,7 @@ export const $UniRefund_CRMService_Regions_UpdateRegionDto = {
3258
3656
  } as const;
3259
3657
 
3260
3658
  export const $UniRefund_CRMService_TaxFrees_CreateTaxFreeDto = {
3261
- required: ['name'],
3659
+ required: ['address', 'email', 'name', 'telephone', 'typeCode'],
3262
3660
  type: 'object',
3263
3661
  properties: {
3264
3662
  name: {
@@ -3276,7 +3674,8 @@ export const $UniRefund_CRMService_TaxFrees_CreateTaxFreeDto = {
3276
3674
  format: 'uuid',
3277
3675
  nullable: true
3278
3676
  },
3279
- externalStoreIdentifier: {
3677
+ externalIdentifier: {
3678
+ maxLength: 15,
3280
3679
  type: 'string',
3281
3680
  nullable: true
3282
3681
  },
@@ -3290,32 +3689,42 @@ export const $UniRefund_CRMService_TaxFrees_CreateTaxFreeDto = {
3290
3689
  type: 'string'
3291
3690
  },
3292
3691
  telephone: {
3692
+ required: ['isPrimary', 'localNumber', 'type'],
3293
3693
  type: 'object',
3294
3694
  properties: {
3295
- id: {
3695
+ ituCountryCode: {
3696
+ maxLength: 255,
3697
+ minLength: 0,
3296
3698
  type: 'string',
3297
- format: 'uuid'
3699
+ nullable: true
3298
3700
  },
3299
- number: {
3701
+ areaCode: {
3702
+ maxLength: 255,
3703
+ minLength: 0,
3300
3704
  type: 'string',
3301
3705
  nullable: true
3302
3706
  },
3303
- type: {
3304
- enum: ['UNKNOWN', 'HOME', 'WORK', 'MOBILE', 'FAX', 'OTHER'],
3707
+ localNumber: {
3708
+ maxLength: 255,
3709
+ minLength: 0,
3305
3710
  type: 'string'
3306
3711
  },
3307
3712
  isPrimary: {
3308
- type: 'boolean',
3309
- nullable: true
3713
+ type: 'boolean'
3714
+ },
3715
+ type: {
3716
+ enum: ['UNKNOWN', 'HOME', 'WORK', 'MOBILE', 'FAX', 'OTHER'],
3717
+ type: 'string'
3310
3718
  }
3311
3719
  },
3312
3720
  additionalProperties: false
3313
3721
  },
3314
3722
  address: {
3723
+ required: ['addressLine', 'adminAreaLevel1Id', 'adminAreaLevel2Id', 'countryId', 'isPrimary', 'type'],
3315
3724
  type: 'object',
3316
3725
  properties: {
3317
3726
  partyType: {
3318
- enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE'],
3727
+ enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE', 'TRAVELLER'],
3319
3728
  type: 'string'
3320
3729
  },
3321
3730
  partyId: {
@@ -3340,8 +3749,8 @@ export const $UniRefund_CRMService_TaxFrees_CreateTaxFreeDto = {
3340
3749
  nullable: true
3341
3750
  },
3342
3751
  addressLine: {
3343
- type: 'string',
3344
- nullable: true
3752
+ minLength: 1,
3753
+ type: 'string'
3345
3754
  },
3346
3755
  postalCode: {
3347
3756
  type: 'string',
@@ -3372,23 +3781,26 @@ export const $UniRefund_CRMService_TaxFrees_CreateTaxFreeDto = {
3372
3781
  additionalProperties: false
3373
3782
  },
3374
3783
  email: {
3784
+ required: ['emailAddress', 'isPrimary', 'type'],
3375
3785
  type: 'object',
3376
3786
  properties: {
3377
3787
  id: {
3378
3788
  type: 'string',
3379
- format: 'uuid'
3789
+ format: 'uuid',
3790
+ nullable: true
3380
3791
  },
3381
3792
  emailAddress: {
3793
+ maxLength: 255,
3794
+ minLength: 0,
3382
3795
  type: 'string',
3383
- nullable: true
3796
+ format: 'email'
3797
+ },
3798
+ isPrimary: {
3799
+ type: 'boolean'
3384
3800
  },
3385
3801
  type: {
3386
3802
  enum: ['UNKNOWN', 'PERSONAL', 'WORK', 'SCHOOL', 'OTHER'],
3387
3803
  type: 'string'
3388
- },
3389
- isPrimary: {
3390
- type: 'boolean',
3391
- nullable: true
3392
3804
  }
3393
3805
  },
3394
3806
  additionalProperties: false
@@ -3398,6 +3810,7 @@ export const $UniRefund_CRMService_TaxFrees_CreateTaxFreeDto = {
3398
3810
  } as const;
3399
3811
 
3400
3812
  export const $UniRefund_CRMService_TaxFrees_TaxFreeDto = {
3813
+ required: ['name', 'status', 'typeCode', 'vatNumber'],
3401
3814
  type: 'object',
3402
3815
  properties: {
3403
3816
  id: {
@@ -3405,21 +3818,42 @@ export const $UniRefund_CRMService_TaxFrees_TaxFreeDto = {
3405
3818
  format: 'uuid'
3406
3819
  },
3407
3820
  telephone: {
3821
+ required: ['id', 'isPrimary', 'localNumber', 'type'],
3408
3822
  type: 'object',
3409
3823
  properties: {
3410
3824
  id: {
3411
3825
  type: 'string',
3412
- format: 'uuid'
3826
+ format: 'uuid'
3827
+ },
3828
+ ituCountryCode: {
3829
+ maxLength: 255,
3830
+ minLength: 0,
3831
+ type: 'string',
3832
+ nullable: true
3833
+ },
3834
+ areaCode: {
3835
+ maxLength: 255,
3836
+ minLength: 0,
3837
+ type: 'string',
3838
+ nullable: true
3839
+ },
3840
+ localNumber: {
3841
+ maxLength: 255,
3842
+ minLength: 0,
3843
+ type: 'string'
3413
3844
  },
3414
- number: {
3845
+ normalizedPhoneNumber: {
3415
3846
  type: 'string',
3416
3847
  nullable: true
3417
3848
  },
3849
+ isPrimary: {
3850
+ type: 'boolean'
3851
+ },
3418
3852
  type: {
3419
3853
  enum: ['UNKNOWN', 'HOME', 'WORK', 'MOBILE', 'FAX', 'OTHER'],
3420
3854
  type: 'string'
3421
3855
  },
3422
- isPrimary: {
3856
+ isConfirmed: {
3423
3857
  type: 'boolean',
3424
3858
  nullable: true
3425
3859
  }
@@ -3427,6 +3861,7 @@ export const $UniRefund_CRMService_TaxFrees_TaxFreeDto = {
3427
3861
  additionalProperties: false
3428
3862
  },
3429
3863
  address: {
3864
+ required: ['addressLine', 'adminAreaLevel1Id', 'adminAreaLevel2Id', 'countryId', 'isPrimary', 'neighborhoodId', 'partyId', 'partyType', 'type'],
3430
3865
  type: 'object',
3431
3866
  properties: {
3432
3867
  id: {
@@ -3434,7 +3869,7 @@ export const $UniRefund_CRMService_TaxFrees_TaxFreeDto = {
3434
3869
  format: 'uuid'
3435
3870
  },
3436
3871
  partyType: {
3437
- enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE'],
3872
+ enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE', 'TRAVELLER'],
3438
3873
  type: 'string'
3439
3874
  },
3440
3875
  partyId: {
@@ -3455,12 +3890,11 @@ export const $UniRefund_CRMService_TaxFrees_TaxFreeDto = {
3455
3890
  },
3456
3891
  neighborhoodId: {
3457
3892
  type: 'string',
3458
- format: 'uuid',
3459
- nullable: true
3893
+ format: 'uuid'
3460
3894
  },
3461
3895
  addressLine: {
3462
- type: 'string',
3463
- nullable: true
3896
+ minLength: 1,
3897
+ type: 'string'
3464
3898
  },
3465
3899
  postalCode: {
3466
3900
  type: 'string',
@@ -3485,13 +3919,13 @@ export const $UniRefund_CRMService_TaxFrees_TaxFreeDto = {
3485
3919
  nullable: true
3486
3920
  },
3487
3921
  isPrimary: {
3488
- type: 'boolean',
3489
- nullable: true
3922
+ type: 'boolean'
3490
3923
  }
3491
3924
  },
3492
3925
  additionalProperties: false
3493
3926
  },
3494
3927
  email: {
3928
+ required: ['emailAddress', 'isPrimary', 'type'],
3495
3929
  type: 'object',
3496
3930
  properties: {
3497
3931
  id: {
@@ -3499,27 +3933,27 @@ export const $UniRefund_CRMService_TaxFrees_TaxFreeDto = {
3499
3933
  format: 'uuid'
3500
3934
  },
3501
3935
  emailAddress: {
3502
- type: 'string',
3503
- nullable: true
3936
+ minLength: 1,
3937
+ type: 'string'
3504
3938
  },
3505
3939
  type: {
3506
3940
  enum: ['UNKNOWN', 'PERSONAL', 'WORK', 'SCHOOL', 'OTHER'],
3507
3941
  type: 'string'
3508
3942
  },
3509
3943
  isPrimary: {
3510
- type: 'boolean',
3511
- nullable: true
3944
+ type: 'boolean'
3512
3945
  }
3513
3946
  },
3514
3947
  additionalProperties: false
3515
3948
  },
3516
3949
  name: {
3517
- type: 'string',
3518
- nullable: true
3950
+ minLength: 1,
3951
+ type: 'string'
3519
3952
  },
3520
3953
  vatNumber: {
3521
- type: 'string',
3522
- nullable: true
3954
+ maxLength: 255,
3955
+ minLength: 0,
3956
+ type: 'string'
3523
3957
  },
3524
3958
  taxOfficeId: {
3525
3959
  type: 'string',
@@ -3530,11 +3964,8 @@ export const $UniRefund_CRMService_TaxFrees_TaxFreeDto = {
3530
3964
  type: 'string',
3531
3965
  nullable: true
3532
3966
  },
3533
- storeSequence: {
3534
- type: 'string',
3535
- nullable: true
3536
- },
3537
- externalStoreIdentifier: {
3967
+ externalIdentifier: {
3968
+ maxLength: 15,
3538
3969
  type: 'string',
3539
3970
  nullable: true
3540
3971
  },
@@ -3560,6 +3991,7 @@ export const $UniRefund_CRMService_TaxFrees_TaxFreeDto = {
3560
3991
  } as const;
3561
3992
 
3562
3993
  export const $UniRefund_CRMService_TaxFrees_TaxFreeListResponseDto = {
3994
+ required: ['externalIdentifier', 'name', 'status', 'typeCode', 'vatNumber'],
3563
3995
  type: 'object',
3564
3996
  properties: {
3565
3997
  id: {
@@ -3567,20 +3999,17 @@ export const $UniRefund_CRMService_TaxFrees_TaxFreeListResponseDto = {
3567
3999
  format: 'uuid'
3568
4000
  },
3569
4001
  name: {
3570
- type: 'string',
3571
- nullable: true
4002
+ minLength: 1,
4003
+ type: 'string'
3572
4004
  },
3573
4005
  vatNumber: {
3574
- type: 'string',
3575
- nullable: true
3576
- },
3577
- storeSequence: {
3578
- type: 'string',
3579
- nullable: true
4006
+ minLength: 1,
4007
+ type: 'string'
3580
4008
  },
3581
- externalStoreIdentifier: {
3582
- type: 'string',
3583
- nullable: true
4009
+ externalIdentifier: {
4010
+ maxLength: 15,
4011
+ minLength: 1,
4012
+ type: 'string'
3584
4013
  },
3585
4014
  parentId: {
3586
4015
  type: 'string',
@@ -3614,12 +4043,11 @@ export const $UniRefund_CRMService_TaxFrees_TaxFreeTypeCode = {
3614
4043
  } as const;
3615
4044
 
3616
4045
  export const $UniRefund_CRMService_TaxFrees_UpdateTaxFreeDto = {
3617
- required: ['name'],
3618
4046
  type: 'object',
3619
4047
  properties: {
3620
4048
  name: {
3621
- minLength: 1,
3622
- type: 'string'
4049
+ type: 'string',
4050
+ nullable: true
3623
4051
  },
3624
4052
  vatNumber: {
3625
4053
  maxLength: 255,
@@ -3632,15 +4060,11 @@ export const $UniRefund_CRMService_TaxFrees_UpdateTaxFreeDto = {
3632
4060
  format: 'uuid',
3633
4061
  nullable: true
3634
4062
  },
3635
- externalStoreIdentifier: {
4063
+ externalIdentifier: {
4064
+ maxLength: 15,
3636
4065
  type: 'string',
3637
4066
  nullable: true
3638
4067
  },
3639
- parentId: {
3640
- type: 'string',
3641
- format: 'uuid',
3642
- nullable: true
3643
- },
3644
4068
  status: {
3645
4069
  enum: ['DRAFT', 'WAITINGAPPROVAL', 'APPROVED', 'REJECTED', 'ACTIVE', 'INACTIVE', 'SUSPENDED'],
3646
4070
  type: 'string'
@@ -3650,7 +4074,7 @@ export const $UniRefund_CRMService_TaxFrees_UpdateTaxFreeDto = {
3650
4074
  } as const;
3651
4075
 
3652
4076
  export const $UniRefund_CRMService_TaxOffices_CreateTaxOfficeDto = {
3653
- required: ['name'],
4077
+ required: ['name', 'typeCode'],
3654
4078
  type: 'object',
3655
4079
  properties: {
3656
4080
  name: {
@@ -3663,7 +4087,8 @@ export const $UniRefund_CRMService_TaxOffices_CreateTaxOfficeDto = {
3663
4087
  type: 'string',
3664
4088
  nullable: true
3665
4089
  },
3666
- externalStoreIdentifier: {
4090
+ externalIdentifier: {
4091
+ maxLength: 15,
3667
4092
  type: 'string',
3668
4093
  nullable: true
3669
4094
  },
@@ -3677,32 +4102,42 @@ export const $UniRefund_CRMService_TaxOffices_CreateTaxOfficeDto = {
3677
4102
  type: 'string'
3678
4103
  },
3679
4104
  telephone: {
4105
+ required: ['isPrimary', 'localNumber', 'type'],
3680
4106
  type: 'object',
3681
4107
  properties: {
3682
- id: {
4108
+ ituCountryCode: {
4109
+ maxLength: 255,
4110
+ minLength: 0,
3683
4111
  type: 'string',
3684
- format: 'uuid'
4112
+ nullable: true
3685
4113
  },
3686
- number: {
4114
+ areaCode: {
4115
+ maxLength: 255,
4116
+ minLength: 0,
3687
4117
  type: 'string',
3688
4118
  nullable: true
3689
4119
  },
3690
- type: {
3691
- enum: ['UNKNOWN', 'HOME', 'WORK', 'MOBILE', 'FAX', 'OTHER'],
4120
+ localNumber: {
4121
+ maxLength: 255,
4122
+ minLength: 0,
3692
4123
  type: 'string'
3693
4124
  },
3694
4125
  isPrimary: {
3695
- type: 'boolean',
3696
- nullable: true
4126
+ type: 'boolean'
4127
+ },
4128
+ type: {
4129
+ enum: ['UNKNOWN', 'HOME', 'WORK', 'MOBILE', 'FAX', 'OTHER'],
4130
+ type: 'string'
3697
4131
  }
3698
4132
  },
3699
4133
  additionalProperties: false
3700
4134
  },
3701
4135
  address: {
4136
+ required: ['addressLine', 'adminAreaLevel1Id', 'adminAreaLevel2Id', 'countryId', 'isPrimary', 'type'],
3702
4137
  type: 'object',
3703
4138
  properties: {
3704
4139
  partyType: {
3705
- enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE'],
4140
+ enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE', 'TRAVELLER'],
3706
4141
  type: 'string'
3707
4142
  },
3708
4143
  partyId: {
@@ -3727,8 +4162,8 @@ export const $UniRefund_CRMService_TaxOffices_CreateTaxOfficeDto = {
3727
4162
  nullable: true
3728
4163
  },
3729
4164
  addressLine: {
3730
- type: 'string',
3731
- nullable: true
4165
+ minLength: 1,
4166
+ type: 'string'
3732
4167
  },
3733
4168
  postalCode: {
3734
4169
  type: 'string',
@@ -3759,23 +4194,26 @@ export const $UniRefund_CRMService_TaxOffices_CreateTaxOfficeDto = {
3759
4194
  additionalProperties: false
3760
4195
  },
3761
4196
  email: {
4197
+ required: ['emailAddress', 'isPrimary', 'type'],
3762
4198
  type: 'object',
3763
4199
  properties: {
3764
4200
  id: {
3765
4201
  type: 'string',
3766
- format: 'uuid'
4202
+ format: 'uuid',
4203
+ nullable: true
3767
4204
  },
3768
4205
  emailAddress: {
4206
+ maxLength: 255,
4207
+ minLength: 0,
3769
4208
  type: 'string',
3770
- nullable: true
4209
+ format: 'email'
4210
+ },
4211
+ isPrimary: {
4212
+ type: 'boolean'
3771
4213
  },
3772
4214
  type: {
3773
4215
  enum: ['UNKNOWN', 'PERSONAL', 'WORK', 'SCHOOL', 'OTHER'],
3774
4216
  type: 'string'
3775
- },
3776
- isPrimary: {
3777
- type: 'boolean',
3778
- nullable: true
3779
4217
  }
3780
4218
  },
3781
4219
  additionalProperties: false
@@ -3785,6 +4223,7 @@ export const $UniRefund_CRMService_TaxOffices_CreateTaxOfficeDto = {
3785
4223
  } as const;
3786
4224
 
3787
4225
  export const $UniRefund_CRMService_TaxOffices_TaxOfficeDto = {
4226
+ required: ['name', 'typeCode'],
3788
4227
  type: 'object',
3789
4228
  properties: {
3790
4229
  id: {
@@ -3792,21 +4231,42 @@ export const $UniRefund_CRMService_TaxOffices_TaxOfficeDto = {
3792
4231
  format: 'uuid'
3793
4232
  },
3794
4233
  telephone: {
4234
+ required: ['id', 'isPrimary', 'localNumber', 'type'],
3795
4235
  type: 'object',
3796
4236
  properties: {
3797
4237
  id: {
3798
4238
  type: 'string',
3799
4239
  format: 'uuid'
3800
4240
  },
3801
- number: {
4241
+ ituCountryCode: {
4242
+ maxLength: 255,
4243
+ minLength: 0,
4244
+ type: 'string',
4245
+ nullable: true
4246
+ },
4247
+ areaCode: {
4248
+ maxLength: 255,
4249
+ minLength: 0,
4250
+ type: 'string',
4251
+ nullable: true
4252
+ },
4253
+ localNumber: {
4254
+ maxLength: 255,
4255
+ minLength: 0,
4256
+ type: 'string'
4257
+ },
4258
+ normalizedPhoneNumber: {
3802
4259
  type: 'string',
3803
4260
  nullable: true
3804
4261
  },
4262
+ isPrimary: {
4263
+ type: 'boolean'
4264
+ },
3805
4265
  type: {
3806
4266
  enum: ['UNKNOWN', 'HOME', 'WORK', 'MOBILE', 'FAX', 'OTHER'],
3807
4267
  type: 'string'
3808
4268
  },
3809
- isPrimary: {
4269
+ isConfirmed: {
3810
4270
  type: 'boolean',
3811
4271
  nullable: true
3812
4272
  }
@@ -3814,6 +4274,7 @@ export const $UniRefund_CRMService_TaxOffices_TaxOfficeDto = {
3814
4274
  additionalProperties: false
3815
4275
  },
3816
4276
  address: {
4277
+ required: ['addressLine', 'adminAreaLevel1Id', 'adminAreaLevel2Id', 'countryId', 'isPrimary', 'neighborhoodId', 'partyId', 'partyType', 'type'],
3817
4278
  type: 'object',
3818
4279
  properties: {
3819
4280
  id: {
@@ -3821,7 +4282,7 @@ export const $UniRefund_CRMService_TaxOffices_TaxOfficeDto = {
3821
4282
  format: 'uuid'
3822
4283
  },
3823
4284
  partyType: {
3824
- enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE'],
4285
+ enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE', 'TRAVELLER'],
3825
4286
  type: 'string'
3826
4287
  },
3827
4288
  partyId: {
@@ -3842,12 +4303,11 @@ export const $UniRefund_CRMService_TaxOffices_TaxOfficeDto = {
3842
4303
  },
3843
4304
  neighborhoodId: {
3844
4305
  type: 'string',
3845
- format: 'uuid',
3846
- nullable: true
4306
+ format: 'uuid'
3847
4307
  },
3848
4308
  addressLine: {
3849
- type: 'string',
3850
- nullable: true
4309
+ minLength: 1,
4310
+ type: 'string'
3851
4311
  },
3852
4312
  postalCode: {
3853
4313
  type: 'string',
@@ -3872,13 +4332,13 @@ export const $UniRefund_CRMService_TaxOffices_TaxOfficeDto = {
3872
4332
  nullable: true
3873
4333
  },
3874
4334
  isPrimary: {
3875
- type: 'boolean',
3876
- nullable: true
4335
+ type: 'boolean'
3877
4336
  }
3878
4337
  },
3879
4338
  additionalProperties: false
3880
4339
  },
3881
4340
  email: {
4341
+ required: ['emailAddress', 'isPrimary', 'type'],
3882
4342
  type: 'object',
3883
4343
  properties: {
3884
4344
  id: {
@@ -3886,23 +4346,22 @@ export const $UniRefund_CRMService_TaxOffices_TaxOfficeDto = {
3886
4346
  format: 'uuid'
3887
4347
  },
3888
4348
  emailAddress: {
3889
- type: 'string',
3890
- nullable: true
4349
+ minLength: 1,
4350
+ type: 'string'
3891
4351
  },
3892
4352
  type: {
3893
4353
  enum: ['UNKNOWN', 'PERSONAL', 'WORK', 'SCHOOL', 'OTHER'],
3894
4354
  type: 'string'
3895
4355
  },
3896
4356
  isPrimary: {
3897
- type: 'boolean',
3898
- nullable: true
4357
+ type: 'boolean'
3899
4358
  }
3900
4359
  },
3901
4360
  additionalProperties: false
3902
4361
  },
3903
4362
  name: {
3904
- type: 'string',
3905
- nullable: true
4363
+ minLength: 1,
4364
+ type: 'string'
3906
4365
  },
3907
4366
  parentId: {
3908
4367
  type: 'string',
@@ -3917,7 +4376,8 @@ export const $UniRefund_CRMService_TaxOffices_TaxOfficeDto = {
3917
4376
  type: 'string',
3918
4377
  nullable: true
3919
4378
  },
3920
- externalStoreIdentifier: {
4379
+ externalIdentifier: {
4380
+ maxLength: 15,
3921
4381
  type: 'string',
3922
4382
  nullable: true
3923
4383
  },
@@ -3930,6 +4390,7 @@ export const $UniRefund_CRMService_TaxOffices_TaxOfficeDto = {
3930
4390
  } as const;
3931
4391
 
3932
4392
  export const $UniRefund_CRMService_TaxOffices_TaxOfficeListResponseDto = {
4393
+ required: ['name', 'status', 'typeCode'],
3933
4394
  type: 'object',
3934
4395
  properties: {
3935
4396
  id: {
@@ -3937,14 +4398,15 @@ export const $UniRefund_CRMService_TaxOffices_TaxOfficeListResponseDto = {
3937
4398
  format: 'uuid'
3938
4399
  },
3939
4400
  name: {
3940
- type: 'string',
3941
- nullable: true
4401
+ minLength: 1,
4402
+ type: 'string'
3942
4403
  },
3943
4404
  vatNumber: {
3944
4405
  type: 'string',
3945
4406
  nullable: true
3946
4407
  },
3947
- externalStoreIdentifier: {
4408
+ externalIdentifier: {
4409
+ maxLength: 15,
3948
4410
  type: 'string',
3949
4411
  nullable: true
3950
4412
  },
@@ -3980,12 +4442,11 @@ export const $UniRefund_CRMService_TaxOffices_TaxOfficeTypeCode = {
3980
4442
  } as const;
3981
4443
 
3982
4444
  export const $UniRefund_CRMService_TaxOffices_UpdateTaxOfficeDto = {
3983
- required: ['name'],
3984
4445
  type: 'object',
3985
4446
  properties: {
3986
4447
  name: {
3987
- minLength: 1,
3988
- type: 'string'
4448
+ type: 'string',
4449
+ nullable: true
3989
4450
  },
3990
4451
  vatNumber: {
3991
4452
  maxLength: 255,
@@ -3993,35 +4454,88 @@ export const $UniRefund_CRMService_TaxOffices_UpdateTaxOfficeDto = {
3993
4454
  type: 'string',
3994
4455
  nullable: true
3995
4456
  },
3996
- externalStoreIdentifier: {
4457
+ externalIdentifier: {
4458
+ maxLength: 15,
3997
4459
  type: 'string',
3998
4460
  nullable: true
3999
4461
  },
4000
- parentId: {
4462
+ status: {
4463
+ enum: ['DRAFT', 'WAITINGAPPROVAL', 'APPROVED', 'REJECTED', 'ACTIVE', 'INACTIVE', 'SUSPENDED'],
4464
+ type: 'string'
4465
+ }
4466
+ },
4467
+ additionalProperties: false
4468
+ } as const;
4469
+
4470
+ export const $UniRefund_CRMService_Telephones_TelephoneCreateDto = {
4471
+ required: ['isPrimary', 'localNumber', 'type'],
4472
+ type: 'object',
4473
+ properties: {
4474
+ ituCountryCode: {
4475
+ maxLength: 255,
4476
+ minLength: 0,
4001
4477
  type: 'string',
4002
- format: 'uuid',
4003
4478
  nullable: true
4479
+ },
4480
+ areaCode: {
4481
+ maxLength: 255,
4482
+ minLength: 0,
4483
+ type: 'string',
4484
+ nullable: true
4485
+ },
4486
+ localNumber: {
4487
+ maxLength: 255,
4488
+ minLength: 0,
4489
+ type: 'string'
4490
+ },
4491
+ isPrimary: {
4492
+ type: 'boolean'
4493
+ },
4494
+ type: {
4495
+ enum: ['UNKNOWN', 'HOME', 'WORK', 'MOBILE', 'FAX', 'OTHER'],
4496
+ type: 'string'
4004
4497
  }
4005
4498
  },
4006
4499
  additionalProperties: false
4007
4500
  } as const;
4008
4501
 
4009
4502
  export const $UniRefund_CRMService_Telephones_TelephoneDto = {
4503
+ required: ['id', 'isPrimary', 'localNumber', 'type'],
4010
4504
  type: 'object',
4011
4505
  properties: {
4012
4506
  id: {
4013
4507
  type: 'string',
4014
4508
  format: 'uuid'
4015
4509
  },
4016
- number: {
4510
+ ituCountryCode: {
4511
+ maxLength: 255,
4512
+ minLength: 0,
4513
+ type: 'string',
4514
+ nullable: true
4515
+ },
4516
+ areaCode: {
4517
+ maxLength: 255,
4518
+ minLength: 0,
4519
+ type: 'string',
4520
+ nullable: true
4521
+ },
4522
+ localNumber: {
4523
+ maxLength: 255,
4524
+ minLength: 0,
4525
+ type: 'string'
4526
+ },
4527
+ normalizedPhoneNumber: {
4017
4528
  type: 'string',
4018
4529
  nullable: true
4019
4530
  },
4531
+ isPrimary: {
4532
+ type: 'boolean'
4533
+ },
4020
4534
  type: {
4021
4535
  enum: ['UNKNOWN', 'HOME', 'WORK', 'MOBILE', 'FAX', 'OTHER'],
4022
4536
  type: 'string'
4023
4537
  },
4024
- isPrimary: {
4538
+ isConfirmed: {
4025
4539
  type: 'boolean',
4026
4540
  nullable: true
4027
4541
  }
@@ -4029,29 +4543,39 @@ export const $UniRefund_CRMService_Telephones_TelephoneDto = {
4029
4543
  additionalProperties: false
4030
4544
  } as const;
4031
4545
 
4032
- export const $UniRefund_CRMService_Telephones_TelephoneType = {
4033
- enum: ['UNKNOWN', 'HOME', 'WORK', 'MOBILE', 'FAX', 'OTHER'],
4034
- type: 'string'
4035
- } as const;
4036
-
4037
- export const $UniRefund_CRMService_Telephones_UpdateTelephoneDto = {
4546
+ export const $UniRefund_CRMService_Telephones_TelephoneUpsertDto = {
4038
4547
  type: 'object',
4039
4548
  properties: {
4040
- id: {
4549
+ telephoneId: {
4041
4550
  type: 'string',
4042
- format: 'uuid'
4551
+ format: 'uuid',
4552
+ nullable: true
4043
4553
  },
4044
- number: {
4554
+ ituCountryCode: {
4555
+ maxLength: 255,
4556
+ minLength: 0,
4045
4557
  type: 'string',
4046
4558
  nullable: true
4047
4559
  },
4048
- type: {
4049
- enum: ['UNKNOWN', 'HOME', 'WORK', 'MOBILE', 'FAX', 'OTHER'],
4050
- type: 'string'
4560
+ areaCode: {
4561
+ maxLength: 255,
4562
+ minLength: 0,
4563
+ type: 'string',
4564
+ nullable: true
4565
+ },
4566
+ localNumber: {
4567
+ maxLength: 255,
4568
+ minLength: 0,
4569
+ type: 'string',
4570
+ nullable: true
4051
4571
  },
4052
4572
  isPrimary: {
4053
4573
  type: 'boolean',
4054
4574
  nullable: true
4575
+ },
4576
+ type: {
4577
+ enum: ['UNKNOWN', 'HOME', 'WORK', 'MOBILE', 'FAX', 'OTHER'],
4578
+ type: 'string'
4055
4579
  }
4056
4580
  },
4057
4581
  additionalProperties: false
@@ -4060,7 +4584,7 @@ export const $UniRefund_CRMService_Telephones_UpdateTelephoneDto = {
4060
4584
  export const $UniRefund_CRMService_UserAffiliations_SetPrimaryAffiliationDto = {
4061
4585
  type: 'object',
4062
4586
  properties: {
4063
- affiliationId: {
4587
+ partyId: {
4064
4588
  type: 'string',
4065
4589
  format: 'uuid'
4066
4590
  }
@@ -4080,7 +4604,7 @@ export const $UniRefund_CRMService_UserAffiliations_UserAffiliationDto = {
4080
4604
  format: 'uuid'
4081
4605
  },
4082
4606
  partyType: {
4083
- enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE'],
4607
+ enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE', 'TRAVELLER'],
4084
4608
  type: 'string'
4085
4609
  },
4086
4610
  partyName: {
@@ -4091,16 +4615,17 @@ export const $UniRefund_CRMService_UserAffiliations_UserAffiliationDto = {
4091
4615
  type: 'string',
4092
4616
  nullable: true
4093
4617
  },
4094
- externalStoreIdentifier: {
4095
- type: 'string',
4096
- nullable: true
4097
- },
4098
4618
  identificationNumber: {
4099
4619
  type: 'string',
4100
4620
  nullable: true
4101
4621
  },
4102
4622
  isPrimary: {
4103
4623
  type: 'boolean'
4624
+ },
4625
+ parentId: {
4626
+ type: 'string',
4627
+ format: 'uuid',
4628
+ nullable: true
4104
4629
  }
4105
4630
  },
4106
4631
  additionalProperties: false
@@ -4173,8 +4698,73 @@ export const $UniRefund_SettingService_ProductGroupMerchants_ProductGroupMerchan
4173
4698
  additionalProperties: false
4174
4699
  } as const;
4175
4700
 
4701
+ export const $UniRefund_SettingService_ProductGroups_CompanyTypeCode = {
4702
+ enum: ['GOVERNMENT', 'TAXFREE', 'CUSTOMS', 'REFUNDPOINT', 'MERCHANT', 'EXCHANGE', 'TOURGUIDE'],
4703
+ type: 'string'
4704
+ } as const;
4705
+
4706
+ export const $UniRefund_SettingService_ProductGroups_ProductGroupDto = {
4707
+ required: ['active', 'articleCode', 'companyType', 'food', 'name', 'unitCode'],
4708
+ type: 'object',
4709
+ properties: {
4710
+ id: {
4711
+ type: 'string',
4712
+ format: 'uuid'
4713
+ },
4714
+ articleCode: {
4715
+ minLength: 1,
4716
+ type: 'string',
4717
+ description: 'The unique article code for the product group. This field is **required**.'
4718
+ },
4719
+ name: {
4720
+ minLength: 1,
4721
+ type: 'string',
4722
+ description: 'The name of the product group (e.g., "Electronics", "Apparel"). This field is **required**.'
4723
+ },
4724
+ unitCode: {
4725
+ enum: ['QNT', 'BAG', 'BOX'],
4726
+ type: 'string'
4727
+ },
4728
+ companyType: {
4729
+ enum: ['GOVERNMENT', 'TAXFREE', 'CUSTOMS', 'REFUNDPOINT', 'MERCHANT', 'EXCHANGE', 'TOURGUIDE'],
4730
+ type: 'string'
4731
+ },
4732
+ vatId: {
4733
+ type: 'string',
4734
+ description: 'The unique identifier for the VAT (Value Added Tax) category applicable to this product group.',
4735
+ format: 'uuid'
4736
+ },
4737
+ vatPercent: {
4738
+ type: 'integer',
4739
+ description: 'The percentage of VAT applied to products in this group, if applicable.',
4740
+ format: 'int32',
4741
+ nullable: true
4742
+ },
4743
+ active: {
4744
+ type: 'boolean',
4745
+ description: 'Indicates whether the product group is currently active. This field is **required**.'
4746
+ },
4747
+ food: {
4748
+ type: 'boolean',
4749
+ description: 'Indicates whether the product group consists of food items. This field is **required**.'
4750
+ }
4751
+ },
4752
+ additionalProperties: false,
4753
+ description: 'Represents a group of products with common characteristics, used for categorization and tax purposes.'
4754
+ } as const;
4755
+
4756
+ export const $UniRefund_SettingService_ProductGroups_UnitTypeCode = {
4757
+ enum: ['QNT', 'BAG', 'BOX'],
4758
+ type: 'string'
4759
+ } as const;
4760
+
4761
+ export const $UniRefund_Shared_ContactInfo_Enums_TelephoneType = {
4762
+ enum: ['UNKNOWN', 'HOME', 'WORK', 'MOBILE', 'FAX', 'OTHER'],
4763
+ type: 'string'
4764
+ } as const;
4765
+
4176
4766
  export const $UniRefund_Shared_Contracts_Enums_PartyType = {
4177
- enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE'],
4767
+ enum: ['INDIVIDUAL', 'MERCHANT', 'REFUNDPOINT', 'CUSTOM', 'TAXFREE', 'TAXOFFICE', 'TOURGUIDE', 'TRAVELLER'],
4178
4768
  type: 'string'
4179
4769
  } as const;
4180
4770