@spaciv/sdk 0.1.7 → 0.1.8
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 +2 -8
- package/README.md +2 -2
- package/dist/apis/AnalysisApi.d.ts +4 -4
- package/dist/apis/AnalysisApi.js +2 -2
- package/dist/esm/apis/AnalysisApi.d.ts +4 -4
- package/dist/esm/apis/AnalysisApi.js +2 -2
- package/dist/esm/models/{NodeOffset.d.ts → CalcAxis.d.ts} +27 -16
- package/dist/esm/models/{NodeOffset.js → CalcAxis.js} +25 -15
- package/dist/esm/models/{CalcNode.d.ts → CalcAxisMember.d.ts} +24 -18
- package/dist/esm/models/{CalcNode.js → CalcAxisMember.js} +17 -15
- package/dist/esm/models/CalcBody.d.ts +6 -0
- package/dist/esm/models/CalcBody.js +2 -0
- package/dist/esm/models/CalcErrorBody.d.ts +1 -0
- package/dist/esm/models/CalcErrorBody.js +2 -1
- package/dist/esm/models/CalcRes.d.ts +5 -6
- package/dist/esm/models/CalcRes.js +7 -8
- package/dist/esm/models/index.d.ts +2 -8
- package/dist/esm/models/index.js +2 -8
- package/dist/{esm/models/TwoDLegendEntry.d.ts → models/CalcAxis.d.ts} +27 -15
- package/dist/models/{TwoDLegendEntry.js → CalcAxis.js} +31 -19
- package/dist/models/{CalcNode.d.ts → CalcAxisMember.d.ts} +24 -18
- package/dist/models/{CalcNode.js → CalcAxisMember.js} +22 -20
- package/dist/models/CalcBody.d.ts +6 -0
- package/dist/models/CalcBody.js +2 -0
- package/dist/models/CalcErrorBody.d.ts +1 -0
- package/dist/models/CalcErrorBody.js +2 -1
- package/dist/models/CalcRes.d.ts +5 -6
- package/dist/models/CalcRes.js +7 -8
- package/dist/models/index.d.ts +2 -8
- package/dist/models/index.js +2 -8
- package/package.json +1 -1
- package/src/apis/AnalysisApi.ts +4 -4
- package/src/models/{NodeOffset.ts → CalcAxis.ts} +43 -29
- package/src/models/{CalcNode.ts → CalcAxisMember.ts} +34 -26
- package/src/models/CalcBody.ts +8 -0
- package/src/models/CalcErrorBody.ts +2 -1
- package/src/models/CalcRes.ts +16 -23
- package/src/models/index.ts +2 -8
- package/dist/esm/models/Legend.d.ts +0 -23
- package/dist/esm/models/Legend.js +0 -51
- package/dist/esm/models/LegendList.d.ts +0 -32
- package/dist/esm/models/LegendList.js +0 -43
- package/dist/esm/models/LegendOneOf.d.ts +0 -33
- package/dist/esm/models/LegendOneOf.js +0 -44
- package/dist/esm/models/LegendOneOf1.d.ts +0 -33
- package/dist/esm/models/LegendOneOf1.js +0 -44
- package/dist/esm/models/TwoDLegendEntry.js +0 -47
- package/dist/esm/models/TwoDLegendList.d.ts +0 -33
- package/dist/esm/models/TwoDLegendList.js +0 -44
- package/dist/models/Legend.d.ts +0 -23
- package/dist/models/Legend.js +0 -57
- package/dist/models/LegendList.d.ts +0 -32
- package/dist/models/LegendList.js +0 -50
- package/dist/models/LegendOneOf.d.ts +0 -33
- package/dist/models/LegendOneOf.js +0 -51
- package/dist/models/LegendOneOf1.d.ts +0 -33
- package/dist/models/LegendOneOf1.js +0 -51
- package/dist/models/NodeOffset.d.ts +0 -39
- package/dist/models/NodeOffset.js +0 -55
- package/dist/models/TwoDLegendEntry.d.ts +0 -38
- package/dist/models/TwoDLegendList.d.ts +0 -33
- package/dist/models/TwoDLegendList.js +0 -51
- package/src/models/Legend.ts +0 -76
- package/src/models/LegendList.ts +0 -66
- package/src/models/LegendOneOf.ts +0 -74
- package/src/models/LegendOneOf1.ts +0 -74
- package/src/models/TwoDLegendEntry.ts +0 -75
- package/src/models/TwoDLegendList.ts +0 -74
|
@@ -1,33 +0,0 @@
|
|
|
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 { TwoDLegendEntry } from './TwoDLegendEntry';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface TwoDLegendList
|
|
17
|
-
*/
|
|
18
|
-
export interface TwoDLegendList {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<TwoDLegendEntry>}
|
|
22
|
-
* @memberof TwoDLegendList
|
|
23
|
-
*/
|
|
24
|
-
list: Array<TwoDLegendEntry>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the TwoDLegendList interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfTwoDLegendList(value: object): value is TwoDLegendList;
|
|
30
|
-
export declare function TwoDLegendListFromJSON(json: any): TwoDLegendList;
|
|
31
|
-
export declare function TwoDLegendListFromJSONTyped(json: any, ignoreDiscriminator: boolean): TwoDLegendList;
|
|
32
|
-
export declare function TwoDLegendListToJSON(json: any): TwoDLegendList;
|
|
33
|
-
export declare function TwoDLegendListToJSONTyped(value?: TwoDLegendList | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,44 +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
|
-
import { TwoDLegendEntryFromJSON, TwoDLegendEntryToJSON, } from './TwoDLegendEntry';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the TwoDLegendList interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfTwoDLegendList(value) {
|
|
19
|
-
if (!('list' in value) || value['list'] === undefined)
|
|
20
|
-
return false;
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
export function TwoDLegendListFromJSON(json) {
|
|
24
|
-
return TwoDLegendListFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
export function TwoDLegendListFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
-
if (json == null) {
|
|
28
|
-
return json;
|
|
29
|
-
}
|
|
30
|
-
return {
|
|
31
|
-
'list': (json['list'].map(TwoDLegendEntryFromJSON)),
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
export function TwoDLegendListToJSON(json) {
|
|
35
|
-
return TwoDLegendListToJSONTyped(json, false);
|
|
36
|
-
}
|
|
37
|
-
export function TwoDLegendListToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
-
if (value == null) {
|
|
39
|
-
return value;
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
'list': (value['list'].map(TwoDLegendEntryToJSON)),
|
|
43
|
-
};
|
|
44
|
-
}
|
package/dist/models/Legend.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
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 { LegendOneOf } from './LegendOneOf';
|
|
13
|
-
import type { LegendOneOf1 } from './LegendOneOf1';
|
|
14
|
-
/**
|
|
15
|
-
* @type Legend
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
|
-
export type Legend = LegendOneOf | LegendOneOf1;
|
|
20
|
-
export declare function LegendFromJSON(json: any): Legend;
|
|
21
|
-
export declare function LegendFromJSONTyped(json: any, ignoreDiscriminator: boolean): Legend;
|
|
22
|
-
export declare function LegendToJSON(json: any): any;
|
|
23
|
-
export declare function LegendToJSONTyped(value?: Legend | null, ignoreDiscriminator?: boolean): any;
|
package/dist/models/Legend.js
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
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.LegendFromJSON = LegendFromJSON;
|
|
17
|
-
exports.LegendFromJSONTyped = LegendFromJSONTyped;
|
|
18
|
-
exports.LegendToJSON = LegendToJSON;
|
|
19
|
-
exports.LegendToJSONTyped = LegendToJSONTyped;
|
|
20
|
-
const LegendOneOf_1 = require("./LegendOneOf");
|
|
21
|
-
const LegendOneOf1_1 = require("./LegendOneOf1");
|
|
22
|
-
function LegendFromJSON(json) {
|
|
23
|
-
return LegendFromJSONTyped(json, false);
|
|
24
|
-
}
|
|
25
|
-
function LegendFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
-
if (json == null) {
|
|
27
|
-
return json;
|
|
28
|
-
}
|
|
29
|
-
if (typeof json !== 'object') {
|
|
30
|
-
return json;
|
|
31
|
-
}
|
|
32
|
-
if ((0, LegendOneOf_1.instanceOfLegendOneOf)(json)) {
|
|
33
|
-
return (0, LegendOneOf_1.LegendOneOfFromJSONTyped)(json, true);
|
|
34
|
-
}
|
|
35
|
-
if ((0, LegendOneOf1_1.instanceOfLegendOneOf1)(json)) {
|
|
36
|
-
return (0, LegendOneOf1_1.LegendOneOf1FromJSONTyped)(json, true);
|
|
37
|
-
}
|
|
38
|
-
return {};
|
|
39
|
-
}
|
|
40
|
-
function LegendToJSON(json) {
|
|
41
|
-
return LegendToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function LegendToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
if (typeof value !== 'object') {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
if ((0, LegendOneOf_1.instanceOfLegendOneOf)(value)) {
|
|
51
|
-
return (0, LegendOneOf_1.LegendOneOfToJSON)(value);
|
|
52
|
-
}
|
|
53
|
-
if ((0, LegendOneOf1_1.instanceOfLegendOneOf1)(value)) {
|
|
54
|
-
return (0, LegendOneOf1_1.LegendOneOf1ToJSON)(value);
|
|
55
|
-
}
|
|
56
|
-
return {};
|
|
57
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
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 LegendList
|
|
16
|
-
*/
|
|
17
|
-
export interface LegendList {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {Array<string>}
|
|
21
|
-
* @memberof LegendList
|
|
22
|
-
*/
|
|
23
|
-
list: Array<string>;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the LegendList interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfLegendList(value: object): value is LegendList;
|
|
29
|
-
export declare function LegendListFromJSON(json: any): LegendList;
|
|
30
|
-
export declare function LegendListFromJSONTyped(json: any, ignoreDiscriminator: boolean): LegendList;
|
|
31
|
-
export declare function LegendListToJSON(json: any): LegendList;
|
|
32
|
-
export declare function LegendListToJSONTyped(value?: LegendList | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
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.instanceOfLegendList = instanceOfLegendList;
|
|
17
|
-
exports.LegendListFromJSON = LegendListFromJSON;
|
|
18
|
-
exports.LegendListFromJSONTyped = LegendListFromJSONTyped;
|
|
19
|
-
exports.LegendListToJSON = LegendListToJSON;
|
|
20
|
-
exports.LegendListToJSONTyped = LegendListToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the LegendList interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfLegendList(value) {
|
|
25
|
-
if (!('list' in value) || value['list'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function LegendListFromJSON(json) {
|
|
30
|
-
return LegendListFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function LegendListFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'list': json['list'],
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
function LegendListToJSON(json) {
|
|
41
|
-
return LegendListToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function LegendListToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'list': value['list'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
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 { LegendList } from './LegendList';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface LegendOneOf
|
|
17
|
-
*/
|
|
18
|
-
export interface LegendOneOf {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {LegendList}
|
|
22
|
-
* @memberof LegendOneOf
|
|
23
|
-
*/
|
|
24
|
-
list: LegendList;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the LegendOneOf interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfLegendOneOf(value: object): value is LegendOneOf;
|
|
30
|
-
export declare function LegendOneOfFromJSON(json: any): LegendOneOf;
|
|
31
|
-
export declare function LegendOneOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): LegendOneOf;
|
|
32
|
-
export declare function LegendOneOfToJSON(json: any): LegendOneOf;
|
|
33
|
-
export declare function LegendOneOfToJSONTyped(value?: LegendOneOf | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,51 +0,0 @@
|
|
|
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.instanceOfLegendOneOf = instanceOfLegendOneOf;
|
|
17
|
-
exports.LegendOneOfFromJSON = LegendOneOfFromJSON;
|
|
18
|
-
exports.LegendOneOfFromJSONTyped = LegendOneOfFromJSONTyped;
|
|
19
|
-
exports.LegendOneOfToJSON = LegendOneOfToJSON;
|
|
20
|
-
exports.LegendOneOfToJSONTyped = LegendOneOfToJSONTyped;
|
|
21
|
-
const LegendList_1 = require("./LegendList");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the LegendOneOf interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfLegendOneOf(value) {
|
|
26
|
-
if (!('list' in value) || value['list'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
function LegendOneOfFromJSON(json) {
|
|
31
|
-
return LegendOneOfFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
function LegendOneOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (json == null) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'list': (0, LegendList_1.LegendListFromJSON)(json['list']),
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
function LegendOneOfToJSON(json) {
|
|
42
|
-
return LegendOneOfToJSONTyped(json, false);
|
|
43
|
-
}
|
|
44
|
-
function LegendOneOfToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'list': (0, LegendList_1.LegendListToJSON)(value['list']),
|
|
50
|
-
};
|
|
51
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
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 { TwoDLegendList } from './TwoDLegendList';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface LegendOneOf1
|
|
17
|
-
*/
|
|
18
|
-
export interface LegendOneOf1 {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {TwoDLegendList}
|
|
22
|
-
* @memberof LegendOneOf1
|
|
23
|
-
*/
|
|
24
|
-
twoDList: TwoDLegendList;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the LegendOneOf1 interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfLegendOneOf1(value: object): value is LegendOneOf1;
|
|
30
|
-
export declare function LegendOneOf1FromJSON(json: any): LegendOneOf1;
|
|
31
|
-
export declare function LegendOneOf1FromJSONTyped(json: any, ignoreDiscriminator: boolean): LegendOneOf1;
|
|
32
|
-
export declare function LegendOneOf1ToJSON(json: any): LegendOneOf1;
|
|
33
|
-
export declare function LegendOneOf1ToJSONTyped(value?: LegendOneOf1 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,51 +0,0 @@
|
|
|
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.instanceOfLegendOneOf1 = instanceOfLegendOneOf1;
|
|
17
|
-
exports.LegendOneOf1FromJSON = LegendOneOf1FromJSON;
|
|
18
|
-
exports.LegendOneOf1FromJSONTyped = LegendOneOf1FromJSONTyped;
|
|
19
|
-
exports.LegendOneOf1ToJSON = LegendOneOf1ToJSON;
|
|
20
|
-
exports.LegendOneOf1ToJSONTyped = LegendOneOf1ToJSONTyped;
|
|
21
|
-
const TwoDLegendList_1 = require("./TwoDLegendList");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the LegendOneOf1 interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfLegendOneOf1(value) {
|
|
26
|
-
if (!('twoDList' in value) || value['twoDList'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
function LegendOneOf1FromJSON(json) {
|
|
31
|
-
return LegendOneOf1FromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
function LegendOneOf1FromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (json == null) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'twoDList': (0, TwoDLegendList_1.TwoDLegendListFromJSON)(json['twoDList']),
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
function LegendOneOf1ToJSON(json) {
|
|
42
|
-
return LegendOneOf1ToJSONTyped(json, false);
|
|
43
|
-
}
|
|
44
|
-
function LegendOneOf1ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'twoDList': (0, TwoDLegendList_1.TwoDLegendListToJSON)(value['twoDList']),
|
|
50
|
-
};
|
|
51
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
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 { CalcNode } from './CalcNode';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface NodeOffset
|
|
17
|
-
*/
|
|
18
|
-
export interface NodeOffset {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof NodeOffset
|
|
23
|
-
*/
|
|
24
|
-
day: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {CalcNode}
|
|
28
|
-
* @memberof NodeOffset
|
|
29
|
-
*/
|
|
30
|
-
root: CalcNode;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Check if a given object implements the NodeOffset interface.
|
|
34
|
-
*/
|
|
35
|
-
export declare function instanceOfNodeOffset(value: object): value is NodeOffset;
|
|
36
|
-
export declare function NodeOffsetFromJSON(json: any): NodeOffset;
|
|
37
|
-
export declare function NodeOffsetFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeOffset;
|
|
38
|
-
export declare function NodeOffsetToJSON(json: any): NodeOffset;
|
|
39
|
-
export declare function NodeOffsetToJSONTyped(value?: NodeOffset | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,55 +0,0 @@
|
|
|
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.instanceOfNodeOffset = instanceOfNodeOffset;
|
|
17
|
-
exports.NodeOffsetFromJSON = NodeOffsetFromJSON;
|
|
18
|
-
exports.NodeOffsetFromJSONTyped = NodeOffsetFromJSONTyped;
|
|
19
|
-
exports.NodeOffsetToJSON = NodeOffsetToJSON;
|
|
20
|
-
exports.NodeOffsetToJSONTyped = NodeOffsetToJSONTyped;
|
|
21
|
-
const CalcNode_1 = require("./CalcNode");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the NodeOffset interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfNodeOffset(value) {
|
|
26
|
-
if (!('day' in value) || value['day'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('root' in value) || value['root'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
return true;
|
|
31
|
-
}
|
|
32
|
-
function NodeOffsetFromJSON(json) {
|
|
33
|
-
return NodeOffsetFromJSONTyped(json, false);
|
|
34
|
-
}
|
|
35
|
-
function NodeOffsetFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
-
if (json == null) {
|
|
37
|
-
return json;
|
|
38
|
-
}
|
|
39
|
-
return {
|
|
40
|
-
'day': json['day'],
|
|
41
|
-
'root': (0, CalcNode_1.CalcNodeFromJSON)(json['root']),
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
function NodeOffsetToJSON(json) {
|
|
45
|
-
return NodeOffsetToJSONTyped(json, false);
|
|
46
|
-
}
|
|
47
|
-
function NodeOffsetToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
-
if (value == null) {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
return {
|
|
52
|
-
'day': value['day'],
|
|
53
|
-
'root': (0, CalcNode_1.CalcNodeToJSON)(value['root']),
|
|
54
|
-
};
|
|
55
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
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 TwoDLegendEntry
|
|
16
|
-
*/
|
|
17
|
-
export interface TwoDLegendEntry {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {Array<string>}
|
|
21
|
-
* @memberof TwoDLegendEntry
|
|
22
|
-
*/
|
|
23
|
-
list: Array<string>;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof TwoDLegendEntry
|
|
28
|
-
*/
|
|
29
|
-
name: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the TwoDLegendEntry interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfTwoDLegendEntry(value: object): value is TwoDLegendEntry;
|
|
35
|
-
export declare function TwoDLegendEntryFromJSON(json: any): TwoDLegendEntry;
|
|
36
|
-
export declare function TwoDLegendEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): TwoDLegendEntry;
|
|
37
|
-
export declare function TwoDLegendEntryToJSON(json: any): TwoDLegendEntry;
|
|
38
|
-
export declare function TwoDLegendEntryToJSONTyped(value?: TwoDLegendEntry | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,33 +0,0 @@
|
|
|
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 { TwoDLegendEntry } from './TwoDLegendEntry';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface TwoDLegendList
|
|
17
|
-
*/
|
|
18
|
-
export interface TwoDLegendList {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<TwoDLegendEntry>}
|
|
22
|
-
* @memberof TwoDLegendList
|
|
23
|
-
*/
|
|
24
|
-
list: Array<TwoDLegendEntry>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the TwoDLegendList interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfTwoDLegendList(value: object): value is TwoDLegendList;
|
|
30
|
-
export declare function TwoDLegendListFromJSON(json: any): TwoDLegendList;
|
|
31
|
-
export declare function TwoDLegendListFromJSONTyped(json: any, ignoreDiscriminator: boolean): TwoDLegendList;
|
|
32
|
-
export declare function TwoDLegendListToJSON(json: any): TwoDLegendList;
|
|
33
|
-
export declare function TwoDLegendListToJSONTyped(value?: TwoDLegendList | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,51 +0,0 @@
|
|
|
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.instanceOfTwoDLegendList = instanceOfTwoDLegendList;
|
|
17
|
-
exports.TwoDLegendListFromJSON = TwoDLegendListFromJSON;
|
|
18
|
-
exports.TwoDLegendListFromJSONTyped = TwoDLegendListFromJSONTyped;
|
|
19
|
-
exports.TwoDLegendListToJSON = TwoDLegendListToJSON;
|
|
20
|
-
exports.TwoDLegendListToJSONTyped = TwoDLegendListToJSONTyped;
|
|
21
|
-
const TwoDLegendEntry_1 = require("./TwoDLegendEntry");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the TwoDLegendList interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfTwoDLegendList(value) {
|
|
26
|
-
if (!('list' in value) || value['list'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
function TwoDLegendListFromJSON(json) {
|
|
31
|
-
return TwoDLegendListFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
function TwoDLegendListFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (json == null) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'list': (json['list'].map(TwoDLegendEntry_1.TwoDLegendEntryFromJSON)),
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
function TwoDLegendListToJSON(json) {
|
|
42
|
-
return TwoDLegendListToJSONTyped(json, false);
|
|
43
|
-
}
|
|
44
|
-
function TwoDLegendListToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'list': (value['list'].map(TwoDLegendEntry_1.TwoDLegendEntryToJSON)),
|
|
50
|
-
};
|
|
51
|
-
}
|