@managespace/sdk 0.0.45 → 0.0.47
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/dist/generated/apis/default-api.d.ts +0 -23
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +4 -77
- package/package.json +14 -3
- package/src/generated/apis/default-api.ts +4 -124
- package/dist/generated/models/create-contact.d.ts +0 -87
- package/dist/generated/models/create-contact.d.ts.map +0 -1
- package/dist/generated/models/create-contact.js +0 -81
- package/dist/generated/models/create-plan-billing.d.ts +0 -58
- package/dist/generated/models/create-plan-billing.d.ts.map +0 -1
- package/dist/generated/models/create-plan-billing.js +0 -68
- package/dist/generated/models/create-product-billing.d.ts +0 -82
- package/dist/generated/models/create-product-billing.d.ts.map +0 -1
- package/dist/generated/models/create-product-billing.js +0 -84
- package/dist/generated/models/custom-add-customer-contact.d.ts +0 -34
- package/dist/generated/models/custom-add-customer-contact.d.ts.map +0 -1
- package/dist/generated/models/custom-add-customer-contact.js +0 -52
- package/dist/generated/models/custom-create-contact-with-customer.d.ts +0 -82
- package/dist/generated/models/custom-create-contact-with-customer.d.ts.map +0 -1
- package/dist/generated/models/custom-create-contact-with-customer.js +0 -78
- package/dist/generated/models/customer-delivery-preferences.d.ts +0 -39
- package/dist/generated/models/customer-delivery-preferences.d.ts.map +0 -1
- package/dist/generated/models/customer-delivery-preferences.js +0 -55
- package/dist/generated/models/customer-id.d.ts +0 -33
- package/dist/generated/models/customer-id.d.ts.map +0 -1
- package/dist/generated/models/customer-id.js +0 -51
- package/dist/generated/models/customer-payment-options.d.ts +0 -39
- package/dist/generated/models/customer-payment-options.d.ts.map +0 -1
- package/dist/generated/models/customer-payment-options.js +0 -55
- package/dist/generated/models/get-customer-response.d.ts +0 -276
- package/dist/generated/models/get-customer-response.d.ts.map +0 -1
- package/dist/generated/models/get-customer-response.js +0 -214
- package/dist/generated/models/get-customers-billing200-response.d.ts +0 -41
- package/dist/generated/models/get-customers-billing200-response.d.ts.map +0 -1
- package/dist/generated/models/get-customers-billing200-response.js +0 -55
- package/dist/generated/models/product-billing-response.d.ts +0 -142
- package/dist/generated/models/product-billing-response.d.ts.map +0 -1
- package/dist/generated/models/product-billing-response.js +0 -124
- package/dist/generated/models/product-transaction-posting-entries.d.ts +0 -45
- package/dist/generated/models/product-transaction-posting-entries.d.ts.map +0 -1
- package/dist/generated/models/product-transaction-posting-entries.js +0 -59
- package/dist/generated/models/update-customer.d.ts +0 -57
- package/dist/generated/models/update-customer.d.ts.map +0 -1
- package/dist/generated/models/update-customer.js +0 -57
- package/dist/generated/models/update-product.d.ts +0 -52
- package/dist/generated/models/update-product.d.ts.map +0 -1
- package/dist/generated/models/update-product.js +0 -60
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* ManageSpace V2 Auth API
|
|
6
|
-
* ManageSpace Auth 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.CustomCreateContactWithCustomerToJSONTyped = exports.CustomCreateContactWithCustomerToJSON = exports.CustomCreateContactWithCustomerFromJSONTyped = exports.CustomCreateContactWithCustomerFromJSON = exports.instanceOfCustomCreateContactWithCustomer = void 0;
|
|
17
|
-
const create_address_1 = require("./create-address");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the CustomCreateContactWithCustomer interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfCustomCreateContactWithCustomer(value) {
|
|
22
|
-
if (!('firstName' in value) || value['firstName'] === undefined)
|
|
23
|
-
return false;
|
|
24
|
-
if (!('lastName' in value) || value['lastName'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('email' in value) || value['email'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('mobileNumber' in value) || value['mobileNumber'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('address' in value) || value['address'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
return true;
|
|
35
|
-
}
|
|
36
|
-
exports.instanceOfCustomCreateContactWithCustomer = instanceOfCustomCreateContactWithCustomer;
|
|
37
|
-
function CustomCreateContactWithCustomerFromJSON(json) {
|
|
38
|
-
return CustomCreateContactWithCustomerFromJSONTyped(json, false);
|
|
39
|
-
}
|
|
40
|
-
exports.CustomCreateContactWithCustomerFromJSON = CustomCreateContactWithCustomerFromJSON;
|
|
41
|
-
function CustomCreateContactWithCustomerFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
-
if (json == null) {
|
|
43
|
-
return json;
|
|
44
|
-
}
|
|
45
|
-
return {
|
|
46
|
-
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
47
|
-
'firstName': json['firstName'],
|
|
48
|
-
'middleInitial': json['middleInitial'] == null ? undefined : json['middleInitial'],
|
|
49
|
-
'lastName': json['lastName'],
|
|
50
|
-
'displayName': json['displayName'],
|
|
51
|
-
'email': json['email'],
|
|
52
|
-
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
53
|
-
'mobileNumber': json['mobileNumber'],
|
|
54
|
-
'address': (0, create_address_1.CreateAddressFromJSON)(json['address']),
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
exports.CustomCreateContactWithCustomerFromJSONTyped = CustomCreateContactWithCustomerFromJSONTyped;
|
|
58
|
-
function CustomCreateContactWithCustomerToJSON(json) {
|
|
59
|
-
return CustomCreateContactWithCustomerToJSONTyped(json, false);
|
|
60
|
-
}
|
|
61
|
-
exports.CustomCreateContactWithCustomerToJSON = CustomCreateContactWithCustomerToJSON;
|
|
62
|
-
function CustomCreateContactWithCustomerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
63
|
-
if (value == null) {
|
|
64
|
-
return value;
|
|
65
|
-
}
|
|
66
|
-
return {
|
|
67
|
-
'externalId': value['externalId'],
|
|
68
|
-
'firstName': value['firstName'],
|
|
69
|
-
'middleInitial': value['middleInitial'],
|
|
70
|
-
'lastName': value['lastName'],
|
|
71
|
-
'displayName': value['displayName'],
|
|
72
|
-
'email': value['email'],
|
|
73
|
-
'phoneNumber': value['phoneNumber'],
|
|
74
|
-
'mobileNumber': value['mobileNumber'],
|
|
75
|
-
'address': (0, create_address_1.CreateAddressToJSON)(value['address']),
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
exports.CustomCreateContactWithCustomerToJSONTyped = CustomCreateContactWithCustomerToJSONTyped;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ManageSpace V2 Auth API
|
|
3
|
-
* ManageSpace Auth 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 CustomerDeliveryPreferences
|
|
16
|
-
*/
|
|
17
|
-
export interface CustomerDeliveryPreferences {
|
|
18
|
-
/**
|
|
19
|
-
* requested print delivery preference
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof CustomerDeliveryPreferences
|
|
22
|
-
*/
|
|
23
|
-
print: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* requested email delivery preference
|
|
26
|
-
* @type {boolean}
|
|
27
|
-
* @memberof CustomerDeliveryPreferences
|
|
28
|
-
*/
|
|
29
|
-
email: boolean;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the CustomerDeliveryPreferences interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfCustomerDeliveryPreferences(value: object): value is CustomerDeliveryPreferences;
|
|
35
|
-
export declare function CustomerDeliveryPreferencesFromJSON(json: any): CustomerDeliveryPreferences;
|
|
36
|
-
export declare function CustomerDeliveryPreferencesFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerDeliveryPreferences;
|
|
37
|
-
export declare function CustomerDeliveryPreferencesToJSON(json: any): CustomerDeliveryPreferences;
|
|
38
|
-
export declare function CustomerDeliveryPreferencesToJSONTyped(value?: CustomerDeliveryPreferences | null, ignoreDiscriminator?: boolean): any;
|
|
39
|
-
//# sourceMappingURL=customer-delivery-preferences.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"customer-delivery-preferences.d.ts","sourceRoot":"","sources":["../../../src/generated/models/customer-delivery-preferences.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,KAAK,EAAE,OAAO,CAAC;IACf;;;;OAIG;IACH,KAAK,EAAE,OAAO,CAAC;CAClB;AAED;;GAEG;AACH,wBAAgB,qCAAqC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,2BAA2B,CAIzG;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAE1F;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,2BAA2B,CAS7H;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAExF;AAED,wBAAgB,sCAAsC,CAAC,KAAK,CAAC,EAAE,2BAA2B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU5I"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* ManageSpace V2 Auth API
|
|
6
|
-
* ManageSpace Auth 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.CustomerDeliveryPreferencesToJSONTyped = exports.CustomerDeliveryPreferencesToJSON = exports.CustomerDeliveryPreferencesFromJSONTyped = exports.CustomerDeliveryPreferencesFromJSON = exports.instanceOfCustomerDeliveryPreferences = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the CustomerDeliveryPreferences interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfCustomerDeliveryPreferences(value) {
|
|
21
|
-
if (!('print' in value) || value['print'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
if (!('email' in value) || value['email'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
exports.instanceOfCustomerDeliveryPreferences = instanceOfCustomerDeliveryPreferences;
|
|
28
|
-
function CustomerDeliveryPreferencesFromJSON(json) {
|
|
29
|
-
return CustomerDeliveryPreferencesFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
exports.CustomerDeliveryPreferencesFromJSON = CustomerDeliveryPreferencesFromJSON;
|
|
32
|
-
function CustomerDeliveryPreferencesFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'print': json['print'],
|
|
38
|
-
'email': json['email'],
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
exports.CustomerDeliveryPreferencesFromJSONTyped = CustomerDeliveryPreferencesFromJSONTyped;
|
|
42
|
-
function CustomerDeliveryPreferencesToJSON(json) {
|
|
43
|
-
return CustomerDeliveryPreferencesToJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
exports.CustomerDeliveryPreferencesToJSON = CustomerDeliveryPreferencesToJSON;
|
|
46
|
-
function CustomerDeliveryPreferencesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
-
if (value == null) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'print': value['print'],
|
|
52
|
-
'email': value['email'],
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
exports.CustomerDeliveryPreferencesToJSONTyped = CustomerDeliveryPreferencesToJSONTyped;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ManageSpace V2 Auth API
|
|
3
|
-
* ManageSpace Auth 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 CustomerId
|
|
16
|
-
*/
|
|
17
|
-
export interface CustomerId {
|
|
18
|
-
/**
|
|
19
|
-
* The customer Id
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof CustomerId
|
|
22
|
-
*/
|
|
23
|
-
customerId: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the CustomerId interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfCustomerId(value: object): value is CustomerId;
|
|
29
|
-
export declare function CustomerIdFromJSON(json: any): CustomerId;
|
|
30
|
-
export declare function CustomerIdFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerId;
|
|
31
|
-
export declare function CustomerIdToJSON(json: any): CustomerId;
|
|
32
|
-
export declare function CustomerIdToJSONTyped(value?: CustomerId | null, ignoreDiscriminator?: boolean): any;
|
|
33
|
-
//# sourceMappingURL=customer-id.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"customer-id.d.ts","sourceRoot":"","sources":["../../../src/generated/models/customer-id.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACvB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,UAAU,CAGvE;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAExD;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,UAAU,CAQ3F;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAEtD;AAED,wBAAgB,qBAAqB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAS1G"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* ManageSpace V2 Auth API
|
|
6
|
-
* ManageSpace Auth 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.CustomerIdToJSONTyped = exports.CustomerIdToJSON = exports.CustomerIdFromJSONTyped = exports.CustomerIdFromJSON = exports.instanceOfCustomerId = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the CustomerId interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfCustomerId(value) {
|
|
21
|
-
if (!('customerId' in value) || value['customerId'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
return true;
|
|
24
|
-
}
|
|
25
|
-
exports.instanceOfCustomerId = instanceOfCustomerId;
|
|
26
|
-
function CustomerIdFromJSON(json) {
|
|
27
|
-
return CustomerIdFromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
exports.CustomerIdFromJSON = CustomerIdFromJSON;
|
|
30
|
-
function CustomerIdFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'customerId': json['customerId'],
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
exports.CustomerIdFromJSONTyped = CustomerIdFromJSONTyped;
|
|
39
|
-
function CustomerIdToJSON(json) {
|
|
40
|
-
return CustomerIdToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
exports.CustomerIdToJSON = CustomerIdToJSON;
|
|
43
|
-
function CustomerIdToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'customerId': value['customerId'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
exports.CustomerIdToJSONTyped = CustomerIdToJSONTyped;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ManageSpace V2 Auth API
|
|
3
|
-
* ManageSpace Auth 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 CustomerPaymentOptions
|
|
16
|
-
*/
|
|
17
|
-
export interface CustomerPaymentOptions {
|
|
18
|
-
/**
|
|
19
|
-
* ACH payments are accepted/or not accepted
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof CustomerPaymentOptions
|
|
22
|
-
*/
|
|
23
|
-
achEnabled: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Credit card payments are accepted/or not accepted
|
|
26
|
-
* @type {boolean}
|
|
27
|
-
* @memberof CustomerPaymentOptions
|
|
28
|
-
*/
|
|
29
|
-
creditEnabled: boolean;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the CustomerPaymentOptions interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfCustomerPaymentOptions(value: object): value is CustomerPaymentOptions;
|
|
35
|
-
export declare function CustomerPaymentOptionsFromJSON(json: any): CustomerPaymentOptions;
|
|
36
|
-
export declare function CustomerPaymentOptionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerPaymentOptions;
|
|
37
|
-
export declare function CustomerPaymentOptionsToJSON(json: any): CustomerPaymentOptions;
|
|
38
|
-
export declare function CustomerPaymentOptionsToJSONTyped(value?: CustomerPaymentOptions | null, ignoreDiscriminator?: boolean): any;
|
|
39
|
-
//# sourceMappingURL=customer-payment-options.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"customer-payment-options.d.ts","sourceRoot":"","sources":["../../../src/generated/models/customer-payment-options.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,aAAa,EAAE,OAAO,CAAC;CAC1B;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sBAAsB,CAI/F;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAEhF;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CASnH;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAE9E;AAED,wBAAgB,iCAAiC,CAAC,KAAK,CAAC,EAAE,sBAAsB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUlI"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* ManageSpace V2 Auth API
|
|
6
|
-
* ManageSpace Auth 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.CustomerPaymentOptionsToJSONTyped = exports.CustomerPaymentOptionsToJSON = exports.CustomerPaymentOptionsFromJSONTyped = exports.CustomerPaymentOptionsFromJSON = exports.instanceOfCustomerPaymentOptions = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the CustomerPaymentOptions interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfCustomerPaymentOptions(value) {
|
|
21
|
-
if (!('achEnabled' in value) || value['achEnabled'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
if (!('creditEnabled' in value) || value['creditEnabled'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
exports.instanceOfCustomerPaymentOptions = instanceOfCustomerPaymentOptions;
|
|
28
|
-
function CustomerPaymentOptionsFromJSON(json) {
|
|
29
|
-
return CustomerPaymentOptionsFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
exports.CustomerPaymentOptionsFromJSON = CustomerPaymentOptionsFromJSON;
|
|
32
|
-
function CustomerPaymentOptionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'achEnabled': json['achEnabled'],
|
|
38
|
-
'creditEnabled': json['creditEnabled'],
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
exports.CustomerPaymentOptionsFromJSONTyped = CustomerPaymentOptionsFromJSONTyped;
|
|
42
|
-
function CustomerPaymentOptionsToJSON(json) {
|
|
43
|
-
return CustomerPaymentOptionsToJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
exports.CustomerPaymentOptionsToJSON = CustomerPaymentOptionsToJSON;
|
|
46
|
-
function CustomerPaymentOptionsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
-
if (value == null) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'achEnabled': value['achEnabled'],
|
|
52
|
-
'creditEnabled': value['creditEnabled'],
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
exports.CustomerPaymentOptionsToJSONTyped = CustomerPaymentOptionsToJSONTyped;
|
|
@@ -1,276 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ManageSpace V2 Auth API
|
|
3
|
-
* ManageSpace Auth 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 { GetContactResponse } from './get-contact-response';
|
|
13
|
-
import type { CustomerDeliveryPreferences } from './customer-delivery-preferences';
|
|
14
|
-
import type { CustomerPaymentOptions } from './customer-payment-options';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface GetCustomerResponse
|
|
19
|
-
*/
|
|
20
|
-
export interface GetCustomerResponse {
|
|
21
|
-
/**
|
|
22
|
-
* Customer name
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof GetCustomerResponse
|
|
25
|
-
*/
|
|
26
|
-
name: string;
|
|
27
|
-
/**
|
|
28
|
-
* Customer type
|
|
29
|
-
* @type {string}
|
|
30
|
-
* @memberof GetCustomerResponse
|
|
31
|
-
*/
|
|
32
|
-
customerType: string;
|
|
33
|
-
/**
|
|
34
|
-
* Customer description
|
|
35
|
-
* @type {string}
|
|
36
|
-
* @memberof GetCustomerResponse
|
|
37
|
-
*/
|
|
38
|
-
description: string;
|
|
39
|
-
/**
|
|
40
|
-
* Website of customer
|
|
41
|
-
* @type {string}
|
|
42
|
-
* @memberof GetCustomerResponse
|
|
43
|
-
*/
|
|
44
|
-
website: string;
|
|
45
|
-
/**
|
|
46
|
-
* Tax exempt status
|
|
47
|
-
* @type {boolean}
|
|
48
|
-
* @memberof GetCustomerResponse
|
|
49
|
-
*/
|
|
50
|
-
taxExempt: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* Auto pay status
|
|
53
|
-
* @type {boolean}
|
|
54
|
-
* @memberof GetCustomerResponse
|
|
55
|
-
*/
|
|
56
|
-
autoPay: boolean;
|
|
57
|
-
/**
|
|
58
|
-
* Edit auto pay status
|
|
59
|
-
* @type {boolean}
|
|
60
|
-
* @memberof GetCustomerResponse
|
|
61
|
-
*/
|
|
62
|
-
editAutoPay: boolean;
|
|
63
|
-
/**
|
|
64
|
-
* Print preference status
|
|
65
|
-
* @type {boolean}
|
|
66
|
-
* @memberof GetCustomerResponse
|
|
67
|
-
*/
|
|
68
|
-
printPreference: boolean;
|
|
69
|
-
/**
|
|
70
|
-
* Customer ID in the billing system
|
|
71
|
-
* @type {string}
|
|
72
|
-
* @memberof GetCustomerResponse
|
|
73
|
-
*/
|
|
74
|
-
id: string;
|
|
75
|
-
/**
|
|
76
|
-
* Emal preference status
|
|
77
|
-
* @type {boolean}
|
|
78
|
-
* @memberof GetCustomerResponse
|
|
79
|
-
*/
|
|
80
|
-
emailPreference: boolean;
|
|
81
|
-
/**
|
|
82
|
-
* Payment options
|
|
83
|
-
* @type {CustomerPaymentOptions}
|
|
84
|
-
* @memberof GetCustomerResponse
|
|
85
|
-
*/
|
|
86
|
-
paymentOptions: CustomerPaymentOptions;
|
|
87
|
-
/**
|
|
88
|
-
* Payment terms used to calculate the due date of invoices
|
|
89
|
-
* @type {string}
|
|
90
|
-
* @memberof GetCustomerResponse
|
|
91
|
-
*/
|
|
92
|
-
paymentTerms: string;
|
|
93
|
-
/**
|
|
94
|
-
* Billing cycle day
|
|
95
|
-
* @type {string}
|
|
96
|
-
* @memberof GetCustomerResponse
|
|
97
|
-
*/
|
|
98
|
-
billingCycleDay: string;
|
|
99
|
-
/**
|
|
100
|
-
* Billing contact ID
|
|
101
|
-
* @type {string}
|
|
102
|
-
* @memberof GetCustomerResponse
|
|
103
|
-
*/
|
|
104
|
-
billingContactId: string;
|
|
105
|
-
/**
|
|
106
|
-
* Billing contact email
|
|
107
|
-
* @type {string}
|
|
108
|
-
* @memberof GetCustomerResponse
|
|
109
|
-
*/
|
|
110
|
-
billingContactEmail: string;
|
|
111
|
-
/**
|
|
112
|
-
* Shipping contact ID
|
|
113
|
-
* @type {string}
|
|
114
|
-
* @memberof GetCustomerResponse
|
|
115
|
-
*/
|
|
116
|
-
shippingContactId: string;
|
|
117
|
-
/**
|
|
118
|
-
* Shipping contact email
|
|
119
|
-
* @type {string}
|
|
120
|
-
* @memberof GetCustomerResponse
|
|
121
|
-
*/
|
|
122
|
-
shippingContactEmail: string;
|
|
123
|
-
/**
|
|
124
|
-
* Customer status
|
|
125
|
-
* @type {string}
|
|
126
|
-
* @memberof GetCustomerResponse
|
|
127
|
-
*/
|
|
128
|
-
status: string;
|
|
129
|
-
/**
|
|
130
|
-
* used to group customers
|
|
131
|
-
* @type {string}
|
|
132
|
-
* @memberof GetCustomerResponse
|
|
133
|
-
*/
|
|
134
|
-
billingBatch: string;
|
|
135
|
-
/**
|
|
136
|
-
* Current customer balance
|
|
137
|
-
* @type {number}
|
|
138
|
-
* @memberof GetCustomerResponse
|
|
139
|
-
*/
|
|
140
|
-
balance: number;
|
|
141
|
-
/**
|
|
142
|
-
* Base currency of the customer
|
|
143
|
-
* @type {string}
|
|
144
|
-
* @memberof GetCustomerResponse
|
|
145
|
-
*/
|
|
146
|
-
currency: string;
|
|
147
|
-
/**
|
|
148
|
-
* Contracted MRR per charge
|
|
149
|
-
* @type {string}
|
|
150
|
-
* @memberof GetCustomerResponse
|
|
151
|
-
*/
|
|
152
|
-
cmrr: string;
|
|
153
|
-
/**
|
|
154
|
-
* MRR calculated based on % discount
|
|
155
|
-
* @type {string}
|
|
156
|
-
* @memberof GetCustomerResponse
|
|
157
|
-
*/
|
|
158
|
-
discountedCmrr: string;
|
|
159
|
-
/**
|
|
160
|
-
* gateway customer id or token
|
|
161
|
-
* @type {string}
|
|
162
|
-
* @memberof GetCustomerResponse
|
|
163
|
-
*/
|
|
164
|
-
paymentGatewayId: string;
|
|
165
|
-
/**
|
|
166
|
-
* name of payment gateway
|
|
167
|
-
* @type {string}
|
|
168
|
-
* @memberof GetCustomerResponse
|
|
169
|
-
*/
|
|
170
|
-
gatewayName: string;
|
|
171
|
-
/**
|
|
172
|
-
* Gateway account name used by customer
|
|
173
|
-
* @type {string}
|
|
174
|
-
* @memberof GetCustomerResponse
|
|
175
|
-
*/
|
|
176
|
-
gatewayAccountName: string;
|
|
177
|
-
/**
|
|
178
|
-
* Payment options
|
|
179
|
-
* @type {CustomerDeliveryPreferences}
|
|
180
|
-
* @memberof GetCustomerResponse
|
|
181
|
-
*/
|
|
182
|
-
deliveryPreferences: CustomerDeliveryPreferences;
|
|
183
|
-
/**
|
|
184
|
-
* Contacts array
|
|
185
|
-
* @type {Array<GetContactResponse>}
|
|
186
|
-
* @memberof GetCustomerResponse
|
|
187
|
-
*/
|
|
188
|
-
contacts: Array<GetContactResponse>;
|
|
189
|
-
/**
|
|
190
|
-
* Created by email
|
|
191
|
-
* @type {string}
|
|
192
|
-
* @memberof GetCustomerResponse
|
|
193
|
-
*/
|
|
194
|
-
createdBy: string;
|
|
195
|
-
/**
|
|
196
|
-
* Updated by email
|
|
197
|
-
* @type {string}
|
|
198
|
-
* @memberof GetCustomerResponse
|
|
199
|
-
*/
|
|
200
|
-
updatedBy: string;
|
|
201
|
-
/**
|
|
202
|
-
* Created Date
|
|
203
|
-
* @type {string}
|
|
204
|
-
* @memberof GetCustomerResponse
|
|
205
|
-
*/
|
|
206
|
-
createdAt: string;
|
|
207
|
-
/**
|
|
208
|
-
* Updated Date
|
|
209
|
-
* @type {string}
|
|
210
|
-
* @memberof GetCustomerResponse
|
|
211
|
-
*/
|
|
212
|
-
updatedAt: string;
|
|
213
|
-
/**
|
|
214
|
-
* Customers pay now URL
|
|
215
|
-
* @type {string}
|
|
216
|
-
* @memberof GetCustomerResponse
|
|
217
|
-
*/
|
|
218
|
-
payNowUrl: string;
|
|
219
|
-
/**
|
|
220
|
-
* external url to allow user to update payment method
|
|
221
|
-
* @type {string}
|
|
222
|
-
* @memberof GetCustomerResponse
|
|
223
|
-
*/
|
|
224
|
-
updatePaymentMethodUrl: string;
|
|
225
|
-
/**
|
|
226
|
-
* external url to allow user to update/view open invoices
|
|
227
|
-
* @type {string}
|
|
228
|
-
* @memberof GetCustomerResponse
|
|
229
|
-
*/
|
|
230
|
-
openInvoicesUrl: string;
|
|
231
|
-
/**
|
|
232
|
-
* Date the Customer was last invoiced.
|
|
233
|
-
* @type {string}
|
|
234
|
-
* @memberof GetCustomerResponse
|
|
235
|
-
*/
|
|
236
|
-
lastInvoicedAt: string;
|
|
237
|
-
/**
|
|
238
|
-
* ACH payments are accepted/or not accepted
|
|
239
|
-
* @type {boolean}
|
|
240
|
-
* @memberof GetCustomerResponse
|
|
241
|
-
*/
|
|
242
|
-
achEnabled: boolean;
|
|
243
|
-
/**
|
|
244
|
-
* Credit card payments are accepted/or not accepted
|
|
245
|
-
* @type {boolean}
|
|
246
|
-
* @memberof GetCustomerResponse
|
|
247
|
-
*/
|
|
248
|
-
creditEnabled: boolean;
|
|
249
|
-
/**
|
|
250
|
-
* Custom fields on the invoice
|
|
251
|
-
* @type {object}
|
|
252
|
-
* @memberof GetCustomerResponse
|
|
253
|
-
*/
|
|
254
|
-
customFields: object;
|
|
255
|
-
/**
|
|
256
|
-
* custom field 1
|
|
257
|
-
* @type {string}
|
|
258
|
-
* @memberof GetCustomerResponse
|
|
259
|
-
*/
|
|
260
|
-
externalId: string;
|
|
261
|
-
/**
|
|
262
|
-
* custom field 2
|
|
263
|
-
* @type {string}
|
|
264
|
-
* @memberof GetCustomerResponse
|
|
265
|
-
*/
|
|
266
|
-
customField2: string;
|
|
267
|
-
}
|
|
268
|
-
/**
|
|
269
|
-
* Check if a given object implements the GetCustomerResponse interface.
|
|
270
|
-
*/
|
|
271
|
-
export declare function instanceOfGetCustomerResponse(value: object): value is GetCustomerResponse;
|
|
272
|
-
export declare function GetCustomerResponseFromJSON(json: any): GetCustomerResponse;
|
|
273
|
-
export declare function GetCustomerResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetCustomerResponse;
|
|
274
|
-
export declare function GetCustomerResponseToJSON(json: any): GetCustomerResponse;
|
|
275
|
-
export declare function GetCustomerResponseToJSONTyped(value?: GetCustomerResponse | null, ignoreDiscriminator?: boolean): any;
|
|
276
|
-
//# sourceMappingURL=get-customer-response.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-customer-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/get-customer-response.ts"],"names":[],"mappings":"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"}
|