@ayasofyazilim/saas 0.0.69 → 0.0.71
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 +11 -0
- package/.github/workflows/update.yaml +47 -0
- package/ContractService/schemas.gen.ts +73 -119
- package/ContractService/services.gen.ts +1 -56
- package/ContractService/types.gen.ts +18 -107
- package/FinanceService/FinanceServiceClient.ts +44 -0
- package/FinanceService/core/ApiError.ts +21 -0
- package/FinanceService/core/ApiRequestOptions.ts +13 -0
- package/FinanceService/core/ApiResult.ts +7 -0
- package/FinanceService/core/BaseHttpRequest.ts +10 -0
- package/FinanceService/core/CancelablePromise.ts +126 -0
- package/FinanceService/core/FetchHttpRequest.ts +22 -0
- package/FinanceService/core/OpenAPI.ts +56 -0
- package/FinanceService/core/request.ts +341 -0
- package/FinanceService/index.ts +9 -0
- package/FinanceService/schemas.gen.ts +3970 -0
- package/FinanceService/services.gen.ts +225 -0
- package/FinanceService/types.gen.ts +760 -0
- package/TagService/schemas.gen.ts +6 -6
- package/TagService/types.gen.ts +1 -1
- package/TravellerService/schemas.gen.ts +1993 -1920
- package/TravellerService/services.gen.ts +148 -16
- package/TravellerService/types.gen.ts +303 -66
- package/generator.mjs +5 -0
- package/package.json +3 -2
|
@@ -0,0 +1,225 @@
|
|
|
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, PostApiFinanceServiceBillingsData, PostApiFinanceServiceBillingsResponse, DeleteApiFinanceServiceBillingsData, DeleteApiFinanceServiceBillingsResponse, GetApiFinanceServiceBillingsData, GetApiFinanceServiceBillingsResponse, GetApiFinanceServiceBillingsByIdData, GetApiFinanceServiceBillingsByIdResponse, PutApiFinanceServiceBillingsByIdData, PutApiFinanceServiceBillingsByIdResponse } 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 BillingService {
|
|
97
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @param data The data for the request.
|
|
101
|
+
* @param data.requestBody
|
|
102
|
+
* @returns UniRefund_FinanceService_Billings_BillingDto Success
|
|
103
|
+
* @throws ApiError
|
|
104
|
+
*/
|
|
105
|
+
public postApiFinanceServiceBillings(data: PostApiFinanceServiceBillingsData = {}): CancelablePromise<PostApiFinanceServiceBillingsResponse> {
|
|
106
|
+
return this.httpRequest.request({
|
|
107
|
+
method: 'POST',
|
|
108
|
+
url: '/api/finance-service/billings',
|
|
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.id
|
|
125
|
+
* @returns unknown Success
|
|
126
|
+
* @throws ApiError
|
|
127
|
+
*/
|
|
128
|
+
public deleteApiFinanceServiceBillings(data: DeleteApiFinanceServiceBillingsData = {}): CancelablePromise<DeleteApiFinanceServiceBillingsResponse> {
|
|
129
|
+
return this.httpRequest.request({
|
|
130
|
+
method: 'DELETE',
|
|
131
|
+
url: '/api/finance-service/billings',
|
|
132
|
+
query: {
|
|
133
|
+
id: data.id
|
|
134
|
+
},
|
|
135
|
+
errors: {
|
|
136
|
+
400: 'Bad Request',
|
|
137
|
+
401: 'Unauthorized',
|
|
138
|
+
403: 'Forbidden',
|
|
139
|
+
404: 'Not Found',
|
|
140
|
+
500: 'Server Error',
|
|
141
|
+
501: 'Server Error'
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* @param data The data for the request.
|
|
148
|
+
* @param data.sorting
|
|
149
|
+
* @param data.skipCount
|
|
150
|
+
* @param data.maxResultCount
|
|
151
|
+
* @returns PagedResultDto_BillingDto Success
|
|
152
|
+
* @throws ApiError
|
|
153
|
+
*/
|
|
154
|
+
public getApiFinanceServiceBillings(data: GetApiFinanceServiceBillingsData = {}): CancelablePromise<GetApiFinanceServiceBillingsResponse> {
|
|
155
|
+
return this.httpRequest.request({
|
|
156
|
+
method: 'GET',
|
|
157
|
+
url: '/api/finance-service/billings',
|
|
158
|
+
query: {
|
|
159
|
+
Sorting: data.sorting,
|
|
160
|
+
SkipCount: data.skipCount,
|
|
161
|
+
MaxResultCount: data.maxResultCount
|
|
162
|
+
},
|
|
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.id
|
|
177
|
+
* @returns UniRefund_FinanceService_Billings_BillingDto Success
|
|
178
|
+
* @throws ApiError
|
|
179
|
+
*/
|
|
180
|
+
public getApiFinanceServiceBillingsById(data: GetApiFinanceServiceBillingsByIdData): CancelablePromise<GetApiFinanceServiceBillingsByIdResponse> {
|
|
181
|
+
return this.httpRequest.request({
|
|
182
|
+
method: 'GET',
|
|
183
|
+
url: '/api/finance-service/billings/{id}',
|
|
184
|
+
path: {
|
|
185
|
+
id: data.id
|
|
186
|
+
},
|
|
187
|
+
errors: {
|
|
188
|
+
400: 'Bad Request',
|
|
189
|
+
401: 'Unauthorized',
|
|
190
|
+
403: 'Forbidden',
|
|
191
|
+
404: 'Not Found',
|
|
192
|
+
500: 'Server Error',
|
|
193
|
+
501: 'Server Error'
|
|
194
|
+
}
|
|
195
|
+
});
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* @param data The data for the request.
|
|
200
|
+
* @param data.id
|
|
201
|
+
* @param data.requestBody
|
|
202
|
+
* @returns UniRefund_FinanceService_Billings_BillingDto Success
|
|
203
|
+
* @throws ApiError
|
|
204
|
+
*/
|
|
205
|
+
public putApiFinanceServiceBillingsById(data: PutApiFinanceServiceBillingsByIdData): CancelablePromise<PutApiFinanceServiceBillingsByIdResponse> {
|
|
206
|
+
return this.httpRequest.request({
|
|
207
|
+
method: 'PUT',
|
|
208
|
+
url: '/api/finance-service/billings/{id}',
|
|
209
|
+
path: {
|
|
210
|
+
id: data.id
|
|
211
|
+
},
|
|
212
|
+
body: data.requestBody,
|
|
213
|
+
mediaType: 'application/json',
|
|
214
|
+
errors: {
|
|
215
|
+
400: 'Bad Request',
|
|
216
|
+
401: 'Unauthorized',
|
|
217
|
+
403: 'Forbidden',
|
|
218
|
+
404: 'Not Found',
|
|
219
|
+
500: 'Server Error',
|
|
220
|
+
501: 'Server Error'
|
|
221
|
+
}
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
}
|