@managespace/sdk 0.0.182 → 0.0.184

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 (30) hide show
  1. package/dist/extensibility/functions/project/billing.d.ts +20 -1
  2. package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
  3. package/dist/extensibility/functions/project/billing.js +15 -0
  4. package/dist/generated/apis/default-api.d.ts +33 -1
  5. package/dist/generated/apis/default-api.d.ts.map +1 -1
  6. package/dist/generated/apis/default-api.js +104 -0
  7. package/dist/generated/models/create-payment-method.d.ts +99 -0
  8. package/dist/generated/models/create-payment-method.d.ts.map +1 -0
  9. package/dist/generated/models/create-payment-method.js +75 -0
  10. package/dist/generated/models/get-payment-methods200-response.d.ts +41 -0
  11. package/dist/generated/models/get-payment-methods200-response.d.ts.map +1 -0
  12. package/dist/generated/models/get-payment-methods200-response.js +55 -0
  13. package/dist/generated/models/get-payments1200-response.d.ts +41 -0
  14. package/dist/generated/models/get-payments1200-response.d.ts.map +1 -0
  15. package/dist/generated/models/get-payments1200-response.js +55 -0
  16. package/dist/generated/models/index.d.ts +3 -0
  17. package/dist/generated/models/index.d.ts.map +1 -1
  18. package/dist/generated/models/index.js +3 -0
  19. package/dist/generated/models/payment-method.d.ts +105 -0
  20. package/dist/generated/models/payment-method.d.ts.map +1 -0
  21. package/dist/generated/models/payment-method.js +79 -0
  22. package/package.json +1 -1
  23. package/src/extensibility/functions/project/billing.ts +17 -0
  24. package/src/generated/.openapi-generator/FILES +3 -0
  25. package/src/generated/apis/default-api.ts +172 -0
  26. package/src/generated/models/create-payment-method.ts +155 -0
  27. package/src/generated/models/get-payment-methods200-response.ts +89 -0
  28. package/src/generated/models/get-payments1200-response.ts +89 -0
  29. package/src/generated/models/index.ts +3 -0
  30. package/src/generated/models/payment-method.ts +164 -0
