@ayasofyazilim/saas 0.0.26 → 0.0.28
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/SettingService/schemas.gen.ts +5779 -2033
- package/SettingService/services.gen.ts +787 -787
- package/SettingService/types.gen.ts +6827 -1862
- package/generator.mjs +53 -26
- package/package.json +6 -2
|
@@ -1,788 +1,788 @@
|
|
|
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, 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
|
-
|
|
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 CountrySettingService {
|
|
97
|
-
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
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
|
-
|
|
122
|
-
/**
|
|
123
|
-
* @returns
|
|
124
|
-
* @throws ApiError
|
|
125
|
-
*/
|
|
126
|
-
public getApiSettingServiceCountrySettings(): CancelablePromise<GetApiSettingServiceCountrySettingsResponse> {
|
|
127
|
-
return this.httpRequest.request({
|
|
128
|
-
method: 'GET',
|
|
129
|
-
url: '/api/setting-service/country-settings',
|
|
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
|
-
* @returns unknown Success
|
|
143
|
-
* @throws ApiError
|
|
144
|
-
*/
|
|
145
|
-
public postApiSettingServiceCountrySettings(): CancelablePromise<PostApiSettingServiceCountrySettingsResponse> {
|
|
146
|
-
return this.httpRequest.request({
|
|
147
|
-
method: 'POST',
|
|
148
|
-
url: '/api/setting-service/country-settings',
|
|
149
|
-
errors: {
|
|
150
|
-
400: 'Bad Request',
|
|
151
|
-
401: 'Unauthorized',
|
|
152
|
-
403: 'Forbidden',
|
|
153
|
-
404: 'Not Found',
|
|
154
|
-
500: 'Server Error',
|
|
155
|
-
501: 'Server Error'
|
|
156
|
-
}
|
|
157
|
-
});
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
export class EmailSettingsService {
|
|
163
|
-
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* @returns
|
|
167
|
-
* @throws ApiError
|
|
168
|
-
*/
|
|
169
|
-
public getApiSettingManagementEmailing(): CancelablePromise<GetApiSettingManagementEmailingResponse> {
|
|
170
|
-
return this.httpRequest.request({
|
|
171
|
-
method: 'GET',
|
|
172
|
-
url: '/api/setting-management/emailing',
|
|
173
|
-
errors: {
|
|
174
|
-
400: 'Bad Request',
|
|
175
|
-
401: 'Unauthorized',
|
|
176
|
-
403: 'Forbidden',
|
|
177
|
-
404: 'Not Found',
|
|
178
|
-
500: 'Server Error',
|
|
179
|
-
501: 'Server Error'
|
|
180
|
-
}
|
|
181
|
-
});
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* @param data The data for the request.
|
|
186
|
-
* @param data.requestBody
|
|
187
|
-
* @returns unknown Success
|
|
188
|
-
* @throws ApiError
|
|
189
|
-
*/
|
|
190
|
-
public postApiSettingManagementEmailing(data: PostApiSettingManagementEmailingData = {}): CancelablePromise<PostApiSettingManagementEmailingResponse> {
|
|
191
|
-
return this.httpRequest.request({
|
|
192
|
-
method: 'POST',
|
|
193
|
-
url: '/api/setting-management/emailing',
|
|
194
|
-
body: data.requestBody,
|
|
195
|
-
mediaType: 'application/json',
|
|
196
|
-
errors: {
|
|
197
|
-
400: 'Bad Request',
|
|
198
|
-
401: 'Unauthorized',
|
|
199
|
-
403: 'Forbidden',
|
|
200
|
-
404: 'Not Found',
|
|
201
|
-
500: 'Server Error',
|
|
202
|
-
501: 'Server Error'
|
|
203
|
-
}
|
|
204
|
-
});
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
* @param data The data for the request.
|
|
209
|
-
* @param data.requestBody
|
|
210
|
-
* @returns unknown Success
|
|
211
|
-
* @throws ApiError
|
|
212
|
-
*/
|
|
213
|
-
public postApiSettingManagementEmailingSendTestEmail(data: PostApiSettingManagementEmailingSendTestEmailData = {}): CancelablePromise<PostApiSettingManagementEmailingSendTestEmailResponse> {
|
|
214
|
-
return this.httpRequest.request({
|
|
215
|
-
method: 'POST',
|
|
216
|
-
url: '/api/setting-management/emailing/send-test-email',
|
|
217
|
-
body: data.requestBody,
|
|
218
|
-
mediaType: 'application/json',
|
|
219
|
-
errors: {
|
|
220
|
-
400: 'Bad Request',
|
|
221
|
-
401: 'Unauthorized',
|
|
222
|
-
403: 'Forbidden',
|
|
223
|
-
404: 'Not Found',
|
|
224
|
-
500: 'Server Error',
|
|
225
|
-
501: 'Server Error'
|
|
226
|
-
}
|
|
227
|
-
});
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
}
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
|
|
549
|
-
export class SampleService {
|
|
550
|
-
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
551
|
-
|
|
552
|
-
/**
|
|
553
|
-
* @returns
|
|
554
|
-
* @throws ApiError
|
|
555
|
-
*/
|
|
556
|
-
public getApiSettingServiceSample(): CancelablePromise<GetApiSettingServiceSampleResponse> {
|
|
557
|
-
return this.httpRequest.request({
|
|
558
|
-
method: 'GET',
|
|
559
|
-
url: '/api/SettingService/sample',
|
|
560
|
-
errors: {
|
|
561
|
-
400: 'Bad Request',
|
|
562
|
-
401: 'Unauthorized',
|
|
563
|
-
403: 'Forbidden',
|
|
564
|
-
404: 'Not Found',
|
|
565
|
-
500: 'Server Error',
|
|
566
|
-
501: 'Server Error'
|
|
567
|
-
}
|
|
568
|
-
});
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
/**
|
|
572
|
-
* @returns
|
|
573
|
-
* @throws ApiError
|
|
574
|
-
*/
|
|
575
|
-
public getApiSettingServiceSampleAuthorized(): CancelablePromise<GetApiSettingServiceSampleAuthorizedResponse> {
|
|
576
|
-
return this.httpRequest.request({
|
|
577
|
-
method: 'GET',
|
|
578
|
-
url: '/api/SettingService/sample/authorized',
|
|
579
|
-
errors: {
|
|
580
|
-
400: 'Bad Request',
|
|
581
|
-
401: 'Unauthorized',
|
|
582
|
-
403: 'Forbidden',
|
|
583
|
-
404: 'Not Found',
|
|
584
|
-
500: 'Server Error',
|
|
585
|
-
501: 'Server Error'
|
|
586
|
-
}
|
|
587
|
-
});
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
export class TimeZoneSettingsService {
|
|
593
|
-
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
594
|
-
|
|
595
|
-
/**
|
|
596
|
-
* @returns string Success
|
|
597
|
-
* @throws ApiError
|
|
598
|
-
*/
|
|
599
|
-
public getApiSettingManagementTimezone(): CancelablePromise<GetApiSettingManagementTimezoneResponse> {
|
|
600
|
-
return this.httpRequest.request({
|
|
601
|
-
method: 'GET',
|
|
602
|
-
url: '/api/setting-management/timezone',
|
|
603
|
-
errors: {
|
|
604
|
-
400: 'Bad Request',
|
|
605
|
-
401: 'Unauthorized',
|
|
606
|
-
403: 'Forbidden',
|
|
607
|
-
404: 'Not Found',
|
|
608
|
-
500: 'Server Error',
|
|
609
|
-
501: 'Server Error'
|
|
610
|
-
}
|
|
611
|
-
});
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
/**
|
|
615
|
-
* @param data The data for the request.
|
|
616
|
-
* @param data.timezone
|
|
617
|
-
* @returns unknown Success
|
|
618
|
-
* @throws ApiError
|
|
619
|
-
*/
|
|
620
|
-
public postApiSettingManagementTimezone(data: PostApiSettingManagementTimezoneData = {}): CancelablePromise<PostApiSettingManagementTimezoneResponse> {
|
|
621
|
-
return this.httpRequest.request({
|
|
622
|
-
method: 'POST',
|
|
623
|
-
url: '/api/setting-management/timezone',
|
|
624
|
-
query: {
|
|
625
|
-
timezone: data.timezone
|
|
626
|
-
},
|
|
627
|
-
errors: {
|
|
628
|
-
400: 'Bad Request',
|
|
629
|
-
401: 'Unauthorized',
|
|
630
|
-
403: 'Forbidden',
|
|
631
|
-
404: 'Not Found',
|
|
632
|
-
500: 'Server Error',
|
|
633
|
-
501: 'Server Error'
|
|
634
|
-
}
|
|
635
|
-
});
|
|
636
|
-
}
|
|
637
|
-
|
|
638
|
-
/**
|
|
639
|
-
* @returns
|
|
640
|
-
* @throws ApiError
|
|
641
|
-
*/
|
|
642
|
-
public getApiSettingManagementTimezoneTimezones(): CancelablePromise<GetApiSettingManagementTimezoneTimezonesResponse> {
|
|
643
|
-
return this.httpRequest.request({
|
|
644
|
-
method: 'GET',
|
|
645
|
-
url: '/api/setting-management/timezone/timezones',
|
|
646
|
-
errors: {
|
|
647
|
-
400: 'Bad Request',
|
|
648
|
-
401: 'Unauthorized',
|
|
649
|
-
403: 'Forbidden',
|
|
650
|
-
404: 'Not Found',
|
|
651
|
-
500: 'Server Error',
|
|
652
|
-
501: 'Server Error'
|
|
653
|
-
}
|
|
654
|
-
});
|
|
655
|
-
}
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
|
|
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, 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
|
+
|
|
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 CountrySettingService {
|
|
97
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
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
|
+
|
|
122
|
+
/**
|
|
123
|
+
* @returns unknown Success
|
|
124
|
+
* @throws ApiError
|
|
125
|
+
*/
|
|
126
|
+
public getApiSettingServiceCountrySettings(): CancelablePromise<GetApiSettingServiceCountrySettingsResponse> {
|
|
127
|
+
return this.httpRequest.request({
|
|
128
|
+
method: 'GET',
|
|
129
|
+
url: '/api/setting-service/country-settings',
|
|
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
|
+
* @returns unknown Success
|
|
143
|
+
* @throws ApiError
|
|
144
|
+
*/
|
|
145
|
+
public postApiSettingServiceCountrySettings(): CancelablePromise<PostApiSettingServiceCountrySettingsResponse> {
|
|
146
|
+
return this.httpRequest.request({
|
|
147
|
+
method: 'POST',
|
|
148
|
+
url: '/api/setting-service/country-settings',
|
|
149
|
+
errors: {
|
|
150
|
+
400: 'Bad Request',
|
|
151
|
+
401: 'Unauthorized',
|
|
152
|
+
403: 'Forbidden',
|
|
153
|
+
404: 'Not Found',
|
|
154
|
+
500: 'Server Error',
|
|
155
|
+
501: 'Server Error'
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export class EmailSettingsService {
|
|
163
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* @returns unknown Success
|
|
167
|
+
* @throws ApiError
|
|
168
|
+
*/
|
|
169
|
+
public getApiSettingManagementEmailing(): CancelablePromise<GetApiSettingManagementEmailingResponse> {
|
|
170
|
+
return this.httpRequest.request({
|
|
171
|
+
method: 'GET',
|
|
172
|
+
url: '/api/setting-management/emailing',
|
|
173
|
+
errors: {
|
|
174
|
+
400: 'Bad Request',
|
|
175
|
+
401: 'Unauthorized',
|
|
176
|
+
403: 'Forbidden',
|
|
177
|
+
404: 'Not Found',
|
|
178
|
+
500: 'Server Error',
|
|
179
|
+
501: 'Server Error'
|
|
180
|
+
}
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* @param data The data for the request.
|
|
186
|
+
* @param data.requestBody
|
|
187
|
+
* @returns unknown Success
|
|
188
|
+
* @throws ApiError
|
|
189
|
+
*/
|
|
190
|
+
public postApiSettingManagementEmailing(data: PostApiSettingManagementEmailingData = {}): CancelablePromise<PostApiSettingManagementEmailingResponse> {
|
|
191
|
+
return this.httpRequest.request({
|
|
192
|
+
method: 'POST',
|
|
193
|
+
url: '/api/setting-management/emailing',
|
|
194
|
+
body: data.requestBody,
|
|
195
|
+
mediaType: 'application/json',
|
|
196
|
+
errors: {
|
|
197
|
+
400: 'Bad Request',
|
|
198
|
+
401: 'Unauthorized',
|
|
199
|
+
403: 'Forbidden',
|
|
200
|
+
404: 'Not Found',
|
|
201
|
+
500: 'Server Error',
|
|
202
|
+
501: 'Server Error'
|
|
203
|
+
}
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* @param data The data for the request.
|
|
209
|
+
* @param data.requestBody
|
|
210
|
+
* @returns unknown Success
|
|
211
|
+
* @throws ApiError
|
|
212
|
+
*/
|
|
213
|
+
public postApiSettingManagementEmailingSendTestEmail(data: PostApiSettingManagementEmailingSendTestEmailData = {}): CancelablePromise<PostApiSettingManagementEmailingSendTestEmailResponse> {
|
|
214
|
+
return this.httpRequest.request({
|
|
215
|
+
method: 'POST',
|
|
216
|
+
url: '/api/setting-management/emailing/send-test-email',
|
|
217
|
+
body: data.requestBody,
|
|
218
|
+
mediaType: 'application/json',
|
|
219
|
+
errors: {
|
|
220
|
+
400: 'Bad Request',
|
|
221
|
+
401: 'Unauthorized',
|
|
222
|
+
403: 'Forbidden',
|
|
223
|
+
404: 'Not Found',
|
|
224
|
+
500: 'Server Error',
|
|
225
|
+
501: 'Server Error'
|
|
226
|
+
}
|
|
227
|
+
});
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
}
|
|
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 unknown 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 unknown 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 unknown 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 unknown 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 unknown 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 unknown 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 unknown 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 unknown 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 unknown 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
|
+
|
|
549
|
+
export class SampleService {
|
|
550
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* @returns unknown Success
|
|
554
|
+
* @throws ApiError
|
|
555
|
+
*/
|
|
556
|
+
public getApiSettingServiceSample(): CancelablePromise<GetApiSettingServiceSampleResponse> {
|
|
557
|
+
return this.httpRequest.request({
|
|
558
|
+
method: 'GET',
|
|
559
|
+
url: '/api/SettingService/sample',
|
|
560
|
+
errors: {
|
|
561
|
+
400: 'Bad Request',
|
|
562
|
+
401: 'Unauthorized',
|
|
563
|
+
403: 'Forbidden',
|
|
564
|
+
404: 'Not Found',
|
|
565
|
+
500: 'Server Error',
|
|
566
|
+
501: 'Server Error'
|
|
567
|
+
}
|
|
568
|
+
});
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
* @returns unknown Success
|
|
573
|
+
* @throws ApiError
|
|
574
|
+
*/
|
|
575
|
+
public getApiSettingServiceSampleAuthorized(): CancelablePromise<GetApiSettingServiceSampleAuthorizedResponse> {
|
|
576
|
+
return this.httpRequest.request({
|
|
577
|
+
method: 'GET',
|
|
578
|
+
url: '/api/SettingService/sample/authorized',
|
|
579
|
+
errors: {
|
|
580
|
+
400: 'Bad Request',
|
|
581
|
+
401: 'Unauthorized',
|
|
582
|
+
403: 'Forbidden',
|
|
583
|
+
404: 'Not Found',
|
|
584
|
+
500: 'Server Error',
|
|
585
|
+
501: 'Server Error'
|
|
586
|
+
}
|
|
587
|
+
});
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
export class TimeZoneSettingsService {
|
|
593
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* @returns string Success
|
|
597
|
+
* @throws ApiError
|
|
598
|
+
*/
|
|
599
|
+
public getApiSettingManagementTimezone(): CancelablePromise<GetApiSettingManagementTimezoneResponse> {
|
|
600
|
+
return this.httpRequest.request({
|
|
601
|
+
method: 'GET',
|
|
602
|
+
url: '/api/setting-management/timezone',
|
|
603
|
+
errors: {
|
|
604
|
+
400: 'Bad Request',
|
|
605
|
+
401: 'Unauthorized',
|
|
606
|
+
403: 'Forbidden',
|
|
607
|
+
404: 'Not Found',
|
|
608
|
+
500: 'Server Error',
|
|
609
|
+
501: 'Server Error'
|
|
610
|
+
}
|
|
611
|
+
});
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* @param data The data for the request.
|
|
616
|
+
* @param data.timezone
|
|
617
|
+
* @returns unknown Success
|
|
618
|
+
* @throws ApiError
|
|
619
|
+
*/
|
|
620
|
+
public postApiSettingManagementTimezone(data: PostApiSettingManagementTimezoneData = {}): CancelablePromise<PostApiSettingManagementTimezoneResponse> {
|
|
621
|
+
return this.httpRequest.request({
|
|
622
|
+
method: 'POST',
|
|
623
|
+
url: '/api/setting-management/timezone',
|
|
624
|
+
query: {
|
|
625
|
+
timezone: data.timezone
|
|
626
|
+
},
|
|
627
|
+
errors: {
|
|
628
|
+
400: 'Bad Request',
|
|
629
|
+
401: 'Unauthorized',
|
|
630
|
+
403: 'Forbidden',
|
|
631
|
+
404: 'Not Found',
|
|
632
|
+
500: 'Server Error',
|
|
633
|
+
501: 'Server Error'
|
|
634
|
+
}
|
|
635
|
+
});
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* @returns unknown Success
|
|
640
|
+
* @throws ApiError
|
|
641
|
+
*/
|
|
642
|
+
public getApiSettingManagementTimezoneTimezones(): CancelablePromise<GetApiSettingManagementTimezoneTimezonesResponse> {
|
|
643
|
+
return this.httpRequest.request({
|
|
644
|
+
method: 'GET',
|
|
645
|
+
url: '/api/setting-management/timezone/timezones',
|
|
646
|
+
errors: {
|
|
647
|
+
400: 'Bad Request',
|
|
648
|
+
401: 'Unauthorized',
|
|
649
|
+
403: 'Forbidden',
|
|
650
|
+
404: 'Not Found',
|
|
651
|
+
500: 'Server Error',
|
|
652
|
+
501: 'Server Error'
|
|
653
|
+
}
|
|
654
|
+
});
|
|
655
|
+
}
|
|
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 unknown 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 unknown 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 unknown 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 unknown 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
|
+
|
|
788
788
|
}
|