@izak0s/spacebring-api 9.6.0 → 9.7.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
@@ -9095,7 +9095,7 @@ interface components {
9095
9095
  unitAmount: number;
9096
9096
  }[];
9097
9097
  };
9098
- /** @description Whether day passes are enabled. */
9098
+ /** @description Whether members can book this resource with day passes. Only hotDesk resources support day passes. */
9099
9099
  dayPassesEnabled?: boolean;
9100
9100
  /** @description Description of the resource. */
9101
9101
  description: string;
@@ -9719,7 +9719,7 @@ interface components {
9719
9719
  unitAmount: number;
9720
9720
  }[];
9721
9721
  };
9722
- /** @description Whether day passes are enabled. */
9722
+ /** @description Whether members can book this resource with day passes. Only hotDesk resources support day passes. */
9723
9723
  dayPassesEnabled?: boolean;
9724
9724
  /** @description Description of the resource. */
9725
9725
  description: string;
@@ -15785,6 +15785,8 @@ interface components {
15785
15785
  * @description ID of the assignee user.
15786
15786
  */
15787
15787
  userRefAssignee?: string;
15788
+ /** @description IDs of the users Lem AI suggests as assignees, best match first. Only returned to admins with support permission. */
15789
+ userRefsAssigneeSuggested?: string[];
15788
15790
  /** @description Requester user details. */
15789
15791
  userRequester?: {
15790
15792
  /** @description Whether the user is blocked. */
@@ -22914,7 +22916,7 @@ interface components {
22914
22916
  unitAmount: number;
22915
22917
  }[];
22916
22918
  };
22917
- /** @description Whether day passes are enabled. */
22919
+ /** @description Whether members can book this resource with day passes. Only hotDesk resources support day passes; enabling it for any other type is rejected. */
22918
22920
  dayPassesEnabled?: boolean;
22919
22921
  /** @description Description of the resource. */
22920
22922
  description?: string;
@@ -23328,7 +23330,7 @@ interface components {
23328
23330
  unitAmount: number;
23329
23331
  }[];
23330
23332
  };
23331
- /** @description Whether day passes are enabled. */
23333
+ /** @description Whether members can book this resource with day passes. Only hotDesk resources support day passes; enabling it for any other type is rejected. */
23332
23334
  dayPassesEnabled?: boolean;
23333
23335
  /** @description Description of the resource. */
23334
23336
  description?: string;
@@ -24814,10 +24816,10 @@ interface components {
24814
24816
  /** @description Description text of the ticket. */
24815
24817
  text: string;
24816
24818
  /**
24817
- * @description Category type of the ticket.
24819
+ * @description Category type of the ticket. When omitted, the type is detected from the text and administrators can change it later.
24818
24820
  * @enum {string}
24819
24821
  */
24820
- type: "access" | "accountAndBilling" | "bookings" | "cleaning" | "discriminationAndHarassment" | "internet" | "mailAndPackages" | "noiseAndAcoustics" | "offensiveOrObjectionableContent" | "other" | "printing" | "repairAndMaintenance" | "temperatureAndVentilation" | "websiteAndApp";
24822
+ type?: "access" | "accountAndBilling" | "bookings" | "cleaning" | "discriminationAndHarassment" | "internet" | "mailAndPackages" | "noiseAndAcoustics" | "offensiveOrObjectionableContent" | "other" | "printing" | "repairAndMaintenance" | "temperatureAndVentilation" | "websiteAndApp";
24821
24823
  /**
24822
24824
  * Format: uuid
24823
24825
  * @description ID of the user requesting the ticket. Defaults to the authenticated user when omitted.
@@ -30383,7 +30385,7 @@ interface operations {
30383
30385
  membershipRefOwner?: string;
30384
30386
  /** @description Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
30385
30387
  nextPageToken?: string;
30386
- /** @description Sort order as `<field>:<direction>`, where field is startDate, endDate or createDate and direction is asc or desc. */
30388
+ /** @description Sort order as `<field>:<direction>`, where field is startDate, endDate or createDate and direction is asc or desc. Defaults to startDate:asc when a startDate filter is given, endDate:asc when only an endDate filter is given, and createDate:desc otherwise. */
30387
30389
  order?: string;
30388
30390
  /** @description UUID of the resource whose bookings to list. Required when both locationRef and userRef are omitted. */
30389
30391
  resourceRef?: string;
@@ -33187,7 +33189,7 @@ interface GetBookingsQuery {
33187
33189
  membershipRefOwner?: string;
33188
33190
  /** Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
33189
33191
  nextPageToken?: string;
33190
- /** Sort order as `:`, where field is startDate, endDate or createDate and direction is asc or desc. */
33192
+ /** Sort order as `:`, where field is startDate, endDate or createDate and direction is asc or desc. Defaults to startDate:asc when a startDate filter is given, endDate:asc when only an endDate filter is given, and createDate:desc otherwise. */
33191
33193
  order?: string;
33192
33194
  /** UUID of the resource whose bookings to list. Required when both locationRef and userRef are omitted. */
33193
33195
  resourceRef?: string;
package/dist/index.d.ts CHANGED
@@ -9095,7 +9095,7 @@ interface components {
9095
9095
  unitAmount: number;
9096
9096
  }[];
9097
9097
  };
9098
- /** @description Whether day passes are enabled. */
9098
+ /** @description Whether members can book this resource with day passes. Only hotDesk resources support day passes. */
9099
9099
  dayPassesEnabled?: boolean;
9100
9100
  /** @description Description of the resource. */
9101
9101
  description: string;
@@ -9719,7 +9719,7 @@ interface components {
9719
9719
  unitAmount: number;
9720
9720
  }[];
9721
9721
  };
