@ayasofyazilim/saas 0.0.13 → 0.0.15

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.
Files changed (52) hide show
  1. package/AccountService/schemas.gen.ts +4 -17
  2. package/AccountService/types.gen.ts +0 -9
  3. package/AdministrationService/schemas.gen.ts +7 -7
  4. package/BackerService/BackerServiceClient.ts +44 -0
  5. package/BackerService/core/ApiError.ts +21 -0
  6. package/BackerService/core/ApiRequestOptions.ts +13 -0
  7. package/BackerService/core/ApiResult.ts +7 -0
  8. package/BackerService/core/BaseHttpRequest.ts +10 -0
  9. package/BackerService/core/CancelablePromise.ts +126 -0
  10. package/BackerService/core/FetchHttpRequest.ts +22 -0
  11. package/BackerService/core/OpenAPI.ts +56 -0
  12. package/BackerService/core/request.ts +341 -0
  13. package/BackerService/index.ts +9 -0
  14. package/BackerService/schemas.gen.ts +8991 -0
  15. package/BackerService/services.gen.ts +270 -0
  16. package/BackerService/types.gen.ts +6611 -0
  17. package/IdentityService/schemas.gen.ts +10 -36
  18. package/IdentityService/services.gen.ts +1 -25
  19. package/IdentityService/types.gen.ts +0 -241
  20. package/MerchantService/MerchantServiceClient.ts +44 -0
  21. package/MerchantService/core/ApiError.ts +21 -0
  22. package/MerchantService/core/ApiRequestOptions.ts +13 -0
  23. package/MerchantService/core/ApiResult.ts +7 -0
  24. package/MerchantService/core/BaseHttpRequest.ts +10 -0
  25. package/MerchantService/core/CancelablePromise.ts +126 -0
  26. package/MerchantService/core/FetchHttpRequest.ts +22 -0
  27. package/MerchantService/core/OpenAPI.ts +56 -0
  28. package/MerchantService/core/request.ts +341 -0
  29. package/MerchantService/index.ts +9 -0
  30. package/MerchantService/schemas.gen.ts +6782 -0
  31. package/MerchantService/services.gen.ts +334 -0
  32. package/MerchantService/types.gen.ts +5088 -0
  33. package/ProjectService/ProjectServiceClient.ts +3 -9
  34. package/ProjectService/schemas.gen.ts +26 -723
  35. package/ProjectService/services.gen.ts +8 -348
  36. package/ProjectService/types.gen.ts +36 -2252
  37. package/SaasService/schemas.gen.ts +5 -5
  38. package/SettingService/SettingServiceClient.ts +53 -53
  39. package/SettingService/core/ApiError.ts +20 -20
  40. package/SettingService/core/ApiRequestOptions.ts +12 -12
  41. package/SettingService/core/ApiResult.ts +6 -6
  42. package/SettingService/core/BaseHttpRequest.ts +9 -9
  43. package/SettingService/core/CancelablePromise.ts +125 -125
  44. package/SettingService/core/FetchHttpRequest.ts +21 -21
  45. package/SettingService/core/OpenAPI.ts +55 -55
  46. package/SettingService/core/request.ts +340 -340
  47. package/SettingService/index.ts +8 -8
  48. package/SettingService/schemas.gen.ts +1521 -1524
  49. package/SettingService/services.gen.ts +316 -316
  50. package/SettingService/types.gen.ts +980 -981
  51. package/generator.mjs +34 -3
  52. package/package.json +4 -2
