@ayasofyazilim/saas 0.0.35 → 0.0.37

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 (84) hide show
  1. package/AccountService/AccountServiceClient.ts +65 -65
  2. package/AccountService/core/ApiRequestOptions.ts +12 -12
  3. package/AccountService/core/BaseHttpRequest.ts +9 -9
  4. package/AccountService/core/FetchHttpRequest.ts +21 -21
  5. package/AccountService/core/OpenAPI.ts +55 -55
  6. package/AccountService/core/request.ts +340 -340
  7. package/AccountService/schemas.gen.ts +5103 -5103
  8. package/AccountService/services.gen.ts +1452 -1452
  9. package/AccountService/types.gen.ts +9896 -9896
  10. package/AdministrationService/AdministrationServiceClient.ts +74 -74
  11. package/AdministrationService/core/ApiRequestOptions.ts +12 -12
  12. package/AdministrationService/core/BaseHttpRequest.ts +9 -9
  13. package/AdministrationService/core/FetchHttpRequest.ts +21 -21
  14. package/AdministrationService/core/OpenAPI.ts +55 -55
  15. package/AdministrationService/core/request.ts +340 -340
  16. package/AdministrationService/index.ts +8 -8
  17. package/AdministrationService/schemas.gen.ts +5897 -5897
  18. package/AdministrationService/services.gen.ts +1332 -1332
  19. package/AdministrationService/types.gen.ts +9024 -9024
  20. package/BackerService/core/ApiRequestOptions.ts +12 -12
  21. package/BackerService/core/BaseHttpRequest.ts +9 -9
  22. package/BackerService/core/FetchHttpRequest.ts +21 -21
  23. package/BackerService/core/OpenAPI.ts +55 -55
  24. package/BackerService/core/request.ts +340 -340
  25. package/BackerService/schemas.gen.ts +12444 -12444
  26. package/CRMService/schemas.gen.ts +94 -55
  27. package/CRMService/services.gen.ts +472 -9
  28. package/CRMService/types.gen.ts +795 -101
  29. package/ContractService/ContractServiceClient.ts +53 -53
  30. package/ContractService/core/ApiError.ts +20 -20
  31. package/ContractService/core/ApiRequestOptions.ts +12 -12
  32. package/ContractService/core/ApiResult.ts +6 -6
  33. package/ContractService/core/BaseHttpRequest.ts +9 -9
  34. package/ContractService/core/CancelablePromise.ts +125 -125
  35. package/ContractService/core/FetchHttpRequest.ts +21 -21
  36. package/ContractService/core/OpenAPI.ts +55 -55
  37. package/ContractService/core/request.ts +340 -340
  38. package/ContractService/index.ts +8 -8
  39. package/ContractService/schemas.gen.ts +10943 -10947
  40. package/ContractService/services.gen.ts +1720 -1716
  41. package/ContractService/types.gen.ts +3691 -3691
  42. package/FundraiserService/FundraiserServiceClient.ts +47 -47
  43. package/FundraiserService/core/ApiError.ts +20 -20
  44. package/FundraiserService/core/ApiResult.ts +6 -6
  45. package/FundraiserService/core/CancelablePromise.ts +125 -125
  46. package/FundraiserService/index.ts +8 -8
  47. package/FundraiserService/schemas.gen.ts +11548 -11548
  48. package/FundraiserService/services.gen.ts +627 -627
  49. package/IdentityService/IdentityServiceClient.ts +77 -77
  50. package/IdentityService/core/ApiRequestOptions.ts +12 -12
  51. package/IdentityService/core/BaseHttpRequest.ts +9 -9
  52. package/IdentityService/core/FetchHttpRequest.ts +21 -21
  53. package/IdentityService/core/OpenAPI.ts +55 -55
  54. package/IdentityService/core/request.ts +340 -340
  55. package/IdentityService/schemas.gen.ts +6573 -6573
  56. package/IdentityService/services.gen.ts +2839 -2839
  57. package/IdentityService/types.gen.ts +17446 -17446
  58. package/MerchantService/core/ApiRequestOptions.ts +12 -12
  59. package/MerchantService/core/BaseHttpRequest.ts +9 -9
  60. package/MerchantService/core/FetchHttpRequest.ts +21 -21
  61. package/MerchantService/core/OpenAPI.ts +55 -55
  62. package/MerchantService/core/request.ts +340 -340
  63. package/MerchantService/schemas.gen.ts +14764 -14764
  64. package/MerchantService/services.gen.ts +1602 -1602
  65. package/ProjectService/core/ApiRequestOptions.ts +12 -12
  66. package/ProjectService/core/BaseHttpRequest.ts +9 -9
  67. package/ProjectService/core/FetchHttpRequest.ts +21 -21
  68. package/ProjectService/core/OpenAPI.ts +55 -55
  69. package/ProjectService/core/request.ts +340 -340
  70. package/ProjectService/schemas.gen.ts +5147 -5147
  71. package/ProjectService/services.gen.ts +492 -492
  72. package/ProjectService.json +2937 -2937
  73. package/SaasService/core/ApiRequestOptions.ts +12 -12
  74. package/SaasService/core/BaseHttpRequest.ts +9 -9
  75. package/SaasService/core/FetchHttpRequest.ts +21 -21
  76. package/SaasService/core/OpenAPI.ts +55 -55
  77. package/SaasService/core/request.ts +340 -340
  78. package/SaasService/schemas.gen.ts +5278 -5278
  79. package/SaasService/services.gen.ts +1325 -1325
  80. package/SaasService/types.gen.ts +9052 -9052
  81. package/SettingService/SettingServiceClient.ts +62 -62
  82. package/SettingService/index.ts +8 -8
  83. package/package.json +1 -1
  84. package/swagger.json +4794 -4794
