@izak0s/spacebring-api 9.1.0 → 9.2.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.cjs.map +1 -1
- package/dist/index.d.cts +12 -8
- package/dist/index.d.ts +12 -8
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -30141,7 +30141,7 @@ interface operations {
|
|
|
30141
30141
|
"startDate[lt]"?: string;
|
|
30142
30142
|
/** @description Matches bookings with startDate on or before this date (ISO 8601). */
|
|
30143
30143
|
"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. */
|
|
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, userRef, or userRefOwner. */
|
|
30145
30145
|
companyRefOwner?: string;
|
|
30146
30146
|
/** @description UUID of the customer whose bookings to list, both made and attended. */
|
|
30147
30147
|
customerRef?: string;
|
|
@@ -30151,7 +30151,7 @@ interface operations {
|
|
|
30151
30151
|
includeDeleted?: string;
|
|
30152
30152
|
/** @description Maximum number of bookings per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
|
|
30153
30153
|
limit?: number;
|
|
30154
|
-
/** @description UUID of the location whose bookings to list. Required when resourceRef
|
|
30154
|
+
/** @description UUID of the location whose bookings to list. Required when both resourceRef and userRef are omitted. */
|
|
30155
30155
|
locationRef?: string;
|
|
30156
30156
|
/** @description Deprecated. Use customerRef instead. UUID of the customer whose bookings to list. */
|
|
30157
30157
|
membershipRefOwner?: string;
|
|
@@ -30159,7 +30159,7 @@ interface operations {
|
|
|
30159
30159
|
nextPageToken?: string;
|
|
30160
30160
|
/** @description Sort order as `<field>:<direction>`, where field is startDate, endDate or createDate and direction is asc or desc. */
|
|
30161
30161
|
order?: string;
|
|
30162
|
-
/** @description UUID of the resource whose bookings to list. Required when locationRef
|
|
30162
|
+
/** @description UUID of the resource whose bookings to list. Required when both locationRef and userRef are omitted. */
|
|
30163
30163
|
resourceRef?: string;
|
|
30164
30164
|
/** @description Set to "true" to expand repeating bookings into single occurrences. */
|
|
30165
30165
|
singleBookings?: string;
|
|
@@ -30169,7 +30169,9 @@ interface operations {
|
|
|
30169
30169
|
status?: string;
|
|
30170
30170
|
/** @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
30171
|
type?: string;
|
|
30172
|
-
/** @description UUID of the user whose
|
|
30172
|
+
/** @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. */
|
|
30173
|
+
userRef?: string;
|
|
30174
|
+
/** @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
30175
|
userRefOwner?: string;
|
|
30174
30176
|
/** @description Deprecated. Use type instead. */
|
|
30175
30177
|
types?: string;
|
|
@@ -32902,7 +32904,7 @@ interface GetBookingsQuery {
|
|
|
32902
32904
|
"startDate[lt]"?: string;
|
|
32903
32905
|
/** Matches bookings with startDate on or before this date (ISO 8601). */
|
|
32904
32906
|
"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. */
|
|
32907
|
+
/** 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
32908
|
companyRefOwner?: string;
|
|
32907
32909
|
/** UUID of the customer whose bookings to list, both made and attended. */
|
|
32908
32910
|
customerRef?: string;
|
|
@@ -32912,7 +32914,7 @@ interface GetBookingsQuery {
|
|
|
32912
32914
|
includeDeleted?: string;
|
|
32913
32915
|
/** Maximum number of bookings per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
|
|
32914
32916
|
limit?: number;
|
|
32915
|
-
/** UUID of the location whose bookings to list. Required when resourceRef
|
|
32917
|
+
/** UUID of the location whose bookings to list. Required when both resourceRef and userRef are omitted. */
|
|
32916
32918
|
locationRef?: string;
|
|
32917
32919
|
/** @deprecated Use customerRef instead. UUID of the customer whose bookings to list. */
|
|
32918
32920
|
membershipRefOwner?: string;
|
|
@@ -32920,7 +32922,7 @@ interface GetBookingsQuery {
|
|
|
32920
32922
|
nextPageToken?: string;
|
|
32921
32923
|
/** Sort order as `:`, where field is startDate, endDate or createDate and direction is asc or desc. */
|
|
32922
32924
|
order?: string;
|
|
32923
|
-
/** UUID of the resource whose bookings to list. Required when locationRef
|
|
32925
|
+
/** UUID of the resource whose bookings to list. Required when both locationRef and userRef are omitted. */
|
|
32924
32926
|
resourceRef?: string;
|
|
32925
32927
|
/** Set to "true" to expand repeating bookings into single occurrences. */
|
|
32926
32928
|
singleBookings?: string;
|
|
@@ -32930,7 +32932,9 @@ interface GetBookingsQuery {
|
|
|
32930
32932
|
status?: string;
|
|
32931
32933
|
/** 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
32934
|
type?: string;
|
|
32933
|
-
/** UUID of the user whose
|
|
32935
|
+
/** 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. */
|
|
32936
|
+
userRef?: string;
|
|
32937
|
+
/** 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
32938
|
userRefOwner?: string;
|
|
32935
32939
|
/** @deprecated Use type instead. */
|
|
32936
32940
|
types?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -30141,7 +30141,7 @@ interface operations {
|
|
|
30141
30141
|
"startDate[lt]"?: string;
|
|
30142
30142
|
/** @description Matches bookings with startDate on or before this date (ISO 8601). */
|
|
30143
30143
|
"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. */
|
|
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, userRef, or userRefOwner. */
|
|
30145
30145
|
companyRefOwner?: string;
|
|
30146
30146
|
/** @description UUID of the customer whose bookings to list, both made and attended. */
|
|
30147
30147
|
customerRef?: string;
|
|
@@ -30151,7 +30151,7 @@ interface operations {
|
|
|
30151
30151
|
includeDeleted?: string;
|
|
30152
30152
|
/** @description Maximum number of bookings per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
|
|
30153
30153
|
limit?: number;
|
|
30154
|
-
/** @description UUID of the location whose bookings to list. Required when resourceRef
|
|
30154
|
+
/** @description UUID of the location whose bookings to list. Required when both resourceRef and userRef are omitted. */
|
|
30155
30155
|
locationRef?: string;
|
|
30156
30156
|
/** @description Deprecated. Use customerRef instead. UUID of the customer whose bookings to list. */
|
|
30157
30157
|
membershipRefOwner?: string;
|
|
@@ -30159,7 +30159,7 @@ interface operations {
|
|
|
30159
30159
|
nextPageToken?: string;
|
|
30160
30160
|
/** @description Sort order as `<field>:<direction>`, where field is startDate, endDate or createDate and direction is asc or desc. */
|
|
30161
30161
|
order?: string;
|
|
30162
|
-
/** @description UUID of the resource whose bookings to list. Required when locationRef
|
|
30162
|
+
/** @description UUID of the resource whose bookings to list. Required when both locationRef and userRef are omitted. */
|
|
30163
30163
|
resourceRef?: string;
|
|
30164
30164
|
/** @description Set to "true" to expand repeating bookings into single occurrences. */
|
|
30165
30165
|
singleBookings?: string;
|
|
@@ -30169,7 +30169,9 @@ interface operations {
|
|
|
30169
30169
|
status?: string;
|
|
30170
30170
|
/** @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
30171
|
type?: string;
|
|
30172
|
-
/** @description UUID of the user whose
|
|
30172
|
+
/** @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. */
|
|
30173
|
+
userRef?: string;
|
|
30174
|
+
/** @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
30175
|
userRefOwner?: string;
|
|
30174
30176
|
/** @description Deprecated. Use type instead. */
|
|
30175
30177
|
types?: string;
|
|
@@ -32902,7 +32904,7 @@ interface GetBookingsQuery {
|
|
|
32902
32904
|
"startDate[lt]"?: string;
|
|
32903
32905
|
/** Matches bookings with startDate on or before this date (ISO 8601). */
|
|
32904
32906
|
"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. */
|
|
32907
|
+
/** 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
32908
|
companyRefOwner?: string;
|
|
32907
32909
|
/** UUID of the customer whose bookings to list, both made and attended. */
|
|
32908
32910
|
customerRef?: string;
|
|
@@ -32912,7 +32914,7 @@ interface GetBookingsQuery {
|
|
|
32912
32914
|
includeDeleted?: string;
|
|
32913
32915
|
/** Maximum number of bookings per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
|
|
32914
32916
|
limit?: number;
|
|
32915
|
-
/** UUID of the location whose bookings to list. Required when resourceRef
|
|
32917
|
+
/** UUID of the location whose bookings to list. Required when both resourceRef and userRef are omitted. */
|
|
32916
32918
|
locationRef?: string;
|
|
32917
32919
|
/** @deprecated Use customerRef instead. UUID of the customer whose bookings to list. */
|
|
32918
32920
|
membershipRefOwner?: string;
|
|
@@ -32920,7 +32922,7 @@ interface GetBookingsQuery {
|
|
|
32920
32922
|
nextPageToken?: string;
|
|
32921
32923
|
/** Sort order as `:`, where field is startDate, endDate or createDate and direction is asc or desc. */
|
|
32922
32924
|
order?: string;
|
|
32923
|
-
/** UUID of the resource whose bookings to list. Required when locationRef
|
|
32925
|
+
/** UUID of the resource whose bookings to list. Required when both locationRef and userRef are omitted. */
|
|
32924
32926
|
resourceRef?: string;
|
|
32925
32927
|
/** Set to "true" to expand repeating bookings into single occurrences. */
|
|
32926
32928
|
singleBookings?: string;
|
|
@@ -32930,7 +32932,9 @@ interface GetBookingsQuery {
|
|
|
32930
32932
|
status?: string;
|
|
32931
32933
|
/** 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
32934
|
type?: string;
|
|
32933
|
-
/** UUID of the user whose
|
|
32935
|
+
/** 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. */
|
|
32936
|
+
userRef?: string;
|
|
32937
|
+
/** 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
32938
|
userRefOwner?: string;
|
|
32935
32939
|
/** @deprecated Use type instead. */
|
|
32936
32940
|
types?: string;
|