@managespace/sdk 0.0.39 → 0.0.41
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 -12
- package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
- package/dist/generated/apis/default-api.d.ts +43 -8
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +131 -16
- package/dist/generated/models/chart-of-accounts-response.d.ts +27 -4
- package/dist/generated/models/chart-of-accounts-response.d.ts.map +1 -1
- package/dist/generated/models/chart-of-accounts-response.js +19 -4
- package/dist/generated/models/configuration-setting-response.d.ts +84 -0
- package/dist/generated/models/configuration-setting-response.d.ts.map +1 -0
- package/dist/generated/models/configuration-setting-response.js +82 -0
- package/dist/generated/models/configuration-setting-type.d.ts +28 -0
- package/dist/generated/models/configuration-setting-type.d.ts.map +1 -0
- package/dist/generated/models/configuration-setting-type.js +53 -0
- package/dist/generated/models/create-billing-run.d.ts +1 -1
- package/dist/generated/models/create-billing-run.d.ts.map +1 -1
- package/dist/generated/models/create-billing-run.js +1 -3
- package/dist/generated/models/create-chart-of-accounts.d.ts +57 -0
- package/dist/generated/models/create-chart-of-accounts.d.ts.map +1 -0
- package/dist/generated/models/create-chart-of-accounts.js +65 -0
- package/dist/generated/models/create-configuration-setting.d.ts +52 -0
- package/dist/generated/models/create-configuration-setting.d.ts.map +1 -0
- package/dist/generated/models/create-configuration-setting.js +64 -0
- package/dist/generated/models/create-contact.d.ts +87 -0
- package/dist/generated/models/create-contact.d.ts.map +1 -0
- package/dist/generated/models/create-contact.js +81 -0
- package/dist/generated/models/create-payment.d.ts +155 -0
- package/dist/generated/models/create-payment.d.ts.map +1 -0
- package/dist/generated/models/create-payment.js +123 -0
- package/dist/generated/models/create-plan-billing.d.ts +58 -0
- package/dist/generated/models/create-plan-billing.d.ts.map +1 -0
- package/dist/generated/models/create-plan-billing.js +68 -0
- package/dist/generated/models/create-product-billing.d.ts +82 -0
- package/dist/generated/models/create-product-billing.d.ts.map +1 -0
- package/dist/generated/models/create-product-billing.js +84 -0
- package/dist/generated/models/create-subscription.d.ts +2 -15
- package/dist/generated/models/create-subscription.d.ts.map +1 -1
- package/dist/generated/models/create-subscription.js +3 -12
- package/dist/generated/models/custom-add-customer-contact.d.ts +34 -0
- package/dist/generated/models/custom-add-customer-contact.d.ts.map +1 -0
- package/dist/generated/models/custom-add-customer-contact.js +52 -0
- package/dist/generated/models/custom-create-contact-with-customer.d.ts +82 -0
- package/dist/generated/models/custom-create-contact-with-customer.d.ts.map +1 -0
- package/dist/generated/models/custom-create-contact-with-customer.js +78 -0
- package/dist/generated/models/customer-delivery-preferences.d.ts +39 -0
- package/dist/generated/models/customer-delivery-preferences.d.ts.map +1 -0
- package/dist/generated/models/customer-delivery-preferences.js +55 -0
- package/dist/generated/models/customer-id.d.ts +33 -0
- package/dist/generated/models/customer-id.d.ts.map +1 -0
- package/dist/generated/models/customer-id.js +51 -0
- package/dist/generated/models/customer-payment-options.d.ts +39 -0
- package/dist/generated/models/customer-payment-options.d.ts.map +1 -0
- package/dist/generated/models/customer-payment-options.js +55 -0
- package/dist/generated/models/get-chart-of-accounts200-response.d.ts +3 -3
- package/dist/generated/models/get-chart-of-accounts200-response.d.ts.map +1 -1
- package/dist/generated/models/get-chart-of-accounts200-response.js +3 -3
- package/dist/generated/models/get-configuration-settings200-response.d.ts +41 -0
- package/dist/generated/models/get-configuration-settings200-response.d.ts.map +1 -0
- package/dist/generated/models/get-configuration-settings200-response.js +55 -0
- package/dist/generated/models/get-customer-response.d.ts +276 -0
- package/dist/generated/models/get-customer-response.d.ts.map +1 -0
- package/dist/generated/models/get-customer-response.js +214 -0
- package/dist/generated/models/get-customers-billing200-response.d.ts +41 -0
- package/dist/generated/models/get-customers-billing200-response.d.ts.map +1 -0
- package/dist/generated/models/get-customers-billing200-response.js +55 -0
- package/dist/generated/models/index.d.ts +6 -5
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +6 -5
- package/dist/generated/models/org-response.d.ts +4 -4
- package/dist/generated/models/org-response.d.ts.map +1 -1
- package/dist/generated/models/org-response.js +5 -5
- package/dist/generated/models/product-billing-response.d.ts +142 -0
- package/dist/generated/models/product-billing-response.d.ts.map +1 -0
- package/dist/generated/models/product-billing-response.js +124 -0
- package/dist/generated/models/product-transaction-posting-entries.d.ts +45 -0
- package/dist/generated/models/product-transaction-posting-entries.d.ts.map +1 -0
- package/dist/generated/models/product-transaction-posting-entries.js +59 -0
- package/dist/generated/models/site-response.d.ts +4 -4
- package/dist/generated/models/site-response.d.ts.map +1 -1
- package/dist/generated/models/site-response.js +5 -5
- package/dist/generated/models/update-configuration-setting.d.ts +52 -0
- package/dist/generated/models/update-configuration-setting.d.ts.map +1 -0
- package/dist/generated/models/update-configuration-setting.js +56 -0
- package/dist/generated/models/update-customer.d.ts +57 -0
- package/dist/generated/models/update-customer.d.ts.map +1 -0
- package/dist/generated/models/update-customer.js +57 -0
- package/dist/generated/models/update-product.d.ts +52 -0
- package/dist/generated/models/update-product.d.ts.map +1 -0
- package/dist/generated/models/update-product.js +60 -0
- package/package.json +3 -3
- package/src/extensibility/functions/project/billing.ts +9 -13
- package/src/generated/.openapi-generator/FILES +6 -5
- package/src/generated/apis/default-api.ts +225 -29
- package/src/generated/models/chart-of-accounts-response.ts +42 -14
- package/src/generated/models/configuration-setting-response.ts +160 -0
- package/src/generated/models/configuration-setting-type.ts +55 -0
- package/src/generated/models/create-billing-run.ts +2 -3
- package/src/generated/models/create-chart-of-accounts.ts +101 -0
- package/src/generated/models/create-configuration-setting.ts +103 -0
- package/src/generated/models/create-subscription.ts +5 -31
- package/src/generated/models/get-chart-of-accounts200-response.ts +10 -10
- package/src/generated/models/get-configuration-settings200-response.ts +89 -0
- package/src/generated/models/index.ts +6 -5
- package/src/generated/models/org-response.ts +13 -13
- package/src/generated/models/site-response.ts +13 -13
- package/src/generated/models/update-configuration-setting.ts +99 -0
|
@@ -27,13 +27,13 @@ __exportStar(require("./billing-run-filter-option-response"), exports);
|
|
|
27
27
|
__exportStar(require("./billing-run-response"), exports);
|
|
28
28
|
__exportStar(require("./calendar-response"), exports);
|
|
29
29
|
__exportStar(require("./charge-response"), exports);
|
|
30
|
-
__exportStar(require("./chart-of-account-response"), exports);
|
|
31
30
|
__exportStar(require("./chart-of-accounts-response"), exports);
|
|
32
31
|
__exportStar(require("./checklist-recurrence-frequency"), exports);
|
|
33
32
|
__exportStar(require("./checklist-response"), exports);
|
|
34
33
|
__exportStar(require("./communication-response"), exports);
|
|
35
34
|
__exportStar(require("./communication-type"), exports);
|
|
36
|
-
__exportStar(require("./configuration-response"), exports);
|
|
35
|
+
__exportStar(require("./configuration-setting-response"), exports);
|
|
36
|
+
__exportStar(require("./configuration-setting-type"), exports);
|
|
37
37
|
__exportStar(require("./contact-response"), exports);
|
|
38
38
|
__exportStar(require("./create-address"), exports);
|
|
39
39
|
__exportStar(require("./create-asset-asset-category-relation-input"), exports);
|
|
@@ -43,8 +43,10 @@ __exportStar(require("./create-asset-feature-custom"), exports);
|
|
|
43
43
|
__exportStar(require("./create-assets"), exports);
|
|
44
44
|
__exportStar(require("./create-billing-run"), exports);
|
|
45
45
|
__exportStar(require("./create-calendar"), exports);
|
|
46
|
+
__exportStar(require("./create-chart-of-accounts"), exports);
|
|
46
47
|
__exportStar(require("./create-checklist"), exports);
|
|
47
48
|
__exportStar(require("./create-communication"), exports);
|
|
49
|
+
__exportStar(require("./create-configuration-setting"), exports);
|
|
48
50
|
__exportStar(require("./create-document"), exports);
|
|
49
51
|
__exportStar(require("./create-instances"), exports);
|
|
50
52
|
__exportStar(require("./create-map-feature"), exports);
|
|
@@ -61,12 +63,9 @@ __exportStar(require("./create-product-custom"), exports);
|
|
|
61
63
|
__exportStar(require("./create-site-custom"), exports);
|
|
62
64
|
__exportStar(require("./create-smart-bar-prompt"), exports);
|
|
63
65
|
__exportStar(require("./create-subscription"), exports);
|
|
64
|
-
__exportStar(require("./create-subscription-plan"), exports);
|
|
65
66
|
__exportStar(require("./create-task"), exports);
|
|
66
67
|
__exportStar(require("./create-task-template"), exports);
|
|
67
68
|
__exportStar(require("./create-template"), exports);
|
|
68
|
-
__exportStar(require("./custom-chart-of-account"), exports);
|
|
69
|
-
__exportStar(require("./custom-chart-of-accounts"), exports);
|
|
70
69
|
__exportStar(require("./custom-create-contact"), exports);
|
|
71
70
|
__exportStar(require("./custom-create-customer"), exports);
|
|
72
71
|
__exportStar(require("./custom-create-plan"), exports);
|
|
@@ -93,6 +92,7 @@ __exportStar(require("./get-calendars200-response"), exports);
|
|
|
93
92
|
__exportStar(require("./get-charges200-response"), exports);
|
|
94
93
|
__exportStar(require("./get-chart-of-accounts200-response"), exports);
|
|
95
94
|
__exportStar(require("./get-communications200-response"), exports);
|
|
95
|
+
__exportStar(require("./get-configuration-settings200-response"), exports);
|
|
96
96
|
__exportStar(require("./get-contacts200-response"), exports);
|
|
97
97
|
__exportStar(require("./get-customers200-response"), exports);
|
|
98
98
|
__exportStar(require("./get-intent"), exports);
|
|
@@ -173,6 +173,7 @@ __exportStar(require("./update-asset"), exports);
|
|
|
173
173
|
__exportStar(require("./update-asset-category"), exports);
|
|
174
174
|
__exportStar(require("./update-asset-feature"), exports);
|
|
175
175
|
__exportStar(require("./update-checklist-task-template"), exports);
|
|
176
|
+
__exportStar(require("./update-configuration-setting"), exports);
|
|
176
177
|
__exportStar(require("./update-extensibility-repo"), exports);
|
|
177
178
|
__exportStar(require("./update-map-feature"), exports);
|
|
178
179
|
__exportStar(require("./update-note"), exports);
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { WorkflowDefinitionResponse } from './workflow-definition-response';
|
|
13
13
|
import type { CalendarResponse } from './calendar-response';
|
|
14
|
-
import type {
|
|
14
|
+
import type { ConfigurationSettingResponse } from './configuration-setting-response';
|
|
15
15
|
import type { CommunicationResponse } from './communication-response';
|
|
16
16
|
import type { ContactResponse } from './contact-response';
|
|
17
17
|
import type { ChecklistResponse } from './checklist-response';
|
|
@@ -179,10 +179,10 @@ export interface OrgResponse {
|
|
|
179
179
|
note?: Array<NoteResponse>;
|
|
180
180
|
/**
|
|
181
181
|
*
|
|
182
|
-
* @type {Array<
|
|
182
|
+
* @type {Array<ConfigurationSettingResponse>}
|
|
183
183
|
* @memberof OrgResponse
|
|
184
184
|
*/
|
|
185
|
-
|
|
185
|
+
configurationSettings?: Array<ConfigurationSettingResponse>;
|
|
186
186
|
/**
|
|
187
187
|
*
|
|
188
188
|
* @type {Array<CustomerResponse>}
|
|
@@ -218,7 +218,7 @@ export interface OrgResponse {
|
|
|
218
218
|
* @type {Array<PlanResponse>}
|
|
219
219
|
* @memberof OrgResponse
|
|
220
220
|
*/
|
|
221
|
-
|
|
221
|
+
plans?: Array<PlanResponse>;
|
|
222
222
|
}
|
|
223
223
|
/**
|
|
224
224
|
* Check if a given object implements the OrgResponse interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"org-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/org-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAOjF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAO5D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"org-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/org-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAOjF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAO5D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AAOrF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAOtE,OAAO,KAAK,EAAE,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.OrgResponseToJSONTyped = exports.OrgResponseToJSON = exports.OrgResponseFromJSONTyped = exports.OrgResponseFromJSON = exports.instanceOfOrgResponse = void 0;
|
|
17
17
|
const workflow_definition_response_1 = require("./workflow-definition-response");
|
|
18
18
|
const calendar_response_1 = require("./calendar-response");
|
|
19
|
-
const
|
|
19
|
+
const configuration_setting_response_1 = require("./configuration-setting-response");
|
|
20
20
|
const communication_response_1 = require("./communication-response");
|
|
21
21
|
const contact_response_1 = require("./contact-response");
|
|
22
22
|
const checklist_response_1 = require("./checklist-response");
|
|
@@ -89,13 +89,13 @@ function OrgResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
89
89
|
'checklists': json['checklists'] == null ? undefined : (json['checklists'].map(checklist_response_1.ChecklistResponseFromJSON)),
|
|
90
90
|
'taskTemplates': json['taskTemplates'] == null ? undefined : (json['taskTemplates'].map(task_template_response_1.TaskTemplateResponseFromJSON)),
|
|
91
91
|
'note': json['Note'] == null ? undefined : (json['Note'].map(note_response_1.NoteResponseFromJSON)),
|
|
92
|
-
'
|
|
92
|
+
'configurationSettings': json['configurationSettings'] == null ? undefined : (json['configurationSettings'].map(configuration_setting_response_1.ConfigurationSettingResponseFromJSON)),
|
|
93
93
|
'customers': json['customers'] == null ? undefined : (json['customers'].map(customer_response_1.CustomerResponseFromJSON)),
|
|
94
94
|
'contacts': json['contacts'] == null ? undefined : (json['contacts'].map(contact_response_1.ContactResponseFromJSON)),
|
|
95
95
|
'projectVersions': json['projectVersions'] == null ? undefined : (json['projectVersions'].map(project_version_response_1.ProjectVersionResponseFromJSON)),
|
|
96
96
|
'communications': json['communications'] == null ? undefined : (json['communications'].map(communication_response_1.CommunicationResponseFromJSON)),
|
|
97
97
|
'products': json['products'] == null ? undefined : (json['products'].map(product_response_1.ProductResponseFromJSON)),
|
|
98
|
-
'
|
|
98
|
+
'plans': json['plans'] == null ? undefined : (json['plans'].map(plan_response_1.PlanResponseFromJSON)),
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
101
|
exports.OrgResponseFromJSONTyped = OrgResponseFromJSONTyped;
|
|
@@ -131,13 +131,13 @@ function OrgResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
131
131
|
'checklists': value['checklists'] == null ? undefined : (value['checklists'].map(checklist_response_1.ChecklistResponseToJSON)),
|
|
132
132
|
'taskTemplates': value['taskTemplates'] == null ? undefined : (value['taskTemplates'].map(task_template_response_1.TaskTemplateResponseToJSON)),
|
|
133
133
|
'Note': value['note'] == null ? undefined : (value['note'].map(note_response_1.NoteResponseToJSON)),
|
|
134
|
-
'
|
|
134
|
+
'configurationSettings': value['configurationSettings'] == null ? undefined : (value['configurationSettings'].map(configuration_setting_response_1.ConfigurationSettingResponseToJSON)),
|
|
135
135
|
'customers': value['customers'] == null ? undefined : (value['customers'].map(customer_response_1.CustomerResponseToJSON)),
|
|
136
136
|
'contacts': value['contacts'] == null ? undefined : (value['contacts'].map(contact_response_1.ContactResponseToJSON)),
|
|
137
137
|
'projectVersions': value['projectVersions'] == null ? undefined : (value['projectVersions'].map(project_version_response_1.ProjectVersionResponseToJSON)),
|
|
138
138
|
'communications': value['communications'] == null ? undefined : (value['communications'].map(communication_response_1.CommunicationResponseToJSON)),
|
|
139
139
|
'products': value['products'] == null ? undefined : (value['products'].map(product_response_1.ProductResponseToJSON)),
|
|
140
|
-
'
|
|
140
|
+
'plans': value['plans'] == null ? undefined : (value['plans'].map(plan_response_1.PlanResponseToJSON)),
|
|
141
141
|
};
|
|
142
142
|
}
|
|
143
143
|
exports.OrgResponseToJSONTyped = OrgResponseToJSONTyped;
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ManageSpace V2 Auth API
|
|
3
|
+
* ManageSpace Auth API Documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ProductTransactionPostingEntries } from './product-transaction-posting-entries';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ProductBillingResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ProductBillingResponse {
|
|
19
|
+
/**
|
|
20
|
+
* Product ID
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ProductBillingResponse
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
* Name of product
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ProductBillingResponse
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
* Stock keeping unit
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ProductBillingResponse
|
|
35
|
+
*/
|
|
36
|
+
sku: string;
|
|
37
|
+
/**
|
|
38
|
+
* Product status
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ProductBillingResponse
|
|
41
|
+
*/
|
|
42
|
+
status: string;
|
|
43
|
+
/**
|
|
44
|
+
* Describes whether product is taxable or not
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof ProductBillingResponse
|
|
47
|
+
*/
|
|
48
|
+
taxable: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Description of product
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof ProductBillingResponse
|
|
53
|
+
*/
|
|
54
|
+
description: string;
|
|
55
|
+
/**
|
|
56
|
+
* Product price
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof ProductBillingResponse
|
|
59
|
+
*/
|
|
60
|
+
price: string;
|
|
61
|
+
/**
|
|
62
|
+
* ID of revenue
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof ProductBillingResponse
|
|
65
|
+
*/
|
|
66
|
+
revenueRuleId: string;
|
|
67
|
+
/**
|
|
68
|
+
* Date revenue will begin to be recognized
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof ProductBillingResponse
|
|
71
|
+
*/
|
|
72
|
+
recognitionStartDate: string;
|
|
73
|
+
/**
|
|
74
|
+
* Date revenue will end to be recognized
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof ProductBillingResponse
|
|
77
|
+
*/
|
|
78
|
+
recognitionEndDate: string;
|
|
79
|
+
/**
|
|
80
|
+
* Currency
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof ProductBillingResponse
|
|
83
|
+
*/
|
|
84
|
+
currency: string;
|
|
85
|
+
/**
|
|
86
|
+
* Product ID
|
|
87
|
+
* @type {Array<ProductTransactionPostingEntries>}
|
|
88
|
+
* @memberof ProductBillingResponse
|
|
89
|
+
*/
|
|
90
|
+
transactionPostingEntries: Array<ProductTransactionPostingEntries>;
|
|
91
|
+
/**
|
|
92
|
+
* Date of creation
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof ProductBillingResponse
|
|
95
|
+
*/
|
|
96
|
+
createdAt: string;
|
|
97
|
+
/**
|
|
98
|
+
* Date of last modification
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof ProductBillingResponse
|
|
101
|
+
*/
|
|
102
|
+
updatedAt: string;
|
|
103
|
+
/**
|
|
104
|
+
* Email of user who created this record
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof ProductBillingResponse
|
|
107
|
+
*/
|
|
108
|
+
createdBy: string;
|
|
109
|
+
/**
|
|
110
|
+
* Email of user who last modified this record
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof ProductBillingResponse
|
|
113
|
+
*/
|
|
114
|
+
updatedBy: string;
|
|
115
|
+
/**
|
|
116
|
+
* Show revenue schedules
|
|
117
|
+
* @type {boolean}
|
|
118
|
+
* @memberof ProductBillingResponse
|
|
119
|
+
*/
|
|
120
|
+
showRevenueSchedules: boolean;
|
|
121
|
+
/**
|
|
122
|
+
* List of custom fields
|
|
123
|
+
* @type {object}
|
|
124
|
+
* @memberof ProductBillingResponse
|
|
125
|
+
*/
|
|
126
|
+
customFields: object;
|
|
127
|
+
/**
|
|
128
|
+
* Code of Chart of Account
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @memberof ProductBillingResponse
|
|
131
|
+
*/
|
|
132
|
+
incomeAccount: string;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Check if a given object implements the ProductBillingResponse interface.
|
|
136
|
+
*/
|
|
137
|
+
export declare function instanceOfProductBillingResponse(value: object): value is ProductBillingResponse;
|
|
138
|
+
export declare function ProductBillingResponseFromJSON(json: any): ProductBillingResponse;
|
|
139
|
+
export declare function ProductBillingResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductBillingResponse;
|
|
140
|
+
export declare function ProductBillingResponseToJSON(json: any): ProductBillingResponse;
|
|
141
|
+
export declare function ProductBillingResponseToJSONTyped(value?: ProductBillingResponse | null, ignoreDiscriminator?: boolean): any;
|
|
142
|
+
//# sourceMappingURL=product-billing-response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-billing-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/product-billing-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AAQ9F;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,yBAAyB,EAAE,KAAK,CAAC,gCAAgC,CAAC,CAAC;IACnE;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,oBAAoB,EAAE,OAAO,CAAC;IAC9B;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sBAAsB,CAqB/F;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAEhF;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CA0BnH;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAE9E;AAED,wBAAgB,iCAAiC,CAAC,KAAK,CAAC,EAAE,sBAAsB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CA2BlI"}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* ManageSpace V2 Auth API
|
|
6
|
+
* ManageSpace Auth API Documentation
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ProductBillingResponseToJSONTyped = exports.ProductBillingResponseToJSON = exports.ProductBillingResponseFromJSONTyped = exports.ProductBillingResponseFromJSON = exports.instanceOfProductBillingResponse = void 0;
|
|
17
|
+
const product_transaction_posting_entries_1 = require("./product-transaction-posting-entries");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the ProductBillingResponse interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfProductBillingResponse(value) {
|
|
22
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('sku' in value) || value['sku'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('taxable' in value) || value['taxable'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('price' in value) || value['price'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('revenueRuleId' in value) || value['revenueRuleId'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('recognitionStartDate' in value) || value['recognitionStartDate'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('recognitionEndDate' in value) || value['recognitionEndDate'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('currency' in value) || value['currency'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('transactionPostingEntries' in value) || value['transactionPostingEntries'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('createdBy' in value) || value['createdBy'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('updatedBy' in value) || value['updatedBy'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('showRevenueSchedules' in value) || value['showRevenueSchedules'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
if (!('customFields' in value) || value['customFields'] === undefined)
|
|
57
|
+
return false;
|
|
58
|
+
if (!('incomeAccount' in value) || value['incomeAccount'] === undefined)
|
|
59
|
+
return false;
|
|
60
|
+
return true;
|
|
61
|
+
}
|
|
62
|
+
exports.instanceOfProductBillingResponse = instanceOfProductBillingResponse;
|
|
63
|
+
function ProductBillingResponseFromJSON(json) {
|
|
64
|
+
return ProductBillingResponseFromJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
exports.ProductBillingResponseFromJSON = ProductBillingResponseFromJSON;
|
|
67
|
+
function ProductBillingResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
68
|
+
if (json == null) {
|
|
69
|
+
return json;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
'id': json['id'],
|
|
73
|
+
'name': json['name'],
|
|
74
|
+
'sku': json['sku'],
|
|
75
|
+
'status': json['status'],
|
|
76
|
+
'taxable': json['taxable'],
|
|
77
|
+
'description': json['description'],
|
|
78
|
+
'price': json['price'],
|
|
79
|
+
'revenueRuleId': json['revenueRuleId'],
|
|
80
|
+
'recognitionStartDate': json['recognitionStartDate'],
|
|
81
|
+
'recognitionEndDate': json['recognitionEndDate'],
|
|
82
|
+
'currency': json['currency'],
|
|
83
|
+
'transactionPostingEntries': (json['transactionPostingEntries'].map(product_transaction_posting_entries_1.ProductTransactionPostingEntriesFromJSON)),
|
|
84
|
+
'createdAt': json['createdAt'],
|
|
85
|
+
'updatedAt': json['updatedAt'],
|
|
86
|
+
'createdBy': json['createdBy'],
|
|
87
|
+
'updatedBy': json['updatedBy'],
|
|
88
|
+
'showRevenueSchedules': json['showRevenueSchedules'],
|
|
89
|
+
'customFields': json['customFields'],
|
|
90
|
+
'incomeAccount': json['incomeAccount'],
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
exports.ProductBillingResponseFromJSONTyped = ProductBillingResponseFromJSONTyped;
|
|
94
|
+
function ProductBillingResponseToJSON(json) {
|
|
95
|
+
return ProductBillingResponseToJSONTyped(json, false);
|
|
96
|
+
}
|
|
97
|
+
exports.ProductBillingResponseToJSON = ProductBillingResponseToJSON;
|
|
98
|
+
function ProductBillingResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
99
|
+
if (value == null) {
|
|
100
|
+
return value;
|
|
101
|
+
}
|
|
102
|
+
return {
|
|
103
|
+
'id': value['id'],
|
|
104
|
+
'name': value['name'],
|
|
105
|
+
'sku': value['sku'],
|
|
106
|
+
'status': value['status'],
|
|
107
|
+
'taxable': value['taxable'],
|
|
108
|
+
'description': value['description'],
|
|
109
|
+
'price': value['price'],
|
|
110
|
+
'revenueRuleId': value['revenueRuleId'],
|
|
111
|
+
'recognitionStartDate': value['recognitionStartDate'],
|
|
112
|
+
'recognitionEndDate': value['recognitionEndDate'],
|
|
113
|
+
'currency': value['currency'],
|
|
114
|
+
'transactionPostingEntries': (value['transactionPostingEntries'].map(product_transaction_posting_entries_1.ProductTransactionPostingEntriesToJSON)),
|
|
115
|
+
'createdAt': value['createdAt'],
|
|
116
|
+
'updatedAt': value['updatedAt'],
|
|
117
|
+
'createdBy': value['createdBy'],
|
|
118
|
+
'updatedBy': value['updatedBy'],
|
|
119
|
+
'showRevenueSchedules': value['showRevenueSchedules'],
|
|
120
|
+
'customFields': value['customFields'],
|
|
121
|
+
'incomeAccount': value['incomeAccount'],
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
exports.ProductBillingResponseToJSONTyped = ProductBillingResponseToJSONTyped;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ManageSpace V2 Auth API
|
|
3
|
+
* ManageSpace Auth API Documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ProductTransactionPostingEntries
|
|
16
|
+
*/
|
|
17
|
+
export interface ProductTransactionPostingEntries {
|
|
18
|
+
/**
|
|
19
|
+
* Type of transaction
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ProductTransactionPostingEntries
|
|
22
|
+
*/
|
|
23
|
+
transactionType: string;
|
|
24
|
+
/**
|
|
25
|
+
* Account ID of Debit Account
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ProductTransactionPostingEntries
|
|
28
|
+
*/
|
|
29
|
+
debitAccount: string;
|
|
30
|
+
/**
|
|
31
|
+
* Account ID of Credit Account
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ProductTransactionPostingEntries
|
|
34
|
+
*/
|
|
35
|
+
creditAccount: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ProductTransactionPostingEntries interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfProductTransactionPostingEntries(value: object): value is ProductTransactionPostingEntries;
|
|
41
|
+
export declare function ProductTransactionPostingEntriesFromJSON(json: any): ProductTransactionPostingEntries;
|
|
42
|
+
export declare function ProductTransactionPostingEntriesFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductTransactionPostingEntries;
|
|
43
|
+
export declare function ProductTransactionPostingEntriesToJSON(json: any): ProductTransactionPostingEntries;
|
|
44
|
+
export declare function ProductTransactionPostingEntriesToJSONTyped(value?: ProductTransactionPostingEntries | null, ignoreDiscriminator?: boolean): any;
|
|
45
|
+
//# sourceMappingURL=product-transaction-posting-entries.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-transaction-posting-entries.d.ts","sourceRoot":"","sources":["../../../src/generated/models/product-transaction-posting-entries.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AACH,wBAAgB,0CAA0C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gCAAgC,CAKnH;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAEpG;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gCAAgC,CAUvI;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAElG;AAED,wBAAgB,2CAA2C,CAAC,KAAK,CAAC,EAAE,gCAAgC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWtJ"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* ManageSpace V2 Auth API
|
|
6
|
+
* ManageSpace Auth API Documentation
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ProductTransactionPostingEntriesToJSONTyped = exports.ProductTransactionPostingEntriesToJSON = exports.ProductTransactionPostingEntriesFromJSONTyped = exports.ProductTransactionPostingEntriesFromJSON = exports.instanceOfProductTransactionPostingEntries = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ProductTransactionPostingEntries interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfProductTransactionPostingEntries(value) {
|
|
21
|
+
if (!('transactionType' in value) || value['transactionType'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('debitAccount' in value) || value['debitAccount'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('creditAccount' in value) || value['creditAccount'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
exports.instanceOfProductTransactionPostingEntries = instanceOfProductTransactionPostingEntries;
|
|
30
|
+
function ProductTransactionPostingEntriesFromJSON(json) {
|
|
31
|
+
return ProductTransactionPostingEntriesFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
exports.ProductTransactionPostingEntriesFromJSON = ProductTransactionPostingEntriesFromJSON;
|
|
34
|
+
function ProductTransactionPostingEntriesFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'transactionType': json['transactionType'],
|
|
40
|
+
'debitAccount': json['debitAccount'],
|
|
41
|
+
'creditAccount': json['creditAccount'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
exports.ProductTransactionPostingEntriesFromJSONTyped = ProductTransactionPostingEntriesFromJSONTyped;
|
|
45
|
+
function ProductTransactionPostingEntriesToJSON(json) {
|
|
46
|
+
return ProductTransactionPostingEntriesToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
exports.ProductTransactionPostingEntriesToJSON = ProductTransactionPostingEntriesToJSON;
|
|
49
|
+
function ProductTransactionPostingEntriesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'transactionType': value['transactionType'],
|
|
55
|
+
'debitAccount': value['debitAccount'],
|
|
56
|
+
'creditAccount': value['creditAccount'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
exports.ProductTransactionPostingEntriesToJSONTyped = ProductTransactionPostingEntriesToJSONTyped;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { CalendarResponse } from './calendar-response';
|
|
13
|
-
import type {
|
|
13
|
+
import type { ConfigurationSettingResponse } from './configuration-setting-response';
|
|
14
14
|
import type { CommunicationResponse } from './communication-response';
|
|
15
15
|
import type { OrgResponse } from './org-response';
|
|
16
16
|
import type { ChecklistResponse } from './checklist-response';
|
|
@@ -153,10 +153,10 @@ export interface SiteResponse {
|
|
|
153
153
|
notes?: Array<NoteResponse>;
|
|
154
154
|
/**
|
|
155
155
|
*
|
|
156
|
-
* @type {Array<
|
|
156
|
+
* @type {Array<ConfigurationSettingResponse>}
|
|
157
157
|
* @memberof SiteResponse
|
|
158
158
|
*/
|
|
159
|
-
|
|
159
|
+
configurationSettings?: Array<ConfigurationSettingResponse>;
|
|
160
160
|
/**
|
|
161
161
|
*
|
|
162
162
|
* @type {Array<CommunicationResponse>}
|
|
@@ -174,7 +174,7 @@ export interface SiteResponse {
|
|
|
174
174
|
* @type {Array<PlanResponse>}
|
|
175
175
|
* @memberof SiteResponse
|
|
176
176
|
*/
|
|
177
|
-
|
|
177
|
+
plans?: Array<PlanResponse>;
|
|
178
178
|
}
|
|
179
179
|
/**
|
|
180
180
|
* Check if a given object implements the SiteResponse interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"site-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/site-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAO5D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"site-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/site-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAO5D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AAOrF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAOtE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAOlD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAO9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAOpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAOtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAOpD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAO7E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAOpD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAOrE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAOpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAO1D,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,4CAA4C,CAAC;AAOxG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAOpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAQ/D;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC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,EAAE,KAAK,CAAC,4BAA4B,CAAC,CAAC;IAC5D;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC;IAC9C;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IAClC;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;CAC/B;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAU3E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE5D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CA+B/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,CAgC9G"}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.SiteResponseToJSONTyped = exports.SiteResponseToJSON = exports.SiteResponseFromJSONTyped = exports.SiteResponseFromJSON = exports.instanceOfSiteResponse = void 0;
|
|
17
17
|
const calendar_response_1 = require("./calendar-response");
|
|
18
|
-
const
|
|
18
|
+
const configuration_setting_response_1 = require("./configuration-setting-response");
|
|
19
19
|
const communication_response_1 = require("./communication-response");
|
|
20
20
|
const org_response_1 = require("./org-response");
|
|
21
21
|
const checklist_response_1 = require("./checklist-response");
|
|
@@ -82,10 +82,10 @@ function SiteResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
82
82
|
'checklists': json['checklists'] == null ? undefined : (json['checklists'].map(checklist_response_1.ChecklistResponseFromJSON)),
|
|
83
83
|
'taskTemplates': json['taskTemplates'] == null ? undefined : (json['taskTemplates'].map(task_template_response_1.TaskTemplateResponseFromJSON)),
|
|
84
84
|
'notes': json['notes'] == null ? undefined : (json['notes'].map(note_response_1.NoteResponseFromJSON)),
|
|
85
|
-
'
|
|
85
|
+
'configurationSettings': json['configurationSettings'] == null ? undefined : (json['configurationSettings'].map(configuration_setting_response_1.ConfigurationSettingResponseFromJSON)),
|
|
86
86
|
'communications': json['communications'] == null ? undefined : (json['communications'].map(communication_response_1.CommunicationResponseFromJSON)),
|
|
87
87
|
'products': json['products'] == null ? undefined : (json['products'].map(product_response_1.ProductResponseFromJSON)),
|
|
88
|
-
'
|
|
88
|
+
'plans': json['plans'] == null ? undefined : (json['plans'].map(plan_response_1.PlanResponseFromJSON)),
|
|
89
89
|
};
|
|
90
90
|
}
|
|
91
91
|
exports.SiteResponseFromJSONTyped = SiteResponseFromJSONTyped;
|
|
@@ -118,10 +118,10 @@ function SiteResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
118
118
|
'checklists': value['checklists'] == null ? undefined : (value['checklists'].map(checklist_response_1.ChecklistResponseToJSON)),
|
|
119
119
|
'taskTemplates': value['taskTemplates'] == null ? undefined : (value['taskTemplates'].map(task_template_response_1.TaskTemplateResponseToJSON)),
|
|
120
120
|
'notes': value['notes'] == null ? undefined : (value['notes'].map(note_response_1.NoteResponseToJSON)),
|
|
121
|
-
'
|
|
121
|
+
'configurationSettings': value['configurationSettings'] == null ? undefined : (value['configurationSettings'].map(configuration_setting_response_1.ConfigurationSettingResponseToJSON)),
|
|
122
122
|
'communications': value['communications'] == null ? undefined : (value['communications'].map(communication_response_1.CommunicationResponseToJSON)),
|
|
123
123
|
'products': value['products'] == null ? undefined : (value['products'].map(product_response_1.ProductResponseToJSON)),
|
|
124
|
-
'
|
|
124
|
+
'plans': value['plans'] == null ? undefined : (value['plans'].map(plan_response_1.PlanResponseToJSON)),
|
|
125
125
|
};
|
|
126
126
|
}
|
|
127
127
|
exports.SiteResponseToJSONTyped = SiteResponseToJSONTyped;
|