@izak0s/spacebring-api 16.5.0 → 16.6.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
@@ -9963,6 +9963,8 @@ interface components {
9963
9963
  * @description Deprecated. Use resources instead.
9964
9964
  */
9965
9965
  bookings?: boolean;
9966
+ /** @description Whether the admin can manage campaigns. */
9967
+ campaigns?: boolean;
9966
9968
  /** @description Whether the admin can manage customers. */
9967
9969
  customers: boolean;
9968
9970
  /** @description Whether the admin can manage events. */
@@ -10187,6 +10189,18 @@ interface components {
10187
10189
  enabled: boolean;
10188
10190
  /** @description How many minutes before it starts a booking of the resource has to be made. */
10189
10191
  minNotice?: number;
10192
+ /** @description Booking window for nonmembers. A booking of a nonmember follows it instead of the booking window above while it is enabled, even when that one is off. */
10193
+ public: {
10194
+ /**
10195
+ * @description How far ahead nonmembers can book the resource.
10196
+ * @enum {string}
10197
+ */
10198
+ bookAhead?: "oneDay" | "twoDays" | "oneWeek" | "twoWeeks" | "oneMonth" | "threeMonths" | "sixMonths" | "oneYear" | "unlimited";
10199
+ /** @description Whether bookings of nonmembers follow a separate booking window. */
10200
+ enabled: boolean;
10201
+ /** @description How many minutes before it starts a booking of a nonmember has to be made. */
10202
+ minNotice?: number;
10203
+ };
10190
10204
  };
10191
10205
  /** @description Brivo access group reference. */
10192
10206
  brivoGroupRef?: number | null;
@@ -10910,6 +10924,18 @@ interface components {
10910
10924
  enabled: boolean;
10911
10925
  /** @description How many minutes before it starts a booking of the resource has to be made. */
10912
10926
  minNotice?: number;
10927
+ /** @description Booking window for nonmembers. A booking of a nonmember follows it instead of the booking window above while it is enabled, even when that one is off. */
10928
+ public: {
10929
+ /**
10930
+ * @description How far ahead nonmembers can book the resource.
10931
+ * @enum {string}
10932
+ */
10933
+ bookAhead?: "oneDay" | "twoDays" | "oneWeek" | "twoWeeks" | "oneMonth" | "threeMonths" | "sixMonths" | "oneYear" | "unlimited";
10934
+ /** @description Whether bookings of nonmembers follow a separate booking window. */
10935
+ enabled: boolean;
10936
+ /** @description How many minutes before it starts a booking of a nonmember has to be made. */
10937
+ minNotice?: number;
10938
+ };
10913
10939
  };
10914
10940
  /** @description Brivo access group reference. */
10915
10941
  brivoGroupRef?: number | null;
@@ -20940,7 +20966,7 @@ interface components {
20940
20966
  */
20941
20967
  type: "booking" | "custom" | "creditPackage" | "eventTicket" | "invoice" | "order" | "subscription";
20942
20968
  };
20943
- /** @description URL to download the receipt PDF. The URL carries a receipt token, so it can be opened without authentication. */
20969
+ /** @description URL to download the receipt PDF. The URL carries a receipt token, so it can be opened without authentication. The link stops working 190 days after it was issued, whether or not the transaction is fetched again. Fetching the transaction 180 days or more after the link was issued returns a new one, so fetch the transaction again for the current link rather than storing it. */
20944
20970
  receiptPdfUrl?: string;
20945
20971
  /**
20946
20972
  * @deprecated
@@ -21660,7 +21686,7 @@ interface components {
21660
21686
  */
21661
21687
  type: "booking" | "custom" | "creditPackage" | "eventTicket" | "invoice" | "order" | "subscription";
21662
21688
  };
21663
- /** @description URL to download the receipt PDF. The URL carries a receipt token, so it can be opened without authentication. */
21689
+ /** @description URL to download the receipt PDF. The URL carries a receipt token, so it can be opened without authentication. The link stops working 190 days after it was issued, whether or not the transaction is fetched again. Fetching the transaction 180 days or more after the link was issued returns a new one, so fetch the transaction again for the current link rather than storing it. */
21664
21690
  receiptPdfUrl?: string;
21665
21691
  /**
21666
21692
  * @deprecated
@@ -22380,7 +22406,7 @@ interface components {
22380
22406
  */
22381
22407
  type: "booking" | "custom" | "creditPackage" | "eventTicket" | "invoice" | "order" | "subscription";
22382
22408
  };
22383
- /** @description URL to download the receipt PDF. The URL carries a receipt token, so it can be opened without authentication. */
22409
+ /** @description URL to download the receipt PDF. The URL carries a receipt token, so it can be opened without authentication. The link stops working 190 days after it was issued, whether or not the transaction is fetched again. Fetching the transaction 180 days or more after the link was issued returns a new one, so fetch the transaction again for the current link rather than storing it. */
22384
22410
  receiptPdfUrl?: string;
22385
22411
  /**
22386
22412
  * @deprecated
@@ -25121,6 +25147,18 @@ interface components {
25121
25147
  enabled: boolean;
25122
25148
  /** @description How many minutes before it starts a booking of the resource has to be made, up to 30 days. 0 accepts bookings up to the start time. Required while enabled is true. */
