@spaciv/sdk 0.1.1 → 0.1.3

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.
Files changed (191) hide show
  1. package/.openapi-generator/FILES +25 -0
  2. package/README.md +2 -2
  3. package/dist/apis/AccountsApi.d.ts +24 -24
  4. package/dist/apis/AccountsApi.js +12 -12
  5. package/dist/apis/AuditLogApi.d.ts +1 -1
  6. package/dist/apis/AuthenticationApi.d.ts +8 -8
  7. package/dist/apis/AuthenticationApi.js +4 -4
  8. package/dist/apis/ScriptsApi.d.ts +383 -0
  9. package/dist/apis/ScriptsApi.js +559 -0
  10. package/dist/apis/UsersApi.d.ts +4 -4
  11. package/dist/apis/UsersApi.js +2 -2
  12. package/dist/apis/index.d.ts +1 -0
  13. package/dist/apis/index.js +1 -0
  14. package/dist/esm/apis/AccountsApi.d.ts +24 -24
  15. package/dist/esm/apis/AccountsApi.js +12 -12
  16. package/dist/esm/apis/AuditLogApi.d.ts +1 -1
  17. package/dist/esm/apis/AuthenticationApi.d.ts +8 -8
  18. package/dist/esm/apis/AuthenticationApi.js +4 -4
  19. package/dist/esm/apis/ScriptsApi.d.ts +383 -0
  20. package/dist/esm/apis/ScriptsApi.js +555 -0
  21. package/dist/esm/apis/UsersApi.d.ts +4 -4
  22. package/dist/esm/apis/UsersApi.js +2 -2
  23. package/dist/esm/apis/index.d.ts +1 -0
  24. package/dist/esm/apis/index.js +1 -0
  25. package/dist/esm/models/APIKey.d.ts +6 -0
  26. package/dist/esm/models/APIKey.js +2 -0
  27. package/dist/esm/models/ScriptAuditEntry.d.ts +67 -0
  28. package/dist/esm/models/ScriptAuditEntry.js +63 -0
  29. package/dist/esm/models/ScriptAuditResBody.d.ts +39 -0
  30. package/dist/esm/models/ScriptAuditResBody.js +46 -0
  31. package/dist/esm/models/ScriptDetail.d.ts +161 -0
  32. package/dist/esm/models/ScriptDetail.js +122 -0
  33. package/dist/esm/models/ScriptExport.d.ts +174 -0
  34. package/dist/esm/models/ScriptExport.js +129 -0
  35. package/dist/esm/models/ScriptExportResBody.d.ts +39 -0
  36. package/dist/esm/models/ScriptExportResBody.js +48 -0
  37. package/dist/esm/models/ScriptExportRun.d.ts +92 -0
  38. package/dist/esm/models/ScriptExportRun.js +73 -0
  39. package/dist/esm/models/ScriptKey.d.ts +64 -0
  40. package/dist/esm/models/ScriptKey.js +58 -0
  41. package/dist/esm/models/ScriptListResBody.d.ts +33 -0
  42. package/dist/esm/models/ScriptListResBody.js +44 -0
  43. package/dist/esm/models/ScriptLogLine.d.ts +38 -0
  44. package/dist/esm/models/ScriptLogLine.js +47 -0
  45. package/dist/esm/models/ScriptPatchReqBody.d.ts +98 -0
  46. package/dist/esm/models/ScriptPatchReqBody.js +70 -0
  47. package/dist/esm/models/ScriptPostReqBody.d.ts +113 -0
  48. package/dist/esm/models/ScriptPostReqBody.js +82 -0
  49. package/dist/esm/models/ScriptRun.d.ts +86 -0
  50. package/dist/esm/models/ScriptRun.js +69 -0
  51. package/dist/esm/models/ScriptRunLogsResBody.d.ts +39 -0
  52. package/dist/esm/models/ScriptRunLogsResBody.js +48 -0
  53. package/dist/esm/models/ScriptRunsResBody.d.ts +39 -0
  54. package/dist/esm/models/ScriptRunsResBody.js +46 -0
  55. package/dist/esm/models/ScriptRuntime.d.ts +62 -0
  56. package/dist/esm/models/ScriptRuntime.js +51 -0
  57. package/dist/esm/models/ScriptSchedule.d.ts +38 -0
  58. package/dist/esm/models/ScriptSchedule.js +43 -0
  59. package/dist/esm/models/ScriptSchedulePreviewReqBody.d.ts +44 -0
  60. package/dist/esm/models/ScriptSchedulePreviewReqBody.js +45 -0
  61. package/dist/esm/models/ScriptSchedulePreviewResBody.d.ts +44 -0
  62. package/dist/esm/models/ScriptSchedulePreviewResBody.js +49 -0
  63. package/dist/esm/models/ScriptSecretsReqBody.d.ts +40 -0
  64. package/dist/esm/models/ScriptSecretsReqBody.js +43 -0
  65. package/dist/esm/models/ScriptSecretsResBody.d.ts +134 -0
  66. package/dist/esm/models/ScriptSecretsResBody.js +111 -0
  67. package/dist/esm/models/ScriptSummary.d.ts +128 -0
  68. package/dist/esm/models/ScriptSummary.js +107 -0
  69. package/dist/esm/models/ScriptWebhookResBody.d.ts +32 -0
  70. package/dist/esm/models/ScriptWebhookResBody.js +43 -0
  71. package/dist/esm/models/VariableData.d.ts +2 -1
  72. package/dist/esm/models/VariableData.js +7 -0
  73. package/dist/esm/models/VariableDataOneOf2.d.ts +3 -3
  74. package/dist/esm/models/VariableDataOneOf2.js +4 -4
  75. package/dist/esm/models/VariableDataOneOf3.d.ts +3 -3
  76. package/dist/esm/models/VariableDataOneOf3.js +4 -4
  77. package/dist/esm/models/VariableDataOneOf4.d.ts +3 -3
  78. package/dist/esm/models/VariableDataOneOf4.js +4 -4
  79. package/dist/esm/models/VariableDataOneOf5.d.ts +3 -2
  80. package/dist/esm/models/VariableDataOneOf5.js +4 -3
  81. package/dist/esm/models/VariableDataOneOf6.d.ts +1 -1
  82. package/dist/esm/models/VariableDataOneOf6.js +3 -3
  83. package/dist/esm/models/VariableDataOneOf7.d.ts +32 -0
  84. package/dist/esm/models/VariableDataOneOf7.js +43 -0
  85. package/dist/esm/models/VariableDate.d.ts +50 -0
  86. package/dist/esm/models/VariableDate.js +55 -0
  87. package/dist/esm/models/index.d.ts +24 -0
  88. package/dist/esm/models/index.js +24 -0
  89. package/dist/models/APIKey.d.ts +6 -0
  90. package/dist/models/APIKey.js +2 -0
  91. package/dist/models/ScriptAuditEntry.d.ts +67 -0
  92. package/dist/models/ScriptAuditEntry.js +71 -0
  93. package/dist/models/ScriptAuditResBody.d.ts +39 -0
  94. package/dist/models/ScriptAuditResBody.js +53 -0
  95. package/dist/models/ScriptDetail.d.ts +161 -0
  96. package/dist/models/ScriptDetail.js +130 -0
  97. package/dist/models/ScriptExport.d.ts +174 -0
  98. package/dist/models/ScriptExport.js +137 -0
  99. package/dist/models/ScriptExportResBody.d.ts +39 -0
  100. package/dist/models/ScriptExportResBody.js +55 -0
  101. package/dist/models/ScriptExportRun.d.ts +92 -0
  102. package/dist/models/ScriptExportRun.js +80 -0
  103. package/dist/models/ScriptKey.d.ts +64 -0
  104. package/dist/models/ScriptKey.js +66 -0
  105. package/dist/models/ScriptListResBody.d.ts +33 -0
  106. package/dist/models/ScriptListResBody.js +51 -0
  107. package/dist/models/ScriptLogLine.d.ts +38 -0
  108. package/dist/models/ScriptLogLine.js +54 -0
  109. package/dist/models/ScriptPatchReqBody.d.ts +98 -0
  110. package/dist/models/ScriptPatchReqBody.js +78 -0
  111. package/dist/models/ScriptPostReqBody.d.ts +113 -0
  112. package/dist/models/ScriptPostReqBody.js +90 -0
  113. package/dist/models/ScriptRun.d.ts +86 -0
  114. package/dist/models/ScriptRun.js +76 -0
  115. package/dist/models/ScriptRunLogsResBody.d.ts +39 -0
  116. package/dist/models/ScriptRunLogsResBody.js +55 -0
  117. package/dist/models/ScriptRunsResBody.d.ts +39 -0
  118. package/dist/models/ScriptRunsResBody.js +53 -0
  119. package/dist/models/ScriptRuntime.d.ts +62 -0
  120. package/dist/models/ScriptRuntime.js +58 -0
  121. package/dist/models/ScriptSchedule.d.ts +38 -0
  122. package/dist/models/ScriptSchedule.js +50 -0
  123. package/dist/models/ScriptSchedulePreviewReqBody.d.ts +44 -0
  124. package/dist/models/ScriptSchedulePreviewReqBody.js +52 -0
  125. package/dist/models/ScriptSchedulePreviewResBody.d.ts +44 -0
  126. package/dist/models/ScriptSchedulePreviewResBody.js +56 -0
  127. package/dist/models/ScriptSecretsReqBody.d.ts +40 -0
  128. package/dist/models/ScriptSecretsReqBody.js +50 -0
  129. package/dist/models/ScriptSecretsResBody.d.ts +134 -0
  130. package/dist/models/ScriptSecretsResBody.js +119 -0
  131. package/dist/models/ScriptSummary.d.ts +128 -0
  132. package/dist/models/ScriptSummary.js +115 -0
  133. package/dist/models/ScriptWebhookResBody.d.ts +32 -0
  134. package/dist/models/ScriptWebhookResBody.js +50 -0
  135. package/dist/models/VariableData.d.ts +2 -1
  136. package/dist/models/VariableData.js +7 -0
  137. package/dist/models/VariableDataOneOf2.d.ts +3 -3
  138. package/dist/models/VariableDataOneOf2.js +4 -4
  139. package/dist/models/VariableDataOneOf3.d.ts +3 -3
  140. package/dist/models/VariableDataOneOf3.js +4 -4
  141. package/dist/models/VariableDataOneOf4.d.ts +3 -3
  142. package/dist/models/VariableDataOneOf4.js +4 -4
  143. package/dist/models/VariableDataOneOf5.d.ts +3 -2
  144. package/dist/models/VariableDataOneOf5.js +4 -3
  145. package/dist/models/VariableDataOneOf6.d.ts +1 -1
  146. package/dist/models/VariableDataOneOf6.js +3 -3
  147. package/dist/models/VariableDataOneOf7.d.ts +32 -0
  148. package/dist/models/VariableDataOneOf7.js +50 -0
  149. package/dist/models/VariableDate.d.ts +50 -0
  150. package/dist/models/VariableDate.js +62 -0
  151. package/dist/models/index.d.ts +24 -0
  152. package/dist/models/index.js +24 -0
  153. package/package.json +1 -1
  154. package/src/apis/AccountsApi.ts +24 -24
  155. package/src/apis/AuditLogApi.ts +1 -1
  156. package/src/apis/AuthenticationApi.ts +8 -8
  157. package/src/apis/ScriptsApi.ts +984 -0
  158. package/src/apis/UsersApi.ts +4 -4
  159. package/src/apis/index.ts +1 -0
  160. package/src/models/APIKey.ts +8 -0
  161. package/src/models/ScriptAuditEntry.ts +112 -0
  162. package/src/models/ScriptAuditResBody.ts +82 -0
  163. package/src/models/ScriptDetail.ts +265 -0
  164. package/src/models/ScriptExport.ts +289 -0
  165. package/src/models/ScriptExportResBody.ts +83 -0
  166. package/src/models/ScriptExportRun.ts +151 -0
  167. package/src/models/ScriptKey.ts +109 -0
  168. package/src/models/ScriptListResBody.ts +74 -0
  169. package/src/models/ScriptLogLine.ts +75 -0
  170. package/src/models/ScriptPatchReqBody.ts +158 -0
  171. package/src/models/ScriptPostReqBody.ts +176 -0
  172. package/src/models/ScriptRun.ts +142 -0
  173. package/src/models/ScriptRunLogsResBody.ts +83 -0
  174. package/src/models/ScriptRunsResBody.ts +82 -0
  175. package/src/models/ScriptRuntime.ts +105 -0
  176. package/src/models/ScriptSchedule.ts +73 -0
  177. package/src/models/ScriptSchedulePreviewReqBody.ts +81 -0
  178. package/src/models/ScriptSchedulePreviewResBody.ts +83 -0
  179. package/src/models/ScriptSecretsReqBody.ts +73 -0
  180. package/src/models/ScriptSecretsResBody.ts +225 -0
  181. package/src/models/ScriptSummary.ts +216 -0
  182. package/src/models/ScriptWebhookResBody.ts +66 -0
  183. package/src/models/VariableData.ts +14 -1
  184. package/src/models/VariableDataOneOf2.ts +11 -11
  185. package/src/models/VariableDataOneOf3.ts +11 -11
  186. package/src/models/VariableDataOneOf4.ts +11 -11
  187. package/src/models/VariableDataOneOf5.ts +13 -5
  188. package/src/models/VariableDataOneOf6.ts +4 -4
  189. package/src/models/VariableDataOneOf7.ts +66 -0
  190. package/src/models/VariableDate.ts +93 -0
  191. package/src/models/index.ts +24 -0
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { VariableProperty } from './VariableProperty';
12
+ import type { VariableDate } from './VariableDate';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -18,10 +18,10 @@ import type { VariableProperty } from './VariableProperty';
18
18
  export interface VariableDataOneOf2 {
19
19
  /**
20
20
  *
21
- * @type {VariableProperty}
21
+ * @type {VariableDate}
22
22
  * @memberof VariableDataOneOf2
23
23
  */
24
- node: VariableProperty;
24
+ dateRange: VariableDate;
25
25
  }
