@spaciv/sdk 0.1.21 → 0.1.23
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/.openapi-generator/FILES +24 -1
- package/README.md +2 -2
- package/dist/apis/FilesApi.d.ts +28 -1
- package/dist/apis/FilesApi.js +40 -0
- package/dist/apis/LogicLayersApi.d.ts +279 -0
- package/dist/apis/{SpaceRulesetsApi.js → LogicLayersApi.js} +72 -62
- package/dist/apis/ObjectGroupsApi.d.ts +28 -1
- package/dist/apis/ObjectGroupsApi.js +40 -0
- package/dist/apis/PropertiesApi.d.ts +16 -16
- package/dist/apis/PropertiesApi.js +8 -8
- package/dist/apis/ScenariosApi.d.ts +4 -4
- package/dist/apis/ScenariosApi.js +2 -2
- package/dist/apis/TopDownModelsApi.d.ts +4 -4
- package/dist/apis/TopDownModelsApi.js +2 -2
- package/dist/apis/VariablesApi.d.ts +4 -4
- package/dist/apis/VariablesApi.js +2 -2
- package/dist/apis/index.d.ts +1 -1
- package/dist/apis/index.js +1 -1
- package/dist/esm/apis/FilesApi.d.ts +28 -1
- package/dist/esm/apis/FilesApi.js +41 -1
- package/dist/esm/apis/LogicLayersApi.d.ts +279 -0
- package/dist/esm/apis/{SpaceRulesetsApi.js → LogicLayersApi.js} +70 -60
- package/dist/esm/apis/ObjectGroupsApi.d.ts +28 -1
- package/dist/esm/apis/ObjectGroupsApi.js +41 -1
- package/dist/esm/apis/PropertiesApi.d.ts +16 -16
- package/dist/esm/apis/PropertiesApi.js +8 -8
- package/dist/esm/apis/ScenariosApi.d.ts +4 -4
- package/dist/esm/apis/ScenariosApi.js +2 -2
- package/dist/esm/apis/TopDownModelsApi.d.ts +4 -4
- package/dist/esm/apis/TopDownModelsApi.js +2 -2
- package/dist/esm/apis/VariablesApi.d.ts +4 -4
- package/dist/esm/apis/VariablesApi.js +2 -2
- package/dist/esm/apis/index.d.ts +1 -1
- package/dist/esm/apis/index.js +1 -1
- package/dist/esm/models/AccountTextFilePostBody.d.ts +38 -0
- package/dist/esm/models/AccountTextFilePostBody.js +45 -0
- package/dist/esm/models/CalcCompare.d.ts +45 -0
- package/dist/esm/models/CalcCompare.js +52 -0
- package/dist/esm/models/CalcCondition.d.ts +46 -0
- package/dist/esm/models/CalcCondition.js +53 -0
- package/dist/esm/models/CalcHasNode.d.ts +44 -0
- package/dist/esm/models/CalcHasNode.js +51 -0
- package/dist/esm/models/CalcIsObject.d.ts +32 -0
- package/dist/esm/models/CalcIsObject.js +43 -0
- package/dist/esm/models/CalcRuleRef.d.ts +2 -1
- package/dist/esm/models/CalcRuleRef.js +7 -0
- package/dist/esm/models/CalcRuleRefOneOf2.d.ts +3 -2
- package/dist/esm/models/CalcRuleRefOneOf2.js +4 -3
- package/dist/esm/models/CalcRuleRefOneOf3.d.ts +2 -3
- package/dist/esm/models/CalcRuleRefOneOf3.js +3 -4
- package/dist/esm/models/CalcRuleRefOneOf4.d.ts +3 -3
- package/dist/esm/models/CalcRuleRefOneOf4.js +4 -4
- package/dist/esm/models/CalcRuleRefOneOf5.d.ts +3 -2
- package/dist/esm/models/CalcRuleRefOneOf5.js +4 -3
- package/dist/esm/models/CalcRuleRefOneOf6.d.ts +32 -0
- package/dist/esm/models/CalcRuleRefOneOf6.js +43 -0
- package/dist/esm/models/CalcTest.d.ts +24 -0
- package/dist/esm/models/CalcTest.js +58 -0
- package/dist/esm/models/CalcTestOneOf.d.ts +33 -0
- package/dist/esm/models/CalcTestOneOf.js +44 -0
- package/dist/esm/models/CalcTestOneOf1.d.ts +33 -0
- package/dist/esm/models/CalcTestOneOf1.js +44 -0
- package/dist/esm/models/CalcTestOneOf2.d.ts +33 -0
- package/dist/esm/models/CalcTestOneOf2.js +44 -0
- package/dist/esm/models/Group.d.ts +45 -0
- package/dist/esm/models/Group.js +52 -0
- package/dist/esm/models/LayerVariablesRes.d.ts +1 -1
- package/dist/esm/models/LogicAssignment.d.ts +23 -0
- package/dist/esm/models/LogicAssignment.js +51 -0
- package/dist/esm/models/LogicAssignmentOneOf.d.ts +32 -0
- package/dist/esm/models/LogicAssignmentOneOf.js +43 -0
- package/dist/esm/models/LogicAssignmentOneOf1.d.ts +32 -0
- package/dist/esm/models/LogicAssignmentOneOf1.js +43 -0
- package/dist/esm/models/LogicDemand.d.ts +40 -0
- package/dist/esm/models/LogicDemand.js +49 -0
- package/dist/esm/models/LogicLayerConfig.d.ts +39 -0
- package/dist/esm/models/LogicLayerConfig.js +48 -0
- package/dist/esm/models/LogicPer.d.ts +45 -0
- package/dist/esm/models/LogicPer.js +52 -0
- package/dist/esm/models/LogicRule.d.ts +66 -0
- package/dist/esm/models/LogicRule.js +67 -0
- package/dist/esm/models/LogicSupply.d.ts +48 -0
- package/dist/esm/models/LogicSupply.js +54 -0
- package/dist/esm/models/LogicSupplyWeight.d.ts +32 -0
- package/dist/esm/models/LogicSupplyWeight.js +43 -0
- package/dist/esm/models/MaybeVarInt.d.ts +2 -2
- package/dist/esm/models/MaybeVarInt.js +5 -5
- package/dist/esm/models/MaybeVarProp.d.ts +2 -2
- package/dist/esm/models/MaybeVarProp.js +5 -5
- package/dist/esm/models/MaybeVarStr.d.ts +2 -2
- package/dist/esm/models/MaybeVarStr.js +5 -5
- package/dist/esm/models/ModelObject.d.ts +38 -0
- package/dist/esm/models/ModelObject.js +47 -0
- package/dist/esm/models/ModelRecord.d.ts +1 -1
- package/dist/esm/models/ObjectGroupListEntry.d.ts +0 -6
- package/dist/esm/models/ObjectGroupListEntry.js +0 -4
- package/dist/esm/models/SelectObjectsParamsWrapperBody.d.ts +33 -0
- package/dist/esm/models/SelectObjectsParamsWrapperBody.js +44 -0
- package/dist/esm/models/Selection.d.ts +39 -0
- package/dist/esm/models/Selection.js +48 -0
- package/dist/esm/models/SpaceRuleSetJSON.d.ts +3 -2
- package/dist/esm/models/SpaceRuleSetJSON.js +3 -2
- package/dist/esm/models/SpaceRulesetCreate.d.ts +1 -1
- package/dist/esm/models/index.d.ts +23 -0
- package/dist/esm/models/index.js +23 -0
- package/dist/models/AccountTextFilePostBody.d.ts +38 -0
- package/dist/models/AccountTextFilePostBody.js +52 -0
- package/dist/models/CalcCompare.d.ts +45 -0
- package/dist/models/CalcCompare.js +59 -0
- package/dist/models/CalcCondition.d.ts +46 -0
- package/dist/models/CalcCondition.js +60 -0
- package/dist/models/CalcHasNode.d.ts +44 -0
- package/dist/models/CalcHasNode.js +58 -0
- package/dist/models/CalcIsObject.d.ts +32 -0
- package/dist/models/CalcIsObject.js +50 -0
- package/dist/models/CalcRuleRef.d.ts +2 -1
- package/dist/models/CalcRuleRef.js +7 -0
- package/dist/models/CalcRuleRefOneOf2.d.ts +3 -2
- package/dist/models/CalcRuleRefOneOf2.js +4 -3
- package/dist/models/CalcRuleRefOneOf3.d.ts +2 -3
- package/dist/models/CalcRuleRefOneOf3.js +3 -4
- package/dist/models/CalcRuleRefOneOf4.d.ts +3 -3
- package/dist/models/CalcRuleRefOneOf4.js +4 -4
- package/dist/models/CalcRuleRefOneOf5.d.ts +3 -2
- package/dist/models/CalcRuleRefOneOf5.js +4 -3
- package/dist/models/CalcRuleRefOneOf6.d.ts +32 -0
- package/dist/models/CalcRuleRefOneOf6.js +50 -0
- package/dist/models/CalcTest.d.ts +24 -0
- package/dist/models/CalcTest.js +64 -0
- package/dist/models/CalcTestOneOf.d.ts +33 -0
- package/dist/models/CalcTestOneOf.js +51 -0
- package/dist/models/CalcTestOneOf1.d.ts +33 -0
- package/dist/models/CalcTestOneOf1.js +51 -0
- package/dist/models/CalcTestOneOf2.d.ts +33 -0
- package/dist/models/CalcTestOneOf2.js +51 -0
- package/dist/models/Group.d.ts +45 -0
- package/dist/models/Group.js +59 -0
- package/dist/models/LayerVariablesRes.d.ts +1 -1
- package/dist/models/LogicAssignment.d.ts +23 -0
- package/dist/models/LogicAssignment.js +57 -0
- package/dist/models/LogicAssignmentOneOf.d.ts +32 -0
- package/dist/models/LogicAssignmentOneOf.js +50 -0
- package/dist/models/LogicAssignmentOneOf1.d.ts +32 -0
- package/dist/models/LogicAssignmentOneOf1.js +50 -0
- package/dist/models/LogicDemand.d.ts +40 -0
- package/dist/models/LogicDemand.js +56 -0
- package/dist/models/LogicLayerConfig.d.ts +39 -0
- package/dist/models/LogicLayerConfig.js +55 -0
- package/dist/models/LogicPer.d.ts +45 -0
- package/dist/models/LogicPer.js +59 -0
- package/dist/models/LogicRule.d.ts +66 -0
- package/dist/models/LogicRule.js +74 -0
- package/dist/models/LogicSupply.d.ts +48 -0
- package/dist/models/LogicSupply.js +61 -0
- package/dist/models/LogicSupplyWeight.d.ts +32 -0
- package/dist/models/LogicSupplyWeight.js +50 -0
- package/dist/models/MaybeVarInt.d.ts +2 -2
- package/dist/models/MaybeVarInt.js +5 -5
- package/dist/models/MaybeVarProp.d.ts +2 -2
- package/dist/models/MaybeVarProp.js +5 -5
- package/dist/models/MaybeVarStr.d.ts +2 -2
- package/dist/models/MaybeVarStr.js +5 -5
- package/dist/models/ModelObject.d.ts +38 -0
- package/dist/models/ModelObject.js +54 -0
- package/dist/models/ModelRecord.d.ts +1 -1
- package/dist/models/ObjectGroupListEntry.d.ts +0 -6
- package/dist/models/ObjectGroupListEntry.js +0 -4
- package/dist/models/SelectObjectsParamsWrapperBody.d.ts +33 -0
- package/dist/models/SelectObjectsParamsWrapperBody.js +51 -0
- package/dist/models/Selection.d.ts +39 -0
- package/dist/models/Selection.js +55 -0
- package/dist/models/SpaceRuleSetJSON.d.ts +3 -2
- package/dist/models/SpaceRuleSetJSON.js +3 -2
- package/dist/models/SpaceRulesetCreate.d.ts +1 -1
- package/dist/models/index.d.ts +23 -0
- package/dist/models/index.js +23 -0
- package/package.json +1 -1
- package/src/apis/FilesApi.ts +72 -0
- package/src/apis/{SpaceRulesetsApi.ts → LogicLayersApi.ts} +136 -121
- package/src/apis/ObjectGroupsApi.ts +75 -0
- package/src/apis/PropertiesApi.ts +16 -16
- package/src/apis/ScenariosApi.ts +4 -4
- package/src/apis/TopDownModelsApi.ts +4 -4
- package/src/apis/VariablesApi.ts +4 -4
- package/src/apis/index.ts +1 -1
- package/src/models/AccountTextFilePostBody.ts +74 -0
- package/src/models/CalcCompare.ts +92 -0
- package/src/models/CalcCondition.ts +99 -0
- package/src/models/CalcHasNode.ts +84 -0
- package/src/models/CalcIsObject.ts +66 -0
- package/src/models/CalcRuleRef.ts +14 -1
- package/src/models/CalcRuleRefOneOf2.ts +13 -5
- package/src/models/CalcRuleRefOneOf3.ts +5 -13
- package/src/models/CalcRuleRefOneOf4.ts +11 -11
- package/src/models/CalcRuleRefOneOf5.ts +13 -5
- package/src/models/CalcRuleRefOneOf6.ts +66 -0
- package/src/models/CalcTest.ts +89 -0
- package/src/models/CalcTestOneOf.ts +74 -0
- package/src/models/CalcTestOneOf1.ts +74 -0
- package/src/models/CalcTestOneOf2.ts +74 -0
- package/src/models/Group.ts +92 -0
- package/src/models/LayerVariablesRes.ts +1 -1
- package/src/models/LogicAssignment.ts +76 -0
- package/src/models/LogicAssignmentOneOf.ts +66 -0
- package/src/models/LogicAssignmentOneOf1.ts +66 -0
- package/src/models/LogicDemand.ts +90 -0
- package/src/models/LogicLayerConfig.ts +83 -0
- package/src/models/LogicPer.ts +92 -0
- package/src/models/LogicRule.ts +140 -0
- package/src/models/LogicSupply.ts +99 -0
- package/src/models/LogicSupplyWeight.ts +66 -0
- package/src/models/MaybeVarInt.ts +11 -11
- package/src/models/MaybeVarProp.ts +11 -11
- package/src/models/MaybeVarStr.ts +11 -11
- package/src/models/ModelObject.ts +75 -0
- package/src/models/ModelRecord.ts +1 -1
- package/src/models/ObjectGroupListEntry.ts +0 -9
- package/src/models/SelectObjectsParamsWrapperBody.ts +74 -0
- package/src/models/Selection.ts +83 -0
- package/src/models/SpaceRuleSetJSON.ts +12 -4
- package/src/models/SpaceRulesetCreate.ts +1 -1
- package/src/models/index.ts +23 -0
- package/dist/apis/SpaceRulesetsApi.d.ts +0 -269
- package/dist/esm/apis/SpaceRulesetsApi.d.ts +0 -269
|
@@ -19,6 +19,7 @@ export * from './AccountPostOIDCProviderReqBody';
|
|
|
19
19
|
export * from './AccountPostReqBody';
|
|
20
20
|
export * from './AccountPutOIDCClientSecretReqBody';
|
|
21
21
|
export * from './AccountPutReqBody';
|
|
22
|
+
export * from './AccountTextFilePostBody';
|
|
22
23
|
export * from './AccountUsageResBody';
|
|
23
24
|
export * from './ActivityData';
|
|
24
25
|
export * from './ActivityLocationData';
|
|
@@ -60,7 +61,11 @@ export * from './CalcAxis';
|
|
|
60
61
|
export * from './CalcAxisMember';
|
|
61
62
|
export * from './CalcBody';
|
|
62
63
|
export * from './CalcChildren';
|
|
64
|
+
export * from './CalcCompare';
|
|
65
|
+
export * from './CalcCondition';
|
|
63
66
|
export * from './CalcErrorBody';
|
|
67
|
+
export * from './CalcHasNode';
|
|
68
|
+
export * from './CalcIsObject';
|
|
64
69
|
export * from './CalcList';
|
|
65
70
|
export * from './CalcListEntry';
|
|
66
71
|
export * from './CalcListTwoD';
|
|
@@ -73,11 +78,16 @@ export * from './CalcRuleRefOneOf2';
|
|
|
73
78
|
export * from './CalcRuleRefOneOf3';
|
|
74
79
|
export * from './CalcRuleRefOneOf4';
|
|
75
80
|
export * from './CalcRuleRefOneOf5';
|
|
81
|
+
export * from './CalcRuleRefOneOf6';
|
|
76
82
|
export * from './CalcSegmentation';
|
|
77
83
|
export * from './CalcSegmentationOneOf';
|
|
78
84
|
export * from './CalcSegmentationOneOf1';
|
|
79
85
|
export * from './CalcSegmentationOneOf2';
|
|
80
86
|
export * from './CalcSelect';
|
|
87
|
+
export * from './CalcTest';
|
|
88
|
+
export * from './CalcTestOneOf';
|
|
89
|
+
export * from './CalcTestOneOf1';
|
|
90
|
+
export * from './CalcTestOneOf2';
|
|
81
91
|
export * from './CalcTreeList';
|
|
82
92
|
export * from './CalcTreeValue';
|
|
83
93
|
export * from './CalcTypeSingleValue';
|
|
@@ -203,6 +213,7 @@ export * from './GetEntry';
|
|
|
203
213
|
export * from './GetMappingRes';
|
|
204
214
|
export * from './GetResponseBody';
|
|
205
215
|
export * from './GetTopDownModelEntriesRes';
|
|
216
|
+
export * from './Group';
|
|
206
217
|
export * from './I18nTranslationsExportParamsWrapperBody';
|
|
207
218
|
export * from './I18nTranslationsImportParamsWrapperBody';
|
|
208
219
|
export * from './I18nTranslationsParamsWrapperBody';
|
|
@@ -227,6 +238,15 @@ export * from './ListAccountsForUserRow';
|
|
|
227
238
|
export * from './ListPage';
|
|
228
239
|
export * from './ListUserDetailsWithEmailRow';
|
|
229
240
|
export * from './LocationData';
|
|
241
|
+
export * from './LogicAssignment';
|
|
242
|
+
export * from './LogicAssignmentOneOf';
|
|
243
|
+
export * from './LogicAssignmentOneOf1';
|
|
244
|
+
export * from './LogicDemand';
|
|
245
|
+
export * from './LogicLayerConfig';
|
|
246
|
+
export * from './LogicPer';
|
|
247
|
+
export * from './LogicRule';
|
|
248
|
+
export * from './LogicSupply';
|
|
249
|
+
export * from './LogicSupplyWeight';
|
|
230
250
|
export * from './MappingProp';
|
|
231
251
|
export * from './MappingScenario';
|
|
232
252
|
export * from './MaybeVarFunc';
|
|
@@ -241,6 +261,7 @@ export * from './MeetingSizeData';
|
|
|
241
261
|
export * from './MetaVersionResponse';
|
|
242
262
|
export * from './MissingAttributeDetail';
|
|
243
263
|
export * from './MissingObjectDetail';
|
|
264
|
+
export * from './ModelObject';
|
|
244
265
|
export * from './ModelRecord';
|
|
245
266
|
export * from './MultiSelectChangelogData';
|
|
246
267
|
export * from './MultiSelectContributionData';
|
|
@@ -328,6 +349,8 @@ export * from './ScriptSummary';
|
|
|
328
349
|
export * from './ScriptUsage';
|
|
329
350
|
export * from './ScriptUsageResBody';
|
|
330
351
|
export * from './ScriptWebhookResBody';
|
|
352
|
+
export * from './SelectObjectsParamsWrapperBody';
|
|
353
|
+
export * from './Selection';
|
|
331
354
|
export * from './SendPasswordPutReqBody';
|
|
332
355
|
export * from './SerializedEvent';
|
|
333
356
|
export * from './ServerMessage';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -21,6 +21,7 @@ export * from './AccountPostOIDCProviderReqBody';
|
|
|
21
21
|
export * from './AccountPostReqBody';
|
|
22
22
|
export * from './AccountPutOIDCClientSecretReqBody';
|
|
23
23
|
export * from './AccountPutReqBody';
|
|
24
|
+
export * from './AccountTextFilePostBody';
|
|
24
25
|
export * from './AccountUsageResBody';
|
|
25
26
|
export * from './ActivityData';
|
|
26
27
|
export * from './ActivityLocationData';
|
|
@@ -62,7 +63,11 @@ export * from './CalcAxis';
|
|
|
62
63
|
export * from './CalcAxisMember';
|
|
63
64
|
export * from './CalcBody';
|
|
64
65
|
export * from './CalcChildren';
|
|
66
|
+
export * from './CalcCompare';
|
|
67
|
+
export * from './CalcCondition';
|
|
65
68
|
export * from './CalcErrorBody';
|
|
69
|
+
export * from './CalcHasNode';
|
|
70
|
+
export * from './CalcIsObject';
|
|
66
71
|
export * from './CalcList';
|
|
67
72
|
export * from './CalcListEntry';
|
|
68
73
|
export * from './CalcListTwoD';
|
|
@@ -75,11 +80,16 @@ export * from './CalcRuleRefOneOf2';
|
|
|
75
80
|
export * from './CalcRuleRefOneOf3';
|
|
76
81
|
export * from './CalcRuleRefOneOf4';
|
|
77
82
|
export * from './CalcRuleRefOneOf5';
|
|
83
|
+
export * from './CalcRuleRefOneOf6';
|
|
78
84
|
export * from './CalcSegmentation';
|
|
79
85
|
export * from './CalcSegmentationOneOf';
|
|
80
86
|
export * from './CalcSegmentationOneOf1';
|
|
81
87
|
export * from './CalcSegmentationOneOf2';
|
|
82
88
|
export * from './CalcSelect';
|
|
89
|
+
export * from './CalcTest';
|
|
90
|
+
export * from './CalcTestOneOf';
|
|
91
|
+
export * from './CalcTestOneOf1';
|
|
92
|
+
export * from './CalcTestOneOf2';
|
|
83
93
|
export * from './CalcTreeList';
|
|
84
94
|
export * from './CalcTreeValue';
|
|
85
95
|
export * from './CalcTypeSingleValue';
|
|
@@ -205,6 +215,7 @@ export * from './GetEntry';
|
|
|
205
215
|
export * from './GetMappingRes';
|
|
206
216
|
export * from './GetResponseBody';
|
|
207
217
|
export * from './GetTopDownModelEntriesRes';
|
|
218
|
+
export * from './Group';
|
|
208
219
|
export * from './I18nTranslationsExportParamsWrapperBody';
|
|
209
220
|
export * from './I18nTranslationsImportParamsWrapperBody';
|
|
210
221
|
export * from './I18nTranslationsParamsWrapperBody';
|
|
@@ -229,6 +240,15 @@ export * from './ListAccountsForUserRow';
|
|
|
229
240
|
export * from './ListPage';
|
|
230
241
|
export * from './ListUserDetailsWithEmailRow';
|
|
231
242
|
export * from './LocationData';
|
|
243
|
+
export * from './LogicAssignment';
|
|
244
|
+
export * from './LogicAssignmentOneOf';
|
|
245
|
+
export * from './LogicAssignmentOneOf1';
|
|
246
|
+
export * from './LogicDemand';
|
|
247
|
+
export * from './LogicLayerConfig';
|
|
248
|
+
export * from './LogicPer';
|
|
249
|
+
export * from './LogicRule';
|
|
250
|
+
export * from './LogicSupply';
|
|
251
|
+
export * from './LogicSupplyWeight';
|
|
232
252
|
export * from './MappingProp';
|
|
233
253
|
export * from './MappingScenario';
|
|
234
254
|
export * from './MaybeVarFunc';
|
|
@@ -243,6 +263,7 @@ export * from './MeetingSizeData';
|
|
|
243
263
|
export * from './MetaVersionResponse';
|
|
244
264
|
export * from './MissingAttributeDetail';
|
|
245
265
|
export * from './MissingObjectDetail';
|
|
266
|
+
export * from './ModelObject';
|
|
246
267
|
export * from './ModelRecord';
|
|
247
268
|
export * from './MultiSelectChangelogData';
|
|
248
269
|
export * from './MultiSelectContributionData';
|
|
@@ -330,6 +351,8 @@ export * from './ScriptSummary';
|
|
|
330
351
|
export * from './ScriptUsage';
|
|
331
352
|
export * from './ScriptUsageResBody';
|
|
332
353
|
export * from './ScriptWebhookResBody';
|
|
354
|
+
export * from './SelectObjectsParamsWrapperBody';
|
|
355
|
+
export * from './Selection';
|
|
333
356
|
export * from './SendPasswordPutReqBody';
|
|
334
357
|
export * from './SerializedEvent';
|
|
335
358
|
export * from './ServerMessage';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* spaciv API
|
|
3
|
+
* The spaciv API powers workplace planning: modelling how many people an organisation has, how they work, and how much space that requires. ## Getting started 1. Exchange credentials for an access token using one of the operations under **Authentication**. 2. Send that token on every subsequent request as `Authorization: Bearer <token>`. 3. Access tokens are short lived. Call `POST /v1/auth/refresh-token` to obtain a new one before the old one expires. ## Conventions Every operation is versioned under `/v1`. Collections are plural (`GET /v1/dashboards` lists, `POST /v1/dashboards` creates) and individual records live beneath them (`/v1/dashboards/{id}`). Singular paths such as `/v1/account`, `/v1/project` and `/v1/user` refer to the record the access token was issued for. Request and response bodies are JSON. Timestamps are RFC 3339. Identifiers are opaque strings unless documented otherwise, and collection operations return the records visible to the account the token was issued for. Failures return an [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) problem document with a `detail` field describing what went wrong.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@spaciv.com
|
|
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 AccountTextFilePostBody
|
|
16
|
+
*/
|
|
17
|
+
export interface AccountTextFilePostBody {
|
|
18
|
+
/**
|
|
19
|
+
* Name of the new file. Its extension chooses its type. At most 255 bytes after normalising to Unicode NFC. Must not contain a forward slash or a backslash, and must not be . or ..
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AccountTextFilePostBody
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* Identifier of the directory to create the file in. Leave it out to create it at the root.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AccountTextFilePostBody
|
|
28
|
+
*/
|
|
29
|
+
parentId?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the AccountTextFilePostBody interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfAccountTextFilePostBody(value: object): value is AccountTextFilePostBody;
|
|
35
|
+
export declare function AccountTextFilePostBodyFromJSON(json: any): AccountTextFilePostBody;
|
|
36
|
+
export declare function AccountTextFilePostBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountTextFilePostBody;
|
|
37
|
+
export declare function AccountTextFilePostBodyToJSON(json: any): AccountTextFilePostBody;
|
|
38
|
+
export declare function AccountTextFilePostBodyToJSONTyped(value?: AccountTextFilePostBody | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* spaciv API
|
|
6
|
+
* The spaciv API powers workplace planning: modelling how many people an organisation has, how they work, and how much space that requires. ## Getting started 1. Exchange credentials for an access token using one of the operations under **Authentication**. 2. Send that token on every subsequent request as `Authorization: Bearer <token>`. 3. Access tokens are short lived. Call `POST /v1/auth/refresh-token` to obtain a new one before the old one expires. ## Conventions Every operation is versioned under `/v1`. Collections are plural (`GET /v1/dashboards` lists, `POST /v1/dashboards` creates) and individual records live beneath them (`/v1/dashboards/{id}`). Singular paths such as `/v1/account`, `/v1/project` and `/v1/user` refer to the record the access token was issued for. Request and response bodies are JSON. Timestamps are RFC 3339. Identifiers are opaque strings unless documented otherwise, and collection operations return the records visible to the account the token was issued for. Failures return an [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) problem document with a `detail` field describing what went wrong.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: support@spaciv.com
|
|
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.instanceOfAccountTextFilePostBody = instanceOfAccountTextFilePostBody;
|
|
17
|
+
exports.AccountTextFilePostBodyFromJSON = AccountTextFilePostBodyFromJSON;
|
|
18
|
+
exports.AccountTextFilePostBodyFromJSONTyped = AccountTextFilePostBodyFromJSONTyped;
|
|
19
|
+
exports.AccountTextFilePostBodyToJSON = AccountTextFilePostBodyToJSON;
|
|
20
|
+
exports.AccountTextFilePostBodyToJSONTyped = AccountTextFilePostBodyToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AccountTextFilePostBody interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAccountTextFilePostBody(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function AccountTextFilePostBodyFromJSON(json) {
|
|
30
|
+
return AccountTextFilePostBodyFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function AccountTextFilePostBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'name': json['name'],
|
|
38
|
+
'parentId': json['parentId'] == null ? undefined : json['parentId'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function AccountTextFilePostBodyToJSON(json) {
|
|
42
|
+
return AccountTextFilePostBodyToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AccountTextFilePostBodyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'name': value['name'],
|
|
50
|
+
'parentId': value['parentId'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* spaciv API
|
|
3
|
+
* The spaciv API powers workplace planning: modelling how many people an organisation has, how they work, and how much space that requires. ## Getting started 1. Exchange credentials for an access token using one of the operations under **Authentication**. 2. Send that token on every subsequent request as `Authorization: Bearer <token>`. 3. Access tokens are short lived. Call `POST /v1/auth/refresh-token` to obtain a new one before the old one expires. ## Conventions Every operation is versioned under `/v1`. Collections are plural (`GET /v1/dashboards` lists, `POST /v1/dashboards` creates) and individual records live beneath them (`/v1/dashboards/{id}`). Singular paths such as `/v1/account`, `/v1/project` and `/v1/user` refer to the record the access token was issued for. Request and response bodies are JSON. Timestamps are RFC 3339. Identifiers are opaque strings unless documented otherwise, and collection operations return the records visible to the account the token was issued for. Failures return an [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) problem document with a `detail` field describing what went wrong.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@spaciv.com
|
|
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 { CalcRuleRef } from './CalcRuleRef';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CalcCompare
|
|
17
|
+
*/
|
|
18
|
+
export interface CalcCompare {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {CalcRuleRef}
|
|
22
|
+
* @memberof CalcCompare
|
|
23
|
+
*/
|
|
24
|
+
left: CalcRuleRef;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof CalcCompare
|
|
29
|
+
*/
|
|
30
|
+
op: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {CalcRuleRef}
|
|
34
|
+
* @memberof CalcCompare
|
|
35
|
+
*/
|
|
36
|
+
right: CalcRuleRef;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the CalcCompare interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfCalcCompare(value: object): value is CalcCompare;
|
|
42
|
+
export declare function CalcCompareFromJSON(json: any): CalcCompare;
|
|
43
|
+
export declare function CalcCompareFromJSONTyped(json: any, ignoreDiscriminator: boolean): CalcCompare;
|
|
44
|
+
export declare function CalcCompareToJSON(json: any): CalcCompare;
|
|
45
|
+
export declare function CalcCompareToJSONTyped(value?: CalcCompare | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* spaciv API
|
|
6
|
+
* The spaciv API powers workplace planning: modelling how many people an organisation has, how they work, and how much space that requires. ## Getting started 1. Exchange credentials for an access token using one of the operations under **Authentication**. 2. Send that token on every subsequent request as `Authorization: Bearer <token>`. 3. Access tokens are short lived. Call `POST /v1/auth/refresh-token` to obtain a new one before the old one expires. ## Conventions Every operation is versioned under `/v1`. Collections are plural (`GET /v1/dashboards` lists, `POST /v1/dashboards` creates) and individual records live beneath them (`/v1/dashboards/{id}`). Singular paths such as `/v1/account`, `/v1/project` and `/v1/user` refer to the record the access token was issued for. Request and response bodies are JSON. Timestamps are RFC 3339. Identifiers are opaque strings unless documented otherwise, and collection operations return the records visible to the account the token was issued for. Failures return an [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) problem document with a `detail` field describing what went wrong.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: support@spaciv.com
|
|
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.instanceOfCalcCompare = instanceOfCalcCompare;
|
|
17
|
+
exports.CalcCompareFromJSON = CalcCompareFromJSON;
|
|
18
|
+
exports.CalcCompareFromJSONTyped = CalcCompareFromJSONTyped;
|
|
19
|
+
exports.CalcCompareToJSON = CalcCompareToJSON;
|
|
20
|
+
exports.CalcCompareToJSONTyped = CalcCompareToJSONTyped;
|
|
21
|
+
const CalcRuleRef_1 = require("./CalcRuleRef");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CalcCompare interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfCalcCompare(value) {
|
|
26
|
+
if (!('left' in value) || value['left'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('op' in value) || value['op'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('right' in value) || value['right'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function CalcCompareFromJSON(json) {
|
|
35
|
+
return CalcCompareFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function CalcCompareFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'left': (0, CalcRuleRef_1.CalcRuleRefFromJSON)(json['left']),
|
|
43
|
+
'op': json['op'],
|
|
44
|
+
'right': (0, CalcRuleRef_1.CalcRuleRefFromJSON)(json['right']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function CalcCompareToJSON(json) {
|
|
48
|
+
return CalcCompareToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function CalcCompareToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'left': (0, CalcRuleRef_1.CalcRuleRefToJSON)(value['left']),
|
|
56
|
+
'op': value['op'],
|
|
57
|
+
'right': (0, CalcRuleRef_1.CalcRuleRefToJSON)(value['right']),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* spaciv API
|
|
3
|
+
* The spaciv API powers workplace planning: modelling how many people an organisation has, how they work, and how much space that requires. ## Getting started 1. Exchange credentials for an access token using one of the operations under **Authentication**. 2. Send that token on every subsequent request as `Authorization: Bearer <token>`. 3. Access tokens are short lived. Call `POST /v1/auth/refresh-token` to obtain a new one before the old one expires. ## Conventions Every operation is versioned under `/v1`. Collections are plural (`GET /v1/dashboards` lists, `POST /v1/dashboards` creates) and individual records live beneath them (`/v1/dashboards/{id}`). Singular paths such as `/v1/account`, `/v1/project` and `/v1/user` refer to the record the access token was issued for. Request and response bodies are JSON. Timestamps are RFC 3339. Identifiers are opaque strings unless documented otherwise, and collection operations return the records visible to the account the token was issued for. Failures return an [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) problem document with a `detail` field describing what went wrong.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@spaciv.com
|
|
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 { CalcTest } from './CalcTest';
|
|
13
|
+
import type { CalcRuleRef } from './CalcRuleRef';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface CalcCondition
|
|
18
|
+
*/
|
|
19
|
+
export interface CalcCondition {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {CalcRuleRef}
|
|
23
|
+
* @memberof CalcCondition
|
|
24
|
+
*/
|
|
25
|
+
_else: CalcRuleRef;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {CalcTest}
|
|
29
|
+
* @memberof CalcCondition
|
|
30
|
+
*/
|
|
31
|
+
_if: CalcTest;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {CalcRuleRef}
|
|
35
|
+
* @memberof CalcCondition
|
|
36
|
+
*/
|
|
37
|
+
then: CalcRuleRef;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the CalcCondition interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfCalcCondition(value: object): value is CalcCondition;
|
|
43
|
+
export declare function CalcConditionFromJSON(json: any): CalcCondition;
|
|
44
|
+
export declare function CalcConditionFromJSONTyped(json: any, ignoreDiscriminator: boolean): CalcCondition;
|
|
45
|
+
export declare function CalcConditionToJSON(json: any): CalcCondition;
|
|
46
|
+
export declare function CalcConditionToJSONTyped(value?: CalcCondition | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* spaciv API
|
|
6
|
+
* The spaciv API powers workplace planning: modelling how many people an organisation has, how they work, and how much space that requires. ## Getting started 1. Exchange credentials for an access token using one of the operations under **Authentication**. 2. Send that token on every subsequent request as `Authorization: Bearer <token>`. 3. Access tokens are short lived. Call `POST /v1/auth/refresh-token` to obtain a new one before the old one expires. ## Conventions Every operation is versioned under `/v1`. Collections are plural (`GET /v1/dashboards` lists, `POST /v1/dashboards` creates) and individual records live beneath them (`/v1/dashboards/{id}`). Singular paths such as `/v1/account`, `/v1/project` and `/v1/user` refer to the record the access token was issued for. Request and response bodies are JSON. Timestamps are RFC 3339. Identifiers are opaque strings unless documented otherwise, and collection operations return the records visible to the account the token was issued for. Failures return an [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) problem document with a `detail` field describing what went wrong.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: support@spaciv.com
|
|
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.instanceOfCalcCondition = instanceOfCalcCondition;
|
|
17
|
+
exports.CalcConditionFromJSON = CalcConditionFromJSON;
|
|
18
|
+
exports.CalcConditionFromJSONTyped = CalcConditionFromJSONTyped;
|
|
19
|
+
exports.CalcConditionToJSON = CalcConditionToJSON;
|
|
20
|
+
exports.CalcConditionToJSONTyped = CalcConditionToJSONTyped;
|
|
21
|
+
const CalcTest_1 = require("./CalcTest");
|
|
22
|
+
const CalcRuleRef_1 = require("./CalcRuleRef");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the CalcCondition interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfCalcCondition(value) {
|
|
27
|
+
if (!('_else' in value) || value['_else'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('_if' in value) || value['_if'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('then' in value) || value['then'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function CalcConditionFromJSON(json) {
|
|
36
|
+
return CalcConditionFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function CalcConditionFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'_else': (0, CalcRuleRef_1.CalcRuleRefFromJSON)(json['else']),
|
|
44
|
+
'_if': (0, CalcTest_1.CalcTestFromJSON)(json['if']),
|
|
45
|
+
'then': (0, CalcRuleRef_1.CalcRuleRefFromJSON)(json['then']),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function CalcConditionToJSON(json) {
|
|
49
|
+
return CalcConditionToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function CalcConditionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'else': (0, CalcRuleRef_1.CalcRuleRefToJSON)(value['_else']),
|
|
57
|
+
'if': (0, CalcTest_1.CalcTestToJSON)(value['_if']),
|
|
58
|
+
'then': (0, CalcRuleRef_1.CalcRuleRefToJSON)(value['then']),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* spaciv API
|
|
3
|
+
* The spaciv API powers workplace planning: modelling how many people an organisation has, how they work, and how much space that requires. ## Getting started 1. Exchange credentials for an access token using one of the operations under **Authentication**. 2. Send that token on every subsequent request as `Authorization: Bearer <token>`. 3. Access tokens are short lived. Call `POST /v1/auth/refresh-token` to obtain a new one before the old one expires. ## Conventions Every operation is versioned under `/v1`. Collections are plural (`GET /v1/dashboards` lists, `POST /v1/dashboards` creates) and individual records live beneath them (`/v1/dashboards/{id}`). Singular paths such as `/v1/account`, `/v1/project` and `/v1/user` refer to the record the access token was issued for. Request and response bodies are JSON. Timestamps are RFC 3339. Identifiers are opaque strings unless documented otherwise, and collection operations return the records visible to the account the token was issued for. Failures return an [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) problem document with a `detail` field describing what went wrong.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@spaciv.com
|
|
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 CalcHasNode
|
|
16
|
+
*/
|
|
17
|
+
export interface CalcHasNode {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof CalcHasNode
|
|
22
|
+
*/
|
|
23
|
+
exact: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof CalcHasNode
|
|
28
|
+
*/
|
|
29
|
+
nodes: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CalcHasNode
|
|
34
|
+
*/
|
|
35
|
+
property: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the CalcHasNode interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfCalcHasNode(value: object): value is CalcHasNode;
|
|
41
|
+
export declare function CalcHasNodeFromJSON(json: any): CalcHasNode;
|
|
42
|
+
export declare function CalcHasNodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CalcHasNode;
|
|
43
|
+
export declare function CalcHasNodeToJSON(json: any): CalcHasNode;
|
|
44
|
+
export declare function CalcHasNodeToJSONTyped(value?: CalcHasNode | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* spaciv API
|
|
6
|
+
* The spaciv API powers workplace planning: modelling how many people an organisation has, how they work, and how much space that requires. ## Getting started 1. Exchange credentials for an access token using one of the operations under **Authentication**. 2. Send that token on every subsequent request as `Authorization: Bearer <token>`. 3. Access tokens are short lived. Call `POST /v1/auth/refresh-token` to obtain a new one before the old one expires. ## Conventions Every operation is versioned under `/v1`. Collections are plural (`GET /v1/dashboards` lists, `POST /v1/dashboards` creates) and individual records live beneath them (`/v1/dashboards/{id}`). Singular paths such as `/v1/account`, `/v1/project` and `/v1/user` refer to the record the access token was issued for. Request and response bodies are JSON. Timestamps are RFC 3339. Identifiers are opaque strings unless documented otherwise, and collection operations return the records visible to the account the token was issued for. Failures return an [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) problem document with a `detail` field describing what went wrong.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: support@spaciv.com
|
|
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.instanceOfCalcHasNode = instanceOfCalcHasNode;
|
|
17
|
+
exports.CalcHasNodeFromJSON = CalcHasNodeFromJSON;
|
|
18
|
+
exports.CalcHasNodeFromJSONTyped = CalcHasNodeFromJSONTyped;
|
|
19
|
+
exports.CalcHasNodeToJSON = CalcHasNodeToJSON;
|
|
20
|
+
exports.CalcHasNodeToJSONTyped = CalcHasNodeToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CalcHasNode interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCalcHasNode(value) {
|
|
25
|
+
if (!('exact' in value) || value['exact'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('nodes' in value) || value['nodes'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('property' in value) || value['property'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function CalcHasNodeFromJSON(json) {
|
|
34
|
+
return CalcHasNodeFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function CalcHasNodeFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'exact': json['exact'],
|
|
42
|
+
'nodes': json['nodes'],
|
|
43
|
+
'property': json['property'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function CalcHasNodeToJSON(json) {
|
|
47
|
+
return CalcHasNodeToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function CalcHasNodeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'exact': value['exact'],
|
|
55
|
+
'nodes': value['nodes'],
|
|
56
|
+
'property': value['property'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* spaciv API
|
|
3
|
+
* The spaciv API powers workplace planning: modelling how many people an organisation has, how they work, and how much space that requires. ## Getting started 1. Exchange credentials for an access token using one of the operations under **Authentication**. 2. Send that token on every subsequent request as `Authorization: Bearer <token>`. 3. Access tokens are short lived. Call `POST /v1/auth/refresh-token` to obtain a new one before the old one expires. ## Conventions Every operation is versioned under `/v1`. Collections are plural (`GET /v1/dashboards` lists, `POST /v1/dashboards` creates) and individual records live beneath them (`/v1/dashboards/{id}`). Singular paths such as `/v1/account`, `/v1/project` and `/v1/user` refer to the record the access token was issued for. Request and response bodies are JSON. Timestamps are RFC 3339. Identifiers are opaque strings unless documented otherwise, and collection operations return the records visible to the account the token was issued for. Failures return an [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) problem document with a `detail` field describing what went wrong.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@spaciv.com
|
|
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 CalcIsObject
|
|
16
|
+
*/
|
|
17
|
+
export interface CalcIsObject {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof CalcIsObject
|
|
22
|
+
*/
|
|
23
|
+
objects: Array<string>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the CalcIsObject interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfCalcIsObject(value: object): value is CalcIsObject;
|
|
29
|
+
export declare function CalcIsObjectFromJSON(json: any): CalcIsObject;
|
|
30
|
+
export declare function CalcIsObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): CalcIsObject;
|
|
31
|
+
export declare function CalcIsObjectToJSON(json: any): CalcIsObject;
|
|
32
|
+
export declare function CalcIsObjectToJSONTyped(value?: CalcIsObject | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* spaciv API
|
|
6
|
+
* The spaciv API powers workplace planning: modelling how many people an organisation has, how they work, and how much space that requires. ## Getting started 1. Exchange credentials for an access token using one of the operations under **Authentication**. 2. Send that token on every subsequent request as `Authorization: Bearer <token>`. 3. Access tokens are short lived. Call `POST /v1/auth/refresh-token` to obtain a new one before the old one expires. ## Conventions Every operation is versioned under `/v1`. Collections are plural (`GET /v1/dashboards` lists, `POST /v1/dashboards` creates) and individual records live beneath them (`/v1/dashboards/{id}`). Singular paths such as `/v1/account`, `/v1/project` and `/v1/user` refer to the record the access token was issued for. Request and response bodies are JSON. Timestamps are RFC 3339. Identifiers are opaque strings unless documented otherwise, and collection operations return the records visible to the account the token was issued for. Failures return an [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) problem document with a `detail` field describing what went wrong.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: support@spaciv.com
|
|
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.instanceOfCalcIsObject = instanceOfCalcIsObject;
|
|
17
|
+
exports.CalcIsObjectFromJSON = CalcIsObjectFromJSON;
|
|
18
|
+
exports.CalcIsObjectFromJSONTyped = CalcIsObjectFromJSONTyped;
|
|
19
|
+
exports.CalcIsObjectToJSON = CalcIsObjectToJSON;
|
|
20
|
+
exports.CalcIsObjectToJSONTyped = CalcIsObjectToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CalcIsObject interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCalcIsObject(value) {
|
|
25
|
+
if (!('objects' in value) || value['objects'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function CalcIsObjectFromJSON(json) {
|
|
30
|
+
return CalcIsObjectFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function CalcIsObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'objects': json['objects'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function CalcIsObjectToJSON(json) {
|
|
41
|
+
return CalcIsObjectToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function CalcIsObjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'objects': value['objects'],
|
|
49
|
+
};
|
|
50
|
+
}
|