@@ -1,1326 +1,1326 @@
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, GetApiSaasEditionsByIdData, GetApiSaasEditionsByIdResponse, PutApiSaasEditionsByIdData, PutApiSaasEditionsByIdResponse, DeleteApiSaasEditionsByIdData, DeleteApiSaasEditionsByIdResponse, GetApiSaasEditionsData, GetApiSaasEditionsResponse, PostApiSaasEditionsData, PostApiSaasEditionsResponse, PutApiSaasEditionsByIdMoveAllTenantsData, PutApiSaasEditionsByIdMoveAllTenantsResponse, GetApiSaasEditionsAllResponse, GetApiSaasEditionsStatisticsUsageStatisticResponse, GetApiSaasEditionsPlanLookupResponse, PostApiSaasSubscriptionData, PostApiSaasSubscriptionResponse, GetApiFeatureManagementFeaturesData, GetApiFeatureManagementFeaturesResponse, PutApiFeatureManagementFeaturesData, PutApiFeatureManagementFeaturesResponse, DeleteApiFeatureManagementFeaturesData, DeleteApiFeatureManagementFeaturesResponse, GetApiPaymentGatewaysResponse, GetApiPaymentGatewaysSubscriptionSupportedResponse, PostApiPaymentByPaymentMethodCompleteData, PostApiPaymentByPaymentMethodCompleteResponse, PostApiPaymentRequestsData, PostApiPaymentRequestsResponse, GetApiPaymentRequestsByIdData, GetApiPaymentRequestsByIdResponse, PostApiPaymentByPaymentMethodWebhookData, PostApiPaymentByPaymentMethodWebhookResponse, PostApiPaymentByPaymentMethodStartData, PostApiPaymentByPaymentMethodStartResponse, GetApiPaymentAdminPaymentRequestsData, GetApiPaymentAdminPaymentRequestsResponse, GetApiPaymentAdminPaymentRequestsByIdData, GetApiPaymentAdminPaymentRequestsByIdResponse, GetApiPaymentPlansByPlanIdByGatewayData, GetApiPaymentPlansByPlanIdByGatewayResponse, GetApiPaymentPlansResponse, GetApiPaymentPlansByPlanIdData, GetApiPaymentPlansByPlanIdResponse, GetApiPaymentPlansManyData, GetApiPaymentPlansManyResponse, PostApiPaymentAdminPlansData, PostApiPaymentAdminPlansResponse, DeleteApiPaymentAdminPlansData, DeleteApiPaymentAdminPlansResponse, GetApiPaymentAdminPlansData, GetApiPaymentAdminPlansResponse, PostApiPaymentAdminPlansByPlanIdExternalPlansData, PostApiPaymentAdminPlansByPlanIdExternalPlansResponse, GetApiPaymentAdminPlansByPlanIdExternalPlansData, GetApiPaymentAdminPlansByPlanIdExternalPlansResponse, DeleteApiPaymentAdminPlansByPlanIdExternalPlansByGatewayData, DeleteApiPaymentAdminPlansByPlanIdExternalPlansByGatewayResponse, PutApiPaymentAdminPlansByPlanIdExternalPlansByGatewayData, PutApiPaymentAdminPlansByPlanIdExternalPlansByGatewayResponse, GetApiPaymentAdminPlansByIdData, GetApiPaymentAdminPlansByIdResponse, PutApiPaymentAdminPlansByIdData, PutApiPaymentAdminPlansByIdResponse, GetApiSaasTenantsByIdData, GetApiSaasTenantsByIdResponse, PutApiSaasTenantsByIdData, PutApiSaasTenantsByIdResponse, DeleteApiSaasTenantsByIdData, DeleteApiSaasTenantsByIdResponse, GetApiSaasTenantsData, GetApiSaasTenantsResponse, PostApiSaasTenantsData, PostApiSaasTenantsResponse, GetApiSaasTenantsDatabasesResponse, GetApiSaasTenantsByIdConnectionStringsData, GetApiSaasTenantsByIdConnectionStringsResponse, PutApiSaasTenantsByIdConnectionStringsData, PutApiSaasTenantsByIdConnectionStringsResponse, PostApiSaasTenantsByIdApplyDatabaseMigrationsData, PostApiSaasTenantsByIdApplyDatabaseMigrationsResponse, GetApiSaasTenantsLookupEditionsResponse, GetApiSaasTenantsCheckConnectionStringData, GetApiSaasTenantsCheckConnectionStringResponse, PutApiSaasTenantsByIdSetPasswordData, PutApiSaasTenantsByIdSetPasswordResponse } 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 EditionService {
97
- constructor(public readonly httpRequest: BaseHttpRequest) { }
98
-
99
- /**
100
- * @param data The data for the request.
101
- * @param data.id
102
- * @returns unknown Success
103
- * @throws ApiError
104
- */
105
- public getApiSaasEditionsById(data: GetApiSaasEditionsByIdData): CancelablePromise<GetApiSaasEditionsByIdResponse> {
106
- return this.httpRequest.request({
107
- method: 'GET',
108
- url: '/api/saas/editions/{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.id
126
- * @param data.requestBody
127
- * @returns unknown Success
128
- * @throws ApiError
129
- */
130
- public putApiSaasEditionsById(data: PutApiSaasEditionsByIdData): CancelablePromise<PutApiSaasEditionsByIdResponse> {
131
- return this.httpRequest.request({
132
- method: 'PUT',
133
- url: '/api/saas/editions/{id}',
134
- path: {
135
- id: data.id
136
- },
137
- body: data.requestBody,
138
- mediaType: 'application/json',
139
- errors: {
140
- 400: 'Bad Request',
141
- 401: 'Unauthorized',
142
- 403: 'Forbidden',
143
- 404: 'Not Found',
144
- 500: 'Server Error',
145
- 501: 'Server Error'
146
- }
147
- });
148
- }
149
-
150
- /**
151
- * @param data The data for the request.
152
- * @param data.id
153
- * @returns unknown Success
154
- * @throws ApiError
155
- */
156
- public deleteApiSaasEditionsById(data: DeleteApiSaasEditionsByIdData): CancelablePromise<DeleteApiSaasEditionsByIdResponse> {
157
- return this.httpRequest.request({
158
- method: 'DELETE',
159
- url: '/api/saas/editions/{id}',
160
- path: {
161
- id: data.id
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.filter
177
- * @param data.sorting
178
- * @param data.skipCount
179
- * @param data.maxResultCount
180
- * @returns unknown Success
181
- * @throws ApiError
182
- */
183
- public getApiSaasEditions(data: GetApiSaasEditionsData = {}): CancelablePromise<GetApiSaasEditionsResponse> {
184
- return this.httpRequest.request({
185
- method: 'GET',
186
- url: '/api/saas/editions',
187
- query: {
188
- Filter: data.filter,
189
- Sorting: data.sorting,
190
- SkipCount: data.skipCount,
191
- MaxResultCount: data.maxResultCount
192
- },
193
- errors: {
194
- 400: 'Bad Request',
195
- 401: 'Unauthorized',
196
- 403: 'Forbidden',
197
- 404: 'Not Found',
198
- 500: 'Server Error',
199
- 501: 'Server Error'
200
- }
201
- });
202
- }
203
-
204
- /**
205
- * @param data The data for the request.
206
- * @param data.requestBody
207
- * @returns unknown Success
208
- * @throws ApiError
209
- */
210
- public postApiSaasEditions(data: PostApiSaasEditionsData = {}): CancelablePromise<PostApiSaasEditionsResponse> {
211
- return this.httpRequest.request({
212
- method: 'POST',
213
- url: '/api/saas/editions',
214
- body: data.requestBody,
215
- mediaType: 'application/json',
216
- errors: {
217
- 400: 'Bad Request',
218
- 401: 'Unauthorized',
219
- 403: 'Forbidden',
220
- 404: 'Not Found',
221
- 500: 'Server Error',
222
- 501: 'Server Error'
223
- }
224
- });
225
- }
226
-
227
- /**
228
- * @param data The data for the request.
229
- * @param data.id
230
- * @param data.editionId
231
- * @returns unknown Success
232
- * @throws ApiError
233
- */
234
- public putApiSaasEditionsByIdMoveAllTenants(data: PutApiSaasEditionsByIdMoveAllTenantsData): CancelablePromise<PutApiSaasEditionsByIdMoveAllTenantsResponse> {
235
- return this.httpRequest.request({
236
- method: 'PUT',
237
- url: '/api/saas/editions/{id}/move-all-tenants',
238
- path: {
239
- id: data.id
240
- },
241
- query: {
242
- editionId: data.editionId
243
- },
244
- errors: {
245
- 400: 'Bad Request',
246
- 401: 'Unauthorized',
247
- 403: 'Forbidden',
248
- 404: 'Not Found',
249
- 500: 'Server Error',
250
- 501: 'Server Error'
251
- }
252
- });
253
- }
254
-
255
- /**
256
- * @returns unknown Success
257
- * @throws ApiError
258
- */
259
- public getApiSaasEditionsAll(): CancelablePromise<GetApiSaasEditionsAllResponse> {
260
- return this.httpRequest.request({
261
- method: 'GET',
262
- url: '/api/saas/editions/all',
263
- errors: {
264
- 400: 'Bad Request',
265
- 401: 'Unauthorized',
266
- 403: 'Forbidden',
267
- 404: 'Not Found',
268
- 500: 'Server Error',
269
- 501: 'Server Error'
270
- }
271
- });
272
- }
273
-
274
- /**
275
- * @returns unknown Success
276
- * @throws ApiError
277
- */
278
- public getApiSaasEditionsStatisticsUsageStatistic(): CancelablePromise<GetApiSaasEditionsStatisticsUsageStatisticResponse> {
279
- return this.httpRequest.request({
280
- method: 'GET',
281
- url: '/api/saas/editions/statistics/usage-statistic',
282
- errors: {
283
- 400: 'Bad Request',
284
- 401: 'Unauthorized',
285
- 403: 'Forbidden',
286
- 404: 'Not Found',
287
- 500: 'Server Error',
288
- 501: 'Server Error'
289
- }
290
- });
291
- }
292
-
293
- /**
294
- * @returns unknown Success
295
- * @throws ApiError
296
- */
297
- public getApiSaasEditionsPlanLookup(): CancelablePromise<GetApiSaasEditionsPlanLookupResponse> {
298
- return this.httpRequest.request({
299
- method: 'GET',
300
- url: '/api/saas/editions/plan-lookup',
301
- errors: {
302
- 400: 'Bad Request',
303
- 401: 'Unauthorized',
304
- 403: 'Forbidden',
305
- 404: 'Not Found',
306
- 500: 'Server Error',
307
- 501: 'Server Error'
308
- }
309
- });
310
- }
311
-
312
- /**
313
- * @param data The data for the request.
314
- * @param data.editionId
315
- * @param data.tenantId
316
- * @returns unknown Success
317
- * @throws ApiError
318
- */
319
- public postApiSaasSubscription(data: PostApiSaasSubscriptionData = {}): CancelablePromise<PostApiSaasSubscriptionResponse> {
320
- return this.httpRequest.request({
321
- method: 'POST',
322
- url: '/api/saas/subscription',
323
- query: {
324
- editionId: data.editionId,
325
- tenantId: data.tenantId
326
- },
327
- errors: {
328
- 400: 'Bad Request',
329
- 401: 'Unauthorized',
330
- 403: 'Forbidden',
331
- 404: 'Not Found',
332
- 500: 'Server Error',
333
- 501: 'Server Error'
334
- }
335
- });
336
- }
337
-
338
- }
339
-
340
- export class FeaturesService {
341
- constructor(public readonly httpRequest: BaseHttpRequest) { }
342
-
343
- /**
344
- * @param data The data for the request.
345
- * @param data.providerName
346
- * @param data.providerKey
347
- * @returns unknown Success
348
- * @throws ApiError
349
- */
350
- public getApiFeatureManagementFeatures(data: GetApiFeatureManagementFeaturesData = {}): CancelablePromise<GetApiFeatureManagementFeaturesResponse> {
351
- return this.httpRequest.request({
352
- method: 'GET',
353
- url: '/api/feature-management/features',
354
- query: {
355
- providerName: data.providerName,
356
- providerKey: data.providerKey
357
- },
358
- errors: {
359
- 400: 'Bad Request',
360
- 401: 'Unauthorized',
361
- 403: 'Forbidden',
362
- 404: 'Not Found',
363
- 500: 'Server Error',
364
- 501: 'Server Error'
365
- }
366
- });
367
- }
368
-
369
- /**
370
- * @param data The data for the request.
371
- * @param data.providerName
372
- * @param data.providerKey
373
- * @param data.requestBody
374
- * @returns unknown Success
375
- * @throws ApiError
376
- */
377
- public putApiFeatureManagementFeatures(data: PutApiFeatureManagementFeaturesData = {}): CancelablePromise<PutApiFeatureManagementFeaturesResponse> {
378
- return this.httpRequest.request({
379
- method: 'PUT',
380
- url: '/api/feature-management/features',
381
- query: {
382
- providerName: data.providerName,
383
- providerKey: data.providerKey
384
- },
385
- body: data.requestBody,
386
- mediaType: 'application/json',
387
- errors: {
388
- 400: 'Bad Request',
389
- 401: 'Unauthorized',
390
- 403: 'Forbidden',
391
- 404: 'Not Found',
392
- 500: 'Server Error',
393
- 501: 'Server Error'
394
- }
395
- });
396
- }
397
-
398
- /**
399
- * @param data The data for the request.
400
- * @param data.providerName
401
- * @param data.providerKey
402
- * @returns unknown Success
403
- * @throws ApiError
404
- */
405
- public deleteApiFeatureManagementFeatures(data: DeleteApiFeatureManagementFeaturesData = {}): CancelablePromise<DeleteApiFeatureManagementFeaturesResponse> {
406
- return this.httpRequest.request({
407
- method: 'DELETE',
408
- url: '/api/feature-management/features',
409
- query: {
410
- providerName: data.providerName,
411
- providerKey: data.providerKey
412
- },
413
- errors: {
414
- 400: 'Bad Request',
415
- 401: 'Unauthorized',
416
- 403: 'Forbidden',
417
- 404: 'Not Found',
418
- 500: 'Server Error',
419
- 501: 'Server Error'
420
- }
421
- });
422
- }
423
-
424
- }
425
-
426
- export class GatewayService {
427
- constructor(public readonly httpRequest: BaseHttpRequest) { }
428
-
429
- /**
430
- * @returns unknown Success
431
- * @throws ApiError
432
- */
433
- public getApiPaymentGateways(): CancelablePromise<GetApiPaymentGatewaysResponse> {
434
- return this.httpRequest.request({
435
- method: 'GET',
436
- url: '/api/payment/gateways',
437
- errors: {
438
- 400: 'Bad Request',
439
- 401: 'Unauthorized',
440
- 403: 'Forbidden',
441
- 404: 'Not Found',
442
- 500: 'Server Error',
443
- 501: 'Server Error'
444
- }
445
- });
446
- }
447
-
448
- /**
449
- * @returns unknown Success
450
- * @throws ApiError
451
- */
452
- public getApiPaymentGatewaysSubscriptionSupported(): CancelablePromise<GetApiPaymentGatewaysSubscriptionSupportedResponse> {
453
- return this.httpRequest.request({
454
- method: 'GET',
455
- url: '/api/payment/gateways/subscription-supported',
456
- errors: {
457
- 400: 'Bad Request',
458
- 401: 'Unauthorized',
459
- 403: 'Forbidden',
460
- 404: 'Not Found',
461
- 500: 'Server Error',
462
- 501: 'Server Error'
463
- }
464
- });
465
- }
466
-
467
- }
468
-
469
- export class PaymentRequestService {
470
- constructor(public readonly httpRequest: BaseHttpRequest) { }
471
-
472
- /**
473
- * @param data The data for the request.
474
- * @param data.paymentMethod
475
- * @param data.requestBody
476
- * @returns unknown Success
477
- * @throws ApiError
478
- */
479
- public postApiPaymentByPaymentMethodComplete(data: PostApiPaymentByPaymentMethodCompleteData): CancelablePromise<PostApiPaymentByPaymentMethodCompleteResponse> {
480
- return this.httpRequest.request({
481
- method: 'POST',
482
- url: '/api/payment/{paymentMethod}/complete',
483
- path: {
484
- paymentMethod: data.paymentMethod
485
- },
486
- body: data.requestBody,
487
- mediaType: 'application/json',
488
- errors: {
489
- 400: 'Bad Request',
490
- 401: 'Unauthorized',
491
- 403: 'Forbidden',
492
- 404: 'Not Found',
493
- 500: 'Server Error',
494
- 501: 'Server Error'
495
- }
496
- });
497
- }
498
-
499
- /**
500
- * @param data The data for the request.
501
- * @param data.requestBody
502
- * @returns unknown Success
503
- * @throws ApiError
504
- */
505
- public postApiPaymentRequests(data: PostApiPaymentRequestsData = {}): CancelablePromise<PostApiPaymentRequestsResponse> {
506
- return this.httpRequest.request({
507
- method: 'POST',
508
- url: '/api/payment/requests',
509
- body: data.requestBody,
510
- mediaType: 'application/json',
511
- errors: {
512
- 400: 'Bad Request',
513
- 401: 'Unauthorized',
514
- 403: 'Forbidden',
515
- 404: 'Not Found',
516
- 500: 'Server Error',
517
- 501: 'Server Error'
518
- }
519
- });
520
- }
521
-
522
- /**
523
- * @param data The data for the request.
524
- * @param data.id
525
- * @returns unknown Success
526
- * @throws ApiError
527
- */
528
- public getApiPaymentRequestsById(data: GetApiPaymentRequestsByIdData): CancelablePromise<GetApiPaymentRequestsByIdResponse> {
529
- return this.httpRequest.request({
530
- method: 'GET',
531
- url: '/api/payment/requests/{id}',
532
- path: {
533
- id: data.id
534
- },
535
- errors: {
536
- 400: 'Bad Request',
537
- 401: 'Unauthorized',
538
- 403: 'Forbidden',
539
- 404: 'Not Found',
540
- 500: 'Server Error',
541
- 501: 'Server Error'
542
- }
543
- });
544
- }
545
-
546
- /**
547
- * @param data The data for the request.
548
- * @param data.paymentMethod
549
- * @param data.payload
550
- * @param data.headers
551
- * @returns boolean Success
552
- * @throws ApiError
553
- */
554
- public postApiPaymentByPaymentMethodWebhook(data: PostApiPaymentByPaymentMethodWebhookData): CancelablePromise<PostApiPaymentByPaymentMethodWebhookResponse> {
555
- return this.httpRequest.request({
556
- method: 'POST',
557
- url: '/api/payment/{paymentMethod}/webhook',
558
- path: {
559
- paymentMethod: data.paymentMethod
560
- },
561
- headers: {
562
- headers: data.headers
563
- },
564
- query: {
565
- payload: data.payload
566
- },
567
- errors: {
568
- 400: 'Bad Request',
569
- 401: 'Unauthorized',
570
- 403: 'Forbidden',
571
- 404: 'Not Found',
572
- 500: 'Server Error',
573
- 501: 'Server Error'
574
- }
575
- });
576
- }
577
-
578
- /**
579
- * @param data The data for the request.
580
- * @param data.paymentMethod
581
- * @param data.requestBody
582
- * @returns unknown Success
583
- * @throws ApiError
584
- */
585
- public postApiPaymentByPaymentMethodStart(data: PostApiPaymentByPaymentMethodStartData): CancelablePromise<PostApiPaymentByPaymentMethodStartResponse> {
586
- return this.httpRequest.request({
587
- method: 'POST',
588
- url: '/api/payment/{paymentMethod}/start',
589
- path: {
590
- paymentMethod: data.paymentMethod
591
- },
592
- body: data.requestBody,
593
- mediaType: 'application/json',
594
- errors: {
595
- 400: 'Bad Request',
596
- 401: 'Unauthorized',
597
- 403: 'Forbidden',
598
- 404: 'Not Found',
599
- 500: 'Server Error',
600
- 501: 'Server Error'
601
- }
602
- });
603
- }
604
-
605
- }
606
-
607
- export class PaymentRequestAdminService {
608
- constructor(public readonly httpRequest: BaseHttpRequest) { }
609
-
610
- /**
611
- * @param data The data for the request.
612
- * @param data.filter
613
- * @param data.creationDateMax
614
- * @param data.creationDateMin
615
- * @param data.paymentType
616
- * @param data.status
617
- * @param data.sorting
618
- * @param data.skipCount
619
- * @param data.maxResultCount
620
- * @returns unknown Success
621
- * @throws ApiError
622
- */
623
- public getApiPaymentAdminPaymentRequests(data: GetApiPaymentAdminPaymentRequestsData = {}): CancelablePromise<GetApiPaymentAdminPaymentRequestsResponse> {
624
- return this.httpRequest.request({
625
- method: 'GET',
626
- url: '/api/payment-admin/payment-requests',
627
- query: {
628
- Filter: data.filter,
629
- CreationDateMax: data.creationDateMax,
630
- CreationDateMin: data.creationDateMin,
631
- PaymentType: data.paymentType,
632
- Status: data.status,
633
- Sorting: data.sorting,
634
- SkipCount: data.skipCount,
635
- MaxResultCount: data.maxResultCount
636
- },
637
- errors: {
638
- 400: 'Bad Request',
639
- 401: 'Unauthorized',
640
- 403: 'Forbidden',
641
- 404: 'Not Found',
642
- 500: 'Server Error',
643
- 501: 'Server Error'
644
- }
645
- });
646
- }
647
-
648
- /**
649
- * @param data The data for the request.
650
- * @param data.id
651
- * @returns unknown Success
652
- * @throws ApiError
653
- */
654
- public getApiPaymentAdminPaymentRequestsById(data: GetApiPaymentAdminPaymentRequestsByIdData): CancelablePromise<GetApiPaymentAdminPaymentRequestsByIdResponse> {
655
- return this.httpRequest.request({
656
- method: 'GET',
657
- url: '/api/payment-admin/payment-requests/{id}',
658
- path: {
659
- id: data.id
660
- },
661
- errors: {
662
- 400: 'Bad Request',
663
- 401: 'Unauthorized',
664
- 403: 'Forbidden',
665
- 404: 'Not Found',
666
- 500: 'Server Error',
667
- 501: 'Server Error'
668
- }
669
- });
670
- }
671
-
672
- }
673
-
674
- export class PlanService {
675
- constructor(public readonly httpRequest: BaseHttpRequest) { }
676
-
677
- /**
678
- * @param data The data for the request.
679
- * @param data.planId
680
- * @param data.gateway
681
- * @returns unknown Success
682
- * @throws ApiError
683
- */
684
- public getApiPaymentPlansByPlanIdByGateway(data: GetApiPaymentPlansByPlanIdByGatewayData): CancelablePromise<GetApiPaymentPlansByPlanIdByGatewayResponse> {
685
- return this.httpRequest.request({
686
- method: 'GET',
687
- url: '/api/payment/plans/{planId}/{gateway}',
688
- path: {
689
- planId: data.planId,
690
- gateway: data.gateway
691
- },
692
- errors: {
693
- 400: 'Bad Request',
694
- 401: 'Unauthorized',
695
- 403: 'Forbidden',
696
- 404: 'Not Found',
697
- 500: 'Server Error',
698
- 501: 'Server Error'
699
- }
700
- });
701
- }
702
-
703
- /**
704
- * @returns unknown Success
705
- * @throws ApiError
706
- */
707
- public getApiPaymentPlans(): CancelablePromise<GetApiPaymentPlansResponse> {
708
- return this.httpRequest.request({
709
- method: 'GET',
710
- url: '/api/payment/plans',
711
- errors: {
712
- 400: 'Bad Request',
713
- 401: 'Unauthorized',
714
- 403: 'Forbidden',
715
- 404: 'Not Found',
716
- 500: 'Server Error',
717
- 501: 'Server Error'
718
- }
719
- });
720
- }
721
-
722
- /**
723
- * @param data The data for the request.
724
- * @param data.planId
725
- * @returns unknown Success
726
- * @throws ApiError
727
- */
728
- public getApiPaymentPlansByPlanId(data: GetApiPaymentPlansByPlanIdData): CancelablePromise<GetApiPaymentPlansByPlanIdResponse> {
729
- return this.httpRequest.request({
730
- method: 'GET',
731
- url: '/api/payment/plans/{planId}',
732
- path: {
733
- planId: data.planId
734
- },
735
- errors: {
736
- 400: 'Bad Request',
737
- 401: 'Unauthorized',
738
- 403: 'Forbidden',
739
- 404: 'Not Found',
740
- 500: 'Server Error',
741
- 501: 'Server Error'
742
- }
743
- });
744
- }
745
-
746
- /**
747
- * @param data The data for the request.
748
- * @param data.ids
749
- * @returns unknown Success
750
- * @throws ApiError
751
- */
752
- public getApiPaymentPlansMany(data: GetApiPaymentPlansManyData = {}): CancelablePromise<GetApiPaymentPlansManyResponse> {
753
- return this.httpRequest.request({
754
- method: 'GET',
755
- url: '/api/payment/plans/many',
756
- query: {
757
- ids: data.ids
758
- },
759
- errors: {
760
- 400: 'Bad Request',
761
- 401: 'Unauthorized',
762
- 403: 'Forbidden',
763
- 404: 'Not Found',
764
- 500: 'Server Error',
765
- 501: 'Server Error'
766
- }
767
- });
768
- }
769
-
770
- }
771
-
772
- export class PlanAdminService {
773
- constructor(public readonly httpRequest: BaseHttpRequest) { }
774
-
775
- /**
776
- * @param data The data for the request.
777
- * @param data.requestBody
778
- * @returns unknown Success
779
- * @throws ApiError
780
- */
781
- public postApiPaymentAdminPlans(data: PostApiPaymentAdminPlansData = {}): CancelablePromise<PostApiPaymentAdminPlansResponse> {
782
- return this.httpRequest.request({
783
- method: 'POST',
784
- url: '/api/payment-admin/plans',
785
- body: data.requestBody,
786
- mediaType: 'application/json',
787
- errors: {
788
- 400: 'Bad Request',
789
- 401: 'Unauthorized',
790
- 403: 'Forbidden',
791
- 404: 'Not Found',
792
- 500: 'Server Error',
793
- 501: 'Server Error'
794
- }
795
- });
796
- }
797
-
798
- /**
799
- * @param data The data for the request.
800
- * @param data.id
801
- * @returns unknown Success
802
- * @throws ApiError
803
- */
804
- public deleteApiPaymentAdminPlans(data: DeleteApiPaymentAdminPlansData = {}): CancelablePromise<DeleteApiPaymentAdminPlansResponse> {
805
- return this.httpRequest.request({
806
- method: 'DELETE',
807
- url: '/api/payment-admin/plans',
808
- query: {
809
- id: data.id
810
- },
811
- errors: {
812
- 400: 'Bad Request',
813
- 401: 'Unauthorized',
814
- 403: 'Forbidden',
815
- 404: 'Not Found',
816
- 500: 'Server Error',
817
- 501: 'Server Error'
818
- }
819
- });
820
- }
821
-
822
- /**
823
- * @param data The data for the request.
824
- * @param data.filter
825
- * @param data.sorting
826
- * @param data.skipCount
827
- * @param data.maxResultCount
828
- * @returns unknown Success
829
- * @throws ApiError
830
- */
831
- public getApiPaymentAdminPlans(data: GetApiPaymentAdminPlansData = {}): CancelablePromise<GetApiPaymentAdminPlansResponse> {
832
- return this.httpRequest.request({
833
- method: 'GET',
834
- url: '/api/payment-admin/plans',
835
- query: {
836
- Filter: data.filter,
837
- Sorting: data.sorting,
838
- SkipCount: data.skipCount,
839
- MaxResultCount: data.maxResultCount
840
- },
841
- errors: {
842
- 400: 'Bad Request',
843
- 401: 'Unauthorized',
844
- 403: 'Forbidden',
845
- 404: 'Not Found',
846
- 500: 'Server Error',
847
- 501: 'Server Error'
848
- }
849
- });
850
- }
851
-
852
- /**
853
- * @param data The data for the request.
854
- * @param data.planId
855
- * @param data.requestBody
856
- * @returns unknown Success
857
- * @throws ApiError
858
- */
859
- public postApiPaymentAdminPlansByPlanIdExternalPlans(data: PostApiPaymentAdminPlansByPlanIdExternalPlansData): CancelablePromise<PostApiPaymentAdminPlansByPlanIdExternalPlansResponse> {
860
- return this.httpRequest.request({
861
- method: 'POST',
862
- url: '/api/payment-admin/plans/{planId}/external-plans',
863
- path: {
864
- planId: data.planId
865
- },
866
- body: data.requestBody,
867
- mediaType: 'application/json',
868
- errors: {
869
- 400: 'Bad Request',
870
- 401: 'Unauthorized',
871
- 403: 'Forbidden',
872
- 404: 'Not Found',
873
- 500: 'Server Error',
874
- 501: 'Server Error'
875
- }
876
- });
877
- }
878
-
879
- /**
880
- * @param data The data for the request.
881
- * @param data.planId
882
- * @param data.filter
883
- * @param data.sorting
884
- * @param data.skipCount
885
- * @param data.maxResultCount
886
- * @returns unknown Success
887
- * @throws ApiError
888
- */
889
- public getApiPaymentAdminPlansByPlanIdExternalPlans(data: GetApiPaymentAdminPlansByPlanIdExternalPlansData): CancelablePromise<GetApiPaymentAdminPlansByPlanIdExternalPlansResponse> {
890
- return this.httpRequest.request({
891
- method: 'GET',
892
- url: '/api/payment-admin/plans/{planId}/external-plans',
893
- path: {
894
- planId: data.planId
895
- },
896
- query: {
897
- Filter: data.filter,
898
- Sorting: data.sorting,
899
- SkipCount: data.skipCount,
900
- MaxResultCount: data.maxResultCount
901
- },
902
- errors: {
903
- 400: 'Bad Request',
904
- 401: 'Unauthorized',
905
- 403: 'Forbidden',
906
- 404: 'Not Found',
907
- 500: 'Server Error',
908
- 501: 'Server Error'
909
- }
910
- });
911
- }
912
-
913
- /**
914
- * @param data The data for the request.
915
- * @param data.planId
916
- * @param data.gateway
917
- * @returns unknown Success
918
- * @throws ApiError
919
- */
920
- public deleteApiPaymentAdminPlansByPlanIdExternalPlansByGateway(data: DeleteApiPaymentAdminPlansByPlanIdExternalPlansByGatewayData): CancelablePromise<DeleteApiPaymentAdminPlansByPlanIdExternalPlansByGatewayResponse> {
921
- return this.httpRequest.request({
922
- method: 'DELETE',
923
- url: '/api/payment-admin/plans/{planId}/external-plans/{gateway}',
924
- path: {
925
- planId: data.planId,
926
- gateway: data.gateway
927
- },
928
- errors: {
929
- 400: 'Bad Request',
930
- 401: 'Unauthorized',
931
- 403: 'Forbidden',
932
- 404: 'Not Found',
933
- 500: 'Server Error',
934
- 501: 'Server Error'
935
- }
936
- });
937
- }
938
-
939
- /**
940
- * @param data The data for the request.
941
- * @param data.planId
942
- * @param data.gateway
943
- * @param data.requestBody
944
- * @returns unknown Success
945
- * @throws ApiError
946
- */
947
- public putApiPaymentAdminPlansByPlanIdExternalPlansByGateway(data: PutApiPaymentAdminPlansByPlanIdExternalPlansByGatewayData): CancelablePromise<PutApiPaymentAdminPlansByPlanIdExternalPlansByGatewayResponse> {
948
- return this.httpRequest.request({
949
- method: 'PUT',
950
- url: '/api/payment-admin/plans/{planId}/external-plans/{gateway}',
951
- path: {
952
- planId: data.planId,
953
- gateway: data.gateway
954
- },
955
- body: data.requestBody,
956
- mediaType: 'application/json',
957
- errors: {
958
- 400: 'Bad Request',
959
- 401: 'Unauthorized',
960
- 403: 'Forbidden',
961
- 404: 'Not Found',
962
- 500: 'Server Error',
963
- 501: 'Server Error'
964
- }
965
- });
966
- }
967
-
968
- /**
969
- * @param data The data for the request.
970
- * @param data.id
971
- * @returns unknown Success
972
- * @throws ApiError
973
- */
974
- public getApiPaymentAdminPlansById(data: GetApiPaymentAdminPlansByIdData): CancelablePromise<GetApiPaymentAdminPlansByIdResponse> {
975
- return this.httpRequest.request({
976
- method: 'GET',
977
- url: '/api/payment-admin/plans/{id}',
978
- path: {
979
- id: data.id
980
- },
981
- errors: {
982
- 400: 'Bad Request',
983
- 401: 'Unauthorized',
984
- 403: 'Forbidden',
985
- 404: 'Not Found',
986
- 500: 'Server Error',
987
- 501: 'Server Error'
988
- }
989
- });
990
- }
991
-
992
- /**
993
- * @param data The data for the request.
994
- * @param data.id
995
- * @param data.requestBody
996
- * @returns unknown Success
997
- * @throws ApiError
998
- */
999
- public putApiPaymentAdminPlansById(data: PutApiPaymentAdminPlansByIdData): CancelablePromise<PutApiPaymentAdminPlansByIdResponse> {
1000
- return this.httpRequest.request({
1001
- method: 'PUT',
1002
- url: '/api/payment-admin/plans/{id}',
1003
- path: {
1004
- id: data.id
1005
- },
1006
- body: data.requestBody,
1007
- mediaType: 'application/json',
1008
- errors: {
1009
- 400: 'Bad Request',
1010
- 401: 'Unauthorized',
1011
- 403: 'Forbidden',
1012
- 404: 'Not Found',
1013
- 500: 'Server Error',
1014
- 501: 'Server Error'
1015
- }
1016
- });
1017
- }
1018
-
1019
- }
1020
-
1021
- export class TenantService {
1022
- constructor(public readonly httpRequest: BaseHttpRequest) { }
1023
-
1024
- /**
1025
- * @param data The data for the request.
1026
- * @param data.id
1027
- * @returns unknown Success
1028
- * @throws ApiError
1029
- */
1030
- public getApiSaasTenantsById(data: GetApiSaasTenantsByIdData): CancelablePromise<GetApiSaasTenantsByIdResponse> {
1031
- return this.httpRequest.request({
1032
- method: 'GET',
1033
- url: '/api/saas/tenants/{id}',
1034
- path: {
1035
- id: data.id
1036
- },
1037
- errors: {
1038
- 400: 'Bad Request',
1039
- 401: 'Unauthorized',
1040
- 403: 'Forbidden',
1041
- 404: 'Not Found',
1042
- 500: 'Server Error',
1043
- 501: 'Server Error'
1044
- }
1045
- });
1046
- }
1047
-
1048
- /**
1049
- * @param data The data for the request.
1050
- * @param data.id
1051
- * @param data.requestBody
1052
- * @returns unknown Success
1053
- * @throws ApiError
1054
- */
1055
- public putApiSaasTenantsById(data: PutApiSaasTenantsByIdData): CancelablePromise<PutApiSaasTenantsByIdResponse> {
1056
- return this.httpRequest.request({
1057
- method: 'PUT',
1058
- url: '/api/saas/tenants/{id}',
1059
- path: {
1060
- id: data.id
1061
- },
1062
- body: data.requestBody,
1063
- mediaType: 'application/json',
1064
- errors: {
1065
- 400: 'Bad Request',
1066
- 401: 'Unauthorized',
1067
- 403: 'Forbidden',
1068
- 404: 'Not Found',
1069
- 500: 'Server Error',
1070
- 501: 'Server Error'
1071
- }
1072
- });
1073
- }
1074
-
1075
- /**
1076
- * @param data The data for the request.
1077
- * @param data.id
1078
- * @returns unknown Success
1079
- * @throws ApiError
1080
- */
1081
- public deleteApiSaasTenantsById(data: DeleteApiSaasTenantsByIdData): CancelablePromise<DeleteApiSaasTenantsByIdResponse> {
1082
- return this.httpRequest.request({
1083
- method: 'DELETE',
1084
- url: '/api/saas/tenants/{id}',
1085
- path: {
1086
- id: data.id
1087
- },
1088
- errors: {
1089
- 400: 'Bad Request',
1090
- 401: 'Unauthorized',
1091
- 403: 'Forbidden',
1092
- 404: 'Not Found',
1093
- 500: 'Server Error',
1094
- 501: 'Server Error'
1095
- }
1096
- });
1097
- }
1098
-
1099
- /**
1100
- * @param data The data for the request.
1101
- * @param data.filter
1102
- * @param data.getEditionNames
1103
- * @param data.editionId
1104
- * @param data.expirationDateMin
1105
- * @param data.expirationDateMax
1106
- * @param data.activationState
1107
- * @param data.sorting
1108
- * @param data.skipCount
1109
- * @param data.maxResultCount
1110
- * @returns unknown Success
1111
- * @throws ApiError
1112
- */
1113
- public getApiSaasTenants(data: GetApiSaasTenantsData = {}): CancelablePromise<GetApiSaasTenantsResponse> {
1114
- return this.httpRequest.request({
1115
- method: 'GET',
1116
- url: '/api/saas/tenants',
1117
- query: {
1118
- Filter: data.filter,
1119
- GetEditionNames: data.getEditionNames,
1120
- EditionId: data.editionId,
1121
- ExpirationDateMin: data.expirationDateMin,
1122
- ExpirationDateMax: data.expirationDateMax,
1123
- ActivationState: data.activationState,
1124
- Sorting: data.sorting,
1125
- SkipCount: data.skipCount,
1126
- MaxResultCount: data.maxResultCount
1127
- },
1128
- errors: {
1129
- 400: 'Bad Request',
1130
- 401: 'Unauthorized',
1131
- 403: 'Forbidden',
1132
- 404: 'Not Found',
1133
- 500: 'Server Error',
1134
- 501: 'Server Error'
1135
- }
1136
- });
1137
- }
1138
-
1139
- /**
1140
- * @param data The data for the request.
1141
- * @param data.requestBody
1142
- * @returns unknown Success
1143
- * @throws ApiError
1144
- */
1145
- public postApiSaasTenants(data: PostApiSaasTenantsData = {}): CancelablePromise<PostApiSaasTenantsResponse> {
1146
- return this.httpRequest.request({
1147
- method: 'POST',
1148
- url: '/api/saas/tenants',
1149
- body: data.requestBody,
1150
- mediaType: 'application/json',
1151
- errors: {
1152
- 400: 'Bad Request',
1153
- 401: 'Unauthorized',
1154
- 403: 'Forbidden',
1155
- 404: 'Not Found',
1156
- 500: 'Server Error',
1157
- 501: 'Server Error'
1158
- }
1159
- });
1160
- }
1161
-
1162
- /**
1163
- * @returns unknown Success
1164
- * @throws ApiError
1165
- */
1166
- public getApiSaasTenantsDatabases(): CancelablePromise<GetApiSaasTenantsDatabasesResponse> {
1167
- return this.httpRequest.request({
1168
- method: 'GET',
1169
- url: '/api/saas/tenants/databases',
1170
- errors: {
1171
- 400: 'Bad Request',
1172
- 401: 'Unauthorized',
1173
- 403: 'Forbidden',
1174
- 404: 'Not Found',
1175
- 500: 'Server Error',
1176
- 501: 'Server Error'
1177
- }
1178
- });
1179
- }
1180
-
1181
- /**
1182
- * @param data The data for the request.
1183
- * @param data.id
1184
- * @returns unknown Success
1185
- * @throws ApiError
1186
- */
1187
- public getApiSaasTenantsByIdConnectionStrings(data: GetApiSaasTenantsByIdConnectionStringsData): CancelablePromise<GetApiSaasTenantsByIdConnectionStringsResponse> {
1188
- return this.httpRequest.request({
1189
- method: 'GET',
1190
- url: '/api/saas/tenants/{id}/connection-strings',
1191
- path: {
1192
- id: data.id
1193
- },
1194
- errors: {
1195
- 400: 'Bad Request',
1196
- 401: 'Unauthorized',
1197
- 403: 'Forbidden',
1198
- 404: 'Not Found',
1199
- 500: 'Server Error',
1200
- 501: 'Server Error'
1201
- }
1202
- });
1203
- }
1204
-
1205
- /**
1206
- * @param data The data for the request.
1207
- * @param data.id
1208
- * @param data.requestBody
1209
- * @returns unknown Success
1210
- * @throws ApiError
1211
- */
1212
- public putApiSaasTenantsByIdConnectionStrings(data: PutApiSaasTenantsByIdConnectionStringsData): CancelablePromise<PutApiSaasTenantsByIdConnectionStringsResponse> {
1213
- return this.httpRequest.request({
1214
- method: 'PUT',
1215
- url: '/api/saas/tenants/{id}/connection-strings',
1216
- path: {
1217
- id: data.id
1218
- },
1219
- body: data.requestBody,
1220
- mediaType: 'application/json',
1221
- errors: {
1222
- 400: 'Bad Request',
1223
- 401: 'Unauthorized',
1224
- 403: 'Forbidden',
1225
- 404: 'Not Found',
1226
- 500: 'Server Error',
1227
- 501: 'Server Error'
1228
- }
1229
- });
1230
- }
1231
-
1232
- /**
1233
- * @param data The data for the request.
1234
- * @param data.id
1235
- * @returns unknown Success
1236
- * @throws ApiError
1237
- */
1238
- public postApiSaasTenantsByIdApplyDatabaseMigrations(data: PostApiSaasTenantsByIdApplyDatabaseMigrationsData): CancelablePromise<PostApiSaasTenantsByIdApplyDatabaseMigrationsResponse> {
1239
- return this.httpRequest.request({
1240
- method: 'POST',
1241
- url: '/api/saas/tenants/{id}/apply-database-migrations',
1242
- path: {
1243
- id: data.id
1244
- },
1245
- errors: {
1246
- 400: 'Bad Request',
1247
- 401: 'Unauthorized',
1248
- 403: 'Forbidden',
1249
- 404: 'Not Found',
1250
- 500: 'Server Error',
1251
- 501: 'Server Error'
1252
- }
1253
- });
1254
- }
1255
-
1256
- /**
1257
- * @returns unknown Success
1258
- * @throws ApiError
1259
- */
1260
- public getApiSaasTenantsLookupEditions(): CancelablePromise<GetApiSaasTenantsLookupEditionsResponse> {
1261
- return this.httpRequest.request({
1262
- method: 'GET',
1263
- url: '/api/saas/tenants/lookup/editions',
1264
- errors: {
1265
- 400: 'Bad Request',
1266
- 401: 'Unauthorized',
1267
- 403: 'Forbidden',
1268
- 404: 'Not Found',
1269
- 500: 'Server Error',
1270
- 501: 'Server Error'
1271
- }
1272
- });
1273
- }
1274
-
1275
- /**
1276
- * @param data The data for the request.
1277
- * @param data.connectionString
1278
- * @returns boolean Success
1279
- * @throws ApiError
1280
- */
1281
- public getApiSaasTenantsCheckConnectionString(data: GetApiSaasTenantsCheckConnectionStringData = {}): CancelablePromise<GetApiSaasTenantsCheckConnectionStringResponse> {
1282
- return this.httpRequest.request({
1283
- method: 'GET',
1284
- url: '/api/saas/tenants/check-connection-string',
1285
- query: {
1286
- connectionString: data.connectionString
1287
- },
1288
- errors: {
1289
- 400: 'Bad Request',
1290
- 401: 'Unauthorized',
1291
- 403: 'Forbidden',
1292
- 404: 'Not Found',
1293
- 500: 'Server Error',
1294
- 501: 'Server Error'
1295
- }
1296
- });
1297
- }
1298
-
1299
- /**
1300
- * @param data The data for the request.
1301
- * @param data.id
1302
- * @param data.requestBody
1303
- * @returns unknown Success
1304
- * @throws ApiError
1305
- */
1306
- public putApiSaasTenantsByIdSetPassword(data: PutApiSaasTenantsByIdSetPasswordData): CancelablePromise<PutApiSaasTenantsByIdSetPasswordResponse> {
1307
- return this.httpRequest.request({
1308
- method: 'PUT',
1309
- url: '/api/saas/tenants/{id}/set-password',
1310
- path: {
1311
- id: data.id
1312
- },
1313
- body: data.requestBody,
1314
- mediaType: 'application/json',
1315
- errors: {
1316
- 400: 'Bad Request',
1317
- 401: 'Unauthorized',
1318
- 403: 'Forbidden',
1319
- 404: 'Not Found',
1320
- 500: 'Server Error',
1321
- 501: 'Server Error'
1322
- }
1323
- });
1324
- }
1325
-
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, GetApiSaasEditionsByIdData, GetApiSaasEditionsByIdResponse, PutApiSaasEditionsByIdData, PutApiSaasEditionsByIdResponse, DeleteApiSaasEditionsByIdData, DeleteApiSaasEditionsByIdResponse, GetApiSaasEditionsData, GetApiSaasEditionsResponse, PostApiSaasEditionsData, PostApiSaasEditionsResponse, PutApiSaasEditionsByIdMoveAllTenantsData, PutApiSaasEditionsByIdMoveAllTenantsResponse, GetApiSaasEditionsAllResponse, GetApiSaasEditionsStatisticsUsageStatisticResponse, GetApiSaasEditionsPlanLookupResponse, PostApiSaasSubscriptionData, PostApiSaasSubscriptionResponse, GetApiFeatureManagementFeaturesData, GetApiFeatureManagementFeaturesResponse, PutApiFeatureManagementFeaturesData, PutApiFeatureManagementFeaturesResponse, DeleteApiFeatureManagementFeaturesData, DeleteApiFeatureManagementFeaturesResponse, GetApiPaymentGatewaysResponse, GetApiPaymentGatewaysSubscriptionSupportedResponse, PostApiPaymentByPaymentMethodCompleteData, PostApiPaymentByPaymentMethodCompleteResponse, PostApiPaymentRequestsData, PostApiPaymentRequestsResponse, GetApiPaymentRequestsByIdData, GetApiPaymentRequestsByIdResponse, PostApiPaymentByPaymentMethodWebhookData, PostApiPaymentByPaymentMethodWebhookResponse, PostApiPaymentByPaymentMethodStartData, PostApiPaymentByPaymentMethodStartResponse, GetApiPaymentAdminPaymentRequestsData, GetApiPaymentAdminPaymentRequestsResponse, GetApiPaymentAdminPaymentRequestsByIdData, GetApiPaymentAdminPaymentRequestsByIdResponse, GetApiPaymentPlansByPlanIdByGatewayData, GetApiPaymentPlansByPlanIdByGatewayResponse, GetApiPaymentPlansResponse, GetApiPaymentPlansByPlanIdData, GetApiPaymentPlansByPlanIdResponse, GetApiPaymentPlansManyData, GetApiPaymentPlansManyResponse, PostApiPaymentAdminPlansData, PostApiPaymentAdminPlansResponse, DeleteApiPaymentAdminPlansData, DeleteApiPaymentAdminPlansResponse, GetApiPaymentAdminPlansData, GetApiPaymentAdminPlansResponse, PostApiPaymentAdminPlansByPlanIdExternalPlansData, PostApiPaymentAdminPlansByPlanIdExternalPlansResponse, GetApiPaymentAdminPlansByPlanIdExternalPlansData, GetApiPaymentAdminPlansByPlanIdExternalPlansResponse, DeleteApiPaymentAdminPlansByPlanIdExternalPlansByGatewayData, DeleteApiPaymentAdminPlansByPlanIdExternalPlansByGatewayResponse, PutApiPaymentAdminPlansByPlanIdExternalPlansByGatewayData, PutApiPaymentAdminPlansByPlanIdExternalPlansByGatewayResponse, GetApiPaymentAdminPlansByIdData, GetApiPaymentAdminPlansByIdResponse, PutApiPaymentAdminPlansByIdData, PutApiPaymentAdminPlansByIdResponse, GetApiSaasTenantsByIdData, GetApiSaasTenantsByIdResponse, PutApiSaasTenantsByIdData, PutApiSaasTenantsByIdResponse, DeleteApiSaasTenantsByIdData, DeleteApiSaasTenantsByIdResponse, GetApiSaasTenantsData, GetApiSaasTenantsResponse, PostApiSaasTenantsData, PostApiSaasTenantsResponse, GetApiSaasTenantsDatabasesResponse, GetApiSaasTenantsByIdConnectionStringsData, GetApiSaasTenantsByIdConnectionStringsResponse, PutApiSaasTenantsByIdConnectionStringsData, PutApiSaasTenantsByIdConnectionStringsResponse, PostApiSaasTenantsByIdApplyDatabaseMigrationsData, PostApiSaasTenantsByIdApplyDatabaseMigrationsResponse, GetApiSaasTenantsLookupEditionsResponse, GetApiSaasTenantsCheckConnectionStringData, GetApiSaasTenantsCheckConnectionStringResponse, PutApiSaasTenantsByIdSetPasswordData, PutApiSaasTenantsByIdSetPasswordResponse } 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 EditionService {
97
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
98
+
99
+ /**
100
+ * @param data The data for the request.
101
+ * @param data.id
102
+ * @returns unknown Success
103
+ * @throws ApiError
104
+ */
105
+ public getApiSaasEditionsById(data: GetApiSaasEditionsByIdData): CancelablePromise<GetApiSaasEditionsByIdResponse> {
106
+ return this.httpRequest.request({
107
+ method: 'GET',
108
+ url: '/api/saas/editions/{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.id
126
+ * @param data.requestBody
127
+ * @returns unknown Success
128
+ * @throws ApiError
129
+ */
130
+ public putApiSaasEditionsById(data: PutApiSaasEditionsByIdData): CancelablePromise<PutApiSaasEditionsByIdResponse> {
131
+ return this.httpRequest.request({
132
+ method: 'PUT',
133
+ url: '/api/saas/editions/{id}',
134
+ path: {
135
+ id: data.id
136
+ },
137
+ body: data.requestBody,
138
+ mediaType: 'application/json',
139
+ errors: {
140
+ 400: 'Bad Request',
141
+ 401: 'Unauthorized',
142
+ 403: 'Forbidden',
143
+ 404: 'Not Found',
144
+ 500: 'Server Error',
145
+ 501: 'Server Error'
146
+ }
147
+ });
148
+ }
149
+
150
+ /**
151
+ * @param data The data for the request.
152
+ * @param data.id
153
+ * @returns unknown Success
154
+ * @throws ApiError
155
+ */
156
+ public deleteApiSaasEditionsById(data: DeleteApiSaasEditionsByIdData): CancelablePromise<DeleteApiSaasEditionsByIdResponse> {
157
+ return this.httpRequest.request({
158
+ method: 'DELETE',
159
+ url: '/api/saas/editions/{id}',
160
+ path: {
161
+ id: data.id
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.filter
177
+ * @param data.sorting
178
+ * @param data.skipCount
179
+ * @param data.maxResultCount
180
+ * @returns unknown Success
181
+ * @throws ApiError
182
+ */
183
+ public getApiSaasEditions(data: GetApiSaasEditionsData = {}): CancelablePromise<GetApiSaasEditionsResponse> {
184
+ return this.httpRequest.request({
185
+ method: 'GET',
186
+ url: '/api/saas/editions',
187
+ query: {
188
+ Filter: data.filter,
189
+ Sorting: data.sorting,
190
+ SkipCount: data.skipCount,
191
+ MaxResultCount: data.maxResultCount
192
+ },
193
+ errors: {
194
+ 400: 'Bad Request',
195
+ 401: 'Unauthorized',
196
+ 403: 'Forbidden',
197
+ 404: 'Not Found',
198
+ 500: 'Server Error',
199
+ 501: 'Server Error'
200
+ }
201
+ });
202
+ }
203
+
204
+ /**
205
+ * @param data The data for the request.
206
+ * @param data.requestBody
207
+ * @returns unknown Success
208
+ * @throws ApiError
209
+ */
210
+ public postApiSaasEditions(data: PostApiSaasEditionsData = {}): CancelablePromise<PostApiSaasEditionsResponse> {
211
+ return this.httpRequest.request({
212
+ method: 'POST',
213
+ url: '/api/saas/editions',
214
+ body: data.requestBody,
215
+ mediaType: 'application/json',
216
+ errors: {
217
+ 400: 'Bad Request',
218
+ 401: 'Unauthorized',
219
+ 403: 'Forbidden',
220
+ 404: 'Not Found',
221
+ 500: 'Server Error',
222
+ 501: 'Server Error'
223
+ }
224
+ });
225
+ }
226
+
227
+ /**
228
+ * @param data The data for the request.
229
+ * @param data.id
230
+ * @param data.editionId
231
+ * @returns unknown Success
232
+ * @throws ApiError
233
+ */
234
+ public putApiSaasEditionsByIdMoveAllTenants(data: PutApiSaasEditionsByIdMoveAllTenantsData): CancelablePromise<PutApiSaasEditionsByIdMoveAllTenantsResponse> {
235
+ return this.httpRequest.request({
236
+ method: 'PUT',
237
+ url: '/api/saas/editions/{id}/move-all-tenants',
238
+ path: {
239
+ id: data.id
240
+ },
241
+ query: {
242
+ editionId: data.editionId
243
+ },
244
+ errors: {
245
+ 400: 'Bad Request',
246
+ 401: 'Unauthorized',
247
+ 403: 'Forbidden',
248
+ 404: 'Not Found',
249
+ 500: 'Server Error',
250
+ 501: 'Server Error'
251
+ }
252
+ });
253
+ }
254
+
255
+ /**
256
+ * @returns unknown Success
257
+ * @throws ApiError
258
+ */
259
+ public getApiSaasEditionsAll(): CancelablePromise<GetApiSaasEditionsAllResponse> {
260
+ return this.httpRequest.request({
261
+ method: 'GET',
262
+ url: '/api/saas/editions/all',
263
+ errors: {
264
+ 400: 'Bad Request',
265
+ 401: 'Unauthorized',
266
+ 403: 'Forbidden',
267
+ 404: 'Not Found',
268
+ 500: 'Server Error',
269
+ 501: 'Server Error'
270
+ }
271
+ });
272
+ }
273
+
274
+ /**
275
+ * @returns unknown Success
276
+ * @throws ApiError
277
+ */
278
+ public getApiSaasEditionsStatisticsUsageStatistic(): CancelablePromise<GetApiSaasEditionsStatisticsUsageStatisticResponse> {
279
+ return this.httpRequest.request({
280
+ method: 'GET',
281
+ url: '/api/saas/editions/statistics/usage-statistic',
282
+ errors: {
283
+ 400: 'Bad Request',
284
+ 401: 'Unauthorized',
285
+ 403: 'Forbidden',
286
+ 404: 'Not Found',
287
+ 500: 'Server Error',
288
+ 501: 'Server Error'
289
+ }
290
+ });
291
+ }
292
+
293
+ /**
294
+ * @returns unknown Success
295
+ * @throws ApiError
296
+ */
297
+ public getApiSaasEditionsPlanLookup(): CancelablePromise<GetApiSaasEditionsPlanLookupResponse> {
298
+ return this.httpRequest.request({
299
+ method: 'GET',
300
+ url: '/api/saas/editions/plan-lookup',
301
+ errors: {
302
+ 400: 'Bad Request',
303
+ 401: 'Unauthorized',
304
+ 403: 'Forbidden',
305
+ 404: 'Not Found',
306
+ 500: 'Server Error',
307
+ 501: 'Server Error'
308
+ }
309
+ });
310
+ }
311
+
312
+ /**
313
+ * @param data The data for the request.
314
+ * @param data.editionId
315
+ * @param data.tenantId
316
+ * @returns unknown Success
317
+ * @throws ApiError
318
+ */
319
+ public postApiSaasSubscription(data: PostApiSaasSubscriptionData = {}): CancelablePromise<PostApiSaasSubscriptionResponse> {
320
+ return this.httpRequest.request({
321
+ method: 'POST',
322
+ url: '/api/saas/subscription',
323
+ query: {
324
+ editionId: data.editionId,
325
+ tenantId: data.tenantId
326
+ },
327
+ errors: {
328
+ 400: 'Bad Request',
329
+ 401: 'Unauthorized',
330
+ 403: 'Forbidden',
331
+ 404: 'Not Found',
332
+ 500: 'Server Error',
333
+ 501: 'Server Error'
334
+ }
335
+ });
336
+ }
337
+
338
+ }
339
+
340
+ export class FeaturesService {
341
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
342
+
343
+ /**
344
+ * @param data The data for the request.
345
+ * @param data.providerName
346
+ * @param data.providerKey
347
+ * @returns unknown Success
348
+ * @throws ApiError
349
+ */
350
+ public getApiFeatureManagementFeatures(data: GetApiFeatureManagementFeaturesData = {}): CancelablePromise<GetApiFeatureManagementFeaturesResponse> {
351
+ return this.httpRequest.request({
352
+ method: 'GET',
353
+ url: '/api/feature-management/features',
354
+ query: {
355
+ providerName: data.providerName,
356
+ providerKey: data.providerKey
357
+ },
358
+ errors: {
359
+ 400: 'Bad Request',
360
+ 401: 'Unauthorized',
361
+ 403: 'Forbidden',
362
+ 404: 'Not Found',
363
+ 500: 'Server Error',
364
+ 501: 'Server Error'
365
+ }
366
+ });
367
+ }
368
+
369
+ /**
370
+ * @param data The data for the request.
371
+ * @param data.providerName
372
+ * @param data.providerKey
373
+ * @param data.requestBody
374
+ * @returns unknown Success
375
+ * @throws ApiError
376
+ */
377
+ public putApiFeatureManagementFeatures(data: PutApiFeatureManagementFeaturesData = {}): CancelablePromise<PutApiFeatureManagementFeaturesResponse> {
378
+ return this.httpRequest.request({
379
+ method: 'PUT',
380
+ url: '/api/feature-management/features',
381
+ query: {
382
+ providerName: data.providerName,
383
+ providerKey: data.providerKey
384
+ },
385
+ body: data.requestBody,
386
+ mediaType: 'application/json',
387
+ errors: {
388
+ 400: 'Bad Request',
389
+ 401: 'Unauthorized',
390
+ 403: 'Forbidden',
391
+ 404: 'Not Found',
392
+ 500: 'Server Error',
393
+ 501: 'Server Error'
394
+ }
395
+ });
396
+ }
397
+
398
+ /**
399
+ * @param data The data for the request.
400
+ * @param data.providerName
401
+ * @param data.providerKey
402
+ * @returns unknown Success
403
+ * @throws ApiError
404
+ */
405
+ public deleteApiFeatureManagementFeatures(data: DeleteApiFeatureManagementFeaturesData = {}): CancelablePromise<DeleteApiFeatureManagementFeaturesResponse> {
406
+ return this.httpRequest.request({
407
+ method: 'DELETE',
408
+ url: '/api/feature-management/features',
409
+ query: {
410
+ providerName: data.providerName,
411
+ providerKey: data.providerKey
412
+ },
413
+ errors: {
414
+ 400: 'Bad Request',
415
+ 401: 'Unauthorized',
416
+ 403: 'Forbidden',
417
+ 404: 'Not Found',
418
+ 500: 'Server Error',
419
+ 501: 'Server Error'
420
+ }
421
+ });
422
+ }
423
+
424
+ }
425
+
426
+ export class GatewayService {
427
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
428
+
429
+ /**
430
+ * @returns unknown Success
431
+ * @throws ApiError
432
+ */
433
+ public getApiPaymentGateways(): CancelablePromise<GetApiPaymentGatewaysResponse> {
434
+ return this.httpRequest.request({
435
+ method: 'GET',
436
+ url: '/api/payment/gateways',
437
+ errors: {
438
+ 400: 'Bad Request',
439
+ 401: 'Unauthorized',
440
+ 403: 'Forbidden',
441
+ 404: 'Not Found',
442
+ 500: 'Server Error',
443
+ 501: 'Server Error'
444
+ }
445
+ });
446
+ }
447
+
448
+ /**
449
+ * @returns unknown Success
450
+ * @throws ApiError
451
+ */
452
+ public getApiPaymentGatewaysSubscriptionSupported(): CancelablePromise<GetApiPaymentGatewaysSubscriptionSupportedResponse> {
453
+ return this.httpRequest.request({
454
+ method: 'GET',
455
+ url: '/api/payment/gateways/subscription-supported',
456
+ errors: {
457
+ 400: 'Bad Request',
458
+ 401: 'Unauthorized',
459
+ 403: 'Forbidden',
460
+ 404: 'Not Found',
461
+ 500: 'Server Error',
462
+ 501: 'Server Error'
463
+ }
464
+ });
465
+ }
466
+
467
+ }
468
+
469
+ export class PaymentRequestService {
470
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
471
+
472
+ /**
473
+ * @param data The data for the request.
474
+ * @param data.paymentMethod
475
+ * @param data.requestBody
476
+ * @returns unknown Success
477
+ * @throws ApiError
478
+ */
479
+ public postApiPaymentByPaymentMethodComplete(data: PostApiPaymentByPaymentMethodCompleteData): CancelablePromise<PostApiPaymentByPaymentMethodCompleteResponse> {
480
+ return this.httpRequest.request({
481
+ method: 'POST',
482
+ url: '/api/payment/{paymentMethod}/complete',
483
+ path: {
484
+ paymentMethod: data.paymentMethod
485
+ },
486
+ body: data.requestBody,
487
+ mediaType: 'application/json',
488
+ errors: {
489
+ 400: 'Bad Request',
490
+ 401: 'Unauthorized',
491
+ 403: 'Forbidden',
492
+ 404: 'Not Found',
493
+ 500: 'Server Error',
494
+ 501: 'Server Error'
495
+ }
496
+ });
497
+ }
498
+
499
+ /**
500
+ * @param data The data for the request.
501
+ * @param data.requestBody
502
+ * @returns unknown Success
503
+ * @throws ApiError
504
+ */
505
+ public postApiPaymentRequests(data: PostApiPaymentRequestsData = {}): CancelablePromise<PostApiPaymentRequestsResponse> {
506
+ return this.httpRequest.request({
507
+ method: 'POST',
508
+ url: '/api/payment/requests',
509
+ body: data.requestBody,
510
+ mediaType: 'application/json',
511
+ errors: {
512
+ 400: 'Bad Request',
513
+ 401: 'Unauthorized',
514
+ 403: 'Forbidden',
515
+ 404: 'Not Found',
516
+ 500: 'Server Error',
517
+ 501: 'Server Error'
518
+ }
519
+ });
520
+ }
521
+
522
+ /**
523
+ * @param data The data for the request.
524
+ * @param data.id
525
+ * @returns unknown Success
526
+ * @throws ApiError
527
+ */
528
+ public getApiPaymentRequestsById(data: GetApiPaymentRequestsByIdData): CancelablePromise<GetApiPaymentRequestsByIdResponse> {
529
+ return this.httpRequest.request({
530
+ method: 'GET',
531
+ url: '/api/payment/requests/{id}',
532
+ path: {
533
+ id: data.id
534
+ },
535
+ errors: {
536
+ 400: 'Bad Request',
537
+ 401: 'Unauthorized',
538
+ 403: 'Forbidden',
539
+ 404: 'Not Found',
540
+ 500: 'Server Error',
541
+ 501: 'Server Error'
542
+ }
543
+ });
544
+ }
545
+
546
+ /**
547
+ * @param data The data for the request.
548
+ * @param data.paymentMethod
549
+ * @param data.payload
550
+ * @param data.headers
551
+ * @returns boolean Success
552
+ * @throws ApiError
553
+ */
554
+ public postApiPaymentByPaymentMethodWebhook(data: PostApiPaymentByPaymentMethodWebhookData): CancelablePromise<PostApiPaymentByPaymentMethodWebhookResponse> {
555
+ return this.httpRequest.request({
556
+ method: 'POST',
557
+ url: '/api/payment/{paymentMethod}/webhook',
558
+ path: {
559
+ paymentMethod: data.paymentMethod
560
+ },
561
+ headers: {
562
+ headers: data.headers
563
+ },
564
+ query: {
565
+ payload: data.payload
566
+ },
567
+ errors: {
568
+ 400: 'Bad Request',
569
+ 401: 'Unauthorized',
570
+ 403: 'Forbidden',
571
+ 404: 'Not Found',
572
+ 500: 'Server Error',
573
+ 501: 'Server Error'
574
+ }
575
+ });
576
+ }
577
+
578
+ /**
579
+ * @param data The data for the request.
580
+ * @param data.paymentMethod
581
+ * @param data.requestBody
582
+ * @returns unknown Success
583
+ * @throws ApiError
584
+ */
585
+ public postApiPaymentByPaymentMethodStart(data: PostApiPaymentByPaymentMethodStartData): CancelablePromise<PostApiPaymentByPaymentMethodStartResponse> {
586
+ return this.httpRequest.request({
587
+ method: 'POST',
588
+ url: '/api/payment/{paymentMethod}/start',
589
+ path: {
590
+ paymentMethod: data.paymentMethod
591
+ },
592
+ body: data.requestBody,
593
+ mediaType: 'application/json',
594
+ errors: {
595
+ 400: 'Bad Request',
596
+ 401: 'Unauthorized',
597
+ 403: 'Forbidden',
598
+ 404: 'Not Found',
599
+ 500: 'Server Error',
600
+ 501: 'Server Error'
601
+ }
602
+ });
603
+ }
604
+
605
+ }
606
+
607
+ export class PaymentRequestAdminService {
608
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
609
+
610
+ /**
611
+ * @param data The data for the request.
612
+ * @param data.filter
613
+ * @param data.creationDateMax
614
+ * @param data.creationDateMin
615
+ * @param data.paymentType
616
+ * @param data.status
617
+ * @param data.sorting
618
+ * @param data.skipCount
619
+ * @param data.maxResultCount
620
+ * @returns unknown Success
621
+ * @throws ApiError
622
+ */
623
+ public getApiPaymentAdminPaymentRequests(data: GetApiPaymentAdminPaymentRequestsData = {}): CancelablePromise<GetApiPaymentAdminPaymentRequestsResponse> {
624
+ return this.httpRequest.request({
625
+ method: 'GET',
626
+ url: '/api/payment-admin/payment-requests',
627
+ query: {
628
+ Filter: data.filter,
629
+ CreationDateMax: data.creationDateMax,
630
+ CreationDateMin: data.creationDateMin,
631
+ PaymentType: data.paymentType,
632
+ Status: data.status,
633
+ Sorting: data.sorting,
634
+ SkipCount: data.skipCount,
635
+ MaxResultCount: data.maxResultCount
636
+ },
637
+ errors: {
638
+ 400: 'Bad Request',
639
+ 401: 'Unauthorized',
640
+ 403: 'Forbidden',
641
+ 404: 'Not Found',
642
+ 500: 'Server Error',
643
+ 501: 'Server Error'
644
+ }
645
+ });
646
+ }
647
+
648
+ /**
649
+ * @param data The data for the request.
650
+ * @param data.id
651
+ * @returns unknown Success
652
+ * @throws ApiError
653
+ */
654
+ public getApiPaymentAdminPaymentRequestsById(data: GetApiPaymentAdminPaymentRequestsByIdData): CancelablePromise<GetApiPaymentAdminPaymentRequestsByIdResponse> {
655
+ return this.httpRequest.request({
656
+ method: 'GET',
657
+ url: '/api/payment-admin/payment-requests/{id}',
658
+ path: {
659
+ id: data.id
660
+ },
661
+ errors: {
662
+ 400: 'Bad Request',
663
+ 401: 'Unauthorized',
664
+ 403: 'Forbidden',
665
+ 404: 'Not Found',
666
+ 500: 'Server Error',
667
+ 501: 'Server Error'
668
+ }
669
+ });
670
+ }
671
+
672
+ }
673
+
674
+ export class PlanService {
675
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
676
+
677
+ /**
678
+ * @param data The data for the request.
679
+ * @param data.planId
680
+ * @param data.gateway
681
+ * @returns unknown Success
682
+ * @throws ApiError
683
+ */
684
+ public getApiPaymentPlansByPlanIdByGateway(data: GetApiPaymentPlansByPlanIdByGatewayData): CancelablePromise<GetApiPaymentPlansByPlanIdByGatewayResponse> {
685
+ return this.httpRequest.request({
686
+ method: 'GET',
687
+ url: '/api/payment/plans/{planId}/{gateway}',
688
+ path: {
689
+ planId: data.planId,
690
+ gateway: data.gateway
691
+ },
692
+ errors: {
693
+ 400: 'Bad Request',
694
+ 401: 'Unauthorized',
695
+ 403: 'Forbidden',
696
+ 404: 'Not Found',
697
+ 500: 'Server Error',
698
+ 501: 'Server Error'
699
+ }
700
+ });
701
+ }
702
+
703
+ /**
704
+ * @returns unknown Success
705
+ * @throws ApiError
706
+ */
707
+ public getApiPaymentPlans(): CancelablePromise<GetApiPaymentPlansResponse> {
708
+ return this.httpRequest.request({
709
+ method: 'GET',
710
+ url: '/api/payment/plans',
711
+ errors: {
712
+ 400: 'Bad Request',
713
+ 401: 'Unauthorized',
714
+ 403: 'Forbidden',
715
+ 404: 'Not Found',
716
+ 500: 'Server Error',
717
+ 501: 'Server Error'
718
+ }
719
+ });
720
+ }
721
+
722
+ /**
723
+ * @param data The data for the request.
724
+ * @param data.planId
725
+ * @returns unknown Success
726
+ * @throws ApiError
727
+ */
728
+ public getApiPaymentPlansByPlanId(data: GetApiPaymentPlansByPlanIdData): CancelablePromise<GetApiPaymentPlansByPlanIdResponse> {
729
+ return this.httpRequest.request({
730
+ method: 'GET',
731
+ url: '/api/payment/plans/{planId}',
732
+ path: {
733
+ planId: data.planId
734
+ },
735
+ errors: {
736
+ 400: 'Bad Request',
737
+ 401: 'Unauthorized',
738
+ 403: 'Forbidden',
739
+ 404: 'Not Found',
740
+ 500: 'Server Error',
741
+ 501: 'Server Error'
742
+ }
743
+ });
744
+ }
745
+
746
+ /**
747
+ * @param data The data for the request.
748
+ * @param data.ids
749
+ * @returns unknown Success
750
+ * @throws ApiError
751
+ */
752
+ public getApiPaymentPlansMany(data: GetApiPaymentPlansManyData = {}): CancelablePromise<GetApiPaymentPlansManyResponse> {
753
+ return this.httpRequest.request({
754
+ method: 'GET',
755
+ url: '/api/payment/plans/many',
756
+ query: {
757
+ ids: data.ids
758
+ },
759
+ errors: {
760
+ 400: 'Bad Request',
761
+ 401: 'Unauthorized',
762
+ 403: 'Forbidden',
763
+ 404: 'Not Found',
764
+ 500: 'Server Error',
765
+ 501: 'Server Error'
766
+ }
767
+ });
768
+ }
769
+
770
+ }
771
+
772
+ export class PlanAdminService {
773
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
774
+
775
+ /**
776
+ * @param data The data for the request.
777
+ * @param data.requestBody
778
+ * @returns unknown Success
779
+ * @throws ApiError
780
+ */
781
+ public postApiPaymentAdminPlans(data: PostApiPaymentAdminPlansData = {}): CancelablePromise<PostApiPaymentAdminPlansResponse> {
782
+ return this.httpRequest.request({
783
+ method: 'POST',
784
+ url: '/api/payment-admin/plans',
785
+ body: data.requestBody,
786
+ mediaType: 'application/json',
787
+ errors: {
788
+ 400: 'Bad Request',
789
+ 401: 'Unauthorized',
790
+ 403: 'Forbidden',
791
+ 404: 'Not Found',
792
+ 500: 'Server Error',
793
+ 501: 'Server Error'
794
+ }
795
+ });
796
+ }
797
+
798
+ /**
799
+ * @param data The data for the request.
800
+ * @param data.id
801
+ * @returns unknown Success
802
+ * @throws ApiError
803
+ */
804
+ public deleteApiPaymentAdminPlans(data: DeleteApiPaymentAdminPlansData = {}): CancelablePromise<DeleteApiPaymentAdminPlansResponse> {
805
+ return this.httpRequest.request({
806
+ method: 'DELETE',
807
+ url: '/api/payment-admin/plans',
808
+ query: {
809
+ id: data.id
810
+ },
811
+ errors: {
812
+ 400: 'Bad Request',
813
+ 401: 'Unauthorized',
814
+ 403: 'Forbidden',
815
+ 404: 'Not Found',
816
+ 500: 'Server Error',
817
+ 501: 'Server Error'
818
+ }
819
+ });
820
+ }
821
+
822
+ /**
823
+ * @param data The data for the request.
824
+ * @param data.filter
825
+ * @param data.sorting
826
+ * @param data.skipCount
827
+ * @param data.maxResultCount
828
+ * @returns unknown Success
829
+ * @throws ApiError
830
+ */
831
+ public getApiPaymentAdminPlans(data: GetApiPaymentAdminPlansData = {}): CancelablePromise<GetApiPaymentAdminPlansResponse> {
832
+ return this.httpRequest.request({
833
+ method: 'GET',
834
+ url: '/api/payment-admin/plans',
835
+ query: {
836
+ Filter: data.filter,
837
+ Sorting: data.sorting,
838
+ SkipCount: data.skipCount,
839
+ MaxResultCount: data.maxResultCount
840
+ },
841
+ errors: {
842
+ 400: 'Bad Request',
843
+ 401: 'Unauthorized',
844
+ 403: 'Forbidden',
845
+ 404: 'Not Found',
846
+ 500: 'Server Error',
847
+ 501: 'Server Error'
848
+ }
849
+ });
850
+ }
851
+
852
+ /**
853
+ * @param data The data for the request.
854
+ * @param data.planId
855
+ * @param data.requestBody
856
+ * @returns unknown Success
857
+ * @throws ApiError
858
+ */
859
+ public postApiPaymentAdminPlansByPlanIdExternalPlans(data: PostApiPaymentAdminPlansByPlanIdExternalPlansData): CancelablePromise<PostApiPaymentAdminPlansByPlanIdExternalPlansResponse> {
860
+ return this.httpRequest.request({
861
+ method: 'POST',
862
+ url: '/api/payment-admin/plans/{planId}/external-plans',
863
+ path: {
864
+ planId: data.planId
865
+ },
866
+ body: data.requestBody,
867
+ mediaType: 'application/json',
868
+ errors: {
869
+ 400: 'Bad Request',
870
+ 401: 'Unauthorized',
871
+ 403: 'Forbidden',
872
+ 404: 'Not Found',
873
+ 500: 'Server Error',
874
+ 501: 'Server Error'
875
+ }
876
+ });
877
+ }
878
+
879
+ /**
880
+ * @param data The data for the request.
881
+ * @param data.planId
882
+ * @param data.filter
883
+ * @param data.sorting
884
+ * @param data.skipCount
885
+ * @param data.maxResultCount
886
+ * @returns unknown Success
887
+ * @throws ApiError
888
+ */
889
+ public getApiPaymentAdminPlansByPlanIdExternalPlans(data: GetApiPaymentAdminPlansByPlanIdExternalPlansData): CancelablePromise<GetApiPaymentAdminPlansByPlanIdExternalPlansResponse> {
890
+ return this.httpRequest.request({
891
+ method: 'GET',
892
+ url: '/api/payment-admin/plans/{planId}/external-plans',
893
+ path: {
894
+ planId: data.planId
895
+ },
896
+ query: {
897
+ Filter: data.filter,
898
+ Sorting: data.sorting,
899
+ SkipCount: data.skipCount,
900
+ MaxResultCount: data.maxResultCount
901
+ },
902
+ errors: {
903
+ 400: 'Bad Request',
904
+ 401: 'Unauthorized',
905
+ 403: 'Forbidden',
906
+ 404: 'Not Found',
907
+ 500: 'Server Error',
908
+ 501: 'Server Error'
909
+ }
910
+ });
911
+ }
912
+
913
+ /**
914
+ * @param data The data for the request.
915
+ * @param data.planId
916
+ * @param data.gateway
917
+ * @returns unknown Success
918
+ * @throws ApiError
919
+ */
920
+ public deleteApiPaymentAdminPlansByPlanIdExternalPlansByGateway(data: DeleteApiPaymentAdminPlansByPlanIdExternalPlansByGatewayData): CancelablePromise<DeleteApiPaymentAdminPlansByPlanIdExternalPlansByGatewayResponse> {
921
+ return this.httpRequest.request({
922
+ method: 'DELETE',
923
+ url: '/api/payment-admin/plans/{planId}/external-plans/{gateway}',
924
+ path: {
925
+ planId: data.planId,
926
+ gateway: data.gateway
927
+ },
928
+ errors: {
929
+ 400: 'Bad Request',
930
+ 401: 'Unauthorized',
931
+ 403: 'Forbidden',
932
+ 404: 'Not Found',
933
+ 500: 'Server Error',
934
+ 501: 'Server Error'
935
+ }
936
+ });
937
+ }
938
+
939
+ /**
940
+ * @param data The data for the request.
941
+ * @param data.planId
942
+ * @param data.gateway
943
+ * @param data.requestBody
944
+ * @returns unknown Success
945
+ * @throws ApiError
946
+ */
947
+ public putApiPaymentAdminPlansByPlanIdExternalPlansByGateway(data: PutApiPaymentAdminPlansByPlanIdExternalPlansByGatewayData): CancelablePromise<PutApiPaymentAdminPlansByPlanIdExternalPlansByGatewayResponse> {
948
+ return this.httpRequest.request({
949
+ method: 'PUT',
950
+ url: '/api/payment-admin/plans/{planId}/external-plans/{gateway}',
951
+ path: {
952
+ planId: data.planId,
953
+ gateway: data.gateway
954
+ },
955
+ body: data.requestBody,
956
+ mediaType: 'application/json',
957
+ errors: {
958
+ 400: 'Bad Request',
959
+ 401: 'Unauthorized',
960
+ 403: 'Forbidden',
961
+ 404: 'Not Found',
962
+ 500: 'Server Error',
963
+ 501: 'Server Error'
964
+ }
965
+ });
966
+ }
967
+
968
+ /**
969
+ * @param data The data for the request.
970
+ * @param data.id
971
+ * @returns unknown Success
972
+ * @throws ApiError
973
+ */
974
+ public getApiPaymentAdminPlansById(data: GetApiPaymentAdminPlansByIdData): CancelablePromise<GetApiPaymentAdminPlansByIdResponse> {
975
+ return this.httpRequest.request({
976
+ method: 'GET',
977
+ url: '/api/payment-admin/plans/{id}',
978
+ path: {
979
+ id: data.id
980
+ },
981
+ errors: {
982
+ 400: 'Bad Request',
983
+ 401: 'Unauthorized',
984
+ 403: 'Forbidden',
985
+ 404: 'Not Found',
986
+ 500: 'Server Error',
987
+ 501: 'Server Error'
988
+ }
989
+ });
990
+ }
991
+
992
+ /**
993
+ * @param data The data for the request.
994
+ * @param data.id
995
+ * @param data.requestBody
996
+ * @returns unknown Success
997
+ * @throws ApiError
998
+ */
999
+ public putApiPaymentAdminPlansById(data: PutApiPaymentAdminPlansByIdData): CancelablePromise<PutApiPaymentAdminPlansByIdResponse> {
1000
+ return this.httpRequest.request({
1001
+ method: 'PUT',
1002
+ url: '/api/payment-admin/plans/{id}',
1003
+ path: {
1004
+ id: data.id
1005
+ },
1006
+ body: data.requestBody,
1007
+ mediaType: 'application/json',
1008
+ errors: {
1009
+ 400: 'Bad Request',
1010
+ 401: 'Unauthorized',
1011
+ 403: 'Forbidden',
1012
+ 404: 'Not Found',
1013
+ 500: 'Server Error',
1014
+ 501: 'Server Error'
1015
+ }
1016
+ });
1017
+ }
1018
+
1019
+ }
1020
+
1021
+ export class TenantService {
1022
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
1023
+
1024
+ /**
1025
+ * @param data The data for the request.
1026
+ * @param data.id
1027
+ * @returns unknown Success
1028
+ * @throws ApiError
1029
+ */
1030
+ public getApiSaasTenantsById(data: GetApiSaasTenantsByIdData): CancelablePromise<GetApiSaasTenantsByIdResponse> {
1031
+ return this.httpRequest.request({
1032
+ method: 'GET',
1033
+ url: '/api/saas/tenants/{id}',
1034
+ path: {
1035
+ id: data.id
1036
+ },
1037
+ errors: {
1038
+ 400: 'Bad Request',
1039
+ 401: 'Unauthorized',
1040
+ 403: 'Forbidden',
1041
+ 404: 'Not Found',
1042
+ 500: 'Server Error',
1043
+ 501: 'Server Error'
1044
+ }
1045
+ });
1046
+ }
1047
+
1048
+ /**
1049
+ * @param data The data for the request.
1050
+ * @param data.id
1051
+ * @param data.requestBody
1052
+ * @returns unknown Success
1053
+ * @throws ApiError
1054
+ */
1055
+ public putApiSaasTenantsById(data: PutApiSaasTenantsByIdData): CancelablePromise<PutApiSaasTenantsByIdResponse> {
1056
+ return this.httpRequest.request({
1057
+ method: 'PUT',
1058
+ url: '/api/saas/tenants/{id}',
1059
+ path: {
1060
+ id: data.id
1061
+ },
1062
+ body: data.requestBody,
1063
+ mediaType: 'application/json',
1064
+ errors: {
1065
+ 400: 'Bad Request',
1066
+ 401: 'Unauthorized',
1067
+ 403: 'Forbidden',
1068
+ 404: 'Not Found',
1069
+ 500: 'Server Error',
1070
+ 501: 'Server Error'
1071
+ }
1072
+ });
1073
+ }
1074
+
1075
+ /**
1076
+ * @param data The data for the request.
1077
+ * @param data.id
1078
+ * @returns unknown Success
1079
+ * @throws ApiError
1080
+ */
1081
+ public deleteApiSaasTenantsById(data: DeleteApiSaasTenantsByIdData): CancelablePromise<DeleteApiSaasTenantsByIdResponse> {
1082
+ return this.httpRequest.request({
1083
+ method: 'DELETE',
1084
+ url: '/api/saas/tenants/{id}',
1085
+ path: {
1086
+ id: data.id
1087
+ },
1088
+ errors: {
1089
+ 400: 'Bad Request',
1090
+ 401: 'Unauthorized',
1091
+ 403: 'Forbidden',
1092
+ 404: 'Not Found',
1093
+ 500: 'Server Error',
1094
+ 501: 'Server Error'
1095
+ }
1096
+ });
1097
+ }
1098
+
1099
+ /**
1100
+ * @param data The data for the request.
1101
+ * @param data.filter
1102
+ * @param data.getEditionNames
1103
+ * @param data.editionId
1104
+ * @param data.expirationDateMin
1105
+ * @param data.expirationDateMax
1106
+ * @param data.activationState
1107
+ * @param data.sorting
1108
+ * @param data.skipCount
1109
+ * @param data.maxResultCount
1110
+ * @returns unknown Success
1111
+ * @throws ApiError
1112
+ */
1113
+ public getApiSaasTenants(data: GetApiSaasTenantsData = {}): CancelablePromise<GetApiSaasTenantsResponse> {
1114
+ return this.httpRequest.request({
1115
+ method: 'GET',
1116
+ url: '/api/saas/tenants',
1117
+ query: {
1118
+ Filter: data.filter,
1119
+ GetEditionNames: data.getEditionNames,
1120
+ EditionId: data.editionId,
1121
+ ExpirationDateMin: data.expirationDateMin,
1122
+ ExpirationDateMax: data.expirationDateMax,
1123
+ ActivationState: data.activationState,
1124
+ Sorting: data.sorting,
1125
+ SkipCount: data.skipCount,
1126
+ MaxResultCount: data.maxResultCount
1127
+ },
1128
+ errors: {
1129
+ 400: 'Bad Request',
1130
+ 401: 'Unauthorized',
1131
+ 403: 'Forbidden',
1132
+ 404: 'Not Found',
1133
+ 500: 'Server Error',
1134
+ 501: 'Server Error'
1135
+ }
1136
+ });
1137
+ }
1138
+
1139
+ /**
1140
+ * @param data The data for the request.
1141
+ * @param data.requestBody
1142
+ * @returns unknown Success
1143
+ * @throws ApiError
1144
+ */
1145
+ public postApiSaasTenants(data: PostApiSaasTenantsData = {}): CancelablePromise<PostApiSaasTenantsResponse> {
1146
+ return this.httpRequest.request({
1147
+ method: 'POST',
1148
+ url: '/api/saas/tenants',
1149
+ body: data.requestBody,
1150
+ mediaType: 'application/json',
1151
+ errors: {
1152
+ 400: 'Bad Request',
1153
+ 401: 'Unauthorized',
1154
+ 403: 'Forbidden',
1155
+ 404: 'Not Found',
1156
+ 500: 'Server Error',
1157
+ 501: 'Server Error'
1158
+ }
1159
+ });
1160
+ }
1161
+
1162
+ /**
1163
+ * @returns unknown Success
1164
+ * @throws ApiError
1165
+ */
1166
+ public getApiSaasTenantsDatabases(): CancelablePromise<GetApiSaasTenantsDatabasesResponse> {
1167
+ return this.httpRequest.request({
1168
+ method: 'GET',
1169
+ url: '/api/saas/tenants/databases',
1170
+ errors: {
1171
+ 400: 'Bad Request',
1172
+ 401: 'Unauthorized',
1173
+ 403: 'Forbidden',
1174
+ 404: 'Not Found',
1175
+ 500: 'Server Error',
1176
+ 501: 'Server Error'
1177
+ }
1178
+ });
1179
+ }
1180
+
1181
+ /**
1182
+ * @param data The data for the request.
1183
+ * @param data.id
1184
+ * @returns unknown Success
1185
+ * @throws ApiError
1186
+ */
1187
+ public getApiSaasTenantsByIdConnectionStrings(data: GetApiSaasTenantsByIdConnectionStringsData): CancelablePromise<GetApiSaasTenantsByIdConnectionStringsResponse> {
1188
+ return this.httpRequest.request({
1189
+ method: 'GET',
1190
+ url: '/api/saas/tenants/{id}/connection-strings',
1191
+ path: {
1192
+ id: data.id
1193
+ },
1194
+ errors: {
1195
+ 400: 'Bad Request',
1196
+ 401: 'Unauthorized',
1197
+ 403: 'Forbidden',
1198
+ 404: 'Not Found',
1199
+ 500: 'Server Error',
1200
+ 501: 'Server Error'
1201
+ }
1202
+ });
1203
+ }
1204
+
1205
+ /**
1206
+ * @param data The data for the request.
1207
+ * @param data.id
1208
+ * @param data.requestBody
1209
+ * @returns unknown Success
1210
+ * @throws ApiError
1211
+ */
1212
+ public putApiSaasTenantsByIdConnectionStrings(data: PutApiSaasTenantsByIdConnectionStringsData): CancelablePromise<PutApiSaasTenantsByIdConnectionStringsResponse> {
1213
+ return this.httpRequest.request({
1214
+ method: 'PUT',
1215
+ url: '/api/saas/tenants/{id}/connection-strings',
1216
+ path: {
1217
+ id: data.id
1218
+ },
1219
+ body: data.requestBody,
1220
+ mediaType: 'application/json',
1221
+ errors: {
1222
+ 400: 'Bad Request',
1223
+ 401: 'Unauthorized',
1224
+ 403: 'Forbidden',
1225
+ 404: 'Not Found',
1226
+ 500: 'Server Error',
1227
+ 501: 'Server Error'
1228
+ }
1229
+ });
1230
+ }
1231
+
1232
+ /**
1233
+ * @param data The data for the request.
1234
+ * @param data.id
1235
+ * @returns unknown Success
1236
+ * @throws ApiError
1237
+ */
1238
+ public postApiSaasTenantsByIdApplyDatabaseMigrations(data: PostApiSaasTenantsByIdApplyDatabaseMigrationsData): CancelablePromise<PostApiSaasTenantsByIdApplyDatabaseMigrationsResponse> {
1239
+ return this.httpRequest.request({
1240
+ method: 'POST',
1241
+ url: '/api/saas/tenants/{id}/apply-database-migrations',
1242
+ path: {
1243
+ id: data.id
1244
+ },
1245
+ errors: {
1246
+ 400: 'Bad Request',
1247
+ 401: 'Unauthorized',
1248
+ 403: 'Forbidden',
1249
+ 404: 'Not Found',
1250
+ 500: 'Server Error',
1251
+ 501: 'Server Error'
1252
+ }
1253
+ });
1254
+ }
1255
+
1256
+ /**
1257
+ * @returns unknown Success
1258
+ * @throws ApiError
1259
+ */
1260
+ public getApiSaasTenantsLookupEditions(): CancelablePromise<GetApiSaasTenantsLookupEditionsResponse> {
1261
+ return this.httpRequest.request({
1262
+ method: 'GET',
1263
+ url: '/api/saas/tenants/lookup/editions',
1264
+ errors: {
1265
+ 400: 'Bad Request',
1266
+ 401: 'Unauthorized',
1267
+ 403: 'Forbidden',
1268
+ 404: 'Not Found',
1269
+ 500: 'Server Error',
1270
+ 501: 'Server Error'
1271
+ }
1272
+ });
1273
+ }
1274
+
1275
+ /**
1276
+ * @param data The data for the request.
1277
+ * @param data.connectionString
1278
+ * @returns boolean Success
1279
+ * @throws ApiError
1280
+ */
1281
+ public getApiSaasTenantsCheckConnectionString(data: GetApiSaasTenantsCheckConnectionStringData = {}): CancelablePromise<GetApiSaasTenantsCheckConnectionStringResponse> {
1282
+ return this.httpRequest.request({
1283
+ method: 'GET',
1284
+ url: '/api/saas/tenants/check-connection-string',
1285
+ query: {
1286
+ connectionString: data.connectionString
1287
+ },
1288
+ errors: {
1289
+ 400: 'Bad Request',
1290
+ 401: 'Unauthorized',
1291
+ 403: 'Forbidden',
1292
+ 404: 'Not Found',
1293
+ 500: 'Server Error',
1294
+ 501: 'Server Error'
1295
+ }
1296
+ });
1297
+ }
1298
+
1299
+ /**
1300
+ * @param data The data for the request.
1301
+ * @param data.id
1302
+ * @param data.requestBody
1303
+ * @returns unknown Success
1304
+ * @throws ApiError
1305
+ */
1306
+ public putApiSaasTenantsByIdSetPassword(data: PutApiSaasTenantsByIdSetPasswordData): CancelablePromise<PutApiSaasTenantsByIdSetPasswordResponse> {
1307
+ return this.httpRequest.request({
1308
+ method: 'PUT',
1309
+ url: '/api/saas/tenants/{id}/set-password',
1310
+ path: {
1311
+ id: data.id
1312
+ },
1313
+ body: data.requestBody,
1314
+ mediaType: 'application/json',
1315
+ errors: {
1316
+ 400: 'Bad Request',
1317
+ 401: 'Unauthorized',
1318
+ 403: 'Forbidden',
1319
+ 404: 'Not Found',
1320
+ 500: 'Server Error',
1321
+ 501: 'Server Error'
1322
+ }
1323
+ });
1324
+ }
1325
+
1326
1326
  }