@spaciv/sdk 0.1.8 → 0.1.10

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 (63) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/README.md +2 -2
  3. package/dist/apis/ContributionsApi.d.ts +4 -4
  4. package/dist/apis/ContributionsApi.js +2 -2
  5. package/dist/apis/DataCollectionApi.d.ts +12 -12
  6. package/dist/apis/DataCollectionApi.js +6 -6
  7. package/dist/apis/FloorPlansApi.d.ts +8 -8
  8. package/dist/apis/FloorPlansApi.js +4 -4
  9. package/dist/esm/apis/ContributionsApi.d.ts +4 -4
  10. package/dist/esm/apis/ContributionsApi.js +2 -2
  11. package/dist/esm/apis/DataCollectionApi.d.ts +12 -12
  12. package/dist/esm/apis/DataCollectionApi.js +6 -6
  13. package/dist/esm/apis/FloorPlansApi.d.ts +8 -8
  14. package/dist/esm/apis/FloorPlansApi.js +4 -4
  15. package/dist/esm/models/DatacollectionBody.d.ts +13 -0
  16. package/dist/esm/models/DatacollectionBody.js +5 -0
  17. package/dist/esm/models/DatacollectionChangelogBody.d.ts +13 -0
  18. package/dist/esm/models/DatacollectionChangelogBody.js +9 -0
  19. package/dist/esm/models/DatacollectionContributor.d.ts +38 -0
  20. package/dist/esm/models/DatacollectionContributor.js +47 -0
  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/GetDatacollectionRes.d.ts +6 -0
  30. package/dist/esm/models/GetDatacollectionRes.js +2 -0
  31. package/dist/esm/models/index.d.ts +1 -0
  32. package/dist/esm/models/index.js +1 -0
  33. package/dist/models/DatacollectionBody.d.ts +13 -0
  34. package/dist/models/DatacollectionBody.js +5 -0
  35. package/dist/models/DatacollectionChangelogBody.d.ts +13 -0
  36. package/dist/models/DatacollectionChangelogBody.js +9 -0
  37. package/dist/models/DatacollectionContributor.d.ts +38 -0
  38. package/dist/models/DatacollectionContributor.js +54 -0
  39. package/dist/models/FloorplanCreateSpace.d.ts +12 -0
  40. package/dist/models/FloorplanCreateSpace.js +4 -0
  41. package/dist/models/FloorplanGetBody.d.ts +15 -0
  42. package/dist/models/FloorplanGetBody.js +13 -0
  43. package/dist/models/FloorplanGetBodySpace.d.ts +12 -0
  44. package/dist/models/FloorplanGetBodySpace.js +4 -0
  45. package/dist/models/FloorplanPatchParamsBody.d.ts +6 -0
  46. package/dist/models/FloorplanPatchParamsBody.js +2 -0
  47. package/dist/models/GetDatacollectionRes.d.ts +6 -0
  48. package/dist/models/GetDatacollectionRes.js +2 -0
  49. package/dist/models/index.d.ts +1 -0
  50. package/dist/models/index.js +1 -0
  51. package/package.json +1 -1
  52. package/src/apis/ContributionsApi.ts +4 -4
  53. package/src/apis/DataCollectionApi.ts +12 -12
  54. package/src/apis/FloorPlansApi.ts +8 -8
  55. package/src/models/DatacollectionBody.ts +23 -0
  56. package/src/models/DatacollectionChangelogBody.ts +25 -0
  57. package/src/models/DatacollectionContributor.ts +75 -0
  58. package/src/models/FloorplanCreateSpace.ts +16 -0
  59. package/src/models/FloorplanGetBody.ts +21 -0
  60. package/src/models/FloorplanGetBodySpace.ts +16 -0
  61. package/src/models/FloorplanPatchParamsBody.ts +8 -0
  62. package/src/models/GetDatacollectionRes.ts +8 -0
  63. package/src/models/index.ts +1 -0
@@ -101,7 +101,7 @@ export class DataCollectionApi extends runtime.BaseAPI {
101
101
  });
102
102
  }
103
103
  /**
104
- * Returns the survey and a summary of contribution progress: how many contributors have started, completed, and the total invited. Requires the *View crowd modelling* permission.
104
+ * Returns the survey and a summary of contribution progress: how many contributors have started, completed, and the total invited. Requires the *View crowd modelling*, *View data collection preview* or *View public data collection* permission; drafts need one of the first two. Callers without *View crowd modelling* receive the survey without its `contributors` list or progress counts. For an email or preferred-channel survey whose contributors were never uploaded, `legacyContributors` counts the contributors it takes from the object group named by its authentication mode.
105
105
  * Get a data collection survey
106
106
  */
107
107
  getRaw(requestParameters, initOverrides) {
@@ -130,7 +130,7 @@ export class DataCollectionApi extends runtime.BaseAPI {
130
130
  });
131
131
  }
132
132
  /**
133
- * Returns the survey and a summary of contribution progress: how many contributors have started, completed, and the total invited. Requires the *View crowd modelling* permission.
133
+ * Returns the survey and a summary of contribution progress: how many contributors have started, completed, and the total invited. Requires the *View crowd modelling*, *View data collection preview* or *View public data collection* permission; drafts need one of the first two. Callers without *View crowd modelling* receive the survey without its `contributors` list or progress counts. For an email or preferred-channel survey whose contributors were never uploaded, `legacyContributors` counts the contributors it takes from the object group named by its authentication mode.
134
134
  * Get a data collection survey
135
135
  */
136
136
  get(requestParameters, initOverrides) {
@@ -263,7 +263,7 @@ export class DataCollectionApi extends runtime.BaseAPI {
263
263
  });
264
264
  }
265
265
  /**
266
- * Returns every invited contributor for the survey, each with their current contribution state and contact details. For email-authenticated surveys the list is derived from the configured audience (object group or dataset); for anonymous and public surveys it reflects submitted contributions. Requires the *View crowd modelling* permission.
266
+ * Returns every contributor of an email or preferred-channel survey, each with their current contribution state and contact details: the survey\'s uploaded contributors or, if none were ever uploaded, the users in the object group named by its authentication mode. Anonymous and public surveys have no contributor list and return an empty list. Requires the *View crowd modelling* permission.
267
267
  * List contributors for a survey
268
268
  */
