@managespace/sdk 0.0.91 → 0.0.93
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/.turbo/turbo-build.log +2 -0
- package/dist/generated/apis/default-api.d.ts +15 -15
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +39 -39
- package/dist/generated/models/cancel-subscription-billing.d.ts +39 -0
- package/dist/generated/models/cancel-subscription-billing.d.ts.map +1 -0
- package/dist/generated/models/cancel-subscription-billing.js +55 -0
- package/dist/generated/models/chart-of-account-response.d.ts +99 -0
- package/dist/generated/models/chart-of-account-response.d.ts.map +1 -0
- package/dist/generated/models/chart-of-account-response.js +95 -0
- package/dist/generated/models/configuration-response.d.ts +77 -0
- package/dist/generated/models/configuration-response.d.ts.map +1 -0
- package/dist/generated/models/configuration-response.js +77 -0
- package/dist/generated/models/contact-id.d.ts +33 -0
- package/dist/generated/models/contact-id.d.ts.map +1 -0
- package/dist/generated/models/contact-id.js +51 -0
- package/dist/generated/models/create-payment-billing.d.ts +155 -0
- package/dist/generated/models/create-payment-billing.d.ts.map +1 -0
- package/dist/generated/models/create-payment-billing.js +133 -0
- package/dist/generated/models/create-plan.d.ts +52 -0
- package/dist/generated/models/create-plan.d.ts.map +1 -0
- package/dist/generated/models/create-plan.js +64 -0
- package/dist/generated/models/create-product.d.ts +45 -0
- package/dist/generated/models/create-product.d.ts.map +1 -0
- package/dist/generated/models/create-product.js +57 -0
- package/dist/generated/models/create-stock-status.d.ts +39 -0
- package/dist/generated/models/create-stock-status.d.ts.map +1 -0
- package/dist/generated/models/create-stock-status.js +55 -0
- package/dist/generated/models/create-subscription-billing.d.ts +166 -0
- package/dist/generated/models/create-subscription-billing.d.ts.map +1 -0
- package/dist/generated/models/create-subscription-billing.js +140 -0
- package/dist/generated/models/custom-chart-of-account.d.ts +57 -0
- package/dist/generated/models/custom-chart-of-account.d.ts.map +1 -0
- package/dist/generated/models/custom-chart-of-account.js +67 -0
- package/dist/generated/models/custom-chart-of-accounts.d.ts +34 -0
- package/dist/generated/models/custom-chart-of-accounts.d.ts.map +1 -0
- package/dist/generated/models/custom-chart-of-accounts.js +52 -0
- package/dist/generated/models/custom-create-customer.d.ts +6 -6
- package/dist/generated/models/custom-create-customer.d.ts.map +1 -1
- package/dist/generated/models/custom-create-customer.js +2 -4
- package/dist/generated/models/custom-update-customer.d.ts +0 -6
- package/dist/generated/models/custom-update-customer.d.ts.map +1 -1
- package/dist/generated/models/custom-update-customer.js +0 -2
- package/dist/generated/models/customer-response.d.ts +0 -6
- package/dist/generated/models/customer-response.d.ts.map +1 -1
- package/dist/generated/models/customer-response.js +0 -4
- package/dist/generated/models/document-urls-response.d.ts +33 -0
- package/dist/generated/models/document-urls-response.d.ts.map +1 -0
- package/dist/generated/models/document-urls-response.js +51 -0
- package/dist/generated/models/get-contact-response.d.ts +159 -0
- package/dist/generated/models/get-contact-response.d.ts.map +1 -0
- package/dist/generated/models/get-contact-response.js +135 -0
- package/dist/generated/models/get-invoice-billing200-response.d.ts +41 -0
- package/dist/generated/models/get-invoice-billing200-response.d.ts.map +1 -0
- package/dist/generated/models/get-invoice-billing200-response.js +55 -0
- package/dist/generated/models/get-statements200-response.d.ts +2 -2
- package/dist/generated/models/get-statements200-response.js +2 -2
- package/dist/generated/models/index.d.ts +1 -1
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +1 -1
- package/dist/generated/models/plan-charge-response.d.ts +166 -0
- package/dist/generated/models/plan-charge-response.d.ts.map +1 -0
- package/dist/generated/models/plan-charge-response.js +140 -0
- package/dist/generated/models/plan-response.d.ts +128 -0
- package/dist/generated/models/plan-response.d.ts.map +1 -0
- package/dist/generated/models/plan-response.js +106 -0
- package/dist/generated/models/product-response.d.ts +97 -0
- package/dist/generated/models/product-response.d.ts.map +1 -0
- package/dist/generated/models/product-response.js +87 -0
- package/dist/generated/models/stock-status-response.d.ts +59 -0
- package/dist/generated/models/stock-status-response.d.ts.map +1 -0
- package/dist/generated/models/stock-status-response.js +65 -0
- package/dist/generated/models/update-extensibility-repo.d.ts +57 -0
- package/dist/generated/models/update-extensibility-repo.d.ts.map +1 -0
- package/dist/generated/models/update-extensibility-repo.js +67 -0
- package/package.json +2 -2
- package/src/extensibility/functions/project/billing.ts +1 -1
- package/src/generated/apis/default-api.ts +5 -0
- package/src/generated/models/address-response1.ts +145 -0
- package/src/generated/models/address-response2.ts +145 -0
- package/src/generated/models/asset-response1.ts +262 -0
- package/src/generated/models/configuration-setting-response1.ts +160 -0
- package/src/generated/models/create-subscription.ts +8 -0
- package/src/generated/models/customer-response1.ts +190 -0
- package/src/generated/models/map-feature-response1.ts +190 -0
- package/src/generated/models/map-feature-response2.ts +190 -0
- package/src/generated/models/map-feature-response3.ts +190 -0
- package/src/generated/models/org-response1.ts +442 -0
- package/src/generated/models/org-response2.ts +442 -0
- package/src/generated/models/site-response1.ts +340 -0
- package/src/generated/models/subscription-response.ts +4 -5
|
@@ -0,0 +1,128 @@
|
|
|
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 { OrgResponse } from './org-response';
|
|
13
|
+
import type { SiteResponse } from './site-response';
|
|
14
|
+
import type { ProductResponse } from './product-response';
|
|
15
|
+
import type { AssetResponse } from './asset-response';
|
|
16
|
+
import type { CustomerResponse } from './customer-response';
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface PlanResponse
|
|
21
|
+
*/
|
|
22
|
+
export interface PlanResponse {
|
|
23
|
+
/**
|
|
24
|
+
* Product ID
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PlanResponse
|
|
27
|
+
*/
|
|
28
|
+
id: string;
|
|
29
|
+
/**
|
|
30
|
+
* The product id stored in the external sytem
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PlanResponse
|
|
33
|
+
*/
|
|
34
|
+
externalId: string | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {OrgResponse}
|
|
38
|
+
* @memberof PlanResponse
|
|
39
|
+
*/
|
|
40
|
+
org?: OrgResponse;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PlanResponse
|
|
45
|
+
*/
|
|
46
|
+
orgId: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {SiteResponse}
|
|
50
|
+
* @memberof PlanResponse
|
|
51
|
+
*/
|
|
52
|
+
site?: SiteResponse;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof PlanResponse
|
|
57
|
+
*/
|
|
58
|
+
siteId: string;
|
|
59
|
+
/**
|
|
60
|
+
* The product name
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof PlanResponse
|
|
63
|
+
*/
|
|
64
|
+
name: string;
|
|
65
|
+
/**
|
|
66
|
+
* The price of the product in the lowest denomination of the currency
|
|
67
|
+
* @type {number}
|
|
68
|
+
* @memberof PlanResponse
|
|
69
|
+
*/
|
|
70
|
+
price: number;
|
|
71
|
+
/**
|
|
72
|
+
* Tax exempt
|
|
73
|
+
* @type {boolean}
|
|
74
|
+
* @memberof PlanResponse
|
|
75
|
+
*/
|
|
76
|
+
taxable: boolean;
|
|
77
|
+
/**
|
|
78
|
+
* Tax exempt
|
|
79
|
+
* @type {boolean}
|
|
80
|
+
* @memberof PlanResponse
|
|
81
|
+
*/
|
|
82
|
+
active: boolean;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {ProductResponse}
|
|
86
|
+
* @memberof PlanResponse
|
|
87
|
+
*/
|
|
88
|
+
product?: ProductResponse;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof PlanResponse
|
|
93
|
+
*/
|
|
94
|
+
productId: string;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {AssetResponse}
|
|
98
|
+
* @memberof PlanResponse
|
|
99
|
+
*/
|
|
100
|
+
asset?: AssetResponse | null;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof PlanResponse
|
|
105
|
+
*/
|
|
106
|
+
assetId: string | null;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {CustomerResponse}
|
|
110
|
+
* @memberof PlanResponse
|
|
111
|
+
*/
|
|
112
|
+
customer?: CustomerResponse;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof PlanResponse
|
|
117
|
+
*/
|
|
118
|
+
customerId: string;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Check if a given object implements the PlanResponse interface.
|
|
122
|
+
*/
|
|
123
|
+
export declare function instanceOfPlanResponse(value: object): value is PlanResponse;
|
|
124
|
+
export declare function PlanResponseFromJSON(json: any): PlanResponse;
|
|
125
|
+
export declare function PlanResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlanResponse;
|
|
126
|
+
export declare function PlanResponseToJSON(json: any): PlanResponse;
|
|
127
|
+
export declare function PlanResponseToJSONTyped(value?: PlanResponse | null, ignoreDiscriminator?: boolean): any;
|
|
128
|
+
//# sourceMappingURL=plan-response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plan-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/plan-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBA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BAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CAuB/F;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE1D;AAED,wBAAgB,uBAAuB,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAwB9G"}
|
|
@@ -0,0 +1,106 @@
|
|
|
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.PlanResponseToJSONTyped = exports.PlanResponseToJSON = exports.PlanResponseFromJSONTyped = exports.PlanResponseFromJSON = exports.instanceOfPlanResponse = void 0;
|
|
17
|
+
const org_response_1 = require("./org-response");
|
|
18
|
+
const site_response_1 = require("./site-response");
|
|
19
|
+
const product_response_1 = require("./product-response");
|
|
20
|
+
const asset_response_1 = require("./asset-response");
|
|
21
|
+
const customer_response_1 = require("./customer-response");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the PlanResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfPlanResponse(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('externalId' in value) || value['externalId'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('orgId' in value) || value['orgId'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('price' in value) || value['price'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('taxable' in value) || value['taxable'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('active' in value) || value['active'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('productId' in value) || value['productId'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('assetId' in value) || value['assetId'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('customerId' in value) || value['customerId'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
exports.instanceOfPlanResponse = instanceOfPlanResponse;
|
|
51
|
+
function PlanResponseFromJSON(json) {
|
|
52
|
+
return PlanResponseFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
exports.PlanResponseFromJSON = PlanResponseFromJSON;
|
|
55
|
+
function PlanResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
56
|
+
if (json == null) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'id': json['id'],
|
|
61
|
+
'externalId': json['externalId'],
|
|
62
|
+
'org': json['org'] == null ? undefined : (0, org_response_1.OrgResponseFromJSON)(json['org']),
|
|
63
|
+
'orgId': json['orgId'],
|
|
64
|
+
'site': json['site'] == null ? undefined : (0, site_response_1.SiteResponseFromJSON)(json['site']),
|
|
65
|
+
'siteId': json['siteId'],
|
|
66
|
+
'name': json['name'],
|
|
67
|
+
'price': json['price'],
|
|
68
|
+
'taxable': json['taxable'],
|
|
69
|
+
'active': json['active'],
|
|
70
|
+
'product': json['product'] == null ? undefined : (0, product_response_1.ProductResponseFromJSON)(json['product']),
|
|
71
|
+
'productId': json['productId'],
|
|
72
|
+
'asset': json['asset'] == null ? undefined : (0, asset_response_1.AssetResponseFromJSON)(json['asset']),
|
|
73
|
+
'assetId': json['assetId'],
|
|
74
|
+
'customer': json['customer'] == null ? undefined : (0, customer_response_1.CustomerResponseFromJSON)(json['customer']),
|
|
75
|
+
'customerId': json['customerId'],
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
exports.PlanResponseFromJSONTyped = PlanResponseFromJSONTyped;
|
|
79
|
+
function PlanResponseToJSON(json) {
|
|
80
|
+
return PlanResponseToJSONTyped(json, false);
|
|
81
|
+
}
|
|
82
|
+
exports.PlanResponseToJSON = PlanResponseToJSON;
|
|
83
|
+
function PlanResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
84
|
+
if (value == null) {
|
|
85
|
+
return value;
|
|
86
|
+
}
|
|
87
|
+
return {
|
|
88
|
+
'id': value['id'],
|
|
89
|
+
'externalId': value['externalId'],
|
|
90
|
+
'org': (0, org_response_1.OrgResponseToJSON)(value['org']),
|
|
91
|
+
'orgId': value['orgId'],
|
|
92
|
+
'site': (0, site_response_1.SiteResponseToJSON)(value['site']),
|
|
93
|
+
'siteId': value['siteId'],
|
|
94
|
+
'name': value['name'],
|
|
95
|
+
'price': value['price'],
|
|
96
|
+
'taxable': value['taxable'],
|
|
97
|
+
'active': value['active'],
|
|
98
|
+
'product': (0, product_response_1.ProductResponseToJSON)(value['product']),
|
|
99
|
+
'productId': value['productId'],
|
|
100
|
+
'asset': (0, asset_response_1.AssetResponseToJSON)(value['asset']),
|
|
101
|
+
'assetId': value['assetId'],
|
|
102
|
+
'customer': (0, customer_response_1.CustomerResponseToJSON)(value['customer']),
|
|
103
|
+
'customerId': value['customerId'],
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
exports.PlanResponseToJSONTyped = PlanResponseToJSONTyped;
|
|
@@ -0,0 +1,97 @@
|
|
|
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 { OrgResponse } from './org-response';
|
|
13
|
+
import type { PlanResponse } from './plan-response';
|
|
14
|
+
import type { SiteResponse } from './site-response';
|
|
15
|
+
import type { AssetResponse } from './asset-response';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ProductResponse
|
|
20
|
+
*/
|
|
21
|
+
export interface ProductResponse {
|
|
22
|
+
/**
|
|
23
|
+
* Product ID
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ProductResponse
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
* The product id stored in the external sytem
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ProductResponse
|
|
32
|
+
*/
|
|
33
|
+
externalId: string | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {OrgResponse}
|
|
37
|
+
* @memberof ProductResponse
|
|
38
|
+
*/
|
|
39
|
+
org?: OrgResponse;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ProductResponse
|
|
44
|
+
*/
|
|
45
|
+
orgId: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {SiteResponse}
|
|
49
|
+
* @memberof ProductResponse
|
|
50
|
+
*/
|
|
51
|
+
site?: SiteResponse;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof ProductResponse
|
|
56
|
+
*/
|
|
57
|
+
siteId: string;
|
|
58
|
+
/**
|
|
59
|
+
* The product name
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof ProductResponse
|
|
62
|
+
*/
|
|
63
|
+
name: string;
|
|
64
|
+
/**
|
|
65
|
+
* The price of the product in the lowest denomination of the currency
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof ProductResponse
|
|
68
|
+
*/
|
|
69
|
+
price: number;
|
|
70
|
+
/**
|
|
71
|
+
* Tax exempt
|
|
72
|
+
* @type {boolean}
|
|
73
|
+
* @memberof ProductResponse
|
|
74
|
+
*/
|
|
75
|
+
taxable: boolean;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {Array<AssetResponse>}
|
|
79
|
+
* @memberof ProductResponse
|
|
80
|
+
*/
|
|
81
|
+
assets?: Array<AssetResponse>;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {Array<PlanResponse>}
|
|
85
|
+
* @memberof ProductResponse
|
|
86
|
+
*/
|
|
87
|
+
plans?: Array<PlanResponse>;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Check if a given object implements the ProductResponse interface.
|
|
91
|
+
*/
|
|
92
|
+
export declare function instanceOfProductResponse(value: object): value is ProductResponse;
|
|
93
|
+
export declare function ProductResponseFromJSON(json: any): ProductResponse;
|
|
94
|
+
export declare function ProductResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductResponse;
|
|
95
|
+
export declare function ProductResponseToJSON(json: any): ProductResponse;
|
|
96
|
+
export declare function ProductResponseToJSONTyped(value?: ProductResponse | null, ignoreDiscriminator?: boolean): any;
|
|
97
|
+
//# sourceMappingURL=product-response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/product-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAOlD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAOpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAOp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pace 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.ProductResponseToJSONTyped = exports.ProductResponseToJSON = exports.ProductResponseFromJSONTyped = exports.ProductResponseFromJSON = exports.instanceOfProductResponse = void 0;
|
|
17
|
+
const org_response_1 = require("./org-response");
|
|
18
|
+
const plan_response_1 = require("./plan-response");
|
|
19
|
+
const site_response_1 = require("./site-response");
|
|
20
|
+
const asset_response_1 = require("./asset-response");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ProductResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfProductResponse(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('externalId' in value) || value['externalId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('orgId' in value) || value['orgId'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('price' in value) || value['price'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('taxable' in value) || value['taxable'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
exports.instanceOfProductResponse = instanceOfProductResponse;
|
|
42
|
+
function ProductResponseFromJSON(json) {
|
|
43
|
+
return ProductResponseFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
exports.ProductResponseFromJSON = ProductResponseFromJSON;
|
|
46
|
+
function ProductResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': json['id'],
|
|
52
|
+
'externalId': json['externalId'],
|
|
53
|
+
'org': json['org'] == null ? undefined : (0, org_response_1.OrgResponseFromJSON)(json['org']),
|
|
54
|
+
'orgId': json['orgId'],
|
|
55
|
+
'site': json['site'] == null ? undefined : (0, site_response_1.SiteResponseFromJSON)(json['site']),
|
|
56
|
+
'siteId': json['siteId'],
|
|
57
|
+
'name': json['name'],
|
|
58
|
+
'price': json['price'],
|
|
59
|
+
'taxable': json['taxable'],
|
|
60
|
+
'assets': json['assets'] == null ? undefined : (json['assets'].map(asset_response_1.AssetResponseFromJSON)),
|
|
61
|
+
'plans': json['plans'] == null ? undefined : (json['plans'].map(plan_response_1.PlanResponseFromJSON)),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
exports.ProductResponseFromJSONTyped = ProductResponseFromJSONTyped;
|
|
65
|
+
function ProductResponseToJSON(json) {
|
|
66
|
+
return ProductResponseToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
exports.ProductResponseToJSON = ProductResponseToJSON;
|
|
69
|
+
function ProductResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
'id': value['id'],
|
|
75
|
+
'externalId': value['externalId'],
|
|
76
|
+
'org': (0, org_response_1.OrgResponseToJSON)(value['org']),
|
|
77
|
+
'orgId': value['orgId'],
|
|
78
|
+
'site': (0, site_response_1.SiteResponseToJSON)(value['site']),
|
|
79
|
+
'siteId': value['siteId'],
|
|
80
|
+
'name': value['name'],
|
|
81
|
+
'price': value['price'],
|
|
82
|
+
'taxable': value['taxable'],
|
|
83
|
+
'assets': value['assets'] == null ? undefined : (value['assets'].map(asset_response_1.AssetResponseToJSON)),
|
|
84
|
+
'plans': value['plans'] == null ? undefined : (value['plans'].map(plan_response_1.PlanResponseToJSON)),
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
exports.ProductResponseToJSONTyped = ProductResponseToJSONTyped;
|
|
@@ -0,0 +1,59 @@
|
|
|
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 { AssetResponse } from './asset-response';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface StockStatusResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface StockStatusResponse {
|
|
20
|
+
/**
|
|
21
|
+
* Asset ID
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof StockStatusResponse
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
* The stock count of the asset
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof StockStatusResponse
|
|
30
|
+
*/
|
|
31
|
+
count: number;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {AssetResponse}
|
|
35
|
+
* @memberof StockStatusResponse
|
|
36
|
+
*/
|
|
37
|
+
asset?: AssetResponse;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {ProductResponse}
|
|
41
|
+
* @memberof StockStatusResponse
|
|
42
|
+
*/
|
|
43
|
+
product?: ProductResponse;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof StockStatusResponse
|
|
48
|
+
*/
|
|
49
|
+
productId: string;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the StockStatusResponse interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfStockStatusResponse(value: object): value is StockStatusResponse;
|
|
55
|
+
export declare function StockStatusResponseFromJSON(json: any): StockStatusResponse;
|
|
56
|
+
export declare function StockStatusResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): StockStatusResponse;
|
|
57
|
+
export declare function StockStatusResponseToJSON(json: any): StockStatusResponse;
|
|
58
|
+
export declare function StockStatusResponseToJSONTyped(value?: StockStatusResponse | null, ignoreDiscriminator?: boolean): any;
|
|
59
|
+
//# sourceMappingURL=stock-status-response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stock-status-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/stock-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;AAQtD;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;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;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAKzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAY7G;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,CAa5H"}
|
|
@@ -0,0 +1,65 @@
|
|
|
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.StockStatusResponseToJSONTyped = exports.StockStatusResponseToJSON = exports.StockStatusResponseFromJSONTyped = exports.StockStatusResponseFromJSON = exports.instanceOfStockStatusResponse = void 0;
|
|
17
|
+
const product_response_1 = require("./product-response");
|
|
18
|
+
const asset_response_1 = require("./asset-response");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the StockStatusResponse interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfStockStatusResponse(value) {
|
|
23
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('count' in value) || value['count'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('productId' in value) || value['productId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
exports.instanceOfStockStatusResponse = instanceOfStockStatusResponse;
|
|
32
|
+
function StockStatusResponseFromJSON(json) {
|
|
33
|
+
return StockStatusResponseFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
exports.StockStatusResponseFromJSON = StockStatusResponseFromJSON;
|
|
36
|
+
function StockStatusResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': json['id'],
|
|
42
|
+
'count': json['count'],
|
|
43
|
+
'asset': json['asset'] == null ? undefined : (0, asset_response_1.AssetResponseFromJSON)(json['asset']),
|
|
44
|
+
'product': json['product'] == null ? undefined : (0, product_response_1.ProductResponseFromJSON)(json['product']),
|
|
45
|
+
'productId': json['productId'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
exports.StockStatusResponseFromJSONTyped = StockStatusResponseFromJSONTyped;
|
|
49
|
+
function StockStatusResponseToJSON(json) {
|
|
50
|
+
return StockStatusResponseToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
exports.StockStatusResponseToJSON = StockStatusResponseToJSON;
|
|
53
|
+
function StockStatusResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'id': value['id'],
|
|
59
|
+
'count': value['count'],
|
|
60
|
+
'asset': (0, asset_response_1.AssetResponseToJSON)(value['asset']),
|
|
61
|
+
'product': (0, product_response_1.ProductResponseToJSON)(value['product']),
|
|
62
|
+
'productId': value['productId'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
exports.StockStatusResponseToJSONTyped = StockStatusResponseToJSONTyped;
|
|
@@ -0,0 +1,57 @@
|
|
|
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 UpdateExtensibilityRepo
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateExtensibilityRepo {
|
|
18
|
+
/**
|
|
19
|
+
* The GitHub personal access token
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateExtensibilityRepo
|
|
22
|
+
*/
|
|
23
|
+
authToken: string;
|
|
24
|
+
/**
|
|
25
|
+
* The name of the organization that owns the repository
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateExtensibilityRepo
|
|
28
|
+
*/
|
|
29
|
+
orgName: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* The name of the repository
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateExtensibilityRepo
|
|
34
|
+
*/
|
|
35
|
+
repoName: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* The branch of the repository
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UpdateExtensibilityRepo
|
|
40
|
+
*/
|
|
41
|
+
branchName: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* The latest commit on the branch
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof UpdateExtensibilityRepo
|
|
46
|
+
*/
|
|
47
|
+
latestCommit: string | null;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the UpdateExtensibilityRepo interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfUpdateExtensibilityRepo(value: object): value is UpdateExtensibilityRepo;
|
|
53
|
+
export declare function UpdateExtensibilityRepoFromJSON(json: any): UpdateExtensibilityRepo;
|
|
54
|
+
export declare function UpdateExtensibilityRepoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateExtensibilityRepo;
|
|
55
|
+
export declare function UpdateExtensibilityRepoToJSON(json: any): UpdateExtensibilityRepo;
|
|
56
|
+
export declare function UpdateExtensibilityRepoToJSONTyped(value?: UpdateExtensibilityRepo | null, ignoreDiscriminator?: boolean): any;
|
|
57
|
+
//# sourceMappingURL=update-extensibility-repo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-extensibility-repo.d.ts","sourceRoot":"","sources":["../../../src/generated/models/update-extensibility-repo.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AAED;;GAEG;AACH,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,uBAAuB,CAOjG;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAElF;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uBAAuB,CAYrH;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAEhF;AAED,wBAAgB,kCAAkC,CAAC,KAAK,CAAC,EAAE,uBAAuB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAapI"}
|