@ayasofyazilim/saas 0.0.72 → 0.0.74

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.
@@ -0,0 +1,300 @@
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, PostApiRefundServiceRefundsData, PostApiRefundServiceRefundsResponse, GetApiRefundServiceRefundsData, GetApiRefundServiceRefundsResponse, GetApiRefundServiceRefundsRefundPointNamesData, GetApiRefundServiceRefundsRefundPointNamesResponse, GetApiRefundServiceRefundsUserDevicesData, GetApiRefundServiceRefundsUserDevicesResponse, GetApiRefundServiceRefundsRefundStatisticsData, GetApiRefundServiceRefundsRefundStatisticsResponse } 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 RefundService {
97
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
98
+
99
+ /**
100
+ * @param data The data for the request.
101
+ * @param data.requestBody
102
+ * @returns UniRefund_RefundService_Refunds_CreateRefundResponseDto Success
103
+ * @throws ApiError
104
+ */
105
+ public postApiRefundServiceRefunds(data: PostApiRefundServiceRefundsData = {}): CancelablePromise<PostApiRefundServiceRefundsResponse> {
106
+ return this.httpRequest.request({
107
+ method: 'POST',
108
+ url: '/api/refund-service/refunds',
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.timeFilterTimeRange
125
+ * @param data.timeFilterStartDate
126
+ * @param data.timeFilterEndDate
127
+ * @param data.textFilterTextFilterType
128
+ * @param data.textFilterFilter
129
+ * @param data.statusesFilterRefundTypes
130
+ * @param data.statusesFilterStatuses
131
+ * @param data.statusesFilterReconciliationStatuses
132
+ * @param data.refundPointIds
133
+ * @param data.refundUserDeviceIds
134
+ * @param data.sorting
135
+ * @param data.skipCount
136
+ * @param data.maxResultCount
137
+ * @returns PagedResultDto_RefundListItem Success
138
+ * @throws ApiError
139
+ */
140
+ public getApiRefundServiceRefunds(data: GetApiRefundServiceRefundsData = {}): CancelablePromise<GetApiRefundServiceRefundsResponse> {
141
+ return this.httpRequest.request({
142
+ method: 'GET',
143
+ url: '/api/refund-service/refunds',
144
+ query: {
145
+ 'TimeFilter.TimeRange': data.timeFilterTimeRange,
146
+ 'TimeFilter.StartDate': data.timeFilterStartDate,
147
+ 'TimeFilter.EndDate': data.timeFilterEndDate,
148
+ 'TextFilter.TextFilterType': data.textFilterTextFilterType,
149
+ 'TextFilter.Filter': data.textFilterFilter,
150
+ 'StatusesFilter.RefundTypes': data.statusesFilterRefundTypes,
151
+ 'StatusesFilter.Statuses': data.statusesFilterStatuses,
152
+ 'StatusesFilter.ReconciliationStatuses': data.statusesFilterReconciliationStatuses,
153
+ RefundPointIds: data.refundPointIds,
154
+ RefundUserDeviceIds: data.refundUserDeviceIds,
155
+ Sorting: data.sorting,
156
+ SkipCount: data.skipCount,
157
+ MaxResultCount: data.maxResultCount
158
+ },
159
+ errors: {
160
+ 400: 'Bad Request',
161
+ 401: 'Unauthorized',
162
+ 403: 'Forbidden',
163
+ 404: 'Not Found',
164
+ 500: 'Server Error',
165
+ 501: 'Server Error'
166
+ }
167
+ });
168
+ }
169
+
170
+ /**
171
+ * @param data The data for the request.
172
+ * @param data.timeFilterTimeRange
173
+ * @param data.timeFilterStartDate
174
+ * @param data.timeFilterEndDate
175
+ * @param data.textFilterTextFilterType
176
+ * @param data.textFilterFilter
177
+ * @param data.statusesFilterRefundTypes
178
+ * @param data.statusesFilterStatuses
179
+ * @param data.statusesFilterReconciliationStatuses
180
+ * @param data.refundUserDeviceIds
181
+ * @param data.skipCount
182
+ * @param data.maxResultCount
183
+ * @returns PagedResultDto_RefundPointNameDto Success
184
+ * @throws ApiError
185
+ */
186
+ public getApiRefundServiceRefundsRefundPointNames(data: GetApiRefundServiceRefundsRefundPointNamesData = {}): CancelablePromise<GetApiRefundServiceRefundsRefundPointNamesResponse> {
187
+ return this.httpRequest.request({
188
+ method: 'GET',
189
+ url: '/api/refund-service/refunds/refund-point-names',
190
+ query: {
191
+ 'TimeFilter.TimeRange': data.timeFilterTimeRange,
192
+ 'TimeFilter.StartDate': data.timeFilterStartDate,
193
+ 'TimeFilter.EndDate': data.timeFilterEndDate,
194
+ 'TextFilter.TextFilterType': data.textFilterTextFilterType,
195
+ 'TextFilter.Filter': data.textFilterFilter,
196
+ 'StatusesFilter.RefundTypes': data.statusesFilterRefundTypes,
197
+ 'StatusesFilter.Statuses': data.statusesFilterStatuses,
198
+ 'StatusesFilter.ReconciliationStatuses': data.statusesFilterReconciliationStatuses,
199
+ RefundUserDeviceIds: data.refundUserDeviceIds,
200
+ SkipCount: data.skipCount,
201
+ MaxResultCount: data.maxResultCount
202
+ },
203
+ errors: {
204
+ 400: 'Bad Request',
205
+ 401: 'Unauthorized',
206
+ 403: 'Forbidden',
207
+ 404: 'Not Found',
208
+ 500: 'Server Error',
209
+ 501: 'Server Error'
210
+ }
211
+ });
212
+ }
213
+
214
+ /**
215
+ * @param data The data for the request.
216
+ * @param data.timeFilterTimeRange
217
+ * @param data.timeFilterStartDate
218
+ * @param data.timeFilterEndDate
219
+ * @param data.textFilterTextFilterType
220
+ * @param data.textFilterFilter
221
+ * @param data.statusesFilterRefundTypes
222
+ * @param data.statusesFilterStatuses
223
+ * @param data.statusesFilterReconciliationStatuses
224
+ * @param data.refundPointIds
225
+ * @param data.skipCount
226
+ * @param data.maxResultCount
227
+ * @returns PagedResultDto_UserDeviceNameDto Success
228
+ * @throws ApiError
229
+ */
230
+ public getApiRefundServiceRefundsUserDevices(data: GetApiRefundServiceRefundsUserDevicesData = {}): CancelablePromise<GetApiRefundServiceRefundsUserDevicesResponse> {
231
+ return this.httpRequest.request({
232
+ method: 'GET',
233
+ url: '/api/refund-service/refunds/user-devices',
234
+ query: {
235
+ 'TimeFilter.TimeRange': data.timeFilterTimeRange,
236
+ 'TimeFilter.StartDate': data.timeFilterStartDate,
237
+ 'TimeFilter.EndDate': data.timeFilterEndDate,
238
+ 'TextFilter.TextFilterType': data.textFilterTextFilterType,
239
+ 'TextFilter.Filter': data.textFilterFilter,
240
+ 'StatusesFilter.RefundTypes': data.statusesFilterRefundTypes,
241
+ 'StatusesFilter.Statuses': data.statusesFilterStatuses,
242
+ 'StatusesFilter.ReconciliationStatuses': data.statusesFilterReconciliationStatuses,
243
+ RefundPointIds: data.refundPointIds,
244
+ SkipCount: data.skipCount,
245
+ MaxResultCount: data.maxResultCount
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.timeFilterTimeRange
261
+ * @param data.timeFilterStartDate
262
+ * @param data.timeFilterEndDate
263
+ * @param data.textFilterTextFilterType
264
+ * @param data.textFilterFilter
265
+ * @param data.statusesFilterRefundTypes
266
+ * @param data.statusesFilterStatuses
267
+ * @param data.statusesFilterReconciliationStatuses
268
+ * @param data.refundPointIds
269
+ * @param data.refundUserDeviceIds
270
+ * @returns UniRefund_RefundService_Refunds_GetRefundStatistics_RefundStatistics Success
271
+ * @throws ApiError
272
+ */
273
+ public getApiRefundServiceRefundsRefundStatistics(data: GetApiRefundServiceRefundsRefundStatisticsData = {}): CancelablePromise<GetApiRefundServiceRefundsRefundStatisticsResponse> {
274
+ return this.httpRequest.request({
275
+ method: 'GET',
276
+ url: '/api/refund-service/refunds/refund-statistics',
277
+ query: {
278
+ 'TimeFilter.TimeRange': data.timeFilterTimeRange,
279
+ 'TimeFilter.StartDate': data.timeFilterStartDate,
280
+ 'TimeFilter.EndDate': data.timeFilterEndDate,
281
+ 'TextFilter.TextFilterType': data.textFilterTextFilterType,
282
+ 'TextFilter.Filter': data.textFilterFilter,
283
+ 'StatusesFilter.RefundTypes': data.statusesFilterRefundTypes,
284
+ 'StatusesFilter.Statuses': data.statusesFilterStatuses,
285
+ 'StatusesFilter.ReconciliationStatuses': data.statusesFilterReconciliationStatuses,
286
+ RefundPointIds: data.refundPointIds,
287
+ RefundUserDeviceIds: data.refundUserDeviceIds
288
+ },
289
+ errors: {
290
+ 400: 'Bad Request',
291
+ 401: 'Unauthorized',
292
+ 403: 'Forbidden',
293
+ 404: 'Not Found',
294
+ 500: 'Server Error',
295
+ 501: 'Server Error'
296
+ }
297
+ });
298
+ }
299
+
300
+ }