@managespace/sdk 0.0.93 → 0.0.94
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 +1 -0
- package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
- package/dist/generated/apis/default-api.d.ts +16 -15
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +42 -39
- package/dist/generated/models/address-response1.d.ts +82 -0
- package/dist/generated/models/address-response1.d.ts.map +1 -0
- package/dist/generated/models/address-response1.js +82 -0
- package/dist/generated/models/address-response2.d.ts +82 -0
- package/dist/generated/models/address-response2.d.ts.map +1 -0
- package/dist/generated/models/address-response2.js +82 -0
- package/dist/generated/models/asset-response1.d.ts +137 -0
- package/dist/generated/models/asset-response1.d.ts.map +1 -0
- package/dist/generated/models/asset-response1.js +109 -0
- package/dist/generated/models/configuration-setting-response1.d.ts +84 -0
- package/dist/generated/models/configuration-setting-response1.d.ts.map +1 -0
- package/dist/generated/models/configuration-setting-response1.js +82 -0
- package/dist/generated/models/create-subscription.d.ts +6 -0
- package/dist/generated/models/create-subscription.d.ts.map +1 -1
- package/dist/generated/models/create-subscription.js +2 -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 +4 -2
- package/dist/generated/models/custom-update-customer.d.ts +6 -0
- package/dist/generated/models/custom-update-customer.d.ts.map +1 -1
- package/dist/generated/models/custom-update-customer.js +2 -0
- package/dist/generated/models/customer-response.d.ts +6 -0
- package/dist/generated/models/customer-response.d.ts.map +1 -1
- package/dist/generated/models/customer-response.js +4 -0
- package/dist/generated/models/customer-response1.d.ts +103 -0
- package/dist/generated/models/customer-response1.d.ts.map +1 -0
- package/dist/generated/models/customer-response1.js +91 -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/map-feature-response1.d.ts +112 -0
- package/dist/generated/models/map-feature-response1.d.ts.map +1 -0
- package/dist/generated/models/map-feature-response1.js +102 -0
- package/dist/generated/models/map-feature-response2.d.ts +112 -0
- package/dist/generated/models/map-feature-response2.d.ts.map +1 -0
- package/dist/generated/models/map-feature-response2.js +102 -0
- package/dist/generated/models/map-feature-response3.d.ts +112 -0
- package/dist/generated/models/map-feature-response3.d.ts.map +1 -0
- package/dist/generated/models/map-feature-response3.js +102 -0
- package/dist/generated/models/org-response1.d.ts +217 -0
- package/dist/generated/models/org-response1.d.ts.map +1 -0
- package/dist/generated/models/org-response1.js +137 -0
- package/dist/generated/models/org-response2.d.ts +217 -0
- package/dist/generated/models/org-response2.d.ts.map +1 -0
- package/dist/generated/models/org-response2.js +137 -0
- package/dist/generated/models/site-response1.d.ts +173 -0
- package/dist/generated/models/site-response1.d.ts.map +1 -0
- package/dist/generated/models/site-response1.js +121 -0
- package/dist/generated/models/subscription-response.d.ts +2 -2
- package/dist/generated/models/subscription-response.d.ts.map +1 -1
- package/dist/generated/models/subscription-response.js +2 -4
- package/package.json +1 -1
|
@@ -0,0 +1,82 @@
|
|
|
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.AddressResponse1ToJSONTyped = exports.AddressResponse1ToJSON = exports.AddressResponse1FromJSONTyped = exports.AddressResponse1FromJSON = exports.instanceOfAddressResponse1 = void 0;
|
|
17
|
+
const contact_response_1 = require("./contact-response");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the AddressResponse1 interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfAddressResponse1(value) {
|
|
22
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('addressLineOne' in value) || value['addressLineOne'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('addressLineTwo' in value) || value['addressLineTwo'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('city' in value) || value['city'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('zip' in value) || value['zip'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('country' in value) || value['country'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('county' in value) || value['county'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
exports.instanceOfAddressResponse1 = instanceOfAddressResponse1;
|
|
41
|
+
function AddressResponse1FromJSON(json) {
|
|
42
|
+
return AddressResponse1FromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
exports.AddressResponse1FromJSON = AddressResponse1FromJSON;
|
|
45
|
+
function AddressResponse1FromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'id': json['id'],
|
|
51
|
+
'addressLineOne': json['addressLineOne'],
|
|
52
|
+
'addressLineTwo': json['addressLineTwo'],
|
|
53
|
+
'city': json['city'],
|
|
54
|
+
'state': json['state'],
|
|
55
|
+
'zip': json['zip'],
|
|
56
|
+
'country': json['country'],
|
|
57
|
+
'county': json['county'],
|
|
58
|
+
'contact': json['contact'] == null ? undefined : (json['contact'].map(contact_response_1.ContactResponseFromJSON)),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
exports.AddressResponse1FromJSONTyped = AddressResponse1FromJSONTyped;
|
|
62
|
+
function AddressResponse1ToJSON(json) {
|
|
63
|
+
return AddressResponse1ToJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
exports.AddressResponse1ToJSON = AddressResponse1ToJSON;
|
|
66
|
+
function AddressResponse1ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'id': value['id'],
|
|
72
|
+
'addressLineOne': value['addressLineOne'],
|
|
73
|
+
'addressLineTwo': value['addressLineTwo'],
|
|
74
|
+
'city': value['city'],
|
|
75
|
+
'state': value['state'],
|
|
76
|
+
'zip': value['zip'],
|
|
77
|
+
'country': value['country'],
|
|
78
|
+
'county': value['county'],
|
|
79
|
+
'contact': value['contact'] == null ? undefined : (value['contact'].map(contact_response_1.ContactResponseToJSON)),
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
exports.AddressResponse1ToJSONTyped = AddressResponse1ToJSONTyped;
|
|
@@ -0,0 +1,82 @@
|
|
|
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 { ContactResponse } from './contact-response';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AddressResponse2
|
|
17
|
+
*/
|
|
18
|
+
export interface AddressResponse2 {
|
|
19
|
+
/**
|
|
20
|
+
* Contact ID
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof AddressResponse2
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
* First Line of Address
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof AddressResponse2
|
|
29
|
+
*/
|
|
30
|
+
addressLineOne: string;
|
|
31
|
+
/**
|
|
32
|
+
* Second Line of Address
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof AddressResponse2
|
|
35
|
+
*/
|
|
36
|
+
addressLineTwo: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* City
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof AddressResponse2
|
|
41
|
+
*/
|
|
42
|
+
city: string;
|
|
43
|
+
/**
|
|
44
|
+
* State
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof AddressResponse2
|
|
47
|
+
*/
|
|
48
|
+
state: string;
|
|
49
|
+
/**
|
|
50
|
+
* Zip Code
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof AddressResponse2
|
|
53
|
+
*/
|
|
54
|
+
zip: string;
|
|
55
|
+
/**
|
|
56
|
+
* Country
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof AddressResponse2
|
|
59
|
+
*/
|
|
60
|
+
country: string;
|
|
61
|
+
/**
|
|
62
|
+
* County
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof AddressResponse2
|
|
65
|
+
*/
|
|
66
|
+
county: string | null;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {Array<ContactResponse>}
|
|
70
|
+
* @memberof AddressResponse2
|
|
71
|
+
*/
|
|
72
|
+
contact?: Array<ContactResponse>;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Check if a given object implements the AddressResponse2 interface.
|
|
76
|
+
*/
|
|
77
|
+
export declare function instanceOfAddressResponse2(value: object): value is AddressResponse2;
|
|
78
|
+
export declare function AddressResponse2FromJSON(json: any): AddressResponse2;
|
|
79
|
+
export declare function AddressResponse2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressResponse2;
|
|
80
|
+
export declare function AddressResponse2ToJSON(json: any): AddressResponse2;
|
|
81
|
+
export declare function AddressResponse2ToJSONTyped(value?: AddressResponse2 | null, ignoreDiscriminator?: boolean): any;
|
|
82
|
+
//# sourceMappingURL=address-response2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"address-response2.d.ts","sourceRoot":"","sources":["../../../src/generated/models/address-response2.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAQ1D;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;CACpC;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAUnF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CAgBvG;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAElE;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAiBtH"}
|
|
@@ -0,0 +1,82 @@
|
|
|
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.AddressResponse2ToJSONTyped = exports.AddressResponse2ToJSON = exports.AddressResponse2FromJSONTyped = exports.AddressResponse2FromJSON = exports.instanceOfAddressResponse2 = void 0;
|
|
17
|
+
const contact_response_1 = require("./contact-response");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the AddressResponse2 interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfAddressResponse2(value) {
|
|
22
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('addressLineOne' in value) || value['addressLineOne'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('addressLineTwo' in value) || value['addressLineTwo'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('city' in value) || value['city'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('zip' in value) || value['zip'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('country' in value) || value['country'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('county' in value) || value['county'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
exports.instanceOfAddressResponse2 = instanceOfAddressResponse2;
|
|
41
|
+
function AddressResponse2FromJSON(json) {
|
|
42
|
+
return AddressResponse2FromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
exports.AddressResponse2FromJSON = AddressResponse2FromJSON;
|
|
45
|
+
function AddressResponse2FromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'id': json['id'],
|
|
51
|
+
'addressLineOne': json['addressLineOne'],
|
|
52
|
+
'addressLineTwo': json['addressLineTwo'],
|
|
53
|
+
'city': json['city'],
|
|
54
|
+
'state': json['state'],
|
|
55
|
+
'zip': json['zip'],
|
|
56
|
+
'country': json['country'],
|
|
57
|
+
'county': json['county'],
|
|
58
|
+
'contact': json['contact'] == null ? undefined : (json['contact'].map(contact_response_1.ContactResponseFromJSON)),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
exports.AddressResponse2FromJSONTyped = AddressResponse2FromJSONTyped;
|
|
62
|
+
function AddressResponse2ToJSON(json) {
|
|
63
|
+
return AddressResponse2ToJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
exports.AddressResponse2ToJSON = AddressResponse2ToJSON;
|
|
66
|
+
function AddressResponse2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'id': value['id'],
|
|
72
|
+
'addressLineOne': value['addressLineOne'],
|
|
73
|
+
'addressLineTwo': value['addressLineTwo'],
|
|
74
|
+
'city': value['city'],
|
|
75
|
+
'state': value['state'],
|
|
76
|
+
'zip': value['zip'],
|
|
77
|
+
'country': value['country'],
|
|
78
|
+
'county': value['county'],
|
|
79
|
+
'contact': value['contact'] == null ? undefined : (value['contact'].map(contact_response_1.ContactResponseToJSON)),
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
exports.AddressResponse2ToJSONTyped = AddressResponse2ToJSONTyped;
|
|
@@ -0,0 +1,137 @@
|
|
|
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 { LeaseStatus } from './lease-status';
|
|
13
|
+
import type { AssetFeatureResponse } from './asset-feature-response';
|
|
14
|
+
import type { NoteResponse } from './note-response';
|
|
15
|
+
import type { AssetCategoryResponse } from './asset-category-response';
|
|
16
|
+
import type { SiteResponse } from './site-response';
|
|
17
|
+
import type { AssetClassResponse } from './asset-class-response';
|
|
18
|
+
import type { MapFeatureResponse3 } from './map-feature-response3';
|
|
19
|
+
import type { OrgResponse2 } from './org-response2';
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface AssetResponse1
|
|
24
|
+
*/
|
|
25
|
+
export interface AssetResponse1 {
|
|
26
|
+
/**
|
|
27
|
+
* Asset ID
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof AssetResponse1
|
|
30
|
+
*/
|
|
31
|
+
id: string;
|
|
32
|
+
/**
|
|
33
|
+
* The name of the asset.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof AssetResponse1
|
|
36
|
+
*/
|
|
37
|
+
name: string;
|
|
38
|
+
/**
|
|
39
|
+
* The description of asset.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof AssetResponse1
|
|
42
|
+
*/
|
|
43
|
+
description: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {OrgResponse2}
|
|
47
|
+
* @memberof AssetResponse1
|
|
48
|
+
*/
|
|
49
|
+
org?: OrgResponse2;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof AssetResponse1
|
|
54
|
+
*/
|
|
55
|
+
orgId: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {SiteResponse}
|
|
59
|
+
* @memberof AssetResponse1
|
|
60
|
+
*/
|
|
61
|
+
site?: SiteResponse;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof AssetResponse1
|
|
66
|
+
*/
|
|
67
|
+
siteId: string;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {MapFeatureResponse3}
|
|
71
|
+
* @memberof AssetResponse1
|
|
72
|
+
*/
|
|
73
|
+
mapFeature?: MapFeatureResponse3 | null;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {LeaseStatus}
|
|
77
|
+
* @memberof AssetResponse1
|
|
78
|
+
*/
|
|
79
|
+
leaseStatus: LeaseStatus;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {AssetCategoryResponse}
|
|
83
|
+
* @memberof AssetResponse1
|
|
84
|
+
*/
|
|
85
|
+
assetCategory?: AssetCategoryResponse | null;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof AssetResponse1
|
|
90
|
+
*/
|
|
91
|
+
assetCategoryId: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* The ID of the related product in the plugin.
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof AssetResponse1
|
|
96
|
+
*/
|
|
97
|
+
externalProductId: string | null;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {AssetClassResponse}
|
|
101
|
+
* @memberof AssetResponse1
|
|
102
|
+
*/
|
|
103
|
+
assetClass?: AssetClassResponse;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {number}
|
|
107
|
+
* @memberof AssetResponse1
|
|
108
|
+
*/
|
|
109
|
+
assetClassId: number;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {Array<AssetFeatureResponse>}
|
|
113
|
+
* @memberof AssetResponse1
|
|
114
|
+
*/
|
|
115
|
+
assetFeatures?: Array<AssetFeatureResponse>;
|
|
116
|
+
/**
|
|
117
|
+
* Metadata for the asset
|
|
118
|
+
* @type {object}
|
|
119
|
+
* @memberof AssetResponse1
|
|
120
|
+
*/
|
|
121
|
+
metadata: object | null;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @type {Array<NoteResponse>}
|
|
125
|
+
* @memberof AssetResponse1
|
|
126
|
+
*/
|
|
127
|
+
note?: Array<NoteResponse>;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Check if a given object implements the AssetResponse1 interface.
|
|
131
|
+
*/
|
|
132
|
+
export declare function instanceOfAssetResponse1(value: object): value is AssetResponse1;
|
|
133
|
+
export declare function AssetResponse1FromJSON(json: any): AssetResponse1;
|
|
134
|
+
export declare function AssetResponse1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AssetResponse1;
|
|
135
|
+
export declare function AssetResponse1ToJSON(json: any): AssetResponse1;
|
|
136
|
+
export declare function AssetResponse1ToJSONTyped(value?: AssetResponse1 | null, ignoreDiscriminator?: boolean): any;
|
|
137
|
+
//# sourceMappingURL=asset-response1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"asset-response1.d.ts","sourceRoot":"","sources":["../../../src/generated/models/asset-response1.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAOlD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAOrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAOpD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAOvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAOpD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAOjE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAOnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAQpD;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,GAAG,CAAC,EAAE,YAAY,CAAC;IACnB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;IACxC;;;;OAIG;IACH,WAAW,EAAE,WAAW,CAAC;IACzB;;;;OAIG;IACH,aAAa,CAAC,EAAE,qBAAqB,GAAG,IAAI,CAAC;IAC7C;;;;OAIG;IACH,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC;IAC5C;;;;OAIG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;CAC9B;AAID;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAY/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAwBnG;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,CAyBlH"}
|
|
@@ -0,0 +1,109 @@
|
|
|
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.AssetResponse1ToJSONTyped = exports.AssetResponse1ToJSON = exports.AssetResponse1FromJSONTyped = exports.AssetResponse1FromJSON = exports.instanceOfAssetResponse1 = void 0;
|
|
17
|
+
const lease_status_1 = require("./lease-status");
|
|
18
|
+
const asset_feature_response_1 = require("./asset-feature-response");
|
|
19
|
+
const note_response_1 = require("./note-response");
|
|
20
|
+
const asset_category_response_1 = require("./asset-category-response");
|
|
21
|
+
const site_response_1 = require("./site-response");
|
|
22
|
+
const asset_class_response_1 = require("./asset-class-response");
|
|
23
|
+
const map_feature_response3_1 = require("./map-feature-response3");
|
|
24
|
+
const org_response2_1 = require("./org-response2");
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the AssetResponse1 interface.
|
|
27
|
+
*/
|
|
28
|
+
function instanceOfAssetResponse1(value) {
|
|
29
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('orgId' in value) || value['orgId'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('leaseStatus' in value) || value['leaseStatus'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('assetCategoryId' in value) || value['assetCategoryId'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('externalProductId' in value) || value['externalProductId'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('assetClassId' in value) || value['assetClassId'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('metadata' in value) || value['metadata'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
exports.instanceOfAssetResponse1 = instanceOfAssetResponse1;
|
|
52
|
+
function AssetResponse1FromJSON(json) {
|
|
53
|
+
return AssetResponse1FromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
exports.AssetResponse1FromJSON = AssetResponse1FromJSON;
|
|
56
|
+
function AssetResponse1FromJSONTyped(json, ignoreDiscriminator) {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'id': json['id'],
|
|
62
|
+
'name': json['name'],
|
|
63
|
+
'description': json['description'],
|
|
64
|
+
'org': json['org'] == null ? undefined : (0, org_response2_1.OrgResponse2FromJSON)(json['org']),
|
|
65
|
+
'orgId': json['orgId'],
|
|
66
|
+
'site': json['site'] == null ? undefined : (0, site_response_1.SiteResponseFromJSON)(json['site']),
|
|
67
|
+
'siteId': json['siteId'],
|
|
68
|
+
'mapFeature': json['mapFeature'] == null ? undefined : (0, map_feature_response3_1.MapFeatureResponse3FromJSON)(json['mapFeature']),
|
|
69
|
+
'leaseStatus': (0, lease_status_1.LeaseStatusFromJSON)(json['leaseStatus']),
|
|
70
|
+
'assetCategory': json['assetCategory'] == null ? undefined : (0, asset_category_response_1.AssetCategoryResponseFromJSON)(json['assetCategory']),
|
|
71
|
+
'assetCategoryId': json['assetCategoryId'],
|
|
72
|
+
'externalProductId': json['externalProductId'],
|
|
73
|
+
'assetClass': json['assetClass'] == null ? undefined : (0, asset_class_response_1.AssetClassResponseFromJSON)(json['assetClass']),
|
|
74
|
+
'assetClassId': json['assetClassId'],
|
|
75
|
+
'assetFeatures': json['assetFeatures'] == null ? undefined : (json['assetFeatures'].map(asset_feature_response_1.AssetFeatureResponseFromJSON)),
|
|
76
|
+
'metadata': json['metadata'],
|
|
77
|
+
'note': json['note'] == null ? undefined : (json['note'].map(note_response_1.NoteResponseFromJSON)),
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
exports.AssetResponse1FromJSONTyped = AssetResponse1FromJSONTyped;
|
|
81
|
+
function AssetResponse1ToJSON(json) {
|
|
82
|
+
return AssetResponse1ToJSONTyped(json, false);
|
|
83
|
+
}
|
|
84
|
+
exports.AssetResponse1ToJSON = AssetResponse1ToJSON;
|
|
85
|
+
function AssetResponse1ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
86
|
+
if (value == null) {
|
|
87
|
+
return value;
|
|
88
|
+
}
|
|
89
|
+
return {
|
|
90
|
+
'id': value['id'],
|
|
91
|
+
'name': value['name'],
|
|
92
|
+
'description': value['description'],
|
|
93
|
+
'org': (0, org_response2_1.OrgResponse2ToJSON)(value['org']),
|
|
94
|
+
'orgId': value['orgId'],
|
|
95
|
+
'site': (0, site_response_1.SiteResponseToJSON)(value['site']),
|
|
96
|
+
'siteId': value['siteId'],
|
|
97
|
+
'mapFeature': (0, map_feature_response3_1.MapFeatureResponse3ToJSON)(value['mapFeature']),
|
|
98
|
+
'leaseStatus': (0, lease_status_1.LeaseStatusToJSON)(value['leaseStatus']),
|
|
99
|
+
'assetCategory': (0, asset_category_response_1.AssetCategoryResponseToJSON)(value['assetCategory']),
|
|
100
|
+
'assetCategoryId': value['assetCategoryId'],
|
|
101
|
+
'externalProductId': value['externalProductId'],
|
|
102
|
+
'assetClass': (0, asset_class_response_1.AssetClassResponseToJSON)(value['assetClass']),
|
|
103
|
+
'assetClassId': value['assetClassId'],
|
|
104
|
+
'assetFeatures': value['assetFeatures'] == null ? undefined : (value['assetFeatures'].map(asset_feature_response_1.AssetFeatureResponseToJSON)),
|
|
105
|
+
'metadata': value['metadata'],
|
|
106
|
+
'note': value['note'] == null ? undefined : (value['note'].map(note_response_1.NoteResponseToJSON)),
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
exports.AssetResponse1ToJSONTyped = AssetResponse1ToJSONTyped;
|
|
@@ -0,0 +1,84 @@
|
|
|
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 { ConfigurationSettingType } from './configuration-setting-type';
|
|
13
|
+
import type { OrgResponse } from './org-response';
|
|
14
|
+
import type { SiteResponse1 } from './site-response1';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface ConfigurationSettingResponse1
|
|
19
|
+
*/
|
|
20
|
+
export interface ConfigurationSettingResponse1 {
|
|
21
|
+
/**
|
|
22
|
+
* Note ID
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof ConfigurationSettingResponse1
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {OrgResponse}
|
|
30
|
+
* @memberof ConfigurationSettingResponse1
|
|
31
|
+
*/
|
|
32
|
+
org?: OrgResponse;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof ConfigurationSettingResponse1
|
|
37
|
+
*/
|
|
38
|
+
orgId: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {SiteResponse1}
|
|
42
|
+
* @memberof ConfigurationSettingResponse1
|
|
43
|
+
*/
|
|
44
|
+
site?: SiteResponse1 | null;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof ConfigurationSettingResponse1
|
|
49
|
+
*/
|
|
50
|
+
siteId: string | null;
|
|
51
|
+
/**
|
|
52
|
+
* Name of setting
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof ConfigurationSettingResponse1
|
|
55
|
+
*/
|
|
56
|
+
name: string;
|
|
57
|
+
/**
|
|
58
|
+
* Description of setting
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof ConfigurationSettingResponse1
|
|
61
|
+
*/
|
|
62
|
+
description: string;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {ConfigurationSettingType}
|
|
66
|
+
* @memberof ConfigurationSettingResponse1
|
|
67
|
+
*/
|
|
68
|
+
type: ConfigurationSettingType;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof ConfigurationSettingResponse1
|
|
73
|
+
*/
|
|
74
|
+
value: string;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Check if a given object implements the ConfigurationSettingResponse1 interface.
|
|
78
|
+
*/
|
|
79
|
+
export declare function instanceOfConfigurationSettingResponse1(value: object): value is ConfigurationSettingResponse1;
|
|
80
|
+
export declare function ConfigurationSettingResponse1FromJSON(json: any): ConfigurationSettingResponse1;
|
|
81
|
+
export declare function ConfigurationSettingResponse1FromJSONTyped(json: any, ignoreDiscriminator: boolean): ConfigurationSettingResponse1;
|
|
82
|
+
export declare function ConfigurationSettingResponse1ToJSON(json: any): ConfigurationSettingResponse1;
|
|
83
|
+
export declare function ConfigurationSettingResponse1ToJSONTyped(value?: ConfigurationSettingResponse1 | null, ignoreDiscriminator?: boolean): any;
|
|
84
|
+
//# sourceMappingURL=configuration-setting-response1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configuration-setting-response1.d.ts","sourceRoot":"","sources":["../../../src/generated/models/configuration-setting-response1.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAO7E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAOlD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAQtD;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,GAAG,CAAC,EAAE,WAAW,CAAC;IAClB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,IAAI,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,IAAI,EAAE,wBAAwB,CAAC;IAC/B;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;CACjB;AAID;;GAEG;AACH,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,6BAA6B,CAS7G;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE9F;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAgBjI;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE5F;AAED,wBAAgB,wCAAwC,CAAC,KAAK,CAAC,EAAE,6BAA6B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAiBhJ"}
|
|
@@ -0,0 +1,82 @@
|
|
|
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.ConfigurationSettingResponse1ToJSONTyped = exports.ConfigurationSettingResponse1ToJSON = exports.ConfigurationSettingResponse1FromJSONTyped = exports.ConfigurationSettingResponse1FromJSON = exports.instanceOfConfigurationSettingResponse1 = void 0;
|
|
17
|
+
const configuration_setting_type_1 = require("./configuration-setting-type");
|
|
18
|
+
const org_response_1 = require("./org-response");
|
|
19
|
+
const site_response1_1 = require("./site-response1");
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the ConfigurationSettingResponse1 interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfConfigurationSettingResponse1(value) {
|
|
24
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('orgId' in value) || value['orgId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
exports.instanceOfConfigurationSettingResponse1 = instanceOfConfigurationSettingResponse1;
|
|
41
|
+
function ConfigurationSettingResponse1FromJSON(json) {
|
|
42
|
+
return ConfigurationSettingResponse1FromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
exports.ConfigurationSettingResponse1FromJSON = ConfigurationSettingResponse1FromJSON;
|
|
45
|
+
function ConfigurationSettingResponse1FromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'id': json['id'],
|
|
51
|
+
'org': json['org'] == null ? undefined : (0, org_response_1.OrgResponseFromJSON)(json['org']),
|
|
52
|
+
'orgId': json['orgId'],
|
|
53
|
+
'site': json['site'] == null ? undefined : (0, site_response1_1.SiteResponse1FromJSON)(json['site']),
|
|
54
|
+
'siteId': json['siteId'],
|
|
55
|
+
'name': json['name'],
|
|
56
|
+
'description': json['description'],
|
|
57
|
+
'type': (0, configuration_setting_type_1.ConfigurationSettingTypeFromJSON)(json['type']),
|
|
58
|
+
'value': json['value'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
exports.ConfigurationSettingResponse1FromJSONTyped = ConfigurationSettingResponse1FromJSONTyped;
|
|
62
|
+
function ConfigurationSettingResponse1ToJSON(json) {
|
|
63
|
+
return ConfigurationSettingResponse1ToJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
exports.ConfigurationSettingResponse1ToJSON = ConfigurationSettingResponse1ToJSON;
|
|
66
|
+
function ConfigurationSettingResponse1ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'id': value['id'],
|
|
72
|
+
'org': (0, org_response_1.OrgResponseToJSON)(value['org']),
|
|
73
|
+
'orgId': value['orgId'],
|
|
74
|
+
'site': (0, site_response1_1.SiteResponse1ToJSON)(value['site']),
|
|
75
|
+
'siteId': value['siteId'],
|
|
76
|
+
'name': value['name'],
|
|
77
|
+
'description': value['description'],
|
|
78
|
+
'type': (0, configuration_setting_type_1.ConfigurationSettingTypeToJSON)(value['type']),
|
|
79
|
+
'value': value['value'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
exports.ConfigurationSettingResponse1ToJSONTyped = ConfigurationSettingResponse1ToJSONTyped;
|