@ayasofyazilim/saas 0.0.18 → 0.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BackerService/BackerServiceClient.ts +6 -0
- package/BackerService/schemas.gen.ts +3652 -759
- package/BackerService/services.gen.ts +610 -13
- package/BackerService/types.gen.ts +9782 -1823
- package/MerchantService/schemas.gen.ts +6386 -1236
- package/MerchantService/services.gen.ts +369 -23
- package/MerchantService/types.gen.ts +8370 -3337
- package/ProjectService/ProjectServiceClient.ts +47 -50
- package/ProjectService/schemas.gen.ts +4425 -4546
- package/ProjectService/services.gen.ts +460 -583
- package/ProjectService/types.gen.ts +4488 -5112
- package/SettingService/SettingServiceClient.ts +53 -53
- package/SettingService/services.gen.ts +316 -316
- package/package.json +1 -1
|
@@ -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, PostApiMerchantServiceMerchantsAddEntityInformationTypeData, PostApiMerchantServiceMerchantsAddEntityInformationTypeResponse, PostApiMerchantServiceMerchantsAddOrganizationData, PostApiMerchantServiceMerchantsAddOrganizationResponse, PostApiMerchantServiceMerchantsAddSubOrganizationData, PostApiMerchantServiceMerchantsAddSubOrganizationResponse,
|
|
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';
|
|
6
6
|
|
|
7
7
|
export class AbpApiDefinitionService {
|
|
8
8
|
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
@@ -96,6 +96,56 @@ export class AbpApplicationLocalizationService {
|
|
|
96
96
|
export class MerchantService {
|
|
97
97
|
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
98
98
|
|
|
99
|
+
/**
|
|
100
|
+
* @param data The data for the request.
|
|
101
|
+
* @param data.id
|
|
102
|
+
* @returns unknown Success
|
|
103
|
+
* @throws ApiError
|
|
104
|
+
*/
|
|
105
|
+
public getApiMerchantServiceMerchantsDetailById(data: GetApiMerchantServiceMerchantsDetailByIdData): CancelablePromise<GetApiMerchantServiceMerchantsDetailByIdResponse> {
|
|
106
|
+
return this.httpRequest.request({
|
|
107
|
+
method: 'GET',
|
|
108
|
+
url: '/api/merchant-service/merchants/detail/{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.skipCount
|
|
126
|
+
* @param data.maxResultCount
|
|
127
|
+
* @returns unknown Success
|
|
128
|
+
* @throws ApiError
|
|
129
|
+
*/
|
|
130
|
+
public getApiMerchantServiceMerchantsDetail(data: GetApiMerchantServiceMerchantsDetailData = {}): CancelablePromise<GetApiMerchantServiceMerchantsDetailResponse> {
|
|
131
|
+
return this.httpRequest.request({
|
|
132
|
+
method: 'GET',
|
|
133
|
+
url: '/api/merchant-service/merchants/detail',
|
|
134
|
+
query: {
|
|
135
|
+
SkipCount: data.skipCount,
|
|
136
|
+
MaxResultCount: data.maxResultCount
|
|
137
|
+
},
|
|
138
|
+
errors: {
|
|
139
|
+
400: 'Bad Request',
|
|
140
|
+
401: 'Unauthorized',
|
|
141
|
+
403: 'Forbidden',
|
|
142
|
+
404: 'Not Found',
|
|
143
|
+
500: 'Server Error',
|
|
144
|
+
501: 'Server Error'
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
|
|
99
149
|
/**
|
|
100
150
|
* @param data The data for the request.
|
|
101
151
|
* @param data.merchantId
|
|
@@ -123,6 +173,33 @@ export class MerchantService {
|
|
|
123
173
|
});
|
|
124
174
|
}
|
|
125
175
|
|
|
176
|
+
/**
|
|
177
|
+
* @param data The data for the request.
|
|
178
|
+
* @param data.merchantId
|
|
179
|
+
* @param data.requestBody
|
|
180
|
+
* @returns unknown Success
|
|
181
|
+
* @throws ApiError
|
|
182
|
+
*/
|
|
183
|
+
public postApiMerchantServiceMerchantsAddAffiliationType(data: PostApiMerchantServiceMerchantsAddAffiliationTypeData = {}): CancelablePromise<PostApiMerchantServiceMerchantsAddAffiliationTypeResponse> {
|
|
184
|
+
return this.httpRequest.request({
|
|
185
|
+
method: 'POST',
|
|
186
|
+
url: '/api/merchant-service/merchants/add-affiliation-type',
|
|
187
|
+
query: {
|
|
188
|
+
merchantId: data.merchantId
|
|
189
|
+
},
|
|
190
|
+
body: data.requestBody,
|
|
191
|
+
mediaType: 'application/json',
|
|
192
|
+
errors: {
|
|
193
|
+
400: 'Bad Request',
|
|
194
|
+
401: 'Unauthorized',
|
|
195
|
+
403: 'Forbidden',
|
|
196
|
+
404: 'Not Found',
|
|
197
|
+
500: 'Server Error',
|
|
198
|
+
501: 'Server Error'
|
|
199
|
+
}
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
|
|
126
203
|
/**
|
|
127
204
|
* @param data The data for the request.
|
|
128
205
|
* @param data.entityInformationTypeId
|
|
@@ -152,7 +229,7 @@ export class MerchantService {
|
|
|
152
229
|
|
|
153
230
|
/**
|
|
154
231
|
* @param data The data for the request.
|
|
155
|
-
* @param data.
|
|
232
|
+
* @param data.parentOrganizationId
|
|
156
233
|
* @param data.requestBody
|
|
157
234
|
* @returns unknown Success
|
|
158
235
|
* @throws ApiError
|
|
@@ -161,6 +238,33 @@ export class MerchantService {
|
|
|
161
238
|
return this.httpRequest.request({
|
|
162
239
|
method: 'POST',
|
|
163
240
|
url: '/api/merchant-service/merchants/add-sub-organization',
|
|
241
|
+
query: {
|
|
242
|
+
parentOrganizationId: data.parentOrganizationId
|
|
243
|
+
},
|
|
244
|
+
body: data.requestBody,
|
|
245
|
+
mediaType: 'application/json',
|
|
246
|
+
errors: {
|
|
247
|
+
400: 'Bad Request',
|
|
248
|
+
401: 'Unauthorized',
|
|
249
|
+
403: 'Forbidden',
|
|
250
|
+
404: 'Not Found',
|
|
251
|
+
500: 'Server Error',
|
|
252
|
+
501: 'Server Error'
|
|
253
|
+
}
|
|
254
|
+
});
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* @param data The data for the request.
|
|
259
|
+
* @param data.entityInformationTypeId
|
|
260
|
+
* @param data.requestBody
|
|
261
|
+
* @returns unknown Success
|
|
262
|
+
* @throws ApiError
|
|
263
|
+
*/
|
|
264
|
+
public postApiMerchantServiceMerchantsAddIndividual(data: PostApiMerchantServiceMerchantsAddIndividualData = {}): CancelablePromise<PostApiMerchantServiceMerchantsAddIndividualResponse> {
|
|
265
|
+
return this.httpRequest.request({
|
|
266
|
+
method: 'POST',
|
|
267
|
+
url: '/api/merchant-service/merchants/add-individual',
|
|
164
268
|
query: {
|
|
165
269
|
entityInformationTypeId: data.entityInformationTypeId
|
|
166
270
|
},
|
|
@@ -184,10 +288,10 @@ export class MerchantService {
|
|
|
184
288
|
* @returns unknown Success
|
|
185
289
|
* @throws ApiError
|
|
186
290
|
*/
|
|
187
|
-
public
|
|
291
|
+
public postApiMerchantServiceMerchantsAddTelephone(data: PostApiMerchantServiceMerchantsAddTelephoneData = {}): CancelablePromise<PostApiMerchantServiceMerchantsAddTelephoneResponse> {
|
|
188
292
|
return this.httpRequest.request({
|
|
189
293
|
method: 'POST',
|
|
190
|
-
url: '/api/merchant-service/merchants/add-
|
|
294
|
+
url: '/api/merchant-service/merchants/add-telephone',
|
|
191
295
|
query: {
|
|
192
296
|
contactInformationTypeId: data.contactInformationTypeId
|
|
193
297
|
},
|
|
@@ -211,10 +315,10 @@ export class MerchantService {
|
|
|
211
315
|
* @returns unknown Success
|
|
212
316
|
* @throws ApiError
|
|
213
317
|
*/
|
|
214
|
-
public
|
|
318
|
+
public postApiMerchantServiceMerchantsAddAddress(data: PostApiMerchantServiceMerchantsAddAddressData = {}): CancelablePromise<PostApiMerchantServiceMerchantsAddAddressResponse> {
|
|
215
319
|
return this.httpRequest.request({
|
|
216
320
|
method: 'POST',
|
|
217
|
-
url: '/api/merchant-service/merchants/add-
|
|
321
|
+
url: '/api/merchant-service/merchants/add-address',
|
|
218
322
|
query: {
|
|
219
323
|
contactInformationTypeId: data.contactInformationTypeId
|
|
220
324
|
},
|
|
@@ -238,10 +342,10 @@ export class MerchantService {
|
|
|
238
342
|
* @returns unknown Success
|
|
239
343
|
* @throws ApiError
|
|
240
344
|
*/
|
|
241
|
-
public
|
|
345
|
+
public postApiMerchantServiceMerchantsAddEmail(data: PostApiMerchantServiceMerchantsAddEmailData = {}): CancelablePromise<PostApiMerchantServiceMerchantsAddEmailResponse> {
|
|
242
346
|
return this.httpRequest.request({
|
|
243
347
|
method: 'POST',
|
|
244
|
-
url: '/api/merchant-service/merchants/add-
|
|
348
|
+
url: '/api/merchant-service/merchants/add-email',
|
|
245
349
|
query: {
|
|
246
350
|
contactInformationTypeId: data.contactInformationTypeId
|
|
247
351
|
},
|
|
@@ -258,6 +362,33 @@ export class MerchantService {
|
|
|
258
362
|
});
|
|
259
363
|
}
|
|
260
364
|
|
|
365
|
+
/**
|
|
366
|
+
* @param data The data for the request.
|
|
367
|
+
* @param data.individualId
|
|
368
|
+
* @param data.requestBody
|
|
369
|
+
* @returns unknown Success
|
|
370
|
+
* @throws ApiError
|
|
371
|
+
*/
|
|
372
|
+
public postApiMerchantServiceMerchantsIndividualAddPersonalSummary(data: PostApiMerchantServiceMerchantsIndividualAddPersonalSummaryData = {}): CancelablePromise<PostApiMerchantServiceMerchantsIndividualAddPersonalSummaryResponse> {
|
|
373
|
+
return this.httpRequest.request({
|
|
374
|
+
method: 'POST',
|
|
375
|
+
url: '/api/merchant-service/merchants/individual/add-personal-summary',
|
|
376
|
+
query: {
|
|
377
|
+
individualId: data.individualId
|
|
378
|
+
},
|
|
379
|
+
body: data.requestBody,
|
|
380
|
+
mediaType: 'application/json',
|
|
381
|
+
errors: {
|
|
382
|
+
400: 'Bad Request',
|
|
383
|
+
401: 'Unauthorized',
|
|
384
|
+
403: 'Forbidden',
|
|
385
|
+
404: 'Not Found',
|
|
386
|
+
500: 'Server Error',
|
|
387
|
+
501: 'Server Error'
|
|
388
|
+
}
|
|
389
|
+
});
|
|
390
|
+
}
|
|
391
|
+
|
|
261
392
|
/**
|
|
262
393
|
* @param data The data for the request.
|
|
263
394
|
* @param data.organizationId
|
|
@@ -265,10 +396,10 @@ export class MerchantService {
|
|
|
265
396
|
* @returns unknown Success
|
|
266
397
|
* @throws ApiError
|
|
267
398
|
*/
|
|
268
|
-
public
|
|
399
|
+
public postApiMerchantServiceMerchantsOrganizationAddProductGroup(data: PostApiMerchantServiceMerchantsOrganizationAddProductGroupData = {}): CancelablePromise<PostApiMerchantServiceMerchantsOrganizationAddProductGroupResponse> {
|
|
269
400
|
return this.httpRequest.request({
|
|
270
401
|
method: 'POST',
|
|
271
|
-
url: '/api/merchant-service/merchants/add-product-group',
|
|
402
|
+
url: '/api/merchant-service/merchants/organization/add-product-group',
|
|
272
403
|
query: {
|
|
273
404
|
organizationId: data.organizationId
|
|
274
405
|
},
|
|
@@ -310,16 +441,39 @@ export class MerchantService {
|
|
|
310
441
|
|
|
311
442
|
/**
|
|
312
443
|
* @param data The data for the request.
|
|
313
|
-
* @param data.
|
|
444
|
+
* @param data.requestBody
|
|
314
445
|
* @returns unknown Success
|
|
315
446
|
* @throws ApiError
|
|
316
447
|
*/
|
|
317
|
-
public
|
|
448
|
+
public putApiMerchantServiceMerchantsUpdateMerchantWithComponents(data: PutApiMerchantServiceMerchantsUpdateMerchantWithComponentsData = {}): CancelablePromise<PutApiMerchantServiceMerchantsUpdateMerchantWithComponentsResponse> {
|
|
318
449
|
return this.httpRequest.request({
|
|
319
|
-
method: '
|
|
320
|
-
url: '/api/merchant-service/merchants/
|
|
321
|
-
|
|
322
|
-
|
|
450
|
+
method: 'PUT',
|
|
451
|
+
url: '/api/merchant-service/merchants/update-merchant-with-components',
|
|
452
|
+
body: data.requestBody,
|
|
453
|
+
mediaType: 'application/json',
|
|
454
|
+
errors: {
|
|
455
|
+
400: 'Bad Request',
|
|
456
|
+
401: 'Unauthorized',
|
|
457
|
+
403: 'Forbidden',
|
|
458
|
+
404: 'Not Found',
|
|
459
|
+
500: 'Server Error',
|
|
460
|
+
501: 'Server Error'
|
|
461
|
+
}
|
|
462
|
+
});
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* @param data The data for the request.
|
|
467
|
+
* @param data.merchantId
|
|
468
|
+
* @returns unknown Success
|
|
469
|
+
* @throws ApiError
|
|
470
|
+
*/
|
|
471
|
+
public deleteApiMerchantServiceMerchantsDeleteMerchantWithComponents(data: DeleteApiMerchantServiceMerchantsDeleteMerchantWithComponentsData = {}): CancelablePromise<DeleteApiMerchantServiceMerchantsDeleteMerchantWithComponentsResponse> {
|
|
472
|
+
return this.httpRequest.request({
|
|
473
|
+
method: 'DELETE',
|
|
474
|
+
url: '/api/merchant-service/merchants/delete-merchant-with-components',
|
|
475
|
+
query: {
|
|
476
|
+
merchantId: data.merchantId
|
|
323
477
|
},
|
|
324
478
|
errors: {
|
|
325
479
|
400: 'Bad Request',
|
|
@@ -334,18 +488,210 @@ export class MerchantService {
|
|
|
334
488
|
|
|
335
489
|
/**
|
|
336
490
|
* @param data The data for the request.
|
|
337
|
-
* @param data.
|
|
338
|
-
* @param data.maxResultCount
|
|
491
|
+
* @param data.entityInformationTypeId
|
|
339
492
|
* @returns unknown Success
|
|
340
493
|
* @throws ApiError
|
|
341
494
|
*/
|
|
342
|
-
public
|
|
495
|
+
public deleteApiMerchantServiceMerchantsDeleteEntityInformationType(data: DeleteApiMerchantServiceMerchantsDeleteEntityInformationTypeData = {}): CancelablePromise<DeleteApiMerchantServiceMerchantsDeleteEntityInformationTypeResponse> {
|
|
343
496
|
return this.httpRequest.request({
|
|
344
|
-
method: '
|
|
345
|
-
url: '/api/merchant-service/merchants/
|
|
497
|
+
method: 'DELETE',
|
|
498
|
+
url: '/api/merchant-service/merchants/delete-entity-information-type',
|
|
346
499
|
query: {
|
|
347
|
-
|
|
348
|
-
|
|
500
|
+
entityInformationTypeId: data.entityInformationTypeId
|
|
501
|
+
},
|
|
502
|
+
errors: {
|
|
503
|
+
400: 'Bad Request',
|
|
504
|
+
401: 'Unauthorized',
|
|
505
|
+
403: 'Forbidden',
|
|
506
|
+
404: 'Not Found',
|
|
507
|
+
500: 'Server Error',
|
|
508
|
+
501: 'Server Error'
|
|
509
|
+
}
|
|
510
|
+
});
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
* @param data The data for the request.
|
|
515
|
+
* @param data.affiliationTypeId
|
|
516
|
+
* @returns unknown Success
|
|
517
|
+
* @throws ApiError
|
|
518
|
+
*/
|
|
519
|
+
public deleteApiMerchantServiceMerchantsDeleteAffiliationType(data: DeleteApiMerchantServiceMerchantsDeleteAffiliationTypeData = {}): CancelablePromise<DeleteApiMerchantServiceMerchantsDeleteAffiliationTypeResponse> {
|
|
520
|
+
return this.httpRequest.request({
|
|
521
|
+
method: 'DELETE',
|
|
522
|
+
url: '/api/merchant-service/merchants/delete-affiliation-type',
|
|
523
|
+
query: {
|
|
524
|
+
affiliationTypeId: data.affiliationTypeId
|
|
525
|
+
},
|
|
526
|
+
errors: {
|
|
527
|
+
400: 'Bad Request',
|
|
528
|
+
401: 'Unauthorized',
|
|
529
|
+
403: 'Forbidden',
|
|
530
|
+
404: 'Not Found',
|
|
531
|
+
500: 'Server Error',
|
|
532
|
+
501: 'Server Error'
|
|
533
|
+
}
|
|
534
|
+
});
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* @param data The data for the request.
|
|
539
|
+
* @param data.organizationId
|
|
540
|
+
* @param data.includeSubCompanies
|
|
541
|
+
* @returns unknown Success
|
|
542
|
+
* @throws ApiError
|
|
543
|
+
*/
|
|
544
|
+
public deleteApiMerchantServiceMerchantsDeleteOrganization(data: DeleteApiMerchantServiceMerchantsDeleteOrganizationData = {}): CancelablePromise<DeleteApiMerchantServiceMerchantsDeleteOrganizationResponse> {
|
|
545
|
+
return this.httpRequest.request({
|
|
546
|
+
method: 'DELETE',
|
|
547
|
+
url: '/api/merchant-service/merchants/delete-organization',
|
|
548
|
+
query: {
|
|
549
|
+
organizationId: data.organizationId,
|
|
550
|
+
includeSubCompanies: data.includeSubCompanies
|
|
551
|
+
},
|
|
552
|
+
errors: {
|
|
553
|
+
400: 'Bad Request',
|
|
554
|
+
401: 'Unauthorized',
|
|
555
|
+
403: 'Forbidden',
|
|
556
|
+
404: 'Not Found',
|
|
557
|
+
500: 'Server Error',
|
|
558
|
+
501: 'Server Error'
|
|
559
|
+
}
|
|
560
|
+
});
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
/**
|
|
564
|
+
* @param data The data for the request.
|
|
565
|
+
* @param data.individualId
|
|
566
|
+
* @returns unknown Success
|
|
567
|
+
* @throws ApiError
|
|
568
|
+
*/
|
|
569
|
+
public deleteApiMerchantServiceMerchantsDeleteIndividual(data: DeleteApiMerchantServiceMerchantsDeleteIndividualData = {}): CancelablePromise<DeleteApiMerchantServiceMerchantsDeleteIndividualResponse> {
|
|
570
|
+
return this.httpRequest.request({
|
|
571
|
+
method: 'DELETE',
|
|
572
|
+
url: '/api/merchant-service/merchants/delete-individual',
|
|
573
|
+
query: {
|
|
574
|
+
individualId: data.individualId
|
|
575
|
+
},
|
|
576
|
+
errors: {
|
|
577
|
+
400: 'Bad Request',
|
|
578
|
+
401: 'Unauthorized',
|
|
579
|
+
403: 'Forbidden',
|
|
580
|
+
404: 'Not Found',
|
|
581
|
+
500: 'Server Error',
|
|
582
|
+
501: 'Server Error'
|
|
583
|
+
}
|
|
584
|
+
});
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* @param data The data for the request.
|
|
589
|
+
* @param data.productGroupId
|
|
590
|
+
* @returns unknown Success
|
|
591
|
+
* @throws ApiError
|
|
592
|
+
*/
|
|
593
|
+
public deleteApiMerchantServiceMerchantsDeleteProductGroup(data: DeleteApiMerchantServiceMerchantsDeleteProductGroupData = {}): CancelablePromise<DeleteApiMerchantServiceMerchantsDeleteProductGroupResponse> {
|
|
594
|
+
return this.httpRequest.request({
|
|
595
|
+
method: 'DELETE',
|
|
596
|
+
url: '/api/merchant-service/merchants/delete-product-group',
|
|
597
|
+
query: {
|
|
598
|
+
productGroupId: data.productGroupId
|
|
599
|
+
},
|
|
600
|
+
errors: {
|
|
601
|
+
400: 'Bad Request',
|
|
602
|
+
401: 'Unauthorized',
|
|
603
|
+
403: 'Forbidden',
|
|
604
|
+
404: 'Not Found',
|
|
605
|
+
500: 'Server Error',
|
|
606
|
+
501: 'Server Error'
|
|
607
|
+
}
|
|
608
|
+
});
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* @param data The data for the request.
|
|
613
|
+
* @param data.telephoneId
|
|
614
|
+
* @returns unknown Success
|
|
615
|
+
* @throws ApiError
|
|
616
|
+
*/
|
|
617
|
+
public deleteApiMerchantServiceMerchantsDeleteTelephone(data: DeleteApiMerchantServiceMerchantsDeleteTelephoneData = {}): CancelablePromise<DeleteApiMerchantServiceMerchantsDeleteTelephoneResponse> {
|
|
618
|
+
return this.httpRequest.request({
|
|
619
|
+
method: 'DELETE',
|
|
620
|
+
url: '/api/merchant-service/merchants/delete-telephone',
|
|
621
|
+
query: {
|
|
622
|
+
telephoneId: data.telephoneId
|
|
623
|
+
},
|
|
624
|
+
errors: {
|
|
625
|
+
400: 'Bad Request',
|
|
626
|
+
401: 'Unauthorized',
|
|
627
|
+
403: 'Forbidden',
|
|
628
|
+
404: 'Not Found',
|
|
629
|
+
500: 'Server Error',
|
|
630
|
+
501: 'Server Error'
|
|
631
|
+
}
|
|
632
|
+
});
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* @param data The data for the request.
|
|
637
|
+
* @param data.addressId
|
|
638
|
+
* @returns unknown Success
|
|
639
|
+
* @throws ApiError
|
|
640
|
+
*/
|
|
641
|
+
public deleteApiMerchantServiceMerchantsDeleteAddress(data: DeleteApiMerchantServiceMerchantsDeleteAddressData = {}): CancelablePromise<DeleteApiMerchantServiceMerchantsDeleteAddressResponse> {
|
|
642
|
+
return this.httpRequest.request({
|
|
643
|
+
method: 'DELETE',
|
|
644
|
+
url: '/api/merchant-service/merchants/delete-address',
|
|
645
|
+
query: {
|
|
646
|
+
addressId: data.addressId
|
|
647
|
+
},
|
|
648
|
+
errors: {
|
|
649
|
+
400: 'Bad Request',
|
|
650
|
+
401: 'Unauthorized',
|
|
651
|
+
403: 'Forbidden',
|
|
652
|
+
404: 'Not Found',
|
|
653
|
+
500: 'Server Error',
|
|
654
|
+
501: 'Server Error'
|
|
655
|
+
}
|
|
656
|
+
});
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* @param data The data for the request.
|
|
661
|
+
* @param data.emailId
|
|
662
|
+
* @returns unknown Success
|
|
663
|
+
* @throws ApiError
|
|
664
|
+
*/
|
|
665
|
+
public deleteApiMerchantServiceMerchantsDeleteEmail(data: DeleteApiMerchantServiceMerchantsDeleteEmailData = {}): CancelablePromise<DeleteApiMerchantServiceMerchantsDeleteEmailResponse> {
|
|
666
|
+
return this.httpRequest.request({
|
|
667
|
+
method: 'DELETE',
|
|
668
|
+
url: '/api/merchant-service/merchants/delete-email',
|
|
669
|
+
query: {
|
|
670
|
+
emailId: data.emailId
|
|
671
|
+
},
|
|
672
|
+
errors: {
|
|
673
|
+
400: 'Bad Request',
|
|
674
|
+
401: 'Unauthorized',
|
|
675
|
+
403: 'Forbidden',
|
|
676
|
+
404: 'Not Found',
|
|
677
|
+
500: 'Server Error',
|
|
678
|
+
501: 'Server Error'
|
|
679
|
+
}
|
|
680
|
+
});
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* @param data The data for the request.
|
|
685
|
+
* @param data.personalSummaryId
|
|
686
|
+
* @returns unknown Success
|
|
687
|
+
* @throws ApiError
|
|
688
|
+
*/
|
|
689
|
+
public deleteApiMerchantServiceMerchantsDeletePersonalSummary(data: DeleteApiMerchantServiceMerchantsDeletePersonalSummaryData = {}): CancelablePromise<DeleteApiMerchantServiceMerchantsDeletePersonalSummaryResponse> {
|
|
690
|
+
return this.httpRequest.request({
|
|
691
|
+
method: 'DELETE',
|
|
692
|
+
url: '/api/merchant-service/merchants/delete-personal-summary',
|
|
693
|
+
query: {
|
|
694
|
+
personalSummaryId: data.personalSummaryId
|
|
349
695
|
},
|
|
350
696
|
errors: {
|
|
351
697
|
400: 'Bad Request',
|