26
26
  /**
27
27
  * Check if a given object implements the VariableDataOneOf2 interface.
@@ -18,12 +18,12 @@ exports.VariableDataOneOf2FromJSON = VariableDataOneOf2FromJSON;
18
18
  exports.VariableDataOneOf2FromJSONTyped = VariableDataOneOf2FromJSONTyped;
19
19
  exports.VariableDataOneOf2ToJSON = VariableDataOneOf2ToJSON;
20
20
  exports.VariableDataOneOf2ToJSONTyped = VariableDataOneOf2ToJSONTyped;
21
- const VariableProperty_1 = require("./VariableProperty");
21
+ const VariableDate_1 = require("./VariableDate");
22
22
  /**
23
23
  * Check if a given object implements the VariableDataOneOf2 interface.
24
24
  */
25
25
  function instanceOfVariableDataOneOf2(value) {
26
- if (!('node' in value) || value['node'] === undefined)
26
+ if (!('dateRange' in value) || value['dateRange'] === undefined)
27
27
  return false;
28
28
  return true;
29
29
  }
@@ -35,7 +35,7 @@ function VariableDataOneOf2FromJSONTyped(json, ignoreDiscriminator) {
35
35
  return json;
36
36
  }
37
37
  return {
38
- 'node': (0, VariableProperty_1.VariablePropertyFromJSON)(json['node']),
38
+ 'dateRange': (0, VariableDate_1.VariableDateFromJSON)(json['dateRange']),
39
39
  };
