@ayasofyazilim/saas 0.0.64 → 0.0.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CRMService/CRMServiceClient.ts +65 -65
- package/CRMService/schemas.gen.ts +18542 -18476
- package/CRMService/services.gen.ts +2636 -2548
- package/CRMService/types.gen.ts +5238 -5104
- package/ExportValidationService/ExportValidationServiceClient.ts +44 -44
- package/ExportValidationService/core/ApiError.ts +20 -20
- package/ExportValidationService/core/ApiRequestOptions.ts +12 -12
- package/ExportValidationService/core/ApiResult.ts +6 -6
- package/ExportValidationService/core/BaseHttpRequest.ts +9 -9
- package/ExportValidationService/core/CancelablePromise.ts +125 -125
- package/ExportValidationService/core/FetchHttpRequest.ts +21 -21
- package/ExportValidationService/core/OpenAPI.ts +55 -55
- package/ExportValidationService/core/request.ts +340 -340
- package/ExportValidationService/index.ts +8 -8
- package/ExportValidationService/schemas.gen.ts +2 -77
- package/ExportValidationService/services.gen.ts +12 -0
- package/ExportValidationService/types.gen.ts +7 -9
- package/LocationService/schemas.gen.ts +6635 -6635
- package/LocationService/services.gen.ts +1797 -1797
- package/LocationService/types.gen.ts +3738 -3738
- package/TagService/schemas.gen.ts +5014 -5014
- package/TagService/services.gen.ts +310 -310
- package/TagService/types.gen.ts +990 -990
- package/package.json +1 -1
|
@@ -1,311 +1,311 @@
|
|
|
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, PostApiTagServiceTagData, PostApiTagServiceTagResponse, GetApiTagServiceTagData, GetApiTagServiceTagResponse, GetApiTagServiceTagByIdDetailData, GetApiTagServiceTagByIdDetailResponse, GetApiTagServiceTagTagsSumData, GetApiTagServiceTagTagsSumResponse, GetApiTagServiceTagSummaryData, GetApiTagServiceTagSummaryResponse, PutApiTagServiceTagTagsRefundData, PutApiTagServiceTagTagsRefundResponse } 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 TagService {
|
|
97
|
-
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* @param data The data for the request.
|
|
101
|
-
* @param data.requestBody
|
|
102
|
-
* @returns UniRefund_TagService_Tags_TagDto Success
|
|
103
|
-
* @throws ApiError
|
|
104
|
-
*/
|
|
105
|
-
public postApiTagServiceTag(data: PostApiTagServiceTagData = {}): CancelablePromise<PostApiTagServiceTagResponse> {
|
|
106
|
-
return this.httpRequest.request({
|
|
107
|
-
method: 'POST',
|
|
108
|
-
url: '/api/tag-service/Tag',
|
|
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
|
-
* @param data The data for the request.
|
|
124
|
-
* @param data.tagNumber
|
|
125
|
-
* @param data.invoiceNumber
|
|
126
|
-
* @param data.travellerFullName
|
|
127
|
-
* @param data.travellerDocumentNumber
|
|
128
|
-
* @param data.issuedStartDate
|
|
129
|
-
* @param data.issuedEndDate
|
|
130
|
-
* @param data.exportStartDate
|
|
131
|
-
* @param data.exportEndDate
|
|
132
|
-
* @param data.paidStartDate
|
|
133
|
-
* @param data.paidEndDate
|
|
134
|
-
* @param data.travellerIds
|
|
135
|
-
* @param data.merchantIds
|
|
136
|
-
* @param data.statuses
|
|
137
|
-
* @param data.refundTypes
|
|
138
|
-
* @param data.sorting
|
|
139
|
-
* @param data.skipCount
|
|
140
|
-
* @param data.maxResultCount
|
|
141
|
-
* @returns TagPagedAndSortedResultResponseDto_TagListItemDto Success
|
|
142
|
-
* @throws ApiError
|
|
143
|
-
*/
|
|
144
|
-
public getApiTagServiceTag(data: GetApiTagServiceTagData = {}): CancelablePromise<GetApiTagServiceTagResponse> {
|
|
145
|
-
return this.httpRequest.request({
|
|
146
|
-
method: 'GET',
|
|
147
|
-
url: '/api/tag-service/Tag',
|
|
148
|
-
query: {
|
|
149
|
-
TagNumber: data.tagNumber,
|
|
150
|
-
InvoiceNumber: data.invoiceNumber,
|
|
151
|
-
TravellerFullName: data.travellerFullName,
|
|
152
|
-
TravellerDocumentNumber: data.travellerDocumentNumber,
|
|
153
|
-
IssuedStartDate: data.issuedStartDate,
|
|
154
|
-
IssuedEndDate: data.issuedEndDate,
|
|
155
|
-
ExportStartDate: data.exportStartDate,
|
|
156
|
-
ExportEndDate: data.exportEndDate,
|
|
157
|
-
PaidStartDate: data.paidStartDate,
|
|
158
|
-
PaidEndDate: data.paidEndDate,
|
|
159
|
-
TravellerIds: data.travellerIds,
|
|
160
|
-
MerchantIds: data.merchantIds,
|
|
161
|
-
Statuses: data.statuses,
|
|
162
|
-
RefundTypes: data.refundTypes,
|
|
163
|
-
Sorting: data.sorting,
|
|
164
|
-
SkipCount: data.skipCount,
|
|
165
|
-
MaxResultCount: data.maxResultCount
|
|
166
|
-
},
|
|
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.id
|
|
181
|
-
* @returns UniRefund_TagService_Tags_TagDetailDto Success
|
|
182
|
-
* @throws ApiError
|
|
183
|
-
*/
|
|
184
|
-
public getApiTagServiceTagByIdDetail(data: GetApiTagServiceTagByIdDetailData): CancelablePromise<GetApiTagServiceTagByIdDetailResponse> {
|
|
185
|
-
return this.httpRequest.request({
|
|
186
|
-
method: 'GET',
|
|
187
|
-
url: '/api/tag-service/Tag/{id}/detail',
|
|
188
|
-
path: {
|
|
189
|
-
id: data.id
|
|
190
|
-
},
|
|
191
|
-
errors: {
|
|
192
|
-
400: 'Bad Request',
|
|
193
|
-
401: 'Unauthorized',
|
|
194
|
-
403: 'Forbidden',
|
|
195
|
-
404: 'Not Found',
|
|
196
|
-
500: 'Server Error',
|
|
197
|
-
501: 'Server Error'
|
|
198
|
-
}
|
|
199
|
-
});
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
/**
|
|
203
|
-
* @param data The data for the request.
|
|
204
|
-
* @param data.tagIds
|
|
205
|
-
* @returns UniRefund_TagService_Tags_SumTagsResponseDto Success
|
|
206
|
-
* @throws ApiError
|
|
207
|
-
*/
|
|
208
|
-
public getApiTagServiceTagTagsSum(data: GetApiTagServiceTagTagsSumData = {}): CancelablePromise<GetApiTagServiceTagTagsSumResponse> {
|
|
209
|
-
return this.httpRequest.request({
|
|
210
|
-
method: 'GET',
|
|
211
|
-
url: '/api/tag-service/Tag/tags-sum',
|
|
212
|
-
query: {
|
|
213
|
-
tagIds: data.tagIds
|
|
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.tagNumber
|
|
229
|
-
* @param data.invoiceNumber
|
|
230
|
-
* @param data.travellerFullName
|
|
231
|
-
* @param data.travellerDocumentNumber
|
|
232
|
-
* @param data.issuedStartDate
|
|
233
|
-
* @param data.issuedEndDate
|
|
234
|
-
* @param data.exportStartDate
|
|
235
|
-
* @param data.exportEndDate
|
|
236
|
-
* @param data.paidStartDate
|
|
237
|
-
* @param data.paidEndDate
|
|
238
|
-
* @param data.travellerIds
|
|
239
|
-
* @param data.merchantIds
|
|
240
|
-
* @param data.statuses
|
|
241
|
-
* @param data.refundTypes
|
|
242
|
-
* @param data.sorting
|
|
243
|
-
* @param data.skipCount
|
|
244
|
-
* @param data.maxResultCount
|
|
245
|
-
* @returns UniRefund_TagService_Tags_TagListSummaryDto Success
|
|
246
|
-
* @throws ApiError
|
|
247
|
-
*/
|
|
248
|
-
public getApiTagServiceTagSummary(data: GetApiTagServiceTagSummaryData = {}): CancelablePromise<GetApiTagServiceTagSummaryResponse> {
|
|
249
|
-
return this.httpRequest.request({
|
|
250
|
-
method: 'GET',
|
|
251
|
-
url: '/api/tag-service/Tag/summary',
|
|
252
|
-
query: {
|
|
253
|
-
TagNumber: data.tagNumber,
|
|
254
|
-
InvoiceNumber: data.invoiceNumber,
|
|
255
|
-
TravellerFullName: data.travellerFullName,
|
|
256
|
-
TravellerDocumentNumber: data.travellerDocumentNumber,
|
|
257
|
-
IssuedStartDate: data.issuedStartDate,
|
|
258
|
-
IssuedEndDate: data.issuedEndDate,
|
|
259
|
-
ExportStartDate: data.exportStartDate,
|
|
260
|
-
ExportEndDate: data.exportEndDate,
|
|
261
|
-
PaidStartDate: data.paidStartDate,
|
|
262
|
-
PaidEndDate: data.paidEndDate,
|
|
263
|
-
TravellerIds: data.travellerIds,
|
|
264
|
-
MerchantIds: data.merchantIds,
|
|
265
|
-
Statuses: data.statuses,
|
|
266
|
-
RefundTypes: data.refundTypes,
|
|
267
|
-
Sorting: data.sorting,
|
|
268
|
-
SkipCount: data.skipCount,
|
|
269
|
-
MaxResultCount: data.maxResultCount
|
|
270
|
-
},
|
|
271
|
-
errors: {
|
|
272
|
-
400: 'Bad Request',
|
|
273
|
-
401: 'Unauthorized',
|
|
274
|
-
403: 'Forbidden',
|
|
275
|
-
404: 'Not Found',
|
|
276
|
-
500: 'Server Error',
|
|
277
|
-
501: 'Server Error'
|
|
278
|
-
}
|
|
279
|
-
});
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
/**
|
|
283
|
-
* @param data The data for the request.
|
|
284
|
-
* @param data.refundId
|
|
285
|
-
* @param data.refundType
|
|
286
|
-
* @param data.requestBody
|
|
287
|
-
* @returns unknown Success
|
|
288
|
-
* @throws ApiError
|
|
289
|
-
*/
|
|
290
|
-
public putApiTagServiceTagTagsRefund(data: PutApiTagServiceTagTagsRefundData = {}): CancelablePromise<PutApiTagServiceTagTagsRefundResponse> {
|
|
291
|
-
return this.httpRequest.request({
|
|
292
|
-
method: 'PUT',
|
|
293
|
-
url: '/api/tag-service/Tag/tags-refund',
|
|
294
|
-
query: {
|
|
295
|
-
refundId: data.refundId,
|
|
296
|
-
refundType: data.refundType
|
|
297
|
-
},
|
|
298
|
-
body: data.requestBody,
|
|
299
|
-
mediaType: 'application/json',
|
|
300
|
-
errors: {
|
|
301
|
-
400: 'Bad Request',
|
|
302
|
-
401: 'Unauthorized',
|
|
303
|
-
403: 'Forbidden',
|
|
304
|
-
404: 'Not Found',
|
|
305
|
-
500: 'Server Error',
|
|
306
|
-
501: 'Server Error'
|
|
307
|
-
}
|
|
308
|
-
});
|
|
309
|
-
}
|
|
310
|
-
|
|
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, PostApiTagServiceTagData, PostApiTagServiceTagResponse, GetApiTagServiceTagData, GetApiTagServiceTagResponse, GetApiTagServiceTagByIdDetailData, GetApiTagServiceTagByIdDetailResponse, GetApiTagServiceTagTagsSumData, GetApiTagServiceTagTagsSumResponse, GetApiTagServiceTagSummaryData, GetApiTagServiceTagSummaryResponse, PutApiTagServiceTagTagsRefundData, PutApiTagServiceTagTagsRefundResponse } 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 TagService {
|
|
97
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @param data The data for the request.
|
|
101
|
+
* @param data.requestBody
|
|
102
|
+
* @returns UniRefund_TagService_Tags_TagDto Success
|
|
103
|
+
* @throws ApiError
|
|
104
|
+
*/
|
|
105
|
+
public postApiTagServiceTag(data: PostApiTagServiceTagData = {}): CancelablePromise<PostApiTagServiceTagResponse> {
|
|
106
|
+
return this.httpRequest.request({
|
|
107
|
+
method: 'POST',
|
|
108
|
+
url: '/api/tag-service/Tag',
|
|
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
|
+
* @param data The data for the request.
|
|
124
|
+
* @param data.tagNumber
|
|
125
|
+
* @param data.invoiceNumber
|
|
126
|
+
* @param data.travellerFullName
|
|
127
|
+
* @param data.travellerDocumentNumber
|
|
128
|
+
* @param data.issuedStartDate
|
|
129
|
+
* @param data.issuedEndDate
|
|
130
|
+
* @param data.exportStartDate
|
|
131
|
+
* @param data.exportEndDate
|
|
132
|
+
* @param data.paidStartDate
|
|
133
|
+
* @param data.paidEndDate
|
|
134
|
+
* @param data.travellerIds
|
|
135
|
+
* @param data.merchantIds
|
|
136
|
+
* @param data.statuses
|
|
137
|
+
* @param data.refundTypes
|
|
138
|
+
* @param data.sorting
|
|
139
|
+
* @param data.skipCount
|
|
140
|
+
* @param data.maxResultCount
|
|
141
|
+
* @returns TagPagedAndSortedResultResponseDto_TagListItemDto Success
|
|
142
|
+
* @throws ApiError
|
|
143
|
+
*/
|
|
144
|
+
public getApiTagServiceTag(data: GetApiTagServiceTagData = {}): CancelablePromise<GetApiTagServiceTagResponse> {
|
|
145
|
+
return this.httpRequest.request({
|
|
146
|
+
method: 'GET',
|
|
147
|
+
url: '/api/tag-service/Tag',
|
|
148
|
+
query: {
|
|
149
|
+
TagNumber: data.tagNumber,
|
|
150
|
+
InvoiceNumber: data.invoiceNumber,
|
|
151
|
+
TravellerFullName: data.travellerFullName,
|
|
152
|
+
TravellerDocumentNumber: data.travellerDocumentNumber,
|
|
153
|
+
IssuedStartDate: data.issuedStartDate,
|
|
154
|
+
IssuedEndDate: data.issuedEndDate,
|
|
155
|
+
ExportStartDate: data.exportStartDate,
|
|
156
|
+
ExportEndDate: data.exportEndDate,
|
|
157
|
+
PaidStartDate: data.paidStartDate,
|
|
158
|
+
PaidEndDate: data.paidEndDate,
|
|
159
|
+
TravellerIds: data.travellerIds,
|
|
160
|
+
MerchantIds: data.merchantIds,
|
|
161
|
+
Statuses: data.statuses,
|
|
162
|
+
RefundTypes: data.refundTypes,
|
|
163
|
+
Sorting: data.sorting,
|
|
164
|
+
SkipCount: data.skipCount,
|
|
165
|
+
MaxResultCount: data.maxResultCount
|
|
166
|
+
},
|
|
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.id
|
|
181
|
+
* @returns UniRefund_TagService_Tags_TagDetailDto Success
|
|
182
|
+
* @throws ApiError
|
|
183
|
+
*/
|
|
184
|
+
public getApiTagServiceTagByIdDetail(data: GetApiTagServiceTagByIdDetailData): CancelablePromise<GetApiTagServiceTagByIdDetailResponse> {
|
|
185
|
+
return this.httpRequest.request({
|
|
186
|
+
method: 'GET',
|
|
187
|
+
url: '/api/tag-service/Tag/{id}/detail',
|
|
188
|
+
path: {
|
|
189
|
+
id: data.id
|
|
190
|
+
},
|
|
191
|
+
errors: {
|
|
192
|
+
400: 'Bad Request',
|
|
193
|
+
401: 'Unauthorized',
|
|
194
|
+
403: 'Forbidden',
|
|
195
|
+
404: 'Not Found',
|
|
196
|
+
500: 'Server Error',
|
|
197
|
+
501: 'Server Error'
|
|
198
|
+
}
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* @param data The data for the request.
|
|
204
|
+
* @param data.tagIds
|
|
205
|
+
* @returns UniRefund_TagService_Tags_SumTagsResponseDto Success
|
|
206
|
+
* @throws ApiError
|
|
207
|
+
*/
|
|
208
|
+
public getApiTagServiceTagTagsSum(data: GetApiTagServiceTagTagsSumData = {}): CancelablePromise<GetApiTagServiceTagTagsSumResponse> {
|
|
209
|
+
return this.httpRequest.request({
|
|
210
|
+
method: 'GET',
|
|
211
|
+
url: '/api/tag-service/Tag/tags-sum',
|
|
212
|
+
query: {
|
|
213
|
+
tagIds: data.tagIds
|
|
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.tagNumber
|
|
229
|
+
* @param data.invoiceNumber
|
|
230
|
+
* @param data.travellerFullName
|
|
231
|
+
* @param data.travellerDocumentNumber
|
|
232
|
+
* @param data.issuedStartDate
|
|
233
|
+
* @param data.issuedEndDate
|
|
234
|
+
* @param data.exportStartDate
|
|
235
|
+
* @param data.exportEndDate
|
|
236
|
+
* @param data.paidStartDate
|
|
237
|
+
* @param data.paidEndDate
|
|
238
|
+
* @param data.travellerIds
|
|
239
|
+
* @param data.merchantIds
|
|
240
|
+
* @param data.statuses
|
|
241
|
+
* @param data.refundTypes
|
|
242
|
+
* @param data.sorting
|
|
243
|
+
* @param data.skipCount
|
|
244
|
+
* @param data.maxResultCount
|
|
245
|
+
* @returns UniRefund_TagService_Tags_TagListSummaryDto Success
|
|
246
|
+
* @throws ApiError
|
|
247
|
+
*/
|
|
248
|
+
public getApiTagServiceTagSummary(data: GetApiTagServiceTagSummaryData = {}): CancelablePromise<GetApiTagServiceTagSummaryResponse> {
|
|
249
|
+
return this.httpRequest.request({
|
|
250
|
+
method: 'GET',
|
|
251
|
+
url: '/api/tag-service/Tag/summary',
|
|
252
|
+
query: {
|
|
253
|
+
TagNumber: data.tagNumber,
|
|
254
|
+
InvoiceNumber: data.invoiceNumber,
|
|
255
|
+
TravellerFullName: data.travellerFullName,
|
|
256
|
+
TravellerDocumentNumber: data.travellerDocumentNumber,
|
|
257
|
+
IssuedStartDate: data.issuedStartDate,
|
|
258
|
+
IssuedEndDate: data.issuedEndDate,
|
|
259
|
+
ExportStartDate: data.exportStartDate,
|
|
260
|
+
ExportEndDate: data.exportEndDate,
|
|
261
|
+
PaidStartDate: data.paidStartDate,
|
|
262
|
+
PaidEndDate: data.paidEndDate,
|
|
263
|
+
TravellerIds: data.travellerIds,
|
|
264
|
+
MerchantIds: data.merchantIds,
|
|
265
|
+
Statuses: data.statuses,
|
|
266
|
+
RefundTypes: data.refundTypes,
|
|
267
|
+
Sorting: data.sorting,
|
|
268
|
+
SkipCount: data.skipCount,
|
|
269
|
+
MaxResultCount: data.maxResultCount
|
|
270
|
+
},
|
|
271
|
+
errors: {
|
|
272
|
+
400: 'Bad Request',
|
|
273
|
+
401: 'Unauthorized',
|
|
274
|
+
403: 'Forbidden',
|
|
275
|
+
404: 'Not Found',
|
|
276
|
+
500: 'Server Error',
|
|
277
|
+
501: 'Server Error'
|
|
278
|
+
}
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* @param data The data for the request.
|
|
284
|
+
* @param data.refundId
|
|
285
|
+
* @param data.refundType
|
|
286
|
+
* @param data.requestBody
|
|
287
|
+
* @returns unknown Success
|
|
288
|
+
* @throws ApiError
|
|
289
|
+
*/
|
|
290
|
+
public putApiTagServiceTagTagsRefund(data: PutApiTagServiceTagTagsRefundData = {}): CancelablePromise<PutApiTagServiceTagTagsRefundResponse> {
|
|
291
|
+
return this.httpRequest.request({
|
|
292
|
+
method: 'PUT',
|
|
293
|
+
url: '/api/tag-service/Tag/tags-refund',
|
|
294
|
+
query: {
|
|
295
|
+
refundId: data.refundId,
|
|
296
|
+
refundType: data.refundType
|
|
297
|
+
},
|
|
298
|
+
body: data.requestBody,
|
|
299
|
+
mediaType: 'application/json',
|
|
300
|
+
errors: {
|
|
301
|
+
400: 'Bad Request',
|
|
302
|
+
401: 'Unauthorized',
|
|
303
|
+
403: 'Forbidden',
|
|
304
|
+
404: 'Not Found',
|
|
305
|
+
500: 'Server Error',
|
|
306
|
+
501: 'Server Error'
|
|
307
|
+
}
|
|
308
|
+
});
|
|
309
|
+
}
|
|
310
|
+
|
|
311
311
|
}
|