@managespace/sdk 0.0.44 → 0.0.45
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 +24 -0
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +76 -0
- package/dist/generated/models/create-contact.d.ts +87 -0
- package/dist/generated/models/create-contact.d.ts.map +1 -0
- package/dist/generated/models/create-contact.js +81 -0
- package/dist/generated/models/create-plan-billing.d.ts +58 -0
- package/dist/generated/models/create-plan-billing.d.ts.map +1 -0
- package/dist/generated/models/create-plan-billing.js +68 -0
- package/dist/generated/models/create-product-billing.d.ts +82 -0
- package/dist/generated/models/create-product-billing.d.ts.map +1 -0
- package/dist/generated/models/create-product-billing.js +84 -0
- package/dist/generated/models/custom-add-customer-contact.d.ts +34 -0
- package/dist/generated/models/custom-add-customer-contact.d.ts.map +1 -0
- package/dist/generated/models/custom-add-customer-contact.js +52 -0
- package/dist/generated/models/custom-create-contact-with-customer.d.ts +82 -0
- package/dist/generated/models/custom-create-contact-with-customer.d.ts.map +1 -0
- package/dist/generated/models/custom-create-contact-with-customer.js +78 -0
- package/dist/generated/models/customer-delivery-preferences.d.ts +39 -0
- package/dist/generated/models/customer-delivery-preferences.d.ts.map +1 -0
- package/dist/generated/models/customer-delivery-preferences.js +55 -0
- package/dist/generated/models/customer-id.d.ts +33 -0
- package/dist/generated/models/customer-id.d.ts.map +1 -0
- package/dist/generated/models/customer-id.js +51 -0
- package/dist/generated/models/customer-payment-options.d.ts +39 -0
- package/dist/generated/models/customer-payment-options.d.ts.map +1 -0
- package/dist/generated/models/customer-payment-options.js +55 -0
- package/dist/generated/models/get-customer-response.d.ts +276 -0
- package/dist/generated/models/get-customer-response.d.ts.map +1 -0
- package/dist/generated/models/get-customer-response.js +214 -0
- package/dist/generated/models/get-customers-billing200-response.d.ts +41 -0
- package/dist/generated/models/get-customers-billing200-response.d.ts.map +1 -0
- package/dist/generated/models/get-customers-billing200-response.js +55 -0
- package/dist/generated/models/product-billing-response.d.ts +142 -0
- package/dist/generated/models/product-billing-response.d.ts.map +1 -0
- package/dist/generated/models/product-billing-response.js +124 -0
- package/dist/generated/models/product-transaction-posting-entries.d.ts +45 -0
- package/dist/generated/models/product-transaction-posting-entries.d.ts.map +1 -0
- package/dist/generated/models/product-transaction-posting-entries.js +59 -0
- package/dist/generated/models/update-customer.d.ts +57 -0
- package/dist/generated/models/update-customer.d.ts.map +1 -0
- package/dist/generated/models/update-customer.js +57 -0
- package/dist/generated/models/update-product.d.ts +52 -0
- package/dist/generated/models/update-product.d.ts.map +1 -0
- package/dist/generated/models/update-product.js +60 -0
- package/package.json +2 -13
- package/src/generated/apis/default-api.ts +125 -0
|
@@ -0,0 +1,68 @@
|
|
|
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.CreatePlanBillingToJSONTyped = exports.CreatePlanBillingToJSON = exports.CreatePlanBillingFromJSONTyped = exports.CreatePlanBillingFromJSON = exports.instanceOfCreatePlanBilling = void 0;
|
|
17
|
+
const create_plan_charge_1 = require("./create-plan-charge");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the CreatePlanBilling interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfCreatePlanBilling(value) {
|
|
22
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('publicUrl' in value) || value['publicUrl'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('charges' in value) || value['charges'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
exports.instanceOfCreatePlanBilling = instanceOfCreatePlanBilling;
|
|
35
|
+
function CreatePlanBillingFromJSON(json) {
|
|
36
|
+
return CreatePlanBillingFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
exports.CreatePlanBillingFromJSON = CreatePlanBillingFromJSON;
|
|
39
|
+
function CreatePlanBillingFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'name': json['name'],
|
|
45
|
+
'status': json['status'],
|
|
46
|
+
'description': json['description'],
|
|
47
|
+
'publicUrl': json['publicUrl'],
|
|
48
|
+
'charges': (json['charges'].map(create_plan_charge_1.CreatePlanChargeFromJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.CreatePlanBillingFromJSONTyped = CreatePlanBillingFromJSONTyped;
|
|
52
|
+
function CreatePlanBillingToJSON(json) {
|
|
53
|
+
return CreatePlanBillingToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
exports.CreatePlanBillingToJSON = CreatePlanBillingToJSON;
|
|
56
|
+
function CreatePlanBillingToJSONTyped(value, ignoreDiscriminator = false) {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'name': value['name'],
|
|
62
|
+
'status': value['status'],
|
|
63
|
+
'description': value['description'],
|
|
64
|
+
'publicUrl': value['publicUrl'],
|
|
65
|
+
'charges': (value['charges'].map(create_plan_charge_1.CreatePlanChargeToJSON)),
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
exports.CreatePlanBillingToJSONTyped = CreatePlanBillingToJSONTyped;
|
|
@@ -0,0 +1,82 @@
|
|
|
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 { ProductTransactionPostingEntries } from './product-transaction-posting-entries';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateProductBilling
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateProductBilling {
|
|
19
|
+
/**
|
|
20
|
+
* Name of product
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CreateProductBilling
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
* Stock keeping unit
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CreateProductBilling
|
|
29
|
+
*/
|
|
30
|
+
sku: string;
|
|
31
|
+
/**
|
|
32
|
+
* Product status
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof CreateProductBilling
|
|
35
|
+
*/
|
|
36
|
+
status: string;
|
|
37
|
+
/**
|
|
38
|
+
* Describes whether product is taxable or not
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof CreateProductBilling
|
|
41
|
+
*/
|
|
42
|
+
taxable: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Description of product
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof CreateProductBilling
|
|
47
|
+
*/
|
|
48
|
+
description: string;
|
|
49
|
+
/**
|
|
50
|
+
* Product price
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof CreateProductBilling
|
|
53
|
+
*/
|
|
54
|
+
price: string;
|
|
55
|
+
/**
|
|
56
|
+
* ID of revenue
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof CreateProductBilling
|
|
59
|
+
*/
|
|
60
|
+
revenueRuleId: string;
|
|
61
|
+
/**
|
|
62
|
+
* Date revenue will begin to be recognized
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof CreateProductBilling
|
|
65
|
+
*/
|
|
66
|
+
recognitionStartDate: string;
|
|
67
|
+
/**
|
|
68
|
+
* Product ID
|
|
69
|
+
* @type {Array<ProductTransactionPostingEntries>}
|
|
70
|
+
* @memberof CreateProductBilling
|
|
71
|
+
*/
|
|
72
|
+
transactionPostingEntries: Array<ProductTransactionPostingEntries>;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Check if a given object implements the CreateProductBilling interface.
|
|
76
|
+
*/
|
|
77
|
+
export declare function instanceOfCreateProductBilling(value: object): value is CreateProductBilling;
|
|
78
|
+
export declare function CreateProductBillingFromJSON(json: any): CreateProductBilling;
|
|
79
|
+
export declare function CreateProductBillingFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateProductBilling;
|
|
80
|
+
export declare function CreateProductBillingToJSON(json: any): CreateProductBilling;
|
|
81
|
+
export declare function CreateProductBillingToJSONTyped(value?: CreateProductBilling | null, ignoreDiscriminator?: boolean): any;
|
|
82
|
+
//# sourceMappingURL=create-product-billing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-product-billing.d.ts","sourceRoot":"","sources":["../../../src/generated/models/create-product-billing.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AAQ9F;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,yBAAyB,EAAE,KAAK,CAAC,gCAAgC,CAAC,CAAC;CACtE;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAW3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAgB/G;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE1E;AAED,wBAAgB,+BAA+B,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAiB9H"}
|
|
@@ -0,0 +1,84 @@
|
|
|
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.CreateProductBillingToJSONTyped = exports.CreateProductBillingToJSON = exports.CreateProductBillingFromJSONTyped = exports.CreateProductBillingFromJSON = exports.instanceOfCreateProductBilling = void 0;
|
|
17
|
+
const product_transaction_posting_entries_1 = require("./product-transaction-posting-entries");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the CreateProductBilling interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfCreateProductBilling(value) {
|
|
22
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('sku' in value) || value['sku'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('taxable' in value) || value['taxable'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('price' in value) || value['price'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('revenueRuleId' in value) || value['revenueRuleId'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('recognitionStartDate' in value) || value['recognitionStartDate'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('transactionPostingEntries' in value) || value['transactionPostingEntries'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
exports.instanceOfCreateProductBilling = instanceOfCreateProductBilling;
|
|
43
|
+
function CreateProductBillingFromJSON(json) {
|
|
44
|
+
return CreateProductBillingFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
exports.CreateProductBillingFromJSON = CreateProductBillingFromJSON;
|
|
47
|
+
function CreateProductBillingFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'name': json['name'],
|
|
53
|
+
'sku': json['sku'],
|
|
54
|
+
'status': json['status'],
|
|
55
|
+
'taxable': json['taxable'],
|
|
56
|
+
'description': json['description'],
|
|
57
|
+
'price': json['price'],
|
|
58
|
+
'revenueRuleId': json['revenueRuleId'],
|
|
59
|
+
'recognitionStartDate': json['recognitionStartDate'],
|
|
60
|
+
'transactionPostingEntries': (json['transactionPostingEntries'].map(product_transaction_posting_entries_1.ProductTransactionPostingEntriesFromJSON)),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
exports.CreateProductBillingFromJSONTyped = CreateProductBillingFromJSONTyped;
|
|
64
|
+
function CreateProductBillingToJSON(json) {
|
|
65
|
+
return CreateProductBillingToJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
exports.CreateProductBillingToJSON = CreateProductBillingToJSON;
|
|
68
|
+
function CreateProductBillingToJSONTyped(value, ignoreDiscriminator = false) {
|
|
69
|
+
if (value == null) {
|
|
70
|
+
return value;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
'name': value['name'],
|
|
74
|
+
'sku': value['sku'],
|
|
75
|
+
'status': value['status'],
|
|
76
|
+
'taxable': value['taxable'],
|
|
77
|
+
'description': value['description'],
|
|
78
|
+
'price': value['price'],
|
|
79
|
+
'revenueRuleId': value['revenueRuleId'],
|
|
80
|
+
'recognitionStartDate': value['recognitionStartDate'],
|
|
81
|
+
'transactionPostingEntries': (value['transactionPostingEntries'].map(product_transaction_posting_entries_1.ProductTransactionPostingEntriesToJSON)),
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
exports.CreateProductBillingToJSONTyped = CreateProductBillingToJSONTyped;
|
|
@@ -0,0 +1,34 @@
|
|
|
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 { CustomCreateContactWithCustomer } from './custom-create-contact-with-customer';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CustomAddCustomerContact
|
|
17
|
+
*/
|
|
18
|
+
export interface CustomAddCustomerContact {
|
|
19
|
+
/**
|
|
20
|
+
* Contact information.
|
|
21
|
+
* @type {Array<CustomCreateContactWithCustomer>}
|
|
22
|
+
* @memberof CustomAddCustomerContact
|
|
23
|
+
*/
|
|
24
|
+
contacts: Array<CustomCreateContactWithCustomer>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the CustomAddCustomerContact interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfCustomAddCustomerContact(value: object): value is CustomAddCustomerContact;
|
|
30
|
+
export declare function CustomAddCustomerContactFromJSON(json: any): CustomAddCustomerContact;
|
|
31
|
+
export declare function CustomAddCustomerContactFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomAddCustomerContact;
|
|
32
|
+
export declare function CustomAddCustomerContactToJSON(json: any): CustomAddCustomerContact;
|
|
33
|
+
export declare function CustomAddCustomerContactToJSONTyped(value?: CustomAddCustomerContact | null, ignoreDiscriminator?: boolean): any;
|
|
34
|
+
//# sourceMappingURL=custom-add-customer-contact.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-add-customer-contact.d.ts","sourceRoot":"","sources":["../../../src/generated/models/custom-add-customer-contact.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AAQ7F;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,QAAQ,EAAE,KAAK,CAAC,+BAA+B,CAAC,CAAC;CACpD;AAED;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,wBAAwB,CAGnG;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAQvH;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAElF;AAED,wBAAgB,mCAAmC,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAStI"}
|
|
@@ -0,0 +1,52 @@
|
|
|
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;
|
|
@@ -0,0 +1,82 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,78 @@
|
|
|
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;
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,55 @@
|
|
|
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;
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|