@ayasofyazilim/saas 0.0.109 → 0.0.111
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/CRMService/schemas.gen.ts +14 -4
- package/CRMService/sdk.gen.ts +6 -4
- package/CRMService/types.gen.ts +14 -8
- package/SettingService/SettingServiceClient.ts +59 -59
- package/SettingService/core/ApiError.ts +20 -20
- package/SettingService/core/ApiRequestOptions.ts +20 -12
- package/SettingService/core/ApiResult.ts +6 -6
- package/SettingService/core/BaseHttpRequest.ts +9 -9
- package/SettingService/core/CancelablePromise.ts +125 -125
- package/SettingService/core/FetchHttpRequest.ts +21 -21
- package/SettingService/core/OpenAPI.ts +55 -55
- package/SettingService/core/request.ts +349 -340
- package/SettingService/index.ts +10 -9
- package/SettingService/schemas.gen.ts +4218 -5223
- package/SettingService/{services.gen.ts → sdk.gen.ts} +629 -758
- package/SettingService/types.gen.ts +1866 -1801
- package/package.json +2 -2
|
@@ -1,759 +1,630 @@
|
|
|
1
|
-
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
-
|
|
3
|
-
import type { CancelablePromise } from './core/CancelablePromise';
|
|
4
|
-
import type { BaseHttpRequest } from './core/BaseHttpRequest';
|
|
5
|
-
import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse,
|
|
6
|
-
|
|
7
|
-
export class AbpApiDefinitionService {
|
|
8
|
-
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* @param data The data for the request.
|
|
12
|
-
* @param data.includeTypes
|
|
13
|
-
* @returns
|
|
14
|
-
* @throws ApiError
|
|
15
|
-
*/
|
|
16
|
-
public getApiAbpApiDefinition(data: GetApiAbpApiDefinitionData = {}): CancelablePromise<GetApiAbpApiDefinitionResponse> {
|
|
17
|
-
return this.httpRequest.request({
|
|
18
|
-
method: 'GET',
|
|
19
|
-
url: '/api/abp/api-definition',
|
|
20
|
-
query: {
|
|
21
|
-
IncludeTypes: data.includeTypes
|
|
22
|
-
},
|
|
23
|
-
errors: {
|
|
24
|
-
400: 'Bad Request',
|
|
25
|
-
401: 'Unauthorized',
|
|
26
|
-
403: 'Forbidden',
|
|
27
|
-
404: 'Not Found',
|
|
28
|
-
500: 'Server Error',
|
|
29
|
-
501: 'Server Error'
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export class AbpApplicationConfigurationService {
|
|
37
|
-
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* @param data The data for the request.
|
|
41
|
-
* @param data.includeLocalizationResources
|
|
42
|
-
* @returns
|
|
43
|
-
* @throws ApiError
|
|
44
|
-
*/
|
|
45
|
-
public getApiAbpApplicationConfiguration(data: GetApiAbpApplicationConfigurationData = {}): CancelablePromise<GetApiAbpApplicationConfigurationResponse> {
|
|
46
|
-
return this.httpRequest.request({
|
|
47
|
-
method: 'GET',
|
|
48
|
-
url: '/api/abp/application-configuration',
|
|
49
|
-
query: {
|
|
50
|
-
IncludeLocalizationResources: data.includeLocalizationResources
|
|
51
|
-
},
|
|
52
|
-
errors: {
|
|
53
|
-
400: 'Bad Request',
|
|
54
|
-
401: 'Unauthorized',
|
|
55
|
-
403: 'Forbidden',
|
|
56
|
-
404: 'Not Found',
|
|
57
|
-
500: 'Server Error',
|
|
58
|
-
501: 'Server Error'
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export class AbpApplicationLocalizationService {
|
|
66
|
-
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* @param data The data for the request.
|
|
70
|
-
* @param data.cultureName
|
|
71
|
-
* @param data.onlyDynamics
|
|
72
|
-
* @returns
|
|
73
|
-
* @throws ApiError
|
|
74
|
-
*/
|
|
75
|
-
public getApiAbpApplicationLocalization(data: GetApiAbpApplicationLocalizationData): CancelablePromise<GetApiAbpApplicationLocalizationResponse> {
|
|
76
|
-
return this.httpRequest.request({
|
|
77
|
-
method: 'GET',
|
|
78
|
-
url: '/api/abp/application-localization',
|
|
79
|
-
query: {
|
|
80
|
-
CultureName: data.cultureName,
|
|
81
|
-
OnlyDynamics: data.onlyDynamics
|
|
82
|
-
},
|
|
83
|
-
errors: {
|
|
84
|
-
400: 'Bad Request',
|
|
85
|
-
401: 'Unauthorized',
|
|
86
|
-
403: 'Forbidden',
|
|
87
|
-
404: 'Not Found',
|
|
88
|
-
500: 'Server Error',
|
|
89
|
-
501: 'Server Error'
|
|
90
|
-
}
|
|
91
|
-
});
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
export class
|
|
97
|
-
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* @
|
|
101
|
-
* @
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
errors: {
|
|
131
|
-
400: 'Bad Request',
|
|
132
|
-
401: 'Unauthorized',
|
|
133
|
-
403: 'Forbidden',
|
|
134
|
-
404: 'Not Found',
|
|
135
|
-
500: 'Server Error',
|
|
136
|
-
501: 'Server Error'
|
|
137
|
-
}
|
|
138
|
-
});
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* @
|
|
143
|
-
* @
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
export class VatService {
|
|
631
|
-
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
632
|
-
|
|
633
|
-
/**
|
|
634
|
-
* @param data The data for the request.
|
|
635
|
-
* @param data.requestBody
|
|
636
|
-
* @returns UniRefund_SettingService_Vats_VatDto Success
|
|
637
|
-
* @throws ApiError
|
|
638
|
-
*/
|
|
639
|
-
public postApiSettingServiceVat(data: PostApiSettingServiceVatData = {}): CancelablePromise<PostApiSettingServiceVatResponse> {
|
|
640
|
-
return this.httpRequest.request({
|
|
641
|
-
method: 'POST',
|
|
642
|
-
url: '/api/setting-service/vat',
|
|
643
|
-
body: data.requestBody,
|
|
644
|
-
mediaType: 'application/json',
|
|
645
|
-
errors: {
|
|
646
|
-
400: 'Bad Request',
|
|
647
|
-
401: 'Unauthorized',
|
|
648
|
-
403: 'Forbidden',
|
|
649
|
-
404: 'Not Found',
|
|
650
|
-
500: 'Server Error',
|
|
651
|
-
501: 'Server Error'
|
|
652
|
-
}
|
|
653
|
-
});
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
/**
|
|
657
|
-
* @param data The data for the request.
|
|
658
|
-
* @param data.sorting
|
|
659
|
-
* @param data.skipCount
|
|
660
|
-
* @param data.maxResultCount
|
|
661
|
-
* @returns PagedResultDto_VatDto Success
|
|
662
|
-
* @throws ApiError
|
|
663
|
-
*/
|
|
664
|
-
public getApiSettingServiceVat(data: GetApiSettingServiceVatData = {}): CancelablePromise<GetApiSettingServiceVatResponse> {
|
|
665
|
-
return this.httpRequest.request({
|
|
666
|
-
method: 'GET',
|
|
667
|
-
url: '/api/setting-service/vat',
|
|
668
|
-
query: {
|
|
669
|
-
Sorting: data.sorting,
|
|
670
|
-
SkipCount: data.skipCount,
|
|
671
|
-
MaxResultCount: data.maxResultCount
|
|
672
|
-
},
|
|
673
|
-
errors: {
|
|
674
|
-
400: 'Bad Request',
|
|
675
|
-
401: 'Unauthorized',
|
|
676
|
-
403: 'Forbidden',
|
|
677
|
-
404: 'Not Found',
|
|
678
|
-
500: 'Server Error',
|
|
679
|
-
501: 'Server Error'
|
|
680
|
-
}
|
|
681
|
-
});
|
|
682
|
-
}
|
|
683
|
-
|
|
684
|
-
/**
|
|
685
|
-
* @param data The data for the request.
|
|
686
|
-
* @param data.id
|
|
687
|
-
* @returns unknown Success
|
|
688
|
-
* @throws ApiError
|
|
689
|
-
*/
|
|
690
|
-
public deleteApiSettingServiceVatById(data: DeleteApiSettingServiceVatByIdData): CancelablePromise<DeleteApiSettingServiceVatByIdResponse> {
|
|
691
|
-
return this.httpRequest.request({
|
|
692
|
-
method: 'DELETE',
|
|
693
|
-
url: '/api/setting-service/vat/{id}',
|
|
694
|
-
path: {
|
|
695
|
-
id: data.id
|
|
696
|
-
},
|
|
697
|
-
errors: {
|
|
698
|
-
400: 'Bad Request',
|
|
699
|
-
401: 'Unauthorized',
|
|
700
|
-
403: 'Forbidden',
|
|
701
|
-
404: 'Not Found',
|
|
702
|
-
500: 'Server Error',
|
|
703
|
-
501: 'Server Error'
|
|
704
|
-
}
|
|
705
|
-
});
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
/**
|
|
709
|
-
* @param data The data for the request.
|
|
710
|
-
* @param data.id
|
|
711
|
-
* @returns UniRefund_SettingService_Vats_VatDto Success
|
|
712
|
-
* @throws ApiError
|
|
713
|
-
*/
|
|
714
|
-
public getApiSettingServiceVatById(data: GetApiSettingServiceVatByIdData): CancelablePromise<GetApiSettingServiceVatByIdResponse> {
|
|
715
|
-
return this.httpRequest.request({
|
|
716
|
-
method: 'GET',
|
|
717
|
-
url: '/api/setting-service/vat/{id}',
|
|
718
|
-
path: {
|
|
719
|
-
id: data.id
|
|
720
|
-
},
|
|
721
|
-
errors: {
|
|
722
|
-
400: 'Bad Request',
|
|
723
|
-
401: 'Unauthorized',
|
|
724
|
-
403: 'Forbidden',
|
|
725
|
-
404: 'Not Found',
|
|
726
|
-
500: 'Server Error',
|
|
727
|
-
501: 'Server Error'
|
|
728
|
-
}
|
|
729
|
-
});
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
/**
|
|
733
|
-
* @param data The data for the request.
|
|
734
|
-
* @param data.id
|
|
735
|
-
* @param data.requestBody
|
|
736
|
-
* @returns UniRefund_SettingService_Vats_VatDto Success
|
|
737
|
-
* @throws ApiError
|
|
738
|
-
*/
|
|
739
|
-
public putApiSettingServiceVatById(data: PutApiSettingServiceVatByIdData): CancelablePromise<PutApiSettingServiceVatByIdResponse> {
|
|
740
|
-
return this.httpRequest.request({
|
|
741
|
-
method: 'PUT',
|
|
742
|
-
url: '/api/setting-service/vat/{id}',
|
|
743
|
-
path: {
|
|
744
|
-
id: data.id
|
|
745
|
-
},
|
|
746
|
-
body: data.requestBody,
|
|
747
|
-
mediaType: 'application/json',
|
|
748
|
-
errors: {
|
|
749
|
-
400: 'Bad Request',
|
|
750
|
-
401: 'Unauthorized',
|
|
751
|
-
403: 'Forbidden',
|
|
752
|
-
404: 'Not Found',
|
|
753
|
-
500: 'Server Error',
|
|
754
|
-
501: 'Server Error'
|
|
755
|
-
}
|
|
756
|
-
});
|
|
757
|
-
}
|
|
758
|
-
|
|
1
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
|
|
3
|
+
import type { CancelablePromise } from './core/CancelablePromise';
|
|
4
|
+
import type { BaseHttpRequest } from './core/BaseHttpRequest';
|
|
5
|
+
import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse, GetApiSettingManagementEmailingResponse, PostApiSettingManagementEmailingData, PostApiSettingManagementEmailingResponse, PostApiSettingManagementEmailingSendTestEmailData, PostApiSettingManagementEmailingSendTestEmailResponse, PostApiSettingServiceProductGroupData, PostApiSettingServiceProductGroupResponse, GetApiSettingServiceProductGroupData, GetApiSettingServiceProductGroupResponse, PostApiSettingServiceProductGroupTranslationByIdData, PostApiSettingServiceProductGroupTranslationByIdResponse, PutApiSettingServiceProductGroupTranslationByIdData, PutApiSettingServiceProductGroupTranslationByIdResponse, DeleteApiSettingServiceProductGroupByIdData, DeleteApiSettingServiceProductGroupByIdResponse, GetApiSettingServiceProductGroupByIdData, GetApiSettingServiceProductGroupByIdResponse, PutApiSettingServiceProductGroupByIdData, PutApiSettingServiceProductGroupByIdResponse, GetIntegrationApiSettingServiceProductGroupByMerchantIdByIdData, GetIntegrationApiSettingServiceProductGroupByMerchantIdByIdResponse, PostIntegrationApiSettingServiceProductGroupProductGroupMerchantBulkData, PostIntegrationApiSettingServiceProductGroupProductGroupMerchantBulkResponse, GetIntegrationApiProductGroupMerchantsData, GetIntegrationApiProductGroupMerchantsResponse, GetApiSettingManagementTimezoneResponse, PostApiSettingManagementTimezoneData, PostApiSettingManagementTimezoneResponse, GetApiSettingManagementTimezoneTimezonesResponse, PostApiSettingServiceVatData, PostApiSettingServiceVatResponse, GetApiSettingServiceVatData, GetApiSettingServiceVatResponse, DeleteApiSettingServiceVatByIdData, DeleteApiSettingServiceVatByIdResponse, GetApiSettingServiceVatByIdData, GetApiSettingServiceVatByIdResponse, PutApiSettingServiceVatByIdData, PutApiSettingServiceVatByIdResponse } from './types.gen';
|
|
6
|
+
|
|
7
|
+
export class AbpApiDefinitionService {
|
|
8
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @param data The data for the request.
|
|
12
|
+
* @param data.includeTypes
|
|
13
|
+
* @returns unknown Success
|
|
14
|
+
* @throws ApiError
|
|
15
|
+
*/
|
|
16
|
+
public getApiAbpApiDefinition(data: GetApiAbpApiDefinitionData = {}): CancelablePromise<GetApiAbpApiDefinitionResponse> {
|
|
17
|
+
return this.httpRequest.request({
|
|
18
|
+
method: 'GET',
|
|
19
|
+
url: '/api/abp/api-definition',
|
|
20
|
+
query: {
|
|
21
|
+
IncludeTypes: data.includeTypes
|
|
22
|
+
},
|
|
23
|
+
errors: {
|
|
24
|
+
400: 'Bad Request',
|
|
25
|
+
401: 'Unauthorized',
|
|
26
|
+
403: 'Forbidden',
|
|
27
|
+
404: 'Not Found',
|
|
28
|
+
500: 'Server Error',
|
|
29
|
+
501: 'Server Error'
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export class AbpApplicationConfigurationService {
|
|
37
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* @param data The data for the request.
|
|
41
|
+
* @param data.includeLocalizationResources
|
|
42
|
+
* @returns unknown Success
|
|
43
|
+
* @throws ApiError
|
|
44
|
+
*/
|
|
45
|
+
public getApiAbpApplicationConfiguration(data: GetApiAbpApplicationConfigurationData = {}): CancelablePromise<GetApiAbpApplicationConfigurationResponse> {
|
|
46
|
+
return this.httpRequest.request({
|
|
47
|
+
method: 'GET',
|
|
48
|
+
url: '/api/abp/application-configuration',
|
|
49
|
+
query: {
|
|
50
|
+
IncludeLocalizationResources: data.includeLocalizationResources
|
|
51
|
+
},
|
|
52
|
+
errors: {
|
|
53
|
+
400: 'Bad Request',
|
|
54
|
+
401: 'Unauthorized',
|
|
55
|
+
403: 'Forbidden',
|
|
56
|
+
404: 'Not Found',
|
|
57
|
+
500: 'Server Error',
|
|
58
|
+
501: 'Server Error'
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export class AbpApplicationLocalizationService {
|
|
66
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @param data The data for the request.
|
|
70
|
+
* @param data.cultureName
|
|
71
|
+
* @param data.onlyDynamics
|
|
72
|
+
* @returns unknown Success
|
|
73
|
+
* @throws ApiError
|
|
74
|
+
*/
|
|
75
|
+
public getApiAbpApplicationLocalization(data: GetApiAbpApplicationLocalizationData): CancelablePromise<GetApiAbpApplicationLocalizationResponse> {
|
|
76
|
+
return this.httpRequest.request({
|
|
77
|
+
method: 'GET',
|
|
78
|
+
url: '/api/abp/application-localization',
|
|
79
|
+
query: {
|
|
80
|
+
CultureName: data.cultureName,
|
|
81
|
+
OnlyDynamics: data.onlyDynamics
|
|
82
|
+
},
|
|
83
|
+
errors: {
|
|
84
|
+
400: 'Bad Request',
|
|
85
|
+
401: 'Unauthorized',
|
|
86
|
+
403: 'Forbidden',
|
|
87
|
+
404: 'Not Found',
|
|
88
|
+
500: 'Server Error',
|
|
89
|
+
501: 'Server Error'
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export class EmailSettingsService {
|
|
97
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @returns unknown Success
|
|
101
|
+
* @throws ApiError
|
|
102
|
+
*/
|
|
103
|
+
public getApiSettingManagementEmailing(): CancelablePromise<GetApiSettingManagementEmailingResponse> {
|
|
104
|
+
return this.httpRequest.request({
|
|
105
|
+
method: 'GET',
|
|
106
|
+
url: '/api/setting-management/emailing',
|
|
107
|
+
errors: {
|
|
108
|
+
400: 'Bad Request',
|
|
109
|
+
401: 'Unauthorized',
|
|
110
|
+
403: 'Forbidden',
|
|
111
|
+
404: 'Not Found',
|
|
112
|
+
500: 'Server Error',
|
|
113
|
+
501: 'Server Error'
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* @param data The data for the request.
|
|
120
|
+
* @param data.requestBody
|
|
121
|
+
* @returns unknown Success
|
|
122
|
+
* @throws ApiError
|
|
123
|
+
*/
|
|
124
|
+
public postApiSettingManagementEmailing(data: PostApiSettingManagementEmailingData = {}): CancelablePromise<PostApiSettingManagementEmailingResponse> {
|
|
125
|
+
return this.httpRequest.request({
|
|
126
|
+
method: 'POST',
|
|
127
|
+
url: '/api/setting-management/emailing',
|
|
128
|
+
body: data.requestBody,
|
|
129
|
+
mediaType: 'application/json',
|
|
130
|
+
errors: {
|
|
131
|
+
400: 'Bad Request',
|
|
132
|
+
401: 'Unauthorized',
|
|
133
|
+
403: 'Forbidden',
|
|
134
|
+
404: 'Not Found',
|
|
135
|
+
500: 'Server Error',
|
|
136
|
+
501: 'Server Error'
|
|
137
|
+
}
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* @param data The data for the request.
|
|
143
|
+
* @param data.requestBody
|
|
144
|
+
* @returns unknown Success
|
|
145
|
+
* @throws ApiError
|
|
146
|
+
*/
|
|
147
|
+
public postApiSettingManagementEmailingSendTestEmail(data: PostApiSettingManagementEmailingSendTestEmailData = {}): CancelablePromise<PostApiSettingManagementEmailingSendTestEmailResponse> {
|
|
148
|
+
return this.httpRequest.request({
|
|
149
|
+
method: 'POST',
|
|
150
|
+
url: '/api/setting-management/emailing/send-test-email',
|
|
151
|
+
body: data.requestBody,
|
|
152
|
+
mediaType: 'application/json',
|
|
153
|
+
errors: {
|
|
154
|
+
400: 'Bad Request',
|
|
155
|
+
401: 'Unauthorized',
|
|
156
|
+
403: 'Forbidden',
|
|
157
|
+
404: 'Not Found',
|
|
158
|
+
500: 'Server Error',
|
|
159
|
+
501: 'Server Error'
|
|
160
|
+
}
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export class ProductGroupService {
|
|
167
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* @param data The data for the request.
|
|
171
|
+
* @param data.requestBody
|
|
172
|
+
* @returns unknown Success
|
|
173
|
+
* @throws ApiError
|
|
174
|
+
*/
|
|
175
|
+
public postApiSettingServiceProductGroup(data: PostApiSettingServiceProductGroupData = {}): CancelablePromise<PostApiSettingServiceProductGroupResponse> {
|
|
176
|
+
return this.httpRequest.request({
|
|
177
|
+
method: 'POST',
|
|
178
|
+
url: '/api/setting-service/product-group',
|
|
179
|
+
body: data.requestBody,
|
|
180
|
+
mediaType: 'application/json',
|
|
181
|
+
errors: {
|
|
182
|
+
400: 'Bad Request',
|
|
183
|
+
401: 'Unauthorized',
|
|
184
|
+
403: 'Forbidden',
|
|
185
|
+
404: 'Not Found',
|
|
186
|
+
500: 'Server Error',
|
|
187
|
+
501: 'Server Error'
|
|
188
|
+
}
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* @param data The data for the request.
|
|
194
|
+
* @param data.sorting
|
|
195
|
+
* @param data.skipCount
|
|
196
|
+
* @param data.maxResultCount
|
|
197
|
+
* @returns unknown Success
|
|
198
|
+
* @throws ApiError
|
|
199
|
+
*/
|
|
200
|
+
public getApiSettingServiceProductGroup(data: GetApiSettingServiceProductGroupData = {}): CancelablePromise<GetApiSettingServiceProductGroupResponse> {
|
|
201
|
+
return this.httpRequest.request({
|
|
202
|
+
method: 'GET',
|
|
203
|
+
url: '/api/setting-service/product-group',
|
|
204
|
+
query: {
|
|
205
|
+
Sorting: data.sorting,
|
|
206
|
+
SkipCount: data.skipCount,
|
|
207
|
+
MaxResultCount: data.maxResultCount
|
|
208
|
+
},
|
|
209
|
+
errors: {
|
|
210
|
+
400: 'Bad Request',
|
|
211
|
+
401: 'Unauthorized',
|
|
212
|
+
403: 'Forbidden',
|
|
213
|
+
404: 'Not Found',
|
|
214
|
+
500: 'Server Error',
|
|
215
|
+
501: 'Server Error'
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* @param data The data for the request.
|
|
222
|
+
* @param data.id
|
|
223
|
+
* @param data.requestBody
|
|
224
|
+
* @returns unknown Success
|
|
225
|
+
* @throws ApiError
|
|
226
|
+
*/
|
|
227
|
+
public postApiSettingServiceProductGroupTranslationById(data: PostApiSettingServiceProductGroupTranslationByIdData): CancelablePromise<PostApiSettingServiceProductGroupTranslationByIdResponse> {
|
|
228
|
+
return this.httpRequest.request({
|
|
229
|
+
method: 'POST',
|
|
230
|
+
url: '/api/setting-service/product-group/translation/{id}',
|
|
231
|
+
path: {
|
|
232
|
+
id: data.id
|
|
233
|
+
},
|
|
234
|
+
body: data.requestBody,
|
|
235
|
+
mediaType: 'application/json',
|
|
236
|
+
errors: {
|
|
237
|
+
400: 'Bad Request',
|
|
238
|
+
401: 'Unauthorized',
|
|
239
|
+
403: 'Forbidden',
|
|
240
|
+
404: 'Not Found',
|
|
241
|
+
500: 'Server Error',
|
|
242
|
+
501: 'Server Error'
|
|
243
|
+
}
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* @param data The data for the request.
|
|
249
|
+
* @param data.id
|
|
250
|
+
* @param data.requestBody
|
|
251
|
+
* @returns unknown Success
|
|
252
|
+
* @throws ApiError
|
|
253
|
+
*/
|
|
254
|
+
public putApiSettingServiceProductGroupTranslationById(data: PutApiSettingServiceProductGroupTranslationByIdData): CancelablePromise<PutApiSettingServiceProductGroupTranslationByIdResponse> {
|
|
255
|
+
return this.httpRequest.request({
|
|
256
|
+
method: 'PUT',
|
|
257
|
+
url: '/api/setting-service/product-group/translation/{id}',
|
|
258
|
+
path: {
|
|
259
|
+
id: data.id
|
|
260
|
+
},
|
|
261
|
+
body: data.requestBody,
|
|
262
|
+
mediaType: 'application/json',
|
|
263
|
+
errors: {
|
|
264
|
+
400: 'Bad Request',
|
|
265
|
+
401: 'Unauthorized',
|
|
266
|
+
403: 'Forbidden',
|
|
267
|
+
404: 'Not Found',
|
|
268
|
+
500: 'Server Error',
|
|
269
|
+
501: 'Server Error'
|
|
270
|
+
}
|
|
271
|
+
});
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* @param data The data for the request.
|
|
276
|
+
* @param data.id
|
|
277
|
+
* @returns unknown Success
|
|
278
|
+
* @throws ApiError
|
|
279
|
+
*/
|
|
280
|
+
public deleteApiSettingServiceProductGroupById(data: DeleteApiSettingServiceProductGroupByIdData): CancelablePromise<DeleteApiSettingServiceProductGroupByIdResponse> {
|
|
281
|
+
return this.httpRequest.request({
|
|
282
|
+
method: 'DELETE',
|
|
283
|
+
url: '/api/setting-service/product-group/{id}',
|
|
284
|
+
path: {
|
|
285
|
+
id: data.id
|
|
286
|
+
},
|
|
287
|
+
errors: {
|
|
288
|
+
400: 'Bad Request',
|
|
289
|
+
401: 'Unauthorized',
|
|
290
|
+
403: 'Forbidden',
|
|
291
|
+
404: 'Not Found',
|
|
292
|
+
500: 'Server Error',
|
|
293
|
+
501: 'Server Error'
|
|
294
|
+
}
|
|
295
|
+
});
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* @param data The data for the request.
|
|
300
|
+
* @param data.id
|
|
301
|
+
* @returns unknown Success
|
|
302
|
+
* @throws ApiError
|
|
303
|
+
*/
|
|
304
|
+
public getApiSettingServiceProductGroupById(data: GetApiSettingServiceProductGroupByIdData): CancelablePromise<GetApiSettingServiceProductGroupByIdResponse> {
|
|
305
|
+
return this.httpRequest.request({
|
|
306
|
+
method: 'GET',
|
|
307
|
+
url: '/api/setting-service/product-group/{id}',
|
|
308
|
+
path: {
|
|
309
|
+
id: data.id
|
|
310
|
+
},
|
|
311
|
+
errors: {
|
|
312
|
+
400: 'Bad Request',
|
|
313
|
+
401: 'Unauthorized',
|
|
314
|
+
403: 'Forbidden',
|
|
315
|
+
404: 'Not Found',
|
|
316
|
+
500: 'Server Error',
|
|
317
|
+
501: 'Server Error'
|
|
318
|
+
}
|
|
319
|
+
});
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* @param data The data for the request.
|
|
324
|
+
* @param data.id
|
|
325
|
+
* @param data.requestBody
|
|
326
|
+
* @returns unknown Success
|
|
327
|
+
* @throws ApiError
|
|
328
|
+
*/
|
|
329
|
+
public putApiSettingServiceProductGroupById(data: PutApiSettingServiceProductGroupByIdData): CancelablePromise<PutApiSettingServiceProductGroupByIdResponse> {
|
|
330
|
+
return this.httpRequest.request({
|
|
331
|
+
method: 'PUT',
|
|
332
|
+
url: '/api/setting-service/product-group/{id}',
|
|
333
|
+
path: {
|
|
334
|
+
id: data.id
|
|
335
|
+
},
|
|
336
|
+
body: data.requestBody,
|
|
337
|
+
mediaType: 'application/json',
|
|
338
|
+
errors: {
|
|
339
|
+
400: 'Bad Request',
|
|
340
|
+
401: 'Unauthorized',
|
|
341
|
+
403: 'Forbidden',
|
|
342
|
+
404: 'Not Found',
|
|
343
|
+
500: 'Server Error',
|
|
344
|
+
501: 'Server Error'
|
|
345
|
+
}
|
|
346
|
+
});
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
export class ProductGroupIntegrationService {
|
|
352
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* @param data The data for the request.
|
|
356
|
+
* @param data.id
|
|
357
|
+
* @returns unknown Success
|
|
358
|
+
* @throws ApiError
|
|
359
|
+
*/
|
|
360
|
+
public getIntegrationApiSettingServiceProductGroupByMerchantIdById(data: GetIntegrationApiSettingServiceProductGroupByMerchantIdByIdData): CancelablePromise<GetIntegrationApiSettingServiceProductGroupByMerchantIdByIdResponse> {
|
|
361
|
+
return this.httpRequest.request({
|
|
362
|
+
method: 'GET',
|
|
363
|
+
url: '/integration-api/setting-service/product-group/by-merchant-id/{id}',
|
|
364
|
+
path: {
|
|
365
|
+
id: data.id
|
|
366
|
+
},
|
|
367
|
+
errors: {
|
|
368
|
+
400: 'Bad Request',
|
|
369
|
+
401: 'Unauthorized',
|
|
370
|
+
403: 'Forbidden',
|
|
371
|
+
404: 'Not Found',
|
|
372
|
+
500: 'Server Error',
|
|
373
|
+
501: 'Server Error'
|
|
374
|
+
}
|
|
375
|
+
});
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* @param data The data for the request.
|
|
380
|
+
* @param data.requestBody
|
|
381
|
+
* @returns unknown Success
|
|
382
|
+
* @throws ApiError
|
|
383
|
+
*/
|
|
384
|
+
public postIntegrationApiSettingServiceProductGroupProductGroupMerchantBulk(data: PostIntegrationApiSettingServiceProductGroupProductGroupMerchantBulkData = {}): CancelablePromise<PostIntegrationApiSettingServiceProductGroupProductGroupMerchantBulkResponse> {
|
|
385
|
+
return this.httpRequest.request({
|
|
386
|
+
method: 'POST',
|
|
387
|
+
url: '/integration-api/setting-service/product-group/product-group-merchant-bulk',
|
|
388
|
+
body: data.requestBody,
|
|
389
|
+
mediaType: 'application/json',
|
|
390
|
+
errors: {
|
|
391
|
+
400: 'Bad Request',
|
|
392
|
+
401: 'Unauthorized',
|
|
393
|
+
403: 'Forbidden',
|
|
394
|
+
404: 'Not Found',
|
|
395
|
+
500: 'Server Error',
|
|
396
|
+
501: 'Server Error'
|
|
397
|
+
}
|
|
398
|
+
});
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
export class ProductGroupMerchantIntegrationService {
|
|
404
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* @param data The data for the request.
|
|
408
|
+
* @param data.merchantIds
|
|
409
|
+
* @param data.productGroupIds
|
|
410
|
+
* @returns unknown Success
|
|
411
|
+
* @throws ApiError
|
|
412
|
+
*/
|
|
413
|
+
public getIntegrationApiProductGroupMerchants(data: GetIntegrationApiProductGroupMerchantsData = {}): CancelablePromise<GetIntegrationApiProductGroupMerchantsResponse> {
|
|
414
|
+
return this.httpRequest.request({
|
|
415
|
+
method: 'GET',
|
|
416
|
+
url: '/integration-api/product-group-merchants',
|
|
417
|
+
query: {
|
|
418
|
+
merchantIds: data.merchantIds,
|
|
419
|
+
productGroupIds: data.productGroupIds
|
|
420
|
+
},
|
|
421
|
+
errors: {
|
|
422
|
+
400: 'Bad Request',
|
|
423
|
+
401: 'Unauthorized',
|
|
424
|
+
403: 'Forbidden',
|
|
425
|
+
404: 'Not Found',
|
|
426
|
+
500: 'Server Error',
|
|
427
|
+
501: 'Server Error'
|
|
428
|
+
}
|
|
429
|
+
});
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
export class TimeZoneSettingsService {
|
|
435
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
436
|
+
|
|
437
|
+
/**
|
|
438
|
+
* @returns string Success
|
|
439
|
+
* @throws ApiError
|
|
440
|
+
*/
|
|
441
|
+
public getApiSettingManagementTimezone(): CancelablePromise<GetApiSettingManagementTimezoneResponse> {
|
|
442
|
+
return this.httpRequest.request({
|
|
443
|
+
method: 'GET',
|
|
444
|
+
url: '/api/setting-management/timezone',
|
|
445
|
+
errors: {
|
|
446
|
+
400: 'Bad Request',
|
|
447
|
+
401: 'Unauthorized',
|
|
448
|
+
403: 'Forbidden',
|
|
449
|
+
404: 'Not Found',
|
|
450
|
+
500: 'Server Error',
|
|
451
|
+
501: 'Server Error'
|
|
452
|
+
}
|
|
453
|
+
});
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* @param data The data for the request.
|
|
458
|
+
* @param data.timezone
|
|
459
|
+
* @returns unknown Success
|
|
460
|
+
* @throws ApiError
|
|
461
|
+
*/
|
|
462
|
+
public postApiSettingManagementTimezone(data: PostApiSettingManagementTimezoneData = {}): CancelablePromise<PostApiSettingManagementTimezoneResponse> {
|
|
463
|
+
return this.httpRequest.request({
|
|
464
|
+
method: 'POST',
|
|
465
|
+
url: '/api/setting-management/timezone',
|
|
466
|
+
query: {
|
|
467
|
+
timezone: data.timezone
|
|
468
|
+
},
|
|
469
|
+
errors: {
|
|
470
|
+
400: 'Bad Request',
|
|
471
|
+
401: 'Unauthorized',
|
|
472
|
+
403: 'Forbidden',
|
|
473
|
+
404: 'Not Found',
|
|
474
|
+
500: 'Server Error',
|
|
475
|
+
501: 'Server Error'
|
|
476
|
+
}
|
|
477
|
+
});
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* @returns unknown Success
|
|
482
|
+
* @throws ApiError
|
|
483
|
+
*/
|
|
484
|
+
public getApiSettingManagementTimezoneTimezones(): CancelablePromise<GetApiSettingManagementTimezoneTimezonesResponse> {
|
|
485
|
+
return this.httpRequest.request({
|
|
486
|
+
method: 'GET',
|
|
487
|
+
url: '/api/setting-management/timezone/timezones',
|
|
488
|
+
errors: {
|
|
489
|
+
400: 'Bad Request',
|
|
490
|
+
401: 'Unauthorized',
|
|
491
|
+
403: 'Forbidden',
|
|
492
|
+
404: 'Not Found',
|
|
493
|
+
500: 'Server Error',
|
|
494
|
+
501: 'Server Error'
|
|
495
|
+
}
|
|
496
|
+
});
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
export class VatService {
|
|
502
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* @param data The data for the request.
|
|
506
|
+
* @param data.requestBody
|
|
507
|
+
* @returns unknown Success
|
|
508
|
+
* @throws ApiError
|
|
509
|
+
*/
|
|
510
|
+
public postApiSettingServiceVat(data: PostApiSettingServiceVatData = {}): CancelablePromise<PostApiSettingServiceVatResponse> {
|
|
511
|
+
return this.httpRequest.request({
|
|
512
|
+
method: 'POST',
|
|
513
|
+
url: '/api/setting-service/vat',
|
|
514
|
+
body: data.requestBody,
|
|
515
|
+
mediaType: 'application/json',
|
|
516
|
+
errors: {
|
|
517
|
+
400: 'Bad Request',
|
|
518
|
+
401: 'Unauthorized',
|
|
519
|
+
403: 'Forbidden',
|
|
520
|
+
404: 'Not Found',
|
|
521
|
+
500: 'Server Error',
|
|
522
|
+
501: 'Server Error'
|
|
523
|
+
}
|
|
524
|
+
});
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* @param data The data for the request.
|
|
529
|
+
* @param data.sorting
|
|
530
|
+
* @param data.skipCount
|
|
531
|
+
* @param data.maxResultCount
|
|
532
|
+
* @returns unknown Success
|
|
533
|
+
* @throws ApiError
|
|
534
|
+
*/
|
|
535
|
+
public getApiSettingServiceVat(data: GetApiSettingServiceVatData = {}): CancelablePromise<GetApiSettingServiceVatResponse> {
|
|
536
|
+
return this.httpRequest.request({
|
|
537
|
+
method: 'GET',
|
|
538
|
+
url: '/api/setting-service/vat',
|
|
539
|
+
query: {
|
|
540
|
+
Sorting: data.sorting,
|
|
541
|
+
SkipCount: data.skipCount,
|
|
542
|
+
MaxResultCount: data.maxResultCount
|
|
543
|
+
},
|
|
544
|
+
errors: {
|
|
545
|
+
400: 'Bad Request',
|
|
546
|
+
401: 'Unauthorized',
|
|
547
|
+
403: 'Forbidden',
|
|
548
|
+
404: 'Not Found',
|
|
549
|
+
500: 'Server Error',
|
|
550
|
+
501: 'Server Error'
|
|
551
|
+
}
|
|
552
|
+
});
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* @param data The data for the request.
|
|
557
|
+
* @param data.id
|
|
558
|
+
* @returns unknown Success
|
|
559
|
+
* @throws ApiError
|
|
560
|
+
*/
|
|
561
|
+
public deleteApiSettingServiceVatById(data: DeleteApiSettingServiceVatByIdData): CancelablePromise<DeleteApiSettingServiceVatByIdResponse> {
|
|
562
|
+
return this.httpRequest.request({
|
|
563
|
+
method: 'DELETE',
|
|
564
|
+
url: '/api/setting-service/vat/{id}',
|
|
565
|
+
path: {
|
|
566
|
+
id: data.id
|
|
567
|
+
},
|
|
568
|
+
errors: {
|
|
569
|
+
400: 'Bad Request',
|
|
570
|
+
401: 'Unauthorized',
|
|
571
|
+
403: 'Forbidden',
|
|
572
|
+
404: 'Not Found',
|
|
573
|
+
500: 'Server Error',
|
|
574
|
+
501: 'Server Error'
|
|
575
|
+
}
|
|
576
|
+
});
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
/**
|
|
580
|
+
* @param data The data for the request.
|
|
581
|
+
* @param data.id
|
|
582
|
+
* @returns unknown Success
|
|
583
|
+
* @throws ApiError
|
|
584
|
+
*/
|
|
585
|
+
public getApiSettingServiceVatById(data: GetApiSettingServiceVatByIdData): CancelablePromise<GetApiSettingServiceVatByIdResponse> {
|
|
586
|
+
return this.httpRequest.request({
|
|
587
|
+
method: 'GET',
|
|
588
|
+
url: '/api/setting-service/vat/{id}',
|
|
589
|
+
path: {
|
|
590
|
+
id: data.id
|
|
591
|
+
},
|
|
592
|
+
errors: {
|
|
593
|
+
400: 'Bad Request',
|
|
594
|
+
401: 'Unauthorized',
|
|
595
|
+
403: 'Forbidden',
|
|
596
|
+
404: 'Not Found',
|
|
597
|
+
500: 'Server Error',
|
|
598
|
+
501: 'Server Error'
|
|
599
|
+
}
|
|
600
|
+
});
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* @param data The data for the request.
|
|
605
|
+
* @param data.id
|
|
606
|
+
* @param data.requestBody
|
|
607
|
+
* @returns unknown Success
|
|
608
|
+
* @throws ApiError
|
|
609
|
+
*/
|
|
610
|
+
public putApiSettingServiceVatById(data: PutApiSettingServiceVatByIdData): CancelablePromise<PutApiSettingServiceVatByIdResponse> {
|
|
611
|
+
return this.httpRequest.request({
|
|
612
|
+
method: 'PUT',
|
|
613
|
+
url: '/api/setting-service/vat/{id}',
|
|
614
|
+
path: {
|
|
615
|
+
id: data.id
|
|
616
|
+
},
|
|
617
|
+
body: data.requestBody,
|
|
618
|
+
mediaType: 'application/json',
|
|
619
|
+
errors: {
|
|
620
|
+
400: 'Bad Request',
|
|
621
|
+
401: 'Unauthorized',
|
|
622
|
+
403: 'Forbidden',
|
|
623
|
+
404: 'Not Found',
|
|
624
|
+
500: 'Server Error',
|
|
625
|
+
501: 'Server Error'
|
|
626
|
+
}
|
|
627
|
+
});
|
|
628
|
+
}
|
|
629
|
+
|
|
759
630
|
}
|