@ayasofyazilim/saas 0.0.20 → 0.0.22

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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  import type { CancelablePromise } from './core/CancelablePromise';
4
4
  import type { BaseHttpRequest } from './core/BaseHttpRequest';
5
- import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse, GetApiMerchantServiceMerchantsDetailByIdData, GetApiMerchantServiceMerchantsDetailByIdResponse, GetApiMerchantServiceMerchantsDetailData, GetApiMerchantServiceMerchantsDetailResponse, PostApiMerchantServiceMerchantsAddEntityInformationTypeData, PostApiMerchantServiceMerchantsAddEntityInformationTypeResponse, PostApiMerchantServiceMerchantsAddAffiliationTypeData, PostApiMerchantServiceMerchantsAddAffiliationTypeResponse, PostApiMerchantServiceMerchantsAddOrganizationData, PostApiMerchantServiceMerchantsAddOrganizationResponse, PostApiMerchantServiceMerchantsAddSubOrganizationData, PostApiMerchantServiceMerchantsAddSubOrganizationResponse, PostApiMerchantServiceMerchantsAddIndividualData, PostApiMerchantServiceMerchantsAddIndividualResponse, PostApiMerchantServiceMerchantsAddTelephoneData, PostApiMerchantServiceMerchantsAddTelephoneResponse, PostApiMerchantServiceMerchantsAddAddressData, PostApiMerchantServiceMerchantsAddAddressResponse, PostApiMerchantServiceMerchantsAddEmailData, PostApiMerchantServiceMerchantsAddEmailResponse, PostApiMerchantServiceMerchantsIndividualAddPersonalSummaryData, PostApiMerchantServiceMerchantsIndividualAddPersonalSummaryResponse, PostApiMerchantServiceMerchantsOrganizationAddProductGroupData, PostApiMerchantServiceMerchantsOrganizationAddProductGroupResponse, PostApiMerchantServiceMerchantsCreateMerchantWithComponentsData, PostApiMerchantServiceMerchantsCreateMerchantWithComponentsResponse, PutApiMerchantServiceMerchantsUpdateMerchantWithComponentsData, PutApiMerchantServiceMerchantsUpdateMerchantWithComponentsResponse, DeleteApiMerchantServiceMerchantsDeleteMerchantWithComponentsData, DeleteApiMerchantServiceMerchantsDeleteMerchantWithComponentsResponse, DeleteApiMerchantServiceMerchantsDeleteEntityInformationTypeData, DeleteApiMerchantServiceMerchantsDeleteEntityInformationTypeResponse, DeleteApiMerchantServiceMerchantsDeleteAffiliationTypeData, DeleteApiMerchantServiceMerchantsDeleteAffiliationTypeResponse, DeleteApiMerchantServiceMerchantsDeleteOrganizationData, DeleteApiMerchantServiceMerchantsDeleteOrganizationResponse, DeleteApiMerchantServiceMerchantsDeleteIndividualData, DeleteApiMerchantServiceMerchantsDeleteIndividualResponse, DeleteApiMerchantServiceMerchantsDeleteProductGroupData, DeleteApiMerchantServiceMerchantsDeleteProductGroupResponse, DeleteApiMerchantServiceMerchantsDeleteTelephoneData, DeleteApiMerchantServiceMerchantsDeleteTelephoneResponse, DeleteApiMerchantServiceMerchantsDeleteAddressData, DeleteApiMerchantServiceMerchantsDeleteAddressResponse, DeleteApiMerchantServiceMerchantsDeleteEmailData, DeleteApiMerchantServiceMerchantsDeleteEmailResponse, DeleteApiMerchantServiceMerchantsDeletePersonalSummaryData, DeleteApiMerchantServiceMerchantsDeletePersonalSummaryResponse } from './types.gen';
5
+ import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse, GetApiMerchantServiceAddressTypesByIdData, GetApiMerchantServiceAddressTypesByIdResponse, GetApiMerchantServiceAddressTypesData, GetApiMerchantServiceAddressTypesResponse, PutApiMerchantServiceAddressTypesData, PutApiMerchantServiceAddressTypesResponse, DeleteApiMerchantServiceAddressTypesData, DeleteApiMerchantServiceAddressTypesResponse, GetApiMerchantServiceAffiliationTypesByIdData, GetApiMerchantServiceAffiliationTypesByIdResponse, GetApiMerchantServiceAffiliationTypesData, GetApiMerchantServiceAffiliationTypesResponse, PostApiMerchantServiceAffiliationTypesData, PostApiMerchantServiceAffiliationTypesResponse, PutApiMerchantServiceAffiliationTypesData, PutApiMerchantServiceAffiliationTypesResponse, DeleteApiMerchantServiceAffiliationTypesData, DeleteApiMerchantServiceAffiliationTypesResponse, GetApiMerchantServiceContactInformationTypesDetailByIdData, GetApiMerchantServiceContactInformationTypesDetailByIdResponse, GetApiMerchantServiceContactInformationTypesDetailData, GetApiMerchantServiceContactInformationTypesDetailResponse, PutApiMerchantServiceContactInformationTypesData, PutApiMerchantServiceContactInformationTypesResponse, GetApiMerchantServiceEmailCommonDatasByIdData, GetApiMerchantServiceEmailCommonDatasByIdResponse, GetApiMerchantServiceEmailCommonDatasData, GetApiMerchantServiceEmailCommonDatasResponse, PutApiMerchantServiceEmailCommonDatasData, PutApiMerchantServiceEmailCommonDatasResponse, DeleteApiMerchantServiceEmailCommonDatasData, DeleteApiMerchantServiceEmailCommonDatasResponse, GetApiMerchantServiceEntityInformationTypesDetailByIdData, GetApiMerchantServiceEntityInformationTypesDetailByIdResponse, GetApiMerchantServiceEntityInformationTypesDetailData, GetApiMerchantServiceEntityInformationTypesDetailResponse, PostApiMerchantServiceEntityInformationTypesData, PostApiMerchantServiceEntityInformationTypesResponse, PutApiMerchantServiceEntityInformationTypesData, PutApiMerchantServiceEntityInformationTypesResponse, DeleteApiMerchantServiceEntityInformationTypesData, DeleteApiMerchantServiceEntityInformationTypesResponse, GetApiMerchantServiceIndividualsDetailByIdData, GetApiMerchantServiceIndividualsDetailByIdResponse, GetApiMerchantServiceIndividualsDetailData, GetApiMerchantServiceIndividualsDetailResponse, PostApiMerchantServiceIndividualsData, PostApiMerchantServiceIndividualsResponse, PutApiMerchantServiceIndividualsData, PutApiMerchantServiceIndividualsResponse, DeleteApiMerchantServiceIndividualsData, DeleteApiMerchantServiceIndividualsResponse, GetApiMerchantServiceMerchantsDetailByIdData, GetApiMerchantServiceMerchantsDetailByIdResponse, GetApiMerchantServiceMerchantsDetailData, GetApiMerchantServiceMerchantsDetailResponse, PostApiMerchantServiceMerchantsTelephoneData, PostApiMerchantServiceMerchantsTelephoneResponse, PostApiMerchantServiceMerchantsAddressData, PostApiMerchantServiceMerchantsAddressResponse, PostApiMerchantServiceMerchantsEmailData, PostApiMerchantServiceMerchantsEmailResponse, PostApiMerchantServiceMerchantsWithComponentsData, PostApiMerchantServiceMerchantsWithComponentsResponse, PutApiMerchantServiceMerchantsWithComponentsData, PutApiMerchantServiceMerchantsWithComponentsResponse, DeleteApiMerchantServiceMerchantsWithComponentsData, DeleteApiMerchantServiceMerchantsWithComponentsResponse, GetApiMerchantServiceNameCommonDatasByIdData, GetApiMerchantServiceNameCommonDatasByIdResponse, GetApiMerchantServiceNameCommonDatasData, GetApiMerchantServiceNameCommonDatasResponse, PutApiMerchantServiceNameCommonDatasData, PutApiMerchantServiceNameCommonDatasResponse, DeleteApiMerchantServiceNameCommonDatasData, DeleteApiMerchantServiceNameCommonDatasResponse, GetApiMerchantServiceOrganizationsDetailByIdData, GetApiMerchantServiceOrganizationsDetailByIdResponse, GetApiMerchantServiceOrganizationsDetailData, GetApiMerchantServiceOrganizationsDetailResponse, PostApiMerchantServiceOrganizationsData, PostApiMerchantServiceOrganizationsResponse, PutApiMerchantServiceOrganizationsData, PutApiMerchantServiceOrganizationsResponse, DeleteApiMerchantServiceOrganizationsData, DeleteApiMerchantServiceOrganizationsResponse, PostApiMerchantServiceOrganizationsSubOrganizationData, PostApiMerchantServiceOrganizationsSubOrganizationResponse, GetApiMerchantServicePersonalSummariesByIdData, GetApiMerchantServicePersonalSummariesByIdResponse, GetApiMerchantServicePersonalSummariesData, GetApiMerchantServicePersonalSummariesResponse, PostApiMerchantServicePersonalSummariesData, PostApiMerchantServicePersonalSummariesResponse, PutApiMerchantServicePersonalSummariesData, PutApiMerchantServicePersonalSummariesResponse, DeleteApiMerchantServicePersonalSummariesData, DeleteApiMerchantServicePersonalSummariesResponse, GetApiMerchantServiceProductGroupsByIdData, GetApiMerchantServiceProductGroupsByIdResponse, GetApiMerchantServiceProductGroupsData, GetApiMerchantServiceProductGroupsResponse, PostApiMerchantServiceProductGroupsData, PostApiMerchantServiceProductGroupsResponse, PutApiMerchantServiceProductGroupsData, PutApiMerchantServiceProductGroupsResponse, DeleteApiMerchantServiceProductGroupsData, DeleteApiMerchantServiceProductGroupsResponse, GetApiMerchantServiceTelephoneTypesByIdData, GetApiMerchantServiceTelephoneTypesByIdResponse, GetApiMerchantServiceTelephoneTypesData, GetApiMerchantServiceTelephoneTypesResponse, PutApiMerchantServiceTelephoneTypesData, PutApiMerchantServiceTelephoneTypesResponse, DeleteApiMerchantServiceTelephoneTypesData, DeleteApiMerchantServiceTelephoneTypesResponse } from './types.gen';
6
6
 
