@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.
- package/FinanceService/FinanceServiceClient.ts +47 -47
- package/FinanceService/core/ApiError.ts +20 -20
- package/FinanceService/core/ApiRequestOptions.ts +20 -12
- package/FinanceService/core/ApiResult.ts +6 -6
- package/FinanceService/core/BaseHttpRequest.ts +9 -9
- package/FinanceService/core/CancelablePromise.ts +125 -125
- package/FinanceService/core/FetchHttpRequest.ts +21 -21
- package/FinanceService/core/OpenAPI.ts +55 -55
- package/FinanceService/core/request.ts +349 -340
- package/FinanceService/index.ts +10 -9
- package/FinanceService/schemas.gen.ts +5014 -5006
- package/FinanceService/{services.gen.ts → sdk.gen.ts} +323 -339
- package/FinanceService/types.gen.ts +2082 -1129
- 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,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,
|
|
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 RebateStatementHeaderService {
|
|
97
|
-
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* @param data The data for the request.
|
|
101
|
-
* @param data.id
|
|
102
|
-
* @returns
|
|
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
|
|
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.
|
|
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
|
-
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
|
}
|