@@ -0,0 +1,99 @@
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
+ * Customers payment gateway id
20
+ * @type {string}
21
+ * @memberof CreatePaymentMethod
22
+ */
23
+ customerPaymentGatewayId?: string;
24
+ /**
25
+ * Payment type
26
+ * @type {string}
27
+ * @memberof CreatePaymentMethod
28
+ */
29
+ paymentType: string;
30
+ /**
31
+ * Type of card
32
+ * @type {string}
33
+ * @memberof CreatePaymentMethod
34
+ */
35
+ type?: string;
36
+ /**
37
+ * Credit card or bank account number
38
+ * @type {string}
39
+ * @memberof CreatePaymentMethod
40
+ */
41
+ accountNumber: string;
42
+ /**
43
+ * Routing number for bank accounts
44
+ * @type {string}
45
+ * @memberof CreatePaymentMethod
46
+ */
47
+ routingNumber?: string;
48
+ /**
49
+ * Name on card or account
50
+ * @type {string}
51
+ * @memberof CreatePaymentMethod
52
+ */
53
+ accountHolderName?: string;
54
+ /**
55
+ * Type of acccount owner
56
+ * @type {string}
57
+ * @memberof CreatePaymentMethod
58
+ */
59
+ accountHolderType?: string;
60
+ /**
61
+ * Country of the account holder
62
+ * @type {string}
63
+ * @memberof CreatePaymentMethod
64
+ */
65
+ country?: string;
66
+ /**
67
+ * Credit card expiration date
68
+ * @type {string}
69
+ * @memberof CreatePaymentMethod
70
+ */
71
+ expiry?: string;
72
+ /**
73
+ * Account status for bank accounts
74
+ * @type {string}
75
+ * @memberof CreatePaymentMethod
76
+ */
77
+ status?: string;
78
+ /**
79
+ * Enable defaule payment method
80
+ * @type {boolean}
81
+ * @memberof CreatePaymentMethod
82
+ */
83
+ _default?: boolean;
84
+ /**
85
+ * CVC, security code for payment method
86
+ * @type {string}
87
+ * @memberof CreatePaymentMethod
88
+ */
89
+ cvc?: string;
90
+ }
91
+ /**
92
+ * Check if a given object implements the CreatePaymentMethod interface.
93
+ */
94
+ export declare function instanceOfCreatePaymentMethod(value: object): value is CreatePaymentMethod;
95
+ export declare function CreatePaymentMethodFromJSON(json: any): CreatePaymentMethod;
96
+ export declare function CreatePaymentMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreatePaymentMethod;
97
+ export declare function CreatePaymentMethodToJSON(json: any): CreatePaymentMethod;
98
+ export declare function CreatePaymentMethodToJSONTyped(value?: CreatePaymentMethod | null, ignoreDiscriminator?: boolean): any;
99
+ //# sourceMappingURL=create-payment-method.d.ts.map
@@ -0,0 +1 @@
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,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,CAmB7G;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,CAoB5H"}
@@ -0,0 +1,75 @@
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
+ 'customerPaymentGatewayId': json['customerPaymentGatewayId'] == null ? undefined : json['customerPaymentGatewayId'],
38
+ 'paymentType': json['paymentType'],
39
+ 'type': json['type'] == null ? undefined : json['type'],
40
+ 'accountNumber': json['accountNumber'],
41
+ 'routingNumber': json['routingNumber'] == null ? undefined : json['routingNumber'],
42
+ 'accountHolderName': json['accountHolderName'] == null ? undefined : json['accountHolderName'],
43
+ 'accountHolderType': json['accountHolderType'] == null ? undefined : json['accountHolderType'],
44
+ 'country': json['country'] == null ? undefined : json['country'],
45
+ 'expiry': json['expiry'] == null ? undefined : json['expiry'],
46
+ 'status': json['status'] == null ? undefined : json['status'],
47
+ '_default': json['default'] == null ? undefined : json['default'],
48
+ 'cvc': json['cvc'] == null ? undefined : json['cvc'],
49
+ };
50
+ }
51
+ exports.CreatePaymentMethodFromJSONTyped = CreatePaymentMethodFromJSONTyped;
52
+ function CreatePaymentMethodToJSON(json) {
53
+ return CreatePaymentMethodToJSONTyped(json, false);
54
+ }
55
+ exports.CreatePaymentMethodToJSON = CreatePaymentMethodToJSON;
56
+ function CreatePaymentMethodToJSONTyped(value, ignoreDiscriminator = false) {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+ return {
61
+ 'customerPaymentGatewayId': value['customerPaymentGatewayId'],
62
+ 'paymentType': value['paymentType'],
63
+ 'type': value['type'],
64
+ 'accountNumber': value['accountNumber'],
65
+ 'routingNumber': value['routingNumber'],
66
+ 'accountHolderName': value['accountHolderName'],
67
+ 'accountHolderType': value['accountHolderType'],
68
+ 'country': value['country'],
69
+ 'expiry': value['expiry'],
70
+ 'status': value['status'],
71
+ 'default': value['_default'],
72
+ 'cvc': value['cvc'],
73
+ };
74
+ }
75
+ exports.CreatePaymentMethodToJSONTyped = CreatePaymentMethodToJSONTyped;
@@ -0,0 +1,41 @@
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 GetPaymentMethods200Response
18
+ */
19
+ export interface GetPaymentMethods200Response {
20
+ /**
21
+ * The pagination metadata
22
+ * @type {PageMeta}
23
+ * @memberof GetPaymentMethods200Response
24
+ */
25
+ pageMeta: PageMeta;
26
+ /**
27
+ *
28
+ * @type {Array<PaymentMethod>}
29
+ * @memberof GetPaymentMethods200Response
30
+ */
31
+ results?: Array<PaymentMethod>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the GetPaymentMethods200Response interface.
35
+ */
36
+ export declare function instanceOfGetPaymentMethods200Response(value: object): value is GetPaymentMethods200Response;
37
+ export declare function GetPaymentMethods200ResponseFromJSON(json: any): GetPaymentMethods200Response;
38
+ export declare function GetPaymentMethods200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPaymentMethods200Response;
39
+ export declare function GetPaymentMethods200ResponseToJSON(json: any): GetPaymentMethods200Response;
40
+ export declare function GetPaymentMethods200ResponseToJSONTyped(value?: GetPaymentMethods200Response | null, ignoreDiscriminator?: boolean): any;
41
+ //# sourceMappingURL=get-payment-methods200-response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-payment-methods200-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/get-payment-methods200-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAO5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAQtD;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,QAAQ,EAAE,QAAQ,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;CAClC;AAED;;GAEG;AACH,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,4BAA4B,CAG3G;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE5F;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,4BAA4B,CAS/H;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE1F;AAED,wBAAgB,uCAAuC,CAAC,KAAK,CAAC,EAAE,4BAA4B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU9I"}
@@ -0,0 +1,55 @@
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.GetPaymentMethods200ResponseToJSONTyped = exports.GetPaymentMethods200ResponseToJSON = exports.GetPaymentMethods200ResponseFromJSONTyped = exports.GetPaymentMethods200ResponseFromJSON = exports.instanceOfGetPaymentMethods200Response = void 0;
17
+ const page_meta_1 = require("./page-meta");
18
+ const payment_method_1 = require("./payment-method");
19
+ /**
20
+ * Check if a given object implements the GetPaymentMethods200Response interface.
21
+ */
22
+ function instanceOfGetPaymentMethods200Response(value) {
23
+ if (!('pageMeta' in value) || value['pageMeta'] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ exports.instanceOfGetPaymentMethods200Response = instanceOfGetPaymentMethods200Response;
28
+ function GetPaymentMethods200ResponseFromJSON(json) {
29
+ return GetPaymentMethods200ResponseFromJSONTyped(json, false);
30
+ }
31
+ exports.GetPaymentMethods200ResponseFromJSON = GetPaymentMethods200ResponseFromJSON;
32
+ function GetPaymentMethods200ResponseFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'pageMeta': (0, page_meta_1.PageMetaFromJSON)(json['pageMeta']),
38
+ 'results': json['results'] == null ? undefined : (json['results'].map(payment_method_1.PaymentMethodFromJSON)),
39
+ };
40
+ }
41
+ exports.GetPaymentMethods200ResponseFromJSONTyped = GetPaymentMethods200ResponseFromJSONTyped;
42
+ function GetPaymentMethods200ResponseToJSON(json) {
43
+ return GetPaymentMethods200ResponseToJSONTyped(json, false);
44
+ }
45
+ exports.GetPaymentMethods200ResponseToJSON = GetPaymentMethods200ResponseToJSON;
46
+ function GetPaymentMethods200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'pageMeta': (0, page_meta_1.PageMetaToJSON)(value['pageMeta']),
52
+ 'results': value['results'] == null ? undefined : (value['results'].map(payment_method_1.PaymentMethodToJSON)),
53
+ };
54
+ }
55
+ exports.GetPaymentMethods200ResponseToJSONTyped = GetPaymentMethods200ResponseToJSONTyped;
@@ -0,0 +1,41 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-payments1200-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/get-payments1200-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAO5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAQtD;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,QAAQ,EAAE,QAAQ,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;CAClC;AAED;;GAEG;AACH,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,uBAAuB,CAGjG;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAElF;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uBAAuB,CASrH;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAEhF;AAED,wBAAgB,kCAAkC,CAAC,KAAK,CAAC,EAAE,uBAAuB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUpI"}
@@ -0,0 +1,55 @@
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.GetPayments1200ResponseToJSONTyped = exports.GetPayments1200ResponseToJSON = exports.GetPayments1200ResponseFromJSONTyped = exports.GetPayments1200ResponseFromJSON = exports.instanceOfGetPayments1200Response = void 0;
17
+ const page_meta_1 = require("./page-meta");
18
+ const payment_method_1 = require("./payment-method");
19
+ /**
20
+ * Check if a given object implements the GetPayments1200Response interface.
21
+ */
22
+ function instanceOfGetPayments1200Response(value) {
23
+ if (!('pageMeta' in value) || value['pageMeta'] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ exports.instanceOfGetPayments1200Response = instanceOfGetPayments1200Response;
28
+ function GetPayments1200ResponseFromJSON(json) {
29
+ return GetPayments1200ResponseFromJSONTyped(json, false);
30
+ }
31
+ exports.GetPayments1200ResponseFromJSON = GetPayments1200ResponseFromJSON;
32
+ function GetPayments1200ResponseFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'pageMeta': (0, page_meta_1.PageMetaFromJSON)(json['pageMeta']),
38
+ 'results': json['results'] == null ? undefined : (json['results'].map(payment_method_1.PaymentMethodFromJSON)),
39
+ };
40
+ }
41
+ exports.GetPayments1200ResponseFromJSONTyped = GetPayments1200ResponseFromJSONTyped;
42
+ function GetPayments1200ResponseToJSON(json) {
43
+ return GetPayments1200ResponseToJSONTyped(json, false);
44
+ }
45
+ exports.GetPayments1200ResponseToJSON = GetPayments1200ResponseToJSON;
46
+ function GetPayments1200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'pageMeta': (0, page_meta_1.PageMetaToJSON)(value['pageMeta']),
52
+ 'results': value['results'] == null ? undefined : (value['results'].map(payment_method_1.PaymentMethodToJSON)),
53
+ };
54
+ }
55
+ exports.GetPayments1200ResponseToJSONTyped = GetPayments1200ResponseToJSONTyped;
@@ -42,6 +42,7 @@ export * from './create-order';
42
42
  export * from './create-org';
