@spaciv/sdk 0.1.7 → 0.1.9

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 (93) hide show
  1. package/.openapi-generator/FILES +2 -8
  2. package/README.md +2 -2
  3. package/dist/apis/AnalysisApi.d.ts +4 -4
  4. package/dist/apis/AnalysisApi.js +2 -2
  5. package/dist/apis/FloorPlansApi.d.ts +8 -8
  6. package/dist/apis/FloorPlansApi.js +4 -4
  7. package/dist/esm/apis/AnalysisApi.d.ts +4 -4
  8. package/dist/esm/apis/AnalysisApi.js +2 -2
  9. package/dist/esm/apis/FloorPlansApi.d.ts +8 -8
  10. package/dist/esm/apis/FloorPlansApi.js +4 -4
  11. package/dist/esm/models/{NodeOffset.d.ts → CalcAxis.d.ts} +27 -16
  12. package/dist/esm/models/{NodeOffset.js → CalcAxis.js} +25 -15
  13. package/dist/esm/models/{CalcNode.d.ts → CalcAxisMember.d.ts} +24 -18
  14. package/dist/esm/models/{CalcNode.js → CalcAxisMember.js} +17 -15
  15. package/dist/esm/models/CalcBody.d.ts +6 -0
  16. package/dist/esm/models/CalcBody.js +2 -0
  17. package/dist/esm/models/CalcErrorBody.d.ts +1 -0
  18. package/dist/esm/models/CalcErrorBody.js +2 -1
  19. package/dist/esm/models/CalcRes.d.ts +5 -6
  20. package/dist/esm/models/CalcRes.js +7 -8
  21. package/dist/esm/models/FloorplanCreateSpace.d.ts +12 -0
  22. package/dist/esm/models/FloorplanCreateSpace.js +4 -0
  23. package/dist/esm/models/FloorplanGetBody.d.ts +15 -0
  24. package/dist/esm/models/FloorplanGetBody.js +12 -0
  25. package/dist/esm/models/FloorplanGetBodySpace.d.ts +12 -0
  26. package/dist/esm/models/FloorplanGetBodySpace.js +4 -0
  27. package/dist/esm/models/FloorplanPatchParamsBody.d.ts +6 -0
  28. package/dist/esm/models/FloorplanPatchParamsBody.js +2 -0
  29. package/dist/esm/models/index.d.ts +2 -8
  30. package/dist/esm/models/index.js +2 -8
  31. package/dist/{esm/models/TwoDLegendEntry.d.ts → models/CalcAxis.d.ts} +27 -15
  32. package/dist/models/{TwoDLegendEntry.js → CalcAxis.js} +31 -19
  33. package/dist/models/{CalcNode.d.ts → CalcAxisMember.d.ts} +24 -18
  34. package/dist/models/{CalcNode.js → CalcAxisMember.js} +22 -20
  35. package/dist/models/CalcBody.d.ts +6 -0
  36. package/dist/models/CalcBody.js +2 -0
  37. package/dist/models/CalcErrorBody.d.ts +1 -0
  38. package/dist/models/CalcErrorBody.js +2 -1
  39. package/dist/models/CalcRes.d.ts +5 -6
  40. package/dist/models/CalcRes.js +7 -8
  41. package/dist/models/FloorplanCreateSpace.d.ts +12 -0
  42. package/dist/models/FloorplanCreateSpace.js +4 -0
  43. package/dist/models/FloorplanGetBody.d.ts +15 -0
  44. package/dist/models/FloorplanGetBody.js +13 -0
  45. package/dist/models/FloorplanGetBodySpace.d.ts +12 -0
  46. package/dist/models/FloorplanGetBodySpace.js +4 -0
  47. package/dist/models/FloorplanPatchParamsBody.d.ts +6 -0
  48. package/dist/models/FloorplanPatchParamsBody.js +2 -0
  49. package/dist/models/index.d.ts +2 -8
  50. package/dist/models/index.js +2 -8
  51. package/package.json +1 -1
  52. package/src/apis/AnalysisApi.ts +4 -4
  53. package/src/apis/FloorPlansApi.ts +8 -8
  54. package/src/models/{NodeOffset.ts → CalcAxis.ts} +43 -29
  55. package/src/models/{CalcNode.ts → CalcAxisMember.ts} +34 -26
  56. package/src/models/CalcBody.ts +8 -0
  57. package/src/models/CalcErrorBody.ts +2 -1
  58. package/src/models/CalcRes.ts +16 -23
  59. package/src/models/FloorplanCreateSpace.ts +16 -0
  60. package/src/models/FloorplanGetBody.ts +21 -0
  61. package/src/models/FloorplanGetBodySpace.ts +16 -0
  62. package/src/models/FloorplanPatchParamsBody.ts +8 -0
  63. package/src/models/index.ts +2 -8
  64. package/dist/esm/models/Legend.d.ts +0 -23
  65. package/dist/esm/models/Legend.js +0 -51
  66. package/dist/esm/models/LegendList.d.ts +0 -32
  67. package/dist/esm/models/LegendList.js +0 -43
  68. package/dist/esm/models/LegendOneOf.d.ts +0 -33
  69. package/dist/esm/models/LegendOneOf.js +0 -44
  70. package/dist/esm/models/LegendOneOf1.d.ts +0 -33
  71. package/dist/esm/models/LegendOneOf1.js +0 -44
  72. package/dist/esm/models/TwoDLegendEntry.js +0 -47
  73. package/dist/esm/models/TwoDLegendList.d.ts +0 -33
  74. package/dist/esm/models/TwoDLegendList.js +0 -44
  75. package/dist/models/Legend.d.ts +0 -23
  76. package/dist/models/Legend.js +0 -57
  77. package/dist/models/LegendList.d.ts +0 -32
  78. package/dist/models/LegendList.js +0 -50
  79. package/dist/models/LegendOneOf.d.ts +0 -33
  80. package/dist/models/LegendOneOf.js +0 -51
  81. package/dist/models/LegendOneOf1.d.ts +0 -33
  82. package/dist/models/LegendOneOf1.js +0 -51
  83. package/dist/models/NodeOffset.d.ts +0 -39
  84. package/dist/models/NodeOffset.js +0 -55
  85. package/dist/models/TwoDLegendEntry.d.ts +0 -38
  86. package/dist/models/TwoDLegendList.d.ts +0 -33
  87. package/dist/models/TwoDLegendList.js +0 -51
  88. package/src/models/Legend.ts +0 -76
  89. package/src/models/LegendList.ts +0 -66
  90. package/src/models/LegendOneOf.ts +0 -74
  91. package/src/models/LegendOneOf1.ts +0 -74
  92. package/src/models/TwoDLegendEntry.ts +0 -75
  93. package/src/models/TwoDLegendList.ts +0 -74