40
40
  }
41
41
  function VariableDataOneOf2ToJSON(json) {
@@ -46,6 +46,6 @@ function VariableDataOneOf2ToJSONTyped(value, ignoreDiscriminator = false) {
46
46
  return value;
47
47
  }
48
48
  return {
49
- 'node': (0, VariableProperty_1.VariablePropertyToJSON)(value['node']),
49
+ 'dateRange': (0, VariableDate_1.VariableDateToJSON)(value['dateRange']),
50
50
  };
51
51
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { VariableNumber } from './VariableNumber';
12
+ import type { VariableProperty } from './VariableProperty';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -18,10 +18,10 @@ import type { VariableNumber } from './VariableNumber';
18
18
  export interface VariableDataOneOf3 {
19
19
  /**
20
20
  *
21
- * @type {VariableNumber}
21
+ * @type {VariableProperty}
22
22
  * @memberof VariableDataOneOf3
23
23
  */
24
- number: VariableNumber;
24
+ node: VariableProperty;
25
25
  }
26
26
  /**
27
27
  * Check if a given object implements the VariableDataOneOf3 interface.
@@ -18,12 +18,12 @@ exports.VariableDataOneOf3FromJSON = VariableDataOneOf3FromJSON;
18
18
  exports.VariableDataOneOf3FromJSONTyped = VariableDataOneOf3FromJSONTyped;
19
19
  exports.VariableDataOneOf3ToJSON = VariableDataOneOf3ToJSON;
20
20
  exports.VariableDataOneOf3ToJSONTyped = VariableDataOneOf3ToJSONTyped;
21
- const VariableNumber_1 = require("./VariableNumber");
21
+ const VariableProperty_1 = require("./VariableProperty");
22
22
  /**
23
23
  * Check if a given object implements the VariableDataOneOf3 interface.
24
24
  */
25
25
  function instanceOfVariableDataOneOf3(value) {
26
- if (!('number' in value) || value['number'] === undefined)
26
+ if (!('node' in value) || value['node'] === undefined)
27
27
  return false;
28
28
  return true;
29
29
  }
@@ -35,7 +35,7 @@ function VariableDataOneOf3FromJSONTyped(json, ignoreDiscriminator) {
35
35
  return json;
36
36
  }
37
37
  return {
38
- 'number': (0, VariableNumber_1.VariableNumberFromJSON)(json['number']),
38
+ 'node': (0, VariableProperty_1.VariablePropertyFromJSON)(json['node']),
39
39
  };
40
40
  }