43
43
  export * from './create-payment';
44
44
  export * from './create-payment-invoice';
45
+ export * from './create-payment-method';
45
46
  export * from './create-payment-refund';
46
47
  export * from './create-payment-run';
47
48
  export * from './create-plan-charge';
@@ -96,6 +97,7 @@ export * from './get-invoices200-response';
96
97
  export * from './get-notes200-response';
97
98
  export * from './get-notifications200-response';
98
99
  export * from './get-orders200-response';
100
+ export * from './get-payment-methods200-response';
99
101
  export * from './get-payment-runs200-response';
100
102
  export * from './get-payments200-response';
101
103
  export * from './get-plans200-response';
@@ -130,6 +132,7 @@ export * from './paginated';
130
132
  export * from './password';
131
133
  export * from './password-strength-check';
132
134
  export * from './payment';
135
+ export * from './payment-method';
133
136
  export * from './payment-run';
134
137
  export * from './payment-run-filter-condition';
135
138
  export * from './payment-run-filter-options';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generated/models/index.ts"],"names":[],"mappings":"AAEA,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cA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AAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC"}
@@ -60,6 +60,7 @@ __exportStar(require("./create-order"), exports);
60
60
  __exportStar(require("./create-org"), exports);
61
61
  __exportStar(require("./create-payment"), exports);
