@managespace/sdk 0.0.45 → 0.0.46
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/package.json +14 -3
- 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,142 +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 { ProductTransactionPostingEntries } from './product-transaction-posting-entries';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductBillingResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface ProductBillingResponse {
|
|
19
|
-
/**
|
|
20
|
-
* Product ID
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof ProductBillingResponse
|
|
23
|
-
*/
|
|
24
|
-
id: string;
|
|
25
|
-
/**
|
|
26
|
-
* Name of product
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof ProductBillingResponse
|
|
29
|
-
*/
|
|
30
|
-
name: string;
|
|
31
|
-
/**
|
|
32
|
-
* Stock keeping unit
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof ProductBillingResponse
|
|
35
|
-
*/
|
|
36
|
-
sku: string;
|
|
37
|
-
/**
|
|
38
|
-
* Product status
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof ProductBillingResponse
|
|
41
|
-
*/
|
|
42
|
-
status: string;
|
|
43
|
-
/**
|
|
44
|
-
* Describes whether product is taxable or not
|
|
45
|
-
* @type {boolean}
|
|
46
|
-
* @memberof ProductBillingResponse
|
|
47
|
-
*/
|
|
48
|
-
taxable: boolean;
|
|
49
|
-
/**
|
|
50
|
-
* Description of product
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof ProductBillingResponse
|
|
53
|
-
*/
|
|
54
|
-
description: string;
|
|
55
|
-
/**
|
|
56
|
-
* Product price
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof ProductBillingResponse
|
|
59
|
-
*/
|
|
60
|
-
price: string;
|
|
61
|
-
/**
|
|
62
|
-
* ID of revenue
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof ProductBillingResponse
|
|
65
|
-
*/
|
|
66
|
-
revenueRuleId: string;
|
|
67
|
-
/**
|
|
68
|
-
* Date revenue will begin to be recognized
|
|
69
|
-
* @type {string}
|
|
70
|
-
* @memberof ProductBillingResponse
|
|
71
|
-
*/
|
|
72
|
-
recognitionStartDate: string;
|
|
73
|
-
/**
|
|
74
|
-
* Date revenue will end to be recognized
|
|
75
|
-
* @type {string}
|
|
76
|
-
* @memberof ProductBillingResponse
|
|
77
|
-
*/
|
|
78
|
-
recognitionEndDate: string;
|
|
79
|
-
/**
|
|
80
|
-
* Currency
|
|
81
|
-
* @type {string}
|
|
82
|
-
* @memberof ProductBillingResponse
|
|
83
|
-
*/
|
|
84
|
-
currency: string;
|
|
85
|
-
/**
|
|
86
|
-
* Product ID
|
|
87
|
-
* @type {Array<ProductTransactionPostingEntries>}
|
|
88
|
-
* @memberof ProductBillingResponse
|
|
89
|
-
*/
|
|
90
|
-
transactionPostingEntries: Array<ProductTransactionPostingEntries>;
|
|
91
|
-
/**
|
|
92
|
-
* Date of creation
|
|
93
|
-
* @type {string}
|
|
94
|
-
* @memberof ProductBillingResponse
|
|
95
|
-
*/
|
|
96
|
-
createdAt: string;
|
|
97
|
-
/**
|
|
98
|
-
* Date of last modification
|
|
99
|
-
* @type {string}
|
|
100
|
-
* @memberof ProductBillingResponse
|
|
101
|
-
*/
|
|
102
|
-
updatedAt: string;
|
|
103
|
-
/**
|
|
104
|
-
* Email of user who created this record
|
|
105
|
-
* @type {string}
|
|
106
|
-
* @memberof ProductBillingResponse
|
|
107
|
-
*/
|
|
108
|
-
createdBy: string;
|
|
109
|
-
/**
|
|
110
|
-
* Email of user who last modified this record
|
|
111
|
-
* @type {string}
|
|
112
|
-
* @memberof ProductBillingResponse
|
|
113
|
-
*/
|
|
114
|
-
updatedBy: string;
|
|
115
|
-
/**
|
|
116
|
-
* Show revenue schedules
|
|
117
|
-
* @type {boolean}
|
|
118
|
-
* @memberof ProductBillingResponse
|
|
119
|
-
*/
|
|
120
|
-
showRevenueSchedules: boolean;
|
|
121
|
-
/**
|
|
122
|
-
* List of custom fields
|
|
123
|
-
* @type {object}
|
|
124
|
-
* @memberof ProductBillingResponse
|
|
125
|
-
*/
|
|
126
|
-
customFields: object;
|
|
127
|
-
/**
|
|
128
|
-
* Code of Chart of Account
|
|
129
|
-
* @type {string}
|
|
130
|
-
* @memberof ProductBillingResponse
|
|
131
|
-
*/
|
|
132
|
-
incomeAccount: string;
|
|
133
|
-
}
|
|
134
|
-
/**
|
|
135
|
-
* Check if a given object implements the ProductBillingResponse interface.
|
|
136
|
-
*/
|
|
137
|
-
export declare function instanceOfProductBillingResponse(value: object): value is ProductBillingResponse;
|
|
138
|
-
export declare function ProductBillingResponseFromJSON(json: any): ProductBillingResponse;
|
|
139
|
-
export declare function ProductBillingResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductBillingResponse;
|
|
140
|
-
export declare function ProductBillingResponseToJSON(json: any): ProductBillingResponse;
|
|
141
|
-
export declare function ProductBillingResponseToJSONTyped(value?: ProductBillingResponse | null, ignoreDiscriminator?: boolean): any;
|
|
142
|
-
//# sourceMappingURL=product-billing-response.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"product-billing-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/product-billing-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AAQ9F;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;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,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,yBAAyB,EAAE,KAAK,CAAC,gCAAgC,CAAC,CAAC;IACnE;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,oBAAoB,EAAE,OAAO,CAAC;IAC9B;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sBAAsB,CAqB/F;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAEhF;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CA0BnH;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,CA2BlI"}
|
|
@@ -1,124 +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.ProductBillingResponseToJSONTyped = exports.ProductBillingResponseToJSON = exports.ProductBillingResponseFromJSONTyped = exports.ProductBillingResponseFromJSON = exports.instanceOfProductBillingResponse = void 0;
|
|
17
|
-
const product_transaction_posting_entries_1 = require("./product-transaction-posting-entries");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the ProductBillingResponse interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfProductBillingResponse(value) {
|
|
22
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
23
|
-
return false;
|
|
24
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
if (!('sku' in value) || value['sku'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('status' in value) || value['status'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('taxable' in value) || value['taxable'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('description' in value) || value['description'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
if (!('price' in value) || value['price'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
if (!('revenueRuleId' in value) || value['revenueRuleId'] === undefined)
|
|
37
|
-
return false;
|
|
38
|
-
if (!('recognitionStartDate' in value) || value['recognitionStartDate'] === undefined)
|
|
39
|
-
return false;
|
|
40
|
-
if (!('recognitionEndDate' in value) || value['recognitionEndDate'] === undefined)
|
|
41
|
-
return false;
|
|
42
|
-
if (!('currency' in value) || value['currency'] === undefined)
|
|
43
|
-
return false;
|
|
44
|
-
if (!('transactionPostingEntries' in value) || value['transactionPostingEntries'] === undefined)
|
|
45
|
-
return false;
|
|
46
|
-
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
47
|
-
return false;
|
|
48
|
-
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
49
|
-
return false;
|
|
50
|
-
if (!('createdBy' in value) || value['createdBy'] === undefined)
|
|
51
|
-
return false;
|
|
52
|
-
if (!('updatedBy' in value) || value['updatedBy'] === undefined)
|
|
53
|
-
return false;
|
|
54
|
-
if (!('showRevenueSchedules' in value) || value['showRevenueSchedules'] === undefined)
|
|
55
|
-
return false;
|
|
56
|
-
if (!('customFields' in value) || value['customFields'] === undefined)
|
|
57
|
-
return false;
|
|
58
|
-
if (!('incomeAccount' in value) || value['incomeAccount'] === undefined)
|
|
59
|
-
return false;
|
|
60
|
-
return true;
|
|
61
|
-
}
|
|
62
|
-
exports.instanceOfProductBillingResponse = instanceOfProductBillingResponse;
|
|
63
|
-
function ProductBillingResponseFromJSON(json) {
|
|
64
|
-
return ProductBillingResponseFromJSONTyped(json, false);
|
|
65
|
-
}
|
|
66
|
-
exports.ProductBillingResponseFromJSON = ProductBillingResponseFromJSON;
|
|
67
|
-
function ProductBillingResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
68
|
-
if (json == null) {
|
|
69
|
-
return json;
|
|
70
|
-
}
|
|
71
|
-
return {
|
|
72
|
-
'id': json['id'],
|
|
73
|
-
'name': json['name'],
|
|
74
|
-
'sku': json['sku'],
|
|
75
|
-
'status': json['status'],
|
|
76
|
-
'taxable': json['taxable'],
|
|
77
|
-
'description': json['description'],
|
|
78
|
-
'price': json['price'],
|
|
79
|
-
'revenueRuleId': json['revenueRuleId'],
|
|
80
|
-
'recognitionStartDate': json['recognitionStartDate'],
|
|
81
|
-
'recognitionEndDate': json['recognitionEndDate'],
|
|
82
|
-
'currency': json['currency'],
|
|
83
|
-
'transactionPostingEntries': (json['transactionPostingEntries'].map(product_transaction_posting_entries_1.ProductTransactionPostingEntriesFromJSON)),
|
|
84
|
-
'createdAt': json['createdAt'],
|
|
85
|
-
'updatedAt': json['updatedAt'],
|
|
86
|
-
'createdBy': json['createdBy'],
|
|
87
|
-
'updatedBy': json['updatedBy'],
|
|
88
|
-
'showRevenueSchedules': json['showRevenueSchedules'],
|
|
89
|
-
'customFields': json['customFields'],
|
|
90
|
-
'incomeAccount': json['incomeAccount'],
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
exports.ProductBillingResponseFromJSONTyped = ProductBillingResponseFromJSONTyped;
|
|
94
|
-
function ProductBillingResponseToJSON(json) {
|
|
95
|
-
return ProductBillingResponseToJSONTyped(json, false);
|
|
96
|
-
}
|
|
97
|
-
exports.ProductBillingResponseToJSON = ProductBillingResponseToJSON;
|
|
98
|
-
function ProductBillingResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
99
|
-
if (value == null) {
|
|
100
|
-
return value;
|
|
101
|
-
}
|
|
102
|
-
return {
|
|
103
|
-
'id': value['id'],
|
|
104
|
-
'name': value['name'],
|
|
105
|
-
'sku': value['sku'],
|
|
106
|
-
'status': value['status'],
|
|
107
|
-
'taxable': value['taxable'],
|
|
108
|
-
'description': value['description'],
|
|
109
|
-
'price': value['price'],
|
|
110
|
-
'revenueRuleId': value['revenueRuleId'],
|
|
111
|
-
'recognitionStartDate': value['recognitionStartDate'],
|
|
112
|
-
'recognitionEndDate': value['recognitionEndDate'],
|
|
113
|
-
'currency': value['currency'],
|
|
114
|
-
'transactionPostingEntries': (value['transactionPostingEntries'].map(product_transaction_posting_entries_1.ProductTransactionPostingEntriesToJSON)),
|
|
115
|
-
'createdAt': value['createdAt'],
|
|
116
|
-
'updatedAt': value['updatedAt'],
|
|
117
|
-
'createdBy': value['createdBy'],
|
|
118
|
-
'updatedBy': value['updatedBy'],
|
|
119
|
-
'showRevenueSchedules': value['showRevenueSchedules'],
|
|
120
|
-
'customFields': value['customFields'],
|
|
121
|
-
'incomeAccount': value['incomeAccount'],
|
|
122
|
-
};
|
|
123
|
-
}
|
|
124
|
-
exports.ProductBillingResponseToJSONTyped = ProductBillingResponseToJSONTyped;
|
|
@@ -1,45 +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 ProductTransactionPostingEntries
|
|
16
|
-
*/
|
|
17
|
-
export interface ProductTransactionPostingEntries {
|
|
18
|
-
/**
|
|
19
|
-
* Type of transaction
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ProductTransactionPostingEntries
|
|
22
|
-
*/
|
|
23
|
-
transactionType: string;
|
|
24
|
-
/**
|
|
25
|
-
* Account ID of Debit Account
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ProductTransactionPostingEntries
|
|
28
|
-
*/
|
|
29
|
-
debitAccount: string;
|
|
30
|
-
/**
|
|
31
|
-
* Account ID of Credit Account
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ProductTransactionPostingEntries
|
|
34
|
-
*/
|
|
35
|
-
creditAccount: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the ProductTransactionPostingEntries interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfProductTransactionPostingEntries(value: object): value is ProductTransactionPostingEntries;
|
|
41
|
-
export declare function ProductTransactionPostingEntriesFromJSON(json: any): ProductTransactionPostingEntries;
|
|
42
|
-
export declare function ProductTransactionPostingEntriesFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductTransactionPostingEntries;
|
|
43
|
-
export declare function ProductTransactionPostingEntriesToJSON(json: any): ProductTransactionPostingEntries;
|
|
44
|
-
export declare function ProductTransactionPostingEntriesToJSONTyped(value?: ProductTransactionPostingEntries | null, ignoreDiscriminator?: boolean): any;
|
|
45
|
-
//# sourceMappingURL=product-transaction-posting-entries.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"product-transaction-posting-entries.d.ts","sourceRoot":"","sources":["../../../src/generated/models/product-transaction-posting-entries.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AACH,wBAAgB,0CAA0C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gCAAgC,CAKnH;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAEpG;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gCAAgC,CAUvI;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAElG;AAED,wBAAgB,2CAA2C,CAAC,KAAK,CAAC,EAAE,gCAAgC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWtJ"}
|
|
@@ -1,59 +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.ProductTransactionPostingEntriesToJSONTyped = exports.ProductTransactionPostingEntriesToJSON = exports.ProductTransactionPostingEntriesFromJSONTyped = exports.ProductTransactionPostingEntriesFromJSON = exports.instanceOfProductTransactionPostingEntries = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the ProductTransactionPostingEntries interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfProductTransactionPostingEntries(value) {
|
|
21
|
-
if (!('transactionType' in value) || value['transactionType'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
if (!('debitAccount' in value) || value['debitAccount'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
if (!('creditAccount' in value) || value['creditAccount'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
exports.instanceOfProductTransactionPostingEntries = instanceOfProductTransactionPostingEntries;
|
|
30
|
-
function ProductTransactionPostingEntriesFromJSON(json) {
|
|
31
|
-
return ProductTransactionPostingEntriesFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
exports.ProductTransactionPostingEntriesFromJSON = ProductTransactionPostingEntriesFromJSON;
|
|
34
|
-
function ProductTransactionPostingEntriesFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'transactionType': json['transactionType'],
|
|
40
|
-
'debitAccount': json['debitAccount'],
|
|
41
|
-
'creditAccount': json['creditAccount'],
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
exports.ProductTransactionPostingEntriesFromJSONTyped = ProductTransactionPostingEntriesFromJSONTyped;
|
|
45
|
-
function ProductTransactionPostingEntriesToJSON(json) {
|
|
46
|
-
return ProductTransactionPostingEntriesToJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
exports.ProductTransactionPostingEntriesToJSON = ProductTransactionPostingEntriesToJSON;
|
|
49
|
-
function ProductTransactionPostingEntriesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'transactionType': value['transactionType'],
|
|
55
|
-
'debitAccount': value['debitAccount'],
|
|
56
|
-
'creditAccount': value['creditAccount'],
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
exports.ProductTransactionPostingEntriesToJSONTyped = ProductTransactionPostingEntriesToJSONTyped;
|
|
@@ -1,57 +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 UpdateCustomer
|
|
16
|
-
*/
|
|
17
|
-
export interface UpdateCustomer {
|
|
18
|
-
/**
|
|
19
|
-
* Full name
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof UpdateCustomer
|
|
22
|
-
*/
|
|
23
|
-
name?: string;
|
|
24
|
-
/**
|
|
25
|
-
* description of business or individual
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof UpdateCustomer
|
|
28
|
-
*/
|
|
29
|
-
description?: string | null;
|
|
30
|
-
/**
|
|
31
|
-
* External ID
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof UpdateCustomer
|
|
34
|
-
*/
|
|
35
|
-
externalId?: string | null;
|
|
36
|
-
/**
|
|
37
|
-
* billing contact ID
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof UpdateCustomer
|
|
40
|
-
*/
|
|
41
|
-
billingContactId?: string | null;
|
|
42
|
-
/**
|
|
43
|
-
* shipping contact ID
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof UpdateCustomer
|
|
46
|
-
*/
|
|
47
|
-
shippingContactId?: string | null;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Check if a given object implements the UpdateCustomer interface.
|
|
51
|
-
*/
|
|
52
|
-
export declare function instanceOfUpdateCustomer(value: object): value is UpdateCustomer;
|
|
53
|
-
export declare function UpdateCustomerFromJSON(json: any): UpdateCustomer;
|
|
54
|
-
export declare function UpdateCustomerFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateCustomer;
|
|
55
|
-
export declare function UpdateCustomerToJSON(json: any): UpdateCustomer;
|
|
56
|
-
export declare function UpdateCustomerToJSONTyped(value?: UpdateCustomer | null, ignoreDiscriminator?: boolean): any;
|
|
57
|
-
//# sourceMappingURL=update-customer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer.d.ts","sourceRoot":"","sources":["../../../src/generated/models/update-customer.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACrC;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAE/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAYnG;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAE9D;AAED,wBAAgB,yBAAyB,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAalH"}
|
|
@@ -1,57 +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.UpdateCustomerToJSONTyped = exports.UpdateCustomerToJSON = exports.UpdateCustomerFromJSONTyped = exports.UpdateCustomerFromJSON = exports.instanceOfUpdateCustomer = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the UpdateCustomer interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfUpdateCustomer(value) {
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
exports.instanceOfUpdateCustomer = instanceOfUpdateCustomer;
|
|
24
|
-
function UpdateCustomerFromJSON(json) {
|
|
25
|
-
return UpdateCustomerFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
exports.UpdateCustomerFromJSON = UpdateCustomerFromJSON;
|
|
28
|
-
function UpdateCustomerFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
-
if (json == null) {
|
|
30
|
-
return json;
|
|
31
|
-
}
|
|
32
|
-
return {
|
|
33
|
-
'name': json['name'] == null ? undefined : json['name'],
|
|
34
|
-
'description': json['description'] == null ? undefined : json['description'],
|
|
35
|
-
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
36
|
-
'billingContactId': json['billingContactId'] == null ? undefined : json['billingContactId'],
|
|
37
|
-
'shippingContactId': json['shippingContactId'] == null ? undefined : json['shippingContactId'],
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
exports.UpdateCustomerFromJSONTyped = UpdateCustomerFromJSONTyped;
|
|
41
|
-
function UpdateCustomerToJSON(json) {
|
|
42
|
-
return UpdateCustomerToJSONTyped(json, false);
|
|
43
|
-
}
|
|
44
|
-
exports.UpdateCustomerToJSON = UpdateCustomerToJSON;
|
|
45
|
-
function UpdateCustomerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
-
if (value == null) {
|
|
47
|
-
return value;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
'name': value['name'],
|
|
51
|
-
'description': value['description'],
|
|
52
|
-
'externalId': value['externalId'],
|
|
53
|
-
'billingContactId': value['billingContactId'],
|
|
54
|
-
'shippingContactId': value['shippingContactId'],
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
exports.UpdateCustomerToJSONTyped = UpdateCustomerToJSONTyped;
|
|
@@ -1,52 +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 { ProductStatus } from './product-status';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface UpdateProduct
|
|
17
|
-
*/
|
|
18
|
-
export interface UpdateProduct {
|
|
19
|
-
/**
|
|
20
|
-
* The product name the asset is associated with
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof UpdateProduct
|
|
23
|
-
*/
|
|
24
|
-
name: string;
|
|
25
|
-
/**
|
|
26
|
-
* The product id stored in the external sytem
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof UpdateProduct
|
|
29
|
-
*/
|
|
30
|
-
externalId: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {ProductStatus}
|
|
34
|
-
* @memberof UpdateProduct
|
|
35
|
-
*/
|
|
36
|
-
status?: ProductStatus;
|
|
37
|
-
/**
|
|
38
|
-
* The stock count of the asset
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof UpdateProduct
|
|
41
|
-
*/
|
|
42
|
-
stockCount?: number | null;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Check if a given object implements the UpdateProduct interface.
|
|
46
|
-
*/
|
|
47
|
-
export declare function instanceOfUpdateProduct(value: object): value is UpdateProduct;
|
|
48
|
-
export declare function UpdateProductFromJSON(json: any): UpdateProduct;
|
|
49
|
-
export declare function UpdateProductFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateProduct;
|
|
50
|
-
export declare function UpdateProductToJSON(json: any): UpdateProduct;
|
|
51
|
-
export declare function UpdateProductToJSONTyped(value?: UpdateProduct | null, ignoreDiscriminator?: boolean): any;
|
|
52
|
-
//# sourceMappingURL=update-product.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update-product.d.ts","sourceRoot":"","sources":["../../../src/generated/models/update-product.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAQtD;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAID;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAI7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAWjG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYhH"}
|
|
@@ -1,60 +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.UpdateProductToJSONTyped = exports.UpdateProductToJSON = exports.UpdateProductFromJSONTyped = exports.UpdateProductFromJSON = exports.instanceOfUpdateProduct = void 0;
|
|
17
|
-
const product_status_1 = require("./product-status");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the UpdateProduct interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfUpdateProduct(value) {
|
|
22
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
23
|
-
return false;
|
|
24
|
-
if (!('externalId' in value) || value['externalId'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
exports.instanceOfUpdateProduct = instanceOfUpdateProduct;
|
|
29
|
-
function UpdateProductFromJSON(json) {
|
|
30
|
-
return UpdateProductFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
exports.UpdateProductFromJSON = UpdateProductFromJSON;
|
|
33
|
-
function UpdateProductFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (json == null) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'name': json['name'],
|
|
39
|
-
'externalId': json['externalId'],
|
|
40
|
-
'status': json['status'] == null ? undefined : (0, product_status_1.ProductStatusFromJSON)(json['status']),
|
|
41
|
-
'stockCount': json['stockCount'] == null ? undefined : json['stockCount'],
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
exports.UpdateProductFromJSONTyped = UpdateProductFromJSONTyped;
|
|
45
|
-
function UpdateProductToJSON(json) {
|
|
46
|
-
return UpdateProductToJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
exports.UpdateProductToJSON = UpdateProductToJSON;
|
|
49
|
-
function UpdateProductToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'name': value['name'],
|
|
55
|
-
'externalId': value['externalId'],
|
|
56
|
-
'status': (0, product_status_1.ProductStatusToJSON)(value['status']),
|
|
57
|
-
'stockCount': value['stockCount'],
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
exports.UpdateProductToJSONTyped = UpdateProductToJSONTyped;
|