@managespace/sdk 0.0.179 → 0.0.181

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 (35) hide show
  1. package/dist/extensibility/functions/project/billing.d.ts +1 -19
  2. package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
  3. package/dist/extensibility/functions/project/billing.js +0 -15
  4. package/dist/generated/apis/default-api.d.ts +1 -36
  5. package/dist/generated/apis/default-api.d.ts.map +1 -1
  6. package/dist/generated/apis/default-api.js +3 -116
  7. package/dist/generated/models/index.d.ts +0 -3
  8. package/dist/generated/models/index.d.ts.map +1 -1
  9. package/dist/generated/models/index.js +0 -3
  10. package/package.deploy.json +34 -0
  11. package/package.json +3 -2
  12. package/src/extensibility/functions/project/billing.ts +1 -18
  13. package/src/generated/.openapi-generator/FILES +0 -3
  14. package/src/generated/apis/default-api.ts +3 -199
  15. package/src/generated/models/index.ts +0 -3
  16. package/.turbo/turbo-build.log +0 -2
  17. package/dist/generated/models/create-payment-method.d.ts +0 -105
  18. package/dist/generated/models/create-payment-method.d.ts.map +0 -1
  19. package/dist/generated/models/create-payment-method.js +0 -77
  20. package/dist/generated/models/document.d.ts +0 -39
  21. package/dist/generated/models/document.d.ts.map +0 -1
  22. package/dist/generated/models/document.js +0 -55
  23. package/dist/generated/models/get-payments1200-response.d.ts +0 -41
  24. package/dist/generated/models/get-payments1200-response.d.ts.map +0 -1
  25. package/dist/generated/models/get-payments1200-response.js +0 -55
  26. package/dist/generated/models/payment-method.d.ts +0 -111
  27. package/dist/generated/models/payment-method.d.ts.map +0 -1
  28. package/dist/generated/models/payment-method.js +0 -81
  29. package/dist/generated/models/uploaded-documents.d.ts +0 -45
  30. package/dist/generated/models/uploaded-documents.d.ts.map +0 -1
  31. package/dist/generated/models/uploaded-documents.js +0 -59
  32. package/src/generated/models/create-payment-method.ts +0 -155
  33. package/src/generated/models/get-payment-methods200-response.ts +0 -89
  34. package/src/generated/models/get-payments1200-response.ts +0 -89
  35. package/src/generated/models/payment-method.ts +0 -164
