@izak0s/spacebring-api 10.0.0 → 10.1.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
@@ -30724,7 +30724,7 @@ interface operations {
30724
30724
  membershipRefOwner?: string;
30725
30725
  /** @description Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
30726
30726
  nextPageToken?: string;
30727
- /** @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. */
30727
+ /** @description Sort order as `<field>:<direction>`, where field is startDate, endDate, createDate or deleteDate and direction is asc or desc. deleteDate lists only cancelled bookings, by when they were cancelled, and cannot be combined with singleBookings. Defaults to startDate:asc when a startDate filter is given, endDate:asc when only an endDate filter is given, and createDate:desc otherwise. */
30728
30728
  order?: string;
30729
30729
  /** @description UUID of the resource whose bookings to list. Required when both locationRef and userRef are omitted. */
30730
30730
  resourceRef?: string;
@@ -30732,7 +30732,7 @@ interface operations {
30732
30732
  singleBookings?: string;
30733
30733
  /** @description Deprecated. Use bracket-notation fields startDate[gt], startDate[gte], startDate[lt], startDate[lte] instead. */
30734
30734
  startDate?: string;
30735
- /** @description Comma-separated list of booking statuses to filter by, e.g. `confirmed,canceled`. Valid values: tentative, confirmed, canceled. Defaults to tentative, confirmed. */
30735
+ /** @description Comma-separated list of booking statuses to filter by, e.g. `confirmed,canceled`. Valid values: tentative, confirmed, canceled. Defaults to tentative, confirmed, or to canceled when ordering by deleteDate. */
30736
30736
  status?: string;
30737
30737
  /** @description Comma-separated list of resource types to filter by, e.g. `room,hotDesk`. Valid values: hotDesk, dedicatedDesk, office, parkingLot, room, conferenceRoom, eventSpace, meetingRoom, phoneBooth, studio, equipment, station. Defaults to all bookable types. */
30738
30738
  type?: string;
@@ -33528,7 +33528,7 @@ interface GetBookingsQuery {
33528
33528
  membershipRefOwner?: string;
33529
33529
  /** Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
33530
33530
  nextPageToken?: string;
33531
- /** 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. */
33531
+ /** Sort order as `:`, where field is startDate, endDate, createDate or deleteDate and direction is asc or desc. deleteDate lists only cancelled bookings, by when they were cancelled, and cannot be combined with singleBookings. Defaults to startDate:asc when a startDate filter is given, endDate:asc when only an endDate filter is given, and createDate:desc otherwise. */
33532
33532
  order?: string;
33533
33533
  /** UUID of the resource whose bookings to list. Required when both locationRef and userRef are omitted. */
33534
33534
  resourceRef?: string;
@@ -33536,7 +33536,7 @@ interface GetBookingsQuery {
33536
33536
  singleBookings?: string;
33537
33537
  /** @deprecated Use bracket-notation fields startDate[gt], startDate[gte], startDate[lt], startDate[lte] instead. */
33538
33538
  startDate?: string;
33539
- /** Comma-separated list of booking statuses to filter by, e.g. `confirmed,canceled`. Valid values: tentative, confirmed, canceled. Defaults to tentative, confirmed. */
33539
+ /** Comma-separated list of booking statuses to filter by, e.g. `confirmed,canceled`. Valid values: tentative, confirmed, canceled. Defaults to tentative, confirmed, or to canceled when ordering by deleteDate. */
33540
33540
  status?: string;
33541
33541
  /** Comma-separated list of resource types to filter by, e.g. `room,hotDesk`. Valid values: hotDesk, dedicatedDesk, office, parkingLot, room, conferenceRoom, eventSpace, meetingRoom, phoneBooth, studio, equipment, station. Defaults to all bookable types. */
33542
33542
  type?: string;
package/dist/index.d.ts CHANGED
@@ -30724,7 +30724,7 @@ interface operations {
30724
30724
  membershipRefOwner?: string;
30725
30725
  /** @description Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
30726
30726
  nextPageToken?: string;
30727
- /** @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. */
30727
+ /** @description Sort order as `<field>:<direction>`, where field is startDate, endDate, createDate or deleteDate and direction is asc or desc. deleteDate lists only cancelled bookings, by when they were cancelled, and cannot be combined with singleBookings. Defaults to startDate:asc when a startDate filter is given, endDate:asc when only an endDate filter is given, and createDate:desc otherwise. */
30728
30728
  order?: string;
30729
30729
  /** @description UUID of the resource whose bookings to list. Required when both locationRef and userRef are omitted. */
30730
30730
  resourceRef?: string;
@@ -30732,7 +30732,7 @@ interface operations {
30732
30732
  singleBookings?: string;
30733
30733
  /** @description Deprecated. Use bracket-notation fields startDate[gt], startDate[gte], startDate[lt], startDate[lte] instead. */
30734
30734
  startDate?: string;
30735
- /** @description Comma-separated list of booking statuses to filter by, e.g. `confirmed,canceled`. Valid values: tentative, confirmed, canceled. Defaults to tentative, confirmed. */
30735
+ /** @description Comma-separated list of booking statuses to filter by, e.g. `confirmed,canceled`. Valid values: tentative, confirmed, canceled. Defaults to tentative, confirmed, or to canceled when ordering by deleteDate. */
30736
30736
  status?: string;
30737
30737
  /** @description Comma-separated list of resource types to filter by, e.g. `room,hotDesk`. Valid values: hotDesk, dedicatedDesk, office, parkingLot, room, conferenceRoom, eventSpace, meetingRoom, phoneBooth, studio, equipment, station. Defaults to all bookable types. */
30738
30738
  type?: string;
@@ -33528,7 +33528,7 @@ interface GetBookingsQuery {
33528
33528
  membershipRefOwner?: string;
33529
33529
  /** Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
33530
33530
  nextPageToken?: string;
33531
- /** 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. */
33531
+ /** Sort order as `:`, where field is startDate, endDate, createDate or deleteDate and direction is asc or desc. deleteDate lists only cancelled bookings, by when they were cancelled, and cannot be combined with singleBookings. Defaults to startDate:asc when a startDate filter is given, endDate:asc when only an endDate filter is given, and createDate:desc otherwise. */
33532
33532
  order?: string;
33533
33533
  /** UUID of the resource whose bookings to list. Required when both locationRef and userRef are omitted. */
33534
33534
  resourceRef?: string;
@@ -33536,7 +33536,7 @@ interface GetBookingsQuery {
33536
33536
  singleBookings?: string;
33537
33537
  /** @deprecated Use bracket-notation fields startDate[gt], startDate[gte], startDate[lt], startDate[lte] instead. */
33538
33538
  startDate?: string;
33539
- /** Comma-separated list of booking statuses to filter by, e.g. `confirmed,canceled`. Valid values: tentative, confirmed, canceled. Defaults to tentative, confirmed. */
33539
+ /** Comma-separated list of booking statuses to filter by, e.g. `confirmed,canceled`. Valid values: tentative, confirmed, canceled. Defaults to tentative, confirmed, or to canceled when ordering by deleteDate. */
33540
33540
  status?: string;
33541
33541
  /** Comma-separated list of resource types to filter by, e.g. `room,hotDesk`. Valid values: hotDesk, dedicatedDesk, office, parkingLot, room, conferenceRoom, eventSpace, meetingRoom, phoneBooth, studio, equipment, station. Defaults to all bookable types. */
33542
33542
  type?: string;