@izak0s/spacebring-api 1.6.1 → 1.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.ts CHANGED
@@ -21757,6 +21757,40 @@ type Request = NonNullable<operations["getRequest"]["responses"][200]["content"]
21757
21757
  type RequestVisit = NonNullable<operations["approveRequest"]["responses"][201]["content"]["application/json"]["visit"]>;
21758
21758
  /** A VisitorVisit entity as returned by the Spacebring API. */
21759
21759
  type VisitorVisit = NonNullable<operations["getVisit"]["responses"][200]["content"]["application/json"]["visit"]>;
21760
+ /** Query parameters for `sb.visitors.contacts.list()`. */
21761
+ interface GetContactsQuery {
21762
+ /** The maximum number of contacts to return. Default is 25. */
21763
+ limit?: number;
21764
+ /** Token to retrieve the next page of results. */
21765
+ nextPageToken?: string;
21766
+ /** The id of the location. */
21767
+ locationRef: string;
21768
+ }
21769
+ /** Query parameters for `sb.visitors.requests.list()`. */
21770
+ interface GetRequestsQuery {
21771
+ /** The id of the location. */
21772
+ locationRef: string;
21773
+ /** Token to retrieve the next page of results. */
21774
+ nextPageToken?: string;
21775
+ /** The number of items to return. */
21776
+ limit?: number;
21777
+ }
21778
+ /** Query parameters for `sb.visitors.visits.list()`. */
21779
+ interface GetVisitsQuery {
21780
+ /** The id of the location. */
21781
+ locationRef: string;
21782
+ /** The id of the user, host of the visit. */
21783
+ userRefHost?: string;
21784
+ /** The date filter of items. */
21785
+ createDate?: {
21786
+ lte?: string;
21787
+ gte?: string;
21788
+ };
21789
+ /** The number of items to return */
21790
+ limit?: number;
21791
+ /** Token to retrieve the next page of results. */
21792
+ nextPageToken?: string;
21793
+ }
21760
21794
 
21761
21795
  /** A Balance entity as returned by the Spacebring API. */
21762
21796
  type Balance = NonNullable<operations["getCreditsBalance"]["responses"][200]["content"]["application/json"]["balances"]>[number];