7
7
  export class AbpApiDefinitionService {
8
8
  constructor(public readonly httpRequest: BaseHttpRequest) { }
@@ -93,6 +93,681 @@ export class AbpApplicationLocalizationService {
93
93
 
94
94
  }
95
95
 
96
+ export class AddressTypeService {
97
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
98
+
99
+ /**
100
+ * @param data The data for the request.
101
+ * @param data.id
102
+ * @returns unknown Success
103
+ * @throws ApiError
104
+ */
105
+ public getApiMerchantServiceAddressTypesById(data: GetApiMerchantServiceAddressTypesByIdData): CancelablePromise<GetApiMerchantServiceAddressTypesByIdResponse> {
106
+ return this.httpRequest.request({
107
+ method: 'GET',
108
+ url: '/api/merchant-service/address-types/{id}',
109
+ path: {
110
+ id: data.id
111
+ },
112
+ errors: {
113
+ 400: 'Bad Request',
114
+ 401: 'Unauthorized',
115
+ 403: 'Forbidden',
116
+ 404: 'Not Found',
117
+ 500: 'Server Error',
118
+ 501: 'Server Error'
119
+ }
120
+ });
121
+ }
122
+
123
+ /**
124
+ * @param data The data for the request.
125
+ * @param data.sorting
126
+ * @param data.skipCount
127
+ * @param data.maxResultCount
128
+ * @returns unknown Success
129
+ * @throws ApiError
130
+ */
131
+ public getApiMerchantServiceAddressTypes(data: GetApiMerchantServiceAddressTypesData = {}): CancelablePromise<GetApiMerchantServiceAddressTypesResponse> {
132
+ return this.httpRequest.request({
133
+ method: 'GET',
134
+ url: '/api/merchant-service/address-types',
135
+ query: {
136
+ Sorting: data.sorting,
137
+ SkipCount: data.skipCount,
138
+ MaxResultCount: data.maxResultCount
139
+ },
140
+ errors: {
141
+ 400: 'Bad Request',
142
+ 401: 'Unauthorized',
143
+ 403: 'Forbidden',
144
+ 404: 'Not Found',
145
+ 500: 'Server Error',
146
+ 501: 'Server Error'
147
+ }
148
+ });
149
+ }
150
+
151
+ /**
152
+ * @param data The data for the request.
153
+ * @param data.requestBody
154
+ * @returns unknown Success
155
+ * @throws ApiError
156
+ */
157
+ public putApiMerchantServiceAddressTypes(data: PutApiMerchantServiceAddressTypesData = {}): CancelablePromise<PutApiMerchantServiceAddressTypesResponse> {
158
+ return this.httpRequest.request({
159
+ method: 'PUT',
160
+ url: '/api/merchant-service/address-types',
161
+ body: data.requestBody,
162
+ mediaType: 'application/json',
163
+ errors: {
164
+ 400: 'Bad Request',
165
+ 401: 'Unauthorized',
166
+ 403: 'Forbidden',
167
+ 404: 'Not Found',
168
+ 500: 'Server Error',
169
+ 501: 'Server Error'
170
+ }
171
+ });
172
+ }
173
+
174
+ /**
175
+ * @param data The data for the request.
176
+ * @param data.id
177
+ * @returns unknown Success
178
+ * @throws ApiError
179
+ */
180
+ public deleteApiMerchantServiceAddressTypes(data: DeleteApiMerchantServiceAddressTypesData = {}): CancelablePromise<DeleteApiMerchantServiceAddressTypesResponse> {
181
+ return this.httpRequest.request({
182
+ method: 'DELETE',
183
+ url: '/api/merchant-service/address-types',
184
+ query: {
185
+ id: data.id
186
+ },
187
+ errors: {
188
+ 400: 'Bad Request',
189
+ 401: 'Unauthorized',
190
+ 403: 'Forbidden',
191
+ 404: 'Not Found',
192
+ 500: 'Server Error',
193
+ 501: 'Server Error'
194
+ }
195
+ });
196
+ }
197
+
198
+ }
199
+
200
+ export class AffiliationTypeService {
201
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
202
+
203
+ /**
204
+ * @param data The data for the request.
205
+ * @param data.id
206
+ * @returns unknown Success
207
+ * @throws ApiError
208
+ */
209
+ public getApiMerchantServiceAffiliationTypesById(data: GetApiMerchantServiceAffiliationTypesByIdData): CancelablePromise<GetApiMerchantServiceAffiliationTypesByIdResponse> {
210
+ return this.httpRequest.request({
211
+ method: 'GET',
212
+ url: '/api/merchant-service/affiliation-types/{id}',
213
+ path: {
214
+ id: data.id
215
+ },
216
+ errors: {
217
+ 400: 'Bad Request',
218
+ 401: 'Unauthorized',
219
+ 403: 'Forbidden',
220
+ 404: 'Not Found',
221
+ 500: 'Server Error',
222
+ 501: 'Server Error'
223
+ }
224
+ });
225
+ }
226
+
227
+ /**
228
+ * @param data The data for the request.
229
+ * @param data.sorting
230
+ * @param data.skipCount
231
+ * @param data.maxResultCount
232
+ * @returns unknown Success
233
+ * @throws ApiError
234
+ */
235
+ public getApiMerchantServiceAffiliationTypes(data: GetApiMerchantServiceAffiliationTypesData = {}): CancelablePromise<GetApiMerchantServiceAffiliationTypesResponse> {
236
+ return this.httpRequest.request({
237
+ method: 'GET',
238
+ url: '/api/merchant-service/affiliation-types',
239
+ query: {
240
+ Sorting: data.sorting,
241
+ SkipCount: data.skipCount,
242
+ MaxResultCount: data.maxResultCount
243
+ },
244
+ errors: {
245
+ 400: 'Bad Request',
246
+ 401: 'Unauthorized',
247
+ 403: 'Forbidden',
248
+ 404: 'Not Found',
249
+ 500: 'Server Error',
250
+ 501: 'Server Error'
251
+ }
252
+ });
253
+ }
254
+
255
+ /**
256
+ * @param data The data for the request.
257
+ * @param data.merchantId
258
+ * @param data.requestBody
259
+ * @returns unknown Success
260
+ * @throws ApiError
261
+ */
262
+ public postApiMerchantServiceAffiliationTypes(data: PostApiMerchantServiceAffiliationTypesData = {}): CancelablePromise<PostApiMerchantServiceAffiliationTypesResponse> {
263
+ return this.httpRequest.request({
264
+ method: 'POST',
265
+ url: '/api/merchant-service/affiliation-types',
266
+ query: {
267
+ merchantId: data.merchantId
268
+ },
269
+ body: data.requestBody,
270
+ mediaType: 'application/json',
271
+ errors: {
272
+ 400: 'Bad Request',
273
+ 401: 'Unauthorized',
274
+ 403: 'Forbidden',
275
+ 404: 'Not Found',
276
+ 500: 'Server Error',
277
+ 501: 'Server Error'
278
+ }
279
+ });
280
+ }
281
+
282
+ /**
283
+ * @param data The data for the request.
284
+ * @param data.requestBody
285
+ * @returns unknown Success
286
+ * @throws ApiError
287
+ */
288
+ public putApiMerchantServiceAffiliationTypes(data: PutApiMerchantServiceAffiliationTypesData = {}): CancelablePromise<PutApiMerchantServiceAffiliationTypesResponse> {
289
+ return this.httpRequest.request({
290
+ method: 'PUT',
291
+ url: '/api/merchant-service/affiliation-types',
292
+ body: data.requestBody,
293
+ mediaType: 'application/json',
294
+ errors: {
295
+ 400: 'Bad Request',
296
+ 401: 'Unauthorized',
297
+ 403: 'Forbidden',
298
+ 404: 'Not Found',
299
+ 500: 'Server Error',
300
+ 501: 'Server Error'
301
+ }
302
+ });
303
+ }
304
+
305
+ /**
306
+ * @param data The data for the request.
307
+ * @param data.id
308
+ * @returns unknown Success
309
+ * @throws ApiError
310
+ */
311
+ public deleteApiMerchantServiceAffiliationTypes(data: DeleteApiMerchantServiceAffiliationTypesData = {}): CancelablePromise<DeleteApiMerchantServiceAffiliationTypesResponse> {
312
+ return this.httpRequest.request({
313
+ method: 'DELETE',
314
+ url: '/api/merchant-service/affiliation-types',
315
+ query: {
316
+ id: data.id
317
+ },
318
+ errors: {
319
+ 400: 'Bad Request',
320
+ 401: 'Unauthorized',
321
+ 403: 'Forbidden',
322
+ 404: 'Not Found',
323
+ 500: 'Server Error',
324
+ 501: 'Server Error'
325
+ }
326
+ });
327
+ }
328
+
329
+ }
330
+
331
+ export class ContactInformationTypeService {
332
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
333
+
334
+ /**
335
+ * @param data The data for the request.
336
+ * @param data.id
337
+ * @returns unknown Success
338
+ * @throws ApiError
339
+ */
340
+ public getApiMerchantServiceContactInformationTypesDetailById(data: GetApiMerchantServiceContactInformationTypesDetailByIdData): CancelablePromise<GetApiMerchantServiceContactInformationTypesDetailByIdResponse> {
341
+ return this.httpRequest.request({
342
+ method: 'GET',
343
+ url: '/api/merchant-service/contact-information-types/detail/{id}',
344
+ path: {
345
+ id: data.id
346
+ },
347
+ errors: {
348
+ 400: 'Bad Request',
349
+ 401: 'Unauthorized',
350
+ 403: 'Forbidden',
351
+ 404: 'Not Found',
352
+ 500: 'Server Error',
353
+ 501: 'Server Error'
354
+ }
355
+ });
356
+ }
357
+
358
+ /**
359
+ * @param data The data for the request.
360
+ * @param data.skipCount
361
+ * @param data.maxResultCount
362
+ * @returns unknown Success
363
+ * @throws ApiError
364
+ */
365
+ public getApiMerchantServiceContactInformationTypesDetail(data: GetApiMerchantServiceContactInformationTypesDetailData = {}): CancelablePromise<GetApiMerchantServiceContactInformationTypesDetailResponse> {
366
+ return this.httpRequest.request({
367
+ method: 'GET',
368
+ url: '/api/merchant-service/contact-information-types/detail',
369
+ query: {
370
+ SkipCount: data.skipCount,
371
+ MaxResultCount: data.maxResultCount
372
+ },
373
+ errors: {
374
+ 400: 'Bad Request',
375
+ 401: 'Unauthorized',
376
+ 403: 'Forbidden',
377
+ 404: 'Not Found',
378
+ 500: 'Server Error',
379
+ 501: 'Server Error'
380
+ }
381
+ });
382
+ }
383
+
384
+ /**
385
+ * @param data The data for the request.
386
+ * @param data.requestBody
387
+ * @returns unknown Success
388
+ * @throws ApiError
389
+ */
390
+ public putApiMerchantServiceContactInformationTypes(data: PutApiMerchantServiceContactInformationTypesData = {}): CancelablePromise<PutApiMerchantServiceContactInformationTypesResponse> {
391
+ return this.httpRequest.request({
392
+ method: 'PUT',
393
+ url: '/api/merchant-service/contact-information-types',
394
+ body: data.requestBody,
395
+ mediaType: 'application/json',
396
+ errors: {
397
+ 400: 'Bad Request',
398
+ 401: 'Unauthorized',
399
+ 403: 'Forbidden',
400
+ 404: 'Not Found',
401
+ 500: 'Server Error',
402
+ 501: 'Server Error'
403
+ }
404
+ });
405
+ }
406
+
407
+ }
408
+
409
+ export class EmailCommonDataService {
410
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
411
+
412
+ /**
413
+ * @param data The data for the request.
414
+ * @param data.id
415
+ * @returns unknown Success
416
+ * @throws ApiError
417
+ */
418
+ public getApiMerchantServiceEmailCommonDatasById(data: GetApiMerchantServiceEmailCommonDatasByIdData): CancelablePromise<GetApiMerchantServiceEmailCommonDatasByIdResponse> {
419
+ return this.httpRequest.request({
420
+ method: 'GET',
421
+ url: '/api/merchant-service/email-common-datas/{id}',
422
+ path: {
423
+ id: data.id
424
+ },
425
+ errors: {
426
+ 400: 'Bad Request',
427
+ 401: 'Unauthorized',
428
+ 403: 'Forbidden',
429
+ 404: 'Not Found',
430
+ 500: 'Server Error',
431
+ 501: 'Server Error'
432
+ }
433
+ });
434
+ }
435
+
436
+ /**
437
+ * @param data The data for the request.
438
+ * @param data.sorting
439
+ * @param data.skipCount
440
+ * @param data.maxResultCount
441
+ * @returns unknown Success
442
+ * @throws ApiError
443
+ */
444
+ public getApiMerchantServiceEmailCommonDatas(data: GetApiMerchantServiceEmailCommonDatasData = {}): CancelablePromise<GetApiMerchantServiceEmailCommonDatasResponse> {
445
+ return this.httpRequest.request({
446
+ method: 'GET',
447
+ url: '/api/merchant-service/email-common-datas',
448
+ query: {
449
+ Sorting: data.sorting,
450
+ SkipCount: data.skipCount,
451
+ MaxResultCount: data.maxResultCount
452
+ },
453
+ errors: {
454
+ 400: 'Bad Request',
455
+ 401: 'Unauthorized',
456
+ 403: 'Forbidden',
457
+ 404: 'Not Found',
458
+ 500: 'Server Error',
459
+ 501: 'Server Error'
460
+ }
461
+ });
462
+ }
463
+
464
+ /**
465
+ * @param data The data for the request.
466
+ * @param data.requestBody
467
+ * @returns unknown Success
468
+ * @throws ApiError
469
+ */
470
+ public putApiMerchantServiceEmailCommonDatas(data: PutApiMerchantServiceEmailCommonDatasData = {}): CancelablePromise<PutApiMerchantServiceEmailCommonDatasResponse> {
471
+ return this.httpRequest.request({
472
+ method: 'PUT',
473
+ url: '/api/merchant-service/email-common-datas',
474
+ body: data.requestBody,
475
+ mediaType: 'application/json',
476
+ errors: {
477
+ 400: 'Bad Request',
478
+ 401: 'Unauthorized',
479
+ 403: 'Forbidden',
480
+ 404: 'Not Found',
481
+ 500: 'Server Error',
482
+ 501: 'Server Error'
483
+ }
484
+ });
485
+ }
486
+
487
+ /**
488
+ * @param data The data for the request.
489
+ * @param data.id
490
+ * @returns unknown Success
491
+ * @throws ApiError
492
+ */
493
+ public deleteApiMerchantServiceEmailCommonDatas(data: DeleteApiMerchantServiceEmailCommonDatasData = {}): CancelablePromise<DeleteApiMerchantServiceEmailCommonDatasResponse> {
494
+ return this.httpRequest.request({
495
+ method: 'DELETE',
496
+ url: '/api/merchant-service/email-common-datas',
497
+ query: {
498
+ id: data.id
499
+ },
500
+ errors: {
501
+ 400: 'Bad Request',
502
+ 401: 'Unauthorized',
503
+ 403: 'Forbidden',
504
+ 404: 'Not Found',
505
+ 500: 'Server Error',
506
+ 501: 'Server Error'
507
+ }
508
+ });
509
+ }
510
+
511
+ }
512
+
513
+ export class EntityInformationTypeService {
514
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
515
+
516
+ /**
517
+ * @param data The data for the request.
518
+ * @param data.id
519
+ * @returns unknown Success
520
+ * @throws ApiError
521
+ */
522
+ public getApiMerchantServiceEntityInformationTypesDetailById(data: GetApiMerchantServiceEntityInformationTypesDetailByIdData): CancelablePromise<GetApiMerchantServiceEntityInformationTypesDetailByIdResponse> {
523
+ return this.httpRequest.request({
524
+ method: 'GET',
525
+ url: '/api/merchant-service/entity-information-types/detail/{id}',
526
+ path: {
527
+ id: data.id
528
+ },
529
+ errors: {
530
+ 400: 'Bad Request',
531
+ 401: 'Unauthorized',
532
+ 403: 'Forbidden',
533
+ 404: 'Not Found',
534
+ 500: 'Server Error',
535
+ 501: 'Server Error'
536
+ }
537
+ });
538
+ }
539
+
540
+ /**
541
+ * @param data The data for the request.
542
+ * @param data.skipCount
543
+ * @param data.maxResultCount
544
+ * @returns unknown Success
545
+ * @throws ApiError
546
+ */
547
+ public getApiMerchantServiceEntityInformationTypesDetail(data: GetApiMerchantServiceEntityInformationTypesDetailData = {}): CancelablePromise<GetApiMerchantServiceEntityInformationTypesDetailResponse> {
548
+ return this.httpRequest.request({
549
+ method: 'GET',
550
+ url: '/api/merchant-service/entity-information-types/detail',
551
+ query: {
552
+ SkipCount: data.skipCount,
553
+ MaxResultCount: data.maxResultCount
554
+ },
555
+ errors: {
556
+ 400: 'Bad Request',
557
+ 401: 'Unauthorized',
558
+ 403: 'Forbidden',
559
+ 404: 'Not Found',
560
+ 500: 'Server Error',
561
+ 501: 'Server Error'
562
+ }
563
+ });
564
+ }
565
+
566
+ /**
567
+ * @param data The data for the request.
568
+ * @param data.merchantId
569
+ * @param data.requestBody
570
+ * @returns unknown Success
571
+ * @throws ApiError
572
+ */
573
+ public postApiMerchantServiceEntityInformationTypes(data: PostApiMerchantServiceEntityInformationTypesData = {}): CancelablePromise<PostApiMerchantServiceEntityInformationTypesResponse> {
574
+ return this.httpRequest.request({
575
+ method: 'POST',
576
+ url: '/api/merchant-service/entity-information-types',
577
+ query: {
578
+ merchantId: data.merchantId
579
+ },
580
+ body: data.requestBody,
581
+ mediaType: 'application/json',
582
+ errors: {
583
+ 400: 'Bad Request',
584
+ 401: 'Unauthorized',
585
+ 403: 'Forbidden',
586
+ 404: 'Not Found',
587
+ 500: 'Server Error',
588
+ 501: 'Server Error'
589
+ }
590
+ });
591
+ }
592
+
593
+ /**
594
+ * @param data The data for the request.
595
+ * @param data.requestBody
596
+ * @returns unknown Success
597
+ * @throws ApiError
598
+ */
599
+ public putApiMerchantServiceEntityInformationTypes(data: PutApiMerchantServiceEntityInformationTypesData = {}): CancelablePromise<PutApiMerchantServiceEntityInformationTypesResponse> {
600
+ return this.httpRequest.request({
601
+ method: 'PUT',
602
+ url: '/api/merchant-service/entity-information-types',
603
+ body: data.requestBody,
604
+ mediaType: 'application/json',
605
+ errors: {
606
+ 400: 'Bad Request',
607
+ 401: 'Unauthorized',
608
+ 403: 'Forbidden',
609
+ 404: 'Not Found',
610
+ 500: 'Server Error',
611
+ 501: 'Server Error'
612
+ }
613
+ });
614
+ }
615
+
616
+ /**
617
+ * @param data The data for the request.
618
+ * @param data.id
619
+ * @returns unknown Success
620
+ * @throws ApiError
621
+ */
622
+ public deleteApiMerchantServiceEntityInformationTypes(data: DeleteApiMerchantServiceEntityInformationTypesData = {}): CancelablePromise<DeleteApiMerchantServiceEntityInformationTypesResponse> {
623
+ return this.httpRequest.request({
624
+ method: 'DELETE',
625
+ url: '/api/merchant-service/entity-information-types',
626
+ query: {
627
+ id: data.id
628
+ },
629
+ errors: {
630
+ 400: 'Bad Request',
631
+ 401: 'Unauthorized',
632
+ 403: 'Forbidden',
633
+ 404: 'Not Found',
634
+ 500: 'Server Error',
635
+ 501: 'Server Error'
636
+ }
637
+ });
638
+ }
639
+
640
+ }
641
+
642
+ export class IndividualService {
643
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
644
+
645
+ /**
646
+ * @param data The data for the request.
647
+ * @param data.id
648
+ * @returns unknown Success
649
+ * @throws ApiError
650
+ */
651
+ public getApiMerchantServiceIndividualsDetailById(data: GetApiMerchantServiceIndividualsDetailByIdData): CancelablePromise<GetApiMerchantServiceIndividualsDetailByIdResponse> {
652
+ return this.httpRequest.request({
653
+ method: 'GET',
654
+ url: '/api/merchant-service/individuals/detail/{id}',
655
+ path: {
656
+ id: data.id
657
+ },
658
+ errors: {
659
+ 400: 'Bad Request',
660
+ 401: 'Unauthorized',
661
+ 403: 'Forbidden',
662
+ 404: 'Not Found',
663
+ 500: 'Server Error',
664
+ 501: 'Server Error'
665
+ }
666
+ });
667
+ }
668
+
669
+ /**
670
+ * @param data The data for the request.
671
+ * @param data.skipCount
672
+ * @param data.maxResultCount
673
+ * @returns unknown Success
674
+ * @throws ApiError
675
+ */
676
+ public getApiMerchantServiceIndividualsDetail(data: GetApiMerchantServiceIndividualsDetailData = {}): CancelablePromise<GetApiMerchantServiceIndividualsDetailResponse> {
677
+ return this.httpRequest.request({
678
+ method: 'GET',
679
+ url: '/api/merchant-service/individuals/detail',
680
+ query: {
681
+ SkipCount: data.skipCount,
682
+ MaxResultCount: data.maxResultCount
683
+ },
684
+ errors: {
685
+ 400: 'Bad Request',
686
+ 401: 'Unauthorized',
687
+ 403: 'Forbidden',
688
+ 404: 'Not Found',
689
+ 500: 'Server Error',
690
+ 501: 'Server Error'
691
+ }
692
+ });
693
+ }
694
+
695
+ /**
696
+ * @param data The data for the request.
697
+ * @param data.entityInformationTypeId
698
+ * @param data.requestBody
699
+ * @returns unknown Success
700
+ * @throws ApiError
701
+ */
702
+ public postApiMerchantServiceIndividuals(data: PostApiMerchantServiceIndividualsData = {}): CancelablePromise<PostApiMerchantServiceIndividualsResponse> {
703
+ return this.httpRequest.request({
704
+ method: 'POST',
705
+ url: '/api/merchant-service/individuals',
706
+ query: {
707
+ entityInformationTypeId: data.entityInformationTypeId
708
+ },
709
+ body: data.requestBody,
710
+ mediaType: 'application/json',
711
+ errors: {
712
+ 400: 'Bad Request',
713
+ 401: 'Unauthorized',
714
+ 403: 'Forbidden',
715
+ 404: 'Not Found',
716
+ 500: 'Server Error',
717
+ 501: 'Server Error'
718
+ }
719
+ });
720
+ }
721
+
722
+ /**
723
+ * @param data The data for the request.
724
+ * @param data.requestBody
725
+ * @returns unknown Success
726
+ * @throws ApiError
727
+ */
728
+ public putApiMerchantServiceIndividuals(data: PutApiMerchantServiceIndividualsData = {}): CancelablePromise<PutApiMerchantServiceIndividualsResponse> {
729
+ return this.httpRequest.request({
730
+ method: 'PUT',
731
+ url: '/api/merchant-service/individuals',
732
+ body: data.requestBody,
733
+ mediaType: 'application/json',
734
+ errors: {
735
+ 400: 'Bad Request',
736
+ 401: 'Unauthorized',
737
+ 403: 'Forbidden',
738
+ 404: 'Not Found',
739
+ 500: 'Server Error',
740
+ 501: 'Server Error'
741
+ }
742
+ });
743
+ }
744
+
745
+ /**
746
+ * @param data The data for the request.
747
+ * @param data.id
748
+ * @returns unknown Success
749
+ * @throws ApiError
750
+ */
751
+ public deleteApiMerchantServiceIndividuals(data: DeleteApiMerchantServiceIndividualsData = {}): CancelablePromise<DeleteApiMerchantServiceIndividualsResponse> {
752
+ return this.httpRequest.request({
753
+ method: 'DELETE',
754
+ url: '/api/merchant-service/individuals',
755
+ query: {
756
+ id: data.id
757
+ },
758
+ errors: {
759
+ 400: 'Bad Request',
760
+ 401: 'Unauthorized',
761
+ 403: 'Forbidden',
762
+ 404: 'Not Found',
763
+ 500: 'Server Error',
764
+ 501: 'Server Error'
765
+ }
766
+ });
767
+ }
768
+
769
+ }
770
+
96
771
  export class MerchantService {
97
772
  constructor(public readonly httpRequest: BaseHttpRequest) { }
98
773
 
@@ -102,10 +777,216 @@ export class MerchantService {
102
777
  * @returns unknown Success
103
778
  * @throws ApiError
104
779
  */
105
- public getApiMerchantServiceMerchantsDetailById(data: GetApiMerchantServiceMerchantsDetailByIdData): CancelablePromise<GetApiMerchantServiceMerchantsDetailByIdResponse> {
780
+ public getApiMerchantServiceMerchantsDetailById(data: GetApiMerchantServiceMerchantsDetailByIdData): CancelablePromise<GetApiMerchantServiceMerchantsDetailByIdResponse> {
781
+ return this.httpRequest.request({
782
+ method: 'GET',
783
+ url: '/api/merchant-service/merchants/detail/{id}',
784
+ path: {
785
+ id: data.id
786
+ },
787
+ errors: {
788
+ 400: 'Bad Request',
789
+ 401: 'Unauthorized',
790
+ 403: 'Forbidden',
791
+ 404: 'Not Found',
792
+ 500: 'Server Error',
793
+ 501: 'Server Error'
794
+ }
795
+ });
796
+ }
797
+
798
+ /**
799
+ * @param data The data for the request.
800
+ * @param data.skipCount
801
+ * @param data.maxResultCount
802
+ * @returns unknown Success
803
+ * @throws ApiError
804
+ */
805
+ public getApiMerchantServiceMerchantsDetail(data: GetApiMerchantServiceMerchantsDetailData = {}): CancelablePromise<GetApiMerchantServiceMerchantsDetailResponse> {
806
+ return this.httpRequest.request({
807
+ method: 'GET',
808
+ url: '/api/merchant-service/merchants/detail',
809
+ query: {
810
+ SkipCount: data.skipCount,
811
+ MaxResultCount: data.maxResultCount
812
+ },
813
+ errors: {
814
+ 400: 'Bad Request',
815
+ 401: 'Unauthorized',
816
+ 403: 'Forbidden',
817
+ 404: 'Not Found',
818
+ 500: 'Server Error',
819
+ 501: 'Server Error'
820
+ }
821
+ });
822
+ }
823
+
824
+ /**
825
+ * @param data The data for the request.
826
+ * @param data.id
827
+ * @param data.requestBody
828
+ * @returns unknown Success
829
+ * @throws ApiError
830
+ */
831
+ public postApiMerchantServiceMerchantsTelephone(data: PostApiMerchantServiceMerchantsTelephoneData = {}): CancelablePromise<PostApiMerchantServiceMerchantsTelephoneResponse> {
832
+ return this.httpRequest.request({
833
+ method: 'POST',
834
+ url: '/api/merchant-service/merchants/telephone',
835
+ query: {
836
+ id: data.id
837
+ },
838
+ body: data.requestBody,
839
+ mediaType: 'application/json',
840
+ errors: {
841
+ 400: 'Bad Request',
842
+ 401: 'Unauthorized',
843
+ 403: 'Forbidden',
844
+ 404: 'Not Found',
845
+ 500: 'Server Error',
846
+ 501: 'Server Error'
847
+ }
848
+ });
849
+ }
850
+
851
+ /**
852
+ * @param data The data for the request.
853
+ * @param data.id
854
+ * @param data.requestBody
855
+ * @returns unknown Success
856
+ * @throws ApiError
857
+ */
858
+ public postApiMerchantServiceMerchantsAddress(data: PostApiMerchantServiceMerchantsAddressData = {}): CancelablePromise<PostApiMerchantServiceMerchantsAddressResponse> {
859
+ return this.httpRequest.request({
860
+ method: 'POST',
861
+ url: '/api/merchant-service/merchants/address',
862
+ query: {
863
+ id: data.id
864
+ },
865
+ body: data.requestBody,
866
+ mediaType: 'application/json',
867
+ errors: {
868
+ 400: 'Bad Request',
869
+ 401: 'Unauthorized',
870
+ 403: 'Forbidden',
871
+ 404: 'Not Found',
872
+ 500: 'Server Error',
873
+ 501: 'Server Error'
874
+ }
875
+ });
876
+ }
877
+
878
+ /**
879
+ * @param data The data for the request.
880
+ * @param data.id
881
+ * @param data.requestBody
882
+ * @returns unknown Success
883
+ * @throws ApiError
884
+ */
885
+ public postApiMerchantServiceMerchantsEmail(data: PostApiMerchantServiceMerchantsEmailData = {}): CancelablePromise<PostApiMerchantServiceMerchantsEmailResponse> {
886
+ return this.httpRequest.request({
887
+ method: 'POST',
888
+ url: '/api/merchant-service/merchants/email',
889
+ query: {
890
+ id: data.id
891
+ },
892
+ body: data.requestBody,
893
+ mediaType: 'application/json',
894
+ errors: {
895
+ 400: 'Bad Request',
896
+ 401: 'Unauthorized',
897
+ 403: 'Forbidden',
898
+ 404: 'Not Found',
899
+ 500: 'Server Error',
900
+ 501: 'Server Error'
901
+ }
902
+ });
903
+ }
904
+
905
+ /**
906
+ * @param data The data for the request.
907
+ * @param data.requestBody
908
+ * @returns unknown Success
909
+ * @throws ApiError
910
+ */
911
+ public postApiMerchantServiceMerchantsWithComponents(data: PostApiMerchantServiceMerchantsWithComponentsData = {}): CancelablePromise<PostApiMerchantServiceMerchantsWithComponentsResponse> {
912
+ return this.httpRequest.request({
913
+ method: 'POST',
914
+ url: '/api/merchant-service/merchants/with-components',
915
+ body: data.requestBody,
916
+ mediaType: 'application/json',
917
+ errors: {
918
+ 400: 'Bad Request',
919
+ 401: 'Unauthorized',
920
+ 403: 'Forbidden',
921
+ 404: 'Not Found',
922
+ 500: 'Server Error',
923
+ 501: 'Server Error'
924
+ }
925
+ });
926
+ }
927
+
928
+ /**
929
+ * @param data The data for the request.
930
+ * @param data.requestBody
931
+ * @returns unknown Success
932
+ * @throws ApiError
933
+ */
934
+ public putApiMerchantServiceMerchantsWithComponents(data: PutApiMerchantServiceMerchantsWithComponentsData = {}): CancelablePromise<PutApiMerchantServiceMerchantsWithComponentsResponse> {
935
+ return this.httpRequest.request({
936
+ method: 'PUT',
937
+ url: '/api/merchant-service/merchants/with-components',
938
+ body: data.requestBody,
939
+ mediaType: 'application/json',
940
+ errors: {
941
+ 400: 'Bad Request',
942
+ 401: 'Unauthorized',
943
+ 403: 'Forbidden',
944
+ 404: 'Not Found',
945
+ 500: 'Server Error',
946
+ 501: 'Server Error'
947
+ }
948
+ });
949
+ }
950
+
951
+ /**
952
+ * @param data The data for the request.
953
+ * @param data.id
954
+ * @returns unknown Success
955
+ * @throws ApiError
956
+ */
957
+ public deleteApiMerchantServiceMerchantsWithComponents(data: DeleteApiMerchantServiceMerchantsWithComponentsData = {}): CancelablePromise<DeleteApiMerchantServiceMerchantsWithComponentsResponse> {
958
+ return this.httpRequest.request({
959
+ method: 'DELETE',
960
+ url: '/api/merchant-service/merchants/with-components',
961
+ query: {
962
+ id: data.id
963
+ },
964
+ errors: {
965
+ 400: 'Bad Request',
966
+ 401: 'Unauthorized',
967
+ 403: 'Forbidden',
968
+ 404: 'Not Found',
969
+ 500: 'Server Error',
970
+ 501: 'Server Error'
971
+ }
972
+ });
973
+ }
974
+
975
+ }
976
+
977
+ export class NameCommonDataService {
978
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
979
+
980
+ /**
981
+ * @param data The data for the request.
982
+ * @param data.id
983
+ * @returns unknown Success
984
+ * @throws ApiError
985
+ */
986
+ public getApiMerchantServiceNameCommonDatasById(data: GetApiMerchantServiceNameCommonDatasByIdData): CancelablePromise<GetApiMerchantServiceNameCommonDatasByIdResponse> {
106
987
  return this.httpRequest.request({
107
988
  method: 'GET',
108
- url: '/api/merchant-service/merchants/detail/{id}',
989
+ url: '/api/merchant-service/name-common-datas/{id}',
109
990
  path: {
110
991
  id: data.id
111
992
  },
@@ -122,16 +1003,18 @@ export class MerchantService {
122
1003
 
123
1004
  /**
124
1005
  * @param data The data for the request.
1006
+ * @param data.sorting
125
1007
  * @param data.skipCount
126
1008
  * @param data.maxResultCount
127
1009
  * @returns unknown Success
128
1010
  * @throws ApiError
129
1011
  */
130
- public getApiMerchantServiceMerchantsDetail(data: GetApiMerchantServiceMerchantsDetailData = {}): CancelablePromise<GetApiMerchantServiceMerchantsDetailResponse> {
1012
+ public getApiMerchantServiceNameCommonDatas(data: GetApiMerchantServiceNameCommonDatasData = {}): CancelablePromise<GetApiMerchantServiceNameCommonDatasResponse> {
131
1013
  return this.httpRequest.request({
132
1014
  method: 'GET',
133
- url: '/api/merchant-service/merchants/detail',
1015
+ url: '/api/merchant-service/name-common-datas',
134
1016
  query: {
1017
+ Sorting: data.sorting,
135
1018
  SkipCount: data.skipCount,
136
1019
  MaxResultCount: data.maxResultCount
137
1020
  },
@@ -148,18 +1031,14 @@ export class MerchantService {
148
1031
 
149
1032
  /**
150
1033
  * @param data The data for the request.
151
- * @param data.merchantId
152
1034
  * @param data.requestBody
153
1035
  * @returns unknown Success
154
1036
  * @throws ApiError
155
1037
  */
156
- public postApiMerchantServiceMerchantsAddEntityInformationType(data: PostApiMerchantServiceMerchantsAddEntityInformationTypeData = {}): CancelablePromise<PostApiMerchantServiceMerchantsAddEntityInformationTypeResponse> {
1038
+ public putApiMerchantServiceNameCommonDatas(data: PutApiMerchantServiceNameCommonDatasData = {}): CancelablePromise<PutApiMerchantServiceNameCommonDatasResponse> {
157
1039
  return this.httpRequest.request({
158
- method: 'POST',
159
- url: '/api/merchant-service/merchants/add-entity-information-type',
160
- query: {
161
- merchantId: data.merchantId
162
- },
1040
+ method: 'PUT',
1041
+ url: '/api/merchant-service/name-common-datas',
163
1042
  body: data.requestBody,
164
1043
  mediaType: 'application/json',
165
1044
  errors: {
@@ -175,20 +1054,17 @@ export class MerchantService {
175
1054
 
176
1055
  /**
177
1056
  * @param data The data for the request.
178
- * @param data.merchantId
179
- * @param data.requestBody
1057
+ * @param data.id
180
1058
  * @returns unknown Success
181
1059
  * @throws ApiError
182
1060
  */
183
- public postApiMerchantServiceMerchantsAddAffiliationType(data: PostApiMerchantServiceMerchantsAddAffiliationTypeData = {}): CancelablePromise<PostApiMerchantServiceMerchantsAddAffiliationTypeResponse> {
1061
+ public deleteApiMerchantServiceNameCommonDatas(data: DeleteApiMerchantServiceNameCommonDatasData = {}): CancelablePromise<DeleteApiMerchantServiceNameCommonDatasResponse> {
184
1062
  return this.httpRequest.request({
185
- method: 'POST',
186
- url: '/api/merchant-service/merchants/add-affiliation-type',
1063
+ method: 'DELETE',
1064
+ url: '/api/merchant-service/name-common-datas',
187
1065
  query: {
188
- merchantId: data.merchantId
1066
+ id: data.id
189
1067
  },
190
- body: data.requestBody,
191
- mediaType: 'application/json',
192
1068
  errors: {
193
1069
  400: 'Bad Request',
194
1070
  401: 'Unauthorized',
@@ -200,22 +1076,24 @@ export class MerchantService {
200
1076
  });
201
1077
  }
202
1078
 
1079
+ }
1080
+
1081
+ export class OrganizationService {
1082
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
1083
+
203
1084
  /**
204
1085
  * @param data The data for the request.
205
- * @param data.entityInformationTypeId
206
- * @param data.requestBody
1086
+ * @param data.id
207
1087
  * @returns unknown Success
208
1088
  * @throws ApiError
209
1089
  */
210
- public postApiMerchantServiceMerchantsAddOrganization(data: PostApiMerchantServiceMerchantsAddOrganizationData = {}): CancelablePromise<PostApiMerchantServiceMerchantsAddOrganizationResponse> {
1090
+ public getApiMerchantServiceOrganizationsDetailById(data: GetApiMerchantServiceOrganizationsDetailByIdData): CancelablePromise<GetApiMerchantServiceOrganizationsDetailByIdResponse> {
211
1091
  return this.httpRequest.request({
212
- method: 'POST',
213
- url: '/api/merchant-service/merchants/add-organization',
214
- query: {
215
- entityInformationTypeId: data.entityInformationTypeId
1092
+ method: 'GET',
1093
+ url: '/api/merchant-service/organizations/detail/{id}',
1094
+ path: {
1095
+ id: data.id
216
1096
  },
217
- body: data.requestBody,
218
- mediaType: 'application/json',
219
1097
  errors: {
220
1098
  400: 'Bad Request',
221
1099
  401: 'Unauthorized',
@@ -229,20 +1107,19 @@ export class MerchantService {
229
1107
 
230
1108
  /**
231
1109
  * @param data The data for the request.
232
- * @param data.parentOrganizationId
233
- * @param data.requestBody
1110
+ * @param data.skipCount
1111
+ * @param data.maxResultCount
234
1112
  * @returns unknown Success
235
1113
  * @throws ApiError
236
1114
  */
237
- public postApiMerchantServiceMerchantsAddSubOrganization(data: PostApiMerchantServiceMerchantsAddSubOrganizationData = {}): CancelablePromise<PostApiMerchantServiceMerchantsAddSubOrganizationResponse> {
1115
+ public getApiMerchantServiceOrganizationsDetail(data: GetApiMerchantServiceOrganizationsDetailData = {}): CancelablePromise<GetApiMerchantServiceOrganizationsDetailResponse> {
238
1116
  return this.httpRequest.request({
239
- method: 'POST',
240
- url: '/api/merchant-service/merchants/add-sub-organization',
1117
+ method: 'GET',
1118
+ url: '/api/merchant-service/organizations/detail',
241
1119
  query: {
242
- parentOrganizationId: data.parentOrganizationId
1120
+ SkipCount: data.skipCount,
1121
+ MaxResultCount: data.maxResultCount
243
1122
  },
244
- body: data.requestBody,
245
- mediaType: 'application/json',
246
1123
  errors: {
247
1124
  400: 'Bad Request',
248
1125
  401: 'Unauthorized',
@@ -261,10 +1138,10 @@ export class MerchantService {
261
1138
  * @returns unknown Success
262
1139
  * @throws ApiError
263
1140
  */
264
- public postApiMerchantServiceMerchantsAddIndividual(data: PostApiMerchantServiceMerchantsAddIndividualData = {}): CancelablePromise<PostApiMerchantServiceMerchantsAddIndividualResponse> {
1141
+ public postApiMerchantServiceOrganizations(data: PostApiMerchantServiceOrganizationsData = {}): CancelablePromise<PostApiMerchantServiceOrganizationsResponse> {
265
1142
  return this.httpRequest.request({
266
1143
  method: 'POST',
267
- url: '/api/merchant-service/merchants/add-individual',
1144
+ url: '/api/merchant-service/organizations',
268
1145
  query: {
269
1146
  entityInformationTypeId: data.entityInformationTypeId
270
1147
  },
@@ -283,18 +1160,14 @@ export class MerchantService {
283
1160
 
284
1161
  /**
285
1162
  * @param data The data for the request.
286
- * @param data.contactInformationTypeId
287
1163
  * @param data.requestBody
288
1164
  * @returns unknown Success
289
1165
  * @throws ApiError
290
1166
  */
291
- public postApiMerchantServiceMerchantsAddTelephone(data: PostApiMerchantServiceMerchantsAddTelephoneData = {}): CancelablePromise<PostApiMerchantServiceMerchantsAddTelephoneResponse> {
1167
+ public putApiMerchantServiceOrganizations(data: PutApiMerchantServiceOrganizationsData = {}): CancelablePromise<PutApiMerchantServiceOrganizationsResponse> {
292
1168
  return this.httpRequest.request({
293
- method: 'POST',
294
- url: '/api/merchant-service/merchants/add-telephone',
295
- query: {
296
- contactInformationTypeId: data.contactInformationTypeId
297
- },
1169
+ method: 'PUT',
1170
+ url: '/api/merchant-service/organizations',
298
1171
  body: data.requestBody,
299
1172
  mediaType: 'application/json',
300
1173
  errors: {
@@ -310,20 +1183,19 @@ export class MerchantService {
310
1183
 
311
1184
  /**
312
1185
  * @param data The data for the request.
313
- * @param data.contactInformationTypeId
314
- * @param data.requestBody
1186
+ * @param data.id
1187
+ * @param data.includeSubCompanies
315
1188
  * @returns unknown Success
316
1189
  * @throws ApiError
317
1190
  */
318
- public postApiMerchantServiceMerchantsAddAddress(data: PostApiMerchantServiceMerchantsAddAddressData = {}): CancelablePromise<PostApiMerchantServiceMerchantsAddAddressResponse> {
1191
+ public deleteApiMerchantServiceOrganizations(data: DeleteApiMerchantServiceOrganizationsData = {}): CancelablePromise<DeleteApiMerchantServiceOrganizationsResponse> {
319
1192
  return this.httpRequest.request({
320
- method: 'POST',
321
- url: '/api/merchant-service/merchants/add-address',
1193
+ method: 'DELETE',
1194
+ url: '/api/merchant-service/organizations',
322
1195
  query: {
323
- contactInformationTypeId: data.contactInformationTypeId
1196
+ id: data.id,
1197
+ includeSubCompanies: data.includeSubCompanies
324
1198
  },
325
- body: data.requestBody,
326
- mediaType: 'application/json',
327
1199
  errors: {
328
1200
  400: 'Bad Request',
329
1201
  401: 'Unauthorized',
@@ -337,17 +1209,17 @@ export class MerchantService {
337
1209
 
338
1210
  /**
339
1211
  * @param data The data for the request.
340
- * @param data.contactInformationTypeId
1212
+ * @param data.parentOrganizationId
341
1213
  * @param data.requestBody
342
1214
  * @returns unknown Success
343
1215
  * @throws ApiError
344
1216
  */
345
- public postApiMerchantServiceMerchantsAddEmail(data: PostApiMerchantServiceMerchantsAddEmailData = {}): CancelablePromise<PostApiMerchantServiceMerchantsAddEmailResponse> {
1217
+ public postApiMerchantServiceOrganizationsSubOrganization(data: PostApiMerchantServiceOrganizationsSubOrganizationData = {}): CancelablePromise<PostApiMerchantServiceOrganizationsSubOrganizationResponse> {
346
1218
  return this.httpRequest.request({
347
1219
  method: 'POST',
348
- url: '/api/merchant-service/merchants/add-email',
1220
+ url: '/api/merchant-service/organizations/sub-organization',
349
1221
  query: {
350
- contactInformationTypeId: data.contactInformationTypeId
1222
+ parentOrganizationId: data.parentOrganizationId
351
1223
  },
352
1224
  body: data.requestBody,
353
1225
  mediaType: 'application/json',
@@ -362,22 +1234,24 @@ export class MerchantService {
362
1234
  });
363
1235
  }
364
1236
 
1237
+ }
1238
+
1239
+ export class PersonalSummaryService {
1240
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
1241
+
365
1242
  /**
366
1243
  * @param data The data for the request.
367
- * @param data.individualId
368
- * @param data.requestBody
1244
+ * @param data.id
369
1245
  * @returns unknown Success
370
1246
  * @throws ApiError
371
1247
  */
372
- public postApiMerchantServiceMerchantsIndividualAddPersonalSummary(data: PostApiMerchantServiceMerchantsIndividualAddPersonalSummaryData = {}): CancelablePromise<PostApiMerchantServiceMerchantsIndividualAddPersonalSummaryResponse> {
1248
+ public getApiMerchantServicePersonalSummariesById(data: GetApiMerchantServicePersonalSummariesByIdData): CancelablePromise<GetApiMerchantServicePersonalSummariesByIdResponse> {
373
1249
  return this.httpRequest.request({
374
- method: 'POST',
375
- url: '/api/merchant-service/merchants/individual/add-personal-summary',
376
- query: {
377
- individualId: data.individualId
1250
+ method: 'GET',
1251
+ url: '/api/merchant-service/personal-summaries/{id}',
1252
+ path: {
1253
+ id: data.id
378
1254
  },
379
- body: data.requestBody,
380
- mediaType: 'application/json',
381
1255
  errors: {
382
1256
  400: 'Bad Request',
383
1257
  401: 'Unauthorized',
@@ -391,20 +1265,21 @@ export class MerchantService {
391
1265
 
392
1266
  /**
393
1267
  * @param data The data for the request.
394
- * @param data.organizationId
395
- * @param data.requestBody
1268
+ * @param data.sorting
1269
+ * @param data.skipCount
1270
+ * @param data.maxResultCount
396
1271
  * @returns unknown Success
397
1272
  * @throws ApiError
398
1273
  */
399
- public postApiMerchantServiceMerchantsOrganizationAddProductGroup(data: PostApiMerchantServiceMerchantsOrganizationAddProductGroupData = {}): CancelablePromise<PostApiMerchantServiceMerchantsOrganizationAddProductGroupResponse> {
1274
+ public getApiMerchantServicePersonalSummaries(data: GetApiMerchantServicePersonalSummariesData = {}): CancelablePromise<GetApiMerchantServicePersonalSummariesResponse> {
400
1275
  return this.httpRequest.request({
401
- method: 'POST',
402
- url: '/api/merchant-service/merchants/organization/add-product-group',
1276
+ method: 'GET',
1277
+ url: '/api/merchant-service/personal-summaries',
403
1278
  query: {
404
- organizationId: data.organizationId
1279
+ Sorting: data.sorting,
1280
+ SkipCount: data.skipCount,
1281
+ MaxResultCount: data.maxResultCount
405
1282
  },
406
- body: data.requestBody,
407
- mediaType: 'application/json',
408
1283
  errors: {
409
1284
  400: 'Bad Request',
410
1285
  401: 'Unauthorized',
@@ -418,14 +1293,18 @@ export class MerchantService {
418
1293
 
419
1294
  /**
420
1295
  * @param data The data for the request.
1296
+ * @param data.individualId
421
1297
  * @param data.requestBody
422
1298
  * @returns unknown Success
423
1299
  * @throws ApiError
424
1300
  */
425
- public postApiMerchantServiceMerchantsCreateMerchantWithComponents(data: PostApiMerchantServiceMerchantsCreateMerchantWithComponentsData = {}): CancelablePromise<PostApiMerchantServiceMerchantsCreateMerchantWithComponentsResponse> {
1301
+ public postApiMerchantServicePersonalSummaries(data: PostApiMerchantServicePersonalSummariesData = {}): CancelablePromise<PostApiMerchantServicePersonalSummariesResponse> {
426
1302
  return this.httpRequest.request({
427
1303
  method: 'POST',
428
- url: '/api/merchant-service/merchants/create-merchant-with-components',
1304
+ url: '/api/merchant-service/personal-summaries',
1305
+ query: {
1306
+ individualId: data.individualId
1307
+ },
429
1308
  body: data.requestBody,
430
1309
  mediaType: 'application/json',
431
1310
  errors: {
@@ -445,10 +1324,10 @@ export class MerchantService {
445
1324
  * @returns unknown Success
446
1325
  * @throws ApiError
447
1326
  */
448
- public putApiMerchantServiceMerchantsUpdateMerchantWithComponents(data: PutApiMerchantServiceMerchantsUpdateMerchantWithComponentsData = {}): CancelablePromise<PutApiMerchantServiceMerchantsUpdateMerchantWithComponentsResponse> {
1327
+ public putApiMerchantServicePersonalSummaries(data: PutApiMerchantServicePersonalSummariesData = {}): CancelablePromise<PutApiMerchantServicePersonalSummariesResponse> {
449
1328
  return this.httpRequest.request({
450
1329
  method: 'PUT',
451
- url: '/api/merchant-service/merchants/update-merchant-with-components',
1330
+ url: '/api/merchant-service/personal-summaries',
452
1331
  body: data.requestBody,
453
1332
  mediaType: 'application/json',
454
1333
  errors: {
@@ -464,16 +1343,16 @@ export class MerchantService {
464
1343
 
465
1344
  /**
466
1345
  * @param data The data for the request.
467
- * @param data.merchantId
1346
+ * @param data.id
468
1347
  * @returns unknown Success
469
1348
  * @throws ApiError
470
1349
  */
471
- public deleteApiMerchantServiceMerchantsDeleteMerchantWithComponents(data: DeleteApiMerchantServiceMerchantsDeleteMerchantWithComponentsData = {}): CancelablePromise<DeleteApiMerchantServiceMerchantsDeleteMerchantWithComponentsResponse> {
1350
+ public deleteApiMerchantServicePersonalSummaries(data: DeleteApiMerchantServicePersonalSummariesData = {}): CancelablePromise<DeleteApiMerchantServicePersonalSummariesResponse> {
472
1351
  return this.httpRequest.request({
473
1352
  method: 'DELETE',
474
- url: '/api/merchant-service/merchants/delete-merchant-with-components',
1353
+ url: '/api/merchant-service/personal-summaries',
475
1354
  query: {
476
- merchantId: data.merchantId
1355
+ id: data.id
477
1356
  },
478
1357
  errors: {
479
1358
  400: 'Bad Request',
@@ -486,18 +1365,23 @@ export class MerchantService {
486
1365
  });
487
1366
  }
488
1367
 
1368
+ }
1369
+
1370
+ export class ProductGroupService {
1371
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
1372
+
489
1373
  /**
490
1374
  * @param data The data for the request.
491
- * @param data.entityInformationTypeId
1375
+ * @param data.id
492
1376
  * @returns unknown Success
493
1377
  * @throws ApiError
494
1378
  */
495
- public deleteApiMerchantServiceMerchantsDeleteEntityInformationType(data: DeleteApiMerchantServiceMerchantsDeleteEntityInformationTypeData = {}): CancelablePromise<DeleteApiMerchantServiceMerchantsDeleteEntityInformationTypeResponse> {
1379
+ public getApiMerchantServiceProductGroupsById(data: GetApiMerchantServiceProductGroupsByIdData): CancelablePromise<GetApiMerchantServiceProductGroupsByIdResponse> {
496
1380
  return this.httpRequest.request({
497
- method: 'DELETE',
498
- url: '/api/merchant-service/merchants/delete-entity-information-type',
499
- query: {
500
- entityInformationTypeId: data.entityInformationTypeId
1381
+ method: 'GET',
1382
+ url: '/api/merchant-service/product-groups/{id}',
1383
+ path: {
1384
+ id: data.id
501
1385
  },
502
1386
  errors: {
503
1387
  400: 'Bad Request',
@@ -512,16 +1396,20 @@ export class MerchantService {
512
1396
 
513
1397
  /**
514
1398
  * @param data The data for the request.
515
- * @param data.affiliationTypeId
1399
+ * @param data.sorting
1400
+ * @param data.skipCount
1401
+ * @param data.maxResultCount
516
1402
  * @returns unknown Success
517
1403
  * @throws ApiError
518
1404
  */
519
- public deleteApiMerchantServiceMerchantsDeleteAffiliationType(data: DeleteApiMerchantServiceMerchantsDeleteAffiliationTypeData = {}): CancelablePromise<DeleteApiMerchantServiceMerchantsDeleteAffiliationTypeResponse> {
1405
+ public getApiMerchantServiceProductGroups(data: GetApiMerchantServiceProductGroupsData = {}): CancelablePromise<GetApiMerchantServiceProductGroupsResponse> {
520
1406
  return this.httpRequest.request({
521
- method: 'DELETE',
522
- url: '/api/merchant-service/merchants/delete-affiliation-type',
1407
+ method: 'GET',
1408
+ url: '/api/merchant-service/product-groups',
523
1409
  query: {
524
- affiliationTypeId: data.affiliationTypeId
1410
+ Sorting: data.sorting,
1411
+ SkipCount: data.skipCount,
1412
+ MaxResultCount: data.maxResultCount
525
1413
  },
526
1414
  errors: {
527
1415
  400: 'Bad Request',
@@ -537,18 +1425,19 @@ export class MerchantService {
537
1425
  /**
538
1426
  * @param data The data for the request.
539
1427
  * @param data.organizationId
540
- * @param data.includeSubCompanies
1428
+ * @param data.requestBody
541
1429
  * @returns unknown Success
542
1430
  * @throws ApiError
543
1431
  */
544
- public deleteApiMerchantServiceMerchantsDeleteOrganization(data: DeleteApiMerchantServiceMerchantsDeleteOrganizationData = {}): CancelablePromise<DeleteApiMerchantServiceMerchantsDeleteOrganizationResponse> {
1432
+ public postApiMerchantServiceProductGroups(data: PostApiMerchantServiceProductGroupsData = {}): CancelablePromise<PostApiMerchantServiceProductGroupsResponse> {
545
1433
  return this.httpRequest.request({
546
- method: 'DELETE',
547
- url: '/api/merchant-service/merchants/delete-organization',
1434
+ method: 'POST',
1435
+ url: '/api/merchant-service/product-groups',
548
1436
  query: {
549
- organizationId: data.organizationId,
550
- includeSubCompanies: data.includeSubCompanies
1437
+ organizationId: data.organizationId
551
1438
  },
1439
+ body: data.requestBody,
1440
+ mediaType: 'application/json',
552
1441
  errors: {
553
1442
  400: 'Bad Request',
554
1443
  401: 'Unauthorized',
@@ -562,17 +1451,16 @@ export class MerchantService {
562
1451
 
563
1452
  /**
564
1453
  * @param data The data for the request.
565
- * @param data.individualId
1454
+ * @param data.requestBody
566
1455
  * @returns unknown Success
567
1456
  * @throws ApiError
568
1457
  */
569
- public deleteApiMerchantServiceMerchantsDeleteIndividual(data: DeleteApiMerchantServiceMerchantsDeleteIndividualData = {}): CancelablePromise<DeleteApiMerchantServiceMerchantsDeleteIndividualResponse> {
1458
+ public putApiMerchantServiceProductGroups(data: PutApiMerchantServiceProductGroupsData = {}): CancelablePromise<PutApiMerchantServiceProductGroupsResponse> {
570
1459
  return this.httpRequest.request({
571
- method: 'DELETE',
572
- url: '/api/merchant-service/merchants/delete-individual',
573
- query: {
574
- individualId: data.individualId
575
- },
1460
+ method: 'PUT',
1461
+ url: '/api/merchant-service/product-groups',
1462
+ body: data.requestBody,
1463
+ mediaType: 'application/json',
576
1464
  errors: {
577
1465
  400: 'Bad Request',
578
1466
  401: 'Unauthorized',
@@ -586,16 +1474,16 @@ export class MerchantService {
586
1474
 
587
1475
  /**
588
1476
  * @param data The data for the request.
589
- * @param data.productGroupId
1477
+ * @param data.id
590
1478
  * @returns unknown Success
591
1479
  * @throws ApiError
592
1480
  */
593
- public deleteApiMerchantServiceMerchantsDeleteProductGroup(data: DeleteApiMerchantServiceMerchantsDeleteProductGroupData = {}): CancelablePromise<DeleteApiMerchantServiceMerchantsDeleteProductGroupResponse> {
1481
+ public deleteApiMerchantServiceProductGroups(data: DeleteApiMerchantServiceProductGroupsData = {}): CancelablePromise<DeleteApiMerchantServiceProductGroupsResponse> {
594
1482
  return this.httpRequest.request({
595
1483
  method: 'DELETE',
596
- url: '/api/merchant-service/merchants/delete-product-group',
1484
+ url: '/api/merchant-service/product-groups',
597
1485
  query: {
598
- productGroupId: data.productGroupId
1486
+ id: data.id
599
1487
  },
600
1488
  errors: {
601
1489
  400: 'Bad Request',
@@ -608,18 +1496,23 @@ export class MerchantService {
608
1496
  });
609
1497
  }
610
1498
 
1499
+ }
1500
+
1501
+ export class TelephoneTypeService {
1502
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
1503
+
611
1504
  /**
612
1505
  * @param data The data for the request.
613
- * @param data.telephoneId
1506
+ * @param data.id
614
1507
  * @returns unknown Success
615
1508
  * @throws ApiError
616
1509
  */
617
- public deleteApiMerchantServiceMerchantsDeleteTelephone(data: DeleteApiMerchantServiceMerchantsDeleteTelephoneData = {}): CancelablePromise<DeleteApiMerchantServiceMerchantsDeleteTelephoneResponse> {
1510
+ public getApiMerchantServiceTelephoneTypesById(data: GetApiMerchantServiceTelephoneTypesByIdData): CancelablePromise<GetApiMerchantServiceTelephoneTypesByIdResponse> {
618
1511
  return this.httpRequest.request({
619
- method: 'DELETE',
620
- url: '/api/merchant-service/merchants/delete-telephone',
621
- query: {
622
- telephoneId: data.telephoneId
1512
+ method: 'GET',
1513
+ url: '/api/merchant-service/telephone-types/{id}',
1514
+ path: {
1515
+ id: data.id
623
1516
  },
624
1517
  errors: {
625
1518
  400: 'Bad Request',
@@ -634,16 +1527,20 @@ export class MerchantService {
634
1527
 
635
1528
  /**
636
1529
  * @param data The data for the request.
637
- * @param data.addressId
1530
+ * @param data.sorting
1531
+ * @param data.skipCount
1532
+ * @param data.maxResultCount
638
1533
  * @returns unknown Success
639
1534
  * @throws ApiError
640
1535
  */
641
- public deleteApiMerchantServiceMerchantsDeleteAddress(data: DeleteApiMerchantServiceMerchantsDeleteAddressData = {}): CancelablePromise<DeleteApiMerchantServiceMerchantsDeleteAddressResponse> {
1536
+ public getApiMerchantServiceTelephoneTypes(data: GetApiMerchantServiceTelephoneTypesData = {}): CancelablePromise<GetApiMerchantServiceTelephoneTypesResponse> {
642
1537
  return this.httpRequest.request({
643
- method: 'DELETE',
644
- url: '/api/merchant-service/merchants/delete-address',
1538
+ method: 'GET',
1539
+ url: '/api/merchant-service/telephone-types',
645
1540
  query: {
646
- addressId: data.addressId
1541
+ Sorting: data.sorting,
1542
+ SkipCount: data.skipCount,
1543
+ MaxResultCount: data.maxResultCount
647
1544
  },
648
1545
  errors: {
649
1546
  400: 'Bad Request',
@@ -658,17 +1555,16 @@ export class MerchantService {
658
1555
 
659
1556
  /**
660
1557
  * @param data The data for the request.
661
- * @param data.emailId
1558
+ * @param data.requestBody
662
1559
  * @returns unknown Success
663
1560
  * @throws ApiError
664
1561
  */
665
- public deleteApiMerchantServiceMerchantsDeleteEmail(data: DeleteApiMerchantServiceMerchantsDeleteEmailData = {}): CancelablePromise<DeleteApiMerchantServiceMerchantsDeleteEmailResponse> {
1562
+ public putApiMerchantServiceTelephoneTypes(data: PutApiMerchantServiceTelephoneTypesData = {}): CancelablePromise<PutApiMerchantServiceTelephoneTypesResponse> {
666
1563
  return this.httpRequest.request({
667
- method: 'DELETE',
668
- url: '/api/merchant-service/merchants/delete-email',
669
- query: {
670
- emailId: data.emailId
671
- },
1564
+ method: 'PUT',
1565
+ url: '/api/merchant-service/telephone-types',
1566
+ body: data.requestBody,
1567
+ mediaType: 'application/json',
672
1568
  errors: {
673
1569
  400: 'Bad Request',
674
1570
  401: 'Unauthorized',
@@ -682,16 +1578,16 @@ export class MerchantService {
682
1578
 
683
1579
  /**
684
1580
  * @param data The data for the request.
685
- * @param data.personalSummaryId
1581
+ * @param data.id
686
1582
  * @returns unknown Success
687
1583
  * @throws ApiError
688
1584
  */
689
- public deleteApiMerchantServiceMerchantsDeletePersonalSummary(data: DeleteApiMerchantServiceMerchantsDeletePersonalSummaryData = {}): CancelablePromise<DeleteApiMerchantServiceMerchantsDeletePersonalSummaryResponse> {
1585
+ public deleteApiMerchantServiceTelephoneTypes(data: DeleteApiMerchantServiceTelephoneTypesData = {}): CancelablePromise<DeleteApiMerchantServiceTelephoneTypesResponse> {
690
1586
  return this.httpRequest.request({
691
1587
  method: 'DELETE',
692
- url: '/api/merchant-service/merchants/delete-personal-summary',
1588
+ url: '/api/merchant-service/telephone-types',
693
1589
  query: {
694
- personalSummaryId: data.personalSummaryId
1590
+ id: data.id
695
1591
  },
696
1592
  errors: {
697
1593
  400: 'Bad Request',