41
41
  function VariableDataOneOf3ToJSON(json) {
@@ -46,6 +46,6 @@ function VariableDataOneOf3ToJSONTyped(value, ignoreDiscriminator = false) {
46
46
  return value;
47
47
  }
48
48
  return {
49
- 'number': (0, VariableNumber_1.VariableNumberToJSON)(value['number']),
49
+ 'node': (0, VariableProperty_1.VariablePropertyToJSON)(value['node']),
50
50
  };
51
51
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { VariableObject } from './VariableObject';
12
+ import type { VariableNumber } from './VariableNumber';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -18,10 +18,10 @@ import type { VariableObject } from './VariableObject';
18
18
  export interface VariableDataOneOf4 {
19
19
  /**
20
20
  *
21
- * @type {VariableObject}
21
+ * @type {VariableNumber}
22
22
  * @memberof VariableDataOneOf4
23
23
  */
24
- object: VariableObject;
24
+ number: VariableNumber;
25
25
  }
26
26
  /**
27
27
  * Check if a given object implements the VariableDataOneOf4 interface.
@@ -18,12 +18,12 @@ exports.VariableDataOneOf4FromJSON = VariableDataOneOf4FromJSON;
18
18
  exports.VariableDataOneOf4FromJSONTyped = VariableDataOneOf4FromJSONTyped;
19
19
  exports.VariableDataOneOf4ToJSON = VariableDataOneOf4ToJSON;
20
20
  exports.VariableDataOneOf4ToJSONTyped = VariableDataOneOf4ToJSONTyped;
21
- const VariableObject_1 = require("./VariableObject");
21
+ const VariableNumber_1 = require("./VariableNumber");
22
22
  /**
23
23
  * Check if a given object implements the VariableDataOneOf4 interface.
24
24
  */
25
25
  function instanceOfVariableDataOneOf4(value) {
26
- if (!('object' in value) || value['object'] === undefined)
26
+ if (!('number' in value) || value['number'] === undefined)
27
27
  return false;
28
28
  return true;
29
29
  }
@@ -35,7 +35,7 @@ function VariableDataOneOf4FromJSONTyped(json, ignoreDiscriminator) {
35
35
  return json;
36
36
  }
37
37
  return {
38
- 'object': (0, VariableObject_1.VariableObjectFromJSON)(json['object']),
38
+ 'number': (0, VariableNumber_1.VariableNumberFromJSON)(json['number']),
39
39
  };
40
40
  }
