@ayasofyazilim/saas 0.0.98 → 0.0.100
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/.github/workflows/release.yaml +12 -88
- package/FinanceService/FinanceServiceClient.ts +3 -0
- package/FinanceService/schemas.gen.ts +779 -160
- package/FinanceService/services.gen.ts +149 -15
- package/FinanceService/types.gen.ts +367 -45
- package/package.json +19 -10
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import type { CancelablePromise } from './core/CancelablePromise';
|
|
4
4
|
import type { BaseHttpRequest } from './core/BaseHttpRequest';
|
|
5
|
-
import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse, GetApiFinanceServiceVatStatementHeadersByIdData, GetApiFinanceServiceVatStatementHeadersByIdResponse, GetApiFinanceServiceVatStatementHeadersData, GetApiFinanceServiceVatStatementHeadersResponse,
|
|
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
6
|
|
|
7
7
|
export class AbpApiDefinitionService {
|
|
8
8
|
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
@@ -93,6 +93,117 @@ export class AbpApplicationLocalizationService {
|
|
|
93
93
|
|
|
94
94
|
}
|
|
95
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
|
+
|
|
96
207
|
export class VatStatementHeaderService {
|
|
97
208
|
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
98
209
|
|
|
@@ -120,6 +231,30 @@ export class VatStatementHeaderService {
|
|
|
120
231
|
});
|
|
121
232
|
}
|
|
122
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
|
+
|
|
123
258
|
/**
|
|
124
259
|
* @param data The data for the request.
|
|
125
260
|
* @param data.sorting
|
|
@@ -150,14 +285,18 @@ export class VatStatementHeaderService {
|
|
|
150
285
|
|
|
151
286
|
/**
|
|
152
287
|
* @param data The data for the request.
|
|
288
|
+
* @param data.merchantId
|
|
153
289
|
* @param data.requestBody
|
|
154
|
-
* @returns
|
|
290
|
+
* @returns UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDraftDto Success
|
|
155
291
|
* @throws ApiError
|
|
156
292
|
*/
|
|
157
|
-
public
|
|
293
|
+
public postApiFinanceServiceVatStatementHeadersFormDraftByMerchantId(data: PostApiFinanceServiceVatStatementHeadersFormDraftByMerchantIdData): CancelablePromise<PostApiFinanceServiceVatStatementHeadersFormDraftByMerchantIdResponse> {
|
|
158
294
|
return this.httpRequest.request({
|
|
159
295
|
method: 'POST',
|
|
160
|
-
url: '/api/finance-service/vat-statement-headers',
|
|
296
|
+
url: '/api/finance-service/vat-statement-headers/form-draft/{merchantId}',
|
|
297
|
+
path: {
|
|
298
|
+
merchantId: data.merchantId
|
|
299
|
+
},
|
|
161
300
|
body: data.requestBody,
|
|
162
301
|
mediaType: 'application/json',
|
|
163
302
|
errors: {
|
|
@@ -174,24 +313,19 @@ export class VatStatementHeaderService {
|
|
|
174
313
|
/**
|
|
175
314
|
* @param data The data for the request.
|
|
176
315
|
* @param data.merchantId
|
|
177
|
-
* @param data.
|
|
178
|
-
* @param data.month
|
|
179
|
-
* @param data.vAtStatementDate
|
|
316
|
+
* @param data.requestBody
|
|
180
317
|
* @returns UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDto Success
|
|
181
318
|
* @throws ApiError
|
|
182
319
|
*/
|
|
183
|
-
public
|
|
320
|
+
public postApiFinanceServiceVatStatementHeadersByMerchantId(data: PostApiFinanceServiceVatStatementHeadersByMerchantIdData): CancelablePromise<PostApiFinanceServiceVatStatementHeadersByMerchantIdResponse> {
|
|
184
321
|
return this.httpRequest.request({
|
|
185
|
-
method: '
|
|
186
|
-
url: '/api/finance-service/vat-statement-headers/
|
|
322
|
+
method: 'POST',
|
|
323
|
+
url: '/api/finance-service/vat-statement-headers/{merchantId}',
|
|
187
324
|
path: {
|
|
188
325
|
merchantId: data.merchantId
|
|
189
326
|
},
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
month: data.month,
|
|
193
|
-
vATStatementDate: data.vAtStatementDate
|
|
194
|
-
},
|
|
327
|
+
body: data.requestBody,
|
|
328
|
+
mediaType: 'application/json',
|
|
195
329
|
errors: {
|
|
196
330
|
400: 'Bad Request',
|
|
197
331
|
401: 'Unauthorized',
|