269
269
  listContributorsRaw(requestParameters, initOverrides) {
@@ -292,7 +292,7 @@ export class DataCollectionApi extends runtime.BaseAPI {
292
292
  });
293
293
  }
294
294
  /**
295
- * Returns every invited contributor for the survey, each with their current contribution state and contact details. For email-authenticated surveys the list is derived from the configured audience (object group or dataset); for anonymous and public surveys it reflects submitted contributions. Requires the *View crowd modelling* permission.
295
+ * Returns every contributor of an email or preferred-channel survey, each with their current contribution state and contact details: the survey\'s uploaded contributors or, if none were ever uploaded, the users in the object group named by its authentication mode. Anonymous and public surveys have no contributor list and return an empty list. Requires the *View crowd modelling* permission.
296
296
  * List contributors for a survey
297
297
  */
298
298
  listContributors(requestParameters, initOverrides) {
@@ -302,7 +302,7 @@ export class DataCollectionApi extends runtime.BaseAPI {
302
302
  });
303
303
  }
304
304
  /**
305
- * Partially updates the survey\'s name, steps, authentication mode, status, and other configurable fields. Only fields present in the request body are changed. Requires the *Configure crowd modelling* permission. Returns 400 if `anonymisationProperty` names a property that does not exist, or that is not a tree property for email or preferred-channel authentication. Also returns 400 if an already-set anonymisation property or authentication mode is changed, or status is moved back to draft, once the survey has left draft; an empty property or mode may still be set.
305
+ * Partially updates the survey\'s name, steps, authentication mode, status, and other configurable fields. Only fields present in the request body are changed. Requires the *Configure crowd modelling* permission. Returns 400 if `anonymisationProperty` names a property that does not exist, or that is not a tree property for email or preferred-channel authentication. Also returns 400 if an already-set anonymisation property or authentication mode is changed, or status is moved back to draft, once the survey has left draft; an empty property or mode may still be set. The object group ID in an email or preferred-channel authentication mode is only locked until contributors have been uploaded. For email or preferred-channel authentication, `contributors` lists each contributor\'s user ID and their nodes on the anonymisation property; a non-empty list replaces the stored one and `clearContributors` empties it. Sending either requires the *Upload data collection contributors* permission as well, and sending both returns 400. Switching a draft to anonymous or public authentication clears its contributors. Returns 400 if contributors are uploaded for anonymous or public authentication, if a contributor is listed twice, is not a user of the account, or names a node that is not on the anonymisation property, if the contributors change or are cleared once the survey has left draft, or if the survey leaves draft without contributors. Also returns 400 if the stored survey, contributors included, would exceed 300 KiB; at one node ID per contributor that is roughly 5,000 contributors. A survey that leaves draft without ever having had contributors uploaded takes them from the object group named by its authentication mode, if any.
306
306
  * Update a data collection survey
307
307
  */
308
308
  updateRaw(requestParameters, initOverrides) {
@@ -333,7 +333,7 @@ export class DataCollectionApi extends runtime.BaseAPI {
333
333
  });
334
334
  }
335
335
  /**
336
- * Partially updates the survey\'s name, steps, authentication mode, status, and other configurable fields. Only fields present in the request body are changed. Requires the *Configure crowd modelling* permission. Returns 400 if `anonymisationProperty` names a property that does not exist, or that is not a tree property for email or preferred-channel authentication. Also returns 400 if an already-set anonymisation property or authentication mode is changed, or status is moved back to draft, once the survey has left draft; an empty property or mode may still be set.
336
+ * Partially updates the survey\'s name, steps, authentication mode, status, and other configurable fields. Only fields present in the request body are changed. Requires the *Configure crowd modelling* permission. Returns 400 if `anonymisationProperty` names a property that does not exist, or that is not a tree property for email or preferred-channel authentication. Also returns 400 if an already-set anonymisation property or authentication mode is changed, or status is moved back to draft, once the survey has left draft; an empty property or mode may still be set. The object group ID in an email or preferred-channel authentication mode is only locked until contributors have been uploaded. For email or preferred-channel authentication, `contributors` lists each contributor\'s user ID and their nodes on the anonymisation property; a non-empty list replaces the stored one and `clearContributors` empties it. Sending either requires the *Upload data collection contributors* permission as well, and sending both returns 400. Switching a draft to anonymous or public authentication clears its contributors. Returns 400 if contributors are uploaded for anonymous or public authentication, if a contributor is listed twice, is not a user of the account, or names a node that is not on the anonymisation property, if the contributors change or are cleared once the survey has left draft, or if the survey leaves draft without contributors. Also returns 400 if the stored survey, contributors included, would exceed 300 KiB; at one node ID per contributor that is roughly 5,000 contributors. A survey that leaves draft without ever having had contributors uploaded takes them from the object group named by its authentication mode, if any.
337
337
  * Update a data collection survey
338
338
  */