@@ -0,0 +1,270 @@
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, PostApiBackerServiceBackersData, PostApiBackerServiceBackersResponse, DeleteApiBackerServiceBackersData, DeleteApiBackerServiceBackersResponse, GetApiBackerServiceBackersData, GetApiBackerServiceBackersResponse, PutApiBackerServiceBackersData, PutApiBackerServiceBackersResponse, PostApiBackerServiceBackersWithComponentsData, PostApiBackerServiceBackersWithComponentsResponse, GetApiBackerServiceBackersByIdData, GetApiBackerServiceBackersByIdResponse, GetApiBackerServiceBackersDetailByIdData, GetApiBackerServiceBackersDetailByIdResponse } 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 BackerService {
97
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
98
+
99
+ /**
100
+ * @param data The data for the request.
101
+ * @param data.requestBody
102
+ * @returns unknown Success
103
+ * @throws ApiError
104
+ */
105
+ public postApiBackerServiceBackers(data: PostApiBackerServiceBackersData = {}): CancelablePromise<PostApiBackerServiceBackersResponse> {
106
+ return this.httpRequest.request({
107
+ method: 'POST',
108
+ url: '/api/backer-service/backers',
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 deleteApiBackerServiceBackers(data: DeleteApiBackerServiceBackersData = {}): CancelablePromise<DeleteApiBackerServiceBackersResponse> {
129
+ return this.httpRequest.request({
130
+ method: 'DELETE',
131
+ url: '/api/backer-service/backers',
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.skipCount
149
+ * @param data.maxResultCount
150
+ * @returns unknown Success
151
+ * @throws ApiError
152
+ */
153
+ public getApiBackerServiceBackers(data: GetApiBackerServiceBackersData = {}): CancelablePromise<GetApiBackerServiceBackersResponse> {
154
+ return this.httpRequest.request({
155
+ method: 'GET',
156
+ url: '/api/backer-service/backers',
157
+ query: {
158
+ SkipCount: data.skipCount,
159
+ MaxResultCount: data.maxResultCount
160
+ },
161
+ errors: {
162
+ 400: 'Bad Request',
163
+ 401: 'Unauthorized',
164
+ 403: 'Forbidden',
165
+ 404: 'Not Found',
166
+ 500: 'Server Error',
167
+ 501: 'Server Error'
168
+ }
169
+ });
170
+ }
171
+
172
+ /**
173
+ * @param data The data for the request.
174
+ * @param data.id
175
+ * @param data.requestBody
176
+ * @returns unknown Success
177
+ * @throws ApiError
178
+ */
179
+ public putApiBackerServiceBackers(data: PutApiBackerServiceBackersData = {}): CancelablePromise<PutApiBackerServiceBackersResponse> {
180
+ return this.httpRequest.request({
181
+ method: 'PUT',
182
+ url: '/api/backer-service/backers',
183
+ query: {
184
+ id: data.id
185
+ },
186
+ body: data.requestBody,
187
+ mediaType: 'application/json',
188
+ errors: {
189
+ 400: 'Bad Request',
190
+ 401: 'Unauthorized',
191
+ 403: 'Forbidden',
192
+ 404: 'Not Found',
193
+ 500: 'Server Error',
194
+ 501: 'Server Error'
195
+ }
196
+ });
197
+ }
198
+
199
+ /**
200
+ * @param data The data for the request.
201
+ * @param data.requestBody
202
+ * @returns unknown Success
203
+ * @throws ApiError
204
+ */
205
+ public postApiBackerServiceBackersWithComponents(data: PostApiBackerServiceBackersWithComponentsData = {}): CancelablePromise<PostApiBackerServiceBackersWithComponentsResponse> {
206
+ return this.httpRequest.request({
207
+ method: 'POST',
208
+ url: '/api/backer-service/backers/with-components',
209
+ body: data.requestBody,
210
+ mediaType: 'application/json',
211
+ errors: {
212
+ 400: 'Bad Request',
213
+ 401: 'Unauthorized',
214
+ 403: 'Forbidden',
215
+ 404: 'Not Found',
216
+ 500: 'Server Error',
217
+ 501: 'Server Error'
218
+ }
219
+ });
220
+ }
221
+
222
+ /**
223
+ * @param data The data for the request.
224
+ * @param data.id
225
+ * @returns unknown Success
226
+ * @throws ApiError
227
+ */
228
+ public getApiBackerServiceBackersById(data: GetApiBackerServiceBackersByIdData): CancelablePromise<GetApiBackerServiceBackersByIdResponse> {
229
+ return this.httpRequest.request({
230
+ method: 'GET',
231
+ url: '/api/backer-service/backers/{id}',
232
+ path: {
233
+ id: data.id
234
+ },
235
+ errors: {
236
+ 400: 'Bad Request',
237
+ 401: 'Unauthorized',
238
+ 403: 'Forbidden',
239
+ 404: 'Not Found',
240
+ 500: 'Server Error',
241
+ 501: 'Server Error'
242
+ }
243
+ });
244
+ }
245
+
246
+ /**
247
+ * @param data The data for the request.
248
+ * @param data.id
249
+ * @returns unknown Success
250
+ * @throws ApiError
251
+ */
252
+ public getApiBackerServiceBackersDetailById(data: GetApiBackerServiceBackersDetailByIdData): CancelablePromise<GetApiBackerServiceBackersDetailByIdResponse> {
253
+ return this.httpRequest.request({
254
+ method: 'GET',
255
+ url: '/api/backer-service/backers/detail/{id}',
256
+ path: {
257
+ id: data.id
258
+ },
259
+ errors: {
260
+ 400: 'Bad Request',
261
+ 401: 'Unauthorized',
262
+ 403: 'Forbidden',
263
+ 404: 'Not Found',
264
+ 500: 'Server Error',
265
+ 501: 'Server Error'
266
+ }
267
+ });
268
+ }
269
+
270
+ }