@izak0s/spacebring-api 3.1.0 → 3.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
@@ -8453,6 +8453,16 @@ interface components {
8453
8453
  */
8454
8454
  interval: "zeroMinutes" | "fiveMinutes" | "tenMinutes" | "fifteenMinutes";
8455
8455
  };
8456
+ /** @description Child resources when this is a parent resource. Bookings on a child resource also block the parent. */
8457
+ children: {
8458
+ /**
8459
+ * Format: uuid
8460
+ * @description Id of the child resource.
8461
+ */
8462
+ id: string;
8463
+ /** @description Title of the child resource. */
8464
+ title: string;
8465
+ }[];
8456
8466
  /** @description Confirmation email settings. */
8457
8467
  confirmationEmail: {
8458
8468
  /** @description Send confirmation when an admin creates a booking. */
@@ -14712,7 +14722,7 @@ interface components {
14712
14722
  * @description Event application type. purchase: paid signup (requires price). none: free/RSVP-style.
14713
14723
  * @enum {string}
14714
14724
  */
14715
- applicationType?: "purchase" | "none";
14725
+ applicationType: "purchase" | "none";
14716
14726
  /** @description Confirmation email settings. */
14717
14727
  confirmationEmail?: {
14718
14728
  /** @description Whether a confirmation email is sent after registration. */
@@ -14807,7 +14817,7 @@ interface components {
14807
14817
  * @description Event application type. purchase: paid signup (requires price). none: free/RSVP-style.
14808
14818
  * @enum {string}
14809
14819
  */
14810
- applicationType?: "purchase" | "none";
14820
+ applicationType: "purchase" | "none";
14811
14821
  /** @description Confirmation email settings. */
14812
14822
  confirmationEmail?: {
14813
14823
  /** @description Whether a confirmation email is sent after registration. */
@@ -15504,13 +15514,13 @@ interface components {
15504
15514
  /** @description Whether dynamic pricing is enabled. */
15505
15515
  enabled: boolean;
15506
15516
  };
15507
- /** @description Google Calendar integration settings. */
15517
+ /** @description Google Calendar integration settings. Pass null to disconnect the calendar from the resource. */
15508
15518
  googleCalendar?: {
15509
15519
  /** @description Google Calendar id. */
15510
15520
  id: string;
15511
15521
  /** @description Whether two-way sync is enabled. */
15512
15522
  twoWaySyncEnabled: boolean;
15513
- };
15523
+ } | null;
15514
15524
  /**
15515
15525
  * Format: uuid
15516
15526
  * @description Optional client-provided resource id.
@@ -15836,13 +15846,13 @@ interface components {
15836
15846
  /** @description Whether dynamic pricing is enabled. */
15837
15847
  enabled: boolean;
15838
15848
  };
15839
- /** @description Google Calendar integration settings. */
15849
+ /** @description Google Calendar integration settings. Pass null to disconnect the calendar from the resource. */
15840
15850
  googleCalendar?: {
15841
15851
  /** @description Google Calendar id. */
15842
15852
  id: string;
15843
15853
  /** @description Whether two-way sync is enabled. */
15844
15854
  twoWaySyncEnabled: boolean;
15845
- };
15855
+ } | null;
15846
15856
  /** @description Kisi access group reference. */
15847
15857
  kisiGroupRef?: number | null;
15848
15858
  /** @description Images to attach when creating the resource. */
package/dist/index.d.ts CHANGED
@@ -8453,6 +8453,16 @@ interface components {
8453
8453
  */
8454
8454
  interval: "zeroMinutes" | "fiveMinutes" | "tenMinutes" | "fifteenMinutes";
8455
8455
  };
8456
+ /** @description Child resources when this is a parent resource. Bookings on a child resource also block the parent. */
8457
+ children: {
8458
+ /**
8459
+ * Format: uuid
8460
+ * @description Id of the child resource.
8461
+ */
8462
+ id: string;
8463
+ /** @description Title of the child resource. */
8464
+ title: string;
8465
+ }[];
8456
8466
  /** @description Confirmation email settings. */
8457
8467
  confirmationEmail: {
8458
8468
  /** @description Send confirmation when an admin creates a booking. */
@@ -14712,7 +14722,7 @@ interface components {
14712
14722
  * @description Event application type. purchase: paid signup (requires price). none: free/RSVP-style.
14713
14723
  * @enum {string}
14714
14724
  */
14715
- applicationType?: "purchase" | "none";
14725
+ applicationType: "purchase" | "none";
14716
14726
  /** @description Confirmation email settings. */
14717
14727
  confirmationEmail?: {
14718
14728
  /** @description Whether a confirmation email is sent after registration. */
@@ -14807,7 +14817,7 @@ interface components {
14807
14817
  * @description Event application type. purchase: paid signup (requires price). none: free/RSVP-style.
14808
14818
  * @enum {string}
14809
14819
  */
14810
- applicationType?: "purchase" | "none";
14820
+ applicationType: "purchase" | "none";
14811
14821
  /** @description Confirmation email settings. */
14812
14822
  confirmationEmail?: {
14813
14823
  /** @description Whether a confirmation email is sent after registration. */
@@ -15504,13 +15514,13 @@ interface components {
15504
15514
  /** @description Whether dynamic pricing is enabled. */
15505
15515
  enabled: boolean;
15506
15516
  };
15507
- /** @description Google Calendar integration settings. */
15517
+ /** @description Google Calendar integration settings. Pass null to disconnect the calendar from the resource. */
15508
15518
  googleCalendar?: {
15509
15519
  /** @description Google Calendar id. */
15510
15520
  id: string;
15511
15521
  /** @description Whether two-way sync is enabled. */
15512
15522
  twoWaySyncEnabled: boolean;
15513
- };
15523
+ } | null;
15514
15524
  /**
15515
15525
  * Format: uuid
15516
15526
  * @description Optional client-provided resource id.
@@ -15836,13 +15846,13 @@ interface components {
15836
15846
  /** @description Whether dynamic pricing is enabled. */
15837
15847
  enabled: boolean;
15838
15848
  };
15839
- /** @description Google Calendar integration settings. */
15849
+ /** @description Google Calendar integration settings. Pass null to disconnect the calendar from the resource. */
15840
15850
  googleCalendar?: {
15841
15851
  /** @description Google Calendar id. */
15842
15852
  id: string;
15843
15853
  /** @description Whether two-way sync is enabled. */
15844
15854
  twoWaySyncEnabled: boolean;
15845
- };
15855
+ } | null;
15846
15856
  /** @description Kisi access group reference. */
15847
15857
  kisiGroupRef?: number | null;
15848
15858
  /** @description Images to attach when creating the resource. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@izak0s/spacebring-api",
3
- "version": "3.1.0",
3
+ "version": "3.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",