@@ -48,7 +48,6 @@ import type {
48
48
  CreateOrder,
49
49
  CreateOrg,
50
50
  CreatePayment,
51
- CreatePaymentMethod,
52
51
  CreatePaymentRun,
53
52
  CreateProductCustom,
54
53
  CreateRevenueRule,
@@ -91,7 +90,6 @@ import type {
91
90
  GetNotes200Response,
92
91
  GetNotifications200Response,
93
92
  GetOrders200Response,
94
- GetPaymentMethods200Response,
95
93
  GetPaymentRuns200Response,
96
94
  GetPayments200Response,
97
95
  GetPlans200Response,
@@ -121,7 +119,6 @@ import type {
121
119
  Password,
122
120
  PasswordStrengthCheck,
123
121
  Payment,
124
- PaymentMethod,
125
122
  PaymentRun,
126
123
  PlanCustom,
127
124
  Plugin,
@@ -232,8 +229,6 @@ import {
232
229
  CreateOrgToJSON,
233
230
  CreatePaymentFromJSON,
234
231
  CreatePaymentToJSON,
235
- CreatePaymentMethodFromJSON,
236
- CreatePaymentMethodToJSON,
237
232
  CreatePaymentRunFromJSON,
238
233
  CreatePaymentRunToJSON,
239
234
  CreateProductCustomFromJSON,
@@ -318,8 +313,6 @@ import {
318
313
  GetNotifications200ResponseToJSON,
319
314
  GetOrders200ResponseFromJSON,
320
315
  GetOrders200ResponseToJSON,
321
- GetPaymentMethods200ResponseFromJSON,
322
- GetPaymentMethods200ResponseToJSON,
323
316
  GetPaymentRuns200ResponseFromJSON,
324
317
  GetPaymentRuns200ResponseToJSON,
325
318
  GetPayments200ResponseFromJSON,
@@ -378,8 +371,6 @@ import {
378
371
  PasswordStrengthCheckToJSON,
379
372
  PaymentFromJSON,
380
373
  PaymentToJSON,
381
- PaymentMethodFromJSON,
382
- PaymentMethodToJSON,
383
374
  PaymentRunFromJSON,
384
375
  PaymentRunToJSON,
385
376
  PlanCustomFromJSON,
@@ -580,11 +571,6 @@ export interface CreatePaymentRequest {
580
571
  createPayment: CreatePayment;
581
572
  }
582
573
 
583
- export interface CreatePaymentMethodRequest {
584
- customerId: string;
585
- createPaymentMethod: CreatePaymentMethod;
586
- }
587
-
588
574
  export interface CreatePaymentRunRequest {
589
575
  siteId: string;
590
576
  createPaymentRun: CreatePaymentRun;
@@ -664,7 +650,6 @@ export interface DocumentSignedRequest {
664
650
  }
665
651
 
666
652
  export interface GetAssetRequest {
667
- siteId: string;
668
653
  assetId: string;
669
654
  }
670
655
 
@@ -832,7 +817,6 @@ export interface GetDocumentsRequest {
832
817
  }
833
818
 
834
819
  export interface GetInvoiceRequest {
835
- siteId: string;
836
820
  invoiceId: string;
837
821
  }
838
822
 
@@ -890,18 +874,6 @@ export interface GetPaymentRequest {
890
874
  paymentId: string;
891
875
  }
892
876
 
893
- export interface GetPaymentMethodRequest {
894
- customerId: string;
895
- paymentMethodId: string;
896
- }
897
-
898
- export interface GetPaymentMethodsRequest {
899
- customerId: string;
900
- offset?: number;
901
- limit?: number;
902
- paymentType?: string;
903
- }
904
-
905
877
  export interface GetPaymentRunRequest {
906
878
  siteId: string;
907
879
  paymentRunId: string;
@@ -991,7 +963,6 @@ export interface GetStatementsRequest {
991
963
  }
992
964
 
993
965
  export interface GetSubscriptionRequest {
994
- siteId: string;
995
966
  subscriptionId: string;
996
967
  }
997
968
 
@@ -2379,55 +2350,6 @@ export class DefaultApi extends runtime.BaseAPI {
2379
2350
  return await response.value();
2380
2351
  }
2381
2352
 
2382
- /**
2383
- */
2384
- async createPaymentMethodRaw(requestParameters: CreatePaymentMethodRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaymentMethod>> {
2385
- if (requestParameters['customerId'] == null) {
2386
- throw new runtime.RequiredError(
2387
- 'customerId',
2388
- 'Required parameter "customerId" was null or undefined when calling createPaymentMethod().'
2389
- );
2390
- }
2391
-
2392
- if (requestParameters['createPaymentMethod'] == null) {
2393
- throw new runtime.RequiredError(
2394
- 'createPaymentMethod',
2395
- 'Required parameter "createPaymentMethod" was null or undefined when calling createPaymentMethod().'
2396
- );
2397
- }
2398
-
2399
- const queryParameters: any = {};
2400
-
2401
- const headerParameters: runtime.HTTPHeaders = {};
2402
-
2403
- headerParameters['Content-Type'] = 'application/json';
2404
-
2405
- if (this.configuration && this.configuration.accessToken) {
2406
- const token = this.configuration.accessToken;
2407
- const tokenString = await token("bearer", []);
2408
-
2409
- if (tokenString) {
2410
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
2411
- }
2412
- }
2413
- const response = await this.request({
2414
- path: `/api/customers/{customerId}/payment-methods`.replace(`{${"customerId"}}`, encodeURIComponent(String(requestParameters['customerId']))),
2415
- method: 'POST',
2416
- headers: headerParameters,
2417
- query: queryParameters,
2418
- body: CreatePaymentMethodToJSON(requestParameters['createPaymentMethod']),
2419
- }, initOverrides);
2420
-
2421
- return new runtime.JSONApiResponse(response, (jsonValue) => PaymentMethodFromJSON(jsonValue));
2422
- }
2423
-
2424
- /**
2425
- */
2426
- async createPaymentMethod(requestParameters: CreatePaymentMethodRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaymentMethod> {
2427
- const response = await this.createPaymentMethodRaw(requestParameters, initOverrides);
2428
- return await response.value();
2429
- }
2430
-
2431
2353
  /**
2432
2354
  */
2433
2355
  async createPaymentRunRaw(requestParameters: CreatePaymentRunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaymentRun>> {
@@ -3221,13 +3143,6 @@ export class DefaultApi extends runtime.BaseAPI {
3221
3143
  /**
3222
3144
  */
3223
3145
  async getAssetRaw(requestParameters: GetAssetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Asset>> {
3224
- if (requestParameters['siteId'] == null) {
3225
- throw new runtime.RequiredError(
3226
- 'siteId',
3227
- 'Required parameter "siteId" was null or undefined when calling getAsset().'
3228
- );
3229
- }
3230
-
3231
3146
  if (requestParameters['assetId'] == null) {
3232
3147
  throw new runtime.RequiredError(
3233
3148
  'assetId',
@@ -3248,7 +3163,7 @@ export class DefaultApi extends runtime.BaseAPI {
3248
3163
  }
3249
3164
  }
3250
3165
  const response = await this.request({
3251
- path: `/api/sites/{siteId}/assets/{assetId}`.replace(`{${"siteId"}}`, encodeURIComponent(String(requestParameters['siteId']))).replace(`{${"assetId"}}`, encodeURIComponent(String(requestParameters['assetId']))),
3166
+ path: `/api/assets/{assetId}`.replace(`{${"assetId"}}`, encodeURIComponent(String(requestParameters['assetId']))),
3252
3167
  method: 'GET',
3253
3168
  headers: headerParameters,
3254
3169
  query: queryParameters,
@@ -4612,13 +4527,6 @@ export class DefaultApi extends runtime.BaseAPI {
4612
4527
  /**
4613
4528
  */
4614
4529
  async getInvoiceRaw(requestParameters: GetInvoiceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Invoice>> {
4615
- if (requestParameters['siteId'] == null) {
4616
- throw new runtime.RequiredError(
4617
- 'siteId',
4618
- 'Required parameter "siteId" was null or undefined when calling getInvoice().'
4619
- );
4620
- }
4621
-
4622
4530
  if (requestParameters['invoiceId'] == null) {
4623
4531
  throw new runtime.RequiredError(
4624
4532
  'invoiceId',
@@ -4639,7 +4547,7 @@ export class DefaultApi extends runtime.BaseAPI {
4639
4547
  }
4640
4548
  }
4641
4549
  const response = await this.request({
4642
- path: `/api/sites/{siteId}/invoices/{invoiceId}`.replace(`{${"siteId"}}`, encodeURIComponent(String(requestParameters['siteId']))).replace(`{${"invoiceId"}}`, encodeURIComponent(String(requestParameters['invoiceId']))),
4550
+ path: `/api/invoices/{invoiceId}`.replace(`{${"invoiceId"}}`, encodeURIComponent(String(requestParameters['invoiceId']))),
4643
4551
  method: 'GET',
4644
4552
  headers: headerParameters,
4645
4553
  query: queryParameters,
@@ -5078,103 +4986,6 @@ export class DefaultApi extends runtime.BaseAPI {
5078
4986
  return await response.value();
5079
4987
  }
5080
4988
 
5081
- /**
5082
- */
5083
- async getPaymentMethodRaw(requestParameters: GetPaymentMethodRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaymentMethod>> {
5084
- if (requestParameters['customerId'] == null) {
5085
- throw new runtime.RequiredError(
5086
- 'customerId',
5087
- 'Required parameter "customerId" was null or undefined when calling getPaymentMethod().'
5088
- );
5089
- }
5090
-
5091
- if (requestParameters['paymentMethodId'] == null) {
5092
- throw new runtime.RequiredError(
5093
- 'paymentMethodId',
5094
- 'Required parameter "paymentMethodId" was null or undefined when calling getPaymentMethod().'
5095
- );
5096
- }
5097
-
5098
- const queryParameters: any = {};
5099
-
5100
- const headerParameters: runtime.HTTPHeaders = {};
5101
-
5102
- if (this.configuration && this.configuration.accessToken) {
5103
- const token = this.configuration.accessToken;
5104
- const tokenString = await token("bearer", []);
5105
-
5106
- if (tokenString) {
5107
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
5108
- }
5109
- }
5110
- const response = await this.request({
5111
- path: `/api/customers/{customerId}/payment-methods/{paymentMethodId}`.replace(`{${"customerId"}}`, encodeURIComponent(String(requestParameters['customerId']))).replace(`{${"paymentMethodId"}}`, encodeURIComponent(String(requestParameters['paymentMethodId']))),
5112
- method: 'GET',
5113
- headers: headerParameters,
5114
- query: queryParameters,
5115
- }, initOverrides);
5116
-
5117
- return new runtime.JSONApiResponse(response, (jsonValue) => PaymentMethodFromJSON(jsonValue));
5118
- }
5119
-
5120
- /**
5121
- */
5122
- async getPaymentMethod(requestParameters: GetPaymentMethodRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaymentMethod> {
5123
- const response = await this.getPaymentMethodRaw(requestParameters, initOverrides);
5124
- return await response.value();
5125
- }
5126
-
5127
- /**
5128
- */
5129
- async getPaymentMethodsRaw(requestParameters: GetPaymentMethodsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetPaymentMethods200Response>> {
5130
- if (requestParameters['customerId'] == null) {
5131
- throw new runtime.RequiredError(
5132
- 'customerId',
5133
- 'Required parameter "customerId" was null or undefined when calling getPaymentMethods().'
5134
- );
5135
- }
5136
-
5137
- const queryParameters: any = {};
5138
-
5139
- if (requestParameters['offset'] != null) {
5140
- queryParameters['offset'] = requestParameters['offset'];
5141
- }
5142
-
5143
- if (requestParameters['limit'] != null) {
5144
- queryParameters['limit'] = requestParameters['limit'];
5145
- }
5146
-
5147
- if (requestParameters['paymentType'] != null) {
5148
- queryParameters['paymentType'] = requestParameters['paymentType'];
5149
- }
5150
-
5151
- const headerParameters: runtime.HTTPHeaders = {};
5152
-
5153
- if (this.configuration && this.configuration.accessToken) {
5154
- const token = this.configuration.accessToken;
5155
- const tokenString = await token("bearer", []);
5156
-
5157
- if (tokenString) {
5158
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
5159
- }
5160
- }
5161
- const response = await this.request({
5162
- path: `/api/customers/{customerId}/payment-methods`.replace(`{${"customerId"}}`, encodeURIComponent(String(requestParameters['customerId']))),
5163
- method: 'GET',
5164
- headers: headerParameters,
5165
- query: queryParameters,
5166
- }, initOverrides);
5167
-
5168
- return new runtime.JSONApiResponse(response, (jsonValue) => GetPaymentMethods200ResponseFromJSON(jsonValue));
5169
- }
5170
-
5171
- /**
5172
- */
5173
- async getPaymentMethods(requestParameters: GetPaymentMethodsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetPaymentMethods200Response> {
5174
- const response = await this.getPaymentMethodsRaw(requestParameters, initOverrides);
5175
- return await response.value();
5176
- }
5177
-
5178
4989
  /**
5179
4990
  */
5180
4991
  async getPaymentRunRaw(requestParameters: GetPaymentRunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaymentRun>> {
@@ -5919,13 +5730,6 @@ export class DefaultApi extends runtime.BaseAPI {
5919
5730
  /**
5920
5731
  */
5921
5732
  async getSubscriptionRaw(requestParameters: GetSubscriptionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Subscription>> {
5922
- if (requestParameters['siteId'] == null) {
5923
- throw new runtime.RequiredError(
5924
- 'siteId',
5925
- 'Required parameter "siteId" was null or undefined when calling getSubscription().'
5926
- );
5927
- }
5928
-
5929
5733
  if (requestParameters['subscriptionId'] == null) {
5930
5734
  throw new runtime.RequiredError(
5931
5735
  'subscriptionId',
@@ -5946,7 +5750,7 @@ export class DefaultApi extends runtime.BaseAPI {
5946
5750
  }
5947
5751
  }
5948
5752
  const response = await this.request({
5949
- path: `/api/sites/{siteId}/subscriptions/{subscriptionId}`.replace(`{${"siteId"}}`, encodeURIComponent(String(requestParameters['siteId']))).replace(`{${"subscriptionId"}}`, encodeURIComponent(String(requestParameters['subscriptionId']))),
5753
+ path: `/api/subscriptions/{subscriptionId}`.replace(`{${"subscriptionId"}}`, encodeURIComponent(String(requestParameters['subscriptionId']))),
5950
5754
  method: 'GET',
5951
5755
  headers: headerParameters,
5952
5756
  query: queryParameters,
@@ -44,7 +44,6 @@ export * from './create-order';
44
44
  export * from './create-org';
45
45
  export * from './create-payment';
46
46
  export * from './create-payment-invoice';
47
- export * from './create-payment-method';
48
47
  export * from './create-payment-refund';
49
48
  export * from './create-payment-run';
50
49
  export * from './create-plan-charge';
@@ -99,7 +98,6 @@ export * from './get-invoices200-response';
99
98
  export * from './get-notes200-response';
100
99
  export * from './get-notifications200-response';
101
100
  export * from './get-orders200-response';
102
- export * from './get-payment-methods200-response';
103
101
  export * from './get-payment-runs200-response';
104
102
  export * from './get-payments200-response';
105
103
  export * from './get-plans200-response';
@@ -134,7 +132,6 @@ export * from './paginated';
134
132
  export * from './password';
135
133
  export * from './password-strength-check';
136
134
  export * from './payment';
137
- export * from './payment-method';
138
135
  export * from './payment-run';
139
136
  export * from './payment-run-filter-condition';
140
137
  export * from './payment-run-filter-options';
@@ -1,2 +0,0 @@
1
-
2
- $ tsc
@@ -1,105 +0,0 @@
1
- /**
2
- * ManageSpace API
3
- * ManageSpace API Documentation
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface CreatePaymentMethod
16
- */
17
- export interface CreatePaymentMethod {
18
- /**
19
- * Customer ID associated with electronic payment method
20
- * @type {string}
21
- * @memberof CreatePaymentMethod
22
- */
23
- customerId?: string;
24
- /**
25
- * Customers payment gateway id
26
- * @type {string}
27
- * @memberof CreatePaymentMethod
28
- */
29
- customerPaymentGatewayId?: string;
30
- /**
31
- * Payment type
32
- * @type {string}
33
- * @memberof CreatePaymentMethod
34
- */
35
- paymentType: string;
36
- /**
37
- * Type of card
38
- * @type {string}
39
- * @memberof CreatePaymentMethod
40
- */
41
- type?: string;
42
- /**
43
- * Credit card or bank account number
44
- * @type {string}
45
- * @memberof CreatePaymentMethod
46
- */
47
- accountNumber: string;
48
- /**
49
- * Routing number for bank accounts
50
- * @type {string}
51
- * @memberof CreatePaymentMethod
52
- */
53
- routingNumber?: string;
54
- /**
55
- * Name on card or account
56
- * @type {string}
57
- * @memberof CreatePaymentMethod
58
- */
59
- accountHolderName?: string;
60
- /**
61
- * Type of acccount owner
62
- * @type {string}
63
- * @memberof CreatePaymentMethod
64
- */
65
- accountHolderType?: string;
66
- /**
67
- * Country of the account holder
68
- * @type {string}
69
- * @memberof CreatePaymentMethod
70
- */
71
- country?: string;
72
- /**
73
- * Credit card expiration date
74
- * @type {string}
75
- * @memberof CreatePaymentMethod
76
- */
77
- expiry?: string;
78
- /**
79
- * Account status for bank accounts
80
- * @type {string}
81
- * @memberof CreatePaymentMethod
82
- */
83
- status?: string;
84
- /**
85
- * Enable defaule payment method
86
- * @type {boolean}
87
- * @memberof CreatePaymentMethod
88
- */
89
- _default?: boolean;
90
- /**
91
- * CVC, security code for payment method
92
- * @type {string}
93
- * @memberof CreatePaymentMethod
94
- */
95
- cvc?: string;
96
- }
97
- /**
98
- * Check if a given object implements the CreatePaymentMethod interface.
99
- */
100
- export declare function instanceOfCreatePaymentMethod(value: object): value is CreatePaymentMethod;
101
- export declare function CreatePaymentMethodFromJSON(json: any): CreatePaymentMethod;
102
- export declare function CreatePaymentMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreatePaymentMethod;
103
- export declare function CreatePaymentMethodToJSON(json: any): CreatePaymentMethod;
104
- export declare function CreatePaymentMethodToJSONTyped(value?: CreatePaymentMethod | null, ignoreDiscriminator?: boolean): any;
105
- //# sourceMappingURL=create-payment-method.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create-payment-method.d.ts","sourceRoot":"","sources":["../../../src/generated/models/create-payment-method.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAIzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAoB7G;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAqB5H"}
@@ -1,77 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * ManageSpace API
6
- * ManageSpace API Documentation
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CreatePaymentMethodToJSONTyped = exports.CreatePaymentMethodToJSON = exports.CreatePaymentMethodFromJSONTyped = exports.CreatePaymentMethodFromJSON = exports.instanceOfCreatePaymentMethod = void 0;
17
- /**
18
- * Check if a given object implements the CreatePaymentMethod interface.
19
- */
20
- function instanceOfCreatePaymentMethod(value) {
21
- if (!('paymentType' in value) || value['paymentType'] === undefined)
22
- return false;
23
- if (!('accountNumber' in value) || value['accountNumber'] === undefined)
24
- return false;
25
- return true;
26
- }
27
- exports.instanceOfCreatePaymentMethod = instanceOfCreatePaymentMethod;
28
- function CreatePaymentMethodFromJSON(json) {
29
- return CreatePaymentMethodFromJSONTyped(json, false);
30
- }
31
- exports.CreatePaymentMethodFromJSON = CreatePaymentMethodFromJSON;
32
- function CreatePaymentMethodFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'customerId': json['customerId'] == null ? undefined : json['customerId'],
38
- 'customerPaymentGatewayId': json['customerPaymentGatewayId'] == null ? undefined : json['customerPaymentGatewayId'],
39
- 'paymentType': json['paymentType'],
40
- 'type': json['type'] == null ? undefined : json['type'],
41
- 'accountNumber': json['accountNumber'],
42
- 'routingNumber': json['routingNumber'] == null ? undefined : json['routingNumber'],
43
- 'accountHolderName': json['accountHolderName'] == null ? undefined : json['accountHolderName'],
44
- 'accountHolderType': json['accountHolderType'] == null ? undefined : json['accountHolderType'],
45
- 'country': json['country'] == null ? undefined : json['country'],
46
- 'expiry': json['expiry'] == null ? undefined : json['expiry'],
47
- 'status': json['status'] == null ? undefined : json['status'],
48
- '_default': json['default'] == null ? undefined : json['default'],
49
- 'cvc': json['cvc'] == null ? undefined : json['cvc'],
50
- };
51
- }
52
- exports.CreatePaymentMethodFromJSONTyped = CreatePaymentMethodFromJSONTyped;
53
- function CreatePaymentMethodToJSON(json) {
54
- return CreatePaymentMethodToJSONTyped(json, false);
55
- }
56
- exports.CreatePaymentMethodToJSON = CreatePaymentMethodToJSON;
57
- function CreatePaymentMethodToJSONTyped(value, ignoreDiscriminator = false) {
58
- if (value == null) {
59
- return value;
60
- }
61
- return {
62
- 'customerId': value['customerId'],
63
- 'customerPaymentGatewayId': value['customerPaymentGatewayId'],
64
- 'paymentType': value['paymentType'],
65
- 'type': value['type'],
66
- 'accountNumber': value['accountNumber'],
67
- 'routingNumber': value['routingNumber'],
68
- 'accountHolderName': value['accountHolderName'],
69
- 'accountHolderType': value['accountHolderType'],
70
- 'country': value['country'],
71
- 'expiry': value['expiry'],
72
- 'status': value['status'],
73
- 'default': value['_default'],
74
- 'cvc': value['cvc'],
75
- };
76
- }
77
- exports.CreatePaymentMethodToJSONTyped = CreatePaymentMethodToJSONTyped;
@@ -1,39 +0,0 @@
1
- /**
2
- * ManageSpace API
3
- * ManageSpace API Documentation
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface Document
16
- */
17
- export interface Document {
18
- /**
19
- * The ID of the document.
20
- * @type {string}
21
- * @memberof Document
22
- */
23
- documentId: string;
24
- /**
25
- * The URL of the document.
26
- * @type {string}
27
- * @memberof Document
28
- */
29
- documentUrl: string;
30
- }
31
- /**
32
- * Check if a given object implements the Document interface.
33
- */
34
- export declare function instanceOfDocument(value: object): value is Document;
35
- export declare function DocumentFromJSON(json: any): Document;
36
- export declare function DocumentFromJSONTyped(json: any, ignoreDiscriminator: boolean): Document;
37
- export declare function DocumentToJSON(json: any): Document;
38
- export declare function DocumentToJSONTyped(value?: Document | null, ignoreDiscriminator?: boolean): any;
39
- //# sourceMappingURL=document.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../../../src/generated/models/document.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,QAAQ;IACrB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,QAAQ,CAInE;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAEpD;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,QAAQ,CASvF;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAElD;AAED,wBAAgB,mBAAmB,CAAC,KAAK,CAAC,EAAE,QAAQ,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUtG"}
@@ -1,55 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * ManageSpace API
6
- * ManageSpace API Documentation
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.DocumentToJSONTyped = exports.DocumentToJSON = exports.DocumentFromJSONTyped = exports.DocumentFromJSON = exports.instanceOfDocument = void 0;
17
- /**
18
- * Check if a given object implements the Document interface.
19
- */
20
- function instanceOfDocument(value) {
21
- if (!('documentId' in value) || value['documentId'] === undefined)
22
- return false;
23
- if (!('documentUrl' in value) || value['documentUrl'] === undefined)
24
- return false;
25
- return true;
26
- }
27
- exports.instanceOfDocument = instanceOfDocument;
28
- function DocumentFromJSON(json) {
29
- return DocumentFromJSONTyped(json, false);
30
- }
31
- exports.DocumentFromJSON = DocumentFromJSON;
32
- function DocumentFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'documentId': json['documentId'],
38
- 'documentUrl': json['documentUrl'],
39
- };
40
- }
41
- exports.DocumentFromJSONTyped = DocumentFromJSONTyped;
42
- function DocumentToJSON(json) {
43
- return DocumentToJSONTyped(json, false);
44
- }
45
- exports.DocumentToJSON = DocumentToJSON;
46
- function DocumentToJSONTyped(value, ignoreDiscriminator = false) {
47
- if (value == null) {
48
- return value;
49
- }
50
- return {
51
- 'documentId': value['documentId'],
52
- 'documentUrl': value['documentUrl'],
53
- };
54
- }
55
- exports.DocumentToJSONTyped = DocumentToJSONTyped;
@@ -1,41 +0,0 @@
1
- /**
2
- * ManageSpace API
3
- * ManageSpace API Documentation
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { PageMeta } from './page-meta';
13
- import type { PaymentMethod } from './payment-method';
14
- /**
15
- *
16
- * @export
17
- * @interface GetPayments1200Response
18
- */
19
- export interface GetPayments1200Response {
20
- /**
21
- * The pagination metadata
22
- * @type {PageMeta}
23
- * @memberof GetPayments1200Response
24
- */
25
- pageMeta: PageMeta;
26
- /**
27
- *
28
- * @type {Array<PaymentMethod>}
29
- * @memberof GetPayments1200Response
30
- */
31
- results?: Array<PaymentMethod>;
32
- }
33
- /**
34
- * Check if a given object implements the GetPayments1200Response interface.
35
- */
36
- export declare function instanceOfGetPayments1200Response(value: object): value is GetPayments1200Response;
37
- export declare function GetPayments1200ResponseFromJSON(json: any): GetPayments1200Response;
38
- export declare function GetPayments1200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPayments1200Response;
39
- export declare function GetPayments1200ResponseToJSON(json: any): GetPayments1200Response;
40
- export declare function GetPayments1200ResponseToJSONTyped(value?: GetPayments1200Response | null, ignoreDiscriminator?: boolean): any;
41
- //# sourceMappingURL=get-payments1200-response.d.ts.map