@managespace/sdk 0.0.65 → 0.0.67
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 +7 -34
- package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
- package/dist/extensibility/functions/project/billing.js +0 -20
- package/dist/extensibility/functions/project/index.d.ts +1 -1
- package/dist/extensibility/functions/project/index.js +1 -1
- package/dist/extensibility/functions/project/topics.enum.d.ts +15 -0
- package/dist/extensibility/functions/project/topics.enum.d.ts.map +1 -0
- package/dist/extensibility/functions/project/topics.enum.js +18 -0
- package/dist/generated/apis/default-api.d.ts +5 -48
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +2 -143
- package/dist/generated/models/asset-response.d.ts +2 -16
- package/dist/generated/models/asset-response.d.ts.map +1 -1
- package/dist/generated/models/asset-response.js +3 -9
- package/dist/generated/models/create-asset-custom.d.ts +2 -2
- package/dist/generated/models/create-asset-custom.d.ts.map +1 -1
- package/dist/generated/models/create-asset-custom.js +2 -2
- package/dist/generated/models/create-product-custom.d.ts +19 -37
- package/dist/generated/models/create-product-custom.d.ts.map +1 -1
- package/dist/generated/models/create-product-custom.js +11 -19
- package/dist/generated/models/custom-create-plan.d.ts +9 -33
- package/dist/generated/models/custom-create-plan.d.ts.map +1 -1
- package/dist/generated/models/custom-create-plan.js +6 -16
- package/dist/generated/models/customer-response.d.ts +0 -7
- package/dist/generated/models/customer-response.d.ts.map +1 -1
- package/dist/generated/models/customer-response.js +0 -3
- package/dist/generated/models/get-plans200-response.d.ts +3 -3
- package/dist/generated/models/get-plans200-response.d.ts.map +1 -1
- package/dist/generated/models/get-plans200-response.js +3 -3
- package/dist/generated/models/index.d.ts +1 -9
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +1 -9
- package/dist/generated/models/org-response.d.ts +0 -14
- package/dist/generated/models/org-response.d.ts.map +1 -1
- package/dist/generated/models/org-response.js +0 -6
- package/dist/generated/models/plan-custom-response.d.ts +58 -0
- package/dist/generated/models/plan-custom-response.d.ts.map +1 -0
- package/dist/generated/models/plan-custom-response.js +64 -0
- package/dist/generated/models/product-custom-response.d.ts +19 -69
- package/dist/generated/models/product-custom-response.d.ts.map +1 -1
- package/dist/generated/models/product-custom-response.js +11 -37
- package/dist/generated/models/site-response.d.ts +0 -14
- package/dist/generated/models/site-response.d.ts.map +1 -1
- package/dist/generated/models/site-response.js +0 -6
- package/dist/generated/models/update-asset.d.ts +2 -2
- package/dist/generated/models/update-asset.d.ts.map +1 -1
- package/dist/generated/models/update-asset.js +2 -2
- package/package.json +2 -2
- package/src/extensibility/functions/project/billing.ts +7 -40
- package/src/extensibility/functions/project/index.ts +1 -1
- package/src/extensibility/functions/project/topics.enum.ts +14 -0
- package/src/generated/.openapi-generator/FILES +1 -9
- package/src/generated/apis/default-api.ts +9 -246
- package/src/generated/models/asset-response.ts +5 -35
- package/src/generated/models/create-asset-custom.ts +4 -4
- package/src/generated/models/create-product-custom.ts +30 -55
- package/src/generated/models/custom-create-plan.ts +15 -48
- package/src/generated/models/customer-response.ts +0 -15
- package/src/generated/models/get-plans200-response.ts +10 -10
- package/src/generated/models/index.ts +1 -9
- package/src/generated/models/org-response.ts +0 -30
- package/src/generated/models/plan-custom-response.ts +108 -0
- package/src/generated/models/product-custom-response.ts +30 -112
- package/src/generated/models/site-response.ts +0 -30
- package/src/generated/models/update-asset.ts +4 -4
- package/.turbo/turbo-build.log +0 -2
- package/dist/generated/models/charge-tier.d.ts +0 -57
- package/dist/generated/models/charge-tier.d.ts.map +0 -1
- package/dist/generated/models/charge-tier.js +0 -67
- package/dist/generated/models/create-charge.d.ts +0 -227
- package/dist/generated/models/create-charge.d.ts.map +0 -1
- package/dist/generated/models/create-charge.js +0 -181
- package/dist/generated/models/create-lease-status.d.ts +0 -46
- package/dist/generated/models/create-lease-status.d.ts.map +0 -1
- package/dist/generated/models/create-lease-status.js +0 -60
- package/dist/generated/models/create-order.d.ts +0 -142
- package/dist/generated/models/create-order.d.ts.map +0 -1
- package/dist/generated/models/create-order.js +0 -124
- package/dist/generated/models/get-orders200-response.d.ts +0 -41
- package/dist/generated/models/get-orders200-response.d.ts.map +0 -1
- package/dist/generated/models/get-orders200-response.js +0 -55
- package/dist/generated/models/lease-status-response.d.ts +0 -66
- package/dist/generated/models/lease-status-response.d.ts.map +0 -1
- package/dist/generated/models/lease-status-response.js +0 -70
- package/dist/generated/models/order-line-item.d.ts +0 -75
- package/dist/generated/models/order-line-item.d.ts.map +0 -1
- package/dist/generated/models/order-line-item.js +0 -79
- package/dist/generated/models/order-response.d.ts +0 -142
- package/dist/generated/models/order-response.d.ts.map +0 -1
- package/dist/generated/models/order-response.js +0 -124
- package/dist/generated/models/product-status.d.ts +0 -33
- package/dist/generated/models/product-status.d.ts.map +0 -1
- package/dist/generated/models/product-status.js +0 -58
- package/src/extensibility/functions/project/topics.type.ts +0 -16
- package/src/generated/models/charge-tier.ts +0 -102
- package/src/generated/models/create-charge.ts +0 -369
- package/src/generated/models/create-order.ts +0 -236
- package/src/generated/models/get-orders200-response.ts +0 -89
- package/src/generated/models/order-line-item.ts +0 -129
- package/src/generated/models/order-response.ts +0 -236
|
@@ -1,46 +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 CreateLeaseStatus
|
|
17
|
-
*/
|
|
18
|
-
export interface CreateLeaseStatus {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {ProductStatus}
|
|
22
|
-
* @memberof CreateLeaseStatus
|
|
23
|
-
*/
|
|
24
|
-
status: ProductStatus;
|
|
25
|
-
/**
|
|
26
|
-
* The price of the asset in the lowest denomination of the currency
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof CreateLeaseStatus
|
|
29
|
-
*/
|
|
30
|
-
price: number;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof CreateLeaseStatus
|
|
35
|
-
*/
|
|
36
|
-
productId: string;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the CreateLeaseStatus interface.
|
|
40
|
-
*/
|
|
41
|
-
export declare function instanceOfCreateLeaseStatus(value: object): value is CreateLeaseStatus;
|
|
42
|
-
export declare function CreateLeaseStatusFromJSON(json: any): CreateLeaseStatus;
|
|
43
|
-
export declare function CreateLeaseStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateLeaseStatus;
|
|
44
|
-
export declare function CreateLeaseStatusToJSON(json: any): CreateLeaseStatus;
|
|
45
|
-
export declare function CreateLeaseStatusToJSONTyped(value?: CreateLeaseStatus | null, ignoreDiscriminator?: boolean): any;
|
|
46
|
-
//# sourceMappingURL=create-lease-status.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-lease-status.d.ts","sourceRoot":"","sources":["../../../src/generated/models/create-lease-status.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAQtD;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,MAAM,EAAE,aAAa,CAAC;IACtB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB;AAID;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iBAAiB,CAKrF;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEtE;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iBAAiB,CAUzG;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEpE;AAED,wBAAgB,4BAA4B,CAAC,KAAK,CAAC,EAAE,iBAAiB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWxH"}
|
|
@@ -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.CreateLeaseStatusToJSONTyped = exports.CreateLeaseStatusToJSON = exports.CreateLeaseStatusFromJSONTyped = exports.CreateLeaseStatusFromJSON = exports.instanceOfCreateLeaseStatus = void 0;
|
|
17
|
-
const product_status_1 = require("./product-status");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the CreateLeaseStatus interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfCreateLeaseStatus(value) {
|
|
22
|
-
if (!('status' in value) || value['status'] === undefined)
|
|
23
|
-
return false;
|
|
24
|
-
if (!('price' in value) || value['price'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
if (!('productId' in value) || value['productId'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
exports.instanceOfCreateLeaseStatus = instanceOfCreateLeaseStatus;
|
|
31
|
-
function CreateLeaseStatusFromJSON(json) {
|
|
32
|
-
return CreateLeaseStatusFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
exports.CreateLeaseStatusFromJSON = CreateLeaseStatusFromJSON;
|
|
35
|
-
function CreateLeaseStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
-
if (json == null) {
|
|
37
|
-
return json;
|
|
38
|
-
}
|
|
39
|
-
return {
|
|
40
|
-
'status': (0, product_status_1.ProductStatusFromJSON)(json['status']),
|
|
41
|
-
'price': json['price'],
|
|
42
|
-
'productId': json['productId'],
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
exports.CreateLeaseStatusFromJSONTyped = CreateLeaseStatusFromJSONTyped;
|
|
46
|
-
function CreateLeaseStatusToJSON(json) {
|
|
47
|
-
return CreateLeaseStatusToJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
exports.CreateLeaseStatusToJSON = CreateLeaseStatusToJSON;
|
|
50
|
-
function CreateLeaseStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
-
if (value == null) {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
'status': (0, product_status_1.ProductStatusToJSON)(value['status']),
|
|
56
|
-
'price': value['price'],
|
|
57
|
-
'productId': value['productId'],
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
exports.CreateLeaseStatusToJSONTyped = CreateLeaseStatusToJSONTyped;
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ManageSpace API
|
|
3
|
-
* ManageSpace API Documentation
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { OrderLineItem } from './order-line-item';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface CreateOrder
|
|
17
|
-
*/
|
|
18
|
-
export interface CreateOrder {
|
|
19
|
-
/**
|
|
20
|
-
* Order ID
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof CreateOrder
|
|
23
|
-
*/
|
|
24
|
-
id: string;
|
|
25
|
-
/**
|
|
26
|
-
* If order status is invoiced, associated invoice id
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof CreateOrder
|
|
29
|
-
*/
|
|
30
|
-
invoiceId: string;
|
|
31
|
-
/**
|
|
32
|
-
* Date order was placed
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof CreateOrder
|
|
35
|
-
*/
|
|
36
|
-
orderDate: string;
|
|
37
|
-
/**
|
|
38
|
-
* Customer ID associated with order
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof CreateOrder
|
|
41
|
-
*/
|
|
42
|
-
customerId: string;
|
|
43
|
-
/**
|
|
44
|
-
* Order status
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof CreateOrder
|
|
47
|
-
*/
|
|
48
|
-
status: string;
|
|
49
|
-
/**
|
|
50
|
-
* Total amount of order
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof CreateOrder
|
|
53
|
-
*/
|
|
54
|
-
orderAmount: string;
|
|
55
|
-
/**
|
|
56
|
-
* Enable to create separate invoice for this order
|
|
57
|
-
* @type {boolean}
|
|
58
|
-
* @memberof CreateOrder
|
|
59
|
-
*/
|
|
60
|
-
separateInvoice: boolean;
|
|
61
|
-
/**
|
|
62
|
-
* Currency of the order
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof CreateOrder
|
|
65
|
-
*/
|
|
66
|
-
currency: string;
|
|
67
|
-
/**
|
|
68
|
-
* Billing contact ID
|
|
69
|
-
* @type {string}
|
|
70
|
-
* @memberof CreateOrder
|
|
71
|
-
*/
|
|
72
|
-
billContactId: string;
|
|
73
|
-
/**
|
|
74
|
-
* Shipping contact ID
|
|
75
|
-
* @type {string}
|
|
76
|
-
* @memberof CreateOrder
|
|
77
|
-
*/
|
|
78
|
-
shippingContactId: string;
|
|
79
|
-
/**
|
|
80
|
-
* Payment terms to calculate due date of invoice
|
|
81
|
-
* @type {string}
|
|
82
|
-
* @memberof CreateOrder
|
|
83
|
-
*/
|
|
84
|
-
paymentTerms: string;
|
|
85
|
-
/**
|
|
86
|
-
* Misceallaneous notes on order
|
|
87
|
-
* @type {string}
|
|
88
|
-
* @memberof CreateOrder
|
|
89
|
-
*/
|
|
90
|
-
notes: string;
|
|
91
|
-
/**
|
|
92
|
-
* Coupon code applied to order
|
|
93
|
-
* @type {string}
|
|
94
|
-
* @memberof CreateOrder
|
|
95
|
-
*/
|
|
96
|
-
couponCode: string;
|
|
97
|
-
/**
|
|
98
|
-
* Invoice line items
|
|
99
|
-
* @type {Array<OrderLineItem>}
|
|
100
|
-
* @memberof CreateOrder
|
|
101
|
-
*/
|
|
102
|
-
lineItems: Array<OrderLineItem>;
|
|
103
|
-
/**
|
|
104
|
-
* The date the order was created
|
|
105
|
-
* @type {string}
|
|
106
|
-
* @memberof CreateOrder
|
|
107
|
-
*/
|
|
108
|
-
createdAt: string;
|
|
109
|
-
/**
|
|
110
|
-
* The date the order was updated
|
|
111
|
-
* @type {string}
|
|
112
|
-
* @memberof CreateOrder
|
|
113
|
-
*/
|
|
114
|
-
updatedAt: string;
|
|
115
|
-
/**
|
|
116
|
-
* Who created the order
|
|
117
|
-
* @type {string}
|
|
118
|
-
* @memberof CreateOrder
|
|
119
|
-
*/
|
|
120
|
-
createdBy: string;
|
|
121
|
-
/**
|
|
122
|
-
* Who updated the order
|
|
123
|
-
* @type {string}
|
|
124
|
-
* @memberof CreateOrder
|
|
125
|
-
*/
|
|
126
|
-
updatedBy: string;
|
|
127
|
-
/**
|
|
128
|
-
* Custom fields on the invoice
|
|
129
|
-
* @type {object}
|
|
130
|
-
* @memberof CreateOrder
|
|
131
|
-
*/
|
|
132
|
-
customFields: object;
|
|
133
|
-
}
|
|
134
|
-
/**
|
|
135
|
-
* Check if a given object implements the CreateOrder interface.
|
|
136
|
-
*/
|
|
137
|
-
export declare function instanceOfCreateOrder(value: object): value is CreateOrder;
|
|
138
|
-
export declare function CreateOrderFromJSON(json: any): CreateOrder;
|
|
139
|
-
export declare function CreateOrderFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateOrder;
|
|
140
|
-
export declare function CreateOrderToJSON(json: any): CreateOrder;
|
|
141
|
-
export declare function CreateOrderToJSONTyped(value?: CreateOrder | null, ignoreDiscriminator?: boolean): any;
|
|
142
|
-
//# sourceMappingURL=create-order.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-order.d.ts","sourceRoot":"","sources":["../../../src/generated/models/create-order.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAQvD;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,eAAe,EAAE,OAAO,CAAC;IACzB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IAChC;;;;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,YAAY,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,WAAW,CAqBzE;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAE1D;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,WAAW,CA0B7F;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAExD;AAED,wBAAgB,sBAAsB,CAAC,KAAK,CAAC,EAAE,WAAW,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CA2B5G"}
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* ManageSpace API
|
|
6
|
-
* ManageSpace API Documentation
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.CreateOrderToJSONTyped = exports.CreateOrderToJSON = exports.CreateOrderFromJSONTyped = exports.CreateOrderFromJSON = exports.instanceOfCreateOrder = void 0;
|
|
17
|
-
const order_line_item_1 = require("./order-line-item");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the CreateOrder interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfCreateOrder(value) {
|
|
22
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
23
|
-
return false;
|
|
24
|
-
if (!('invoiceId' in value) || value['invoiceId'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
if (!('orderDate' in value) || value['orderDate'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('customerId' in value) || value['customerId'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('status' in value) || value['status'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('orderAmount' in value) || value['orderAmount'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
if (!('separateInvoice' in value) || value['separateInvoice'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
if (!('currency' in value) || value['currency'] === undefined)
|
|
37
|
-
return false;
|
|
38
|
-
if (!('billContactId' in value) || value['billContactId'] === undefined)
|
|
39
|
-
return false;
|
|
40
|
-
if (!('shippingContactId' in value) || value['shippingContactId'] === undefined)
|
|
41
|
-
return false;
|
|
42
|
-
if (!('paymentTerms' in value) || value['paymentTerms'] === undefined)
|
|
43
|
-
return false;
|
|
44
|
-
if (!('notes' in value) || value['notes'] === undefined)
|
|
45
|
-
return false;
|
|
46
|
-
if (!('couponCode' in value) || value['couponCode'] === undefined)
|
|
47
|
-
return false;
|
|
48
|
-
if (!('lineItems' in value) || value['lineItems'] === undefined)
|
|
49
|
-
return false;
|
|
50
|
-
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
51
|
-
return false;
|
|
52
|
-
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
53
|
-
return false;
|
|
54
|
-
if (!('createdBy' in value) || value['createdBy'] === undefined)
|
|
55
|
-
return false;
|
|
56
|
-
if (!('updatedBy' in value) || value['updatedBy'] === undefined)
|
|
57
|
-
return false;
|
|
58
|
-
if (!('customFields' in value) || value['customFields'] === undefined)
|
|
59
|
-
return false;
|
|
60
|
-
return true;
|
|
61
|
-
}
|
|
62
|
-
exports.instanceOfCreateOrder = instanceOfCreateOrder;
|
|
63
|
-
function CreateOrderFromJSON(json) {
|
|
64
|
-
return CreateOrderFromJSONTyped(json, false);
|
|
65
|
-
}
|
|
66
|
-
exports.CreateOrderFromJSON = CreateOrderFromJSON;
|
|
67
|
-
function CreateOrderFromJSONTyped(json, ignoreDiscriminator) {
|
|
68
|
-
if (json == null) {
|
|
69
|
-
return json;
|
|
70
|
-
}
|
|
71
|
-
return {
|
|
72
|
-
'id': json['id'],
|
|
73
|
-
'invoiceId': json['invoiceId'],
|
|
74
|
-
'orderDate': json['orderDate'],
|
|
75
|
-
'customerId': json['customerId'],
|
|
76
|
-
'status': json['status'],
|
|
77
|
-
'orderAmount': json['orderAmount'],
|
|
78
|
-
'separateInvoice': json['separateInvoice'],
|
|
79
|
-
'currency': json['currency'],
|
|
80
|
-
'billContactId': json['billContactId'],
|
|
81
|
-
'shippingContactId': json['shippingContactId'],
|
|
82
|
-
'paymentTerms': json['paymentTerms'],
|
|
83
|
-
'notes': json['notes'],
|
|
84
|
-
'couponCode': json['couponCode'],
|
|
85
|
-
'lineItems': (json['lineItems'].map(order_line_item_1.OrderLineItemFromJSON)),
|
|
86
|
-
'createdAt': json['createdAt'],
|
|
87
|
-
'updatedAt': json['updatedAt'],
|
|
88
|
-
'createdBy': json['createdBy'],
|
|
89
|
-
'updatedBy': json['updatedBy'],
|
|
90
|
-
'customFields': json['customFields'],
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
exports.CreateOrderFromJSONTyped = CreateOrderFromJSONTyped;
|
|
94
|
-
function CreateOrderToJSON(json) {
|
|
95
|
-
return CreateOrderToJSONTyped(json, false);
|
|
96
|
-
}
|
|
97
|
-
exports.CreateOrderToJSON = CreateOrderToJSON;
|
|
98
|
-
function CreateOrderToJSONTyped(value, ignoreDiscriminator = false) {
|
|
99
|
-
if (value == null) {
|
|
100
|
-
return value;
|
|
101
|
-
}
|
|
102
|
-
return {
|
|
103
|
-
'id': value['id'],
|
|
104
|
-
'invoiceId': value['invoiceId'],
|
|
105
|
-
'orderDate': value['orderDate'],
|
|
106
|
-
'customerId': value['customerId'],
|
|
107
|
-
'status': value['status'],
|
|
108
|
-
'orderAmount': value['orderAmount'],
|
|
109
|
-
'separateInvoice': value['separateInvoice'],
|
|
110
|
-
'currency': value['currency'],
|
|
111
|
-
'billContactId': value['billContactId'],
|
|
112
|
-
'shippingContactId': value['shippingContactId'],
|
|
113
|
-
'paymentTerms': value['paymentTerms'],
|
|
114
|
-
'notes': value['notes'],
|
|
115
|
-
'couponCode': value['couponCode'],
|
|
116
|
-
'lineItems': (value['lineItems'].map(order_line_item_1.OrderLineItemToJSON)),
|
|
117
|
-
'createdAt': value['createdAt'],
|
|
118
|
-
'updatedAt': value['updatedAt'],
|
|
119
|
-
'createdBy': value['createdBy'],
|
|
120
|
-
'updatedBy': value['updatedBy'],
|
|
121
|
-
'customFields': value['customFields'],
|
|
122
|
-
};
|
|
123
|
-
}
|
|
124
|
-
exports.CreateOrderToJSONTyped = CreateOrderToJSONTyped;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ManageSpace API
|
|
3
|
-
* ManageSpace API Documentation
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { PageMeta } from './page-meta';
|
|
13
|
-
import type { OrderResponse } from './order-response';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface GetOrders200Response
|
|
18
|
-
*/
|
|
19
|
-
export interface GetOrders200Response {
|
|
20
|
-
/**
|
|
21
|
-
* The pagination metadata
|
|
22
|
-
* @type {PageMeta}
|
|
23
|
-
* @memberof GetOrders200Response
|
|
24
|
-
*/
|
|
25
|
-
pageMeta: PageMeta;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {Array<OrderResponse>}
|
|
29
|
-
* @memberof GetOrders200Response
|
|
30
|
-
*/
|
|
31
|
-
results?: Array<OrderResponse>;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the GetOrders200Response interface.
|
|
35
|
-
*/
|
|
36
|
-
export declare function instanceOfGetOrders200Response(value: object): value is GetOrders200Response;
|
|
37
|
-
export declare function GetOrders200ResponseFromJSON(json: any): GetOrders200Response;
|
|
38
|
-
export declare function GetOrders200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetOrders200Response;
|
|
39
|
-
export declare function GetOrders200ResponseToJSON(json: any): GetOrders200Response;
|
|
40
|
-
export declare function GetOrders200ResponseToJSONTyped(value?: GetOrders200Response | null, ignoreDiscriminator?: boolean): any;
|
|
41
|
-
//# sourceMappingURL=get-orders200-response.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-orders200-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/get-orders200-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAO5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAQtD;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,QAAQ,EAAE,QAAQ,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;CAClC;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAG3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAS/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,CAU9H"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* ManageSpace API
|
|
6
|
-
* ManageSpace API Documentation
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.GetOrders200ResponseToJSONTyped = exports.GetOrders200ResponseToJSON = exports.GetOrders200ResponseFromJSONTyped = exports.GetOrders200ResponseFromJSON = exports.instanceOfGetOrders200Response = void 0;
|
|
17
|
-
const page_meta_1 = require("./page-meta");
|
|
18
|
-
const order_response_1 = require("./order-response");
|
|
19
|
-
/**
|
|
20
|
-
* Check if a given object implements the GetOrders200Response interface.
|
|
21
|
-
*/
|
|
22
|
-
function instanceOfGetOrders200Response(value) {
|
|
23
|
-
if (!('pageMeta' in value) || value['pageMeta'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
exports.instanceOfGetOrders200Response = instanceOfGetOrders200Response;
|
|
28
|
-
function GetOrders200ResponseFromJSON(json) {
|
|
29
|
-
return GetOrders200ResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
exports.GetOrders200ResponseFromJSON = GetOrders200ResponseFromJSON;
|
|
32
|
-
function GetOrders200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'pageMeta': (0, page_meta_1.PageMetaFromJSON)(json['pageMeta']),
|
|
38
|
-
'results': json['results'] == null ? undefined : (json['results'].map(order_response_1.OrderResponseFromJSON)),
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
exports.GetOrders200ResponseFromJSONTyped = GetOrders200ResponseFromJSONTyped;
|
|
42
|
-
function GetOrders200ResponseToJSON(json) {
|
|
43
|
-
return GetOrders200ResponseToJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
exports.GetOrders200ResponseToJSON = GetOrders200ResponseToJSON;
|
|
46
|
-
function GetOrders200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
-
if (value == null) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'pageMeta': (0, page_meta_1.PageMetaToJSON)(value['pageMeta']),
|
|
52
|
-
'results': value['results'] == null ? undefined : (value['results'].map(order_response_1.OrderResponseToJSON)),
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
exports.GetOrders200ResponseToJSONTyped = GetOrders200ResponseToJSONTyped;
|
|
@@ -1,66 +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 { ProductResponse } from './product-response';
|
|
13
|
-
import type { ProductStatus } from './product-status';
|
|
14
|
-
import type { AssetResponse } from './asset-response';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface LeaseStatusResponse
|
|
19
|
-
*/
|
|
20
|
-
export interface LeaseStatusResponse {
|
|
21
|
-
/**
|
|
22
|
-
* Asset ID
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof LeaseStatusResponse
|
|
25
|
-
*/
|
|
26
|
-
id: string;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {ProductStatus}
|
|
30
|
-
* @memberof LeaseStatusResponse
|
|
31
|
-
*/
|
|
32
|
-
status: ProductStatus;
|
|
33
|
-
/**
|
|
34
|
-
* The price of the asset in the lowest denomination of the currency
|
|
35
|
-
* @type {number}
|
|
36
|
-
* @memberof LeaseStatusResponse
|
|
37
|
-
*/
|
|
38
|
-
price: number;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {AssetResponse}
|
|
42
|
-
* @memberof LeaseStatusResponse
|
|
43
|
-
*/
|
|
44
|
-
asset?: AssetResponse;
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @type {ProductResponse}
|
|
48
|
-
* @memberof LeaseStatusResponse
|
|
49
|
-
*/
|
|
50
|
-
product?: ProductResponse;
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @type {string}
|
|
54
|
-
* @memberof LeaseStatusResponse
|
|
55
|
-
*/
|
|
56
|
-
productId: string;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Check if a given object implements the LeaseStatusResponse interface.
|
|
60
|
-
*/
|
|
61
|
-
export declare function instanceOfLeaseStatusResponse(value: object): value is LeaseStatusResponse;
|
|
62
|
-
export declare function LeaseStatusResponseFromJSON(json: any): LeaseStatusResponse;
|
|
63
|
-
export declare function LeaseStatusResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeaseStatusResponse;
|
|
64
|
-
export declare function LeaseStatusResponseToJSON(json: any): LeaseStatusResponse;
|
|
65
|
-
export declare function LeaseStatusResponseToJSONTyped(value?: LeaseStatusResponse | null, ignoreDiscriminator?: boolean): any;
|
|
66
|
-
//# sourceMappingURL=lease-status-response.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lease-status-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/lease-status-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAO1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAOtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAQtD;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,MAAM,EAAE,aAAa,CAAC;IACtB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB;;;;OAIG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB;AAID;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAMzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAa7G;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAc5H"}
|
|
@@ -1,70 +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.LeaseStatusResponseToJSONTyped = exports.LeaseStatusResponseToJSON = exports.LeaseStatusResponseFromJSONTyped = exports.LeaseStatusResponseFromJSON = exports.instanceOfLeaseStatusResponse = void 0;
|
|
17
|
-
const product_response_1 = require("./product-response");
|
|
18
|
-
const product_status_1 = require("./product-status");
|
|
19
|
-
const asset_response_1 = require("./asset-response");
|
|
20
|
-
/**
|
|
21
|
-
* Check if a given object implements the LeaseStatusResponse interface.
|
|
22
|
-
*/
|
|
23
|
-
function instanceOfLeaseStatusResponse(value) {
|
|
24
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
if (!('status' in value) || value['status'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('price' in value) || value['price'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('productId' in value) || value['productId'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
return true;
|
|
33
|
-
}
|
|
34
|
-
exports.instanceOfLeaseStatusResponse = instanceOfLeaseStatusResponse;
|
|
35
|
-
function LeaseStatusResponseFromJSON(json) {
|
|
36
|
-
return LeaseStatusResponseFromJSONTyped(json, false);
|
|
37
|
-
}
|
|
38
|
-
exports.LeaseStatusResponseFromJSON = LeaseStatusResponseFromJSON;
|
|
39
|
-
function LeaseStatusResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
-
if (json == null) {
|
|
41
|
-
return json;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'id': json['id'],
|
|
45
|
-
'status': (0, product_status_1.ProductStatusFromJSON)(json['status']),
|
|
46
|
-
'price': json['price'],
|
|
47
|
-
'asset': json['asset'] == null ? undefined : (0, asset_response_1.AssetResponseFromJSON)(json['asset']),
|
|
48
|
-
'product': json['product'] == null ? undefined : (0, product_response_1.ProductResponseFromJSON)(json['product']),
|
|
49
|
-
'productId': json['productId'],
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
exports.LeaseStatusResponseFromJSONTyped = LeaseStatusResponseFromJSONTyped;
|
|
53
|
-
function LeaseStatusResponseToJSON(json) {
|
|
54
|
-
return LeaseStatusResponseToJSONTyped(json, false);
|
|
55
|
-
}
|
|
56
|
-
exports.LeaseStatusResponseToJSON = LeaseStatusResponseToJSON;
|
|
57
|
-
function LeaseStatusResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
-
if (value == null) {
|
|
59
|
-
return value;
|
|
60
|
-
}
|
|
61
|
-
return {
|
|
62
|
-
'id': value['id'],
|
|
63
|
-
'status': (0, product_status_1.ProductStatusToJSON)(value['status']),
|
|
64
|
-
'price': value['price'],
|
|
65
|
-
'asset': (0, asset_response_1.AssetResponseToJSON)(value['asset']),
|
|
66
|
-
'product': (0, product_response_1.ProductResponseToJSON)(value['product']),
|
|
67
|
-
'productId': value['productId'],
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
exports.LeaseStatusResponseToJSONTyped = LeaseStatusResponseToJSONTyped;
|