@managespace/sdk 0.0.178 → 0.0.179
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +2 -0
- package/dist/extensibility/functions/project/billing.d.ts +19 -1
- package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
- package/dist/extensibility/functions/project/billing.js +15 -0
- package/dist/generated/apis/default-api.d.ts +34 -1
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +109 -2
- package/dist/generated/models/create-payment-method.d.ts +105 -0
- package/dist/generated/models/create-payment-method.d.ts.map +1 -0
- package/dist/generated/models/create-payment-method.js +77 -0
- package/dist/generated/models/document.d.ts +39 -0
- package/dist/generated/models/document.d.ts.map +1 -0
- package/dist/generated/models/document.js +55 -0
- package/dist/generated/models/get-payments1200-response.d.ts +41 -0
- package/dist/generated/models/get-payments1200-response.d.ts.map +1 -0
- package/dist/generated/models/get-payments1200-response.js +55 -0
- package/dist/generated/models/index.d.ts +3 -0
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +3 -0
- package/dist/generated/models/payment-method.d.ts +111 -0
- package/dist/generated/models/payment-method.d.ts.map +1 -0
- package/dist/generated/models/payment-method.js +81 -0
- package/dist/generated/models/uploaded-documents.d.ts +45 -0
- package/dist/generated/models/uploaded-documents.d.ts.map +1 -0
- package/dist/generated/models/uploaded-documents.js +59 -0
- package/package.json +2 -3
- package/src/extensibility/functions/project/billing.ts +18 -1
- package/src/generated/.openapi-generator/FILES +3 -0
- package/src/generated/apis/default-api.ts +182 -2
- package/src/generated/models/create-payment-method.ts +155 -0
- package/src/generated/models/get-payment-methods200-response.ts +89 -0
- package/src/generated/models/get-payments1200-response.ts +89 -0
- package/src/generated/models/index.ts +3 -0
- package/src/generated/models/payment-method.ts +164 -0
- package/package.deploy.json +0 -34
|
@@ -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 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
|
|
@@ -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,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"}
|
|
@@ -0,0 +1,77 @@
|
|
|
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;
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -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.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;
|
|
@@ -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';
|
|
@@ -97,6 +98,7 @@ export * from './get-notes200-response';
|
|
|
97
98
|
export * from './get-notifications200-response';
|
|
98
99
|
export * from './get-orders200-response';
|
|
99
100
|
export * from './get-payment-runs200-response';
|
|
101
|
+
export * from './get-payments1200-response';
|
|
100
102
|
export * from './get-payments200-response';
|
|
101
103
|
export * from './get-plans200-response';
|
|
102
104
|
export * from './get-plugins200-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,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,kCAAkC,CAAC;AACjD,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;A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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);
|
|
@@ -115,6 +116,7 @@ __exportStar(require("./get-notes200-response"), exports);
|
|
|
115
116
|
__exportStar(require("./get-notifications200-response"), exports);
|
|
116
117
|
__exportStar(require("./get-orders200-response"), exports);
|
|
117
118
|
__exportStar(require("./get-payment-runs200-response"), exports);
|
|
119
|
+
__exportStar(require("./get-payments1200-response"), exports);
|
|
118
120
|
__exportStar(require("./get-payments200-response"), exports);
|
|
119
121
|
__exportStar(require("./get-plans200-response"), exports);
|
|
120
122
|
__exportStar(require("./get-plugins200-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,111 @@
|
|
|
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
|
+
* Customer ID associated with electronic payment method
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PaymentMethod
|
|
22
|
+
*/
|
|
23
|
+
customerId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Customers payment gateway id
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PaymentMethod
|
|
28
|
+
*/
|
|
29
|
+
customerPaymentGatewayId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Payment type
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PaymentMethod
|
|
34
|
+
*/
|
|
35
|
+
paymentType: string;
|
|
36
|
+
/**
|
|
37
|
+
* Type of card
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PaymentMethod
|
|
40
|
+
*/
|
|
41
|
+
type?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Credit card or bank account number
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PaymentMethod
|
|
46
|
+
*/
|
|
47
|
+
accountNumber: string;
|
|
48
|
+
/**
|
|
49
|
+
* Routing number for bank accounts
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PaymentMethod
|
|
52
|
+
*/
|
|
53
|
+
routingNumber?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Name on card or account
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PaymentMethod
|
|
58
|
+
*/
|
|
59
|
+
accountHolderName?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Type of acccount owner
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PaymentMethod
|
|
64
|
+
*/
|
|
65
|
+
accountHolderType?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Country of the account holder
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof PaymentMethod
|
|
70
|
+
*/
|
|
71
|
+
country?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Credit card expiration date
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof PaymentMethod
|
|
76
|
+
*/
|
|
77
|
+
expiry?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Account status for bank accounts
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof PaymentMethod
|
|
82
|
+
*/
|
|
83
|
+
status?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Enable defaule payment method
|
|
86
|
+
* @type {boolean}
|
|
87
|
+
* @memberof PaymentMethod
|
|
88
|
+
*/
|
|
89
|
+
_default?: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* CVC, security code for payment method
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof PaymentMethod
|
|
94
|
+
*/
|
|
95
|
+
cvc?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Payment method ID
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof PaymentMethod
|
|
100
|
+
*/
|
|
101
|
+
paymentMethodId: string;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Check if a given object implements the PaymentMethod interface.
|
|
105
|
+
*/
|
|
106
|
+
export declare function instanceOfPaymentMethod(value: object): value is PaymentMethod;
|
|
107
|
+
export declare function PaymentMethodFromJSON(json: any): PaymentMethod;
|
|
108
|
+
export declare function PaymentMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentMethod;
|
|
109
|
+
export declare function PaymentMethodToJSON(json: any): PaymentMethod;
|
|
110
|
+
export declare function PaymentMethodToJSONTyped(value?: PaymentMethod | null, ignoreDiscriminator?: boolean): any;
|
|
111
|
+
//# 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,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;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,CAqBjG;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,CAsBhH"}
|
|
@@ -0,0 +1,81 @@
|
|
|
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
|
+
'customerId': json['customerId'] == null ? undefined : json['customerId'],
|
|
40
|
+
'customerPaymentGatewayId': json['customerPaymentGatewayId'] == null ? undefined : json['customerPaymentGatewayId'],
|
|
41
|
+
'paymentType': json['paymentType'],
|
|
42
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
43
|
+
'accountNumber': json['accountNumber'],
|
|
44
|
+
'routingNumber': json['routingNumber'] == null ? undefined : json['routingNumber'],
|
|
45
|
+
'accountHolderName': json['accountHolderName'] == null ? undefined : json['accountHolderName'],
|
|
46
|
+
'accountHolderType': json['accountHolderType'] == null ? undefined : json['accountHolderType'],
|
|
47
|
+
'country': json['country'] == null ? undefined : json['country'],
|
|
48
|
+
'expiry': json['expiry'] == null ? undefined : json['expiry'],
|
|
49
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
50
|
+
'_default': json['default'] == null ? undefined : json['default'],
|
|
51
|
+
'cvc': json['cvc'] == null ? undefined : json['cvc'],
|
|
52
|
+
'paymentMethodId': json['paymentMethodId'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
exports.PaymentMethodFromJSONTyped = PaymentMethodFromJSONTyped;
|
|
56
|
+
function PaymentMethodToJSON(json) {
|
|
57
|
+
return PaymentMethodToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
exports.PaymentMethodToJSON = PaymentMethodToJSON;
|
|
60
|
+
function PaymentMethodToJSONTyped(value, ignoreDiscriminator = false) {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'customerId': value['customerId'],
|
|
66
|
+
'customerPaymentGatewayId': value['customerPaymentGatewayId'],
|
|
67
|
+
'paymentType': value['paymentType'],
|
|
68
|
+
'type': value['type'],
|
|
69
|
+
'accountNumber': value['accountNumber'],
|
|
70
|
+
'routingNumber': value['routingNumber'],
|
|
71
|
+
'accountHolderName': value['accountHolderName'],
|
|
72
|
+
'accountHolderType': value['accountHolderType'],
|
|
73
|
+
'country': value['country'],
|
|
74
|
+
'expiry': value['expiry'],
|
|
75
|
+
'status': value['status'],
|
|
76
|
+
'default': value['_default'],
|
|
77
|
+
'cvc': value['cvc'],
|
|
78
|
+
'paymentMethodId': value['paymentMethodId'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
exports.PaymentMethodToJSONTyped = PaymentMethodToJSONTyped;
|