@@ -21766,14 +21800,102 @@ type CreditTransaction = NonNullable<operations["getCreditsTransactions"]["respo
21766
21800
  type DayPassTransaction = NonNullable<operations["getDayPassesTransactions"]["responses"][200]["content"]["application/json"]["transactions"]>[number];
21767
21801
  /** A MoneyTransaction entity as returned by the Spacebring API. */
21768
21802
  type MoneyTransaction = NonNullable<operations["getMoneyTransaction"]["responses"][200]["content"]["application/json"]["transaction"]>;
21803
+ /** Query parameters for `sb.transactions.credits.list()`. */
21804
+ interface GetCreditsTransactionsQuery {
21805
+ /** The number of items to return */
21806
+ limit?: number;
21807
+ /** Token to retrieve the next page of results. */
21808
+ nextPageToken?: string;
21809
+ /** The date filter of items. */
21810
+ createDate?: {
21811
+ lte?: string;
21812
+ gte?: string;
21813
+ };
21814
+ /** The id of the location to get transactions for */
21815
+ locationRef?: string;
21816
+ /** The id of the membership to get transactions for */
21817
+ membershipRef?: string;
21818
+ /** The id of the company to get transactions for */
21819
+ companyRef?: string;
21820
+ }
21821
+ /** Query parameters for `sb.transactions.dayPasses.list()`. */
21822
+ interface GetDayPassesTransactionsQuery {
21823
+ /** @deprecated Use customerRef instead. The id of the company to get transactions for. */
21824
+ companyRef?: string;
21825
+ /** Get transactions with greater or equal createDate. Example: createDate[gte]=2021-05-21T10:00:00Z */
21826
+ "createDate[gte]"?: string;
21827
+ /** Get transactions with less or equal createDate. Example: createDate[lte]=2021-05-21T10:00:00Z */
21828
+ "createDate[lte]"?: string;
21829
+ /** UUID of the company or membership whose day pass transactions to list. */
21830
+ customerRef?: string;
21831
+ /** Maximum number of transactions per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
21832
+ limit?: number;
21833
+ /** UUID of the location whose day pass transactions to list. */
21834
+ locationRef?: string;
21835
+ /** @deprecated Use customerRef instead. The id of the membership to get transactions for. */
21836
+ membershipRef?: string;
21837
+ /** Token to retrieve the next page of results. */
21838
+ nextPageToken?: string;
21839
+ /** Filter by transaction type. Comma-separated storage type values, e.g. `type=refund,booking`. Matches analytics report type filters. */
21840
+ type?: string;
21841
+ }
21842
+ /** Query parameters for `sb.transactions.money.list()`. */
21843
+ interface GetMoneyTransactionsQuery {
21844
+ /** The id of the location */
21845
+ locationRef: string;
21846
+ /** The number of items to return */
21847
+ limit?: number;
21848
+ /** The payment status of transactions */
21849
+ status?: "canceled" | "failed" | "pending" | "processing" | "succeeded";
21850
+ /** The type of transactions */
21851
+ type?: "booking" | "creditPackage" | "eventTicket" | "invoice" | "order" | "subscription";
21852
+ /** The date filter of items. */
21853
+ createDate?: {
21854
+ lte?: string;
21855
+ gte?: string;
21856
+ };
21857
+ /** Token to retrieve the next page of results. */
21858
+ nextPageToken?: string;
21859
+ }
21769
21860
 
21770
21861
  /** A Activity entity as returned by the Spacebring API. */
21771
21862
  type Activity = NonNullable<operations["createSupportTicketComment"]["responses"][201]["content"]["application/json"]["activity"]>;
21772
21863
  /** A SupportTicket entity as returned by the Spacebring API. */
21773
21864
  type SupportTicket = NonNullable<operations["getSupportTickets"]["responses"][200]["content"]["application/json"]["tickets"]>[number];
21865
+ /** Query parameters for `sb.support.tickets.list()`. */
21866
+ interface GetSupportTicketsQuery {
21867
+ /** The id of the location. */
21868
+ locationRef: string;
21869
+ /** The number of items to return */
21870
+ limit?: number;
21871
+ /** Token to retrieve the next page of results. */
21872
+ nextPageToken?: string;
21873
+ }
21774
21874
 
21775
21875
  /** A Subscription entity as returned by the Spacebring API. */
21776
21876
  type Subscription = NonNullable<operations["getSubscription"]["responses"][200]["content"]["application/json"]["subscription"]>;
21877
+ /** Query parameters for `sb.subscriptions.list()`. */
21878
+ interface GetSubscriptionsQuery {
21879
+ /** UUID of the customer whose subscriptions to list. */
21880
+ customerRef?: string;
21881
+ /** Maximum number of subscriptions per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
21882
+ limit?: number;
21883
+ /** UUID of the location whose subscriptions to list. */
21884
+ locationRef?: string;
21885
+ /** Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
21886
+ nextPageToken?: string;
21887
+ /** Sort order for results. */
21888
+ order?: string;
21889
+ /** Filter by subscription status. Comma-separated values, e.g. `active,scheduled`. Defaults to `active`, `scheduled`, and `incomplete` when omitted.
21890
+
21891
+ Supported values:
21892
+ - **active** — currently active
21893
+ - **scheduled** — scheduled to start
21894
+ - **incomplete** — pending setup or payment
21895
+ - **incompleteExpired** — incomplete and expired
21896
+ - **canceled** — canceled */
21897
+ status?: string;
21898
+ }
21777
21899
 
21778
21900
  /** A Order entity as returned by the Spacebring API. */
21779
21901
  type Order = NonNullable<operations["getOrder"]["responses"][200]["content"]["application/json"]["order"]>;
@@ -21781,17 +21903,126 @@ type Order = NonNullable<operations["getOrder"]["responses"][200]["content"]["ap
21781
21903
  type Product = NonNullable<operations["getProduct"]["responses"][200]["content"]["application/json"]["product"]>;
21782
21904
  /** A ShopCategory entity as returned by the Spacebring API. */
21783
21905
  type ShopCategory = NonNullable<operations["getShopCategory"]["responses"][200]["content"]["application/json"]["category"]>;
21906
+ /** Query parameters for `sb.shop.orders.list()`. */
21907
+ interface GetOrdersQuery {
21908
+ /** Comma-separated shop category UUIDs used to filter orders, e.g. `uuid1,uuid2`. */
21909
+ categoryRef?: string;
21910
+ /** Filter orders created on or after this date (ISO 8601). Use with createDate[lte] for a range. */
21911
+ "createDate[gte]"?: string;
21912
+ /** Filter orders created on or before this date (ISO 8601). Use with createDate[gte] for a range. */
21913
+ "createDate[lte]"?: string;
21914
+ /** UUID of the customer whose orders to list. */
21915
+ customerRef?: string;
21916
+ /** Maximum number of orders per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
21917
+ limit?: number;
21918
+ /** UUID of the location whose orders to list. */
21919
+ locationRef?: string;
21920
+ /** Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
21921
+ nextPageToken?: string;
21922
+ /** Comma-separated product UUIDs used to filter orders, e.g. `uuid1,uuid2`. */
21923
+ productRef?: string;
21924
+ /** Filter by order status. Comma-separated values, e.g. `new,inProgress`. Defaults to `new`, `inProgress`, and `completed` when omitted.
21925
+
21926
+ Supported values:
21927
+ - **new** — placed, awaiting fulfillment
21928
+ - **inProgress** — being fulfilled
21929
+ - **completed** — fulfilled
21930
+ - **canceled** — canceled */
21931
+ status?: string;
21932
+ /** UUID of the user whose orders to list. */
21933
+ userRef?: string;
21934
+ }
21935
+ /** Query parameters for `sb.shop.products.list()`. */
21936
+ interface GetProductsQuery {
21937
+ /** UUID of the shop category. */
21938
+ categoryRef?: string;
21939
+ /** Comma-separated product UUIDs, e.g. `uuid1,uuid2`. Up to 25 ids per request. */
21940
+ id?: string;
21941
+ /** Maximum number of products per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
21942
+ limit?: number;
21943
+ /** UUID of the location. */
21944
+ locationRef?: string;
21945
+ /** Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
21946
+ nextPageToken?: string;
21947
+ }
21948
+ /** Query parameters for `sb.shop.categories.list()`. */
21949
+ interface GetShopCategoriesQuery {
21950
+ /** UUID of the location whose shop categories to list. */
21951
+ locationRef: string;
21952
+ }
21784
21953
 
21785
21954
  /** A Booking entity as returned by the Spacebring API. */
21786
21955
  type Booking = NonNullable<operations["getBooking"]["responses"][200]["content"]["application/json"]["booking"]>;
21787
21956
  /** A Resource entity as returned by the Spacebring API. */
21788
21957
  type Resource = NonNullable<operations["getResource"]["responses"][200]["content"]["application/json"]["resource"]>;
21958
+ /** Query parameters for `sb.resources.bookings.list()`. */
21959
+ interface GetBookingsQuery {
21960
+ /** The id of the resource. Required if `locationRef` is not passed. */
21961
+ resourceRef?: string;
21962
+ /** The id of the location. Required if `resourceRef` is not passed. */
21963
+ locationRef?: string;
21964
+ /** The id of the membership owner. */
21965
+ membershipRefOwner?: string;
21966
+ /** The date filter of items. */
21967
+ endDate?: {
21968
+ lte?: string;
21969
+ gte?: string;
21970
+ lt?: string;
21971
+ gt?: string;
21972
+ };
21973
+ /** The date filter of items. */
21974
+ startDate?: {
21975
+ lte?: string;
21976
+ gte?: string;
21977
+ lt?: string;
21978
+ gt?: string;
21979
+ };
21980
+ /** The number of items to return */
21981
+ limit?: number;
21982
+ /** The order of filtered items. Format - `field:order`. Possible field values are `createDate`, `endDate`, `startDate`, `id`. Order values - `asc`, `desc`. */
21983
+ order?: string;
21984
+ /** Token to retrieve the next page of results. */
21985
+ nextPageToken?: string;
21986
+ /** The types of resources to retrieve bookings for. Pass them as comma separated values. */
21987
+ types?: "hotDesk" | "dedicatedDesk" | "office" | "parkingLot" | "room";
21988
+ }
21989
+ /** Query parameters for `sb.resources.list()`. */
21990
+ interface GetResourcesQuery {
21991
+ /** The id of the location. */
21992
+ locationRef: string;
21993
+ /** The types of resources to retrieve. Pass them as comma separated values. */
21994
+ types?: "hotDesk" | "dedicatedDesk" | "office" | "parkingLot" | "room";
21995
+ /** Token to retrieve the next page of results. */
21996
+ nextPageToken?: string;
21997
+ /** The number of items to return. */
21998
+ limit?: number;
21999
+ }
21789
22000
 
21790
22001
  /** A Registration entity as returned by the Spacebring API. */
21791
22002
  type Registration = NonNullable<operations["getRegistrations"]["responses"][200]["content"]["application/json"]["registrations"]>[number];
22003
+ /** Query parameters for `sb.registrations.list()`. */
22004
+ interface GetRegistrationsQuery {
22005
+ /** The number of items to return */
22006
+ limit?: number;
22007
+ /** Token to retrieve the next page of results. */
22008
+ nextPageToken?: string;
22009
+ }
21792
22010
 
21793
22011
  /** A Plan entity as returned by the Spacebring API. */
21794
22012
  type Plan = NonNullable<operations["getPlan"]["responses"][200]["content"]["application/json"]["plan"]>;
22013
+ /** Query parameters for `sb.plans.list()`. */
22014
+ interface GetPlansQuery {
22015
+ /** When listing plans for a resource, filter by entire resource vs partial tiers. Pass true or false. */
22016
+ entire?: string;
22017
+ /** Maximum number of plans per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
22018
+ limit?: number;
22019
+ /** UUID of the location whose plans to list. */
22020
+ locationRef?: string;
22021
+ /** Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
22022
+ nextPageToken?: string;
22023
+ /** UUID of the resource whose tier plans to list. */
22024
+ resourceRef?: string;
22025
+ }
21795
22026
 
21796
22027
  /** A Network entity as returned by the Spacebring API. */
21797
22028
  type Network = NonNullable<operations["getNetworks"]["responses"][200]["content"]["application/json"]["networks"]>[number];
@@ -21801,6 +22032,25 @@ type Location = NonNullable<operations["getLocation"]["responses"][200]["content
21801
22032
 
21802
22033
  /** A Guide entity as returned by the Spacebring API. */
21803
22034
  type Guide = NonNullable<operations["getGuide"]["responses"][200]["content"]["application/json"]["guide"]>;
22035
+ /** Query parameters for `sb.guides.list()`. */
22036
+ interface GetGuidesQuery {
22037
+ /** Maximum number of guides per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
22038
+ limit?: number;
22039
+ /** UUID of the location whose guides to list. */
22040
+ locationRef: string;
22041
+ /** Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
22042
+ nextPageToken?: string;
22043
+ }
22044
+
22045
+ /** Query parameters for `sb.floors.list()`. */
22046
+ interface GetFloorsQuery {
22047
+ /** The limit of the floors. */
22048
+ limit?: number;
22049
+ /** The id of the location. */
22050
+ locationRef: string;
22051
+ /** Token to retrieve the next page of results. */
22052
+ nextPageToken?: string;
22053
+ }
21804
22054
 
21805
22055
  /** A CommentLike entity as returned by the Spacebring API. */
21806
22056
  type CommentLike = NonNullable<operations["createLikeForPostComment"]["responses"][201]["content"]["application/json"]["like"]>;
@@ -21812,11 +22062,40 @@ type Post = NonNullable<operations["getFeedPost"]["responses"][200]["content"]["
21812
22062
  type PostComment = NonNullable<operations["getPostComments"]["responses"][200]["content"]["application/json"]["comments"]>[number];
21813
22063
  /** A PostLike entity as returned by the Spacebring API. */
21814
22064
  type PostLike = NonNullable<operations["getLikesForPost"]["responses"][200]["content"]["application/json"]["likes"]>[number];
22065
+ /** Query parameters for `sb.feed.posts.list()`. */
22066
+ interface GetFeedPostsQuery {
22067
+ /** The id of the location. */
22068
+ locationRef: string;
22069
+ /** Token to retrieve the next page of results. */
22070
+ nextPageToken?: string;
22071
+ /** The number of items to return. */
22072
+ limit?: number;
22073
+ }
21815
22074
 
21816
22075
  /** A Event entity as returned by the Spacebring API. */
21817
22076
  type Event = NonNullable<operations["getEvent"]["responses"][200]["content"]["application/json"]["event"]>;
21818
22077
  /** A EventTicket entity as returned by the Spacebring API. */
21819
22078
  type EventTicket = NonNullable<operations["getEventTicket"]["responses"][200]["content"]["application/json"]["ticket"]>;
22079
+ /** Query parameters for `sb.events.list()`. */
22080
+ interface GetEventsByOrganizationQuery {
22081
+ /** The id of the location. */
22082
+ locationRef: string;
22083
+ /** The number of events to retrieve. Default: 25 */
22084
+ limit?: number;
22085
+ /** Token to retrieve the next page of results. */
22086
+ nextPageToken?: string;
22087
+ /** The order of the events. createDate:asc, createDate:desc, startDate:asc, startDate:desc, endDate:asc, endDate:desc or relevance */
22088
+ order?: string;
22089
+ }
22090
+ /** Query parameters for `sb.events.tickets.list()`. */
22091
+ interface GetEventTicketsQuery {
22092
+ /** The id of the location. */
22093
+ locationRef: string;
22094
+ /** The number of items to return */
22095
+ limit?: number;
22096
+ /** Token to retrieve the next page of results. */
22097
+ nextPageToken?: string;
22098
+ }
21820
22099
 
21821
22100
  /** A Coupon entity as returned by the Spacebring API. */
21822
22101
  type Coupon = NonNullable<operations["getCoupon"]["responses"][200]["content"]["application/json"]["coupon"]>;
@@ -21824,14 +22103,108 @@ type Coupon = NonNullable<operations["getCoupon"]["responses"][200]["content"]["
21824
22103
  type Promocode = NonNullable<operations["getPromocode"]["responses"][200]["content"]["application/json"]["promocode"]>;
21825
22104
  /** A Redemption entity as returned by the Spacebring API. */
21826
22105
  type Redemption = NonNullable<operations["getDiscountRedemptions"]["responses"][200]["content"]["application/json"]["redemptions"]>[number];
22106
+ /** Query parameters for `sb.discounts.coupons.list()`. */
22107
+ interface GetCouponsQuery {
22108
+ /** The id of the location */
22109
+ locationRef: string;
22110
+ /** Comma-separated list of coupon types to filter by */
22111
+ type?: "creditPackages" | "desks" | "equipment" | "events" | "products" | "rooms" | "subscriptionItems";
22112
+ /** The number of coupons to retrieve. Default: 25 */
22113
+ limit?: number;
22114
+ /** Token to retrieve the next page of results. */
22115
+ nextPageToken?: string;
22116
+ }
22117
+ /** Query parameters for `sb.discounts.redemptions.list()`. */
22118
+ interface GetDiscountRedemptionsQuery {
22119
+ /** The id of the coupon. Either couponRef or promocodeRef is required */
22120
+ couponRef?: string;
22121
+ /** The id of the promocode. Either couponRef or promocodeRef is required */
22122
+ promocodeRef?: string;
22123
+ /** The number of items to return */
22124
+ limit?: number;
22125
+ /** Token to retrieve the next page of results. */
22126
+ nextPageToken?: string;
22127
+ }
22128
+ /** Query parameters for `sb.discounts.promocodes.list()`. */
22129
+ interface GetPromocodesQuery {
22130
+ /** The id of the location. At least one of locationRef or couponRef is required */
22131
+ locationRef?: string;
22132
+ /** The id of the coupon. At least one of locationRef or couponRef is required */
22133
+ couponRef?: string;
22134
+ }
21827
22135
 
21828
22136
  /** A Contract entity as returned by the Spacebring API. */
21829
22137
  type Contract = NonNullable<operations["getContract"]["responses"][200]["content"]["application/json"]["contract"]>;
22138
+ /** Query parameters for `sb.contracts.list()`. */
22139
+ interface GetContractsQuery {
22140
+ /** UUID of the customer (membership or company). Provide customerRef or locationRef; when set, returns only that customer's contracts. */
22141
+ customerRef?: string;
22142
+ /** Maximum number of contracts per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
22143
+ limit?: number;
22144
+ /** UUID of the location. Provide customerRef or locationRef; when set, returns contracts in that location. */
22145
+ locationRef?: string;
22146
+ /** Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
22147
+ nextPageToken?: string;
22148
+ /** Case-insensitive search by contract title. Requires customerRef or locationRef to scope the search. */
22149
+ q?: string;
22150
+ /** Filter by contract status. Comma-separated values, e.g. `draft,issued`.
22151
+
22152
+ Supported values:
22153
+ - **draft** — created but not sent
22154
+ - **issued** — sent, awaiting signature
22155
+ - **signed** — active
22156
+ - **declined** — rejected
22157
+ - **terminated** — cancelled after signing */
22158
+ status?: string;
22159
+ }
21830
22160
 
21831
22161
  /** A Company entity as returned by the Spacebring API. */
21832
22162
  type Company = NonNullable<operations["getCompany"]["responses"][200]["content"]["application/json"]["company"]>;
21833
22163
  /** A Membership entity as returned by the Spacebring API. */
21834
22164
  type Membership = NonNullable<operations["getMembership"]["responses"][200]["content"]["application/json"]["membership"]>;
22165
+ /** Query parameters for `sb.community.companies.list()`. */
22166
+ interface GetCompaniesQuery {
22167
+ /** The id of the location. */
22168
+ locationRef: string;
22169
+ /** The number of items to return */
22170
+ limit?: number;
22171
+ /** Token to retrieve the next page of results. */
22172
+ nextPageToken?: string;
22173
+ /** Filter by company's title */
22174
+ title?: string;
22175
+ /** Filter by types. Pass them as comma separated values. */
22176
+ types?: "member" | "nonmember";
22177
+ }
22178
+ /** Query parameters for `sb.community.memberships.listDeleted()`. */
22179
+ interface GetMembershipsDeletedQuery {
22180
+ /** The id of the location. */
22181
+ locationRef: string;
22182
+ /** The number of items to return */
22183
+ limit?: number;
22184
+ /** Filter by user's email */
22185
+ userEmail?: string;
22186
+ /** Token to retrieve the next page of results. */
22187
+ nextPageToken?: string;
22188
+ }
22189
+ /** Query parameters for `sb.community.memberships.list()`. */
22190
+ interface GetMembershipsQuery {
22191
+ /** Filter by company reference */
22192
+ companyRef?: string;
22193
+ /** The id of the location. */
22194
+ locationRef: string;
22195
+ /** The number of items to return */
22196
+ limit?: number;
22197
+ /** Token to retrieve the next page of results. */
22198
+ nextPageToken?: string;
22199
+ /** Filter by user's email */
22200
+ userEmail?: string;
22201
+ /** The id of the user */
22202
+ userRef?: string;
22203
+ /** use requested to get all membership requests */
22204
+ status?: "requested";
22205
+ /** Filter by types. Pass them as comma separated values. */
22206
+ types?: "member" | "nonmember";
22207
+ }
21835
22208
 
21836
22209
  /** A CreditNote entity as returned by the Spacebring API. */
21837
22210
  type CreditNote = NonNullable<operations["getCreditNote"]["responses"][200]["content"]["application/json"]["creditNote"]>;
@@ -21839,6 +22212,72 @@ type CreditNote = NonNullable<operations["getCreditNote"]["responses"][200]["con
21839
22212
  type Invoice = NonNullable<operations["getInvoice"]["responses"][200]["content"]["application/json"]["invoice"]>;
21840
22213
  /** A InvoiceItem entity as returned by the Spacebring API. */
21841
22214
  type InvoiceItem = NonNullable<operations["getInvoiceItem"]["responses"][200]["content"]["application/json"]["invoiceItem"]>;
22215
+ /** Query parameters for `sb.billing.creditNotes.list()`. */
22216
+ interface GetCreditNotesQuery {
22217
+ /** Filter credit notes created on or after this date (ISO 8601). Use with createDate[lte] for a range. */
22218
+ "createDate[gte]"?: string;
22219
+ /** Filter credit notes created on or before this date (ISO 8601). Use with createDate[gte] for a range. */
22220
+ "createDate[lte]"?: string;
22221
+ /** UUID of the invoice whose credit notes to list. */
22222
+ invoiceRef?: string;
22223
+ /** Maximum number of credit notes per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
22224
+ limit?: number;
22225
+ /** UUID of the location whose credit notes to list. */
22226
+ locationRef?: string;
22227
+ /** Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
22228
+ nextPageToken?: string;
22229
+ /** Filter by credit note status. Comma-separated values, e.g. `issued,voided`.
22230
+
22231
+ Supported values:
22232
+ - **issued** — active credit note
22233
+ - **voided** — cancelled and no longer valid */
22234
+ status?: string;
22235
+ }
22236
+ /** Query parameters for `sb.billing.invoices.list()`. */
22237
+ interface GetInvoicesQuery {
22238
+ /** @deprecated Use customerRef instead. UUID of the company whose invoices to list. */
22239
+ companyRef?: string;
22240
+ /** Filter invoices created on or after this date (ISO 8601). Use with createDate[lte] for a range. */
22241
+ "createDate[gte]"?: string;
22242
+ /** Filter invoices created on or before this date (ISO 8601). Use with createDate[gte] for a range. */
22243
+ "createDate[lte]"?: string;
22244
+ /** UUID of the customer whose invoices to list. */
22245
+ customerRef?: string;
22246
+ /** Filter invoices issued on or after this date (ISO 8601). Use with issueDate[lte] for a range. */
22247
+ "issueDate[gte]"?: string;
22248
+ /** Filter invoices issued on or before this date (ISO 8601). Use with issueDate[gte] for a range. */
22249
+ "issueDate[lte]"?: string;
22250
+ /** Maximum number of invoices per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
22251
+ limit?: number;
22252
+ /** UUID of the location whose invoices to list. */
22253
+ locationRef?: string;
22254
+ /** @deprecated Use customerRef instead. UUID of the membership whose invoices to list. */
22255
+ membershipRef?: string;
22256
+ /** Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
22257
+ nextPageToken?: string;
22258
+ /** Case-insensitive search by invoice code or number. Requires customerRef or locationRef. */
22259
+ q?: string;
22260
+ /** Filter by invoice status. Comma-separated values, e.g. `draft,issued`.
22261
+
22262
+ Supported values:
22263
+ - **draft** — created but not sent
22264
+ - **issued** — sent to the customer but unpaid
22265
+ - **paid** — fully paid
22266
+ - **voided** — cancelled and no longer valid */
22267
+ status?: string;
22268
+ }
22269
+ /** Query parameters for `sb.billing.invoices.items.getUpcoming()`. */
22270
+ interface GetUpcomingInvoiceItemsQuery {
22271
+ /** The id of the company. */
22272
+ companyRef?: string;
22273
+ /** The id of the membership. */
22274
+ membershipRef?: string;
22275
+ }
22276
+ /** Query parameters for `sb.billing.invoices.getUpcoming()`. */
22277
+ interface GetUpcomingInvoiceQuery {
22278
+ /** The id of the subscription. */
22279
+ subscriptionRef?: string;
22280
+ }
21842
22281
 
21843
22282
  /** A Application entity as returned by the Spacebring API. */
21844
22283
  type Application = NonNullable<operations["getBenefitApplication"]["responses"][200]["content"]["application/json"]["application"]>;
@@ -21846,33 +22285,93 @@ type Application = NonNullable<operations["getBenefitApplication"]["responses"][
21846
22285
  type Benefit = NonNullable<operations["getBenefit"]["responses"][200]["content"]["application/json"]["benefit"]>;
21847
22286
  /** A BenefitCategory entity as returned by the Spacebring API. */
21848
22287
  type BenefitCategory = NonNullable<operations["getBenefitCategory"]["responses"][200]["content"]["application/json"]["category"]>;
22288
+ /** Query parameters for `sb.benefits.applications.list()`. */
22289
+ interface GetBenefitApplicationsQuery {
22290
+ /** UUID of the benefit. */
22291
+ benefitRef?: string;
22292
+ /** Comma-separated benefit category UUIDs, e.g. `uuid1,uuid2`. */
22293
+ categoryRef?: string;
22294
+ /** Filter applications submitted on or after this date (ISO 8601). Use with createDate[lte] for a range. */
22295
+ "createDate[gte]"?: string;
22296
+ /** Filter applications submitted on or before this date (ISO 8601). Use with createDate[gte] for a range. */
22297
+ "createDate[lte]"?: string;
22298
+ /** UUID of the customer whose applications to list. */
22299
+ customerRef?: string;
22300
+ /** Maximum number of applications per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
22301
+ limit?: number;
22302
+ /** UUID of the location. */
22303
+ locationRef?: string;
22304
+ /** Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
22305
+ nextPageToken?: string;
22306
+ /** UUID of the user whose applications to list. */
22307
+ userRef?: string;
22308
+ }
22309
+ /** Query parameters for `sb.benefits.categories.list()`. */
22310
+ interface GetBenefitCategoriesQuery {
22311
+ /** UUID of the location whose benefit categories to list. */
22312
+ locationRef: string;
22313
+ }
22314
+ /** Query parameters for `sb.benefits.list()`. */
22315
+ interface GetBenefitsQuery {
22316
+ /** UUID of the benefit category. */
22317
+ categoryRef?: string;
22318
+ /** Filter by featured status. Pass true or false. */
22319
+ featured?: boolean;
22320
+ /** Maximum number of benefits per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
22321
+ limit?: number;
22322
+ /** UUID of the location. */
22323
+ locationRef?: string;
22324
+ /** Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
22325
+ nextPageToken?: string;
22326
+ }
21849
22327
 
21850
22328
  /** A AltCurrency entity as returned by the Spacebring API. */
21851
22329
  type AltCurrency = NonNullable<operations["getAltCurrencies"]["responses"][200]["content"]["application/json"]["altCurrencies"]>[number];
22330
+ /** Query parameters for `sb.altCurrencies.list()`. */
22331
+ interface GetAltCurrenciesQuery {
22332
+ /** The id of the location */
22333
+ locationRef: string;
22334
+ /** Token to retrieve the next page of results. */
22335
+ nextPageToken?: string;
22336
+ /** The number of items to return. */
22337
+ limit?: number;
22338
+ }
21852
22339
 
21853
22340
  declare function createResources(client: Client<paths>, defaults: SpacebringDefaults): {
21854
22341
  altCurrencies: {
21855
- list(query: operations["getAltCurrencies"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getAltCurrencies"]["responses"][200]["content"]["application/json"]>;
21856
- iterate(query: Omit<NonNullable<operations["getAltCurrencies"]["parameters"]["query"]>, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<AltCurrency, void, undefined>;
22342
+ list(query: GetAltCurrenciesQuery, options?: SpacebringRequestOptions): Promise<{
22343
+ altCurrencies?: AltCurrency[];
22344
+ nextPageToken?: string;
22345
+ searchQueryNext?: string;
22346
+ }>;
22347
+ iterate(query: Omit<GetAltCurrenciesQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<AltCurrency, void, undefined>;
21857
22348
  create(body: NonNullable<operations["createAltCurrency"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<AltCurrency>;
21858
22349
  update(id: string, body: NonNullable<operations["updateAltCurrency"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<undefined>;
21859
22350
  delete(id: string, options?: SpacebringRequestOptions): Promise<undefined>;
21860
22351
  };
21861
22352
  benefits: {
21862
- list(query?: operations["getBenefits"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getBenefits"]["responses"][200]["content"]["application/json"]>;
21863
- iterate(query?: Omit<NonNullable<operations["getBenefits"]["parameters"]["query"]>, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Benefit, void, undefined>;
22353
+ list(query?: GetBenefitsQuery, options?: SpacebringRequestOptions): Promise<{
22354
+ benefits: Benefit[];
22355
+ nextPageToken?: string;
22356
+ searchQueryNext?: string;
22357
+ }>;
22358
+ iterate(query?: Omit<GetBenefitsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Benefit, void, undefined>;
21864
22359
  get(benefitId: string, options?: SpacebringRequestOptions): Promise<Benefit>;
21865
22360
  create(body: NonNullable<operations["createBenefit"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<operations["createBenefit"]["responses"][201]["content"]["application/json"]>;
21866
22361
  update(benefitId: string, body: NonNullable<operations["updateBenefit"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<Benefit>;
21867
22362
  delete(benefitId: string, options?: SpacebringRequestOptions): Promise<undefined>;
21868
22363
  applications: {
21869
- list(query?: operations["getBenefitApplications"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getBenefitApplications"]["responses"][200]["content"]["application/json"]>;
21870
- iterate(query?: Omit<NonNullable<operations["getBenefitApplications"]["parameters"]["query"]>, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Application, void, undefined>;
22364
+ list(query?: GetBenefitApplicationsQuery, options?: SpacebringRequestOptions): Promise<{
22365
+ applications: Application[];
22366
+ nextPageToken?: string;
22367
+ searchQueryNext?: string;
22368
+ }>;
22369
+ iterate(query?: Omit<GetBenefitApplicationsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Application, void, undefined>;
21871
22370
  get(benefitApplicationId: string, options?: SpacebringRequestOptions): Promise<Application>;
21872
22371
  create(body: NonNullable<operations["applyBenefit"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<Application>;
21873
22372
  };
21874
22373
  categories: {
21875
- list(query: operations["getBenefitCategories"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<BenefitCategory[]>;
22374
+ list(query: GetBenefitCategoriesQuery, options?: SpacebringRequestOptions): Promise<BenefitCategory[]>;
21876
22375
  get(categoryId: string, options?: SpacebringRequestOptions): Promise<BenefitCategory>;
21877
22376
  create(body: NonNullable<operations["createBenefitCategory"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<BenefitCategory>;
21878
22377
  update(categoryId: string, body: NonNullable<operations["updateBenefitCategory"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<BenefitCategory>;
@@ -21881,16 +22380,24 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
21881
22380
  };
21882
22381
  billing: {
21883
22382
  creditNotes: {
21884
- list(query?: operations["getCreditNotes"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getCreditNotes"]["responses"][200]["content"]["application/json"]>;
21885
- iterate(query?: Omit<NonNullable<operations["getCreditNotes"]["parameters"]["query"]>, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<CreditNote, void, undefined>;
22383
+ list(query?: GetCreditNotesQuery, options?: SpacebringRequestOptions): Promise<{
22384
+ creditNotes: CreditNote[];
22385
+ nextPageToken?: string;
22386
+ searchQueryNext?: string;
22387
+ }>;
22388
+ iterate(query?: Omit<GetCreditNotesQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<CreditNote, void, undefined>;
21886
22389
  get(id: string, options?: SpacebringRequestOptions): Promise<CreditNote>;
21887
22390
  create(body: NonNullable<operations["createCreditNote"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<CreditNote>;
21888
22391
  update(id: string, body: NonNullable<operations["updateCreditNote"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<undefined>;
21889
22392
  preview(body: NonNullable<operations["previewCreditNote"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<CreditNote>;
21890
22393
  };
21891
22394
  invoices: {
21892
- list(query?: operations["getInvoices"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getInvoices"]["responses"][200]["content"]["application/json"]>;
21893
- iterate(query?: Omit<NonNullable<operations["getInvoices"]["parameters"]["query"]>, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Invoice, void, undefined>;
22395
+ list(query?: GetInvoicesQuery, options?: SpacebringRequestOptions): Promise<{
22396
+ invoices: Invoice[];
22397
+ nextPageToken?: string;
22398
+ searchQueryNext?: string;
22399
+ }>;
22400
+ iterate(query?: Omit<GetInvoicesQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Invoice, void, undefined>;
21894
22401
  get(invoiceId: string, options?: SpacebringRequestOptions): Promise<Invoice>;
21895
22402
  create(body: NonNullable<operations["createInvoice"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<Invoice>;
21896
22403
  update(invoiceId: string, body: NonNullable<operations["updateInvoice"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<undefined>;
@@ -21898,7 +22405,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
21898
22405
  cancelPayment(invoiceId: string, options?: SpacebringRequestOptions): Promise<undefined>;
21899
22406
  duplicate(invoiceId: string, options?: SpacebringRequestOptions): Promise<Invoice>;
21900
22407
  getItems(invoiceId: string, options?: SpacebringRequestOptions): Promise<operations["getInvoiceItems"]["responses"][200]["content"]["application/json"]>;
21901
- getUpcoming(query?: operations["getUpcomingInvoice"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getUpcomingInvoice"]["responses"][200]["content"]["application/json"]>;
22408
+ getUpcoming(query?: GetUpcomingInvoiceQuery, options?: SpacebringRequestOptions): Promise<operations["getUpcomingInvoice"]["responses"][200]["content"]["application/json"]>;
21902
22409
  issue(invoiceId: string, body?: NonNullable<operations["issueInvoice"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<operations["issueInvoice"]["responses"][200]["content"]["application/json"]>;
21903
22410
  pay(invoiceId: string, body: NonNullable<operations["payInvoice"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<operations["payInvoice"]["responses"][200]["content"]["application/json"]>;
21904
22411
  resend(invoiceId: string, options?: SpacebringRequestOptions): Promise<undefined>;
@@ -21908,32 +22415,46 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
21908
22415
  create(body: NonNullable<operations["createInvoiceItem"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<InvoiceItem>;
21909
22416
  update(id: string, body: NonNullable<operations["updateInvoiceItem"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<undefined>;
21910
22417
  delete(id: string, options?: SpacebringRequestOptions): Promise<undefined>;
21911
- getUpcoming(query?: operations["getUpcomingInvoiceItems"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<InvoiceItem[]>;
22418
+ getUpcoming(query?: GetUpcomingInvoiceItemsQuery, options?: SpacebringRequestOptions): Promise<InvoiceItem[]>;
21912
22419
  };
21913
22420
  };
21914
22421
  };
21915
22422
  community: {
21916
22423
  companies: {
21917
- list(query: operations["getCompanies"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getCompanies"]["responses"][200]["content"]["application/json"]>;
21918
- iterate(query: Omit<NonNullable<operations["getCompanies"]["parameters"]["query"]>, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Company, void, undefined>;
22424
+ list(query: GetCompaniesQuery, options?: SpacebringRequestOptions): Promise<{
22425
+ companies?: Company[];
22426
+ nextPageToken?: string;
22427
+ }>;
22428
+ iterate(query: Omit<GetCompaniesQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Company, void, undefined>;
21919
22429
  get(id: string, options?: SpacebringRequestOptions): Promise<Company>;
21920
22430
  create(body: NonNullable<operations["createCompany"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<Company>;
21921
22431
  update(id: string, body: NonNullable<operations["updateCompany"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<Company>;
21922
22432
  };
21923
22433
  memberships: {
21924
- list(query: operations["getMemberships"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getMemberships"]["responses"][200]["content"]["application/json"]>;
21925
- iterate(query: Omit<NonNullable<operations["getMemberships"]["parameters"]["query"]>, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Membership, void, undefined>;
22434
+ list(query: GetMembershipsQuery, options?: SpacebringRequestOptions): Promise<{
22435
+ memberships?: Membership[];
22436
+ nextPageToken?: string;
22437
+ searchQueryNext?: string;
22438
+ }>;
22439
+ iterate(query: Omit<GetMembershipsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Membership, void, undefined>;
21926
22440
  get(id: string, options?: SpacebringRequestOptions): Promise<Membership>;
21927
22441
  create(body: NonNullable<operations["createMembership"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<Membership>;
21928
22442
  update(id: number, body: NonNullable<operations["updateMembership"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<Membership>;
21929
22443
  delete(id: string, options?: SpacebringRequestOptions): Promise<undefined>;
21930
- iterateDeleted(query: Omit<NonNullable<operations["getMembershipsDeleted"]["parameters"]["query"]>, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Membership, void, undefined>;
21931
- listDeleted(query: operations["getMembershipsDeleted"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getMembershipsDeleted"]["responses"][200]["content"]["application/json"]>;
22444
+ iterateDeleted(query: Omit<GetMembershipsDeletedQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Membership, void, undefined>;
22445
+ listDeleted(query: GetMembershipsDeletedQuery, options?: SpacebringRequestOptions): Promise<{
22446
+ memberships?: Membership[];
22447
+ nextPageToken?: string;
22448
+ }>;
21932
22449
  };
21933
22450
  };
21934
22451
  contracts: {
21935
- list(query?: operations["getContracts"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getContracts"]["responses"][200]["content"]["application/json"]>;
21936
- iterate(query?: Omit<NonNullable<operations["getContracts"]["parameters"]["query"]>, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Contract, void, undefined>;
22452
+ list(query?: GetContractsQuery, options?: SpacebringRequestOptions): Promise<{
22453
+ contracts: Contract[];
22454
+ nextPageToken?: string;
22455
+ searchQueryNext?: string;
22456
+ }>;
22457
+ iterate(query?: Omit<GetContractsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Contract, void, undefined>;
21937
22458
  get(contractId: string, options?: SpacebringRequestOptions): Promise<Contract>;
21938
22459
  create(body: NonNullable<operations["createContract"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<Contract>;
21939
22460
  delete(contractId: string, options?: SpacebringRequestOptions): Promise<undefined>;
@@ -21942,34 +22463,46 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
21942
22463
  };
21943
22464
  discounts: {
21944
22465
  coupons: {
21945
- list(query: operations["getCoupons"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getCoupons"]["responses"][200]["content"]["application/json"]>;
21946
- iterate(query: Omit<NonNullable<operations["getCoupons"]["parameters"]["query"]>, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Coupon, void, undefined>;
22466
+ list(query: GetCouponsQuery, options?: SpacebringRequestOptions): Promise<{
22467
+ coupons?: Coupon[];
22468
+ nextPageToken?: string;
22469
+ searchQueryNext?: string;
22470
+ }>;
22471
+ iterate(query: Omit<GetCouponsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Coupon, void, undefined>;
21947
22472
  get(id: string, options?: SpacebringRequestOptions): Promise<Coupon>;
21948
22473
  create(body: NonNullable<operations["createCoupon"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<Coupon>;
21949
22474
  update(id: string, body: NonNullable<operations["updateCoupon"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<undefined>;
21950
22475
  delete(id: string, options?: SpacebringRequestOptions): Promise<undefined>;
21951
22476
  };
21952
22477
  promocodes: {
21953
- list(query?: operations["getPromocodes"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<Promocode[]>;
22478
+ list(query?: GetPromocodesQuery, options?: SpacebringRequestOptions): Promise<Promocode[]>;
21954
22479
  get(id: string, options?: SpacebringRequestOptions): Promise<Promocode>;
21955
22480
  create(body: NonNullable<operations["createPromocode"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<Promocode>;
21956
22481
  archive(id: string, options?: SpacebringRequestOptions): Promise<Promocode>;
21957
22482
  };
21958
22483
  redemptions: {
21959
- list(query?: operations["getDiscountRedemptions"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getDiscountRedemptions"]["responses"][200]["content"]["application/json"]>;
21960
- iterate(query?: Omit<NonNullable<operations["getDiscountRedemptions"]["parameters"]["query"]>, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Redemption, void, undefined>;
22484
+ list(query?: GetDiscountRedemptionsQuery, options?: SpacebringRequestOptions): Promise<{
22485
+ redemptions?: Redemption[];
22486
+ nextPageToken?: string;
22487
+ searchQueryNext?: string;
22488
+ }>;
22489
+ iterate(query?: Omit<GetDiscountRedemptionsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Redemption, void, undefined>;
21961
22490
  };
21962
22491
  };
21963
22492
  events: {
21964
- list(query: operations["getEventsByOrganization"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getEventsByOrganization"]["responses"][200]["content"]["application/json"]>;
22493
+ list(query: GetEventsByOrganizationQuery, options?: SpacebringRequestOptions): Promise<operations["getEventsByOrganization"]["responses"][200]["content"]["application/json"]>;
21965
22494
  get(id: string, options?: SpacebringRequestOptions): Promise<Event>;
21966
22495
  create(body: NonNullable<operations["createEvent"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<Event>;
21967
22496
  delete(id: string, options?: SpacebringRequestOptions): Promise<undefined>;
21968
22497
  cancel(id: string, options?: SpacebringRequestOptions): Promise<Event>;
21969
22498
  copy(id: string, options?: SpacebringRequestOptions): Promise<Event>;
21970
22499
  tickets: {
21971
- list(query: operations["getEventTickets"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getEventTickets"]["responses"][200]["content"]["application/json"]>;
21972
- iterate(query: Omit<NonNullable<operations["getEventTickets"]["parameters"]["query"]>, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<EventTicket, void, undefined>;
22500
+ list(query: GetEventTicketsQuery, options?: SpacebringRequestOptions): Promise<{
22501
+ tickets?: EventTicket[];
22502
+ nextPageToken?: string;
22503
+ searchQueryNext?: string;
22504
+ }>;
22505
+ iterate(query: Omit<GetEventTicketsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<EventTicket, void, undefined>;
21973
22506
  get(id: string, options?: SpacebringRequestOptions): Promise<EventTicket>;
21974
22507
  };
21975
22508
  };
@@ -21981,8 +22514,12 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
21981
22514
  deleteLike(id: string, options?: SpacebringRequestOptions): Promise<undefined>;
21982
22515
  };
21983
22516
  posts: {
21984
- list(query: operations["getFeedPosts"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getFeedPosts"]["responses"][200]["content"]["application/json"]>;
21985
- iterate(query: Omit<NonNullable<operations["getFeedPosts"]["parameters"]["query"]>, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Post, void, undefined>;
22517
+ list(query: GetFeedPostsQuery, options?: SpacebringRequestOptions): Promise<{
22518
+ nextPageToken?: string;
22519
+ posts?: Post[];
22520
+ searchQueryNext?: string;
22521
+ }>;
22522
+ iterate(query: Omit<GetFeedPostsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Post, void, undefined>;
21986
22523
  get(id: string, options?: SpacebringRequestOptions): Promise<Post>;
21987
22524
  create(body: NonNullable<operations["createFeedPost"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<Post>;
21988
22525
  update(id: string, body: NonNullable<operations["updateFeedPost"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<Post>;
@@ -21994,12 +22531,16 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
21994
22531
  };
21995
22532
  };
21996
22533
  floors: {
21997
- list(query: operations["getFloors"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getFloors"]["responses"][200]["content"]["application/json"]>;
22534
+ list(query: GetFloorsQuery, options?: SpacebringRequestOptions): Promise<operations["getFloors"]["responses"][200]["content"]["application/json"]>;
21998
22535
  delete(id: string, options?: SpacebringRequestOptions): Promise<undefined>;
21999
22536
  };
22000
22537
  guides: {
22001
- list(query: operations["getGuides"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getGuides"]["responses"][200]["content"]["application/json"]>;
22002
- iterate(query: Omit<NonNullable<operations["getGuides"]["parameters"]["query"]>, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Guide, void, undefined>;
22538
+ list(query: GetGuidesQuery, options?: SpacebringRequestOptions): Promise<{
22539
+ guides: Guide[];
22540
+ nextPageToken?: string;
22541
+ searchQueryNext?: string;
22542
+ }>;
22543
+ iterate(query: Omit<GetGuidesQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Guide, void, undefined>;
22003
22544
  get(guideId: string, options?: SpacebringRequestOptions): Promise<Guide>;
22004
22545
  create(body: NonNullable<operations["createGuide"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<Guide>;
22005
22546
  update(guideId: string, body: NonNullable<operations["patchGuide"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<Guide>;
@@ -22013,26 +22554,42 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
22013
22554
  list(options?: SpacebringRequestOptions): Promise<Network[]>;
22014
22555
  };
22015
22556
  plans: {
22016
- list(query?: operations["getPlans"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getPlans"]["responses"][200]["content"]["application/json"]>;
22017
- iterate(query?: Omit<NonNullable<operations["getPlans"]["parameters"]["query"]>, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Plan, void, undefined>;
22557
+ list(query?: GetPlansQuery, options?: SpacebringRequestOptions): Promise<{
22558
+ nextPageToken?: string;
22559
+ plans: Plan[];
22560
+ searchQueryNext?: string;
22561
+ }>;
22562
+ iterate(query?: Omit<GetPlansQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Plan, void, undefined>;
22018
22563
  get(planId: string, options?: SpacebringRequestOptions): Promise<Plan>;
22019
22564
  create(body: NonNullable<operations["createPlan"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<Plan>;
22020
22565
  update(planId: string, body: NonNullable<operations["updatePlan"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<undefined>;
22021
22566
  delete(planId: string, options?: SpacebringRequestOptions): Promise<undefined>;
22022
22567
  };
22023
22568
  registrations: {
22024
- list(query?: operations["getRegistrations"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getRegistrations"]["responses"][200]["content"]["application/json"]>;
22025
- iterate(query?: Omit<NonNullable<operations["getRegistrations"]["parameters"]["query"]>, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Registration, void, undefined>;
22569
+ list(query?: GetRegistrationsQuery, options?: SpacebringRequestOptions): Promise<{
22570
+ registrations?: Registration[];
22571
+ nextPageToken?: string;
22572
+ searchQueryNext?: string;
22573
+ }>;
22574
+ iterate(query?: Omit<GetRegistrationsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Registration, void, undefined>;
22026
22575
  };
22027
22576
  resources: {
22028
- list(query: operations["getResources"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getResources"]["responses"][200]["content"]["application/json"]>;
22029
- iterate(query: Omit<NonNullable<operations["getResources"]["parameters"]["query"]>, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Resource, void, undefined>;
22577
+ list(query: GetResourcesQuery, options?: SpacebringRequestOptions): Promise<{
22578
+ nextPageToken?: string;
22579
+ resources?: Resource[];
22580
+ searchQueryNext?: string;
22581
+ }>;
22582
+ iterate(query: Omit<GetResourcesQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Resource, void, undefined>;
22030
22583
  get(id: string, options?: SpacebringRequestOptions): Promise<Resource>;
22031
22584
  create(body: NonNullable<operations["createResource"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<Resource>;
22032
22585
  update(id: string, body: NonNullable<operations["patchResource"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<undefined>;
22033
22586
  bookings: {
22034
- list(query?: operations["getBookings"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getBookings"]["responses"][200]["content"]["application/json"]>;
22035
- iterate(query?: Omit<NonNullable<operations["getBookings"]["parameters"]["query"]>, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Booking, void, undefined>;
22587
+ list(query?: GetBookingsQuery, options?: SpacebringRequestOptions): Promise<{
22588
+ bookings?: Booking[];
22589
+ nextPageToken?: string;
22590
+ searchQueryNext?: string;
22591
+ }>;
22592
+ iterate(query?: Omit<GetBookingsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Booking, void, undefined>;
22036
22593
  get(id: string, options?: SpacebringRequestOptions): Promise<Booking>;
22037
22594
  create(body: NonNullable<operations["createBooking"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<Booking>;
22038
22595
  delete(id: string, options?: SpacebringRequestOptions): Promise<undefined>;
@@ -22040,20 +22597,28 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
22040
22597
  };
22041
22598
  shop: {
22042
22599
  categories: {
22043
- list(query: operations["getShopCategories"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<ShopCategory[]>;
22600
+ list(query: GetShopCategoriesQuery, options?: SpacebringRequestOptions): Promise<ShopCategory[]>;
22044
22601
  get(categoryId: string, options?: SpacebringRequestOptions): Promise<ShopCategory>;
22045
22602
  create(body: NonNullable<operations["createShopCategory"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<ShopCategory>;
22046
22603
  update(categoryId: string, body: NonNullable<operations["updateShopCategory"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<ShopCategory>;
22047
22604
  delete(categoryId: string, options?: SpacebringRequestOptions): Promise<undefined>;
22048
22605
  };
22049
22606
  orders: {
22050
- list(query?: operations["getOrders"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getOrders"]["responses"][200]["content"]["application/json"]>;
22051
- iterate(query?: Omit<NonNullable<operations["getOrders"]["parameters"]["query"]>, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Order, void, undefined>;
22607
+ list(query?: GetOrdersQuery, options?: SpacebringRequestOptions): Promise<{
22608
+ nextPageToken?: string;
22609
+ orders: Order[];
22610
+ searchQueryNext?: string;
22611
+ }>;
22612
+ iterate(query?: Omit<GetOrdersQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Order, void, undefined>;
22052
22613
  get(orderId: string, options?: SpacebringRequestOptions): Promise<Order>;
22053
22614
  };
22054
22615
  products: {
22055
- list(query?: operations["getProducts"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getProducts"]["responses"][200]["content"]["application/json"]>;
22056
- iterate(query?: Omit<NonNullable<operations["getProducts"]["parameters"]["query"]>, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Product, void, undefined>;
22616
+ list(query?: GetProductsQuery, options?: SpacebringRequestOptions): Promise<{
22617
+ nextPageToken?: string;
22618
+ products: Product[];
22619
+ searchQueryNext?: string;
22620
+ }>;
22621
+ iterate(query?: Omit<GetProductsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Product, void, undefined>;
22057
22622
  get(productId: string, options?: SpacebringRequestOptions): Promise<Product>;
22058
22623
  create(body: NonNullable<operations["createProduct"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<Product>;
22059
22624
  update(productId: string, body: NonNullable<operations["updateProduct"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<Product>;
@@ -22061,8 +22626,12 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
22061
22626
  };
22062
22627
  };
22063
22628
  subscriptions: {
22064
- list(query?: operations["getSubscriptions"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getSubscriptions"]["responses"][200]["content"]["application/json"]>;
22065
- iterate(query?: Omit<NonNullable<operations["getSubscriptions"]["parameters"]["query"]>, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Subscription, void, undefined>;
22629
+ list(query?: GetSubscriptionsQuery, options?: SpacebringRequestOptions): Promise<{
22630
+ nextPageToken?: string;
22631
+ searchQueryNext?: string;
22632
+ subscriptions: Subscription[];
22633
+ }>;
22634
+ iterate(query?: Omit<GetSubscriptionsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Subscription, void, undefined>;
22066
22635
  get(subscriptionId: string, options?: SpacebringRequestOptions): Promise<Subscription>;
22067
22636
  create(body: NonNullable<operations["createSubscription"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<Subscription>;
22068
22637
  update(subscriptionId: string, body: NonNullable<operations["updateSubscription"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<undefined>;
@@ -22073,8 +22642,12 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
22073
22642
  };
22074
22643
  support: {
22075
22644
  tickets: {
22076
- list(query: operations["getSupportTickets"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getSupportTickets"]["responses"][200]["content"]["application/json"]>;
22077
- iterate(query: Omit<NonNullable<operations["getSupportTickets"]["parameters"]["query"]>, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<SupportTicket, void, undefined>;
22645
+ list(query: GetSupportTicketsQuery, options?: SpacebringRequestOptions): Promise<{
22646
+ nextPageToken?: string;
22647
+ searchQueryNext?: string;
22648
+ tickets?: SupportTicket[];
22649
+ }>;
22650
+ iterate(query: Omit<GetSupportTicketsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<SupportTicket, void, undefined>;
22078
22651
  get(id: string, options?: SpacebringRequestOptions): Promise<operations["getSupportTicket"]["responses"][200]["content"]["application/json"]>;
22079
22652
  create(body: NonNullable<operations["createSupportTicket"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<operations["createSupportTicket"]["responses"][201]["content"]["application/json"]>;
22080
22653
  updateAssignee(id: string, body: NonNullable<operations["updateSupportTicketAssignee"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<operations["updateSupportTicketAssignee"]["responses"][200]["content"]["application/json"]>;
@@ -22092,39 +22665,60 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
22092
22665
  getDayPasses(id: string, options?: SpacebringRequestOptions): Promise<Balance[]>;
22093
22666
  };
22094
22667
  credits: {
22095
- list(query?: operations["getCreditsTransactions"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getCreditsTransactions"]["responses"][200]["content"]["application/json"]>;
22096
- iterate(query?: Omit<NonNullable<operations["getCreditsTransactions"]["parameters"]["query"]>, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<CreditTransaction, void, undefined>;
22668
+ list(query?: GetCreditsTransactionsQuery, options?: SpacebringRequestOptions): Promise<{
22669
+ transactions?: CreditTransaction[];
22670
+ nextPageToken?: string;
22671
+ }>;
22672
+ iterate(query?: Omit<GetCreditsTransactionsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<CreditTransaction, void, undefined>;
22097
22673
  create(body: NonNullable<operations["createCreditsTransaction"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<CreditTransaction>;
22098
22674
  };
22099
22675
  dayPasses: {
22100
- list(query?: operations["getDayPassesTransactions"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getDayPassesTransactions"]["responses"][200]["content"]["application/json"]>;
22101
- iterate(query?: Omit<NonNullable<operations["getDayPassesTransactions"]["parameters"]["query"]>, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<DayPassTransaction, void, undefined>;
22676
+ list(query?: GetDayPassesTransactionsQuery, options?: SpacebringRequestOptions): Promise<{
22677
+ nextPageToken?: string;
22678
+ transactions: DayPassTransaction[];
22679
+ }>;
22680
+ iterate(query?: Omit<GetDayPassesTransactionsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<DayPassTransaction, void, undefined>;
22102
22681
  create(body: NonNullable<operations["createDayPassesTransaction"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<DayPassTransaction>;
22103
22682
  };
22104
22683
  money: {
22105
- list(query: operations["getMoneyTransactions"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getMoneyTransactions"]["responses"][200]["content"]["application/json"]>;
22106
- iterate(query: Omit<NonNullable<operations["getMoneyTransactions"]["parameters"]["query"]>, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<MoneyTransaction, void, undefined>;
22684
+ list(query: GetMoneyTransactionsQuery, options?: SpacebringRequestOptions): Promise<{
22685
+ transactions?: MoneyTransaction[];
22686
+ nextPageToken?: string;
22687
+ }>;
22688
+ iterate(query: Omit<GetMoneyTransactionsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<MoneyTransaction, void, undefined>;
22107
22689
  get(id: string, options?: SpacebringRequestOptions): Promise<MoneyTransaction>;
22108
22690
  };
22109
22691
  };
22110
22692
  visitors: {
22111
22693
  contacts: {
22112
- list(query: operations["getContacts"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getContacts"]["responses"][200]["content"]["application/json"]>;
22113
- iterate(query: Omit<NonNullable<operations["getContacts"]["parameters"]["query"]>, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Contact, void, undefined>;
22694
+ list(query: GetContactsQuery, options?: SpacebringRequestOptions): Promise<{
22695
+ contacts?: Contact[];
22696
+ nextPageToken?: string;
22697
+ searchQueryNext?: string;
22698
+ }>;
22699
+ iterate(query: Omit<GetContactsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Contact, void, undefined>;
22114
22700
  get(contactId: string, options?: SpacebringRequestOptions): Promise<Contact>;
22115
22701
  create(body: NonNullable<operations["createContact"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<Contact>;
22116
22702
  };
22117
22703
  requests: {
22118
- list(query: operations["getRequests"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getRequests"]["responses"][200]["content"]["application/json"]>;
22119
- iterate(query: Omit<NonNullable<operations["getRequests"]["parameters"]["query"]>, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Request, void, undefined>;
22704
+ list(query: GetRequestsQuery, options?: SpacebringRequestOptions): Promise<{
22705
+ nextPageToken?: string;
22706
+ requests?: Request[];
22707
+ searchQueryNext?: string;
22708
+ }>;
22709
+ iterate(query: Omit<GetRequestsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Request, void, undefined>;
22120
22710
  get(id: string, options?: SpacebringRequestOptions): Promise<Request>;
22121
22711
  create(body: NonNullable<operations["createRequest"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<Request>;
22122
22712
  approve(id: string, options?: SpacebringRequestOptions): Promise<RequestVisit>;
22123
22713
  reject(id: string, options?: SpacebringRequestOptions): Promise<undefined>;
22124
22714
  };
22125
22715
  visits: {
22126
- list(query: operations["getVisits"]["parameters"]["query"], options?: SpacebringRequestOptions): Promise<operations["getVisits"]["responses"][200]["content"]["application/json"]>;
22127
- iterate(query: Omit<NonNullable<operations["getVisits"]["parameters"]["query"]>, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<VisitorVisit, void, undefined>;
22716
+ list(query: GetVisitsQuery, options?: SpacebringRequestOptions): Promise<{
22717
+ nextPageToken?: string;
22718
+ searchQueryNext?: string;
22719
+ visits?: VisitorVisit[];
22720
+ }>;
22721
+ iterate(query: Omit<GetVisitsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<VisitorVisit, void, undefined>;
22128
22722
  get(id: string, options?: SpacebringRequestOptions): Promise<VisitorVisit>;
22129
22723
  create(body: NonNullable<operations["createVisit"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<VisitorVisit>;
22130
22724
  update(id: string, body: NonNullable<operations["updateVisit"]["requestBody"]>["content"]["application/json"], options?: SpacebringRequestOptions): Promise<VisitorVisit>;
@@ -22193,4 +22787,4 @@ declare class SpacebringError extends Error {
22193
22787
  });
22194
22788
  }
22195
22789
 
22196
- export { type Activity, type AltCurrency, type Application, type Balance, type Benefit, type BenefitCategory, type Booking, type CommentLike, type Company, type Contact, type Contract, type Coupon, type CreditNote, type CreditTransaction, type DayPassTransaction, type Event, type EventTicket, type FeedComment, type Guide, type Invoice, type InvoiceItem, type Location, type Membership, type MoneyTransaction, type Network, type Order, type Plan, type Post, type PostComment, type PostLike, type Product, type Promocode, type Redemption, type Registration, type Request, type RequestVisit, type Resource, type ShopCategory, Spacebring, type SpacebringConfig, SpacebringError, type SpacebringErrorBody, type SpacebringRequestOptions, type SpacebringResources, type Subscription, type SupportTicket, type VisitorVisit, type components, type operations, type paths };
22790
+ export { type Activity, type AltCurrency, type Application, type Balance, type Benefit, type BenefitCategory, type Booking, type CommentLike, type Company, type Contact, type Contract, type Coupon, type CreditNote, type CreditTransaction, type DayPassTransaction, type Event, type EventTicket, type FeedComment, type GetAltCurrenciesQuery, type GetBenefitApplicationsQuery, type GetBenefitCategoriesQuery, type GetBenefitsQuery, type GetBookingsQuery, type GetCompaniesQuery, type GetContactsQuery, type GetContractsQuery, type GetCouponsQuery, type GetCreditNotesQuery, type GetCreditsTransactionsQuery, type GetDayPassesTransactionsQuery, type GetDiscountRedemptionsQuery, type GetEventTicketsQuery, type GetEventsByOrganizationQuery, type GetFeedPostsQuery, type GetFloorsQuery, type GetGuidesQuery, type GetInvoicesQuery, type GetMembershipsDeletedQuery, type GetMembershipsQuery, type GetMoneyTransactionsQuery, type GetOrdersQuery, type GetPlansQuery, type GetProductsQuery, type GetPromocodesQuery, type GetRegistrationsQuery, type GetRequestsQuery, type GetResourcesQuery, type GetShopCategoriesQuery, type GetSubscriptionsQuery, type GetSupportTicketsQuery, type GetUpcomingInvoiceItemsQuery, type GetUpcomingInvoiceQuery, type GetVisitsQuery, type Guide, type Invoice, type InvoiceItem, type Location, type Membership, type MoneyTransaction, type Network, type Order, type Plan, type Post, type PostComment, type PostLike, type Product, type Promocode, type Redemption, type Registration, type Request, type RequestVisit, type Resource, type ShopCategory, Spacebring, type SpacebringConfig, SpacebringError, type SpacebringErrorBody, type SpacebringRequestOptions, type SpacebringResources, type Subscription, type SupportTicket, type VisitorVisit, type components, type operations, type paths };