@ayasofyazilim/saas 0.0.108 → 0.0.110

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.
@@ -1,340 +1,324 @@
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, GetApiFinanceServiceRebateStatementHeadersByIdData, GetApiFinanceServiceRebateStatementHeadersByIdResponse, GetApiFinanceServiceRebateStatementHeadersData, GetApiFinanceServiceRebateStatementHeadersResponse, PostApiFinanceServiceRebateStatementHeadersFormDraftByMerchantIdData, PostApiFinanceServiceRebateStatementHeadersFormDraftByMerchantIdResponse, PostApiFinanceServiceRebateStatementHeadersByMerchantIdData, PostApiFinanceServiceRebateStatementHeadersByMerchantIdResponse, GetApiFinanceServiceVatStatementHeadersByIdData, GetApiFinanceServiceVatStatementHeadersByIdResponse, GetApiFinanceServiceVatStatementHeadersByIdBasicInformationData, GetApiFinanceServiceVatStatementHeadersByIdBasicInformationResponse, GetApiFinanceServiceVatStatementHeadersData, GetApiFinanceServiceVatStatementHeadersResponse, PostApiFinanceServiceVatStatementHeadersFormDraftByMerchantIdData, PostApiFinanceServiceVatStatementHeadersFormDraftByMerchantIdResponse, PostApiFinanceServiceVatStatementHeadersByMerchantIdData, PostApiFinanceServiceVatStatementHeadersByMerchantIdResponse } 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 Volo_Abp_Http_Modeling_ApplicationApiDescriptionModel 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 Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto 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 Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationDto 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 RebateStatementHeaderService {
97
- constructor(public readonly httpRequest: BaseHttpRequest) { }
98
-
99
- /**
100
- * @param data The data for the request.
101
- * @param data.id
102
- * @returns UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHeaderDetailDto Success
103
- * @throws ApiError
104
- */
105
- public getApiFinanceServiceRebateStatementHeadersById(data: GetApiFinanceServiceRebateStatementHeadersByIdData): CancelablePromise<GetApiFinanceServiceRebateStatementHeadersByIdResponse> {
106
- return this.httpRequest.request({
107
- method: 'GET',
108
- url: '/api/finance-service/rebate-statement-headers/{id}',
109
- path: {
110
- id: data.id
111
- },
112
- errors: {
113
- 400: 'Bad Request',
114
- 401: 'Unauthorized',
115
- 403: 'Forbidden',
116
- 404: 'Not Found',
117
- 500: 'Server Error',
118
- 501: 'Server Error'
119
- }
120
- });
121
- }
122
-
123
- /**
124
- * @param data The data for the request.
125
- * @param data.sorting
126
- * @param data.skipCount
127
- * @param data.maxResultCount
128
- * @returns PagedResultDto_RebateStatementHeaderForListDto Success
129
- * @throws ApiError
130
- */
131
- public getApiFinanceServiceRebateStatementHeaders(data: GetApiFinanceServiceRebateStatementHeadersData = {}): CancelablePromise<GetApiFinanceServiceRebateStatementHeadersResponse> {
132
- return this.httpRequest.request({
133
- method: 'GET',
134
- url: '/api/finance-service/rebate-statement-headers',
135
- query: {
136
- Sorting: data.sorting,
137
- SkipCount: data.skipCount,
138
- MaxResultCount: data.maxResultCount
139
- },
140
- errors: {
141
- 400: 'Bad Request',
142
- 401: 'Unauthorized',
143
- 403: 'Forbidden',
144
- 404: 'Not Found',
145
- 500: 'Server Error',
146
- 501: 'Server Error'
147
- }
148
- });
149
- }
150
-
151
- /**
152
- * @param data The data for the request.
153
- * @param data.merchantId
154
- * @param data.requestBody
155
- * @returns UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHeaderDraftDto Success
156
- * @throws ApiError
157
- */
158
- public postApiFinanceServiceRebateStatementHeadersFormDraftByMerchantId(data: PostApiFinanceServiceRebateStatementHeadersFormDraftByMerchantIdData): CancelablePromise<PostApiFinanceServiceRebateStatementHeadersFormDraftByMerchantIdResponse> {
159
- return this.httpRequest.request({
160
- method: 'POST',
161
- url: '/api/finance-service/rebate-statement-headers/form-draft/{merchantId}',
162
- path: {
163
- merchantId: data.merchantId
164
- },
165
- body: data.requestBody,
166
- mediaType: 'application/json',
167
- errors: {
168
- 400: 'Bad Request',
169
- 401: 'Unauthorized',
170
- 403: 'Forbidden',
171
- 404: 'Not Found',
172
- 500: 'Server Error',
173
- 501: 'Server Error'
174
- }
175
- });
176
- }
177
-
178
- /**
179
- * @param data The data for the request.
180
- * @param data.merchantId
181
- * @param data.requestBody
182
- * @returns UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHeaderDto Success
183
- * @throws ApiError
184
- */
185
- public postApiFinanceServiceRebateStatementHeadersByMerchantId(data: PostApiFinanceServiceRebateStatementHeadersByMerchantIdData): CancelablePromise<PostApiFinanceServiceRebateStatementHeadersByMerchantIdResponse> {
186
- return this.httpRequest.request({
187
- method: 'POST',
188
- url: '/api/finance-service/rebate-statement-headers/{merchantId}',
189
- path: {
190
- merchantId: data.merchantId
191
- },
192
- body: data.requestBody,
193
- mediaType: 'application/json',
194
- errors: {
195
- 400: 'Bad Request',
196
- 401: 'Unauthorized',
197
- 403: 'Forbidden',
198
- 404: 'Not Found',
199
- 500: 'Server Error',
200
- 501: 'Server Error'
201
- }
202
- });
203
- }
204
-
205
- }
206
-
207
- export class VatStatementHeaderService {
208
- constructor(public readonly httpRequest: BaseHttpRequest) { }
209
-
210
- /**
211
- * @param data The data for the request.
212
- * @param data.id
213
- * @returns UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDetailDto Success
214
- * @throws ApiError
215
- */
216
- public getApiFinanceServiceVatStatementHeadersById(data: GetApiFinanceServiceVatStatementHeadersByIdData): CancelablePromise<GetApiFinanceServiceVatStatementHeadersByIdResponse> {
217
- return this.httpRequest.request({
218
- method: 'GET',
219
- url: '/api/finance-service/vat-statement-headers/{id}',
220
- path: {
221
- id: data.id
222
- },
223
- errors: {
224
- 400: 'Bad Request',
225
- 401: 'Unauthorized',
226
- 403: 'Forbidden',
227
- 404: 'Not Found',
228
- 500: 'Server Error',
229
- 501: 'Server Error'
230
- }
231
- });
232
- }
233
-
234
- /**
235
- * @param data The data for the request.
236
- * @param data.id
237
- * @returns UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderBasicInformationDto Success
238
- * @throws ApiError
239
- */
240
- public getApiFinanceServiceVatStatementHeadersByIdBasicInformation(data: GetApiFinanceServiceVatStatementHeadersByIdBasicInformationData): CancelablePromise<GetApiFinanceServiceVatStatementHeadersByIdBasicInformationResponse> {
241
- return this.httpRequest.request({
242
- method: 'GET',
243
- url: '/api/finance-service/vat-statement-headers/{id}/basic-information',
244
- path: {
245
- id: data.id
246
- },
247
- errors: {
248
- 400: 'Bad Request',
249
- 401: 'Unauthorized',
250
- 403: 'Forbidden',
251
- 404: 'Not Found',
252
- 500: 'Server Error',
253
- 501: 'Server Error'
254
- }
255
- });
256
- }
257
-
258
- /**
259
- * @param data The data for the request.
260
- * @param data.sorting
261
- * @param data.skipCount
262
- * @param data.maxResultCount
263
- * @returns PagedResultDto_VATStatementHeaderForListDto Success
264
- * @throws ApiError
265
- */
266
- public getApiFinanceServiceVatStatementHeaders(data: GetApiFinanceServiceVatStatementHeadersData = {}): CancelablePromise<GetApiFinanceServiceVatStatementHeadersResponse> {
267
- return this.httpRequest.request({
268
- method: 'GET',
269
- url: '/api/finance-service/vat-statement-headers',
270
- query: {
271
- Sorting: data.sorting,
272
- SkipCount: data.skipCount,
273
- MaxResultCount: data.maxResultCount
274
- },
275
- errors: {
276
- 400: 'Bad Request',
277
- 401: 'Unauthorized',
278
- 403: 'Forbidden',
279
- 404: 'Not Found',
280
- 500: 'Server Error',
281
- 501: 'Server Error'
282
- }
283
- });
284
- }
285
-
286
- /**
287
- * @param data The data for the request.
288
- * @param data.merchantId
289
- * @param data.requestBody
290
- * @returns UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDraftDto Success
291
- * @throws ApiError
292
- */
293
- public postApiFinanceServiceVatStatementHeadersFormDraftByMerchantId(data: PostApiFinanceServiceVatStatementHeadersFormDraftByMerchantIdData): CancelablePromise<PostApiFinanceServiceVatStatementHeadersFormDraftByMerchantIdResponse> {
294
- return this.httpRequest.request({
295
- method: 'POST',
296
- url: '/api/finance-service/vat-statement-headers/form-draft/{merchantId}',
297
- path: {
298
- merchantId: data.merchantId
299
- },
300
- body: data.requestBody,
301
- mediaType: 'application/json',
302
- errors: {
303
- 400: 'Bad Request',
304
- 401: 'Unauthorized',
305
- 403: 'Forbidden',
306
- 404: 'Not Found',
307
- 500: 'Server Error',
308
- 501: 'Server Error'
309
- }
310
- });
311
- }
312
-
313
- /**
314
- * @param data The data for the request.
315
- * @param data.merchantId
316
- * @param data.requestBody
317
- * @returns UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDto Success
318
- * @throws ApiError
319
- */
320
- public postApiFinanceServiceVatStatementHeadersByMerchantId(data: PostApiFinanceServiceVatStatementHeadersByMerchantIdData): CancelablePromise<PostApiFinanceServiceVatStatementHeadersByMerchantIdResponse> {
321
- return this.httpRequest.request({
322
- method: 'POST',
323
- url: '/api/finance-service/vat-statement-headers/{merchantId}',
324
- path: {
325
- merchantId: data.merchantId
326
- },
327
- body: data.requestBody,
328
- mediaType: 'application/json',
329
- errors: {
330
- 400: 'Bad Request',
331
- 401: 'Unauthorized',
332
- 403: 'Forbidden',
333
- 404: 'Not Found',
334
- 500: 'Server Error',
335
- 501: 'Server Error'
336
- }
337
- });
338
- }
339
-
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, GetApiFinanceServiceRebateStatementHeadersByIdData, GetApiFinanceServiceRebateStatementHeadersByIdResponse, GetApiFinanceServiceRebateStatementHeadersData, GetApiFinanceServiceRebateStatementHeadersResponse, PostApiFinanceServiceRebateStatementHeadersData, PostApiFinanceServiceRebateStatementHeadersResponse, PostApiFinanceServiceRebateStatementHeadersFormDraftData, PostApiFinanceServiceRebateStatementHeadersFormDraftResponse, GetApiFinanceServiceVatStatementHeadersByIdData, GetApiFinanceServiceVatStatementHeadersByIdResponse, GetApiFinanceServiceVatStatementHeadersByIdBasicInformationData, GetApiFinanceServiceVatStatementHeadersByIdBasicInformationResponse, GetApiFinanceServiceVatStatementHeadersData, GetApiFinanceServiceVatStatementHeadersResponse, PostApiFinanceServiceVatStatementHeadersData, PostApiFinanceServiceVatStatementHeadersResponse, PostApiFinanceServiceVatStatementHeadersFormDraftData, PostApiFinanceServiceVatStatementHeadersFormDraftResponse } 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 RebateStatementHeaderService {
97
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
98
+
99
+ /**
100
+ * @param data The data for the request.
101
+ * @param data.id
102
+ * @returns unknown Success
103
+ * @throws ApiError
104
+ */
105
+ public getApiFinanceServiceRebateStatementHeadersById(data: GetApiFinanceServiceRebateStatementHeadersByIdData): CancelablePromise<GetApiFinanceServiceRebateStatementHeadersByIdResponse> {
106
+ return this.httpRequest.request({
107
+ method: 'GET',
108
+ url: '/api/finance-service/rebate-statement-headers/{id}',
109
+ path: {
110
+ id: data.id
111
+ },
112
+ errors: {
113
+ 400: 'Bad Request',
114
+ 401: 'Unauthorized',
115
+ 403: 'Forbidden',
116
+ 404: 'Not Found',
117
+ 500: 'Server Error',
118
+ 501: 'Server Error'
119
+ }
120
+ });
121
+ }
122
+
123
+ /**
124
+ * @param data The data for the request.
125
+ * @param data.sorting
126
+ * @param data.skipCount
127
+ * @param data.maxResultCount
128
+ * @returns unknown Success
129
+ * @throws ApiError
130
+ */
131
+ public getApiFinanceServiceRebateStatementHeaders(data: GetApiFinanceServiceRebateStatementHeadersData = {}): CancelablePromise<GetApiFinanceServiceRebateStatementHeadersResponse> {
132
+ return this.httpRequest.request({
133
+ method: 'GET',
134
+ url: '/api/finance-service/rebate-statement-headers',
135
+ query: {
136
+ Sorting: data.sorting,
137
+ SkipCount: data.skipCount,
138
+ MaxResultCount: data.maxResultCount
139
+ },
140
+ errors: {
141
+ 400: 'Bad Request',
142
+ 401: 'Unauthorized',
143
+ 403: 'Forbidden',
144
+ 404: 'Not Found',
145
+ 500: 'Server Error',
146
+ 501: 'Server Error'
147
+ }
148
+ });
149
+ }
150
+
151
+ /**
152
+ * @param data The data for the request.
153
+ * @param data.requestBody
154
+ * @returns unknown Success
155
+ * @throws ApiError
156
+ */
157
+ public postApiFinanceServiceRebateStatementHeaders(data: PostApiFinanceServiceRebateStatementHeadersData): CancelablePromise<PostApiFinanceServiceRebateStatementHeadersResponse> {
158
+ return this.httpRequest.request({
159
+ method: 'POST',
160
+ url: '/api/finance-service/rebate-statement-headers',
161
+ body: data.requestBody,
162
+ mediaType: 'application/json',
163
+ errors: {
164
+ 400: 'Bad Request',
165
+ 401: 'Unauthorized',
166
+ 403: 'Forbidden',
167
+ 404: 'Not Found',
168
+ 500: 'Server Error',
169
+ 501: 'Server Error'
170
+ }
171
+ });
172
+ }
173
+
174
+ /**
175
+ * @param data The data for the request.
176
+ * @param data.requestBody
177
+ * @returns unknown Success
178
+ * @throws ApiError
179
+ */
180
+ public postApiFinanceServiceRebateStatementHeadersFormDraft(data: PostApiFinanceServiceRebateStatementHeadersFormDraftData): CancelablePromise<PostApiFinanceServiceRebateStatementHeadersFormDraftResponse> {
181
+ return this.httpRequest.request({
182
+ method: 'POST',
183
+ url: '/api/finance-service/rebate-statement-headers/form-draft',
184
+ body: data.requestBody,
185
+ mediaType: 'application/json',
186
+ errors: {
187
+ 400: 'Bad Request',
188
+ 401: 'Unauthorized',
189
+ 403: 'Forbidden',
190
+ 404: 'Not Found',
191
+ 500: 'Server Error',
192
+ 501: 'Server Error'
193
+ }
194
+ });
195
+ }
196
+
197
+ }
198
+
199
+ export class VatStatementHeaderService {
200
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
201
+
202
+ /**
203
+ * @param data The data for the request.
204
+ * @param data.id
205
+ * @returns unknown Success
206
+ * @throws ApiError
207
+ */
208
+ public getApiFinanceServiceVatStatementHeadersById(data: GetApiFinanceServiceVatStatementHeadersByIdData): CancelablePromise<GetApiFinanceServiceVatStatementHeadersByIdResponse> {
209
+ return this.httpRequest.request({
210
+ method: 'GET',
211
+ url: '/api/finance-service/vat-statement-headers/{id}',
212
+ path: {
213
+ id: data.id
214
+ },
215
+ errors: {
216
+ 400: 'Bad Request',
217
+ 401: 'Unauthorized',
218
+ 403: 'Forbidden',
219
+ 404: 'Not Found',
220
+ 500: 'Server Error',
221
+ 501: 'Server Error'
222
+ }
223
+ });
224
+ }
225
+
226
+ /**
227
+ * @param data The data for the request.
228
+ * @param data.id
229
+ * @returns unknown Success
230
+ * @throws ApiError
231
+ */
232
+ public getApiFinanceServiceVatStatementHeadersByIdBasicInformation(data: GetApiFinanceServiceVatStatementHeadersByIdBasicInformationData): CancelablePromise<GetApiFinanceServiceVatStatementHeadersByIdBasicInformationResponse> {
233
+ return this.httpRequest.request({
234
+ method: 'GET',
235
+ url: '/api/finance-service/vat-statement-headers/{id}/basic-information',
236
+ path: {
237
+ id: data.id
238
+ },
239
+ errors: {
240
+ 400: 'Bad Request',
241
+ 401: 'Unauthorized',
242
+ 403: 'Forbidden',
243
+ 404: 'Not Found',
244
+ 500: 'Server Error',
245
+ 501: 'Server Error'
246
+ }
247
+ });
248
+ }
249
+
250
+ /**
251
+ * @param data The data for the request.
252
+ * @param data.sorting
253
+ * @param data.skipCount
254
+ * @param data.maxResultCount
255
+ * @returns unknown Success
256
+ * @throws ApiError
257
+ */
258
+ public getApiFinanceServiceVatStatementHeaders(data: GetApiFinanceServiceVatStatementHeadersData = {}): CancelablePromise<GetApiFinanceServiceVatStatementHeadersResponse> {
259
+ return this.httpRequest.request({
260
+ method: 'GET',
261
+ url: '/api/finance-service/vat-statement-headers',
262
+ query: {
263
+ Sorting: data.sorting,
264
+ SkipCount: data.skipCount,
265
+ MaxResultCount: data.maxResultCount
266
+ },
267
+ errors: {
268
+ 400: 'Bad Request',
269
+ 401: 'Unauthorized',
270
+ 403: 'Forbidden',
271
+ 404: 'Not Found',
272
+ 500: 'Server Error',
273
+ 501: 'Server Error'
274
+ }
275
+ });
276
+ }
277
+
278
+ /**
279
+ * @param data The data for the request.
280
+ * @param data.requestBody
281
+ * @returns unknown Success
282
+ * @throws ApiError
283
+ */
284
+ public postApiFinanceServiceVatStatementHeaders(data: PostApiFinanceServiceVatStatementHeadersData): CancelablePromise<PostApiFinanceServiceVatStatementHeadersResponse> {
285
+ return this.httpRequest.request({
286
+ method: 'POST',
287
+ url: '/api/finance-service/vat-statement-headers',
288
+ body: data.requestBody,
289
+ mediaType: 'application/json',
290
+ errors: {
291
+ 400: 'Bad Request',
292
+ 401: 'Unauthorized',
293
+ 403: 'Forbidden',
294
+ 404: 'Not Found',
295
+ 500: 'Server Error',
296
+ 501: 'Server Error'
297
+ }
298
+ });
299
+ }
300
+
301
+ /**
302
+ * @param data The data for the request.
303
+ * @param data.requestBody
304
+ * @returns unknown Success
305
+ * @throws ApiError
306
+ */
307
+ public postApiFinanceServiceVatStatementHeadersFormDraft(data: PostApiFinanceServiceVatStatementHeadersFormDraftData): CancelablePromise<PostApiFinanceServiceVatStatementHeadersFormDraftResponse> {
308
+ return this.httpRequest.request({
309
+ method: 'POST',
310
+ url: '/api/finance-service/vat-statement-headers/form-draft',
311
+ body: data.requestBody,
312
+ mediaType: 'application/json',
313
+ errors: {
314
+ 400: 'Bad Request',
315
+ 401: 'Unauthorized',
316
+ 403: 'Forbidden',
317
+ 404: 'Not Found',
318
+ 500: 'Server Error',
319
+ 501: 'Server Error'
320
+ }
321
+ });
322
+ }
323
+
340
324
  }