41
41
  function VariableDataOneOf4ToJSON(json) {
@@ -46,6 +46,6 @@ function VariableDataOneOf4ToJSONTyped(value, ignoreDiscriminator = false) {
46
46
  return value;
47
47
  }
48
48
  return {
49
- 'object': (0, VariableObject_1.VariableObjectToJSON)(value['object']),
49
+ 'number': (0, VariableNumber_1.VariableNumberToJSON)(value['number']),
50
50
  };
51
51
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { VariableObject } from './VariableObject';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -17,10 +18,10 @@
17
18
  export interface VariableDataOneOf5 {
18
19
  /**
19
20
  *
20
- * @type {string}
21
+ * @type {VariableObject}
21
22
  * @memberof VariableDataOneOf5
22
23
  */
23
- property: string;
24
+ object: VariableObject;
24
25
  }
25
26
  /**
26
27
  * Check if a given object implements the VariableDataOneOf5 interface.
@@ -18,11 +18,12 @@ exports.VariableDataOneOf5FromJSON = VariableDataOneOf5FromJSON;
18
18
  exports.VariableDataOneOf5FromJSONTyped = VariableDataOneOf5FromJSONTyped;
19
19
  exports.VariableDataOneOf5ToJSON = VariableDataOneOf5ToJSON;
20
20
  exports.VariableDataOneOf5ToJSONTyped = VariableDataOneOf5ToJSONTyped;
21
+ const VariableObject_1 = require("./VariableObject");
21
22
  /**
22
23
  * Check if a given object implements the VariableDataOneOf5 interface.
23
24
  */
24
25
  function instanceOfVariableDataOneOf5(value) {
25
- if (!('property' in value) || value['property'] === undefined)
26
+ if (!('object' in value) || value['object'] === undefined)
26
27
  return false;
27
28
  return true;
28
29
  }
@@ -34,7 +35,7 @@ function VariableDataOneOf5FromJSONTyped(json, ignoreDiscriminator) {
34
35
  return json;
35
36
  }
36
37
  return {
37
- 'property': json['property'],
38
+ 'object': (0, VariableObject_1.VariableObjectFromJSON)(json['object']),
38
39
  };
39
40
  }