9722
- /** @description Whether day passes are enabled. */
9722
+ /** @description Whether members can book this resource with day passes. Only hotDesk resources support day passes. */
9723
9723
  dayPassesEnabled?: boolean;
9724
9724
  /** @description Description of the resource. */
9725
9725
  description: string;
@@ -15785,6 +15785,8 @@ interface components {
15785
15785
  * @description ID of the assignee user.
15786
15786
  */
15787
15787
  userRefAssignee?: string;
15788
+ /** @description IDs of the users Lem AI suggests as assignees, best match first. Only returned to admins with support permission. */
15789
+ userRefsAssigneeSuggested?: string[];
15788
15790
  /** @description Requester user details. */
15789
15791
  userRequester?: {
15790
15792
  /** @description Whether the user is blocked. */
@@ -22914,7 +22916,7 @@ interface components {
22914
22916
  unitAmount: number;
22915
22917
  }[];
22916
22918
  };
22917
- /** @description Whether day passes are enabled. */
22919
+ /** @description Whether members can book this resource with day passes. Only hotDesk resources support day passes; enabling it for any other type is rejected. */
22918
22920
  dayPassesEnabled?: boolean;
22919
22921
  /** @description Description of the resource. */
22920
22922
  description?: string;
@@ -23328,7 +23330,7 @@ interface components {
23328
23330
  unitAmount: number;
23329
23331
  }[];
23330
23332
  };
23331
- /** @description Whether day passes are enabled. */
23333
+ /** @description Whether members can book this resource with day passes. Only hotDesk resources support day passes; enabling it for any other type is rejected. */
23332
23334
  dayPassesEnabled?: boolean;
23333
23335
  /** @description Description of the resource. */
23334
23336
  description?: string;
@@ -24814,10 +24816,10 @@ interface components {
24814
24816
  /** @description Description text of the ticket. */
24815
24817
  text: string;
24816
24818
  /**
24817
- * @description Category type of the ticket.
24819
+ * @description Category type of the ticket. When omitted, the type is detected from the text and administrators can change it later.
24818
24820
  * @enum {string}
24819
24821
  */
24820
- type: "access" | "accountAndBilling" | "bookings" | "cleaning" | "discriminationAndHarassment" | "internet" | "mailAndPackages" | "noiseAndAcoustics" | "offensiveOrObjectionableContent" | "other" | "printing" | "repairAndMaintenance" | "temperatureAndVentilation" | "websiteAndApp";
24822
+ type?: "access" | "accountAndBilling" | "bookings" | "cleaning" | "discriminationAndHarassment" | "internet" | "mailAndPackages" | "noiseAndAcoustics" | "offensiveOrObjectionableContent" | "other" | "printing" | "repairAndMaintenance" | "temperatureAndVentilation" | "websiteAndApp";
24821
24823
  /**
24822
24824
  * Format: uuid
24823
24825
  * @description ID of the user requesting the ticket. Defaults to the authenticated user when omitted.
@@ -30383,7 +30385,7 @@ interface operations {
30383
30385
  membershipRefOwner?: string;
30384
30386
  /** @description Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
30385
30387
  nextPageToken?: string;
30386
- /** @description Sort order as `<field>:<direction>`, where field is startDate, endDate or createDate and direction is asc or desc. */
30388
+ /** @description Sort order as `<field>:<direction>`, where field is startDate, endDate or createDate and direction is asc or desc. Defaults to startDate:asc when a startDate filter is given, endDate:asc when only an endDate filter is given, and createDate:desc otherwise. */
30387
30389
  order?: string;
30388
30390
  /** @description UUID of the resource whose bookings to list. Required when both locationRef and userRef are omitted. */
30389
30391
  resourceRef?: string;
@@ -33187,7 +33189,7 @@ interface GetBookingsQuery {
33187
33189
  membershipRefOwner?: string;
33188
33190
  /** Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
33189
33191
  nextPageToken?: string;
33190
- /** Sort order as `:`, where field is startDate, endDate or createDate and direction is asc or desc. */
33192
+ /** Sort order as `:`, where field is startDate, endDate or createDate and direction is asc or desc. Defaults to startDate:asc when a startDate filter is given, endDate:asc when only an endDate filter is given, and createDate:desc otherwise. */
33191
33193
  order?: string;
33192
33194
  /** UUID of the resource whose bookings to list. Required when both locationRef and userRef are omitted. */
33193
33195
  resourceRef?: string;