@izak0s/spacebring-api 3.4.0 → 3.5.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
@@ -7487,6 +7487,10 @@ interface components {
7487
7487
  * @description ID of the location this floor belongs to.
7488
7488
  */
7489
7489
  locationRef: string;
7490
+ /** @description Resource IDs each mappable plan node is bookable as, keyed by the node's `nodeId`. */
7491
+ mappings: {
7492
+ [key: string]: string[];
7493
+ };
7490
7494
  /** @description Parsed floor plan data. */
7491
7495
  plan: {
7492
7496
  [key: string]: unknown;
@@ -23415,10 +23419,14 @@ interface operations {
23415
23419
  locationRef: string;
23416
23420
  /** @description The number of items to return */
23417
23421
  limit?: number;
23422
+ /** @description Filter tickets by requester membership ids. Pass one UUID or multiple unique comma-separated UUIDs without spaces, e.g. `id` or `id1,id2,id3`, up to 100. The memberships must exist in the location. Admins can filter by any requester; other users only by their own membership. */
23423
+ membershipRefRequester?: string;
23418
23424
  /** @description Token to retrieve the next page of results. */
23419
23425
  nextPageToken?: components["schemas"]["nextPageToken"];
23420
23426
  /** @description The order of the tickets. createDate:asc, createDate:desc, updateDate:asc or updateDate:desc. Default: createDate:desc */
23421
23427
  order?: string;
23428
+ /** @description Filter tickets by assignee user ids. Pass one UUID or multiple unique comma-separated UUIDs without spaces, e.g. `id` or `id1,id2,id3`, up to 100. The users must exist. Only admins can filter by assignee. */
23429
+ userRefAssignee?: string;
23422
23430
  };
23423
23431
  header?: {
23424
23432
  /** @description The id of the network. Required when using bearer token authentication */
@@ -24887,10 +24895,14 @@ interface GetSupportTicketsQuery {
24887
24895
  locationRef: string;
24888
24896
  /** The number of items to return */
24889
24897
  limit?: number;
24898
+ /** Filter tickets by requester membership ids. Pass one UUID or multiple unique comma-separated UUIDs without spaces, e.g. `id` or `id1,id2,id3`, up to 100. The memberships must exist in the location. Admins can filter by any requester; other users only by their own membership. */
24899
+ membershipRefRequester?: string;
24890
24900
  /** Token to retrieve the next page of results. */
24891
24901
  nextPageToken?: string;
24892
24902
  /** The order of the tickets. createDate:asc, createDate:desc, updateDate:asc or updateDate:desc. Default: createDate:desc */
24893
24903
  order?: string;
24904
+ /** Filter tickets by assignee user ids. Pass one UUID or multiple unique comma-separated UUIDs without spaces, e.g. `id` or `id1,id2,id3`, up to 100. The users must exist. Only admins can filter by assignee. */
24905
+ userRefAssignee?: string;
24894
24906
  }
24895
24907
  /** Request body for `sb.support.tickets.create()`. */
24896
24908
  type CreateSupportTicketBody = NonNullable<NonNullable<operations["createSupportTicket"]["requestBody"]>["content"]["application/json"]["ticket"]>;
package/dist/index.d.ts CHANGED
@@ -7487,6 +7487,10 @@ interface components {
7487
7487
  * @description ID of the location this floor belongs to.
7488
7488
  */
7489
7489
  locationRef: string;
7490
+ /** @description Resource IDs each mappable plan node is bookable as, keyed by the node's `nodeId`. */
7491
+ mappings: {
7492
+ [key: string]: string[];
7493
+ };
7490
7494
  /** @description Parsed floor plan data. */
7491
7495
  plan: {
7492
7496
  [key: string]: unknown;
@@ -23415,10 +23419,14 @@ interface operations {
23415
23419
  locationRef: string;
23416
23420
  /** @description The number of items to return */
23417
23421
  limit?: number;
23422
+ /** @description Filter tickets by requester membership ids. Pass one UUID or multiple unique comma-separated UUIDs without spaces, e.g. `id` or `id1,id2,id3`, up to 100. The memberships must exist in the location. Admins can filter by any requester; other users only by their own membership. */
23423
+ membershipRefRequester?: string;
23418
23424
  /** @description Token to retrieve the next page of results. */
23419
23425
  nextPageToken?: components["schemas"]["nextPageToken"];
23420
23426
  /** @description The order of the tickets. createDate:asc, createDate:desc, updateDate:asc or updateDate:desc. Default: createDate:desc */
23421
23427
  order?: string;
23428
+ /** @description Filter tickets by assignee user ids. Pass one UUID or multiple unique comma-separated UUIDs without spaces, e.g. `id` or `id1,id2,id3`, up to 100. The users must exist. Only admins can filter by assignee. */
23429
+ userRefAssignee?: string;
23422
23430
  };
23423
23431
  header?: {
23424
23432
  /** @description The id of the network. Required when using bearer token authentication */
@@ -24887,10 +24895,14 @@ interface GetSupportTicketsQuery {
24887
24895
  locationRef: string;
24888
24896
  /** The number of items to return */
24889
24897
  limit?: number;
24898
+ /** Filter tickets by requester membership ids. Pass one UUID or multiple unique comma-separated UUIDs without spaces, e.g. `id` or `id1,id2,id3`, up to 100. The memberships must exist in the location. Admins can filter by any requester; other users only by their own membership. */
24899
+ membershipRefRequester?: string;
24890
24900
  /** Token to retrieve the next page of results. */
24891
24901
  nextPageToken?: string;
24892
24902
  /** The order of the tickets. createDate:asc, createDate:desc, updateDate:asc or updateDate:desc. Default: createDate:desc */
24893
24903
  order?: string;
24904
+ /** Filter tickets by assignee user ids. Pass one UUID or multiple unique comma-separated UUIDs without spaces, e.g. `id` or `id1,id2,id3`, up to 100. The users must exist. Only admins can filter by assignee. */
24905
+ userRefAssignee?: string;
24894
24906
  }
24895
24907
  /** Request body for `sb.support.tickets.create()`. */
24896
24908
  type CreateSupportTicketBody = NonNullable<NonNullable<operations["createSupportTicket"]["requestBody"]>["content"]["application/json"]["ticket"]>;