@izak0s/spacebring-api 10.1.0 → 10.2.0

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/dist/index.d.cts CHANGED
@@ -8900,6 +8900,8 @@ interface components {
8900
8900
  exclusiveLocations: string[];
8901
8901
  /** @description Whether the admin can manage the feed. */
8902
8902
  feed: boolean;
8903
+ /** @description Whether the admin can manage resources and their bookings. */
8904
+ resources?: boolean;
8903
8905
  /** @description Whether the admin can change network settings. */
8904
8906
  settings: boolean;
8905
8907
  /** @description Whether the admin can manage the shop. */
@@ -9201,7 +9203,7 @@ interface components {
9201
9203
  * @description Unique identifier of the resource.
9202
9204
  */
9203
9205
  id: string;
9204
- /** @description Public URL of the resource image. */
9206
+ /** @description Public URL of the resource's cover, the first image in media. */
9205
9207
  imageUrl?: string;
9206
9208
  /** @description Kisi access group reference. */
9207
9209
  kisiGroupRef?: number | null;
@@ -9212,7 +9214,7 @@ interface components {
9212
9214
  * @description ID of the location.
9213
9215
  */
9214
9216
  locationRef: string;
9215
- /** @description Images attached to the resource. */
9217
+ /** @description Images of the resource in display order, the first one being its cover. */
9216
9218
  media: {
9217
9219
  /** @description Storage key of the image. */
9218
9220
  key: string;
@@ -9832,7 +9834,7 @@ interface components {
9832
9834
  * @description Unique identifier of the resource.
9833
9835
  */
9834
9836
  id: string;
9835
- /** @description Public URL of the resource image. */
9837
+ /** @description Public URL of the resource's cover, the first image in media. */
9836
9838
  imageUrl?: string;
9837
9839
  /** @description Kisi access group reference. */
9838
9840
  kisiGroupRef?: number | null;
@@ -9843,7 +9845,7 @@ interface components {
9843
9845
  * @description ID of the location.
9844
9846
  */
9845
9847
  locationRef: string;
9846
- /** @description Images attached to the resource. */
9848
+ /** @description Images of the resource in display order, the first one being its cover. */
9847
9849
  media: {
9848
9850
  /** @description Storage key of the image. */
9849
9851
  key: string;
@@ -23239,7 +23241,7 @@ interface components {
23239
23241
  * @description ID of the location.
23240
23242
  */
23241
23243
  locationRef: string;
23242
- /** @description Images to attach when creating the resource. */
23244
+ /** @description Images of the resource in display order, the first one being its cover. On update the list replaces the current images, and an empty list removes them all. */
23243
23245
  media?: {
23244
23246
  /** @description Storage key of the uploaded image. */
23245
23247
  key: string;
@@ -23650,7 +23652,7 @@ interface components {
23650
23652
  } | null;
23651
23653
  /** @description Kisi access group reference. */
23652
23654
  kisiGroupRef?: number | null;
23653
- /** @description Images to attach when creating the resource. */
23655
+ /** @description Images of the resource in display order, the first one being its cover. On update the list replaces the current images, and an empty list removes them all. */
23654
23656
  media?: {
23655
23657
  /** @description Storage key of the uploaded image. */
23656
23658
  key: string;
package/dist/index.d.ts CHANGED
@@ -8900,6 +8900,8 @@ interface components {
8900
8900
  exclusiveLocations: string[];
8901
8901
  /** @description Whether the admin can manage the feed. */
8902
8902
  feed: boolean;
8903
+ /** @description Whether the admin can manage resources and their bookings. */
8904
+ resources?: boolean;
8903
8905
  /** @description Whether the admin can change network settings. */
8904
8906
  settings: boolean;
8905
8907
  /** @description Whether the admin can manage the shop. */
@@ -9201,7 +9203,7 @@ interface components {
9201
9203
  * @description Unique identifier of the resource.
9202
9204
  */
9203
9205
  id: string;
9204
- /** @description Public URL of the resource image. */
9206
+ /** @description Public URL of the resource's cover, the first image in media. */
9205
9207
  imageUrl?: string;
9206
9208
  /** @description Kisi access group reference. */
9207
9209
  kisiGroupRef?: number | null;
@@ -9212,7 +9214,7 @@ interface components {
9212
9214
  * @description ID of the location.
9213
9215
  */
9214
9216
  locationRef: string;
9215
- /** @description Images attached to the resource. */
9217
+ /** @description Images of the resource in display order, the first one being its cover. */
9216
9218
  media: {
9217
9219
  /** @description Storage key of the image. */
9218
9220
  key: string;
@@ -9832,7 +9834,7 @@ interface components {
9832
9834
  * @description Unique identifier of the resource.
9833
9835
  */
9834
9836
  id: string;
9835
- /** @description Public URL of the resource image. */
9837
+ /** @description Public URL of the resource's cover, the first image in media. */
9836
9838
  imageUrl?: string;
9837
9839
  /** @description Kisi access group reference. */
9838
9840
  kisiGroupRef?: number | null;
@@ -9843,7 +9845,7 @@ interface components {
9843
9845
  * @description ID of the location.
9844
9846
  */
9845
9847
  locationRef: string;
9846
- /** @description Images attached to the resource. */
9848
+ /** @description Images of the resource in display order, the first one being its cover. */
9847
9849
  media: {
9848
9850
  /** @description Storage key of the image. */
9849
9851
  key: string;
@@ -23239,7 +23241,7 @@ interface components {
23239
23241
  * @description ID of the location.
23240
23242
  */
23241
23243
  locationRef: string;
23242
- /** @description Images to attach when creating the resource. */
23244
+ /** @description Images of the resource in display order, the first one being its cover. On update the list replaces the current images, and an empty list removes them all. */
23243
23245
  media?: {
23244
23246
  /** @description Storage key of the uploaded image. */
23245
23247
  key: string;
@@ -23650,7 +23652,7 @@ interface components {
23650
23652
  } | null;
23651
23653
  /** @description Kisi access group reference. */
23652
23654
  kisiGroupRef?: number | null;
23653
- /** @description Images to attach when creating the resource. */
23655
+ /** @description Images of the resource in display order, the first one being its cover. On update the list replaces the current images, and an empty list removes them all. */
23654
23656
  media?: {
23655
23657
  /** @description Storage key of the uploaded image. */
23656
23658
  key: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@izak0s/spacebring-api",
3
- "version": "10.1.0",
3
+ "version": "10.2.0",
4
4
  "description": "Community-maintained TypeScript client (SDK) for the Spacebring (formerly andcards) coworking space management API",
5
5
  "license": "MIT",
6
6
  "author": "izak0s",