25123
25149
  minNotice?: number;
25150
+ /** @description Booking window for nonmembers. A booking of a nonmember follows it instead of the booking window above while it is enabled, even when that one is off. */
25151
+ public?: {
25152
+ /**
25153
+ * @description How far ahead nonmembers can book the resource. Required while enabled is true.
25154
+ * @enum {string}
25155
+ */
25156
+ bookAhead?: "oneDay" | "twoDays" | "oneWeek" | "twoWeeks" | "oneMonth" | "threeMonths" | "sixMonths" | "oneYear" | "unlimited";
25157
+ /** @description Whether bookings of nonmembers follow a separate booking window. While it is false, they follow the booking window above. */
25158
+ enabled: boolean;
25159
+ /** @description How many minutes before it starts a booking of a nonmember has to be made, up to 30 days. 0 accepts bookings up to the start time. Required while enabled is true. */
25160
+ minNotice?: number;
25161
+ };
25124
25162
  };
25125
25163
  /** @description Brivo access group reference. */
25126
25164
  brivoGroupRef?: number | null;
@@ -25628,6 +25666,18 @@ interface components {
25628
25666
  enabled: boolean;
25629
25667
  /** @description How many minutes before it starts a booking of the resource has to be made, up to 30 days. 0 accepts bookings up to the start time. Required while enabled is true. */
25630
25668
  minNotice?: number;
25669
+ /** @description Booking window for nonmembers. A booking of a nonmember follows it instead of the booking window above while it is enabled, even when that one is off. */
25670
+ public?: {
25671
+ /**
25672
+ * @description How far ahead nonmembers can book the resource. Required while enabled is true.
25673
+ * @enum {string}
25674
+ */
25675
+ bookAhead?: "oneDay" | "twoDays" | "oneWeek" | "twoWeeks" | "oneMonth" | "threeMonths" | "sixMonths" | "oneYear" | "unlimited";
25676
+ /** @description Whether bookings of nonmembers follow a separate booking window. While it is false, they follow the booking window above. */
25677
+ enabled: boolean;
25678
+ /** @description How many minutes before it starts a booking of a nonmember has to be made, up to 30 days. 0 accepts bookings up to the start time. Required while enabled is true. */
25679
+ minNotice?: number;
25680
+ };
25631
25681
  };
25632
25682
  /** @description Brivo access group reference. */
25633
25683
  brivoGroupRef?: number | null;
package/dist/index.d.ts CHANGED
@@ -9963,6 +9963,8 @@ interface components {
9963
9963
  * @description Deprecated. Use resources instead.
9964
9964
  */
9965
9965
  bookings?: boolean;
9966
+ /** @description Whether the admin can manage campaigns. */
9967
+ campaigns?: boolean;
9966
9968
  /** @description Whether the admin can manage customers. */
9967
9969
  customers: boolean;
9968
9970
  /** @description Whether the admin can manage events. */
@@ -10187,6 +10189,18 @@ interface components {
10187
10189
  enabled: boolean;
10188
10190
  /** @description How many minutes before it starts a booking of the resource has to be made. */
10189
10191
  minNotice?: number;
10192
+ /** @description Booking window for nonmembers. A booking of a nonmember follows it instead of the booking window above while it is enabled, even when that one is off. */
10193
+ public: {
10194
+ /**
10195
+ * @description How far ahead nonmembers can book the resource.
10196
+ * @enum {string}
10197
+ */
10198
+ bookAhead?: "oneDay" | "twoDays" | "oneWeek" | "twoWeeks" | "oneMonth" | "threeMonths" | "sixMonths" | "oneYear" | "unlimited";
10199
+ /** @description Whether bookings of nonmembers follow a separate booking window. */
10200
+ enabled: boolean;
10201
+ /** @description How many minutes before it starts a booking of a nonmember has to be made. */
10202
+ minNotice?: number;
10203
+ };
10190
10204
  };
10191
10205
  /** @description Brivo access group reference. */
10192
10206
  brivoGroupRef?: number | null;
@@ -10910,6 +10924,18 @@ interface components {
10910
10924
  enabled: boolean;
10911
10925
  /** @description How many minutes before it starts a booking of the resource has to be made. */
10912
10926
  minNotice?: number;
10927
+ /** @description Booking window for nonmembers. A booking of a nonmember follows it instead of the booking window above while it is enabled, even when that one is off. */
10928
+ public: {
10929
+ /**
10930
+ * @description How far ahead nonmembers can book the resource.
10931
+ * @enum {string}
10932
+ */
10933
+ bookAhead?: "oneDay" | "twoDays" | "oneWeek" | "twoWeeks" | "oneMonth" | "threeMonths" | "sixMonths" | "oneYear" | "unlimited";
10934
+ /** @description Whether bookings of nonmembers follow a separate booking window. */
10935
+ enabled: boolean;
10936
+ /** @description How many minutes before it starts a booking of a nonmember has to be made. */
10937
+ minNotice?: number;
10938
+ };
10913
10939
  };
10914
10940
  /** @description Brivo access group reference. */
10915
10941
  brivoGroupRef?: number | null;
@@ -20940,7 +20966,7 @@ interface components {
20940
20966
  */
20941
20967
  type: "booking" | "custom" | "creditPackage" | "eventTicket" | "invoice" | "order" | "subscription";
20942
20968
  };
20943
- /** @description URL to download the receipt PDF. The URL carries a receipt token, so it can be opened without authentication. */
20969
+ /** @description URL to download the receipt PDF. The URL carries a receipt token, so it can be opened without authentication. The link stops working 190 days after it was issued, whether or not the transaction is fetched again. Fetching the transaction 180 days or more after the link was issued returns a new one, so fetch the transaction again for the current link rather than storing it. */
20944
20970
  receiptPdfUrl?: string;
20945
20971
  /**
20946
20972
  * @deprecated
@@ -21660,7 +21686,7 @@ interface components {
21660
21686
  */
21661
21687
  type: "booking" | "custom" | "creditPackage" | "eventTicket" | "invoice" | "order" | "subscription";
21662
21688
  };