62
62
  __exportStar(require("./create-payment-invoice"), exports);
63
+ __exportStar(require("./create-payment-method"), exports);
63
64
  __exportStar(require("./create-payment-refund"), exports);
64
65
  __exportStar(require("./create-payment-run"), exports);
65
66
  __exportStar(require("./create-plan-charge"), exports);
@@ -114,6 +115,7 @@ __exportStar(require("./get-invoices200-response"), exports);
114
115
  __exportStar(require("./get-notes200-response"), exports);
115
116
  __exportStar(require("./get-notifications200-response"), exports);
116
117
  __exportStar(require("./get-orders200-response"), exports);
118
+ __exportStar(require("./get-payment-methods200-response"), exports);
117
119
  __exportStar(require("./get-payment-runs200-response"), exports);
118
120
  __exportStar(require("./get-payments200-response"), exports);
119
121
  __exportStar(require("./get-plans200-response"), exports);
@@ -148,6 +150,7 @@ __exportStar(require("./paginated"), exports);
148
150
  __exportStar(require("./password"), exports);
149
151
  __exportStar(require("./password-strength-check"), exports);
150
152
  __exportStar(require("./payment"), exports);
153
+ __exportStar(require("./payment-method"), exports);
151
154
  __exportStar(require("./payment-run"), exports);
