@managespace/sdk 0.0.41 → 0.0.43
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/extensibility/functions/project/billing.d.ts +27 -22
- package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
- package/dist/extensibility/functions/project/billing.js +16 -10
- package/dist/generated/apis/default-api.d.ts +24 -28
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +71 -81
- package/dist/generated/models/chart-of-accounts-response.d.ts +4 -27
- package/dist/generated/models/chart-of-accounts-response.d.ts.map +1 -1
- package/dist/generated/models/chart-of-accounts-response.js +4 -19
- package/dist/generated/models/create-billing-run.d.ts +1 -1
- package/dist/generated/models/create-billing-run.d.ts.map +1 -1
- package/dist/generated/models/create-billing-run.js +3 -1
- package/dist/generated/models/create-payment-run.d.ts +1 -1
- package/dist/generated/models/create-payment-run.d.ts.map +1 -1
- package/dist/generated/models/create-payment-run.js +1 -3
- package/dist/generated/models/create-revenue-rule.d.ts +69 -0
- package/dist/generated/models/create-revenue-rule.d.ts.map +1 -0
- package/dist/generated/models/create-revenue-rule.js +75 -0
- package/dist/generated/models/get-chart-of-accounts200-response.d.ts +3 -3
- package/dist/generated/models/get-chart-of-accounts200-response.d.ts.map +1 -1
- package/dist/generated/models/get-chart-of-accounts200-response.js +3 -3
- package/dist/generated/models/index.d.ts +6 -3
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +6 -3
- package/dist/generated/models/payment-response.d.ts +2 -2
- package/package.json +3 -3
- package/src/extensibility/functions/project/billing.ts +32 -21
- package/src/generated/.openapi-generator/FILES +6 -3
- package/src/generated/apis/default-api.ts +117 -137
- package/src/generated/models/chart-of-accounts-response.ts +14 -42
- package/src/generated/models/create-billing-run.ts +3 -2
- package/src/generated/models/create-payment-run.ts +2 -3
- package/src/generated/models/create-payment.ts +256 -0
- package/src/generated/models/create-revenue-rule.ts +120 -0
- package/src/generated/models/get-chart-of-accounts200-response.ts +10 -10
- package/src/generated/models/index.ts +6 -3
- package/src/generated/models/payment-response.ts +2 -2
- package/dist/generated/models/create-chart-of-accounts.d.ts +0 -57
- package/dist/generated/models/create-chart-of-accounts.d.ts.map +0 -1
- package/dist/generated/models/create-chart-of-accounts.js +0 -65
- 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
- package/src/generated/models/create-chart-of-accounts.ts +0 -101
|
@@ -1,52 +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.CustomAddCustomerContactToJSONTyped = exports.CustomAddCustomerContactToJSON = exports.CustomAddCustomerContactFromJSONTyped = exports.CustomAddCustomerContactFromJSON = exports.instanceOfCustomAddCustomerContact = void 0;
|
|
17
|
-
const custom_create_contact_with_customer_1 = require("./custom-create-contact-with-customer");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the CustomAddCustomerContact interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfCustomAddCustomerContact(value) {
|
|
22
|
-
if (!('contacts' in value) || value['contacts'] === undefined)
|
|
23
|
-
return false;
|
|
24
|
-
return true;
|
|
25
|
-
}
|
|
26
|
-
exports.instanceOfCustomAddCustomerContact = instanceOfCustomAddCustomerContact;
|
|
27
|
-
function CustomAddCustomerContactFromJSON(json) {
|
|
28
|
-
return CustomAddCustomerContactFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
exports.CustomAddCustomerContactFromJSON = CustomAddCustomerContactFromJSON;
|
|
31
|
-
function CustomAddCustomerContactFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'contacts': (json['contacts'].map(custom_create_contact_with_customer_1.CustomCreateContactWithCustomerFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
exports.CustomAddCustomerContactFromJSONTyped = CustomAddCustomerContactFromJSONTyped;
|
|
40
|
-
function CustomAddCustomerContactToJSON(json) {
|
|
41
|
-
return CustomAddCustomerContactToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
exports.CustomAddCustomerContactToJSON = CustomAddCustomerContactToJSON;
|
|
44
|
-
function CustomAddCustomerContactToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'contacts': (value['contacts'].map(custom_create_contact_with_customer_1.CustomCreateContactWithCustomerToJSON)),
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
exports.CustomAddCustomerContactToJSONTyped = CustomAddCustomerContactToJSONTyped;
|
|
@@ -1,82 +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 { CreateAddress } from './create-address';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface CustomCreateContactWithCustomer
|
|
17
|
-
*/
|
|
18
|
-
export interface CustomCreateContactWithCustomer {
|
|
19
|
-
/**
|
|
20
|
-
* External ID
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof CustomCreateContactWithCustomer
|
|
23
|
-
*/
|
|
24
|
-
externalId?: string | null;
|
|
25
|
-
/**
|
|
26
|
-
* First name
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof CustomCreateContactWithCustomer
|
|
29
|
-
*/
|
|
30
|
-
firstName: string;
|
|
31
|
-
/**
|
|
32
|
-
* Initial of middle name
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof CustomCreateContactWithCustomer
|
|
35
|
-
*/
|
|
36
|
-
middleInitial?: string | null;
|
|
37
|
-
/**
|
|
38
|
-
* Last name
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof CustomCreateContactWithCustomer
|
|
41
|
-
*/
|
|
42
|
-
lastName: string;
|
|
43
|
-
/**
|
|
44
|
-
* Display name
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof CustomCreateContactWithCustomer
|
|
47
|
-
*/
|
|
48
|
-
displayName: string;
|
|
49
|
-
/**
|
|
50
|
-
* Contact email address
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof CustomCreateContactWithCustomer
|
|
53
|
-
*/
|
|
54
|
-
email: string;
|
|
55
|
-
/**
|
|
56
|
-
* Phone number
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof CustomCreateContactWithCustomer
|
|
59
|
-
*/
|
|
60
|
-
phoneNumber?: string | null;
|
|
61
|
-
/**
|
|
62
|
-
* Contact mobile number
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof CustomCreateContactWithCustomer
|
|
65
|
-
*/
|
|
66
|
-
mobileNumber: string;
|
|
67
|
-
/**
|
|
68
|
-
* Contact address.
|
|
69
|
-
* @type {CreateAddress}
|
|
70
|
-
* @memberof CustomCreateContactWithCustomer
|
|
71
|
-
*/
|
|
72
|
-
address: CreateAddress;
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* Check if a given object implements the CustomCreateContactWithCustomer interface.
|
|
76
|
-
*/
|
|
77
|
-
export declare function instanceOfCustomCreateContactWithCustomer(value: object): value is CustomCreateContactWithCustomer;
|
|
78
|
-
export declare function CustomCreateContactWithCustomerFromJSON(json: any): CustomCreateContactWithCustomer;
|
|
79
|
-
export declare function CustomCreateContactWithCustomerFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomCreateContactWithCustomer;
|
|
80
|
-
export declare function CustomCreateContactWithCustomerToJSON(json: any): CustomCreateContactWithCustomer;
|
|
81
|
-
export declare function CustomCreateContactWithCustomerToJSONTyped(value?: CustomCreateContactWithCustomer | null, ignoreDiscriminator?: boolean): any;
|
|
82
|
-
//# sourceMappingURL=custom-create-contact-with-customer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"custom-create-contact-with-customer.d.ts","sourceRoot":"","sources":["../../../src/generated/models/custom-create-contact-with-customer.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAQtD;;;;GAIG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,OAAO,EAAE,aAAa,CAAC;CAC1B;AAED;;GAEG;AACH,wBAAgB,yCAAyC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,+BAA+B,CAQjH;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,GAAG,+BAA+B,CAElG;AAED,wBAAgB,4CAA4C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,+BAA+B,CAgBrI;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,+BAA+B,CAEhG;AAED,wBAAgB,0CAA0C,CAAC,KAAK,CAAC,EAAE,+BAA+B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAiBpJ"}
|
|
@@ -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;
|