21663
- /** @description URL to download the receipt PDF. The URL carries a receipt token, so it can be opened without authentication. */
21689
+ /** @description URL to download the receipt PDF. The URL carries a receipt token, so it can be opened without authentication. The link stops working 190 days after it was issued, whether or not the transaction is fetched again. Fetching the transaction 180 days or more after the link was issued returns a new one, so fetch the transaction again for the current link rather than storing it. */
21664
21690
  receiptPdfUrl?: string;
21665
21691
  /**
21666
21692
  * @deprecated
@@ -22380,7 +22406,7 @@ interface components {
22380
22406
  */
22381
22407
  type: "booking" | "custom" | "creditPackage" | "eventTicket" | "invoice" | "order" | "subscription";
22382
22408
  };
22383
- /** @description URL to download the receipt PDF. The URL carries a receipt token, so it can be opened without authentication. */
22409
+ /** @description URL to download the receipt PDF. The URL carries a receipt token, so it can be opened without authentication. The link stops working 190 days after it was issued, whether or not the transaction is fetched again. Fetching the transaction 180 days or more after the link was issued returns a new one, so fetch the transaction again for the current link rather than storing it. */
22384
22410
  receiptPdfUrl?: string;
22385
22411
  /**
22386
22412
  * @deprecated
@@ -25121,6 +25147,18 @@ interface components {
25121
25147
  enabled: boolean;
25122
25148
  /** @description How many minutes before it starts a booking of the resource has to be made, up to 30 days. 0 accepts bookings up to the start time. Required while enabled is true. */
25123
25149
  minNotice?: number;
25150
+ /** @description Booking window for nonmembers. A booking of a nonmember follows it instead of the booking window above while it is enabled, even when that one is off. */
25151
+ public?: {
25152
+ /**
25153
+ * @description How far ahead nonmembers can book the resource. Required while enabled is true.
25154
+ * @enum {string}
25155
+ */
25156
+ bookAhead?: "oneDay" | "twoDays" | "oneWeek" | "twoWeeks" | "oneMonth" | "threeMonths" | "sixMonths" | "oneYear" | "unlimited";
25157
+ /** @description Whether bookings of nonmembers follow a separate booking window. While it is false, they follow the booking window above. */
25158
+ enabled: boolean;
25159
+ /** @description How many minutes before it starts a booking of a nonmember has to be made, up to 30 days. 0 accepts bookings up to the start time. Required while enabled is true. */
25160
+ minNotice?: number;
25161
+ };
25124
25162
  };
25125
25163
  /** @description Brivo access group reference. */
25126
25164
  brivoGroupRef?: number | null;
@@ -25628,6 +25666,18 @@ interface components {
25628
25666
  enabled: boolean;
25629
25667
  /** @description How many minutes before it starts a booking of the resource has to be made, up to 30 days. 0 accepts bookings up to the start time. Required while enabled is true. */
25630
25668
  minNotice?: number;
25669
+ /** @description Booking window for nonmembers. A booking of a nonmember follows it instead of the booking window above while it is enabled, even when that one is off. */
25670
+ public?: {
25671
+ /**
25672
+ * @description How far ahead nonmembers can book the resource. Required while enabled is true.
25673
+ * @enum {string}
25674
+ */
25675
+ bookAhead?: "oneDay" | "twoDays" | "oneWeek" | "twoWeeks" | "oneMonth" | "threeMonths" | "sixMonths" | "oneYear" | "unlimited";
25676
+ /** @description Whether bookings of nonmembers follow a separate booking window. While it is false, they follow the booking window above. */
25677
+ enabled: boolean;
25678
+ /** @description How many minutes before it starts a booking of a nonmember has to be made, up to 30 days. 0 accepts bookings up to the start time. Required while enabled is true. */
25679
+ minNotice?: number;
25680
+ };
25631
25681
  };
25632
25682
  /** @description Brivo access group reference. */
25633
25683
  brivoGroupRef?: number | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@izak0s/spacebring-api",
3
- "version": "16.5.0",
3
+ "version": "16.6.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",