@@ -1,75 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * spaciv API
5
- * 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.
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: support@spaciv.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface TwoDLegendEntry
20
- */
21
- export interface TwoDLegendEntry {
22
- /**
23
- *
24
- * @type {Array<string>}
25
- * @memberof TwoDLegendEntry
26
- */
27
- list: Array<string>;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof TwoDLegendEntry
32
- */
33
- name: string;
34
- }
35
-
36
- /**
37
- * Check if a given object implements the TwoDLegendEntry interface.
38
- */
39
- export function instanceOfTwoDLegendEntry(value: object): value is TwoDLegendEntry {
40
- if (!('list' in value) || value['list'] === undefined) return false;
41
- if (!('name' in value) || value['name'] === undefined) return false;
42
- return true;
43
- }
44
-
45
- export function TwoDLegendEntryFromJSON(json: any): TwoDLegendEntry {
46
- return TwoDLegendEntryFromJSONTyped(json, false);
47
- }
48
-
49
- export function TwoDLegendEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): TwoDLegendEntry {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'list': json['list'],
56
- 'name': json['name'],
57
- };
58
- }
59
-
60
- export function TwoDLegendEntryToJSON(json: any): TwoDLegendEntry {
61
- return TwoDLegendEntryToJSONTyped(json, false);
62
- }
63
-
64
- export function TwoDLegendEntryToJSONTyped(value?: TwoDLegendEntry | null, ignoreDiscriminator: boolean = false): any {
65
- if (value == null) {
66
- return value;
67
- }
68
-
69
- return {
70
-
71
- 'list': value['list'],
72
- 'name': value['name'],
73
- };
74
- }
75
-
@@ -1,74 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * spaciv API
5
- * 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.
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: support@spaciv.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { TwoDLegendEntry } from './TwoDLegendEntry';
17
- import {
18
- TwoDLegendEntryFromJSON,
19
- TwoDLegendEntryFromJSONTyped,
20
- TwoDLegendEntryToJSON,
21
- TwoDLegendEntryToJSONTyped,
22
- } from './TwoDLegendEntry';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface TwoDLegendList
28
- */
29
- export interface TwoDLegendList {
30
- /**
31
- *
32
- * @type {Array<TwoDLegendEntry>}
33
- * @memberof TwoDLegendList
34
- */
35
- list: Array<TwoDLegendEntry>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the TwoDLegendList interface.
40
- */
41
- export function instanceOfTwoDLegendList(value: object): value is TwoDLegendList {
42
- if (!('list' in value) || value['list'] === undefined) return false;
43
- return true;
44
- }
45
-
46
- export function TwoDLegendListFromJSON(json: any): TwoDLegendList {
47
- return TwoDLegendListFromJSONTyped(json, false);
48
- }
49
-
50
- export function TwoDLegendListFromJSONTyped(json: any, ignoreDiscriminator: boolean): TwoDLegendList {
51
- if (json == null) {
52
- return json;
53
- }
54
- return {
55
-
56
- 'list': ((json['list'] as Array<any>).map(TwoDLegendEntryFromJSON)),
57
- };
58
- }
59
-
60
- export function TwoDLegendListToJSON(json: any): TwoDLegendList {
61
- return TwoDLegendListToJSONTyped(json, false);
62
- }
63
-
64
- export function TwoDLegendListToJSONTyped(value?: TwoDLegendList | null, ignoreDiscriminator: boolean = false): any {
65
- if (value == null) {
66
- return value;
67
- }
68
-
69
- return {
70
-
71
- 'list': ((value['list'] as Array<any>).map(TwoDLegendEntryToJSON)),
72
- };
73
- }
74
-