152
155
  __exportStar(require("./payment-run-filter-condition"), exports);
153
156
  __exportStar(require("./payment-run-filter-options"), exports);
@@ -0,0 +1,105 @@
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 PaymentMethod
16
+ */
17
+ export interface PaymentMethod {
18
+ /**
19
+ * Customers payment gateway id
20
+ * @type {string}
21
+ * @memberof PaymentMethod
22
+ */
23
+ customerPaymentGatewayId?: string;
24
+ /**
25
+ * Payment type
26
+ * @type {string}
27
+ * @memberof PaymentMethod
28
+ */
29
+ paymentType: string;
30
+ /**
31
+ * Type of card
32
+ * @type {string}
33
+ * @memberof PaymentMethod
34
+ */
35
+ type?: string;
36
+ /**
37
+ * Credit card or bank account number
38
+ * @type {string}
39
+ * @memberof PaymentMethod
40
+ */
41
+ accountNumber: string;
42
+ /**
43
+ * Routing number for bank accounts
44
+ * @type {string}
45
+ * @memberof PaymentMethod
46
+ */
47
+ routingNumber?: string;
48
+ /**
49
+ * Name on card or account
50
+ * @type {string}
51
+ * @memberof PaymentMethod
52
+ */
53
+ accountHolderName?: string;
54
+ /**
55
+ * Type of acccount owner
56
+ * @type {string}
57
+ * @memberof PaymentMethod
58
+ */
59
+ accountHolderType?: string;
60
+ /**
61
+ * Country of the account holder
62
+ * @type {string}
63
+ * @memberof PaymentMethod
64
+ */
65
+ country?: string;
66
+ /**
67
+ * Credit card expiration date
68
+ * @type {string}
69
+ * @memberof PaymentMethod
70
+ */
71
+ expiry?: string;
72
+ /**
73
+ * Account status for bank accounts
74
+ * @type {string}
75
+ * @memberof PaymentMethod
76
+ */
77
+ status?: string;
78
+ /**
79
+ * Enable defaule payment method
80
+ * @type {boolean}
81
+ * @memberof PaymentMethod
82
+ */
83
+ _default?: boolean;
84
+ /**
85
+ * CVC, security code for payment method
86
+ * @type {string}
87
+ * @memberof PaymentMethod
88
+ */
89
+ cvc?: string;
90
+ /**
91
+ * Payment method ID
92
+ * @type {string}
93
+ * @memberof PaymentMethod
94
+ */
95
+ paymentMethodId: string;
96
+ }
97
+ /**
98
+ * Check if a given object implements the PaymentMethod interface.
99
+ */
100
+ export declare function instanceOfPaymentMethod(value: object): value is PaymentMethod;
101
+ export declare function PaymentMethodFromJSON(json: any): PaymentMethod;
102
+ export declare function PaymentMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentMethod;
103
+ export declare function PaymentMethodToJSON(json: any): PaymentMethod;
104
+ export declare function PaymentMethodToJSONTyped(value?: PaymentMethod | null, ignoreDiscriminator?: boolean): any;
105
+ //# sourceMappingURL=payment-method.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payment-method.d.ts","sourceRoot":"","sources":["../../../src/generated/models/payment-method.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;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;IACb;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAK7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAoBjG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAqBhH"}
@@ -0,0 +1,79 @@
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.PaymentMethodToJSONTyped = exports.PaymentMethodToJSON = exports.PaymentMethodFromJSONTyped = exports.PaymentMethodFromJSON = exports.instanceOfPaymentMethod = void 0;
17
+ /**
18
+ * Check if a given object implements the PaymentMethod interface.
19
+ */
20
+ function instanceOfPaymentMethod(value) {
21
+ if (!('paymentType' in value) || value['paymentType'] === undefined)
22
+ return false;
23
+ if (!('accountNumber' in value) || value['accountNumber'] === undefined)
24
+ return false;
25
+ if (!('paymentMethodId' in value) || value['paymentMethodId'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ exports.instanceOfPaymentMethod = instanceOfPaymentMethod;
30
+ function PaymentMethodFromJSON(json) {
31
+ return PaymentMethodFromJSONTyped(json, false);
32
+ }
33
+ exports.PaymentMethodFromJSON = PaymentMethodFromJSON;
34
+ function PaymentMethodFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'customerPaymentGatewayId': json['customerPaymentGatewayId'] == null ? undefined : json['customerPaymentGatewayId'],
40
+ 'paymentType': json['paymentType'],
41
+ 'type': json['type'] == null ? undefined : json['type'],
42
+ 'accountNumber': json['accountNumber'],
43
+ 'routingNumber': json['routingNumber'] == null ? undefined : json['routingNumber'],
44
+ 'accountHolderName': json['accountHolderName'] == null ? undefined : json['accountHolderName'],
45
+ 'accountHolderType': json['accountHolderType'] == null ? undefined : json['accountHolderType'],
46
+ 'country': json['country'] == null ? undefined : json['country'],
47
+ 'expiry': json['expiry'] == null ? undefined : json['expiry'],
48
+ 'status': json['status'] == null ? undefined : json['status'],
49
+ '_default': json['default'] == null ? undefined : json['default'],
50
+ 'cvc': json['cvc'] == null ? undefined : json['cvc'],
51
+ 'paymentMethodId': json['paymentMethodId'],
52
+ };
53
+ }
54
+ exports.PaymentMethodFromJSONTyped = PaymentMethodFromJSONTyped;
55
+ function PaymentMethodToJSON(json) {
56
+ return PaymentMethodToJSONTyped(json, false);
57
+ }
58
+ exports.PaymentMethodToJSON = PaymentMethodToJSON;
59
+ function PaymentMethodToJSONTyped(value, ignoreDiscriminator = false) {
60
+ if (value == null) {
61
+ return value;
62
+ }
63
+ return {
64
+ 'customerPaymentGatewayId': value['customerPaymentGatewayId'],
65
+ 'paymentType': value['paymentType'],
66
+ 'type': value['type'],
67
+ 'accountNumber': value['accountNumber'],
68
+ 'routingNumber': value['routingNumber'],
69
+ 'accountHolderName': value['accountHolderName'],
70
+ 'accountHolderType': value['accountHolderType'],
71
+ 'country': value['country'],
72
+ 'expiry': value['expiry'],
73
+ 'status': value['status'],
74
+ 'default': value['_default'],
75
+ 'cvc': value['cvc'],
76
+ 'paymentMethodId': value['paymentMethodId'],
77
+ };
78
+ }
79
+ exports.PaymentMethodToJSONTyped = PaymentMethodToJSONTyped;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managespace/sdk",
3
- "version": "0.0.182",
3
+ "version": "0.0.184",
4
4
  "scripts": {
5
5
  "dev": "tsc -w --preserveWatchOutput",
6
6
  "build": "tsc",