40
41
  function VariableDataOneOf5ToJSON(json) {
@@ -45,6 +46,6 @@ function VariableDataOneOf5ToJSONTyped(value, ignoreDiscriminator = false) {
45
46
  return value;
46
47
  }
47
48
  return {
48
- 'property': value['property'],
49
+ 'object': (0, VariableObject_1.VariableObjectToJSON)(value['object']),
49
50
  };
50
51
  }
@@ -20,7 +20,7 @@ export interface VariableDataOneOf6 {
20
20
  * @type {string}
21
21
  * @memberof VariableDataOneOf6
22
22
  */
23
- scenario: string;
23
+ property: string;
24
24
  }
25
25
  /**
26
26
  * Check if a given object implements the VariableDataOneOf6 interface.
@@ -22,7 +22,7 @@ exports.VariableDataOneOf6ToJSONTyped = VariableDataOneOf6ToJSONTyped;
22
22
  * Check if a given object implements the VariableDataOneOf6 interface.
23
23
  */
24
24
  function instanceOfVariableDataOneOf6(value) {
25
- if (!('scenario' in value) || value['scenario'] === undefined)
25
+ if (!('property' in value) || value['property'] === undefined)
26
26
  return false;
27
27
  return true;
28
28
  }
@@ -34,7 +34,7 @@ function VariableDataOneOf6FromJSONTyped(json, ignoreDiscriminator) {
34
34
  return json;
35
35
  }
36
36
  return {
37
- 'scenario': json['scenario'],
37
+ 'property': json['property'],
38
38
  };
39
39
  }
40
40
  function VariableDataOneOf6ToJSON(json) {
@@ -45,6 +45,6 @@ function VariableDataOneOf6ToJSONTyped(value, ignoreDiscriminator = false) {
45
45
  return value;
46
46
  }
47
47
  return {
48
- 'scenario': value['scenario'],
48
+ 'property': value['property'],
49
49
  };
50
50
  }
