@izak0s/spacebring-api 10.2.0 → 10.4.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
@@ -859,6 +859,86 @@ interface paths {
859
859
  patch?: never;
860
860
  trace?: never;
861
861
  };
862
+ "/check_ins/v1": {
863
+ parameters: {
864
+ query?: never;
865
+ header?: never;
866
+ path?: never;
867
+ cookie?: never;
868
+ };
869
+ /**
870
+ * Retrieve check-ins
871
+ * @description Retrieve the check-ins of a location, newest arrival first. With bearer token authentication, the user must be an administrator of the location. <h3>OAuth</h3>Required scopes: <code>checkIns.readonly</code> or <code>checkIns</code>
872
+ */
873
+ get: operations["getCheckIns"];
874
+ put?: never;
875
+ post?: never;
876
+ delete?: never;
877
+ options?: never;
878
+ head?: never;
879
+ patch?: never;
880
+ trace?: never;
881
+ };
882
+ "/check_ins/v1/{checkInId}": {
883
+ parameters: {
884
+ query?: never;
885
+ header?: never;
886
+ path?: never;
887
+ cookie?: never;
888
+ };
889
+ /**
890
+ * Get a check-in
891
+ * @description Get a check-in by its id. With bearer token authentication, the user must be an administrator of the check-in's location. <h3>OAuth</h3>Required scopes: <code>checkIns.readonly</code> or <code>checkIns</code>
892
+ */
893
+ get: operations["getCheckIn"];
894
+ put?: never;
895
+ post?: never;
896
+ delete?: never;
897
+ options?: never;
898
+ head?: never;
899
+ patch?: never;
900
+ trace?: never;
901
+ };
902
+ "/check_ins/v1/checkin": {
903
+ parameters: {
904
+ query?: never;
905
+ header?: never;
906
+ path?: never;
907
+ cookie?: never;
908
+ };
909
+ get?: never;
910
+ put?: never;
911
+ /**
912
+ * Check in
913
+ * @description Record an arrival for a booking, an event ticket, a visit, or a member's subscription. Identify what to check in with its check-in id, with the location and a six-digit code, or with the location and a customer ref to check a member in without a code. With bearer token authentication, the user must be an administrator of the location. <h3>OAuth</h3>Required scopes: <code>checkIns</code>
914
+ */
915
+ post: operations["checkIn"];
916
+ delete?: never;
917
+ options?: never;
918
+ head?: never;
919
+ patch?: never;
920
+ trace?: never;
921
+ };
922
+ "/check_ins/v1/checkout": {
923
+ parameters: {
924
+ query?: never;
925
+ header?: never;
926
+ path?: never;
927
+ cookie?: never;
928
+ };
929
+ get?: never;
930
+ put?: never;
931
+ /**
932
+ * Check out
933
+ * @description Record a departure on an open check-in. Identify it with its check-in id, or with the location and the six-digit code it was opened with. With bearer token authentication, the user must be an administrator of the location. <h3>OAuth</h3>Required scopes: <code>checkIns</code>
934
+ */
935
+ post: operations["checkOut"];
936
+ delete?: never;
937
+ options?: never;
938
+ head?: never;
939
+ patch?: never;
940
+ trace?: never;
941
+ };
862
942
  "/community/companies/v1": {
863
943
  parameters: {
864
944
  query?: never;
@@ -907,6 +987,26 @@ interface paths {
907
987
  patch?: never;
908
988
  trace?: never;
909
989
  };
990
+ "/community/companies/v1/media": {
991
+ parameters: {
992
+ query?: never;
993
+ header?: never;
994
+ path?: never;
995
+ cookie?: never;
996
+ };
997
+ get?: never;
998
+ put?: never;
999
+ /**
1000
+ * Create a logo upload
1001
+ * @description Create an upload for a company logo. The response carries a presigned URL: send the raw file bytes with a PUT request within a minute, using exactly the headers returned. Once the file is stored, pass the returned key as <code>logo.key</code> when creating or updating a company within an hour; a logo that is not attached by then is discarded. <h3>OAuth</h3>Required scopes: <code>community</code>
1002
+ */
1003
+ post: operations["createCompanyMedia"];
1004
+ delete?: never;
1005
+ options?: never;
1006
+ head?: never;
1007
+ patch?: never;
1008
+ trace?: never;
1009
+ };
910
1010
  "/community/memberships/v1": {
911
1011
  parameters: {
912
1012
  query?: never;
@@ -1146,7 +1246,7 @@ interface paths {
1146
1246
  put?: never;
1147
1247
  /**
1148
1248
  * Create a template
1149
- * @description Create a contract template from an uploaded file. <h3>OAuth</h3>Required scopes: <code>invoices</code>
1249
+ * @description Create a contract template from a .docx file uploaded through the template upload endpoint. <h3>OAuth</h3>Required scopes: <code>invoices</code>
1150
1250
  */
1151
1251
  post: operations["createTemplate"];
1152
1252
  delete?: never;
@@ -1155,6 +1255,26 @@ interface paths {
1155
1255
  patch?: never;
1156
1256
  trace?: never;
1157
1257
  };
1258
+ "/contracts/templates/v1/media": {
1259
+ parameters: {
1260
+ query?: never;
1261
+ header?: never;
1262
+ path?: never;
1263
+ cookie?: never;
1264
+ };
1265
+ get?: never;
1266
+ put?: never;
1267
+ /**
1268
+ * Create a template upload
1269
+ * @description Create a media upload for a contract template file, a .docx document of up to 50 MB. The response carries a presigned URL: send the raw file bytes with a PUT request within a minute, using exactly the headers returned. Once the file is stored, pass the returned key as <code>template.file.key</code> when creating or updating a template within an hour; a file that is not attached by then is discarded. <h3>OAuth</h3>Required scopes: <code>invoices</code>
1270
+ */
1271
+ post: operations["createTemplateMedia"];
1272
+ delete?: never;
1273
+ options?: never;
1274
+ head?: never;
1275
+ patch?: never;
1276
+ trace?: never;
1277
+ };
1158
1278
  "/contracts/templates/v1/{templateId}": {
1159
1279
  parameters: {
1160
1280
  query?: never;
@@ -1178,7 +1298,7 @@ interface paths {
1178
1298
  head?: never;
1179
1299
  /**
1180
1300
  * Update a template
1181
- * @description Update a contract template. <h3>OAuth</h3>Required scopes: <code>invoices</code>
1301
+ * @description Update a contract template. A new file is uploaded through the template upload endpoint. <h3>OAuth</h3>Required scopes: <code>invoices</code>
1182
1302
  */
1183
1303
  patch: operations["updateTemplate"];
1184
1304
  trace?: never;
@@ -1704,6 +1824,26 @@ interface paths {
1704
1824
  patch?: never;
1705
1825
  trace?: never;
1706
1826
  };
1827
+ "/feed/v1/media": {
1828
+ parameters: {
1829
+ query?: never;
1830
+ header?: never;
1831
+ path?: never;
1832
+ cookie?: never;
1833
+ };
1834
+ get?: never;
1835
+ put?: never;
1836
+ /**
1837
+ * Create a media upload
1838
+ * @description Create a media upload for an image or a video in a post. The response carries a presigned URL: send the raw file bytes with a PUT request within a minute, using exactly the headers returned. Once the file is stored, pass the returned key in <code>media[].key</code> when creating or updating a post within an hour; a file that is not attached by then is discarded. A video must declare its <code>width</code> and <code>height</code>; an image's dimensions are read from the file. <h3>OAuth</h3>Required scopes: <code>feed</code>
1839
+ */
1840
+ post: operations["createFeedPostMedia"];
1841
+ delete?: never;
1842
+ options?: never;
1843
+ head?: never;
1844
+ patch?: never;
1845
+ trace?: never;
1846
+ };
1707
1847
  "/floors/v1": {
1708
1848
  parameters: {
1709
1849
  query?: never;
@@ -1796,6 +1936,46 @@ interface paths {
1796
1936
  patch: operations["patchGuide"];
1797
1937
  trace?: never;
1798
1938
  };
1939
+ "/guides/v1/attachments": {
1940
+ parameters: {
1941
+ query?: never;
1942
+ header?: never;
1943
+ path?: never;
1944
+ cookie?: never;
1945
+ };
1946
+ get?: never;
1947
+ put?: never;
1948
+ /**
1949
+ * Create an attachment upload
1950
+ * @description Create an upload for a file to attach to a guide, of any type up to 50 MB. The response carries a presigned URL: send the raw file bytes with a PUT request within a minute, using exactly the headers returned. Once the file is stored, pass the returned key in <code>attachments[].key</code> when creating or updating a guide within an hour; a file that is not attached by then is discarded. The file is served as a download under the declared name. <h3>OAuth</h3>Required scopes: <code>support</code>
1951
+ */
1952
+ post: operations["createGuideAttachment"];
1953
+ delete?: never;
1954
+ options?: never;
1955
+ head?: never;
1956
+ patch?: never;
1957
+ trace?: never;
1958
+ };
1959
+ "/guides/v1/media": {
1960
+ parameters: {
1961
+ query?: never;
1962
+ header?: never;
1963
+ path?: never;
1964
+ cookie?: never;
1965
+ };
1966
+ get?: never;
1967
+ put?: never;
1968
+ /**
1969
+ * Create a media upload
1970
+ * @description Create a media upload for an image or a video in a guide. The response carries a presigned URL: send the raw file bytes with a PUT request within a minute, using exactly the headers returned. Once the file is stored, add the returned url to the guide <code>description</code> as a Markdown image, <code>![alt text](url)</code>, when creating or updating a guide within an hour; a file that is not attached by then is discarded. A video must declare its <code>width</code> and <code>height</code>; an image's dimensions are read from the file. <h3>OAuth</h3>Required scopes: <code>support</code>
1971
+ */
1972
+ post: operations["createGuideMedia"];
1973
+ delete?: never;
1974
+ options?: never;
1975
+ head?: never;
1976
+ patch?: never;
1977
+ trace?: never;
1978
+ };
1799
1979
  "/locations/v1": {
1800
1980
  parameters: {
1801
1981
  query?: never;
@@ -2044,6 +2224,26 @@ interface paths {
2044
2224
  patch: operations["patchAssignment"];
2045
2225
  trace?: never;
2046
2226
  };
2227
+ "/resources/v1/media": {
2228
+ parameters: {
2229
+ query?: never;
2230
+ header?: never;
2231
+ path?: never;
2232
+ cookie?: never;
2233
+ };
2234
+ get?: never;
2235
+ put?: never;
2236
+ /**
2237
+ * Create a media upload
2238
+ * @description Create a media upload for a resource photo. The response carries a presigned URL: send the raw file bytes with a PUT request within a minute, using exactly the headers returned. Once the file is stored, add the returned key to <code>media</code> when creating or updating a resource within an hour; an image that is not attached by then is discarded. A resource holds up to 10 photos, the first being its cover. <h3>OAuth</h3>Required scopes: <code>resources</code>
2239
+ */
2240
+ post: operations["createResourceMedia"];
2241
+ delete?: never;
2242
+ options?: never;
2243
+ head?: never;
2244
+ patch?: never;
2245
+ trace?: never;
2246
+ };
2047
2247
  "/resources/v1/{resourceId}": {
2048
2248
  parameters: {
2049
2249
  query?: never;
@@ -2244,6 +2444,26 @@ interface paths {
2244
2444
  patch?: never;
2245
2445
  trace?: never;
2246
2446
  };
2447
+ "/shop/products/v1/media": {
2448
+ parameters: {
2449
+ query?: never;
2450
+ header?: never;
2451
+ path?: never;
2452
+ cookie?: never;
2453
+ };
2454
+ get?: never;
2455
+ put?: never;
2456
+ /**
2457
+ * Create a media upload
2458
+ * @description Create a media upload for a product cover image. The response carries a presigned URL: send the raw file bytes with a PUT request within a minute, using exactly the headers returned. Once the file is stored, pass the returned key as <code>media[0].key</code> when creating or updating a product within an hour; an image that is not attached by then is discarded. <h3>OAuth</h3>Required scopes: <code>shop</code>
2459
+ */
2460
+ post: operations["createProductMedia"];
2461
+ delete?: never;
2462
+ options?: never;
2463
+ head?: never;
2464
+ patch?: never;
2465
+ trace?: never;
2466
+ };
2247
2467
  "/shop/orders/v1": {
2248
2468
  parameters: {
2249
2469
  query?: never;
@@ -2495,7 +2715,7 @@ interface paths {
2495
2715
  put?: never;
2496
2716
  /**
2497
2717
  * Create a ticket comment
2498
- * @description Create a support ticket comment. <h3>OAuth</h3>Required scopes: <code>support</code>
2718
+ * @description Create a support ticket comment. To attach a file, create a media upload first, send the file, then pass its key as <code>activity.attachments[0].key</code>; a 409 response means the file has not been received yet, so retry shortly. <h3>OAuth</h3>Required scopes: <code>support</code>
2499
2719
  */
2500
2720
  post: operations["createSupportTicketComment"];
2501
2721
  delete?: never;
@@ -2528,6 +2748,26 @@ interface paths {
2528
2748
  patch: operations["updateSupportTicketComment"];
2529
2749
  trace?: never;
2530
2750
  };
2751
+ "/support/tickets/v1/media": {
2752
+ parameters: {
2753
+ query?: never;
2754
+ header?: never;
2755
+ path?: never;
2756
+ cookie?: never;
2757
+ };
2758
+ get?: never;
2759
+ put?: never;
2760
+ /**
2761
+ * Create a ticket media upload
2762
+ * @description Create a media upload for a ticket comment attachment, a file of any type up to 50 MB. The response carries a presigned URL: send the raw file bytes with a PUT request within a minute, using exactly the headers returned. Once the file is stored, pass the returned key as <code>activity.attachments[0].key</code> when creating a ticket comment within 25 minutes; a file that is not attached by then is discarded. <h3>OAuth</h3>Required scopes: <code>support</code>
2763
+ */
2764
+ post: operations["createSupportTicketMedia"];
2765
+ delete?: never;
2766
+ options?: never;
2767
+ head?: never;
2768
+ patch?: never;
2769
+ trace?: never;
2770
+ };
2531
2771
  "/transactions/credits/scheduled/v1": {
2532
2772
  parameters: {
2533
2773
  query?: never;
@@ -6139,6 +6379,252 @@ interface components {
6139
6379
  */
6140
6380
  voidDate?: string;
6141
6381
  };
6382
+ getCheckIns: {
6383
+ /** @description List of check-ins. */
6384
+ checkIns: {
6385
+ /** @description Booking this check-in was created for, if any. */
6386
+ booking?: {
6387
+ /**
6388
+ * Format: uuid
6389
+ * @description ID of the booking.
6390
+ */
6391
+ id: string;
6392
+ };
6393
+ /**
6394
+ * Format: date-time
6395
+ * @description ISO timestamp of when the user checked in.
6396
+ */
6397
+ checkInDate?: string;
6398
+ /**
6399
+ * Format: uuid
6400
+ * @description ID of the schedule this check-in was opened under. Absent on check-ins created before schedules were introduced.
6401
+ */
6402
+ checkInScheduleRef?: string;
6403
+ /**
6404
+ * Format: date-time
6405
+ * @description ISO timestamp of when the user checked out.
6406
+ */
6407
+ checkOutDate?: string;
6408
+ /** @description Confirmation code of the check-in. */
6409
+ code?: string;
6410
+ /**
6411
+ * Format: date-time
6412
+ * @description ISO timestamp of when the check-in was created.
6413
+ */
6414
+ createDate: string;
6415
+ /**
6416
+ * Format: date-time
6417
+ * @description ISO timestamp of when the check-in expires. Absent when it was opened under a schedule without an end date, or with a personal code.
6418
+ */
6419
+ endDate?: string;
6420
+ /** @description Event ticket this check-in was created for, if any. */
6421
+ eventTicket?: {
6422
+ /**
6423
+ * Format: uuid
6424
+ * @description ID of the event.
6425
+ */
6426
+ eventRef: string;
6427
+ /**
6428
+ * Format: uuid
6429
+ * @description ID of the event ticket.
6430
+ */
6431
+ id: string;
6432
+ };
6433
+ /**
6434
+ * Format: uuid
6435
+ * @description Unique identifier of the check-in.
6436
+ */
6437
+ id: string;
6438
+ /**
6439
+ * Format: uuid
6440
+ * @description ID of the network this check-in belongs to.
6441
+ */
6442
+ networkRef: string;
6443
+ /**
6444
+ * Format: uuid
6445
+ * @description ID of the location this check-in belongs to.
6446
+ */
6447
+ locationRef: string;
6448
+ /**
6449
+ * @description Status of the check-in.
6450
+ * @enum {string}
6451
+ */
6452
+ status: "checkedIn" | "checkedOut" | "scheduled" | "expired";
6453
+ /**
6454
+ * Format: date-time
6455
+ * @description ISO timestamp of when the check-in starts.
6456
+ */
6457
+ startDate: string;
6458
+ /**
6459
+ * @description What the check-in was created for.
6460
+ * @enum {string}
6461
+ */
6462
+ type: "deskBooking" | "roomBooking" | "eventTicket" | "visit" | "subscription";
6463
+ /** @description The user this check-in is for, read from the users service so the details are current. */
6464
+ user?: {
6465
+ /** @description Email address of the user. */
6466
+ email?: string | null;
6467
+ /**
6468
+ * Format: uuid
6469
+ * @description Unique identifier of the user.
6470
+ */
6471
+ id: string;
6472
+ /** @description First name of the user. */
6473
+ name?: string | null;
6474
+ /** @description Phone number of the user. */
6475
+ phoneNumber?: string | null;
6476
+ /** @description User profile photo URL. */
6477
+ photoUrl?: string | null;
6478
+ /** @description Surname of the user. */
6479
+ surname?: string | null;
6480
+ };
6481
+ /** @description Visit this check-in was created for, if any. */
6482
+ visit?: {
6483
+ /**
6484
+ * Format: uuid
6485
+ * @description ID of the visit.
6486
+ */
6487
+ id: string;
6488
+ /** @description The host the visit is with, read from the users service so the details are current. */
6489
+ userHost?: {
6490
+ /**
6491
+ * Format: uuid
6492
+ * @description Unique identifier of the host.
6493
+ */
6494
+ id: string;
6495
+ /** @description First name of the host. */
6496
+ name?: string | null;
6497
+ /** @description Surname of the host. */
6498
+ surname?: string | null;
6499
+ };
6500
+ };
6501
+ }[];
6502
+ /** @description Pagination token to fetch the next page of results. */
6503
+ nextPageToken?: string;
6504
+ /** @description Search query parameters for the next page of results. Includes all filters used to fetch the current page. */
6505
+ searchQueryNext?: string;
6506
+ };
6507
+ getCheckIn: {
6508
+ /** @description The check-in. */
6509
+ checkIn: {
6510
+ /** @description Booking this check-in was created for, if any. */
6511
+ booking?: {
6512
+ /**
6513
+ * Format: uuid
6514
+ * @description ID of the booking.
6515
+ */
6516
+ id: string;
6517
+ };
6518
+ /**
6519
+ * Format: date-time
6520
+ * @description ISO timestamp of when the user checked in.
6521
+ */
6522
+ checkInDate?: string;
6523
+ /**
6524
+ * Format: uuid
6525
+ * @description ID of the schedule this check-in was opened under. Absent on check-ins created before schedules were introduced.
6526
+ */
6527
+ checkInScheduleRef?: string;
6528
+ /**
6529
+ * Format: date-time
6530
+ * @description ISO timestamp of when the user checked out.
6531
+ */
6532
+ checkOutDate?: string;
6533
+ /** @description Confirmation code of the check-in. */
6534
+ code?: string;
6535
+ /**
6536
+ * Format: date-time
6537
+ * @description ISO timestamp of when the check-in was created.
6538
+ */
6539
+ createDate: string;
6540
+ /**
6541
+ * Format: date-time
6542
+ * @description ISO timestamp of when the check-in expires. Absent when it was opened under a schedule without an end date, or with a personal code.
6543
+ */
6544
+ endDate?: string;
6545
+ /** @description Event ticket this check-in was created for, if any. */
6546
+ eventTicket?: {
6547
+ /**
6548
+ * Format: uuid
6549
+ * @description ID of the event.
6550
+ */
6551
+ eventRef: string;
6552
+ /**
6553
+ * Format: uuid
6554
+ * @description ID of the event ticket.
6555
+ */
6556
+ id: string;
6557
+ };
6558
+ /**
6559
+ * Format: uuid
6560
+ * @description Unique identifier of the check-in.
6561
+ */
6562
+ id: string;
6563
+ /**
6564
+ * Format: uuid
6565
+ * @description ID of the network this check-in belongs to.
6566
+ */
6567
+ networkRef: string;
6568
+ /**
6569
+ * Format: uuid
6570
+ * @description ID of the location this check-in belongs to.
6571
+ */
6572
+ locationRef: string;
6573
+ /**
6574
+ * @description Status of the check-in.
6575
+ * @enum {string}
6576
+ */
6577
+ status: "checkedIn" | "checkedOut" | "scheduled" | "expired";
6578
+ /**
6579
+ * Format: date-time
6580
+ * @description ISO timestamp of when the check-in starts.
6581
+ */
6582
+ startDate: string;
6583
+ /**
6584
+ * @description What the check-in was created for.
6585
+ * @enum {string}
6586
+ */
6587
+ type: "deskBooking" | "roomBooking" | "eventTicket" | "visit" | "subscription";
6588
+ /** @description The user this check-in is for, read from the users service so the details are current. */
6589
+ user?: {
6590
+ /** @description Email address of the user. */
6591
+ email?: string | null;
6592
+ /**
6593
+ * Format: uuid
6594
+ * @description Unique identifier of the user.
6595
+ */
6596
+ id: string;
6597
+ /** @description First name of the user. */
6598
+ name?: string | null;
6599
+ /** @description Phone number of the user. */
6600
+ phoneNumber?: string | null;
6601
+ /** @description User profile photo URL. */
6602
+ photoUrl?: string | null;
6603
+ /** @description Surname of the user. */
6604
+ surname?: string | null;
6605
+ };
6606
+ /** @description Visit this check-in was created for, if any. */
6607
+ visit?: {
6608
+ /**
6609
+ * Format: uuid
6610
+ * @description ID of the visit.
6611
+ */
6612
+ id: string;
6613
+ /** @description The host the visit is with, read from the users service so the details are current. */
6614
+ userHost?: {
6615
+ /**
6616
+ * Format: uuid
6617
+ * @description Unique identifier of the host.
6618
+ */
6619
+ id: string;
6620
+ /** @description First name of the host. */
6621
+ name?: string | null;
6622
+ /** @description Surname of the host. */
6623
+ surname?: string | null;
6624
+ };
6625
+ };
6626
+ };
6627
+ };
6142
6628
  /**
6143
6629
  * Format: date-time
6144
6630
  * @description The date and time in ISO 8601 format, e.g. 2021-05-21T10:00:00Z
@@ -6169,6 +6655,13 @@ interface components {
6169
6655
  legalName?: string;
6170
6656
  /** Format: uuid */
6171
6657
  locationRef?: string;
6658
+ /** @description Logo of the company. Left out when the company has none. */
6659
+ logo?: {
6660
+ /** @description Storage key of the logo file. */
6661
+ key?: string;
6662
+ /** @description Public URL of the logo file. */
6663
+ url?: string;
6664
+ };
6172
6665
  metadata?: components["schemas"]["metadata"];
6173
6666
  notes?: string;
6174
6667
  /** Format: uuid */
@@ -6176,6 +6669,49 @@ interface components {
6176
6669
  taxId?: string;
6177
6670
  title?: string;
6178
6671
  };
6672
+ createCompanyMedia: {
6673
+ /** @description The created media upload. */
6674
+ media: {
6675
+ /** @description Storage key of the logo file. Pass it as logo.key when creating or updating a company. */
6676
+ key: string;
6677
+ /**
6678
+ * @description MIME type of the image file.
6679
+ * @enum {string}
6680
+ */
6681
+ mimeType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
6682
+ /** @description Size of the image file in bytes. */
6683
+ size: number;
6684
+ /**
6685
+ * @description Upload status. pending: the file has not been received yet. uploaded: the file is stored and can be attached to a company. attached: a company references the file.
6686
+ * @enum {string}
6687
+ */
6688
+ status: "pending" | "uploaded" | "attached";
6689
+ /** @description How to upload the file. Send the raw bytes as the request body, not a multipart form. */
6690
+ upload: {
6691
+ /**
6692
+ * Format: date-time
6693
+ * @description ISO timestamp after which the upload URL is rejected.
6694
+ */
6695
+ expirationDate: string;
6696
+ /** @description Headers the PUT request must send exactly as given; the signature covers them. */
6697
+ headers: {
6698
+ /** @description Must equal the size declared when the upload was created. */
6699
+ "Content-Length": string;
6700
+ /** @description Must equal the mimeType declared when the upload was created. */
6701
+ "Content-Type": string;
6702
+ };
6703
+ /**
6704
+ * @description HTTP method of the upload request.
6705
+ * @enum {string}
6706
+ */
6707
+ method: "PUT";
6708
+ /** @description Presigned URL to send the raw file bytes to. */
6709
+ url: string;
6710
+ };
6711
+ /** @description Public URL of the logo file once it is uploaded, the same URL the company returns as logo.url. */
6712
+ url: string;
6713
+ };
6714
+ };
6179
6715
  user: {
6180
6716
  about?: string;
6181
6717
  email?: string;
@@ -6740,6 +7276,49 @@ interface components {
6740
7276
  updateDate: string;
6741
7277
  };
6742
7278
  };
7279
+ createTemplateMedia: {
7280
+ /** @description The created media upload. */
7281
+ media: {
7282
+ /** @description Storage key of the template file. Pass it as template.file.key when creating or updating a template. */
7283
+ key: string;
7284
+ /**
7285
+ * @description MIME type of the template file.
7286
+ * @enum {string}
7287
+ */
7288
+ mimeType: "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
7289
+ /** @description Size of the template file in bytes. */
7290
+ size: number;
7291
+ /**
7292
+ * @description Upload status. pending: the file has not been received yet. uploaded: the file is stored and can be attached. attached: the file is in use.
7293
+ * @enum {string}
7294
+ */
7295
+ status: "pending" | "uploaded" | "attached";
7296
+ /** @description How to upload the file. Send the raw bytes as the request body, not a multipart form. */
7297
+ upload: {
7298
+ /**
7299
+ * Format: date-time
7300
+ * @description ISO timestamp after which the upload URL is rejected.
7301
+ */
7302
+ expirationDate: string;
7303
+ /** @description Headers the PUT request must send exactly as given; the signature covers them. */
7304
+ headers: {
7305
+ /** @description Must equal the size declared when the upload was created. */
7306
+ "Content-Length": string;
7307
+ /** @description Must equal the mimeType declared when the upload was created. */
7308
+ "Content-Type": string;
7309
+ };
7310
+ /**
7311
+ * @description HTTP method of the upload request.
7312
+ * @enum {string}
7313
+ */
7314
+ method: "PUT";
7315
+ /** @description Presigned URL to send the raw file bytes to. */
7316
+ url: string;
7317
+ };
7318
+ /** @description Public URL of the template file once it is uploaded. */
7319
+ url: string;
7320
+ };
7321
+ };
6743
7322
  coupon: {
6744
7323
  /** @description Fixed discount amount. */
6745
7324
  amountOff?: number | null;
@@ -7902,6 +8481,47 @@ interface components {
7902
8481
  */
7903
8482
  postRef: string;
7904
8483
  };
8484
+ createFeedPostMedia: {
8485
+ /** @description The created media upload. */
8486
+ media: {
8487
+ /** @description Storage key of the media file. Pass it in media[].key when creating or updating a post. */
8488
+ key: string;
8489
+ /**
8490
+ * @description MIME type of the media file.
8491
+ * @enum {string}
8492
+ */
8493
+ mimeType: "image/gif" | "image/jpeg" | "image/png" | "image/webp" | "video/mp4" | "video/quicktime" | "video/webm";
8494
+ /** @description Size of the media file in bytes. */
8495
+ size: number;
8496
+ /**
8497
+ * @description Upload status. pending: the file has not been received yet. uploaded: the file is stored and can be attached to a post. attached: a post references the file.
8498
+ * @enum {string}
8499
+ */
8500
+ status: "pending" | "uploaded" | "attached";
8501
+ /** @description How to upload the file. Send the raw bytes as the request body, not a multipart form. */
8502
+ upload: {
8503
+ /**
8504
+ * Format: date-time
8505
+ * @description ISO timestamp after which the upload URL is rejected.
8506
+ */
8507
+ expirationDate: string;
8508
+ /** @description Headers the PUT request must send exactly as given; the signature covers them. */
8509
+ headers: {
8510
+ /** @description Must equal the size declared when the upload was created. */
8511
+ "Content-Length": string;
8512
+ /** @description Must equal the mimeType declared when the upload was created. */
8513
+ "Content-Type": string;
8514
+ };
8515
+ /**
8516
+ * @description HTTP method of the upload request.
8517
+ * @enum {string}
8518
+ */
8519
+ method: "PUT";
8520
+ /** @description Presigned URL to send the raw file bytes to. */
8521
+ url: string;
8522
+ };
8523
+ };
8524
+ };
7905
8525
  floor: {
7906
8526
  /**
7907
8527
  * Format: date-time
@@ -8106,6 +8726,93 @@ interface components {
8106
8726
  visibility: "public" | "admins" | "members" | "networkMembers";
8107
8727
  };
8108
8728
  };
8729
+ createGuideAttachment: {
8730
+ /** @description The created attachment upload. */
8731
+ attachment: {
8732
+ /** @description Storage key of the file. Pass it in attachments[].key when creating or updating a guide. */
8733
+ key: string;
8734
+ /** @description MIME type of the file. */
8735
+ mimeType: string;
8736
+ /** @description File name shown with the guide. */
8737
+ name: string;
8738
+ /** @description Size of the file in bytes. */
8739
+ size: number;
8740
+ /**
8741
+ * @description Upload status. pending: the file has not been received yet; attach it once the PUT request succeeds.
8742
+ * @enum {string}
8743
+ */
8744
+ status: "pending";
8745
+ /** @description How to upload the file. Send the raw bytes as the request body, not a multipart form. */
8746
+ upload: {
8747
+ /**
8748
+ * Format: date-time
8749
+ * @description ISO timestamp after which the upload URL is rejected.
8750
+ */
8751
+ expirationDate: string;
8752
+ /** @description Headers the PUT request must send exactly as given; the signature covers them. */
8753
+ headers: {
8754
+ /** @description Makes browsers download the file rather than open it. */
8755
+ "Content-Disposition": string;
8756
+ /** @description Must equal the size declared when the upload was created. */
8757
+ "Content-Length": string;
8758
+ /** @description Must equal the mimeType declared when the upload was created. */
8759
+ "Content-Type": string;
8760
+ };
8761
+ /**
8762
+ * @description HTTP method of the upload request.
8763
+ * @enum {string}
8764
+ */
8765
+ method: "PUT";
8766
+ /** @description Presigned URL to send the raw file bytes to. */
8767
+ url: string;
8768
+ };
8769
+ /** @description Public URL the file is served from once uploaded. */
8770
+ url: string;
8771
+ };
8772
+ };
8773
+ createGuideMedia: {
8774
+ /** @description The created media upload. */
8775
+ media: {
8776
+ /** @description Storage key of the media file. */
8777
+ key: string;
8778
+ /**
8779
+ * @description MIME type of the media file.
8780
+ * @enum {string}
8781
+ */
8782
+ mimeType: "image/gif" | "image/jpeg" | "image/png" | "image/webp" | "video/mp4" | "video/quicktime" | "video/webm";
8783
+ /** @description Size of the media file in bytes. */
8784
+ size: number;
8785
+ /**
8786
+ * @description Upload status. pending: the file has not been received yet. uploaded: the file is stored and can be attached to a guide. attached: a guide references the file.
8787
+ * @enum {string}
8788
+ */
8789
+ status: "pending" | "uploaded" | "attached";
8790
+ /** @description How to upload the file. Send the raw bytes as the request body, not a multipart form. */
8791
+ upload: {
8792
+ /**
8793
+ * Format: date-time
8794
+ * @description ISO timestamp after which the upload URL is rejected.
8795
+ */
8796
+ expirationDate: string;
8797
+ /** @description Headers the PUT request must send exactly as given; the signature covers them. */
8798
+ headers: {
8799
+ /** @description Must equal the size declared when the upload was created. */
8800
+ "Content-Length": string;
8801
+ /** @description Must equal the mimeType declared when the upload was created. */
8802
+ "Content-Type": string;
8803
+ };
8804
+ /**
8805
+ * @description HTTP method of the upload request.
8806
+ * @enum {string}
8807
+ */
8808
+ method: "PUT";
8809
+ /** @description Presigned URL to send the raw file bytes to. */
8810
+ url: string;
8811
+ };
8812
+ /** @description Public URL of the media file. Add it to the guide description as a Markdown image, ![alt text](url), when creating or updating a guide to attach the file. */
8813
+ url: string;
8814
+ };
8815
+ };
8109
8816
  /** @description Timezone identifier for the location (e.g. 'Europe/Kyiv') */
8110
8817
  timezoneId: string;
8111
8818
  location: {
@@ -10461,6 +11168,47 @@ interface components {
10461
11168
  };
10462
11169
  };
10463
11170
  };
11171
+ createResourceMedia: {
11172
+ /** @description The created media upload. */
11173
+ media: {
11174
+ /** @description Storage key of the media file. Add it to media when creating or updating a resource. */
11175
+ key: string;
11176
+ /**
11177
+ * @description MIME type of the image file.
11178
+ * @enum {string}
11179
+ */
11180
+ mimeType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
11181
+ /** @description Size of the image file in bytes. */
11182
+ size: number;
11183
+ /**
11184
+ * @description Upload status. pending: the file has not been received yet. uploaded: the file is stored and can be attached to a resource. attached: a resource references the file.
11185
+ * @enum {string}
11186
+ */
11187
+ status: "pending" | "uploaded" | "attached";
11188
+ /** @description How to upload the file. Send the raw bytes as the request body, not a multipart form. */
11189
+ upload: {
11190
+ /**
11191
+ * Format: date-time
11192
+ * @description ISO timestamp after which the upload URL is rejected.
11193
+ */
11194
+ expirationDate: string;
11195
+ /** @description Headers the PUT request must send exactly as given; the signature covers them. */
11196
+ headers: {
11197
+ /** @description Must equal the size declared when the upload was created. */
11198
+ "Content-Length": string;
11199
+ /** @description Must equal the mimeType declared when the upload was created. */
11200
+ "Content-Type": string;
11201
+ };
11202
+ /**
11203
+ * @description HTTP method of the upload request.
11204
+ * @enum {string}
11205
+ */
11206
+ method: "PUT";
11207
+ /** @description Presigned URL to send the raw file bytes to. */
11208
+ url: string;
11209
+ };
11210
+ };
11211
+ };
10464
11212
  getResourceAvailability: {
10465
11213
  /** @description Whether the resource can be booked for the requested slot. */
10466
11214
  available: boolean;
@@ -13067,6 +13815,47 @@ interface components {
13067
13815
  visibility: "public" | "admins" | "members" | "networkMembers";
13068
13816
  };
13069
13817
  };
13818
+ createProductMedia: {
13819
+ /** @description The created media upload. */
13820
+ media: {
13821
+ /** @description Storage key of the media file. Pass it as media[0].key when creating or updating a product. */
13822
+ key: string;
13823
+ /**
13824
+ * @description MIME type of the image file.
13825
+ * @enum {string}
13826
+ */
13827
+ mimeType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
13828
+ /** @description Size of the image file in bytes. */
13829
+ size: number;
13830
+ /**
13831
+ * @description Upload status. pending: the file has not been received yet. uploaded: the file is stored and can be attached to a product. attached: a product references the file.
13832
+ * @enum {string}
13833
+ */
13834
+ status: "pending" | "uploaded" | "attached";
13835
+ /** @description How to upload the file. Send the raw bytes as the request body, not a multipart form. */
13836
+ upload: {
13837
+ /**
13838
+ * Format: date-time
13839
+ * @description ISO timestamp after which the upload URL is rejected.
13840
+ */
13841
+ expirationDate: string;
13842
+ /** @description Headers the PUT request must send exactly as given; the signature covers them. */
13843
+ headers: {
13844
+ /** @description Must equal the size declared when the upload was created. */
13845
+ "Content-Length": string;
13846
+ /** @description Must equal the mimeType declared when the upload was created. */
13847
+ "Content-Type": string;
13848
+ };
13849
+ /**
13850
+ * @description HTTP method of the upload request.
13851
+ * @enum {string}
13852
+ */
13853
+ method: "PUT";
13854
+ /** @description Presigned URL to send the raw file bytes to. */
13855
+ url: string;
13856
+ };
13857
+ };
13858
+ };
13070
13859
  getOrders: {
13071
13860
  /** @description Pagination token to fetch the next page of results. */
13072
13861
  nextPageToken?: string;
@@ -16290,6 +17079,48 @@ interface components {
16290
17079
  */
16291
17080
  updateDate?: string;
16292
17081
  };
17082
+ createSupportTicketMedia: {
17083
+ /** @description The created media upload. */
17084
+ media: {
17085
+ /** @description Storage key of the file. Pass it as activity.attachments[0].key when creating a ticket comment. */
17086
+ key: string;
17087
+ /** @description MIME type of the file. */
17088
+ mimeType: string;
17089
+ /** @description File name shown with the comment. */
17090
+ name: string;
17091
+ /** @description Size of the file in bytes. */
17092
+ size: number;
17093
+ /**
17094
+ * @description Upload status. pending: the file has not been received yet; attach it once the PUT request succeeds.
17095
+ * @enum {string}
17096
+ */
17097
+ status: "pending";
17098
+ /** @description How to upload the file. Send the raw bytes as the request body, not a multipart form. */
17099
+ upload: {
17100
+ /**
17101
+ * Format: date-time
17102
+ * @description ISO timestamp after which the upload URL is rejected.
17103
+ */
17104
+ expirationDate: string;
17105
+ /** @description Headers the PUT request must send exactly as given; the signature covers them. */
17106
+ headers: {
17107
+ /** @description Must equal the size declared when the upload was created. */
17108
+ "Content-Length": string;
17109
+ /** @description Must equal the mimeType declared when the upload was created. */
17110
+ "Content-Type": string;
17111
+ };
17112
+ /**
17113
+ * @description HTTP method of the upload request.
17114
+ * @enum {string}
17115
+ */
17116
+ method: "PUT";
17117
+ /** @description Presigned URL to send the raw file bytes to. */
17118
+ url: string;
17119
+ };
17120
+ /** @description Public URL the file is served from once uploaded. */
17121
+ url: string;
17122
+ };
17123
+ };
16293
17124
  getScheduledCreditsTransactions: {
16294
17125
  /** @description Pagination token to fetch the next page of results. Returned when more results exist. */
16295
17126
  nextPageToken?: string;
@@ -21916,6 +22747,47 @@ interface components {
21916
22747
  };
21917
22748
  };
21918
22749
  };
22750
+ checkIn: {
22751
+ content: {
22752
+ "application/json": {
22753
+ /**
22754
+ * Format: uuid
22755
+ * @description The ID of the check-in.
22756
+ */
22757
+ checkInId?: string;
22758
+ /** @description Confirmation code of the check-in, or a member's personal code. Required when the check-in was created with one. */
22759
+ code?: string;
22760
+ /**
22761
+ * Format: uuid
22762
+ * @description UUID of the location the code was issued in. Required when the check-in is resolved by its code or a customer ref.
22763
+ */
22764
+ locationRef?: string;
22765
+ /**
22766
+ * Format: uuid
22767
+ * @description ID of a member to check in on their subscription without a code. Only administrators of the location can check a member in this way.
22768
+ */
22769
+ customerRef?: string;
22770
+ };
22771
+ };
22772
+ };
22773
+ checkOut: {
22774
+ content: {
22775
+ "application/json": {
22776
+ /**
22777
+ * Format: uuid
22778
+ * @description The ID of the check-in.
22779
+ */
22780
+ checkInId?: string;
22781
+ /** @description Confirmation code of the check-in, or a member's personal code. Required when the check-in was created with one. */
22782
+ code?: string;
22783
+ /**
22784
+ * Format: uuid
22785
+ * @description UUID of the location the code was issued in. Required when the check-in is resolved by its code or a customer ref.
22786
+ */
22787
+ locationRef?: string;
22788
+ };
22789
+ };
22790
+ };
21919
22791
  createCompany: {
21920
22792
  content: {
21921
22793
  "application/json": {
@@ -21943,6 +22815,11 @@ interface components {
21943
22815
  * @description The location id where to create a company.
21944
22816
  */
21945
22817
  locationRef: string;
22818
+ /** @description Logo of the company. Upload the file with Create a logo upload first. */
22819
+ logo?: {
22820
+ /** @description Storage key of the logo file, as returned by the media upload endpoint. */
22821
+ key: string;
22822
+ };
21946
22823
  metadata?: components["schemas"]["metadata"];
21947
22824
  /** @description The notes of company to create. */
21948
22825
  notes?: string;
@@ -21954,6 +22831,22 @@ interface components {
21954
22831
  };
21955
22832
  };
21956
22833
  };
22834
+ createCompanyMedia: {
22835
+ content: {
22836
+ "application/json": {
22837
+ /** @description File to upload. */
22838
+ media: {
22839
+ /**
22840
+ * @description MIME type of the file to upload.
22841
+ * @enum {string}
22842
+ */
22843
+ mimeType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
22844
+ /** @description Size of the file in bytes. The upload is rejected when the body length differs. */
22845
+ size: number;
22846
+ };
22847
+ };
22848
+ };
22849
+ };
21957
22850
  createMembership: {
21958
22851
  content: {
21959
22852
  "application/json": {
@@ -22238,7 +23131,7 @@ interface components {
22238
23131
  template: {
22239
23132
  /** @description Template file reference. */
22240
23133
  file: {
22241
- /** @description Storage key of the template file. */
23134
+ /** @description Storage key of the uploaded .docx template file, as returned by the media upload endpoint. */
22242
23135
  key: string;
22243
23136
  };
22244
23137
  /**
@@ -22252,6 +23145,22 @@ interface components {
22252
23145
  };
22253
23146
  };
22254
23147
  };
23148
+ createTemplateMedia: {
23149
+ content: {
23150
+ "application/json": {
23151
+ /** @description File to upload. */
23152
+ media: {
23153
+ /**
23154
+ * @description MIME type of the file to upload, application/vnd.openxmlformats-officedocument.wordprocessingml.document.
23155
+ * @enum {string}
23156
+ */
23157
+ mimeType: "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
23158
+ /** @description Size of the file in bytes. The upload is rejected when the body length differs. */
23159
+ size: number;
23160
+ };
23161
+ };
23162
+ };
23163
+ };
22255
23164
  updateTemplate: {
22256
23165
  content: {
22257
23166
  "application/json": {
@@ -22259,7 +23168,7 @@ interface components {
22259
23168
  template: {
22260
23169
  /** @description Template file reference. */
22261
23170
  file?: {
22262
- /** @description Storage key of the template file. */
23171
+ /** @description Storage key of the uploaded .docx template file, as returned by the media upload endpoint. */
22263
23172
  key: string;
22264
23173
  };
22265
23174
  /** @description Template title. */
@@ -22594,7 +23503,7 @@ interface components {
22594
23503
  locationRef: string;
22595
23504
  /** @description Media files to attach to the post. */
22596
23505
  media?: {
22597
- /** @description Storage key of the media file. */
23506
+ /** @description Storage key of the media file, as returned by the media upload endpoint. */
22598
23507
  key: string;
22599
23508
  }[];
22600
23509
  /** @description Open Graph metadata for link previews. */
@@ -22628,7 +23537,7 @@ interface components {
22628
23537
  post: {
22629
23538
  /** @description Media files to attach to the post. */
22630
23539
  media?: {
22631
- /** @description Storage key of the media file. */
23540
+ /** @description Storage key of the media file, as returned by the media upload endpoint. */
22632
23541
  key: string;
22633
23542
  }[];
22634
23543
  /** @description Open Graph metadata for link previews. */
@@ -22681,12 +23590,32 @@ interface components {
22681
23590
  };
22682
23591
  };
22683
23592
  };
23593
+ createFeedPostMedia: {
23594
+ content: {
23595
+ "application/json": {
23596
+ /** @description File to upload. */
23597
+ media: {
23598
+ /** @description Height of a video in pixels, required for a video, which apps use to lay it out before it loads. An image's dimensions are read from the uploaded file, so this is ignored for an image. */
23599
+ height?: number;
23600
+ /**
23601
+ * @description MIME type of the file to upload.
23602
+ * @enum {string}
23603
+ */
23604
+ mimeType: "image/gif" | "image/jpeg" | "image/png" | "image/webp" | "video/mp4" | "video/quicktime" | "video/webm";
23605
+ /** @description Size of the file in bytes, at most 5242880 for an image and 52428800 for a video. The upload is rejected when the body length differs. */
23606
+ size: number;
23607
+ /** @description Width of a video in pixels, required for a video, which apps use to lay it out before it loads. An image's dimensions are read from the uploaded file, so this is ignored for an image. */
23608
+ width?: number;
23609
+ };
23610
+ };
23611
+ };
23612
+ };
22684
23613
  createGuide: {
22685
23614
  content: {
22686
23615
  "application/json": {
22687
23616
  /** @description Guide to create. */
22688
23617
  guide: {
22689
- /** @description Markdown content of the guide. */
23618
+ /** @description Markdown content of the guide. To show an image or a video, upload it with the media upload endpoint and add its url as a Markdown image, ![alt text](url). */
22690
23619
  description?: string;
22691
23620
  /**
22692
23621
  * Format: uuid
@@ -22700,7 +23629,7 @@ interface components {
22700
23629
  * @enum {string}
22701
23630
  */
22702
23631
  visibility: "public" | "admins" | "members" | "networkMembers";
22703
- /** @description Storage keys of uploaded files to attach to the guide. */
23632
+ /** @description Keys of attachment uploads whose files have been uploaded. A key the guide cannot attach, such as an unknown, expired or already attached one, fails the request. */
22704
23633
  attachments?: {
22705
23634
  key: string;
22706
23635
  }[];
@@ -22713,7 +23642,7 @@ interface components {
22713
23642
  "application/json": {
22714
23643
  /** @description Guide fields to update. */
22715
23644
  guide: {
22716
- /** @description Markdown content of the guide. */
23645
+ /** @description Markdown content of the guide. To show an image or a video, upload it with the media upload endpoint and add its url as a Markdown image, ![alt text](url). */
22717
23646
  description?: string;
22718
23647
  /** @description Display name of the guide. */
22719
23648
  title?: string;
@@ -22722,7 +23651,7 @@ interface components {
22722
23651
  * @enum {string}
22723
23652
  */
22724
23653
  visibility?: "public" | "admins" | "members" | "networkMembers";
22725
- /** @description Storage keys of uploaded files to attach to the guide. */
23654
+ /** @description Keys of attachment uploads whose files have been uploaded. A key the guide cannot attach, such as an unknown, expired or already attached one, fails the request. */
22726
23655
  attachments?: {
22727
23656
  key: string;
22728
23657
  }[];
@@ -22730,6 +23659,41 @@ interface components {
22730
23659
  };
22731
23660
  };
22732
23661
  };
23662
+ createGuideAttachment: {
23663
+ content: {
23664
+ "application/json": {
23665
+ /** @description File to upload. */
23666
+ attachment: {
23667
+ /** @description MIME type of the file to upload. */
23668
+ mimeType: string;
23669
+ /** @description File name shown with the guide and used when the file is downloaded. Defaults to the storage key. */
23670
+ name?: string;
23671
+ /** @description Size of the file in bytes. The upload is rejected when the body length differs. */
23672
+ size: number;
23673
+ };
23674
+ };
23675
+ };
23676
+ };
23677
+ createGuideMedia: {
23678
+ content: {
23679
+ "application/json": {
23680
+ /** @description File to upload. */
23681
+ media: {
23682
+ /** @description Height of a video in pixels, required for a video, which apps use to lay it out before it loads. An image's dimensions are read from the uploaded file, so this is ignored for an image. */
23683
+ height?: number;
23684
+ /**
23685
+ * @description MIME type of the file to upload.
23686
+ * @enum {string}
23687
+ */
23688
+ mimeType: "image/gif" | "image/jpeg" | "image/png" | "image/webp" | "video/mp4" | "video/quicktime" | "video/webm";
23689
+ /** @description Size of the file in bytes, at most 5242880 for an image and 52428800 for a video. The upload is rejected when the body length differs. */
23690
+ size: number;
23691
+ /** @description Width of a video in pixels, required for a video, which apps use to lay it out before it loads. An image's dimensions are read from the uploaded file, so this is ignored for an image. */
23692
+ width?: number;
23693
+ };
23694
+ };
23695
+ };
23696
+ };
22733
23697
  createPackage: {
22734
23698
  content: {
22735
23699
  "application/json": {
@@ -23243,7 +24207,7 @@ interface components {
23243
24207
  locationRef: string;
23244
24208
  /** @description Images of the resource in display order, the first one being its cover. On update the list replaces the current images, and an empty list removes them all. */
23245
24209
  media?: {
23246
- /** @description Storage key of the uploaded image. */
24210
+ /** @description Storage key of the uploaded image, as returned by the media upload endpoint. */
23247
24211
  key: string;
23248
24212
  }[];
23249
24213
  /** @description Money pricing settings. */
@@ -23539,6 +24503,22 @@ interface components {
23539
24503
  };
23540
24504
  };
23541
24505
  };
24506
+ createResourceMedia: {
24507
+ content: {
24508
+ "application/json": {
24509
+ /** @description File to upload. */
24510
+ media: {
24511
+ /**
24512
+ * @description MIME type of the file to upload.
24513
+ * @enum {string}
24514
+ */
24515
+ mimeType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
24516
+ /** @description Size of the file in bytes. The upload is rejected when the body length differs. */
24517
+ size: number;
24518
+ };
24519
+ };
24520
+ };
24521
+ };
23542
24522
  patchResource: {
23543
24523
  content: {
23544
24524
  "application/json": {
@@ -23654,7 +24634,7 @@ interface components {
23654
24634
  kisiGroupRef?: number | null;
23655
24635
  /** @description Images of the resource in display order, the first one being its cover. On update the list replaces the current images, and an empty list removes them all. */
23656
24636
  media?: {
23657
- /** @description Storage key of the uploaded image. */
24637
+ /** @description Storage key of the uploaded image, as returned by the media upload endpoint. */
23658
24638
  key: string;
23659
24639
  }[];
23660
24640
  /** @description Money pricing settings. */
@@ -24117,7 +25097,7 @@ interface components {
24117
25097
  locationRef: string;
24118
25098
  /** @description Media files of the product. */
24119
25099
  media?: {
24120
- /** @description Storage key of the media file. */
25100
+ /** @description Storage key of the media file, as returned by the media upload endpoint. */
24121
25101
  key: string;
24122
25102
  }[];
24123
25103
  /** @description Purchasable options for this product. */
@@ -24253,7 +25233,7 @@ interface components {
24253
25233
  featured?: boolean;
24254
25234
  /** @description Media files of the product. */
24255
25235
  media?: {
24256
- /** @description Storage key of the media file. */
25236
+ /** @description Storage key of the media file, as returned by the media upload endpoint. */
24257
25237
  key: string;
24258
25238
  }[];
24259
25239
  /** @description Purchasable options for this product. */
@@ -24370,6 +25350,22 @@ interface components {
24370
25350
  };
24371
25351
  };
24372
25352
  };
25353
+ createProductMedia: {
25354
+ content: {
25355
+ "application/json": {
25356
+ /** @description File to upload. */
25357
+ media: {
25358
+ /**
25359
+ * @description MIME type of the file to upload.
25360
+ * @enum {string}
25361
+ */
25362
+ mimeType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
25363
+ /** @description Size of the file in bytes. The upload is rejected when the body length differs. */
25364
+ size: number;
25365
+ };
25366
+ };
25367
+ };
25368
+ };
24373
25369
  assignSubscription: {
24374
25370
  content: {
24375
25371
  "application/json": {
@@ -25175,7 +26171,7 @@ interface components {
25175
26171
  activity: {
25176
26172
  /** @description Attachments to include with the comment. At most one is allowed. */
25177
26173
  attachments?: {
25178
- /** @description Storage key of the uploaded attachment. */
26174
+ /** @description Key of a media upload whose file has been uploaded. */
25179
26175
  key: string;
25180
26176
  }[];
25181
26177
  /** @description Comment text. Either text or attachments must be provided. */
@@ -25200,6 +26196,25 @@ interface components {
25200
26196
  };
25201
26197
  };
25202
26198
  };
26199
+ createSupportTicketMedia: {
26200
+ content: {
26201
+ "application/json": {
26202
+ /** @description File to upload. */
26203
+ media: {
26204
+ /** @description Height of a video in pixels, which apps use to lay it out before it loads. An image's dimensions are read from the uploaded file, so this is ignored for an image. */
26205
+ height?: number;
26206
+ /** @description MIME type of the file to upload. */
26207
+ mimeType: string;
26208
+ /** @description File name shown with the comment. Defaults to the storage key. */
26209
+ name?: string;
26210
+ /** @description Size of the file in bytes. The upload is rejected when the body length differs. */
26211
+ size: number;
26212
+ /** @description Width of a video in pixels, which apps use to lay it out before it loads. An image's dimensions are read from the uploaded file, so this is ignored for an image. */
26213
+ width?: number;
26214
+ };
26215
+ };
26216
+ };
26217
+ };
25203
26218
  createCreditsTransaction: {
25204
26219
  content: {
25205
26220
  "application/json": {
@@ -27166,6 +28181,226 @@ interface operations {
27166
28181
  };
27167
28182
  };
27168
28183
  };
28184
+ getCheckIns: {
28185
+ parameters: {
28186
+ query: {
28187
+ /** @description Filter check-ins whose arrival is on or after this date (ISO 8601). Use with checkInDate[lte] for a range. */
28188
+ "checkInDate[gte]"?: string;
28189
+ /** @description Filter check-ins whose arrival is on or before this date (ISO 8601). Use with checkInDate[gte] for a range. */
28190
+ "checkInDate[lte]"?: string;
28191
+ /** @description Maximum number of check-ins per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
28192
+ limit?: number;
28193
+ /** @description UUID of the location. */
28194
+ locationRef: string;
28195
+ /** @description Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
28196
+ nextPageToken?: string;
28197
+ /** @description Comma-separated list of check-in statuses to filter by, e.g. `scheduled,checkedIn`. Valid values: checkedIn, checkedOut, scheduled, expired. Defaults to all statuses. */
28198
+ status?: string;
28199
+ /** @description Comma-separated list of check-in types to filter by, e.g. `eventTicket,visit`. Valid values: deskBooking, roomBooking, eventTicket, visit, subscription. Defaults to all types. */
28200
+ type?: string;
28201
+ /** @description UUID of the user to filter check-ins by. Defaults to check-ins of every user. */
28202
+ userRef?: string;
28203
+ };
28204
+ header?: {
28205
+ /** @description The id of the network. Required when using bearer token authentication */
28206
+ "spacebring-network-id"?: string;
28207
+ };
28208
+ path?: never;
28209
+ cookie?: never;
28210
+ };
28211
+ requestBody?: never;
28212
+ responses: {
28213
+ /** @description OK */
28214
+ 200: {
28215
+ headers: {
28216
+ [name: string]: unknown;
28217
+ };
28218
+ content: {
28219
+ "application/json": components["schemas"]["getCheckIns"];
28220
+ };
28221
+ };
28222
+ /** @description Bad Request */
28223
+ 400: {
28224
+ headers: {
28225
+ [name: string]: unknown;
28226
+ };
28227
+ content: {
28228
+ "application/json": components["schemas"]["responseError"];
28229
+ };
28230
+ };
28231
+ /** @description Forbidden */
28232
+ 403: {
28233
+ headers: {
28234
+ [name: string]: unknown;
28235
+ };
28236
+ content: {
28237
+ "application/json": components["schemas"]["responseError"];
28238
+ };
28239
+ };
28240
+ /** @description Not Found */
28241
+ 404: {
28242
+ headers: {
28243
+ [name: string]: unknown;
28244
+ };
28245
+ content: {
28246
+ "application/json": components["schemas"]["responseError"];
28247
+ };
28248
+ };
28249
+ };
28250
+ };
28251
+ getCheckIn: {
28252
+ parameters: {
28253
+ query?: never;
28254
+ header?: {
28255
+ /** @description The id of the network. Required when using bearer token authentication */
28256
+ "spacebring-network-id"?: string;
28257
+ };
28258
+ path: {
28259
+ /** @description The ID of the check-in. */
28260
+ checkInId: string;
28261
+ };
28262
+ cookie?: never;
28263
+ };
28264
+ requestBody?: never;
28265
+ responses: {
28266
+ /** @description OK */
28267
+ 200: {
28268
+ headers: {
28269
+ [name: string]: unknown;
28270
+ };
28271
+ content: {
28272
+ "application/json": components["schemas"]["getCheckIn"];
28273
+ };
28274
+ };
28275
+ /** @description Bad Request */
28276
+ 400: {
28277
+ headers: {
28278
+ [name: string]: unknown;
28279
+ };
28280
+ content: {
28281
+ "application/json": components["schemas"]["responseError"];
28282
+ };
28283
+ };
28284
+ /** @description Forbidden */
28285
+ 403: {
28286
+ headers: {
28287
+ [name: string]: unknown;
28288
+ };
28289
+ content: {
28290
+ "application/json": components["schemas"]["responseError"];
28291
+ };
28292
+ };
28293
+ /** @description Not Found */
28294
+ 404: {
28295
+ headers: {
28296
+ [name: string]: unknown;
28297
+ };
28298
+ content: {
28299
+ "application/json": components["schemas"]["responseError"];
28300
+ };
28301
+ };
28302
+ };
28303
+ };
28304
+ checkIn: {
28305
+ parameters: {
28306
+ query?: never;
28307
+ header?: {
28308
+ /** @description The id of the network. Required when using bearer token authentication */
28309
+ "spacebring-network-id"?: string;
28310
+ };
28311
+ path?: never;
28312
+ cookie?: never;
28313
+ };
28314
+ requestBody: components["requestBodies"]["checkIn"];
28315
+ responses: {
28316
+ /** @description OK */
28317
+ 200: {
28318
+ headers: {
28319
+ [name: string]: unknown;
28320
+ };
28321
+ content: {
28322
+ "application/json": components["schemas"]["getCheckIn"];
28323
+ };
28324
+ };
28325
+ /** @description Bad Request */
28326
+ 400: {
28327
+ headers: {
28328
+ [name: string]: unknown;
28329
+ };
28330
+ content: {
28331
+ "application/json": components["schemas"]["responseError"];
28332
+ };
28333
+ };
28334
+ /** @description Forbidden */
28335
+ 403: {
28336
+ headers: {
28337
+ [name: string]: unknown;
28338
+ };
28339
+ content: {
28340
+ "application/json": components["schemas"]["responseError"];
28341
+ };
28342
+ };
28343
+ /** @description Not Found */
28344
+ 404: {
28345
+ headers: {
28346
+ [name: string]: unknown;
28347
+ };
28348
+ content: {
28349
+ "application/json": components["schemas"]["responseError"];
28350
+ };
28351
+ };
28352
+ };
28353
+ };
28354
+ checkOut: {
28355
+ parameters: {
28356
+ query?: never;
28357
+ header?: {
28358
+ /** @description The id of the network. Required when using bearer token authentication */
28359
+ "spacebring-network-id"?: string;
28360
+ };
28361
+ path?: never;
28362
+ cookie?: never;
28363
+ };
28364
+ requestBody: components["requestBodies"]["checkOut"];
28365
+ responses: {
28366
+ /** @description OK */
28367
+ 200: {
28368
+ headers: {
28369
+ [name: string]: unknown;
28370
+ };
28371
+ content: {
28372
+ "application/json": components["schemas"]["getCheckIn"];
28373
+ };
28374
+ };
28375
+ /** @description Bad Request */
28376
+ 400: {
28377
+ headers: {
28378
+ [name: string]: unknown;
28379
+ };
28380
+ content: {
28381
+ "application/json": components["schemas"]["responseError"];
28382
+ };
28383
+ };
28384
+ /** @description Forbidden */
28385
+ 403: {
28386
+ headers: {
28387
+ [name: string]: unknown;
28388
+ };
28389
+ content: {
28390
+ "application/json": components["schemas"]["responseError"];
28391
+ };
28392
+ };
28393
+ /** @description Not Found */
28394
+ 404: {
28395
+ headers: {
28396
+ [name: string]: unknown;
28397
+ };
28398
+ content: {
28399
+ "application/json": components["schemas"]["responseError"];
28400
+ };
28401
+ };
28402
+ };
28403
+ };
27169
28404
  getCompanies: {
27170
28405
  parameters: {
27171
28406
  query: {
@@ -27244,6 +28479,15 @@ interface operations {
27244
28479
  "application/json": components["schemas"]["responseError"];
27245
28480
  };
27246
28481
  };
28482
+ /** @description Conflict */
28483
+ 409: {
28484
+ headers: {
28485
+ [name: string]: unknown;
28486
+ };
28487
+ content: {
28488
+ "application/json": components["schemas"]["responseError"];
28489
+ };
28490
+ };
27247
28491
  };
27248
28492
  };
27249
28493
  getCompany: {
@@ -27310,6 +28554,11 @@ interface operations {
27310
28554
  state?: string;
27311
28555
  };
27312
28556
  legalName?: string;
28557
+ /** @description Logo of the company. Upload the file with Create a logo upload first. Set it to null to remove the logo; a key equal to the current logo keeps it. */
28558
+ logo?: {
28559
+ /** @description Storage key of the logo file, as returned by the media upload endpoint. */
28560
+ key: string;
28561
+ } | null;
27313
28562
  metadata?: components["schemas"]["metadata"];
27314
28563
  notes?: string;
27315
28564
  taxId?: string;
@@ -27339,6 +28588,47 @@ interface operations {
27339
28588
  "application/json": components["schemas"]["responseError"];
27340
28589
  };
27341
28590
  };
28591
+ /** @description Conflict */
28592
+ 409: {
28593
+ headers: {
28594
+ [name: string]: unknown;
28595
+ };
28596
+ content: {
28597
+ "application/json": components["schemas"]["responseError"];
28598
+ };
28599
+ };
28600
+ };
28601
+ };
28602
+ createCompanyMedia: {
28603
+ parameters: {
28604
+ query?: never;
28605
+ header?: {
28606
+ /** @description The id of the network. Required when using bearer token authentication */
28607
+ "spacebring-network-id"?: string;
28608
+ };
28609
+ path?: never;
28610
+ cookie?: never;
28611
+ };
28612
+ requestBody: components["requestBodies"]["createCompanyMedia"];
28613
+ responses: {
28614
+ /** @description Created */
28615
+ 201: {
28616
+ headers: {
28617
+ [name: string]: unknown;
28618
+ };
28619
+ content: {
28620
+ "application/json": components["schemas"]["createCompanyMedia"];
28621
+ };
28622
+ };
28623
+ /** @description Bad Request */
28624
+ 400: {
28625
+ headers: {
28626
+ [name: string]: unknown;
28627
+ };
28628
+ content: {
28629
+ "application/json": components["schemas"]["responseError"];
28630
+ };
28631
+ };
27342
28632
  };
27343
28633
  };
27344
28634
  getMemberships: {
@@ -28030,6 +29320,47 @@ interface operations {
28030
29320
  "application/json": components["schemas"]["responseError"];
28031
29321
  };
28032
29322
  };
29323
+ /** @description Conflict */
29324
+ 409: {
29325
+ headers: {
29326
+ [name: string]: unknown;
29327
+ };
29328
+ content: {
29329
+ "application/json": components["schemas"]["responseError"];
29330
+ };
29331
+ };
29332
+ };
29333
+ };
29334
+ createTemplateMedia: {
29335
+ parameters: {
29336
+ query?: never;
29337
+ header?: {
29338
+ /** @description The id of the network. Required when using bearer token authentication */
29339
+ "spacebring-network-id"?: string;
29340
+ };
29341
+ path?: never;
29342
+ cookie?: never;
29343
+ };
29344
+ requestBody: components["requestBodies"]["createTemplateMedia"];
29345
+ responses: {
29346
+ /** @description Created */
29347
+ 201: {
29348
+ headers: {
29349
+ [name: string]: unknown;
29350
+ };
29351
+ content: {
29352
+ "application/json": components["schemas"]["createTemplateMedia"];
29353
+ };
29354
+ };
29355
+ /** @description Bad Request */
29356
+ 400: {
29357
+ headers: {
29358
+ [name: string]: unknown;
29359
+ };
29360
+ content: {
29361
+ "application/json": components["schemas"]["responseError"];
29362
+ };
29363
+ };
28033
29364
  };
28034
29365
  };
28035
29366
  getTemplate: {
@@ -28131,6 +29462,15 @@ interface operations {
28131
29462
  "application/json": components["schemas"]["responseError"];
28132
29463
  };
28133
29464
  };
29465
+ /** @description Conflict */
29466
+ 409: {
29467
+ headers: {
29468
+ [name: string]: unknown;
29469
+ };
29470
+ content: {
29471
+ "application/json": components["schemas"]["responseError"];
29472
+ };
29473
+ };
28134
29474
  };
28135
29475
  };
28136
29476
  duplicateTemplate: {
@@ -29175,6 +30515,15 @@ interface operations {
29175
30515
  "application/json": components["schemas"]["responseError"];
29176
30516
  };
29177
30517
  };
30518
+ /** @description Conflict */
30519
+ 409: {
30520
+ headers: {
30521
+ [name: string]: unknown;
30522
+ };
30523
+ content: {
30524
+ "application/json": components["schemas"]["responseError"];
30525
+ };
30526
+ };
29178
30527
  };
29179
30528
  };
29180
30529
  getFeedPost: {
@@ -29249,6 +30598,15 @@ interface operations {
29249
30598
  "application/json": components["schemas"]["responseError"];
29250
30599
  };
29251
30600
  };
30601
+ /** @description Conflict */
30602
+ 409: {
30603
+ headers: {
30604
+ [name: string]: unknown;
30605
+ };
30606
+ content: {
30607
+ "application/json": components["schemas"]["responseError"];
30608
+ };
30609
+ };
29252
30610
  };
29253
30611
  };
29254
30612
  deleteFeedPost: {
@@ -29563,6 +30921,38 @@ interface operations {
29563
30921
  };
29564
30922
  };
29565
30923
  };
30924
+ createFeedPostMedia: {
30925
+ parameters: {
30926
+ query?: never;
30927
+ header?: {
30928
+ /** @description The id of the network. Required when using bearer token authentication */
30929
+ "spacebring-network-id"?: string;
30930
+ };
30931
+ path?: never;
30932
+ cookie?: never;
30933
+ };
30934
+ requestBody: components["requestBodies"]["createFeedPostMedia"];
30935
+ responses: {
30936
+ /** @description Created */
30937
+ 201: {
30938
+ headers: {
30939
+ [name: string]: unknown;
30940
+ };
30941
+ content: {
30942
+ "application/json": components["schemas"]["createFeedPostMedia"];
30943
+ };
30944
+ };
30945
+ /** @description Bad Request */
30946
+ 400: {
30947
+ headers: {
30948
+ [name: string]: unknown;
30949
+ };
30950
+ content: {
30951
+ "application/json": components["schemas"]["responseError"];
30952
+ };
30953
+ };
30954
+ };
30955
+ };
29566
30956
  getFloors: {
29567
30957
  parameters: {
29568
30958
  query: {
@@ -29721,6 +31111,15 @@ interface operations {
29721
31111
  "application/json": components["schemas"]["responseError"];
29722
31112
  };
29723
31113
  };
31114
+ /** @description Conflict */
31115
+ 409: {
31116
+ headers: {
31117
+ [name: string]: unknown;
31118
+ };
31119
+ content: {
31120
+ "application/json": components["schemas"]["responseError"];
31121
+ };
31122
+ };
29724
31123
  };
29725
31124
  };
29726
31125
  getGuide: {
@@ -29880,6 +31279,79 @@ interface operations {
29880
31279
  "application/json": components["schemas"]["responseError"];
29881
31280
  };
29882
31281
  };
31282
+ /** @description Conflict */
31283
+ 409: {
31284
+ headers: {
31285
+ [name: string]: unknown;
31286
+ };
31287
+ content: {
31288
+ "application/json": components["schemas"]["responseError"];
31289
+ };
31290
+ };
31291
+ };
31292
+ };
31293
+ createGuideAttachment: {
31294
+ parameters: {
31295
+ query?: never;
31296
+ header?: {
31297
+ /** @description The id of the network. Required when using bearer token authentication */
31298
+ "spacebring-network-id"?: string;
31299
+ };
31300
+ path?: never;
31301
+ cookie?: never;
31302
+ };
31303
+ requestBody: components["requestBodies"]["createGuideAttachment"];
31304
+ responses: {
31305
+ /** @description Created */
31306
+ 201: {
31307
+ headers: {
31308
+ [name: string]: unknown;
31309
+ };
31310
+ content: {
31311
+ "application/json": components["schemas"]["createGuideAttachment"];
31312
+ };
31313
+ };
31314
+ /** @description Bad Request */
31315
+ 400: {
31316
+ headers: {
31317
+ [name: string]: unknown;
31318
+ };
31319
+ content: {
31320
+ "application/json": components["schemas"]["responseError"];
31321
+ };
31322
+ };
31323
+ };
31324
+ };
31325
+ createGuideMedia: {
31326
+ parameters: {
31327
+ query?: never;
31328
+ header?: {
31329
+ /** @description The id of the network. Required when using bearer token authentication */
31330
+ "spacebring-network-id"?: string;
31331
+ };
31332
+ path?: never;
31333
+ cookie?: never;
31334
+ };
31335
+ requestBody: components["requestBodies"]["createGuideMedia"];
31336
+ responses: {
31337
+ /** @description Created */
31338
+ 201: {
31339
+ headers: {
31340
+ [name: string]: unknown;
31341
+ };
31342
+ content: {
31343
+ "application/json": components["schemas"]["createGuideMedia"];
31344
+ };
31345
+ };
31346
+ /** @description Bad Request */
31347
+ 400: {
31348
+ headers: {
31349
+ [name: string]: unknown;
31350
+ };
31351
+ content: {
31352
+ "application/json": components["schemas"]["responseError"];
31353
+ };
31354
+ };
29883
31355
  };
29884
31356
  };
29885
31357
  getLocations: {
@@ -30428,6 +31900,15 @@ interface operations {
30428
31900
  "application/json": components["schemas"]["responseError"];
30429
31901
  };
30430
31902
  };
31903
+ /** @description Conflict */
31904
+ 409: {
31905
+ headers: {
31906
+ [name: string]: unknown;
31907
+ };
31908
+ content: {
31909
+ "application/json": components["schemas"]["responseError"];
31910
+ };
31911
+ };
30431
31912
  };
30432
31913
  };
30433
31914
  getAssignments: {
@@ -30588,6 +32069,38 @@ interface operations {
30588
32069
  };
30589
32070
  };
30590
32071
  };
32072
+ createResourceMedia: {
32073
+ parameters: {
32074
+ query?: never;
32075
+ header?: {
32076
+ /** @description The id of the network. Required when using bearer token authentication */
32077
+ "spacebring-network-id"?: string;
32078
+ };
32079
+ path?: never;
32080
+ cookie?: never;
32081
+ };
32082
+ requestBody: components["requestBodies"]["createResourceMedia"];
32083
+ responses: {
32084
+ /** @description Created */
32085
+ 201: {
32086
+ headers: {
32087
+ [name: string]: unknown;
32088
+ };
32089
+ content: {
32090
+ "application/json": components["schemas"]["createResourceMedia"];
32091
+ };
32092
+ };
32093
+ /** @description Bad Request */
32094
+ 400: {
32095
+ headers: {
32096
+ [name: string]: unknown;
32097
+ };
32098
+ content: {
32099
+ "application/json": components["schemas"]["responseError"];
32100
+ };
32101
+ };
32102
+ };
32103
+ };
30591
32104
  getResource: {
30592
32105
  parameters: {
30593
32106
  query?: never;
@@ -30654,6 +32167,15 @@ interface operations {
30654
32167
  "application/json": components["schemas"]["responseError"];
30655
32168
  };
30656
32169
  };
32170
+ /** @description Conflict */
32171
+ 409: {
32172
+ headers: {
32173
+ [name: string]: unknown;
32174
+ };
32175
+ content: {
32176
+ "application/json": components["schemas"]["responseError"];
32177
+ };
32178
+ };
30657
32179
  };
30658
32180
  };
30659
32181
  getResourceAvailability: {
@@ -31155,6 +32677,15 @@ interface operations {
31155
32677
  "application/json": components["schemas"]["responseError"];
31156
32678
  };
31157
32679
  };
32680
+ /** @description Conflict */
32681
+ 409: {
32682
+ headers: {
32683
+ [name: string]: unknown;
32684
+ };
32685
+ content: {
32686
+ "application/json": components["schemas"]["responseError"];
32687
+ };
32688
+ };
31158
32689
  };
31159
32690
  };
31160
32691
  getProduct: {
@@ -31227,6 +32758,15 @@ interface operations {
31227
32758
  "application/json": components["schemas"]["responseError"];
31228
32759
  };
31229
32760
  };
32761
+ /** @description Conflict */
32762
+ 409: {
32763
+ headers: {
32764
+ [name: string]: unknown;
32765
+ };
32766
+ content: {
32767
+ "application/json": components["schemas"]["responseError"];
32768
+ };
32769
+ };
31230
32770
  };
31231
32771
  };
31232
32772
  deleteProduct: {
@@ -31259,6 +32799,38 @@ interface operations {
31259
32799
  };
31260
32800
  };
31261
32801
  };
32802
+ createProductMedia: {
32803
+ parameters: {
32804
+ query?: never;
32805
+ header?: {
32806
+ /** @description The id of the network. Required when using bearer token authentication */
32807
+ "spacebring-network-id"?: string;
32808
+ };
32809
+ path?: never;
32810
+ cookie?: never;
32811
+ };
32812
+ requestBody: components["requestBodies"]["createProductMedia"];
32813
+ responses: {
32814
+ /** @description Created */
32815
+ 201: {
32816
+ headers: {
32817
+ [name: string]: unknown;
32818
+ };
32819
+ content: {
32820
+ "application/json": components["schemas"]["createProductMedia"];
32821
+ };
32822
+ };
32823
+ /** @description Bad Request */
32824
+ 400: {
32825
+ headers: {
32826
+ [name: string]: unknown;
32827
+ };
32828
+ content: {
32829
+ "application/json": components["schemas"]["responseError"];
32830
+ };
32831
+ };
32832
+ };
32833
+ };
31262
32834
  getOrders: {
31263
32835
  parameters: {
31264
32836
  query?: {
@@ -31914,6 +33486,15 @@ interface operations {
31914
33486
  "application/json": components["schemas"]["responseError"];
31915
33487
  };
31916
33488
  };
33489
+ /** @description Conflict */
33490
+ 409: {
33491
+ headers: {
33492
+ [name: string]: unknown;
33493
+ };
33494
+ content: {
33495
+ "application/json": components["schemas"]["responseError"];
33496
+ };
33497
+ };
31917
33498
  };
31918
33499
  };
31919
33500
  deleteSupportTicketComment: {
@@ -31986,6 +33567,38 @@ interface operations {
31986
33567
  };
31987
33568
  };
31988
33569
  };
33570
+ createSupportTicketMedia: {
33571
+ parameters: {
33572
+ query?: never;
33573
+ header?: {
33574
+ /** @description The id of the network. Required when using bearer token authentication */
33575
+ "spacebring-network-id"?: string;
33576
+ };
33577
+ path?: never;
33578
+ cookie?: never;
33579
+ };
33580
+ requestBody: components["requestBodies"]["createSupportTicketMedia"];
33581
+ responses: {
33582
+ /** @description Created */
33583
+ 201: {
33584
+ headers: {
33585
+ [name: string]: unknown;
33586
+ };
33587
+ content: {
33588
+ "application/json": components["schemas"]["createSupportTicketMedia"];
33589
+ };
33590
+ };
33591
+ /** @description Bad Request */
33592
+ 400: {
33593
+ headers: {
33594
+ [name: string]: unknown;
33595
+ };
33596
+ content: {
33597
+ "application/json": components["schemas"]["responseError"];
33598
+ };
33599
+ };
33600
+ };
33601
+ };
31989
33602
  getScheduledCreditsTransactions: {
31990
33603
  parameters: {
31991
33604
  query?: {
@@ -33350,6 +34963,8 @@ type RefundMoneyTransactionBody = NonNullable<NonNullable<operations["refundMone
33350
34963
  type Activity = NonNullable<components["schemas"]["ticketActivity"]>;
33351
34964
  /** A SupportTicket entity as returned by the Spacebring API. */
33352
34965
  type SupportTicket = NonNullable<components["schemas"]["ticket"]>;
34966
+ /** A TicketMedia entity as returned by the Spacebring API. */
34967
+ type TicketMedia = NonNullable<operations["createSupportTicketMedia"]["responses"][201]["content"]["application/json"]["media"]>;
33353
34968
  /** Query parameters for `sb.support.tickets.list()`. */
33354
34969
  interface GetSupportTicketsQuery {
33355
34970
  /** The id of the location. */
@@ -33369,6 +34984,8 @@ interface GetSupportTicketsQuery {
33369
34984
  type CreateSupportTicketBody = NonNullable<NonNullable<operations["createSupportTicket"]["requestBody"]>["content"]["application/json"]["ticket"]>;
33370
34985
  /** Request body for `sb.support.tickets.comment.create()`. */
33371
34986
  type CreateSupportTicketCommentBody = NonNullable<NonNullable<operations["createSupportTicketComment"]["requestBody"]>["content"]["application/json"]["activity"]>;
34987
+ /** Request body for `sb.support.tickets.createMedia()`. */
34988
+ type CreateSupportTicketMediaBody = NonNullable<NonNullable<operations["createSupportTicketMedia"]["requestBody"]>["content"]["application/json"]["media"]>;
33372
34989
  /** Request body for `sb.support.tickets.updateAssignee()`. */
33373
34990
  type UpdateSupportTicketAssigneeBody = NonNullable<NonNullable<operations["updateSupportTicketAssignee"]["requestBody"]>["content"]["application/json"]["ticket"]>;
33374
34991
  /** Request body for `sb.support.tickets.comment.update()`. */
@@ -33421,6 +35038,8 @@ type UpdateSubscriptionItemBody = NonNullable<NonNullable<operations["updateSubs
33421
35038
  type Order = NonNullable<operations["getOrder"]["responses"][200]["content"]["application/json"]["order"]>;
33422
35039
  /** A Product entity as returned by the Spacebring API. */
33423
35040
  type Product = NonNullable<components["schemas"]["product"]>;
35041
+ /** A ProductMedia entity as returned by the Spacebring API. */
35042
+ type ProductMedia = NonNullable<operations["createProductMedia"]["responses"][201]["content"]["application/json"]["media"]>;
33424
35043
  /** A ShopCategory entity as returned by the Spacebring API. */
33425
35044
  type ShopCategory = NonNullable<components["schemas"]["shopCategory"]>;
33426
35045
  /** Query parameters for `sb.shop.orders.list()`. */
@@ -33472,6 +35091,8 @@ interface GetShopCategoriesQuery {
33472
35091
  }
33473
35092
  /** Request body for `sb.shop.products.create()`. */
33474
35093
  type CreateProductBody = NonNullable<NonNullable<operations["createProduct"]["requestBody"]>["content"]["application/json"]["product"]>;
35094
+ /** Request body for `sb.shop.products.createMedia()`. */
35095
+ type CreateProductMediaBody = NonNullable<NonNullable<operations["createProductMedia"]["requestBody"]>["content"]["application/json"]["media"]>;
33475
35096
  /** Request body for `sb.shop.categories.create()`. */
33476
35097
  type CreateShopCategoryBody = NonNullable<NonNullable<operations["createShopCategory"]["requestBody"]>["content"]["application/json"]["category"]>;
33477
35098
  /** Request body for `sb.shop.products.update()`. */
@@ -33487,6 +35108,8 @@ type Booking = NonNullable<operations["getBooking"]["responses"][200]["content"]
33487
35108
  type GetResourceAvailability = NonNullable<components["schemas"]["getResourceAvailability"]>;
33488
35109
  /** A Resource entity as returned by the Spacebring API. */
33489
35110
  type Resource = NonNullable<operations["getResource"]["responses"][200]["content"]["application/json"]["resource"]>;
35111
+ /** A ResourceMedia entity as returned by the Spacebring API. */
35112
+ type ResourceMedia = NonNullable<operations["createResourceMedia"]["responses"][201]["content"]["application/json"]["media"]>;
33490
35113
  /** Query parameters for `sb.resources.assignments.list()`. */
33491
35114
  interface GetAssignmentsQuery {
33492
35115
  /** Maximum number of assignments per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. Ignored when registrationRef is used. */
@@ -33568,6 +35191,8 @@ type CreateAssignmentBody = NonNullable<NonNullable<operations["createAssignment
33568
35191
  type CreateBookingBody = NonNullable<operations["createBooking"]["requestBody"]>["content"]["application/json"];
33569
35192
  /** Request body for `sb.resources.create()`. */
33570
35193
  type CreateResourceBody = NonNullable<NonNullable<operations["createResource"]["requestBody"]>["content"]["application/json"]["resource"]>;
35194
+ /** Request body for `sb.resources.createMedia()`. */
35195
+ type CreateResourceMediaBody = NonNullable<NonNullable<operations["createResourceMedia"]["requestBody"]>["content"]["application/json"]["media"]>;
33571
35196
  /** Request body for `sb.resources.getResourceAvailability()`. */
33572
35197
  type GetResourceAvailabilityBody = NonNullable<operations["getResourceAvailability"]["requestBody"]>["content"]["application/json"];
33573
35198
  /** Request body for `sb.resources.assignments.update()`. */
@@ -33629,8 +35254,12 @@ type Network = NonNullable<components["schemas"]["network"]>;
33629
35254
  /** A Location entity as returned by the Spacebring API. */
33630
35255
  type Location = NonNullable<components["schemas"]["location"]>;
33631
35256
 
35257
+ /** A Attachment entity as returned by the Spacebring API. */
35258
+ type Attachment = NonNullable<operations["createGuideAttachment"]["responses"][201]["content"]["application/json"]["attachment"]>;
33632
35259
  /** A Guide entity as returned by the Spacebring API. */
33633
35260
  type Guide = NonNullable<components["schemas"]["guide"]>;
35261
+ /** A GuideMedia entity as returned by the Spacebring API. */
35262
+ type GuideMedia = NonNullable<operations["createGuideMedia"]["responses"][201]["content"]["application/json"]["media"]>;
33634
35263
  /** Query parameters for `sb.guides.list()`. */
33635
35264
  interface GetGuidesQuery {
33636
35265
  /** Maximum number of guides per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
@@ -33640,8 +35269,12 @@ interface GetGuidesQuery {
33640
35269
  /** Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
33641
35270
  nextPageToken?: string;
33642
35271
  }
35272
+ /** Request body for `sb.guides.createAttachment()`. */
35273
+ type CreateGuideAttachmentBody = NonNullable<NonNullable<operations["createGuideAttachment"]["requestBody"]>["content"]["application/json"]["attachment"]>;
33643
35274
  /** Request body for `sb.guides.create()`. */
33644
35275
  type CreateGuideBody = NonNullable<NonNullable<operations["createGuide"]["requestBody"]>["content"]["application/json"]["guide"]>;
35276
+ /** Request body for `sb.guides.createMedia()`. */
35277
+ type CreateGuideMediaBody = NonNullable<NonNullable<operations["createGuideMedia"]["requestBody"]>["content"]["application/json"]["media"]>;
33645
35278
  /** Request body for `sb.guides.update()`. */
33646
35279
  type PatchGuideBody = NonNullable<NonNullable<operations["patchGuide"]["requestBody"]>["content"]["application/json"]["guide"]>;
33647
35280
 
@@ -33657,6 +35290,8 @@ interface GetFloorsQuery {
33657
35290
 
33658
35291
  /** A Comment entity as returned by the Spacebring API. */
33659
35292
  type Comment = NonNullable<components["schemas"]["postComment"]>;
35293
+ /** A FeedMedia entity as returned by the Spacebring API. */
35294
+ type FeedMedia = NonNullable<operations["createFeedPostMedia"]["responses"][201]["content"]["application/json"]["media"]>;
33660
35295
  /** A Like entity as returned by the Spacebring API. */
33661
35296
  type Like = NonNullable<components["schemas"]["postLike"]>;
33662
35297
  /** A Post entity as returned by the Spacebring API. */
@@ -33674,6 +35309,8 @@ interface GetFeedPostsQuery {
33674
35309
  type CreateFeedPostBody = NonNullable<NonNullable<operations["createFeedPost"]["requestBody"]>["content"]["application/json"]["post"]>;
33675
35310
  /** Request body for `sb.feed.comments.create()`. */
33676
35311
  type CreateFeedPostCommentBody = NonNullable<NonNullable<operations["createFeedPostComment"]["requestBody"]>["content"]["application/json"]["comment"]>;
35312
+ /** Request body for `sb.feed.createMedia()`. */
35313
+ type CreateFeedPostMediaBody = NonNullable<NonNullable<operations["createFeedPostMedia"]["requestBody"]>["content"]["application/json"]["media"]>;
33677
35314
  /** Request body for `sb.feed.posts.update()`. */
33678
35315
  type UpdateFeedPostBody = NonNullable<NonNullable<operations["updateFeedPost"]["requestBody"]>["content"]["application/json"]["post"]>;
33679
35316
 
@@ -33774,6 +35411,8 @@ type UpdateCouponBody = NonNullable<NonNullable<operations["updateCoupon"]["requ
33774
35411
  type Contract = NonNullable<operations["getContract"]["responses"][200]["content"]["application/json"]["contract"]>;
33775
35412
  /** A Template entity as returned by the Spacebring API. */
33776
35413
  type Template = NonNullable<operations["getTemplate"]["responses"][200]["content"]["application/json"]["template"]>;
35414
+ /** A TemplateMedia entity as returned by the Spacebring API. */
35415
+ type TemplateMedia = NonNullable<operations["createTemplateMedia"]["responses"][201]["content"]["application/json"]["media"]>;
33777
35416
  /** Query parameters for `sb.contracts.list()`. */
33778
35417
  interface GetContractsQuery {
33779
35418
  /** Filter contracts created on or after this date (ISO 8601). Use with createDate[lte] for a range. */
@@ -33813,6 +35452,8 @@ interface GetTemplatesQuery {
33813
35452
  type CreateContractBody = NonNullable<NonNullable<operations["createContract"]["requestBody"]>["content"]["application/json"]["contract"]>;
33814
35453
  /** Request body for `sb.contracts.templates.create()`. */
33815
35454
  type CreateTemplateBody = NonNullable<NonNullable<operations["createTemplate"]["requestBody"]>["content"]["application/json"]["template"]>;
35455
+ /** Request body for `sb.contracts.templates.createMedia()`. */
35456
+ type CreateTemplateMediaBody = NonNullable<NonNullable<operations["createTemplateMedia"]["requestBody"]>["content"]["application/json"]["media"]>;
33816
35457
  /** Request body for `sb.contracts.issue()`. */
33817
35458
  type IssueContractBody = NonNullable<NonNullable<operations["issueContract"]["requestBody"]>["content"]["application/json"]["signatureMethod"]>;
33818
35459
  /** Request body for `sb.contracts.terminate()`. */
@@ -33824,6 +35465,8 @@ type UpdateTemplateBody = NonNullable<NonNullable<operations["updateTemplate"]["
33824
35465
 
33825
35466
  /** A Company entity as returned by the Spacebring API. */
33826
35467
  type Company = NonNullable<components["schemas"]["company"]>;
35468
+ /** A CompanyMedia entity as returned by the Spacebring API. */
35469
+ type CompanyMedia = NonNullable<operations["createCompanyMedia"]["responses"][201]["content"]["application/json"]["media"]>;
33827
35470
  /** A Membership entity as returned by the Spacebring API. */
33828
35471
  type Membership = NonNullable<components["schemas"]["membership"]>;
33829
35472
  /** Query parameters for `sb.community.companies.list()`. */
@@ -33871,6 +35514,8 @@ interface GetMembershipsQuery {
33871
35514
  }
33872
35515
  /** Request body for `sb.community.companies.create()`. */
33873
35516
  type CreateCompanyBody = NonNullable<NonNullable<operations["createCompany"]["requestBody"]>["content"]["application/json"]["company"]>;
35517
+ /** Request body for `sb.community.companies.createMedia()`. */
35518
+ type CreateCompanyMediaBody = NonNullable<NonNullable<operations["createCompanyMedia"]["requestBody"]>["content"]["application/json"]["media"]>;
33874
35519
  /** Request body for `sb.community.memberships.create()`. */
33875
35520
  type CreateMembershipBody = NonNullable<operations["createMembership"]["requestBody"]>["content"]["application/json"];
33876
35521
  /** Request body for `sb.community.companies.update()`. */
@@ -33878,6 +35523,32 @@ type UpdateCompanyBody = NonNullable<NonNullable<operations["updateCompany"]["re
33878
35523
  /** Request body for `sb.community.memberships.update()`. */
33879
35524
  type UpdateMembershipBody = NonNullable<NonNullable<operations["updateMembership"]["requestBody"]>["content"]["application/json"]["membership"]>;
33880
35525
 
35526
+ /** A CheckIn entity as returned by the Spacebring API. */
35527
+ type CheckIn = NonNullable<operations["getCheckIn"]["responses"][200]["content"]["application/json"]["checkIn"]>;
35528
+ /** Query parameters for `sb.checkIns.list()`. */
35529
+ interface GetCheckInsQuery {
35530
+ /** Filter check-ins whose arrival is on or after this date (ISO 8601). Use with checkInDate[lte] for a range. */
35531
+ "checkInDate[gte]"?: string;
35532
+ /** Filter check-ins whose arrival is on or before this date (ISO 8601). Use with checkInDate[gte] for a range. */
35533
+ "checkInDate[lte]"?: string;
35534
+ /** Maximum number of check-ins per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
35535
+ limit?: number;
35536
+ /** UUID of the location. */
35537
+ locationRef: string;
35538
+ /** Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
35539
+ nextPageToken?: string;
35540
+ /** Comma-separated list of check-in statuses to filter by, e.g. `scheduled,checkedIn`. Valid values: checkedIn, checkedOut, scheduled, expired. Defaults to all statuses. */
35541
+ status?: string;
35542
+ /** Comma-separated list of check-in types to filter by, e.g. `eventTicket,visit`. Valid values: deskBooking, roomBooking, eventTicket, visit, subscription. Defaults to all types. */
35543
+ type?: string;
35544
+ /** UUID of the user to filter check-ins by. Defaults to check-ins of every user. */
35545
+ userRef?: string;
35546
+ }
35547
+ /** Request body for `sb.checkIns.checkIn()`. */
35548
+ type CheckInBody = NonNullable<operations["checkIn"]["requestBody"]>["content"]["application/json"];
35549
+ /** Request body for `sb.checkIns.checkOut()`. */
35550
+ type CheckOutBody = NonNullable<operations["checkOut"]["requestBody"]>["content"]["application/json"];
35551
+
33881
35552
  /** A CreditNote entity as returned by the Spacebring API. */
33882
35553
  type CreditNote = NonNullable<components["schemas"]["creditNote"]>;
33883
35554
  /** A Invoice entity as returned by the Spacebring API. */
@@ -34182,6 +35853,17 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
34182
35853
  };
34183
35854
  };
34184
35855
  };
35856
+ checkIns: {
35857
+ list(query: GetCheckInsQuery, options?: SpacebringRequestOptions): Promise<{
35858
+ checkIns: CheckIn[];
35859
+ nextPageToken?: string;
35860
+ searchQueryNext?: string;
35861
+ }>;
35862
+ iterate(query: Omit<GetCheckInsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<CheckIn, void, undefined>;
35863
+ get(checkInId: string, options?: SpacebringRequestOptions): Promise<CheckIn>;
35864
+ checkIn(body: CheckInBody, options?: SpacebringRequestOptions): Promise<CheckIn>;
35865
+ checkOut(body: CheckOutBody, options?: SpacebringRequestOptions): Promise<CheckIn>;
35866
+ };
34185
35867
  community: {
34186
35868
  companies: {
34187
35869
  list(query: GetCompaniesQuery, options?: SpacebringRequestOptions): Promise<{
@@ -34192,6 +35874,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
34192
35874
  get(id: string, options?: SpacebringRequestOptions): Promise<Company>;
34193
35875
  create(company: CreateCompanyBody, options?: SpacebringRequestOptions): Promise<Company>;
34194
35876
  update(id: string, company: UpdateCompanyBody, options?: SpacebringRequestOptions): Promise<Company>;
35877
+ createMedia(media: CreateCompanyMediaBody, options?: SpacebringRequestOptions): Promise<CompanyMedia>;
34195
35878
  };
34196
35879
  memberships: {
34197
35880
  list(query: GetMembershipsQuery, options?: SpacebringRequestOptions): Promise<{
@@ -34238,6 +35921,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
34238
35921
  create(template: CreateTemplateBody, options?: SpacebringRequestOptions): Promise<Template>;
34239
35922
  update(templateId: string, template: UpdateTemplateBody, options?: SpacebringRequestOptions): Promise<undefined>;
34240
35923
  delete(templateId: string, options?: SpacebringRequestOptions): Promise<undefined>;
35924
+ createMedia(media: CreateTemplateMediaBody, options?: SpacebringRequestOptions): Promise<TemplateMedia>;
34241
35925
  duplicate(templateId: string, options?: SpacebringRequestOptions): Promise<Template>;
34242
35926
  };
34243
35927
  };
@@ -34291,6 +35975,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
34291
35975
  };
34292
35976
  };
34293
35977
  feed: {
35978
+ createMedia(media: CreateFeedPostMediaBody, options?: SpacebringRequestOptions): Promise<FeedMedia>;
34294
35979
  comments: {
34295
35980
  create(comment: CreateFeedPostCommentBody, options?: SpacebringRequestOptions): Promise<Comment>;
34296
35981
  delete(id: string, options?: SpacebringRequestOptions): Promise<undefined>;
@@ -34329,6 +36014,8 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
34329
36014
  create(guide: CreateGuideBody, options?: SpacebringRequestOptions): Promise<Guide>;
34330
36015
  update(guideId: string, guide: PatchGuideBody, options?: SpacebringRequestOptions): Promise<Guide>;
34331
36016
  delete(guideId: string, options?: SpacebringRequestOptions): Promise<undefined>;
36017
+ createAttachment(attachment: CreateGuideAttachmentBody, options?: SpacebringRequestOptions): Promise<Attachment>;
36018
+ createMedia(media: CreateGuideMediaBody, options?: SpacebringRequestOptions): Promise<GuideMedia>;
34332
36019
  };
34333
36020
  locations: {
34334
36021
  list(options?: SpacebringRequestOptions): Promise<Location[]>;
@@ -34378,6 +36065,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
34378
36065
  get(resourceId: string, options?: SpacebringRequestOptions): Promise<Resource>;
34379
36066
  create(resource: CreateResourceBody, options?: SpacebringRequestOptions): Promise<Resource>;
34380
36067
  update(resourceId: string, resource: PatchResourceBody, options?: SpacebringRequestOptions): Promise<undefined>;
36068
+ createMedia(media: CreateResourceMediaBody, options?: SpacebringRequestOptions): Promise<ResourceMedia>;
34381
36069
  getResourceAvailability(resourceId: string, body: GetResourceAvailabilityBody, options?: SpacebringRequestOptions): Promise<GetResourceAvailability>;
34382
36070
  assignments: {
34383
36071
  list(query?: GetAssignmentsQuery, options?: SpacebringRequestOptions): Promise<{
@@ -34430,6 +36118,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
34430
36118
  create(product: CreateProductBody, options?: SpacebringRequestOptions): Promise<Product>;
34431
36119
  update(productId: string, product: UpdateProductBody, options?: SpacebringRequestOptions): Promise<Product>;
34432
36120
  delete(productId: string, options?: SpacebringRequestOptions): Promise<undefined>;
36121
+ createMedia(media: CreateProductMediaBody, options?: SpacebringRequestOptions): Promise<ProductMedia>;
34433
36122
  };
34434
36123
  };
34435
36124
  subscriptions: {
@@ -34463,6 +36152,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
34463
36152
  activities?: Activity[];
34464
36153
  ticket?: SupportTicket;
34465
36154
  }>;
36155
+ createMedia(media: CreateSupportTicketMediaBody, options?: SpacebringRequestOptions): Promise<TicketMedia>;
34466
36156
  updateAssignee(id: string, ticket: UpdateSupportTicketAssigneeBody, options?: SpacebringRequestOptions): Promise<{
34467
36157
  activity?: Activity;
34468
36158
  ticket?: SupportTicket;
@@ -34631,4 +36321,4 @@ declare class SpacebringError extends Error {
34631
36321
  });
34632
36322
  }
34633
36323
 
34634
- export { type Activity, type AddEventHostsBody, type AltCurrency, type Application, type ApplyBenefitBody, type Assignment, type Balance, type Benefit, type BenefitCategory, type BenefitMedia, type Booking, type CheckInVisitBody, type CheckOutVisitBody, type Comment, type Company, type Contact, type Contract, type Coupon, type CreateAltCurrencyBody, type CreateAssignmentBody, type CreateBenefitBody, type CreateBenefitCategoryBody, type CreateBenefitMediaBody, type CreateBookingBody, type CreateCompanyBody, type CreateContactBody, type CreateContractBody, type CreateCouponBody, type CreateCreditNoteBody, type CreateCreditsTransactionBody, type CreateDayPassesTransactionBody, type CreateEventBody, type CreateEventMediaBody, type CreateFeedPostBody, type CreateFeedPostCommentBody, type CreateGuideBody, type CreateInvoiceBody, type CreateInvoiceItemBody, type CreateMembershipBody, type CreateMoneyTransactionBody, type CreatePackageBody, type CreatePlanBody, type CreateProductBody, type CreatePromocodeBody, type CreateRequestBody, type CreateResourceBody, type CreateShopCategoryBody, type CreateSubscriptionBody, type CreateSubscriptionItemBody, type CreateSupportTicketBody, type CreateSupportTicketCommentBody, type CreateTemplateBody, type CreateVisitBody, type CreditNote, type CreditScheduledTransaction, type CreditTransaction, type DayPassScheduledTransaction, type DayPassTransaction, type Event, type EventMedia, type EventTicket, type GetAltCurrenciesQuery, type GetAssignmentsQuery, 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 GetPackagesQuery, type GetPlansQuery, type GetProductsQuery, type GetPromocodesQuery, type GetRegistrationsQuery, type GetRequestsQuery, type GetResourceAvailability, type GetResourceAvailabilityBody, type GetResourcesQuery, type GetScheduledCreditsTransactionsQuery, type GetScheduledDayPassesTransactionsQuery, type GetShopCategoriesQuery, type GetSubscriptionsQuery, type GetSupportTicketsQuery, type GetTemplatesQuery, type GetUpcomingInvoiceItemsQuery, type GetUpcomingInvoiceQuery, type GetVisitsQuery, type Guide, type Invoice, type InvoiceItem, type IssueContractBody, type IssueInvoiceBody, type Like, type ListInvoiceItemsQuery, type Location, type Membership, type MoneyTransaction, type Network, type Order, type Package, type PatchAssignmentBody, type PatchBookingBody, type PatchGuideBody, type PatchMoneyTransactionBody, type PatchPackageBody, type PatchResourceBody, type PayInvoiceBody, type Payment, type Plan, type Post, type PreviewCreditNoteBody, type Product, type Promocode, type Redemption, type Refund, type RefundMoneyTransactionBody, type Registration, type Request$1 as Request, type Resource, type ShopCategory, Spacebring, type SpacebringConfig, SpacebringError, type SpacebringErrorBody, type SpacebringRequestOptions, type SpacebringResources, type Subscription, type SupportTicket, type Template, type TerminateContractBody, type UpcomingItem, type UpdateAltCurrencyBody, type UpdateBenefitBody, type UpdateBenefitCategoryBody, type UpdateCompanyBody, type UpdateContractBody, type UpdateCouponBody, type UpdateCreditNoteBody, type UpdateEventBody, type UpdateEventTicketBody, type UpdateFeedPostBody, type UpdateInvoiceBody, type UpdateInvoiceItemBody, type UpdateMembershipBody, type UpdatePlanBody, type UpdateProductBody, type UpdateShopCategoryBody, type UpdateSubscriptionBody, type UpdateSubscriptionItemBody, type UpdateSupportTicketAssigneeBody, type UpdateSupportTicketCommentBody, type UpdateSupportTicketStatusBody, type UpdateSupportTicketTypeBody, type UpdateTemplateBody, type UpdateVisitBody, type Visit, type components, type operations, type paths };
36324
+ export { type Activity, type AddEventHostsBody, type AltCurrency, type Application, type ApplyBenefitBody, type Assignment, type Attachment, type Balance, type Benefit, type BenefitCategory, type BenefitMedia, type Booking, type CheckIn, type CheckInBody, type CheckInVisitBody, type CheckOutBody, type CheckOutVisitBody, type Comment, type Company, type CompanyMedia, type Contact, type Contract, type Coupon, type CreateAltCurrencyBody, type CreateAssignmentBody, type CreateBenefitBody, type CreateBenefitCategoryBody, type CreateBenefitMediaBody, type CreateBookingBody, type CreateCompanyBody, type CreateCompanyMediaBody, type CreateContactBody, type CreateContractBody, type CreateCouponBody, type CreateCreditNoteBody, type CreateCreditsTransactionBody, type CreateDayPassesTransactionBody, type CreateEventBody, type CreateEventMediaBody, type CreateFeedPostBody, type CreateFeedPostCommentBody, type CreateFeedPostMediaBody, type CreateGuideAttachmentBody, type CreateGuideBody, type CreateGuideMediaBody, type CreateInvoiceBody, type CreateInvoiceItemBody, type CreateMembershipBody, type CreateMoneyTransactionBody, type CreatePackageBody, type CreatePlanBody, type CreateProductBody, type CreateProductMediaBody, type CreatePromocodeBody, type CreateRequestBody, type CreateResourceBody, type CreateResourceMediaBody, type CreateShopCategoryBody, type CreateSubscriptionBody, type CreateSubscriptionItemBody, type CreateSupportTicketBody, type CreateSupportTicketCommentBody, type CreateSupportTicketMediaBody, type CreateTemplateBody, type CreateTemplateMediaBody, type CreateVisitBody, type CreditNote, type CreditScheduledTransaction, type CreditTransaction, type DayPassScheduledTransaction, type DayPassTransaction, type Event, type EventMedia, type EventTicket, type FeedMedia, type GetAltCurrenciesQuery, type GetAssignmentsQuery, type GetBenefitApplicationsQuery, type GetBenefitCategoriesQuery, type GetBenefitsQuery, type GetBookingsQuery, type GetCheckInsQuery, 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 GetPackagesQuery, type GetPlansQuery, type GetProductsQuery, type GetPromocodesQuery, type GetRegistrationsQuery, type GetRequestsQuery, type GetResourceAvailability, type GetResourceAvailabilityBody, type GetResourcesQuery, type GetScheduledCreditsTransactionsQuery, type GetScheduledDayPassesTransactionsQuery, type GetShopCategoriesQuery, type GetSubscriptionsQuery, type GetSupportTicketsQuery, type GetTemplatesQuery, type GetUpcomingInvoiceItemsQuery, type GetUpcomingInvoiceQuery, type GetVisitsQuery, type Guide, type GuideMedia, type Invoice, type InvoiceItem, type IssueContractBody, type IssueInvoiceBody, type Like, type ListInvoiceItemsQuery, type Location, type Membership, type MoneyTransaction, type Network, type Order, type Package, type PatchAssignmentBody, type PatchBookingBody, type PatchGuideBody, type PatchMoneyTransactionBody, type PatchPackageBody, type PatchResourceBody, type PayInvoiceBody, type Payment, type Plan, type Post, type PreviewCreditNoteBody, type Product, type ProductMedia, type Promocode, type Redemption, type Refund, type RefundMoneyTransactionBody, type Registration, type Request$1 as Request, type Resource, type ResourceMedia, type ShopCategory, Spacebring, type SpacebringConfig, SpacebringError, type SpacebringErrorBody, type SpacebringRequestOptions, type SpacebringResources, type Subscription, type SupportTicket, type Template, type TemplateMedia, type TerminateContractBody, type TicketMedia, type UpcomingItem, type UpdateAltCurrencyBody, type UpdateBenefitBody, type UpdateBenefitCategoryBody, type UpdateCompanyBody, type UpdateContractBody, type UpdateCouponBody, type UpdateCreditNoteBody, type UpdateEventBody, type UpdateEventTicketBody, type UpdateFeedPostBody, type UpdateInvoiceBody, type UpdateInvoiceItemBody, type UpdateMembershipBody, type UpdatePlanBody, type UpdateProductBody, type UpdateShopCategoryBody, type UpdateSubscriptionBody, type UpdateSubscriptionItemBody, type UpdateSupportTicketAssigneeBody, type UpdateSupportTicketCommentBody, type UpdateSupportTicketStatusBody, type UpdateSupportTicketTypeBody, type UpdateTemplateBody, type UpdateVisitBody, type Visit, type components, type operations, type paths };