@izak0s/spacebring-api 9.1.0 → 9.3.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
@@ -6283,6 +6283,8 @@ interface components {
6283
6283
  order?: number;
6284
6284
  /** @description Phone number. */
6285
6285
  phoneNumber?: string;
6286
+ /** @description Profile photo URL, present when the signer is a user of the contract location. */
6287
+ photoUrl?: string;
6286
6288
  /**
6287
6289
  * Format: date-time
6288
6290
  * @description Date this signer signed.
@@ -6498,6 +6500,8 @@ interface components {
6498
6500
  order?: number;
6499
6501
  /** @description Phone number. */
6500
6502
  phoneNumber?: string;
6503
+ /** @description Profile photo URL, present when the signer is a user of the contract location. */
6504
+ photoUrl?: string;
6501
6505
  /**
6502
6506
  * Format: date-time
6503
6507
  * @description Date this signer signed.
@@ -30141,7 +30145,7 @@ interface operations {
30141
30145
  "startDate[lt]"?: string;
30142
30146
  /** @description Matches bookings with startDate on or before this date (ISO 8601). */
30143
30147
  "startDate[lte]"?: string;
30144
- /** @description UUID of the company whose own bookings to list: bookings the company or its members made, not ones they were added to as attendees. Cannot be combined with customerRef or userRefOwner. */
30148
+ /** @description UUID of the company whose own bookings to list: bookings the company or its members made, not ones they were added to as attendees. Cannot be combined with customerRef, userRef, or userRefOwner. */
30145
30149
  companyRefOwner?: string;
30146
30150
  /** @description UUID of the customer whose bookings to list, both made and attended. */
30147
30151
  customerRef?: string;
@@ -30151,7 +30155,7 @@ interface operations {
30151
30155
  includeDeleted?: string;
30152
30156
  /** @description Maximum number of bookings per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
30153
30157
  limit?: number;
30154
- /** @description UUID of the location whose bookings to list. Required when resourceRef is omitted. */
30158
+ /** @description UUID of the location whose bookings to list. Required when both resourceRef and userRef are omitted. */
30155
30159
  locationRef?: string;
30156
30160
  /** @description Deprecated. Use customerRef instead. UUID of the customer whose bookings to list. */
30157
30161
  membershipRefOwner?: string;
@@ -30159,7 +30163,7 @@ interface operations {
30159
30163
  nextPageToken?: string;
30160
30164
  /** @description Sort order as `<field>:<direction>`, where field is startDate, endDate or createDate and direction is asc or desc. */
30161
30165
  order?: string;
30162
- /** @description UUID of the resource whose bookings to list. Required when locationRef is omitted. */
30166
+ /** @description UUID of the resource whose bookings to list. Required when both locationRef and userRef are omitted. */
30163
30167
  resourceRef?: string;
30164
30168
  /** @description Set to "true" to expand repeating bookings into single occurrences. */
30165
30169
  singleBookings?: string;
@@ -30169,7 +30173,9 @@ interface operations {
30169
30173
  status?: string;
30170
30174
  /** @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. */
30171
30175
  type?: string;
30172
- /** @description UUID of the user whose own bookings to list: bookings the user made, not ones they were added to as an attendee. Cannot be combined with customerRef or companyRefOwner. */
30176
+ /** @description UUID of the user whose bookings to list, both made and attended. Can be given on its own, without locationRef or resourceRef, to list the user's bookings across every location of the network. Cannot be combined with customerRef, companyRefOwner, or userRefOwner. */
30177
+ userRef?: string;
30178
+ /** @description UUID of the user whose own bookings to list: bookings the user made, not ones they were added to as an attendee. Cannot be combined with customerRef, companyRefOwner, or userRef. */
30173
30179
  userRefOwner?: string;
30174
30180
  /** @description Deprecated. Use type instead. */
30175
30181
  types?: string;
@@ -32902,7 +32908,7 @@ interface GetBookingsQuery {
32902
32908
  "startDate[lt]"?: string;
32903
32909
  /** Matches bookings with startDate on or before this date (ISO 8601). */
32904
32910
  "startDate[lte]"?: string;
32905
- /** UUID of the company whose own bookings to list: bookings the company or its members made, not ones they were added to as attendees. Cannot be combined with customerRef or userRefOwner. */
32911
+ /** UUID of the company whose own bookings to list: bookings the company or its members made, not ones they were added to as attendees. Cannot be combined with customerRef, userRef, or userRefOwner. */
32906
32912
  companyRefOwner?: string;
32907
32913
  /** UUID of the customer whose bookings to list, both made and attended. */
32908
32914
  customerRef?: string;
@@ -32912,7 +32918,7 @@ interface GetBookingsQuery {
32912
32918
  includeDeleted?: string;
32913
32919
  /** Maximum number of bookings per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
32914
32920
  limit?: number;
32915
- /** UUID of the location whose bookings to list. Required when resourceRef is omitted. */
32921
+ /** UUID of the location whose bookings to list. Required when both resourceRef and userRef are omitted. */
32916
32922
  locationRef?: string;
32917
32923
  /** @deprecated Use customerRef instead. UUID of the customer whose bookings to list. */
32918
32924
  membershipRefOwner?: string;
@@ -32920,7 +32926,7 @@ interface GetBookingsQuery {
32920
32926
  nextPageToken?: string;
32921
32927
  /** Sort order as `:`, where field is startDate, endDate or createDate and direction is asc or desc. */
32922
32928
  order?: string;
32923
- /** UUID of the resource whose bookings to list. Required when locationRef is omitted. */
32929
+ /** UUID of the resource whose bookings to list. Required when both locationRef and userRef are omitted. */
32924
32930
  resourceRef?: string;
32925
32931
  /** Set to "true" to expand repeating bookings into single occurrences. */
32926
32932
  singleBookings?: string;
@@ -32930,7 +32936,9 @@ interface GetBookingsQuery {
32930
32936
  status?: string;
32931
32937
  /** 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. */
32932
32938
  type?: string;
32933
- /** UUID of the user whose own bookings to list: bookings the user made, not ones they were added to as an attendee. Cannot be combined with customerRef or companyRefOwner. */
32939
+ /** UUID of the user whose bookings to list, both made and attended. Can be given on its own, without locationRef or resourceRef, to list the user's bookings across every location of the network. Cannot be combined with customerRef, companyRefOwner, or userRefOwner. */
32940
+ userRef?: string;
32941
+ /** UUID of the user whose own bookings to list: bookings the user made, not ones they were added to as an attendee. Cannot be combined with customerRef, companyRefOwner, or userRef. */
32934
32942
  userRefOwner?: string;
32935
32943
  /** @deprecated Use type instead. */
32936
32944
  types?: string;
package/dist/index.d.ts CHANGED
@@ -6283,6 +6283,8 @@ interface components {
6283
6283
  order?: number;
6284
6284
  /** @description Phone number. */
6285
6285
  phoneNumber?: string;
6286
+ /** @description Profile photo URL, present when the signer is a user of the contract location. */
6287
+ photoUrl?: string;
6286
6288
  /**
6287
6289
  * Format: date-time
6288
6290
  * @description Date this signer signed.
@@ -6498,6 +6500,8 @@ interface components {
6498
6500
  order?: number;
6499
6501
  /** @description Phone number. */
6500
6502
  phoneNumber?: string;
6503
+ /** @description Profile photo URL, present when the signer is a user of the contract location. */
6504
+ photoUrl?: string;
6501
6505
  /**
6502
6506
  * Format: date-time
6503
6507
  * @description Date this signer signed.
@@ -30141,7 +30145,7 @@ interface operations {
30141
30145
  "startDate[lt]"?: string;
30142
30146
  /** @description Matches bookings with startDate on or before this date (ISO 8601). */
30143
30147
  "startDate[lte]"?: string;
30144
- /** @description UUID of the company whose own bookings to list: bookings the company or its members made, not ones they were added to as attendees. Cannot be combined with customerRef or userRefOwner. */
30148
+ /** @description UUID of the company whose own bookings to list: bookings the company or its members made, not ones they were added to as attendees. Cannot be combined with customerRef, userRef, or userRefOwner. */
30145
30149
  companyRefOwner?: string;
30146
30150
  /** @description UUID of the customer whose bookings to list, both made and attended. */
30147
30151
  customerRef?: string;
@@ -30151,7 +30155,7 @@ interface operations {
30151
30155
  includeDeleted?: string;
30152
30156
  /** @description Maximum number of bookings per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
30153
30157
  limit?: number;
30154
- /** @description UUID of the location whose bookings to list. Required when resourceRef is omitted. */
30158
+ /** @description UUID of the location whose bookings to list. Required when both resourceRef and userRef are omitted. */
30155
30159
  locationRef?: string;
30156
30160
  /** @description Deprecated. Use customerRef instead. UUID of the customer whose bookings to list. */
30157
30161
  membershipRefOwner?: string;
@@ -30159,7 +30163,7 @@ interface operations {
30159
30163
  nextPageToken?: string;
30160
30164
  /** @description Sort order as `<field>:<direction>`, where field is startDate, endDate or createDate and direction is asc or desc. */
30161
30165
  order?: string;
30162
- /** @description UUID of the resource whose bookings to list. Required when locationRef is omitted. */
30166
+ /** @description UUID of the resource whose bookings to list. Required when both locationRef and userRef are omitted. */
30163
30167
  resourceRef?: string;
30164
30168
  /** @description Set to "true" to expand repeating bookings into single occurrences. */
30165
30169
  singleBookings?: string;
@@ -30169,7 +30173,9 @@ interface operations {
30169
30173
  status?: string;
30170
30174
  /** @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. */
30171
30175
  type?: string;
30172
- /** @description UUID of the user whose own bookings to list: bookings the user made, not ones they were added to as an attendee. Cannot be combined with customerRef or companyRefOwner. */
30176
+ /** @description UUID of the user whose bookings to list, both made and attended. Can be given on its own, without locationRef or resourceRef, to list the user's bookings across every location of the network. Cannot be combined with customerRef, companyRefOwner, or userRefOwner. */
30177
+ userRef?: string;
30178
+ /** @description UUID of the user whose own bookings to list: bookings the user made, not ones they were added to as an attendee. Cannot be combined with customerRef, companyRefOwner, or userRef. */
30173
30179
  userRefOwner?: string;
30174
30180
  /** @description Deprecated. Use type instead. */
30175
30181
  types?: string;
@@ -32902,7 +32908,7 @@ interface GetBookingsQuery {
32902
32908
  "startDate[lt]"?: string;
32903
32909
  /** Matches bookings with startDate on or before this date (ISO 8601). */
32904
32910
  "startDate[lte]"?: string;
32905
- /** UUID of the company whose own bookings to list: bookings the company or its members made, not ones they were added to as attendees. Cannot be combined with customerRef or userRefOwner. */
32911
+ /** UUID of the company whose own bookings to list: bookings the company or its members made, not ones they were added to as attendees. Cannot be combined with customerRef, userRef, or userRefOwner. */
32906
32912
  companyRefOwner?: string;
32907
32913
  /** UUID of the customer whose bookings to list, both made and attended. */
32908
32914
  customerRef?: string;
@@ -32912,7 +32918,7 @@ interface GetBookingsQuery {
32912
32918
  includeDeleted?: string;
32913
32919
  /** Maximum number of bookings per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
32914
32920
  limit?: number;
32915
- /** UUID of the location whose bookings to list. Required when resourceRef is omitted. */
32921
+ /** UUID of the location whose bookings to list. Required when both resourceRef and userRef are omitted. */
32916
32922
  locationRef?: string;
32917
32923
  /** @deprecated Use customerRef instead. UUID of the customer whose bookings to list. */
32918
32924
  membershipRefOwner?: string;
@@ -32920,7 +32926,7 @@ interface GetBookingsQuery {
32920
32926
  nextPageToken?: string;
32921
32927
  /** Sort order as `:`, where field is startDate, endDate or createDate and direction is asc or desc. */
32922
32928
  order?: string;
32923
- /** UUID of the resource whose bookings to list. Required when locationRef is omitted. */
32929
+ /** UUID of the resource whose bookings to list. Required when both locationRef and userRef are omitted. */
32924
32930
  resourceRef?: string;
32925
32931
  /** Set to "true" to expand repeating bookings into single occurrences. */
32926
32932
  singleBookings?: string;
@@ -32930,7 +32936,9 @@ interface GetBookingsQuery {
32930
32936
  status?: string;
32931
32937
  /** 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. */
32932
32938
  type?: string;
32933
- /** UUID of the user whose own bookings to list: bookings the user made, not ones they were added to as an attendee. Cannot be combined with customerRef or companyRefOwner. */
32939
+ /** UUID of the user whose bookings to list, both made and attended. Can be given on its own, without locationRef or resourceRef, to list the user's bookings across every location of the network. Cannot be combined with customerRef, companyRefOwner, or userRefOwner. */
32940
+ userRef?: string;
32941
+ /** UUID of the user whose own bookings to list: bookings the user made, not ones they were added to as an attendee. Cannot be combined with customerRef, companyRefOwner, or userRef. */
32934
32942
  userRefOwner?: string;
32935
32943
  /** @deprecated Use type instead. */
32936
32944
  types?: string;