@@ -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 VariableDataOneOf7
16
+ */
17
+ export interface VariableDataOneOf7 {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof VariableDataOneOf7
22
+ */
23
+ scenario: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the VariableDataOneOf7 interface.
27
+ */
28
+ export declare function instanceOfVariableDataOneOf7(value: object): value is VariableDataOneOf7;
29
+ export declare function VariableDataOneOf7FromJSON(json: any): VariableDataOneOf7;
30
+ export declare function VariableDataOneOf7FromJSONTyped(json: any, ignoreDiscriminator: boolean): VariableDataOneOf7;
31
+ export declare function VariableDataOneOf7ToJSON(json: any): VariableDataOneOf7;
32
+ export declare function VariableDataOneOf7ToJSONTyped(value?: VariableDataOneOf7 | 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.instanceOfVariableDataOneOf7 = instanceOfVariableDataOneOf7;
17
+ exports.VariableDataOneOf7FromJSON = VariableDataOneOf7FromJSON;
18
+ exports.VariableDataOneOf7FromJSONTyped = VariableDataOneOf7FromJSONTyped;
19
+ exports.VariableDataOneOf7ToJSON = VariableDataOneOf7ToJSON;
20
+ exports.VariableDataOneOf7ToJSONTyped = VariableDataOneOf7ToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the VariableDataOneOf7 interface.
23
+ */
24
+ function instanceOfVariableDataOneOf7(value) {
25
+ if (!('scenario' in value) || value['scenario'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function VariableDataOneOf7FromJSON(json) {
30
+ return VariableDataOneOf7FromJSONTyped(json, false);
31
+ }
32
+ function VariableDataOneOf7FromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'scenario': json['scenario'],
38
+ };
39
+ }
40
+ function VariableDataOneOf7ToJSON(json) {
41
+ return VariableDataOneOf7ToJSONTyped(json, false);
42
+ }
43
+ function VariableDataOneOf7ToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'scenario': value['scenario'],
49
+ };
50
+ }
@@ -0,0 +1,50 @@
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 VariableDate
16
+ */
17
+ export interface VariableDate {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof VariableDate
22
+ */
23
+ max: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof VariableDate
28
+ */
29
+ min: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof VariableDate
34
+ */
35
+ step: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof VariableDate
40
+ */
41
+ value: number;
42
+ }
43
+ /**
44
+ * Check if a given object implements the VariableDate interface.
45
+ */
46
+ export declare function instanceOfVariableDate(value: object): value is VariableDate;
47
+ export declare function VariableDateFromJSON(json: any): VariableDate;
48
+ export declare function VariableDateFromJSONTyped(json: any, ignoreDiscriminator: boolean): VariableDate;
49
+ export declare function VariableDateToJSON(json: any): VariableDate;
50
+ export declare function VariableDateToJSONTyped(value?: VariableDate | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,62 @@
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.instanceOfVariableDate = instanceOfVariableDate;
17
+ exports.VariableDateFromJSON = VariableDateFromJSON;
18
+ exports.VariableDateFromJSONTyped = VariableDateFromJSONTyped;
19
+ exports.VariableDateToJSON = VariableDateToJSON;
20
+ exports.VariableDateToJSONTyped = VariableDateToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the VariableDate interface.
23
+ */
24
+ function instanceOfVariableDate(value) {
25
+ if (!('max' in value) || value['max'] === undefined)
26
+ return false;
27
+ if (!('min' in value) || value['min'] === undefined)
28
+ return false;
29
+ if (!('step' in value) || value['step'] === undefined)
30
+ return false;
31
+ if (!('value' in value) || value['value'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function VariableDateFromJSON(json) {
36
+ return VariableDateFromJSONTyped(json, false);
37
+ }
38
+ function VariableDateFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'max': json['max'],
44
+ 'min': json['min'],
45
+ 'step': json['step'],
46
+ 'value': json['value'],
47
+ };
48
+ }
49
+ function VariableDateToJSON(json) {
50
+ return VariableDateToJSONTyped(json, false);
51
+ }
52
+ function VariableDateToJSONTyped(value, ignoreDiscriminator = false) {
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'max': value['max'],
58
+ 'min': value['min'],
59
+ 'step': value['step'],
60
+ 'value': value['value'],
61
+ };
62
+ }
@@ -292,6 +292,28 @@ export * from './ScenarioListEntry';
292
292
  export * from './ScenarioListRes';
293
293
  export * from './ScenarioNotFoundDetail';
294
294
  export * from './ScenarioPatch';
295
+ export * from './ScriptAuditEntry';
296
+ export * from './ScriptAuditResBody';
297
+ export * from './ScriptDetail';
298
+ export * from './ScriptExport';
299
+ export * from './ScriptExportResBody';
300
+ export * from './ScriptExportRun';
301
+ export * from './ScriptKey';
302
+ export * from './ScriptListResBody';
303
+ export * from './ScriptLogLine';
304
+ export * from './ScriptPatchReqBody';
305
+ export * from './ScriptPostReqBody';
306
+ export * from './ScriptRun';
307
+ export * from './ScriptRunLogsResBody';
308
+ export * from './ScriptRunsResBody';
309
+ export * from './ScriptRuntime';
310
+ export * from './ScriptSchedule';
311
+ export * from './ScriptSchedulePreviewReqBody';
312
+ export * from './ScriptSchedulePreviewResBody';
313
+ export * from './ScriptSecretsReqBody';
314
+ export * from './ScriptSecretsResBody';
315
+ export * from './ScriptSummary';
316
+ export * from './ScriptWebhookResBody';
295
317
  export * from './SendPasswordPutReqBody';
296
318
  export * from './SerializedEvent';
297
319
  export * from './SingleSelectChangelogData';
@@ -330,6 +352,8 @@ export * from './VariableDataOneOf3';
330
352
  export * from './VariableDataOneOf4';
331
353
  export * from './VariableDataOneOf5';
332
354
  export * from './VariableDataOneOf6';
355
+ export * from './VariableDataOneOf7';
356
+ export * from './VariableDate';
333
357
  export * from './VariableListRes';
334
358
  export * from './VariableNotFoundDetail';
335
359
  export * from './VariableNumber';
@@ -310,6 +310,28 @@ __exportStar(require("./ScenarioListEntry"), exports);
310
310
  __exportStar(require("./ScenarioListRes"), exports);
311
311
  __exportStar(require("./ScenarioNotFoundDetail"), exports);
312
312
  __exportStar(require("./ScenarioPatch"), exports);
313
+ __exportStar(require("./ScriptAuditEntry"), exports);
314
+ __exportStar(require("./ScriptAuditResBody"), exports);
315
+ __exportStar(require("./ScriptDetail"), exports);
316
+ __exportStar(require("./ScriptExport"), exports);
317
+ __exportStar(require("./ScriptExportResBody"), exports);
318
+ __exportStar(require("./ScriptExportRun"), exports);
319
+ __exportStar(require("./ScriptKey"), exports);
320
+ __exportStar(require("./ScriptListResBody"), exports);
321
+ __exportStar(require("./ScriptLogLine"), exports);
322
+ __exportStar(require("./ScriptPatchReqBody"), exports);
323
+ __exportStar(require("./ScriptPostReqBody"), exports);
324
+ __exportStar(require("./ScriptRun"), exports);
325
+ __exportStar(require("./ScriptRunLogsResBody"), exports);
326
+ __exportStar(require("./ScriptRunsResBody"), exports);
327
+ __exportStar(require("./ScriptRuntime"), exports);
328
+ __exportStar(require("./ScriptSchedule"), exports);
329
+ __exportStar(require("./ScriptSchedulePreviewReqBody"), exports);
330
+ __exportStar(require("./ScriptSchedulePreviewResBody"), exports);
331
+ __exportStar(require("./ScriptSecretsReqBody"), exports);
332
+ __exportStar(require("./ScriptSecretsResBody"), exports);
333
+ __exportStar(require("./ScriptSummary"), exports);
334
+ __exportStar(require("./ScriptWebhookResBody"), exports);
313
335
  __exportStar(require("./SendPasswordPutReqBody"), exports);
314
336
  __exportStar(require("./SerializedEvent"), exports);
315
337
  __exportStar(require("./SingleSelectChangelogData"), exports);
@@ -348,6 +370,8 @@ __exportStar(require("./VariableDataOneOf3"), exports);
348
370
  __exportStar(require("./VariableDataOneOf4"), exports);
349
371
  __exportStar(require("./VariableDataOneOf5"), exports);
350
372
  __exportStar(require("./VariableDataOneOf6"), exports);
373
+ __exportStar(require("./VariableDataOneOf7"), exports);
374
+ __exportStar(require("./VariableDate"), exports);
351
375
  __exportStar(require("./VariableListRes"), exports);
352
376
  __exportStar(require("./VariableNotFoundDetail"), exports);
353
377
  __exportStar(require("./VariableNumber"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spaciv/sdk",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "OpenAPI client for @spaciv/sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {