@ayasofyazilim/saas 0.0.25 → 0.0.26
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/AccountService/AccountServiceClient.ts +65 -65
- package/AccountService/schemas.gen.ts +5103 -5103
- package/AccountService/services.gen.ts +1452 -1452
- package/AccountService/types.gen.ts +9896 -9896
- package/AdministrationService/AdministrationServiceClient.ts +74 -74
- package/AdministrationService/schemas.gen.ts +5897 -5897
- package/AdministrationService/services.gen.ts +1332 -1332
- package/AdministrationService/types.gen.ts +9024 -9024
- package/BackerService/BackerServiceClient.ts +50 -50
- package/BackerService/services.gen.ts +866 -866
- package/IdentityService/IdentityServiceClient.ts +77 -77
- package/IdentityService/schemas.gen.ts +6573 -6573
- package/IdentityService/services.gen.ts +2839 -2839
- package/IdentityService/types.gen.ts +17446 -17446
- package/MerchantService/MerchantServiceClient.ts +77 -77
- package/ProjectService/ProjectServiceClient.ts +47 -47
- package/ProjectService.json +2937 -2937
- package/SaasService/schemas.gen.ts +5278 -5278
- package/SaasService/services.gen.ts +1325 -1325
- package/SaasService/types.gen.ts +9052 -9052
- package/SettingService/SettingServiceClient.ts +9 -0
- package/SettingService/schemas.gen.ts +2033 -1524
- package/SettingService/services.gen.ts +472 -1
- package/SettingService/types.gen.ts +1862 -981
- package/generator.mjs +2 -2
- package/package.json +1 -1
- package/swagger.json +4794 -4794
|
@@ -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, GetApiSettingServiceCountrySettingsResponse, PostApiSettingServiceCountrySettingsResponse, GetApiSettingManagementEmailingResponse, PostApiSettingManagementEmailingData, PostApiSettingManagementEmailingResponse, PostApiSettingManagementEmailingSendTestEmailData, PostApiSettingManagementEmailingSendTestEmailResponse, GetApiSettingServiceSampleResponse, GetApiSettingServiceSampleAuthorizedResponse, GetApiSettingManagementTimezoneResponse, PostApiSettingManagementTimezoneData, PostApiSettingManagementTimezoneResponse, GetApiSettingManagementTimezoneTimezonesResponse } from './types.gen';
|
|
5
|
+
import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse, PostApiSettingServiceCountrySettingsForTenantData, PostApiSettingServiceCountrySettingsForTenantResponse, GetApiSettingServiceCountrySettingsResponse, PostApiSettingServiceCountrySettingsResponse, GetApiSettingManagementEmailingResponse, PostApiSettingManagementEmailingData, PostApiSettingManagementEmailingResponse, PostApiSettingManagementEmailingSendTestEmailData, PostApiSettingManagementEmailingSendTestEmailResponse, PostApiSettingServiceProductGroupTranslationData, PostApiSettingServiceProductGroupTranslationResponse, PostApiSettingServiceProductGroupData, PostApiSettingServiceProductGroupResponse, DeleteApiSettingServiceProductGroupData, DeleteApiSettingServiceProductGroupResponse, GetApiSettingServiceProductGroupData, GetApiSettingServiceProductGroupResponse, PutApiSettingServiceProductGroupData, PutApiSettingServiceProductGroupResponse, GetApiSettingServiceProductGroupByIdData, GetApiSettingServiceProductGroupByIdResponse, GetApiSettingServiceProductGroupDetailByIdData, GetApiSettingServiceProductGroupDetailByIdResponse, PostApiSettingServiceProductGroupVatData, PostApiSettingServiceProductGroupVatResponse, DeleteApiSettingServiceProductGroupVatData, DeleteApiSettingServiceProductGroupVatResponse, GetApiSettingServiceProductGroupVatData, GetApiSettingServiceProductGroupVatResponse, PutApiSettingServiceProductGroupVatData, PutApiSettingServiceProductGroupVatResponse, GetApiSettingServiceProductGroupVatByIdData, GetApiSettingServiceProductGroupVatByIdResponse, GetApiSettingServiceSampleResponse, GetApiSettingServiceSampleAuthorizedResponse, GetApiSettingManagementTimezoneResponse, PostApiSettingManagementTimezoneData, PostApiSettingManagementTimezoneResponse, GetApiSettingManagementTimezoneTimezonesResponse, PostApiSettingServiceVatData, PostApiSettingServiceVatResponse, DeleteApiSettingServiceVatData, DeleteApiSettingServiceVatResponse, GetApiSettingServiceVatData, GetApiSettingServiceVatResponse, PutApiSettingServiceVatData, PutApiSettingServiceVatResponse, GetApiSettingServiceVatByIdData, GetApiSettingServiceVatByIdResponse } from './types.gen';
|
|
6
6
|
|
|
7
7
|
export class AbpApiDefinitionService {
|
|
8
8
|
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
@@ -96,6 +96,29 @@ export class AbpApplicationLocalizationService {
|
|
|
96
96
|
export class CountrySettingService {
|
|
97
97
|
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
98
98
|
|
|
99
|
+
/**
|
|
100
|
+
* @param data The data for the request.
|
|
101
|
+
* @param data.requestBody
|
|
102
|
+
* @returns unknown Success
|
|
103
|
+
* @throws ApiError
|
|
104
|
+
*/
|
|
105
|
+
public postApiSettingServiceCountrySettingsForTenant(data: PostApiSettingServiceCountrySettingsForTenantData = {}): CancelablePromise<PostApiSettingServiceCountrySettingsForTenantResponse> {
|
|
106
|
+
return this.httpRequest.request({
|
|
107
|
+
method: 'POST',
|
|
108
|
+
url: '/api/setting-service/country-settings/for-tenant',
|
|
109
|
+
body: data.requestBody,
|
|
110
|
+
mediaType: 'application/json',
|
|
111
|
+
errors: {
|
|
112
|
+
400: 'Bad Request',
|
|
113
|
+
401: 'Unauthorized',
|
|
114
|
+
403: 'Forbidden',
|
|
115
|
+
404: 'Not Found',
|
|
116
|
+
500: 'Server Error',
|
|
117
|
+
501: 'Server Error'
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
|
|
99
122
|
/**
|
|
100
123
|
* @returns UniRefund_SettingService_CountrySettings_CountrySettingDto Success
|
|
101
124
|
* @throws ApiError
|
|
@@ -206,6 +229,323 @@ export class EmailSettingsService {
|
|
|
206
229
|
|
|
207
230
|
}
|
|
208
231
|
|
|
232
|
+
export class ProductGroupService {
|
|
233
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* @param data The data for the request.
|
|
237
|
+
* @param data.id
|
|
238
|
+
* @param data.requestBody
|
|
239
|
+
* @returns unknown Success
|
|
240
|
+
* @throws ApiError
|
|
241
|
+
*/
|
|
242
|
+
public postApiSettingServiceProductGroupTranslation(data: PostApiSettingServiceProductGroupTranslationData = {}): CancelablePromise<PostApiSettingServiceProductGroupTranslationResponse> {
|
|
243
|
+
return this.httpRequest.request({
|
|
244
|
+
method: 'POST',
|
|
245
|
+
url: '/api/setting-service/product-group/translation',
|
|
246
|
+
query: {
|
|
247
|
+
id: data.id
|
|
248
|
+
},
|
|
249
|
+
body: data.requestBody,
|
|
250
|
+
mediaType: 'application/json',
|
|
251
|
+
errors: {
|
|
252
|
+
400: 'Bad Request',
|
|
253
|
+
401: 'Unauthorized',
|
|
254
|
+
403: 'Forbidden',
|
|
255
|
+
404: 'Not Found',
|
|
256
|
+
500: 'Server Error',
|
|
257
|
+
501: 'Server Error'
|
|
258
|
+
}
|
|
259
|
+
});
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* @param data The data for the request.
|
|
264
|
+
* @param data.requestBody
|
|
265
|
+
* @returns UniRefund_SettingService_ProductGroups_ProductGroupDto Success
|
|
266
|
+
* @throws ApiError
|
|
267
|
+
*/
|
|
268
|
+
public postApiSettingServiceProductGroup(data: PostApiSettingServiceProductGroupData = {}): CancelablePromise<PostApiSettingServiceProductGroupResponse> {
|
|
269
|
+
return this.httpRequest.request({
|
|
270
|
+
method: 'POST',
|
|
271
|
+
url: '/api/setting-service/product-group',
|
|
272
|
+
body: data.requestBody,
|
|
273
|
+
mediaType: 'application/json',
|
|
274
|
+
errors: {
|
|
275
|
+
400: 'Bad Request',
|
|
276
|
+
401: 'Unauthorized',
|
|
277
|
+
403: 'Forbidden',
|
|
278
|
+
404: 'Not Found',
|
|
279
|
+
500: 'Server Error',
|
|
280
|
+
501: 'Server Error'
|
|
281
|
+
}
|
|
282
|
+
});
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* @param data The data for the request.
|
|
287
|
+
* @param data.id
|
|
288
|
+
* @returns unknown Success
|
|
289
|
+
* @throws ApiError
|
|
290
|
+
*/
|
|
291
|
+
public deleteApiSettingServiceProductGroup(data: DeleteApiSettingServiceProductGroupData = {}): CancelablePromise<DeleteApiSettingServiceProductGroupResponse> {
|
|
292
|
+
return this.httpRequest.request({
|
|
293
|
+
method: 'DELETE',
|
|
294
|
+
url: '/api/setting-service/product-group',
|
|
295
|
+
query: {
|
|
296
|
+
id: data.id
|
|
297
|
+
},
|
|
298
|
+
errors: {
|
|
299
|
+
400: 'Bad Request',
|
|
300
|
+
401: 'Unauthorized',
|
|
301
|
+
403: 'Forbidden',
|
|
302
|
+
404: 'Not Found',
|
|
303
|
+
500: 'Server Error',
|
|
304
|
+
501: 'Server Error'
|
|
305
|
+
}
|
|
306
|
+
});
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* @param data The data for the request.
|
|
311
|
+
* @param data.sorting
|
|
312
|
+
* @param data.skipCount
|
|
313
|
+
* @param data.maxResultCount
|
|
314
|
+
* @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_SettingService_ProductGroups_ProductGroupDto__UniRefund_SettingService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
|
|
315
|
+
* @throws ApiError
|
|
316
|
+
*/
|
|
317
|
+
public getApiSettingServiceProductGroup(data: GetApiSettingServiceProductGroupData = {}): CancelablePromise<GetApiSettingServiceProductGroupResponse> {
|
|
318
|
+
return this.httpRequest.request({
|
|
319
|
+
method: 'GET',
|
|
320
|
+
url: '/api/setting-service/product-group',
|
|
321
|
+
query: {
|
|
322
|
+
Sorting: data.sorting,
|
|
323
|
+
SkipCount: data.skipCount,
|
|
324
|
+
MaxResultCount: data.maxResultCount
|
|
325
|
+
},
|
|
326
|
+
errors: {
|
|
327
|
+
400: 'Bad Request',
|
|
328
|
+
401: 'Unauthorized',
|
|
329
|
+
403: 'Forbidden',
|
|
330
|
+
404: 'Not Found',
|
|
331
|
+
500: 'Server Error',
|
|
332
|
+
501: 'Server Error'
|
|
333
|
+
}
|
|
334
|
+
});
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* @param data The data for the request.
|
|
339
|
+
* @param data.id
|
|
340
|
+
* @param data.requestBody
|
|
341
|
+
* @returns UniRefund_SettingService_ProductGroups_ProductGroupDto Success
|
|
342
|
+
* @throws ApiError
|
|
343
|
+
*/
|
|
344
|
+
public putApiSettingServiceProductGroup(data: PutApiSettingServiceProductGroupData = {}): CancelablePromise<PutApiSettingServiceProductGroupResponse> {
|
|
345
|
+
return this.httpRequest.request({
|
|
346
|
+
method: 'PUT',
|
|
347
|
+
url: '/api/setting-service/product-group',
|
|
348
|
+
query: {
|
|
349
|
+
id: data.id
|
|
350
|
+
},
|
|
351
|
+
body: data.requestBody,
|
|
352
|
+
mediaType: 'application/json',
|
|
353
|
+
errors: {
|
|
354
|
+
400: 'Bad Request',
|
|
355
|
+
401: 'Unauthorized',
|
|
356
|
+
403: 'Forbidden',
|
|
357
|
+
404: 'Not Found',
|
|
358
|
+
500: 'Server Error',
|
|
359
|
+
501: 'Server Error'
|
|
360
|
+
}
|
|
361
|
+
});
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* @param data The data for the request.
|
|
366
|
+
* @param data.id
|
|
367
|
+
* @returns UniRefund_SettingService_ProductGroups_ProductGroupDto Success
|
|
368
|
+
* @throws ApiError
|
|
369
|
+
*/
|
|
370
|
+
public getApiSettingServiceProductGroupById(data: GetApiSettingServiceProductGroupByIdData): CancelablePromise<GetApiSettingServiceProductGroupByIdResponse> {
|
|
371
|
+
return this.httpRequest.request({
|
|
372
|
+
method: 'GET',
|
|
373
|
+
url: '/api/setting-service/product-group/{id}',
|
|
374
|
+
path: {
|
|
375
|
+
id: data.id
|
|
376
|
+
},
|
|
377
|
+
errors: {
|
|
378
|
+
400: 'Bad Request',
|
|
379
|
+
401: 'Unauthorized',
|
|
380
|
+
403: 'Forbidden',
|
|
381
|
+
404: 'Not Found',
|
|
382
|
+
500: 'Server Error',
|
|
383
|
+
501: 'Server Error'
|
|
384
|
+
}
|
|
385
|
+
});
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* @param data The data for the request.
|
|
390
|
+
* @param data.id
|
|
391
|
+
* @param data.cultureName
|
|
392
|
+
* @returns UniRefund_SettingService_ProductGroups_ProductGroupDto Success
|
|
393
|
+
* @throws ApiError
|
|
394
|
+
*/
|
|
395
|
+
public getApiSettingServiceProductGroupDetailById(data: GetApiSettingServiceProductGroupDetailByIdData): CancelablePromise<GetApiSettingServiceProductGroupDetailByIdResponse> {
|
|
396
|
+
return this.httpRequest.request({
|
|
397
|
+
method: 'GET',
|
|
398
|
+
url: '/api/setting-service/product-group/detail/{id}',
|
|
399
|
+
path: {
|
|
400
|
+
id: data.id
|
|
401
|
+
},
|
|
402
|
+
query: {
|
|
403
|
+
cultureName: data.cultureName
|
|
404
|
+
},
|
|
405
|
+
errors: {
|
|
406
|
+
400: 'Bad Request',
|
|
407
|
+
401: 'Unauthorized',
|
|
408
|
+
403: 'Forbidden',
|
|
409
|
+
404: 'Not Found',
|
|
410
|
+
500: 'Server Error',
|
|
411
|
+
501: 'Server Error'
|
|
412
|
+
}
|
|
413
|
+
});
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
export class ProductGroupVatService {
|
|
419
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* @param data The data for the request.
|
|
423
|
+
* @param data.requestBody
|
|
424
|
+
* @returns UniRefund_SettingService_ProductGroupVats_ProductGroupVatDto Success
|
|
425
|
+
* @throws ApiError
|
|
426
|
+
*/
|
|
427
|
+
public postApiSettingServiceProductGroupVat(data: PostApiSettingServiceProductGroupVatData = {}): CancelablePromise<PostApiSettingServiceProductGroupVatResponse> {
|
|
428
|
+
return this.httpRequest.request({
|
|
429
|
+
method: 'POST',
|
|
430
|
+
url: '/api/setting-service/product-group-vat',
|
|
431
|
+
body: data.requestBody,
|
|
432
|
+
mediaType: 'application/json',
|
|
433
|
+
errors: {
|
|
434
|
+
400: 'Bad Request',
|
|
435
|
+
401: 'Unauthorized',
|
|
436
|
+
403: 'Forbidden',
|
|
437
|
+
404: 'Not Found',
|
|
438
|
+
500: 'Server Error',
|
|
439
|
+
501: 'Server Error'
|
|
440
|
+
}
|
|
441
|
+
});
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* @param data The data for the request.
|
|
446
|
+
* @param data.id
|
|
447
|
+
* @returns unknown Success
|
|
448
|
+
* @throws ApiError
|
|
449
|
+
*/
|
|
450
|
+
public deleteApiSettingServiceProductGroupVat(data: DeleteApiSettingServiceProductGroupVatData = {}): CancelablePromise<DeleteApiSettingServiceProductGroupVatResponse> {
|
|
451
|
+
return this.httpRequest.request({
|
|
452
|
+
method: 'DELETE',
|
|
453
|
+
url: '/api/setting-service/product-group-vat',
|
|
454
|
+
query: {
|
|
455
|
+
id: data.id
|
|
456
|
+
},
|
|
457
|
+
errors: {
|
|
458
|
+
400: 'Bad Request',
|
|
459
|
+
401: 'Unauthorized',
|
|
460
|
+
403: 'Forbidden',
|
|
461
|
+
404: 'Not Found',
|
|
462
|
+
500: 'Server Error',
|
|
463
|
+
501: 'Server Error'
|
|
464
|
+
}
|
|
465
|
+
});
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* @param data The data for the request.
|
|
470
|
+
* @param data.sorting
|
|
471
|
+
* @param data.skipCount
|
|
472
|
+
* @param data.maxResultCount
|
|
473
|
+
* @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_SettingService_ProductGroupVats_ProductGroupVatDto__UniRefund_SettingService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
|
|
474
|
+
* @throws ApiError
|
|
475
|
+
*/
|
|
476
|
+
public getApiSettingServiceProductGroupVat(data: GetApiSettingServiceProductGroupVatData = {}): CancelablePromise<GetApiSettingServiceProductGroupVatResponse> {
|
|
477
|
+
return this.httpRequest.request({
|
|
478
|
+
method: 'GET',
|
|
479
|
+
url: '/api/setting-service/product-group-vat',
|
|
480
|
+
query: {
|
|
481
|
+
Sorting: data.sorting,
|
|
482
|
+
SkipCount: data.skipCount,
|
|
483
|
+
MaxResultCount: data.maxResultCount
|
|
484
|
+
},
|
|
485
|
+
errors: {
|
|
486
|
+
400: 'Bad Request',
|
|
487
|
+
401: 'Unauthorized',
|
|
488
|
+
403: 'Forbidden',
|
|
489
|
+
404: 'Not Found',
|
|
490
|
+
500: 'Server Error',
|
|
491
|
+
501: 'Server Error'
|
|
492
|
+
}
|
|
493
|
+
});
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* @param data The data for the request.
|
|
498
|
+
* @param data.id
|
|
499
|
+
* @param data.requestBody
|
|
500
|
+
* @returns UniRefund_SettingService_ProductGroupVats_ProductGroupVatDto Success
|
|
501
|
+
* @throws ApiError
|
|
502
|
+
*/
|
|
503
|
+
public putApiSettingServiceProductGroupVat(data: PutApiSettingServiceProductGroupVatData = {}): CancelablePromise<PutApiSettingServiceProductGroupVatResponse> {
|
|
504
|
+
return this.httpRequest.request({
|
|
505
|
+
method: 'PUT',
|
|
506
|
+
url: '/api/setting-service/product-group-vat',
|
|
507
|
+
query: {
|
|
508
|
+
id: data.id
|
|
509
|
+
},
|
|
510
|
+
body: data.requestBody,
|
|
511
|
+
mediaType: 'application/json',
|
|
512
|
+
errors: {
|
|
513
|
+
400: 'Bad Request',
|
|
514
|
+
401: 'Unauthorized',
|
|
515
|
+
403: 'Forbidden',
|
|
516
|
+
404: 'Not Found',
|
|
517
|
+
500: 'Server Error',
|
|
518
|
+
501: 'Server Error'
|
|
519
|
+
}
|
|
520
|
+
});
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* @param data The data for the request.
|
|
525
|
+
* @param data.id
|
|
526
|
+
* @returns UniRefund_SettingService_ProductGroupVats_ProductGroupVatDto Success
|
|
527
|
+
* @throws ApiError
|
|
528
|
+
*/
|
|
529
|
+
public getApiSettingServiceProductGroupVatById(data: GetApiSettingServiceProductGroupVatByIdData): CancelablePromise<GetApiSettingServiceProductGroupVatByIdResponse> {
|
|
530
|
+
return this.httpRequest.request({
|
|
531
|
+
method: 'GET',
|
|
532
|
+
url: '/api/setting-service/product-group-vat/{id}',
|
|
533
|
+
path: {
|
|
534
|
+
id: data.id
|
|
535
|
+
},
|
|
536
|
+
errors: {
|
|
537
|
+
400: 'Bad Request',
|
|
538
|
+
401: 'Unauthorized',
|
|
539
|
+
403: 'Forbidden',
|
|
540
|
+
404: 'Not Found',
|
|
541
|
+
500: 'Server Error',
|
|
542
|
+
501: 'Server Error'
|
|
543
|
+
}
|
|
544
|
+
});
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
}
|
|
548
|
+
|
|
209
549
|
export class SampleService {
|
|
210
550
|
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
211
551
|
|
|
@@ -314,4 +654,135 @@ export class TimeZoneSettingsService {
|
|
|
314
654
|
});
|
|
315
655
|
}
|
|
316
656
|
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
export class VatService {
|
|
660
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* @param data The data for the request.
|
|
664
|
+
* @param data.requestBody
|
|
665
|
+
* @returns UniRefund_SettingService_Vats_VatDto Success
|
|
666
|
+
* @throws ApiError
|
|
667
|
+
*/
|
|
668
|
+
public postApiSettingServiceVat(data: PostApiSettingServiceVatData = {}): CancelablePromise<PostApiSettingServiceVatResponse> {
|
|
669
|
+
return this.httpRequest.request({
|
|
670
|
+
method: 'POST',
|
|
671
|
+
url: '/api/setting-service/vat',
|
|
672
|
+
body: data.requestBody,
|
|
673
|
+
mediaType: 'application/json',
|
|
674
|
+
errors: {
|
|
675
|
+
400: 'Bad Request',
|
|
676
|
+
401: 'Unauthorized',
|
|
677
|
+
403: 'Forbidden',
|
|
678
|
+
404: 'Not Found',
|
|
679
|
+
500: 'Server Error',
|
|
680
|
+
501: 'Server Error'
|
|
681
|
+
}
|
|
682
|
+
});
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* @param data The data for the request.
|
|
687
|
+
* @param data.id
|
|
688
|
+
* @returns unknown Success
|
|
689
|
+
* @throws ApiError
|
|
690
|
+
*/
|
|
691
|
+
public deleteApiSettingServiceVat(data: DeleteApiSettingServiceVatData = {}): CancelablePromise<DeleteApiSettingServiceVatResponse> {
|
|
692
|
+
return this.httpRequest.request({
|
|
693
|
+
method: 'DELETE',
|
|
694
|
+
url: '/api/setting-service/vat',
|
|
695
|
+
query: {
|
|
696
|
+
id: data.id
|
|
697
|
+
},
|
|
698
|
+
errors: {
|
|
699
|
+
400: 'Bad Request',
|
|
700
|
+
401: 'Unauthorized',
|
|
701
|
+
403: 'Forbidden',
|
|
702
|
+
404: 'Not Found',
|
|
703
|
+
500: 'Server Error',
|
|
704
|
+
501: 'Server Error'
|
|
705
|
+
}
|
|
706
|
+
});
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* @param data The data for the request.
|
|
711
|
+
* @param data.sorting
|
|
712
|
+
* @param data.skipCount
|
|
713
|
+
* @param data.maxResultCount
|
|
714
|
+
* @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_SettingService_Vats_VatDto__UniRefund_SettingService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
|
|
715
|
+
* @throws ApiError
|
|
716
|
+
*/
|
|
717
|
+
public getApiSettingServiceVat(data: GetApiSettingServiceVatData = {}): CancelablePromise<GetApiSettingServiceVatResponse> {
|
|
718
|
+
return this.httpRequest.request({
|
|
719
|
+
method: 'GET',
|
|
720
|
+
url: '/api/setting-service/vat',
|
|
721
|
+
query: {
|
|
722
|
+
Sorting: data.sorting,
|
|
723
|
+
SkipCount: data.skipCount,
|
|
724
|
+
MaxResultCount: data.maxResultCount
|
|
725
|
+
},
|
|
726
|
+
errors: {
|
|
727
|
+
400: 'Bad Request',
|
|
728
|
+
401: 'Unauthorized',
|
|
729
|
+
403: 'Forbidden',
|
|
730
|
+
404: 'Not Found',
|
|
731
|
+
500: 'Server Error',
|
|
732
|
+
501: 'Server Error'
|
|
733
|
+
}
|
|
734
|
+
});
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
/**
|
|
738
|
+
* @param data The data for the request.
|
|
739
|
+
* @param data.id
|
|
740
|
+
* @param data.requestBody
|
|
741
|
+
* @returns UniRefund_SettingService_Vats_VatDto Success
|
|
742
|
+
* @throws ApiError
|
|
743
|
+
*/
|
|
744
|
+
public putApiSettingServiceVat(data: PutApiSettingServiceVatData = {}): CancelablePromise<PutApiSettingServiceVatResponse> {
|
|
745
|
+
return this.httpRequest.request({
|
|
746
|
+
method: 'PUT',
|
|
747
|
+
url: '/api/setting-service/vat',
|
|
748
|
+
query: {
|
|
749
|
+
id: data.id
|
|
750
|
+
},
|
|
751
|
+
body: data.requestBody,
|
|
752
|
+
mediaType: 'application/json',
|
|
753
|
+
errors: {
|
|
754
|
+
400: 'Bad Request',
|
|
755
|
+
401: 'Unauthorized',
|
|
756
|
+
403: 'Forbidden',
|
|
757
|
+
404: 'Not Found',
|
|
758
|
+
500: 'Server Error',
|
|
759
|
+
501: 'Server Error'
|
|
760
|
+
}
|
|
761
|
+
});
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
/**
|
|
765
|
+
* @param data The data for the request.
|
|
766
|
+
* @param data.id
|
|
767
|
+
* @returns UniRefund_SettingService_Vats_VatDto Success
|
|
768
|
+
* @throws ApiError
|
|
769
|
+
*/
|
|
770
|
+
public getApiSettingServiceVatById(data: GetApiSettingServiceVatByIdData): CancelablePromise<GetApiSettingServiceVatByIdResponse> {
|
|
771
|
+
return this.httpRequest.request({
|
|
772
|
+
method: 'GET',
|
|
773
|
+
url: '/api/setting-service/vat/{id}',
|
|
774
|
+
path: {
|
|
775
|
+
id: data.id
|
|
776
|
+
},
|
|
777
|
+
errors: {
|
|
778
|
+
400: 'Bad Request',
|
|
779
|
+
401: 'Unauthorized',
|
|
780
|
+
403: 'Forbidden',
|
|
781
|
+
404: 'Not Found',
|
|
782
|
+
500: 'Server Error',
|
|
783
|
+
501: 'Server Error'
|
|
784
|
+
}
|
|
785
|
+
});
|
|
786
|
+
}
|
|
787
|
+
|
|
317
788
|
}
|