339
339
  update(requestParameters, initOverrides) {
@@ -71,7 +71,7 @@ export interface FloorPlansApiInterface {
71
71
  */
72
72
  delete(requestParameters: FloorPlansApiDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object>;
73
73
  /**
74
- * Returns the floor plan\'s metadata, space overlay geometry, and image offset. Returns an empty body (not 404) when the floor plan does not exist. Use `GET /v1/floorplans/{id}/images/{imageType}` to retrieve the drawing image. Requires the *View floorplans* permission.
74
+ * Returns the floor plan\'s metadata, view mode, space overlay geometry with each space\'s 3D heights, and image offset. Returns an empty body (not 404) when the floor plan does not exist. Use `GET /v1/floorplans/{id}/images/{imageType}` to retrieve the drawing image. Requires the *View floorplans* permission.
75
75
  * @summary Get a floor plan
76
76
  * @param {string} id
77
77
  * @param {*} [options] Override http request option.
@@ -80,7 +80,7 @@ export interface FloorPlansApiInterface {
80
80
  */
81
81
  getRaw(requestParameters: FloorPlansApiGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FloorplanGetBody>>;
82
82
  /**
83
- * Returns the floor plan\'s metadata, space overlay geometry, and image offset. Returns an empty body (not 404) when the floor plan does not exist. Use `GET /v1/floorplans/{id}/images/{imageType}` to retrieve the drawing image. Requires the *View floorplans* permission.
83
+ * Returns the floor plan\'s metadata, view mode, space overlay geometry with each space\'s 3D heights, and image offset. Returns an empty body (not 404) when the floor plan does not exist. Use `GET /v1/floorplans/{id}/images/{imageType}` to retrieve the drawing image. Requires the *View floorplans* permission.
84
84
  * Get a floor plan
85
85
  */
86
86
  get(requestParameters: FloorPlansApiGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FloorplanGetBody>;
@@ -114,7 +114,7 @@ export interface FloorPlansApiInterface {
114
114
  */
115
115
  list(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<FloorplanBrief>>;
116
116
  /**
117
- * Partially updates the floor plan\'s name, linked property and node, creation timestamp, image overlay offset, background and foreground images, and space geometry. Only fields present in the request body are changed, and the request fails with `409` if the floor plan keeps changing while they are. When `spaces` is provided the entire space overlay is replaced. Requires the *Edit floorplans* permission. `backgroundFile` and `foregroundFile` take the ID of an image in the account\'s file storage (see `/v1/account/files`), or an empty string to remove the layer\'s image; choosing a file also requires the *View file storage* permission. The file must be a PNG, JPEG, GIF, WebP or SVG image of at most 4 MB that is not quarantined, otherwise the request fails with `422` (`403` when quarantined) and nothing is changed. Setting or removing a layer\'s file also deletes any image previously uploaded to that layer through `PUT /v1/floorplans/{id}/images/{imageType}`.
117
+ * Partially updates the floor plan\'s name, linked property and node, creation timestamp, image overlay offset, background and foreground images, view mode, and space geometry. Only fields present in the request body are changed, and the request fails with `409` if the floor plan keeps changing while they are. When `spaces` is provided the entire space overlay is replaced. `viewMode` is one of `2d-and-3d`, `3d-only` or `2d-only`. A space\'s `startHeight` and `endHeight` are in the same units as its paths, must be set together and the end must be above the start; a space without them is drawn at a default height scaled to the floor plan. Requires the *Edit floorplans* permission. `backgroundFile` and `foregroundFile` take the ID of an image in the account\'s file storage (see `/v1/account/files`), or an empty string to remove the layer\'s image; choosing a file also requires the *View file storage* permission. The file must be a PNG, JPEG, GIF, WebP or SVG image of at most 4 MB that is not quarantined, otherwise the request fails with `422` (`403` when quarantined) and nothing is changed. Setting or removing a layer\'s file also deletes any image previously uploaded to that layer through `PUT /v1/floorplans/{id}/images/{imageType}`.
118
118
  * @summary Update a floor plan
119
119
  * @param {string} id
120
120
  * @param {FloorplanPatchParamsBody} [floorplanPatchParamsBody]
@@ -124,7 +124,7 @@ export interface FloorPlansApiInterface {
124
124
  */
125
125
  updateRaw(requestParameters: FloorPlansApiUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>>;
126
126
  /**
127
- * Partially updates the floor plan\'s name, linked property and node, creation timestamp, image overlay offset, background and foreground images, and space geometry. Only fields present in the request body are changed, and the request fails with `409` if the floor plan keeps changing while they are. When `spaces` is provided the entire space overlay is replaced. Requires the *Edit floorplans* permission. `backgroundFile` and `foregroundFile` take the ID of an image in the account\'s file storage (see `/v1/account/files`), or an empty string to remove the layer\'s image; choosing a file also requires the *View file storage* permission. The file must be a PNG, JPEG, GIF, WebP or SVG image of at most 4 MB that is not quarantined, otherwise the request fails with `422` (`403` when quarantined) and nothing is changed. Setting or removing a layer\'s file also deletes any image previously uploaded to that layer through `PUT /v1/floorplans/{id}/images/{imageType}`.
127
+ * Partially updates the floor plan\'s name, linked property and node, creation timestamp, image overlay offset, background and foreground images, view mode, and space geometry. Only fields present in the request body are changed, and the request fails with `409` if the floor plan keeps changing while they are. When `spaces` is provided the entire space overlay is replaced. `viewMode` is one of `2d-and-3d`, `3d-only` or `2d-only`. A space\'s `startHeight` and `endHeight` are in the same units as its paths, must be set together and the end must be above the start; a space without them is drawn at a default height scaled to the floor plan. Requires the *Edit floorplans* permission. `backgroundFile` and `foregroundFile` take the ID of an image in the account\'s file storage (see `/v1/account/files`), or an empty string to remove the layer\'s image; choosing a file also requires the *View file storage* permission. The file must be a PNG, JPEG, GIF, WebP or SVG image of at most 4 MB that is not quarantined, otherwise the request fails with `422` (`403` when quarantined) and nothing is changed. Setting or removing a layer\'s file also deletes any image previously uploaded to that layer through `PUT /v1/floorplans/{id}/images/{imageType}`.
128
128
  * Update a floor plan
129
129
  */
130
130
  update(requestParameters: FloorPlansApiUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object>;
@@ -171,12 +171,12 @@ export declare class FloorPlansApi extends runtime.BaseAPI implements FloorPlans
171
171
  */
172
172
  delete(requestParameters: FloorPlansApiDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object>;
173
173
  /**
174
- * Returns the floor plan\'s metadata, space overlay geometry, and image offset. Returns an empty body (not 404) when the floor plan does not exist. Use `GET /v1/floorplans/{id}/images/{imageType}` to retrieve the drawing image. Requires the *View floorplans* permission.
174
+ * Returns the floor plan\'s metadata, view mode, space overlay geometry with each space\'s 3D heights, and image offset. Returns an empty body (not 404) when the floor plan does not exist. Use `GET /v1/floorplans/{id}/images/{imageType}` to retrieve the drawing image. Requires the *View floorplans* permission.
175
175
  * Get a floor plan
176
176
  */
177
177
  getRaw(requestParameters: FloorPlansApiGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FloorplanGetBody>>;
178
178
  /**
179
- * Returns the floor plan\'s metadata, space overlay geometry, and image offset. Returns an empty body (not 404) when the floor plan does not exist. Use `GET /v1/floorplans/{id}/images/{imageType}` to retrieve the drawing image. Requires the *View floorplans* permission.
179
+ * Returns the floor plan\'s metadata, view mode, space overlay geometry with each space\'s 3D heights, and image offset. Returns an empty body (not 404) when the floor plan does not exist. Use `GET /v1/floorplans/{id}/images/{imageType}` to retrieve the drawing image. Requires the *View floorplans* permission.
180
180
  * Get a floor plan
181
181
  */
182
182
  get(requestParameters: FloorPlansApiGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FloorplanGetBody>;
@@ -201,12 +201,12 @@ export declare class FloorPlansApi extends runtime.BaseAPI implements FloorPlans
201
201
  */
202
202
  list(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<FloorplanBrief>>;
203
203
  /**
204
- * Partially updates the floor plan\'s name, linked property and node, creation timestamp, image overlay offset, background and foreground images, and space geometry. Only fields present in the request body are changed, and the request fails with `409` if the floor plan keeps changing while they are. When `spaces` is provided the entire space overlay is replaced. Requires the *Edit floorplans* permission. `backgroundFile` and `foregroundFile` take the ID of an image in the account\'s file storage (see `/v1/account/files`), or an empty string to remove the layer\'s image; choosing a file also requires the *View file storage* permission. The file must be a PNG, JPEG, GIF, WebP or SVG image of at most 4 MB that is not quarantined, otherwise the request fails with `422` (`403` when quarantined) and nothing is changed. Setting or removing a layer\'s file also deletes any image previously uploaded to that layer through `PUT /v1/floorplans/{id}/images/{imageType}`.
204
+ * Partially updates the floor plan\'s name, linked property and node, creation timestamp, image overlay offset, background and foreground images, view mode, and space geometry. Only fields present in the request body are changed, and the request fails with `409` if the floor plan keeps changing while they are. When `spaces` is provided the entire space overlay is replaced. `viewMode` is one of `2d-and-3d`, `3d-only` or `2d-only`. A space\'s `startHeight` and `endHeight` are in the same units as its paths, must be set together and the end must be above the start; a space without them is drawn at a default height scaled to the floor plan. Requires the *Edit floorplans* permission. `backgroundFile` and `foregroundFile` take the ID of an image in the account\'s file storage (see `/v1/account/files`), or an empty string to remove the layer\'s image; choosing a file also requires the *View file storage* permission. The file must be a PNG, JPEG, GIF, WebP or SVG image of at most 4 MB that is not quarantined, otherwise the request fails with `422` (`403` when quarantined) and nothing is changed. Setting or removing a layer\'s file also deletes any image previously uploaded to that layer through `PUT /v1/floorplans/{id}/images/{imageType}`.
205
205
  * Update a floor plan
206
206
  */
207
207
  updateRaw(requestParameters: FloorPlansApiUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>>;
208
208
  /**
209
- * Partially updates the floor plan\'s name, linked property and node, creation timestamp, image overlay offset, background and foreground images, and space geometry. Only fields present in the request body are changed, and the request fails with `409` if the floor plan keeps changing while they are. When `spaces` is provided the entire space overlay is replaced. Requires the *Edit floorplans* permission. `backgroundFile` and `foregroundFile` take the ID of an image in the account\'s file storage (see `/v1/account/files`), or an empty string to remove the layer\'s image; choosing a file also requires the *View file storage* permission. The file must be a PNG, JPEG, GIF, WebP or SVG image of at most 4 MB that is not quarantined, otherwise the request fails with `422` (`403` when quarantined) and nothing is changed. Setting or removing a layer\'s file also deletes any image previously uploaded to that layer through `PUT /v1/floorplans/{id}/images/{imageType}`.
209
+ * Partially updates the floor plan\'s name, linked property and node, creation timestamp, image overlay offset, background and foreground images, view mode, and space geometry. Only fields present in the request body are changed, and the request fails with `409` if the floor plan keeps changing while they are. When `spaces` is provided the entire space overlay is replaced. `viewMode` is one of `2d-and-3d`, `3d-only` or `2d-only`. A space\'s `startHeight` and `endHeight` are in the same units as its paths, must be set together and the end must be above the start; a space without them is drawn at a default height scaled to the floor plan. Requires the *Edit floorplans* permission. `backgroundFile` and `foregroundFile` take the ID of an image in the account\'s file storage (see `/v1/account/files`), or an empty string to remove the layer\'s image; choosing a file also requires the *View file storage* permission. The file must be a PNG, JPEG, GIF, WebP or SVG image of at most 4 MB that is not quarantined, otherwise the request fails with `422` (`403` when quarantined) and nothing is changed. Setting or removing a layer\'s file also deletes any image previously uploaded to that layer through `PUT /v1/floorplans/{id}/images/{imageType}`.
210
210
  * Update a floor plan
211
211
  */
212
212
  update(requestParameters: FloorPlansApiUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object>;
@@ -111,7 +111,7 @@ export class FloorPlansApi extends runtime.BaseAPI {
111
111
  });
112
112
  }
113
113
  /**
114
- * Returns the floor plan\'s metadata, space overlay geometry, and image offset. Returns an empty body (not 404) when the floor plan does not exist. Use `GET /v1/floorplans/{id}/images/{imageType}` to retrieve the drawing image. Requires the *View floorplans* permission.
114
+ * Returns the floor plan\'s metadata, view mode, space overlay geometry with each space\'s 3D heights, and image offset. Returns an empty body (not 404) when the floor plan does not exist. Use `GET /v1/floorplans/{id}/images/{imageType}` to retrieve the drawing image. Requires the *View floorplans* permission.
115
115
  * Get a floor plan
116
116
  */
117
117
  getRaw(requestParameters, initOverrides) {
@@ -140,7 +140,7 @@ export class FloorPlansApi extends runtime.BaseAPI {
140
140
  });
141
141
  }
142
142
  /**
143
- * Returns the floor plan\'s metadata, space overlay geometry, and image offset. Returns an empty body (not 404) when the floor plan does not exist. Use `GET /v1/floorplans/{id}/images/{imageType}` to retrieve the drawing image. Requires the *View floorplans* permission.
143
+ * Returns the floor plan\'s metadata, view mode, space overlay geometry with each space\'s 3D heights, and image offset. Returns an empty body (not 404) when the floor plan does not exist. Use `GET /v1/floorplans/{id}/images/{imageType}` to retrieve the drawing image. Requires the *View floorplans* permission.
144
144
  * Get a floor plan
145
145
  */
146
146
  get(requestParameters, initOverrides) {
@@ -236,7 +236,7 @@ export class FloorPlansApi extends runtime.BaseAPI {
236
236
  });
237
237
  }
238
238
  /**
239
- * Partially updates the floor plan\'s name, linked property and node, creation timestamp, image overlay offset, background and foreground images, and space geometry. Only fields present in the request body are changed, and the request fails with `409` if the floor plan keeps changing while they are. When `spaces` is provided the entire space overlay is replaced. Requires the *Edit floorplans* permission. `backgroundFile` and `foregroundFile` take the ID of an image in the account\'s file storage (see `/v1/account/files`), or an empty string to remove the layer\'s image; choosing a file also requires the *View file storage* permission. The file must be a PNG, JPEG, GIF, WebP or SVG image of at most 4 MB that is not quarantined, otherwise the request fails with `422` (`403` when quarantined) and nothing is changed. Setting or removing a layer\'s file also deletes any image previously uploaded to that layer through `PUT /v1/floorplans/{id}/images/{imageType}`.
239
+ * Partially updates the floor plan\'s name, linked property and node, creation timestamp, image overlay offset, background and foreground images, view mode, and space geometry. Only fields present in the request body are changed, and the request fails with `409` if the floor plan keeps changing while they are. When `spaces` is provided the entire space overlay is replaced. `viewMode` is one of `2d-and-3d`, `3d-only` or `2d-only`. A space\'s `startHeight` and `endHeight` are in the same units as its paths, must be set together and the end must be above the start; a space without them is drawn at a default height scaled to the floor plan. Requires the *Edit floorplans* permission. `backgroundFile` and `foregroundFile` take the ID of an image in the account\'s file storage (see `/v1/account/files`), or an empty string to remove the layer\'s image; choosing a file also requires the *View file storage* permission. The file must be a PNG, JPEG, GIF, WebP or SVG image of at most 4 MB that is not quarantined, otherwise the request fails with `422` (`403` when quarantined) and nothing is changed. Setting or removing a layer\'s file also deletes any image previously uploaded to that layer through `PUT /v1/floorplans/{id}/images/{imageType}`.
240
240
  * Update a floor plan
241
241
  */
242
242
  updateRaw(requestParameters, initOverrides) {
@@ -267,7 +267,7 @@ export class FloorPlansApi extends runtime.BaseAPI {
267
267
  });
268
268
  }
269
269
  /**
270
- * Partially updates the floor plan\'s name, linked property and node, creation timestamp, image overlay offset, background and foreground images, and space geometry. Only fields present in the request body are changed, and the request fails with `409` if the floor plan keeps changing while they are. When `spaces` is provided the entire space overlay is replaced. Requires the *Edit floorplans* permission. `backgroundFile` and `foregroundFile` take the ID of an image in the account\'s file storage (see `/v1/account/files`), or an empty string to remove the layer\'s image; choosing a file also requires the *View file storage* permission. The file must be a PNG, JPEG, GIF, WebP or SVG image of at most 4 MB that is not quarantined, otherwise the request fails with `422` (`403` when quarantined) and nothing is changed. Setting or removing a layer\'s file also deletes any image previously uploaded to that layer through `PUT /v1/floorplans/{id}/images/{imageType}`.
270
+ * Partially updates the floor plan\'s name, linked property and node, creation timestamp, image overlay offset, background and foreground images, view mode, and space geometry. Only fields present in the request body are changed, and the request fails with `409` if the floor plan keeps changing while they are. When `spaces` is provided the entire space overlay is replaced. `viewMode` is one of `2d-and-3d`, `3d-only` or `2d-only`. A space\'s `startHeight` and `endHeight` are in the same units as its paths, must be set together and the end must be above the start; a space without them is drawn at a default height scaled to the floor plan. Requires the *Edit floorplans* permission. `backgroundFile` and `foregroundFile` take the ID of an image in the account\'s file storage (see `/v1/account/files`), or an empty string to remove the layer\'s image; choosing a file also requires the *View file storage* permission. The file must be a PNG, JPEG, GIF, WebP or SVG image of at most 4 MB that is not quarantined, otherwise the request fails with `422` (`403` when quarantined) and nothing is changed. Setting or removing a layer\'s file also deletes any image previously uploaded to that layer through `PUT /v1/floorplans/{id}/images/{imageType}`.
271
271
  * Update a floor plan
272
272
  */
273
273
  update(requestParameters, initOverrides) {
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { DatacollectionAuthentication } from './DatacollectionAuthentication';
13
+ import type { DatacollectionContributor } from './DatacollectionContributor';
13
14
  import type { Step } from './Step';
14
15
  /**
15
16
  *
@@ -29,6 +30,12 @@ export interface DatacollectionBody {
29
30
  * @memberof DatacollectionBody
30
31
  */
31
32
  authenticationMode?: DatacollectionAuthentication;
33
+ /**
34
+ *
35
+ * @type {boolean}
36
+ * @memberof DatacollectionBody
37
+ */
38
+ clearContributors?: boolean;
32
39
  /**
33
40
  *
34
41
  * @type {boolean}
@@ -41,6 +48,12 @@ export interface DatacollectionBody {
41
48
  * @memberof DatacollectionBody
42
49
  */
43
50
  completeMessage?: string;
51
+ /**
52
+ *
53
+ * @type {Array<DatacollectionContributor>}
54
+ * @memberof DatacollectionBody
55
+ */
56
+ contributors?: Array<DatacollectionContributor>;
44
57
  /**
45
58
  *
46
59
  * @type {boolean}
@@ -12,6 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { DatacollectionAuthenticationFromJSON, DatacollectionAuthenticationToJSON, } from './DatacollectionAuthentication';
15
+ import { DatacollectionContributorFromJSON, DatacollectionContributorToJSON, } from './DatacollectionContributor';
15
16
  import { StepFromJSON, StepToJSON, } from './Step';
16
17
  /**
17
18
  * Check if a given object implements the DatacollectionBody interface.
@@ -37,8 +38,10 @@ export function DatacollectionBodyFromJSONTyped(json, ignoreDiscriminator) {
37
38
  return {
38
39
  'anonymisationProperty': json['anonymisationProperty'] == null ? undefined : json['anonymisationProperty'],
39
40
  'authenticationMode': json['authenticationMode'] == null ? undefined : DatacollectionAuthenticationFromJSON(json['authenticationMode']),
41
+ 'clearContributors': json['clearContributors'] == null ? undefined : json['clearContributors'],
40
42
  'clearSteps': json['clearSteps'],
41
43
  'completeMessage': json['completeMessage'] == null ? undefined : json['completeMessage'],
44
+ 'contributors': json['contributors'] == null ? undefined : (json['contributors'].map(DatacollectionContributorFromJSON)),
42
45
  'delete': json['delete'],
43
46
  'description': json['description'] == null ? undefined : json['description'],
44
47
  'end': json['end'] == null ? undefined : json['end'],
@@ -63,8 +66,10 @@ export function DatacollectionBodyToJSONTyped(value, ignoreDiscriminator = false
63
66
  return {
64
67
  'anonymisationProperty': value['anonymisationProperty'],
65
68
  'authenticationMode': DatacollectionAuthenticationToJSON(value['authenticationMode']),
69
+ 'clearContributors': value['clearContributors'],
66
70
  'clearSteps': value['clearSteps'],
67
71
  'completeMessage': value['completeMessage'],
72
+ 'contributors': value['contributors'] == null ? undefined : (value['contributors'].map(DatacollectionContributorToJSON)),
68
73
  'delete': value['delete'],
69
74
  'description': value['description'],
70
75
  'end': value['end'],
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { DatacollectionAuthentication } from './DatacollectionAuthentication';
13
+ import type { DatacollectionContributor } from './DatacollectionContributor';
13
14
  import type { Step } from './Step';
14
15
  /**
15
16
  *
@@ -35,6 +36,18 @@ export interface DatacollectionChangelogBody {
35
36
  * @memberof DatacollectionChangelogBody
36
37
  */
37
38
  completeMessage: string;
39
+ /**
40
+ *
41
+ * @type {Array<DatacollectionContributor>}
42
+ * @memberof DatacollectionChangelogBody
43
+ */
44
+ contributors: Array<DatacollectionContributor>;
45
+ /**
46
+ *
47
+ * @type {boolean}
48
+ * @memberof DatacollectionChangelogBody
49
+ */
50
+ contributorsUploaded: boolean;
38
51
  /**
39
52
  *
40
53
  * @type {string}
@@ -12,6 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { DatacollectionAuthenticationFromJSON, DatacollectionAuthenticationToJSON, } from './DatacollectionAuthentication';
15
+ import { DatacollectionContributorFromJSON, DatacollectionContributorToJSON, } from './DatacollectionContributor';
15
16
  import { StepFromJSON, StepToJSON, } from './Step';
16
17
  /**
17
18
  * Check if a given object implements the DatacollectionChangelogBody interface.
@@ -23,6 +24,10 @@ export function instanceOfDatacollectionChangelogBody(value) {
23
24
  return false;
24
25
  if (!('completeMessage' in value) || value['completeMessage'] === undefined)
25
26
  return false;
27
+ if (!('contributors' in value) || value['contributors'] === undefined)
28
+ return false;
29
+ if (!('contributorsUploaded' in value) || value['contributorsUploaded'] === undefined)
30
+ return false;
26
31
  if (!('description' in value) || value['description'] === undefined)
27
32
  return false;
28
33
  if (!('end' in value) || value['end'] === undefined)
@@ -56,6 +61,8 @@ export function DatacollectionChangelogBodyFromJSONTyped(json, ignoreDiscriminat
56
61
  'anonymisationProperty': json['anonymisationProperty'],
57
62
  'authenticationMode': DatacollectionAuthenticationFromJSON(json['authenticationMode']),
58
63
  'completeMessage': json['completeMessage'],
64
+ 'contributors': (json['contributors'].map(DatacollectionContributorFromJSON)),
65
+ 'contributorsUploaded': json['contributorsUploaded'],
59
66
  'description': json['description'],
60
67
  'end': json['end'],
61
68
  'inviteMessage': json['inviteMessage'],
@@ -79,6 +86,8 @@ export function DatacollectionChangelogBodyToJSONTyped(value, ignoreDiscriminato
79
86
  'anonymisationProperty': value['anonymisationProperty'],
80
87
  'authenticationMode': DatacollectionAuthenticationToJSON(value['authenticationMode']),
81
88
  'completeMessage': value['completeMessage'],
89
+ 'contributors': (value['contributors'].map(DatacollectionContributorToJSON)),
90
+ 'contributorsUploaded': value['contributorsUploaded'],
82
91
  'description': value['description'],
83
92
  'end': value['end'],
84
93
  'inviteMessage': value['inviteMessage'],
@@ -0,0 +1,38 @@
1
+ /**
2
+ * spaciv API
3
+ * The spaciv API powers workplace planning: modelling how many people an organisation has, how they work, and how much space that requires. ## Getting started 1. Exchange credentials for an access token using one of the operations under **Authentication**. 2. Send that token on every subsequent request as `Authorization: Bearer <token>`. 3. Access tokens are short lived. Call `POST /v1/auth/refresh-token` to obtain a new one before the old one expires. ## Conventions Every operation is versioned under `/v1`. Collections are plural (`GET /v1/dashboards` lists, `POST /v1/dashboards` creates) and individual records live beneath them (`/v1/dashboards/{id}`). Singular paths such as `/v1/account`, `/v1/project` and `/v1/user` refer to the record the access token was issued for. Request and response bodies are JSON. Timestamps are RFC 3339. Identifiers are opaque strings unless documented otherwise, and collection operations return the records visible to the account the token was issued for. Failures return an [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) problem document with a `detail` field describing what went wrong.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: support@spaciv.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface DatacollectionContributor
16
+ */
17
+ export interface DatacollectionContributor {
18
+ /**
19
+ *
20
+ * @type {Array<string>}
21
+ * @memberof DatacollectionContributor
22
+ */
23
+ nodes: Array<string>;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof DatacollectionContributor
28
+ */
29
+ user: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the DatacollectionContributor interface.
33
+ */
34
+ export declare function instanceOfDatacollectionContributor(value: object): value is DatacollectionContributor;
35
+ export declare function DatacollectionContributorFromJSON(json: any): DatacollectionContributor;
36
+ export declare function DatacollectionContributorFromJSONTyped(json: any, ignoreDiscriminator: boolean): DatacollectionContributor;
37
+ export declare function DatacollectionContributorToJSON(json: any): DatacollectionContributor;
38
+ export declare function DatacollectionContributorToJSONTyped(value?: DatacollectionContributor | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,47 @@
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
+ * Check if a given object implements the DatacollectionContributor interface.
16
+ */
17
+ export function instanceOfDatacollectionContributor(value) {
18
+ if (!('nodes' in value) || value['nodes'] === undefined)
19
+ return false;
20
+ if (!('user' in value) || value['user'] === undefined)
21
+ return false;
22
+ return true;
23
+ }
24
+ export function DatacollectionContributorFromJSON(json) {
25
+ return DatacollectionContributorFromJSONTyped(json, false);
26
+ }
27
+ export function DatacollectionContributorFromJSONTyped(json, ignoreDiscriminator) {
28
+ if (json == null) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'nodes': json['nodes'],
33
+ 'user': json['user'],
34
+ };
35
+ }
36
+ export function DatacollectionContributorToJSON(json) {
37
+ return DatacollectionContributorToJSONTyped(json, false);
38
+ }
39
+ export function DatacollectionContributorToJSONTyped(value, ignoreDiscriminator = false) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'nodes': value['nodes'],
45
+ 'user': value['user'],
46
+ };
47
+ }
@@ -16,6 +16,12 @@ import type { FloorplanSpaceChangelogPath } from './FloorplanSpaceChangelogPath'
16
16
  * @interface FloorplanCreateSpace
17
17
  */
18
18
  export interface FloorplanCreateSpace {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof FloorplanCreateSpace
23
+ */
24
+ endHeight?: number;
19
25
  /**
20
26
  *
21
27
  * @type {string}
@@ -28,6 +34,12 @@ export interface FloorplanCreateSpace {
28
34
  * @memberof FloorplanCreateSpace
29
35
  */
30
36
  paths: Array<FloorplanSpaceChangelogPath>;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof FloorplanCreateSpace
41
+ */
42
+ startHeight?: number;
31
43
  }
32
44
  /**
33
45
  * Check if a given object implements the FloorplanCreateSpace interface.
@@ -30,8 +30,10 @@ export function FloorplanCreateSpaceFromJSONTyped(json, ignoreDiscriminator) {
30
30
  return json;
31
31
  }
32
32
  return {
33
+ 'endHeight': json['endHeight'] == null ? undefined : json['endHeight'],
33
34
  'location': json['location'],
34
35
  'paths': (json['paths'].map(FloorplanSpaceChangelogPathFromJSON)),
36
+ 'startHeight': json['startHeight'] == null ? undefined : json['startHeight'],
35
37
  };
36
38
  }
37
39
  export function FloorplanCreateSpaceToJSON(json) {
@@ -42,7 +44,9 @@ export function FloorplanCreateSpaceToJSONTyped(value, ignoreDiscriminator = fal
42
44
  return value;
43
45
  }
44
46
  return {
47
+ 'endHeight': value['endHeight'],
45
48
  'location': value['location'],
46
49
  'paths': (value['paths'].map(FloorplanSpaceChangelogPathToJSON)),
50
+ 'startHeight': value['startHeight'],
47
51
  };
48
52
  }
@@ -65,7 +65,22 @@ export interface FloorplanGetBody {
65
65
  * @memberof FloorplanGetBody
66
66
  */
67
67
  spaces: Array<FloorplanGetBodySpace>;
68
+ /**
69
+ * Whether the floor plan can be shown in 2D, in 3D, or both. Defaults to 2d-and-3d.
70
+ * @type {string}
71
+ * @memberof FloorplanGetBody
72
+ */
73
+ viewMode: FloorplanGetBodyViewModeEnum;
68
74
  }
75
+ /**
76
+ * @export
77
+ */
78
+ export declare const FloorplanGetBodyViewModeEnum: {
79
+ readonly _2dAnd3d: "2d-and-3d";
80
+ readonly _3dOnly: "3d-only";
81
+ readonly _2dOnly: "2d-only";
82
+ };
83
+ export type FloorplanGetBodyViewModeEnum = typeof FloorplanGetBodyViewModeEnum[keyof typeof FloorplanGetBodyViewModeEnum];
69
84
  /**
70
85
  * Check if a given object implements the FloorplanGetBody interface.
71
86
  */
@@ -13,6 +13,14 @@
13
13
  */
14
14
  import { FloorplanGetBodyOverlayOffsetFromJSON, FloorplanGetBodyOverlayOffsetToJSON, } from './FloorplanGetBodyOverlayOffset';
15
15
  import { FloorplanGetBodySpaceFromJSON, FloorplanGetBodySpaceToJSON, } from './FloorplanGetBodySpace';
16
+ /**
17
+ * @export
18
+ */
19
+ export const FloorplanGetBodyViewModeEnum = {
20
+ _2dAnd3d: '2d-and-3d',
21
+ _3dOnly: '3d-only',
22
+ _2dOnly: '2d-only'
23
+ };
16
24
  /**
17
25
  * Check if a given object implements the FloorplanGetBody interface.
18
26
  */
@@ -29,6 +37,8 @@ export function instanceOfFloorplanGetBody(value) {
29
37
  return false;
30
38
  if (!('spaces' in value) || value['spaces'] === undefined)
31
39
  return false;
40
+ if (!('viewMode' in value) || value['viewMode'] === undefined)
41
+ return false;
32
42
  return true;
33
43
  }
34
44
  export function FloorplanGetBodyFromJSON(json) {
@@ -47,6 +57,7 @@ export function FloorplanGetBodyFromJSONTyped(json, ignoreDiscriminator) {
47
57
  'property': json['property'],
48
58
  'propertyNode': json['propertyNode'],
49
59
  'spaces': (json['spaces'].map(FloorplanGetBodySpaceFromJSON)),
60
+ 'viewMode': json['viewMode'],
50
61
  };
51
62
  }
52
63
  export function FloorplanGetBodyToJSON(json) {
@@ -65,5 +76,6 @@ export function FloorplanGetBodyToJSONTyped(value, ignoreDiscriminator = false)
65
76
  'property': value['property'],
66
77
  'propertyNode': value['propertyNode'],
67
78
  'spaces': (value['spaces'].map(FloorplanGetBodySpaceToJSON)),
79
+ 'viewMode': value['viewMode'],
68
80
  };
69
81
  }
@@ -16,6 +16,12 @@ import type { FloorplanGetBodySpacePoint } from './FloorplanGetBodySpacePoint';
16
16
  * @interface FloorplanGetBodySpace
17
17
  */
18
18
  export interface FloorplanGetBodySpace {
19
+ /**
20
+ * Height the space ends at in 3D, in the same units as its paths. Absent when the space uses the default heights.
21
+ * @type {number}
22
+ * @memberof FloorplanGetBodySpace
23
+ */
24
+ endHeight?: number;
19
25
  /**
20
26
  *
21
27
  * @type {string}
@@ -28,6 +34,12 @@ export interface FloorplanGetBodySpace {
28
34
  * @memberof FloorplanGetBodySpace
29
35
  */
30
36
  paths: Array<Array<FloorplanGetBodySpacePoint>>;
37
+ /**
38
+ * Height the space starts at in 3D, in the same units as its paths. Absent when the space uses the default heights.
39
+ * @type {number}
40
+ * @memberof FloorplanGetBodySpace
41
+ */
42
+ startHeight?: number;
31
43
  }
32
44
  /**
33
45
  * Check if a given object implements the FloorplanGetBodySpace interface.
@@ -29,8 +29,10 @@ export function FloorplanGetBodySpaceFromJSONTyped(json, ignoreDiscriminator) {
29
29
  return json;
30
30
  }
31
31
  return {
32
+ 'endHeight': json['endHeight'] == null ? undefined : json['endHeight'],
32
33
  'location': json['location'],
33
34
  'paths': json['paths'],
35
+ 'startHeight': json['startHeight'] == null ? undefined : json['startHeight'],
34
36
  };
35
37
  }
36
38
  export function FloorplanGetBodySpaceToJSON(json) {
@@ -41,7 +43,9 @@ export function FloorplanGetBodySpaceToJSONTyped(value, ignoreDiscriminator = fa
41
43
  return value;
42
44
  }
43
45
  return {
46
+ 'endHeight': value['endHeight'],
44
47
  'location': value['location'],
45
48
  'paths': value['paths'],
49
+ 'startHeight': value['startHeight'],
46
50
  };
47
51
  }
@@ -65,6 +65,12 @@ export interface FloorplanPatchParamsBody {
65
65
  * @memberof FloorplanPatchParamsBody
66
66
  */
67
67
  spaces?: FloorplanCreateSpaceRepeated;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof FloorplanPatchParamsBody
72
+ */
73
+ viewMode?: string;
68
74
  }
69
75
  /**
70
76
  * Check if a given object implements the FloorplanPatchParamsBody interface.
@@ -35,6 +35,7 @@ export function FloorplanPatchParamsBodyFromJSONTyped(json, ignoreDiscriminator)
35
35
  'property': json['property'] == null ? undefined : json['property'],
36
36
  'propertyNode': json['propertyNode'] == null ? undefined : json['propertyNode'],
37
37
  'spaces': json['spaces'] == null ? undefined : FloorplanCreateSpaceRepeatedFromJSON(json['spaces']),
38
+ 'viewMode': json['viewMode'] == null ? undefined : json['viewMode'],
38
39
  };
39
40
  }
40
41
  export function FloorplanPatchParamsBodyToJSON(json) {
@@ -53,5 +54,6 @@ export function FloorplanPatchParamsBodyToJSONTyped(value, ignoreDiscriminator =
53
54
  'property': value['property'],
54
55
  'propertyNode': value['propertyNode'],
55
56
  'spaces': FloorplanCreateSpaceRepeatedToJSON(value['spaces']),
57
+ 'viewMode': value['viewMode'],
56
58
  };
57
59
  }
@@ -34,6 +34,12 @@ export interface GetDatacollectionRes {
34
34
  * @memberof GetDatacollectionRes
35
35
  */
36
36
  id: string;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof GetDatacollectionRes
41
+ */
42
+ legacyContributors?: number;
37
43
  /**
38
44
  *
39
45
  * @type {number}
@@ -39,6 +39,7 @@ export function GetDatacollectionResFromJSONTyped(json, ignoreDiscriminator) {
39
39
  'completed': json['completed'],
40
40
  'datacollection': DatacollectionChangelogBodyFromJSON(json['datacollection']),
41
41
  'id': json['id'],
42
+ 'legacyContributors': json['legacyContributors'] == null ? undefined : json['legacyContributors'],
42
43
  'started': json['started'],
43
44
  'total': json['total'],
44
45
  };
@@ -54,6 +55,7 @@ export function GetDatacollectionResToJSONTyped(value, ignoreDiscriminator = fal
54
55
  'completed': value['completed'],
55
56
  'datacollection': DatacollectionChangelogBodyToJSON(value['datacollection']),
56
57
  'id': value['id'],
58
+ 'legacyContributors': value['legacyContributors'],
57
59
  'started': value['started'],
58
60
  'total': value['total'],
59
61
  };
@@ -146,6 +146,7 @@ export * from './DatacollectionAuthenticationOneOf2';
146
146
  export * from './DatacollectionAuthenticationOneOf3';
147
147
  export * from './DatacollectionBody';
148
148
  export * from './DatacollectionChangelogBody';
149
+ export * from './DatacollectionContributor';
149
150
  export * from './DatasetAddResponseBody';
150
151
  export * from './DatasetChangelogBody';
151
152
  export * from './DatasetChangelogData';