@izak0s/spacebring-api 10.2.0 → 10.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.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,26 @@ interface paths {
1796
1936
  patch: operations["patchGuide"];
1797
1937
  trace?: never;
1798
1938
  };
1939
+ "/guides/v1/media": {
1940
+ parameters: {
1941
+ query?: never;
1942
+ header?: never;
1943
+ path?: never;
1944
+ cookie?: never;
1945
+ };
1946
+ get?: never;
1947
+ put?: never;
1948
+ /**
1949
+ * Create a media upload
1950
+ * @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>
1951
+ */
1952
+ post: operations["createGuideMedia"];
1953
+ delete?: never;
1954
+ options?: never;
1955
+ head?: never;
1956
+ patch?: never;
1957
+ trace?: never;
1958
+ };
1799
1959
  "/locations/v1": {
1800
1960
  parameters: {
1801
1961
  query?: never;
@@ -2044,6 +2204,26 @@ interface paths {
2044
2204
  patch: operations["patchAssignment"];
2045
2205
  trace?: never;
2046
2206
  };
2207
+ "/resources/v1/media": {
2208
+ parameters: {
2209
+ query?: never;
2210
+ header?: never;
2211
+ path?: never;
2212
+ cookie?: never;
2213
+ };
2214
+ get?: never;
2215
+ put?: never;
2216
+ /**
2217
+ * Create a media upload
2218
+ * @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>
2219
+ */
2220
+ post: operations["createResourceMedia"];
2221
+ delete?: never;
2222
+ options?: never;
2223
+ head?: never;
2224
+ patch?: never;
2225
+ trace?: never;
2226
+ };
2047
2227
  "/resources/v1/{resourceId}": {
2048
2228
  parameters: {
2049
2229
  query?: never;
@@ -2244,6 +2424,26 @@ interface paths {
2244
2424
  patch?: never;
2245
2425
  trace?: never;
2246
2426
  };
2427
+ "/shop/products/v1/media": {
2428
+ parameters: {
2429
+ query?: never;
2430
+ header?: never;
2431
+ path?: never;
2432
+ cookie?: never;
2433
+ };
2434
+ get?: never;
2435
+ put?: never;
2436
+ /**
2437
+ * Create a media upload
2438
+ * @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>
2439
+ */
2440
+ post: operations["createProductMedia"];
2441
+ delete?: never;
2442
+ options?: never;
2443
+ head?: never;
2444
+ patch?: never;
2445
+ trace?: never;
2446
+ };
2247
2447
  "/shop/orders/v1": {
2248
2448
  parameters: {
2249
2449
  query?: never;
@@ -6139,6 +6339,252 @@ interface components {
6139
6339
  */
6140
6340
  voidDate?: string;
6141
6341
  };
6342
+ getCheckIns: {
6343
+ /** @description List of check-ins. */
6344
+ checkIns: {
6345
+ /** @description Booking this check-in was created for, if any. */
6346
+ booking?: {
6347
+ /**
6348
+ * Format: uuid
6349
+ * @description ID of the booking.
6350
+ */
6351
+ id: string;
6352
+ };
6353
+ /**
6354
+ * Format: date-time
6355
+ * @description ISO timestamp of when the user checked in.
6356
+ */
6357
+ checkInDate?: string;
6358
+ /**
6359
+ * Format: uuid
6360
+ * @description ID of the schedule this check-in was opened under. Absent on check-ins created before schedules were introduced.
6361
+ */
6362
+ checkInScheduleRef?: string;
6363
+ /**
6364
+ * Format: date-time
6365
+ * @description ISO timestamp of when the user checked out.
6366
+ */
6367
+ checkOutDate?: string;
6368
+ /** @description Confirmation code of the check-in. */
6369
+ code?: string;
6370
+ /**
6371
+ * Format: date-time
6372
+ * @description ISO timestamp of when the check-in was created.
6373
+ */
6374
+ createDate: string;
6375
+ /**
6376
+ * Format: date-time
6377
+ * @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.
6378
+ */
6379
+ endDate?: string;
6380
+ /** @description Event ticket this check-in was created for, if any. */
6381
+ eventTicket?: {
6382
+ /**
6383
+ * Format: uuid
6384
+ * @description ID of the event.
6385
+ */
6386
+ eventRef: string;
6387
+ /**
6388
+ * Format: uuid
6389
+ * @description ID of the event ticket.
6390
+ */
6391
+ id: string;
6392
+ };
6393
+ /**
6394
+ * Format: uuid
6395
+ * @description Unique identifier of the check-in.
6396
+ */
6397
+ id: string;
6398
+ /**
6399
+ * Format: uuid
6400
+ * @description ID of the network this check-in belongs to.
6401
+ */
6402
+ networkRef: string;
6403
+ /**
6404
+ * Format: uuid
6405
+ * @description ID of the location this check-in belongs to.
6406
+ */
6407
+ locationRef: string;
6408
+ /**
6409
+ * @description Status of the check-in.
6410
+ * @enum {string}
6411
+ */
6412
+ status: "checkedIn" | "checkedOut" | "scheduled" | "expired";
6413
+ /**
6414
+ * Format: date-time
6415
+ * @description ISO timestamp of when the check-in starts.
6416
+ */
6417
+ startDate: string;
6418
+ /**
6419
+ * @description What the check-in was created for.
6420
+ * @enum {string}
6421
+ */
6422
+ type: "deskBooking" | "roomBooking" | "eventTicket" | "visit" | "subscription";
6423
+ /** @description The user this check-in is for, read from the users service so the details are current. */
6424
+ user?: {
6425
+ /** @description Email address of the user. */
6426
+ email?: string | null;
6427
+ /**
6428
+ * Format: uuid
6429
+ * @description Unique identifier of the user.
6430
+ */
6431
+ id: string;
6432
+ /** @description First name of the user. */
6433
+ name?: string | null;
6434
+ /** @description Phone number of the user. */
6435
+ phoneNumber?: string | null;
6436
+ /** @description User profile photo URL. */
6437
+ photoUrl?: string | null;
6438
+ /** @description Surname of the user. */
6439
+ surname?: string | null;
6440
+ };
6441
+ /** @description Visit this check-in was created for, if any. */
6442
+ visit?: {
6443
+ /**
6444
+ * Format: uuid
6445
+ * @description ID of the visit.
6446
+ */
6447
+ id: string;
6448
+ /** @description The host the visit is with, read from the users service so the details are current. */
6449
+ userHost?: {
6450
+ /**
6451
+ * Format: uuid
6452
+ * @description Unique identifier of the host.
6453
+ */
6454
+ id: string;
6455
+ /** @description First name of the host. */
6456
+ name?: string | null;
6457
+ /** @description Surname of the host. */
6458
+ surname?: string | null;
6459
+ };
6460
+ };
6461
+ }[];
6462
+ /** @description Pagination token to fetch the next page of results. */
6463
+ nextPageToken?: string;
6464
+ /** @description Search query parameters for the next page of results. Includes all filters used to fetch the current page. */
6465
+ searchQueryNext?: string;
6466
+ };
6467
+ getCheckIn: {
6468
+ /** @description The check-in. */
6469
+ checkIn: {
6470
+ /** @description Booking this check-in was created for, if any. */
6471
+ booking?: {
6472
+ /**
6473
+ * Format: uuid
6474
+ * @description ID of the booking.
6475
+ */
6476
+ id: string;
6477
+ };
6478
+ /**
6479
+ * Format: date-time
6480
+ * @description ISO timestamp of when the user checked in.
6481
+ */
6482
+ checkInDate?: string;
6483
+ /**
6484
+ * Format: uuid
6485
+ * @description ID of the schedule this check-in was opened under. Absent on check-ins created before schedules were introduced.
6486
+ */
6487
+ checkInScheduleRef?: string;
6488
+ /**
6489
+ * Format: date-time
6490
+ * @description ISO timestamp of when the user checked out.
6491
+ */
6492
+ checkOutDate?: string;
6493
+ /** @description Confirmation code of the check-in. */
6494
+ code?: string;
6495
+ /**
6496
+ * Format: date-time
6497
+ * @description ISO timestamp of when the check-in was created.
6498
+ */
6499
+ createDate: string;
6500
+ /**
6501
+ * Format: date-time
6502
+ * @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.
6503
+ */
6504
+ endDate?: string;
6505
+ /** @description Event ticket this check-in was created for, if any. */
6506
+ eventTicket?: {
6507
+ /**
6508
+ * Format: uuid
6509
+ * @description ID of the event.
6510
+ */
6511
+ eventRef: string;
6512
+ /**
6513
+ * Format: uuid
6514
+ * @description ID of the event ticket.
6515
+ */
6516
+ id: string;
6517
+ };
6518
+ /**
6519
+ * Format: uuid
6520
+ * @description Unique identifier of the check-in.
6521
+ */
6522
+ id: string;
6523
+ /**
6524
+ * Format: uuid
6525
+ * @description ID of the network this check-in belongs to.
6526
+ */
6527
+ networkRef: string;
6528
+ /**
6529
+ * Format: uuid
6530
+ * @description ID of the location this check-in belongs to.
6531
+ */
6532
+ locationRef: string;
6533
+ /**
6534
+ * @description Status of the check-in.
6535
+ * @enum {string}
6536
+ */
6537
+ status: "checkedIn" | "checkedOut" | "scheduled" | "expired";
6538
+ /**
6539
+ * Format: date-time
6540
+ * @description ISO timestamp of when the check-in starts.
6541
+ */
6542
+ startDate: string;
6543
+ /**
6544
+ * @description What the check-in was created for.
6545
+ * @enum {string}
6546
+ */
6547
+ type: "deskBooking" | "roomBooking" | "eventTicket" | "visit" | "subscription";
6548
+ /** @description The user this check-in is for, read from the users service so the details are current. */
6549
+ user?: {
6550
+ /** @description Email address of the user. */
6551
+ email?: string | null;
6552
+ /**
6553
+ * Format: uuid
6554
+ * @description Unique identifier of the user.
6555
+ */
6556
+ id: string;
6557
+ /** @description First name of the user. */
6558
+ name?: string | null;
6559
+ /** @description Phone number of the user. */
6560
+ phoneNumber?: string | null;
6561
+ /** @description User profile photo URL. */
6562
+ photoUrl?: string | null;
6563
+ /** @description Surname of the user. */
6564
+ surname?: string | null;
6565
+ };
6566
+ /** @description Visit this check-in was created for, if any. */
6567
+ visit?: {
6568
+ /**
6569
+ * Format: uuid
6570
+ * @description ID of the visit.
6571
+ */
6572
+ id: string;
6573
+ /** @description The host the visit is with, read from the users service so the details are current. */
6574
+ userHost?: {
6575
+ /**
6576
+ * Format: uuid
6577
+ * @description Unique identifier of the host.
6578
+ */
6579
+ id: string;
6580
+ /** @description First name of the host. */
6581
+ name?: string | null;
6582
+ /** @description Surname of the host. */
6583
+ surname?: string | null;
6584
+ };
6585
+ };
6586
+ };
6587
+ };
6142
6588
  /**
6143
6589
  * Format: date-time
6144
6590
  * @description The date and time in ISO 8601 format, e.g. 2021-05-21T10:00:00Z
@@ -6169,6 +6615,13 @@ interface components {
6169
6615
  legalName?: string;
6170
6616
  /** Format: uuid */
6171
6617
  locationRef?: string;
6618
+ /** @description Logo of the company. Left out when the company has none. */
6619
+ logo?: {
6620
+ /** @description Storage key of the logo file. */
6621
+ key?: string;
6622
+ /** @description Public URL of the logo file. */
6623
+ url?: string;
6624
+ };
6172
6625
  metadata?: components["schemas"]["metadata"];
6173
6626
  notes?: string;
6174
6627
  /** Format: uuid */
@@ -6176,6 +6629,49 @@ interface components {
6176
6629
  taxId?: string;
6177
6630
  title?: string;
6178
6631
  };
6632
+ createCompanyMedia: {
6633
+ /** @description The created media upload. */
6634
+ media: {
6635
+ /** @description Storage key of the logo file. Pass it as logo.key when creating or updating a company. */
6636
+ key: string;
6637
+ /**
6638
+ * @description MIME type of the image file.
6639
+ * @enum {string}
6640
+ */
6641
+ mimeType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
6642
+ /** @description Size of the image file in bytes. */
6643
+ size: number;
6644
+ /**
6645
+ * @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.
6646
+ * @enum {string}
6647
+ */
6648
+ status: "pending" | "uploaded" | "attached";
6649
+ /** @description How to upload the file. Send the raw bytes as the request body, not a multipart form. */
6650
+ upload: {
6651
+ /**
6652
+ * Format: date-time
6653
+ * @description ISO timestamp after which the upload URL is rejected.
6654
+ */
6655
+ expirationDate: string;
6656
+ /** @description Headers the PUT request must send exactly as given; the signature covers them. */
6657
+ headers: {
6658
+ /** @description Must equal the size declared when the upload was created. */
6659
+ "Content-Length": string;
6660
+ /** @description Must equal the mimeType declared when the upload was created. */
6661
+ "Content-Type": string;
6662
+ };
6663
+ /**
6664
+ * @description HTTP method of the upload request.
6665
+ * @enum {string}
6666
+ */
6667
+ method: "PUT";
6668
+ /** @description Presigned URL to send the raw file bytes to. */
6669
+ url: string;
6670
+ };
6671
+ /** @description Public URL of the logo file once it is uploaded, the same URL the company returns as logo.url. */
6672
+ url: string;
6673
+ };
6674
+ };
6179
6675
  user: {
6180
6676
  about?: string;
6181
6677
  email?: string;
@@ -6740,6 +7236,49 @@ interface components {
6740
7236
  updateDate: string;
6741
7237
  };
6742
7238
  };
7239
+ createTemplateMedia: {
7240
+ /** @description The created media upload. */
7241
+ media: {
7242
+ /** @description Storage key of the template file. Pass it as template.file.key when creating or updating a template. */
7243
+ key: string;
7244
+ /**
7245
+ * @description MIME type of the template file.
7246
+ * @enum {string}
7247
+ */
7248
+ mimeType: "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
7249
+ /** @description Size of the template file in bytes. */
7250
+ size: number;
7251
+ /**
7252
+ * @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.
7253
+ * @enum {string}
7254
+ */
7255
+ status: "pending" | "uploaded" | "attached";
7256
+ /** @description How to upload the file. Send the raw bytes as the request body, not a multipart form. */
7257
+ upload: {
7258
+ /**
7259
+ * Format: date-time
7260
+ * @description ISO timestamp after which the upload URL is rejected.
7261
+ */
7262
+ expirationDate: string;
7263
+ /** @description Headers the PUT request must send exactly as given; the signature covers them. */
7264
+ headers: {
7265
+ /** @description Must equal the size declared when the upload was created. */
7266
+ "Content-Length": string;
7267
+ /** @description Must equal the mimeType declared when the upload was created. */
7268
+ "Content-Type": string;
7269
+ };
7270
+ /**
7271
+ * @description HTTP method of the upload request.
7272
+ * @enum {string}
7273
+ */
7274
+ method: "PUT";
7275
+ /** @description Presigned URL to send the raw file bytes to. */
7276
+ url: string;
7277
+ };
7278
+ /** @description Public URL of the template file once it is uploaded. */
7279
+ url: string;
7280
+ };
7281
+ };
6743
7282
  coupon: {
6744
7283
  /** @description Fixed discount amount. */
6745
7284
  amountOff?: number | null;
@@ -7902,6 +8441,47 @@ interface components {
7902
8441
  */
7903
8442
  postRef: string;
7904
8443
  };
8444
+ createFeedPostMedia: {
8445
+ /** @description The created media upload. */
8446
+ media: {
8447
+ /** @description Storage key of the media file. Pass it in media[].key when creating or updating a post. */
8448
+ key: string;
8449
+ /**
8450
+ * @description MIME type of the media file.
8451
+ * @enum {string}
8452
+ */
8453
+ mimeType: "image/gif" | "image/jpeg" | "image/png" | "image/webp" | "video/mp4" | "video/quicktime" | "video/webm";
8454
+ /** @description Size of the media file in bytes. */
8455
+ size: number;
8456
+ /**
8457
+ * @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.
8458
+ * @enum {string}
8459
+ */
8460
+ status: "pending" | "uploaded" | "attached";
8461
+ /** @description How to upload the file. Send the raw bytes as the request body, not a multipart form. */
8462
+ upload: {
8463
+ /**
8464
+ * Format: date-time
8465
+ * @description ISO timestamp after which the upload URL is rejected.
8466
+ */
8467
+ expirationDate: string;
8468
+ /** @description Headers the PUT request must send exactly as given; the signature covers them. */
8469
+ headers: {
8470
+ /** @description Must equal the size declared when the upload was created. */
8471
+ "Content-Length": string;
8472
+ /** @description Must equal the mimeType declared when the upload was created. */
8473
+ "Content-Type": string;
8474
+ };
8475
+ /**
8476
+ * @description HTTP method of the upload request.
8477
+ * @enum {string}
8478
+ */
8479
+ method: "PUT";
8480
+ /** @description Presigned URL to send the raw file bytes to. */
8481
+ url: string;
8482
+ };
8483
+ };
8484
+ };
7905
8485
  floor: {
7906
8486
  /**
7907
8487
  * Format: date-time
@@ -8106,6 +8686,49 @@ interface components {
8106
8686
  visibility: "public" | "admins" | "members" | "networkMembers";
8107
8687
  };
8108
8688
  };
8689
+ createGuideMedia: {
8690
+ /** @description The created media upload. */
8691
+ media: {
8692
+ /** @description Storage key of the media file. */
8693
+ key: string;
8694
+ /**
8695
+ * @description MIME type of the media file.
8696
+ * @enum {string}
8697
+ */
8698
+ mimeType: "image/gif" | "image/jpeg" | "image/png" | "image/webp" | "video/mp4" | "video/quicktime" | "video/webm";
8699
+ /** @description Size of the media file in bytes. */
8700
+ size: number;
8701
+ /**
8702
+ * @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.
8703
+ * @enum {string}
8704
+ */
8705
+ status: "pending" | "uploaded" | "attached";
8706
+ /** @description How to upload the file. Send the raw bytes as the request body, not a multipart form. */
8707
+ upload: {
8708
+ /**
8709
+ * Format: date-time
8710
+ * @description ISO timestamp after which the upload URL is rejected.
8711
+ */
8712
+ expirationDate: string;
8713
+ /** @description Headers the PUT request must send exactly as given; the signature covers them. */
8714
+ headers: {
8715
+ /** @description Must equal the size declared when the upload was created. */
8716
+ "Content-Length": string;
8717
+ /** @description Must equal the mimeType declared when the upload was created. */
8718
+ "Content-Type": string;
8719
+ };
8720
+ /**
8721
+ * @description HTTP method of the upload request.
8722
+ * @enum {string}
8723
+ */
8724
+ method: "PUT";
8725
+ /** @description Presigned URL to send the raw file bytes to. */
8726
+ url: string;
8727
+ };
8728
+ /** @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. */
8729
+ url: string;
8730
+ };
8731
+ };
8109
8732
  /** @description Timezone identifier for the location (e.g. 'Europe/Kyiv') */
8110
8733
  timezoneId: string;
8111
8734
  location: {
@@ -10461,6 +11084,47 @@ interface components {
10461
11084
  };
10462
11085
  };
10463
11086
  };
11087
+ createResourceMedia: {
11088
+ /** @description The created media upload. */
11089
+ media: {
11090
+ /** @description Storage key of the media file. Add it to media when creating or updating a resource. */
11091
+ key: string;
11092
+ /**
11093
+ * @description MIME type of the image file.
11094
+ * @enum {string}
11095
+ */
11096
+ mimeType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
11097
+ /** @description Size of the image file in bytes. */
11098
+ size: number;
11099
+ /**
11100
+ * @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.
11101
+ * @enum {string}
11102
+ */
11103
+ status: "pending" | "uploaded" | "attached";
11104
+ /** @description How to upload the file. Send the raw bytes as the request body, not a multipart form. */
11105
+ upload: {
11106
+ /**
11107
+ * Format: date-time
11108
+ * @description ISO timestamp after which the upload URL is rejected.
11109
+ */
11110
+ expirationDate: string;
11111
+ /** @description Headers the PUT request must send exactly as given; the signature covers them. */
11112
+ headers: {
11113
+ /** @description Must equal the size declared when the upload was created. */
11114
+ "Content-Length": string;
11115
+ /** @description Must equal the mimeType declared when the upload was created. */
11116
+ "Content-Type": string;
11117
+ };
11118
+ /**
11119
+ * @description HTTP method of the upload request.
11120
+ * @enum {string}
11121
+ */
11122
+ method: "PUT";
11123
+ /** @description Presigned URL to send the raw file bytes to. */
11124
+ url: string;
11125
+ };
11126
+ };
11127
+ };
10464
11128
  getResourceAvailability: {
10465
11129
  /** @description Whether the resource can be booked for the requested slot. */
10466
11130
  available: boolean;
@@ -13067,6 +13731,47 @@ interface components {
13067
13731
  visibility: "public" | "admins" | "members" | "networkMembers";
13068
13732
  };
13069
13733
  };
13734
+ createProductMedia: {
13735
+ /** @description The created media upload. */
13736
+ media: {
13737
+ /** @description Storage key of the media file. Pass it as media[0].key when creating or updating a product. */
13738
+ key: string;
13739
+ /**
13740
+ * @description MIME type of the image file.
13741
+ * @enum {string}
13742
+ */
13743
+ mimeType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
13744
+ /** @description Size of the image file in bytes. */
13745
+ size: number;
13746
+ /**
13747
+ * @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.
13748
+ * @enum {string}
13749
+ */
13750
+ status: "pending" | "uploaded" | "attached";
13751
+ /** @description How to upload the file. Send the raw bytes as the request body, not a multipart form. */
13752
+ upload: {
13753
+ /**
13754
+ * Format: date-time
13755
+ * @description ISO timestamp after which the upload URL is rejected.
13756
+ */
13757
+ expirationDate: string;
13758
+ /** @description Headers the PUT request must send exactly as given; the signature covers them. */
13759
+ headers: {
13760
+ /** @description Must equal the size declared when the upload was created. */
13761
+ "Content-Length": string;
13762
+ /** @description Must equal the mimeType declared when the upload was created. */
13763
+ "Content-Type": string;
13764
+ };
13765
+ /**
13766
+ * @description HTTP method of the upload request.
13767
+ * @enum {string}
13768
+ */
13769
+ method: "PUT";
13770
+ /** @description Presigned URL to send the raw file bytes to. */
13771
+ url: string;
13772
+ };
13773
+ };
13774
+ };
13070
13775
  getOrders: {
13071
13776
  /** @description Pagination token to fetch the next page of results. */
13072
13777
  nextPageToken?: string;
@@ -21916,6 +22621,47 @@ interface components {
21916
22621
  };
21917
22622
  };
21918
22623
  };
22624
+ checkIn: {
22625
+ content: {
22626
+ "application/json": {
22627
+ /**
22628
+ * Format: uuid
22629
+ * @description The ID of the check-in.
22630
+ */
22631
+ checkInId?: string;
22632
+ /** @description Confirmation code of the check-in, or a member's personal code. Required when the check-in was created with one. */
22633
+ code?: string;
22634
+ /**
22635
+ * Format: uuid
22636
+ * @description UUID of the location the code was issued in. Required when the check-in is resolved by its code or a customer ref.
22637
+ */
22638
+ locationRef?: string;
22639
+ /**
22640
+ * Format: uuid
22641
+ * @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.
22642
+ */
22643
+ customerRef?: string;
22644
+ };
22645
+ };
22646
+ };
22647
+ checkOut: {
22648
+ content: {
22649
+ "application/json": {
22650
+ /**
22651
+ * Format: uuid
22652
+ * @description The ID of the check-in.
22653
+ */
22654
+ checkInId?: string;
22655
+ /** @description Confirmation code of the check-in, or a member's personal code. Required when the check-in was created with one. */
22656
+ code?: string;
22657
+ /**
22658
+ * Format: uuid
22659
+ * @description UUID of the location the code was issued in. Required when the check-in is resolved by its code or a customer ref.
22660
+ */
22661
+ locationRef?: string;
22662
+ };
22663
+ };
22664
+ };
21919
22665
  createCompany: {
21920
22666
  content: {
21921
22667
  "application/json": {
@@ -21943,6 +22689,11 @@ interface components {
21943
22689
  * @description The location id where to create a company.
21944
22690
  */
21945
22691
  locationRef: string;
22692
+ /** @description Logo of the company. Upload the file with Create a logo upload first. */
22693
+ logo?: {
22694
+ /** @description Storage key of the logo file, as returned by the media upload endpoint. */
22695
+ key: string;
22696
+ };
21946
22697
  metadata?: components["schemas"]["metadata"];
21947
22698
  /** @description The notes of company to create. */
21948
22699
  notes?: string;
@@ -21954,6 +22705,22 @@ interface components {
21954
22705
  };
21955
22706
  };
21956
22707
  };
22708
+ createCompanyMedia: {
22709
+ content: {
22710
+ "application/json": {
22711
+ /** @description File to upload. */
22712
+ media: {
22713
+ /**
22714
+ * @description MIME type of the file to upload.
22715
+ * @enum {string}
22716
+ */
22717
+ mimeType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
22718
+ /** @description Size of the file in bytes. The upload is rejected when the body length differs. */
22719
+ size: number;
22720
+ };
22721
+ };
22722
+ };
22723
+ };
21957
22724
  createMembership: {
21958
22725
  content: {
21959
22726
  "application/json": {
@@ -22238,7 +23005,7 @@ interface components {
22238
23005
  template: {
22239
23006
  /** @description Template file reference. */
22240
23007
  file: {
22241
- /** @description Storage key of the template file. */
23008
+ /** @description Storage key of the uploaded .docx template file, as returned by the media upload endpoint. */
22242
23009
  key: string;
22243
23010
  };
22244
23011
  /**
@@ -22252,6 +23019,22 @@ interface components {
22252
23019
  };
22253
23020
  };
22254
23021
  };
23022
+ createTemplateMedia: {
23023
+ content: {
23024
+ "application/json": {
23025
+ /** @description File to upload. */
23026
+ media: {
23027
+ /**
23028
+ * @description MIME type of the file to upload, application/vnd.openxmlformats-officedocument.wordprocessingml.document.
23029
+ * @enum {string}
23030
+ */
23031
+ mimeType: "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
23032
+ /** @description Size of the file in bytes. The upload is rejected when the body length differs. */
23033
+ size: number;
23034
+ };
23035
+ };
23036
+ };
23037
+ };
22255
23038
  updateTemplate: {
22256
23039
  content: {
22257
23040
  "application/json": {
@@ -22259,7 +23042,7 @@ interface components {
22259
23042
  template: {
22260
23043
  /** @description Template file reference. */
22261
23044
  file?: {
22262
- /** @description Storage key of the template file. */
23045
+ /** @description Storage key of the uploaded .docx template file, as returned by the media upload endpoint. */
22263
23046
  key: string;
22264
23047
  };
22265
23048
  /** @description Template title. */
@@ -22594,7 +23377,7 @@ interface components {
22594
23377
  locationRef: string;
22595
23378
  /** @description Media files to attach to the post. */
22596
23379
  media?: {
22597
- /** @description Storage key of the media file. */
23380
+ /** @description Storage key of the media file, as returned by the media upload endpoint. */
22598
23381
  key: string;
22599
23382
  }[];
22600
23383
  /** @description Open Graph metadata for link previews. */
@@ -22628,7 +23411,7 @@ interface components {
22628
23411
  post: {
22629
23412
  /** @description Media files to attach to the post. */
22630
23413
  media?: {
22631
- /** @description Storage key of the media file. */
23414
+ /** @description Storage key of the media file, as returned by the media upload endpoint. */
22632
23415
  key: string;
22633
23416
  }[];
22634
23417
  /** @description Open Graph metadata for link previews. */
@@ -22681,12 +23464,32 @@ interface components {
22681
23464
  };
22682
23465
  };
22683
23466
  };
23467
+ createFeedPostMedia: {
23468
+ content: {
23469
+ "application/json": {
23470
+ /** @description File to upload. */
23471
+ media: {
23472
+ /** @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. */
23473
+ height?: number;
23474
+ /**
23475
+ * @description MIME type of the file to upload.
23476
+ * @enum {string}
23477
+ */
23478
+ mimeType: "image/gif" | "image/jpeg" | "image/png" | "image/webp" | "video/mp4" | "video/quicktime" | "video/webm";
23479
+ /** @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. */
23480
+ size: number;
23481
+ /** @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. */
23482
+ width?: number;
23483
+ };
23484
+ };
23485
+ };
23486
+ };
22684
23487
  createGuide: {
22685
23488
  content: {
22686
23489
  "application/json": {
22687
23490
  /** @description Guide to create. */
22688
23491
  guide: {
22689
- /** @description Markdown content of the guide. */
23492
+ /** @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
23493
  description?: string;
22691
23494
  /**
22692
23495
  * Format: uuid
@@ -22713,7 +23516,7 @@ interface components {
22713
23516
  "application/json": {
22714
23517
  /** @description Guide fields to update. */
22715
23518
  guide: {
22716
- /** @description Markdown content of the guide. */
23519
+ /** @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
23520
  description?: string;
22718
23521
  /** @description Display name of the guide. */
22719
23522
  title?: string;
@@ -22730,6 +23533,26 @@ interface components {
22730
23533
  };
22731
23534
  };
22732
23535
  };
23536
+ createGuideMedia: {
23537
+ content: {
23538
+ "application/json": {
23539
+ /** @description File to upload. */
23540
+ media: {
23541
+ /** @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. */
23542
+ height?: number;
23543
+ /**
23544
+ * @description MIME type of the file to upload.
23545
+ * @enum {string}
23546
+ */
23547
+ mimeType: "image/gif" | "image/jpeg" | "image/png" | "image/webp" | "video/mp4" | "video/quicktime" | "video/webm";
23548
+ /** @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. */
23549
+ size: number;
23550
+ /** @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. */
23551
+ width?: number;
23552
+ };
23553
+ };
23554
+ };
23555
+ };
22733
23556
  createPackage: {
22734
23557
  content: {
22735
23558
  "application/json": {
@@ -23243,7 +24066,7 @@ interface components {
23243
24066
  locationRef: string;
23244
24067
  /** @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
24068
  media?: {
23246
- /** @description Storage key of the uploaded image. */
24069
+ /** @description Storage key of the uploaded image, as returned by the media upload endpoint. */
23247
24070
  key: string;
23248
24071
  }[];
23249
24072
  /** @description Money pricing settings. */
@@ -23539,6 +24362,22 @@ interface components {
23539
24362
  };
23540
24363
  };
23541
24364
  };
24365
+ createResourceMedia: {
24366
+ content: {
24367
+ "application/json": {
24368
+ /** @description File to upload. */
24369
+ media: {
24370
+ /**
24371
+ * @description MIME type of the file to upload.
24372
+ * @enum {string}
24373
+ */
24374
+ mimeType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
24375
+ /** @description Size of the file in bytes. The upload is rejected when the body length differs. */
24376
+ size: number;
24377
+ };
24378
+ };
24379
+ };
24380
+ };
23542
24381
  patchResource: {
23543
24382
  content: {
23544
24383
  "application/json": {
@@ -23654,7 +24493,7 @@ interface components {
23654
24493
  kisiGroupRef?: number | null;
23655
24494
  /** @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
24495
  media?: {
23657
- /** @description Storage key of the uploaded image. */
24496
+ /** @description Storage key of the uploaded image, as returned by the media upload endpoint. */
23658
24497
  key: string;
23659
24498
  }[];
23660
24499
  /** @description Money pricing settings. */
@@ -24117,7 +24956,7 @@ interface components {
24117
24956
  locationRef: string;
24118
24957
  /** @description Media files of the product. */
24119
24958
  media?: {
24120
- /** @description Storage key of the media file. */
24959
+ /** @description Storage key of the media file, as returned by the media upload endpoint. */
24121
24960
  key: string;
24122
24961
  }[];
24123
24962
  /** @description Purchasable options for this product. */
@@ -24253,7 +25092,7 @@ interface components {
24253
25092
  featured?: boolean;
24254
25093
  /** @description Media files of the product. */
24255
25094
  media?: {
24256
- /** @description Storage key of the media file. */
25095
+ /** @description Storage key of the media file, as returned by the media upload endpoint. */
24257
25096
  key: string;
24258
25097
  }[];
24259
25098
  /** @description Purchasable options for this product. */
@@ -24370,6 +25209,22 @@ interface components {
24370
25209
  };
24371
25210
  };
24372
25211
  };
25212
+ createProductMedia: {
25213
+ content: {
25214
+ "application/json": {
25215
+ /** @description File to upload. */
25216
+ media: {
25217
+ /**
25218
+ * @description MIME type of the file to upload.
25219
+ * @enum {string}
25220
+ */
25221
+ mimeType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
25222
+ /** @description Size of the file in bytes. The upload is rejected when the body length differs. */
25223
+ size: number;
25224
+ };
25225
+ };
25226
+ };
25227
+ };
24373
25228
  assignSubscription: {
24374
25229
  content: {
24375
25230
  "application/json": {
@@ -27166,6 +28021,226 @@ interface operations {
27166
28021
  };
27167
28022
  };
27168
28023
  };
28024
+ getCheckIns: {
28025
+ parameters: {
28026
+ query: {
28027
+ /** @description Filter check-ins whose arrival is on or after this date (ISO 8601). Use with checkInDate[lte] for a range. */
28028
+ "checkInDate[gte]"?: string;
28029
+ /** @description Filter check-ins whose arrival is on or before this date (ISO 8601). Use with checkInDate[gte] for a range. */
28030
+ "checkInDate[lte]"?: string;
28031
+ /** @description Maximum number of check-ins per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
28032
+ limit?: number;
28033
+ /** @description UUID of the location. */
28034
+ locationRef: string;
28035
+ /** @description Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
28036
+ nextPageToken?: string;
28037
+ /** @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. */
28038
+ status?: string;
28039
+ /** @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. */
28040
+ type?: string;
28041
+ /** @description UUID of the user to filter check-ins by. Defaults to check-ins of every user. */
28042
+ userRef?: string;
28043
+ };
28044
+ header?: {
28045
+ /** @description The id of the network. Required when using bearer token authentication */
28046
+ "spacebring-network-id"?: string;
28047
+ };
28048
+ path?: never;
28049
+ cookie?: never;
28050
+ };
28051
+ requestBody?: never;
28052
+ responses: {
28053
+ /** @description OK */
28054
+ 200: {
28055
+ headers: {
28056
+ [name: string]: unknown;
28057
+ };
28058
+ content: {
28059
+ "application/json": components["schemas"]["getCheckIns"];
28060
+ };
28061
+ };
28062
+ /** @description Bad Request */
28063
+ 400: {
28064
+ headers: {
28065
+ [name: string]: unknown;
28066
+ };
28067
+ content: {
28068
+ "application/json": components["schemas"]["responseError"];
28069
+ };
28070
+ };
28071
+ /** @description Forbidden */
28072
+ 403: {
28073
+ headers: {
28074
+ [name: string]: unknown;
28075
+ };
28076
+ content: {
28077
+ "application/json": components["schemas"]["responseError"];
28078
+ };
28079
+ };
28080
+ /** @description Not Found */
28081
+ 404: {
28082
+ headers: {
28083
+ [name: string]: unknown;
28084
+ };
28085
+ content: {
28086
+ "application/json": components["schemas"]["responseError"];
28087
+ };
28088
+ };
28089
+ };
28090
+ };
28091
+ getCheckIn: {
28092
+ parameters: {
28093
+ query?: never;
28094
+ header?: {
28095
+ /** @description The id of the network. Required when using bearer token authentication */
28096
+ "spacebring-network-id"?: string;
28097
+ };
28098
+ path: {
28099
+ /** @description The ID of the check-in. */
28100
+ checkInId: string;
28101
+ };
28102
+ cookie?: never;
28103
+ };
28104
+ requestBody?: never;
28105
+ responses: {
28106
+ /** @description OK */
28107
+ 200: {
28108
+ headers: {
28109
+ [name: string]: unknown;
28110
+ };
28111
+ content: {
28112
+ "application/json": components["schemas"]["getCheckIn"];
28113
+ };
28114
+ };
28115
+ /** @description Bad Request */
28116
+ 400: {
28117
+ headers: {
28118
+ [name: string]: unknown;
28119
+ };
28120
+ content: {
28121
+ "application/json": components["schemas"]["responseError"];
28122
+ };
28123
+ };
28124
+ /** @description Forbidden */
28125
+ 403: {
28126
+ headers: {
28127
+ [name: string]: unknown;
28128
+ };
28129
+ content: {
28130
+ "application/json": components["schemas"]["responseError"];
28131
+ };
28132
+ };
28133
+ /** @description Not Found */
28134
+ 404: {
28135
+ headers: {
28136
+ [name: string]: unknown;
28137
+ };
28138
+ content: {
28139
+ "application/json": components["schemas"]["responseError"];
28140
+ };
28141
+ };
28142
+ };
28143
+ };
28144
+ checkIn: {
28145
+ parameters: {
28146
+ query?: never;
28147
+ header?: {
28148
+ /** @description The id of the network. Required when using bearer token authentication */
28149
+ "spacebring-network-id"?: string;
28150
+ };
28151
+ path?: never;
28152
+ cookie?: never;
28153
+ };
28154
+ requestBody: components["requestBodies"]["checkIn"];
28155
+ responses: {
28156
+ /** @description OK */
28157
+ 200: {
28158
+ headers: {
28159
+ [name: string]: unknown;
28160
+ };
28161
+ content: {
28162
+ "application/json": components["schemas"]["getCheckIn"];
28163
+ };
28164
+ };
28165
+ /** @description Bad Request */
28166
+ 400: {
28167
+ headers: {
28168
+ [name: string]: unknown;
28169
+ };
28170
+ content: {
28171
+ "application/json": components["schemas"]["responseError"];
28172
+ };
28173
+ };
28174
+ /** @description Forbidden */
28175
+ 403: {
28176
+ headers: {
28177
+ [name: string]: unknown;
28178
+ };
28179
+ content: {
28180
+ "application/json": components["schemas"]["responseError"];
28181
+ };
28182
+ };
28183
+ /** @description Not Found */
28184
+ 404: {
28185
+ headers: {
28186
+ [name: string]: unknown;
28187
+ };
28188
+ content: {
28189
+ "application/json": components["schemas"]["responseError"];
28190
+ };
28191
+ };
28192
+ };
28193
+ };
28194
+ checkOut: {
28195
+ parameters: {
28196
+ query?: never;
28197
+ header?: {
28198
+ /** @description The id of the network. Required when using bearer token authentication */
28199
+ "spacebring-network-id"?: string;
28200
+ };
28201
+ path?: never;
28202
+ cookie?: never;
28203
+ };
28204
+ requestBody: components["requestBodies"]["checkOut"];
28205
+ responses: {
28206
+ /** @description OK */
28207
+ 200: {
28208
+ headers: {
28209
+ [name: string]: unknown;
28210
+ };
28211
+ content: {
28212
+ "application/json": components["schemas"]["getCheckIn"];
28213
+ };
28214
+ };
28215
+ /** @description Bad Request */
28216
+ 400: {
28217
+ headers: {
28218
+ [name: string]: unknown;
28219
+ };
28220
+ content: {
28221
+ "application/json": components["schemas"]["responseError"];
28222
+ };
28223
+ };
28224
+ /** @description Forbidden */
28225
+ 403: {
28226
+ headers: {
28227
+ [name: string]: unknown;
28228
+ };
28229
+ content: {
28230
+ "application/json": components["schemas"]["responseError"];
28231
+ };
28232
+ };
28233
+ /** @description Not Found */
28234
+ 404: {
28235
+ headers: {
28236
+ [name: string]: unknown;
28237
+ };
28238
+ content: {
28239
+ "application/json": components["schemas"]["responseError"];
28240
+ };
28241
+ };
28242
+ };
28243
+ };
27169
28244
  getCompanies: {
27170
28245
  parameters: {
27171
28246
  query: {
@@ -27244,6 +28319,15 @@ interface operations {
27244
28319
  "application/json": components["schemas"]["responseError"];
27245
28320
  };
27246
28321
  };
28322
+ /** @description Conflict */
28323
+ 409: {
28324
+ headers: {
28325
+ [name: string]: unknown;
28326
+ };
28327
+ content: {
28328
+ "application/json": components["schemas"]["responseError"];
28329
+ };
28330
+ };
27247
28331
  };
27248
28332
  };
27249
28333
  getCompany: {
@@ -27310,6 +28394,11 @@ interface operations {
27310
28394
  state?: string;
27311
28395
  };
27312
28396
  legalName?: string;
28397
+ /** @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. */
28398
+ logo?: {
28399
+ /** @description Storage key of the logo file, as returned by the media upload endpoint. */
28400
+ key: string;
28401
+ } | null;
27313
28402
  metadata?: components["schemas"]["metadata"];
27314
28403
  notes?: string;
27315
28404
  taxId?: string;
@@ -27339,6 +28428,47 @@ interface operations {
27339
28428
  "application/json": components["schemas"]["responseError"];
27340
28429
  };
27341
28430
  };
28431
+ /** @description Conflict */
28432
+ 409: {
28433
+ headers: {
28434
+ [name: string]: unknown;
28435
+ };
28436
+ content: {
28437
+ "application/json": components["schemas"]["responseError"];
28438
+ };
28439
+ };
28440
+ };
28441
+ };
28442
+ createCompanyMedia: {
28443
+ parameters: {
28444
+ query?: never;
28445
+ header?: {
28446
+ /** @description The id of the network. Required when using bearer token authentication */
28447
+ "spacebring-network-id"?: string;
28448
+ };
28449
+ path?: never;
28450
+ cookie?: never;
28451
+ };
28452
+ requestBody: components["requestBodies"]["createCompanyMedia"];
28453
+ responses: {
28454
+ /** @description Created */
28455
+ 201: {
28456
+ headers: {
28457
+ [name: string]: unknown;
28458
+ };
28459
+ content: {
28460
+ "application/json": components["schemas"]["createCompanyMedia"];
28461
+ };
28462
+ };
28463
+ /** @description Bad Request */
28464
+ 400: {
28465
+ headers: {
28466
+ [name: string]: unknown;
28467
+ };
28468
+ content: {
28469
+ "application/json": components["schemas"]["responseError"];
28470
+ };
28471
+ };
27342
28472
  };
27343
28473
  };
27344
28474
  getMemberships: {
@@ -27757,7 +28887,108 @@ interface operations {
27757
28887
  };
27758
28888
  };
27759
28889
  };
27760
- updateContract: {
28890
+ updateContract: {
28891
+ parameters: {
28892
+ query?: never;
28893
+ header?: {
28894
+ /** @description The id of the network. Required when using bearer token authentication */
28895
+ "spacebring-network-id"?: string;
28896
+ };
28897
+ path: {
28898
+ /** @description The id of the contract. */
28899
+ contractId: string;
28900
+ };
28901
+ cookie?: never;
28902
+ };
28903
+ requestBody: components["requestBodies"]["updateContract"];
28904
+ responses: {
28905
+ /** @description No Content */
28906
+ 204: {
28907
+ headers: {
28908
+ [name: string]: unknown;
28909
+ };
28910
+ content?: never;
28911
+ };
28912
+ /** @description Bad Request */
28913
+ 400: {
28914
+ headers: {
28915
+ [name: string]: unknown;
28916
+ };
28917
+ content: {
28918
+ "application/json": components["schemas"]["responseError"];
28919
+ };
28920
+ };
28921
+ };
28922
+ };
28923
+ issueContract: {
28924
+ parameters: {
28925
+ query?: never;
28926
+ header?: {
28927
+ /** @description The id of the network. Required when using bearer token authentication */
28928
+ "spacebring-network-id"?: string;
28929
+ };
28930
+ path: {
28931
+ /** @description The id of the contract. */
28932
+ contractId: string;
28933
+ };
28934
+ cookie?: never;
28935
+ };
28936
+ requestBody: components["requestBodies"]["issueContract"];
28937
+ responses: {
28938
+ /** @description OK */
28939
+ 200: {
28940
+ headers: {
28941
+ [name: string]: unknown;
28942
+ };
28943
+ content: {
28944
+ "application/json": components["schemas"]["getContract"];
28945
+ };
28946
+ };
28947
+ /** @description Bad Request */
28948
+ 400: {
28949
+ headers: {
28950
+ [name: string]: unknown;
28951
+ };
28952
+ content: {
28953
+ "application/json": components["schemas"]["responseError"];
28954
+ };
28955
+ };
28956
+ };
28957
+ };
28958
+ resendContract: {
28959
+ parameters: {
28960
+ query?: never;
28961
+ header?: {
28962
+ /** @description The id of the network. Required when using bearer token authentication */
28963
+ "spacebring-network-id"?: string;
28964
+ };
28965
+ path: {
28966
+ /** @description The id of the contract. */
28967
+ contractId: string;
28968
+ };
28969
+ cookie?: never;
28970
+ };
28971
+ requestBody?: never;
28972
+ responses: {
28973
+ /** @description No Content */
28974
+ 204: {
28975
+ headers: {
28976
+ [name: string]: unknown;
28977
+ };
28978
+ content?: never;
28979
+ };
28980
+ /** @description Bad Request */
28981
+ 400: {
28982
+ headers: {
28983
+ [name: string]: unknown;
28984
+ };
28985
+ content: {
28986
+ "application/json": components["schemas"]["responseError"];
28987
+ };
28988
+ };
28989
+ };
28990
+ };
28991
+ declineContract: {
27761
28992
  parameters: {
27762
28993
  query?: never;
27763
28994
  header?: {
@@ -27767,10 +28998,12 @@ interface operations {
27767
28998
  path: {
27768
28999
  /** @description The id of the contract. */
27769
29000
  contractId: string;
29001
+ /** @description The id of the contract signer. */
29002
+ signerId: string;
27770
29003
  };
27771
29004
  cookie?: never;
27772
29005
  };
27773
- requestBody: components["requestBodies"]["updateContract"];
29006
+ requestBody?: never;
27774
29007
  responses: {
27775
29008
  /** @description No Content */
27776
29009
  204: {
@@ -27790,42 +29023,7 @@ interface operations {
27790
29023
  };
27791
29024
  };
27792
29025
  };
27793
- issueContract: {
27794
- parameters: {
27795
- query?: never;
27796
- header?: {
27797
- /** @description The id of the network. Required when using bearer token authentication */
27798
- "spacebring-network-id"?: string;
27799
- };
27800
- path: {
27801
- /** @description The id of the contract. */
27802
- contractId: string;
27803
- };
27804
- cookie?: never;
27805
- };
27806
- requestBody: components["requestBodies"]["issueContract"];
27807
- responses: {
27808
- /** @description OK */
27809
- 200: {
27810
- headers: {
27811
- [name: string]: unknown;
27812
- };
27813
- content: {
27814
- "application/json": components["schemas"]["getContract"];
27815
- };
27816
- };
27817
- /** @description Bad Request */
27818
- 400: {
27819
- headers: {
27820
- [name: string]: unknown;
27821
- };
27822
- content: {
27823
- "application/json": components["schemas"]["responseError"];
27824
- };
27825
- };
27826
- };
27827
- };
27828
- resendContract: {
29026
+ signContract: {
27829
29027
  parameters: {
27830
29028
  query?: never;
27831
29029
  header?: {
@@ -27835,6 +29033,8 @@ interface operations {
27835
29033
  path: {
27836
29034
  /** @description The id of the contract. */
27837
29035
  contractId: string;
29036
+ /** @description The id of the contract signer. */
29037
+ signerId: string;
27838
29038
  };
27839
29039
  cookie?: never;
27840
29040
  };
@@ -27858,7 +29058,7 @@ interface operations {
27858
29058
  };
27859
29059
  };
27860
29060
  };
27861
- declineContract: {
29061
+ terminateContract: {
27862
29062
  parameters: {
27863
29063
  query?: never;
27864
29064
  header?: {
@@ -27868,12 +29068,10 @@ interface operations {
27868
29068
  path: {
27869
29069
  /** @description The id of the contract. */
27870
29070
  contractId: string;
27871
- /** @description The id of the contract signer. */
27872
- signerId: string;
27873
29071
  };
27874
29072
  cookie?: never;
27875
29073
  };
27876
- requestBody?: never;
29074
+ requestBody: components["requestBodies"]["terminateContract"];
27877
29075
  responses: {
27878
29076
  /** @description No Content */
27879
29077
  204: {
@@ -27893,29 +29091,33 @@ interface operations {
27893
29091
  };
27894
29092
  };
27895
29093
  };
27896
- signContract: {
29094
+ getTemplates: {
27897
29095
  parameters: {
27898
- query?: never;
29096
+ query: {
29097
+ /** @description Maximum number of templates per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
29098
+ limit?: number;
29099
+ /** @description UUID of the location. */
29100
+ locationRef: string;
29101
+ /** @description Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
29102
+ nextPageToken?: string;
29103
+ };
27899
29104
  header?: {
27900
29105
  /** @description The id of the network. Required when using bearer token authentication */
27901
29106
  "spacebring-network-id"?: string;
27902
29107
  };
27903
- path: {
27904
- /** @description The id of the contract. */
27905
- contractId: string;
27906
- /** @description The id of the contract signer. */
27907
- signerId: string;
27908
- };
29108
+ path?: never;
27909
29109
  cookie?: never;
27910
29110
  };
27911
29111
  requestBody?: never;
27912
29112
  responses: {
27913
- /** @description No Content */
27914
- 204: {
29113
+ /** @description OK */
29114
+ 200: {
27915
29115
  headers: {
27916
29116
  [name: string]: unknown;
27917
29117
  };
27918
- content?: never;
29118
+ content: {
29119
+ "application/json": components["schemas"]["getTemplates"];
29120
+ };
27919
29121
  };
27920
29122
  /** @description Bad Request */
27921
29123
  400: {
@@ -27928,27 +29130,26 @@ interface operations {
27928
29130
  };
27929
29131
  };
27930
29132
  };
27931
- terminateContract: {
29133
+ createTemplate: {
27932
29134
  parameters: {
27933
29135
  query?: never;
27934
29136
  header?: {
27935
29137
  /** @description The id of the network. Required when using bearer token authentication */
27936
29138
  "spacebring-network-id"?: string;
27937
29139
  };
27938
- path: {
27939
- /** @description The id of the contract. */
27940
- contractId: string;
27941
- };
29140
+ path?: never;
27942
29141
  cookie?: never;
27943
29142
  };
27944
- requestBody: components["requestBodies"]["terminateContract"];
29143
+ requestBody: components["requestBodies"]["createTemplate"];
27945
29144
  responses: {
27946
- /** @description No Content */
27947
- 204: {
29145
+ /** @description Created */
29146
+ 201: {
27948
29147
  headers: {
27949
29148
  [name: string]: unknown;
27950
29149
  };
27951
- content?: never;
29150
+ content: {
29151
+ "application/json": components["schemas"]["getTemplate"];
29152
+ };
27952
29153
  };
27953
29154
  /** @description Bad Request */
27954
29155
  400: {
@@ -27959,38 +29160,8 @@ interface operations {
27959
29160
  "application/json": components["schemas"]["responseError"];
27960
29161
  };
27961
29162
  };
27962
- };
27963
- };
27964
- getTemplates: {
27965
- parameters: {
27966
- query: {
27967
- /** @description Maximum number of templates per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
27968
- limit?: number;
27969
- /** @description UUID of the location. */
27970
- locationRef: string;
27971
- /** @description Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
27972
- nextPageToken?: string;
27973
- };
27974
- header?: {
27975
- /** @description The id of the network. Required when using bearer token authentication */
27976
- "spacebring-network-id"?: string;
27977
- };
27978
- path?: never;
27979
- cookie?: never;
27980
- };
27981
- requestBody?: never;
27982
- responses: {
27983
- /** @description OK */
27984
- 200: {
27985
- headers: {
27986
- [name: string]: unknown;
27987
- };
27988
- content: {
27989
- "application/json": components["schemas"]["getTemplates"];
27990
- };
27991
- };
27992
- /** @description Bad Request */
27993
- 400: {
29163
+ /** @description Conflict */
29164
+ 409: {
27994
29165
  headers: {
27995
29166
  [name: string]: unknown;
27996
29167
  };
@@ -28000,7 +29171,7 @@ interface operations {
28000
29171
  };
28001
29172
  };
28002
29173
  };
28003
- createTemplate: {
29174
+ createTemplateMedia: {
28004
29175
  parameters: {
28005
29176
  query?: never;
28006
29177
  header?: {
@@ -28010,7 +29181,7 @@ interface operations {
28010
29181
  path?: never;
28011
29182
  cookie?: never;
28012
29183
  };
28013
- requestBody: components["requestBodies"]["createTemplate"];
29184
+ requestBody: components["requestBodies"]["createTemplateMedia"];
28014
29185
  responses: {
28015
29186
  /** @description Created */
28016
29187
  201: {
@@ -28018,7 +29189,7 @@ interface operations {
28018
29189
  [name: string]: unknown;
28019
29190
  };
28020
29191
  content: {
28021
- "application/json": components["schemas"]["getTemplate"];
29192
+ "application/json": components["schemas"]["createTemplateMedia"];
28022
29193
  };
28023
29194
  };
28024
29195
  /** @description Bad Request */
@@ -28131,6 +29302,15 @@ interface operations {
28131
29302
  "application/json": components["schemas"]["responseError"];
28132
29303
  };
28133
29304
  };
29305
+ /** @description Conflict */
29306
+ 409: {
29307
+ headers: {
29308
+ [name: string]: unknown;
29309
+ };
29310
+ content: {
29311
+ "application/json": components["schemas"]["responseError"];
29312
+ };
29313
+ };
28134
29314
  };
28135
29315
  };
28136
29316
  duplicateTemplate: {
@@ -29175,6 +30355,15 @@ interface operations {
29175
30355
  "application/json": components["schemas"]["responseError"];
29176
30356
  };
29177
30357
  };
30358
+ /** @description Conflict */
30359
+ 409: {
30360
+ headers: {
30361
+ [name: string]: unknown;
30362
+ };
30363
+ content: {
30364
+ "application/json": components["schemas"]["responseError"];
30365
+ };
30366
+ };
29178
30367
  };
29179
30368
  };
29180
30369
  getFeedPost: {
@@ -29249,6 +30438,15 @@ interface operations {
29249
30438
  "application/json": components["schemas"]["responseError"];
29250
30439
  };
29251
30440
  };
30441
+ /** @description Conflict */
30442
+ 409: {
30443
+ headers: {
30444
+ [name: string]: unknown;
30445
+ };
30446
+ content: {
30447
+ "application/json": components["schemas"]["responseError"];
30448
+ };
30449
+ };
29252
30450
  };
29253
30451
  };
29254
30452
  deleteFeedPost: {
@@ -29395,7 +30593,142 @@ interface operations {
29395
30593
  };
29396
30594
  };
29397
30595
  };
29398
- deleteLikeForPost: {
30596
+ deleteLikeForPost: {
30597
+ parameters: {
30598
+ query?: never;
30599
+ header?: {
30600
+ /** @description The id of the network. Required when using bearer token authentication */
30601
+ "spacebring-network-id"?: string;
30602
+ };
30603
+ path: {
30604
+ /** @description The id of the post. */
30605
+ id: string;
30606
+ };
30607
+ cookie?: never;
30608
+ };
30609
+ requestBody?: never;
30610
+ responses: {
30611
+ /** @description No Content */
30612
+ 204: {
30613
+ headers: {
30614
+ [name: string]: unknown;
30615
+ };
30616
+ content?: never;
30617
+ };
30618
+ /** @description Bad Request */
30619
+ 400: {
30620
+ headers: {
30621
+ [name: string]: unknown;
30622
+ };
30623
+ content: {
30624
+ "application/json": components["schemas"]["responseError"];
30625
+ };
30626
+ };
30627
+ };
30628
+ };
30629
+ createFeedPostComment: {
30630
+ parameters: {
30631
+ query?: never;
30632
+ header?: {
30633
+ /** @description The id of the network. Required when using bearer token authentication */
30634
+ "spacebring-network-id"?: string;
30635
+ };
30636
+ path?: never;
30637
+ cookie?: never;
30638
+ };
30639
+ requestBody: components["requestBodies"]["createFeedPostComment"];
30640
+ responses: {
30641
+ /** @description Created */
30642
+ 201: {
30643
+ headers: {
30644
+ [name: string]: unknown;
30645
+ };
30646
+ content: {
30647
+ "application/json": {
30648
+ comment?: components["schemas"]["postComment"];
30649
+ };
30650
+ };
30651
+ };
30652
+ /** @description Bad Request */
30653
+ 400: {
30654
+ headers: {
30655
+ [name: string]: unknown;
30656
+ };
30657
+ content: {
30658
+ "application/json": components["schemas"]["responseError"];
30659
+ };
30660
+ };
30661
+ };
30662
+ };
30663
+ deletePostComment: {
30664
+ parameters: {
30665
+ query?: never;
30666
+ header?: {
30667
+ /** @description The id of the network. Required when using bearer token authentication */
30668
+ "spacebring-network-id"?: string;
30669
+ };
30670
+ path: {
30671
+ /** @description The id of the post comment. */
30672
+ id: string;
30673
+ };
30674
+ cookie?: never;
30675
+ };
30676
+ requestBody?: never;
30677
+ responses: {
30678
+ /** @description No content */
30679
+ 204: {
30680
+ headers: {
30681
+ [name: string]: unknown;
30682
+ };
30683
+ content?: never;
30684
+ };
30685
+ /** @description Bad request */
30686
+ 400: {
30687
+ headers: {
30688
+ [name: string]: unknown;
30689
+ };
30690
+ content?: never;
30691
+ };
30692
+ };
30693
+ };
30694
+ createLikeForPostComment: {
30695
+ parameters: {
30696
+ query?: never;
30697
+ header?: {
30698
+ /** @description The id of the network. Required when using bearer token authentication */
30699
+ "spacebring-network-id"?: string;
30700
+ };
30701
+ path: {
30702
+ /** @description The id of the post comment. */
30703
+ id: string;
30704
+ };
30705
+ cookie?: never;
30706
+ };
30707
+ requestBody?: never;
30708
+ responses: {
30709
+ /** @description Created */
30710
+ 201: {
30711
+ headers: {
30712
+ [name: string]: unknown;
30713
+ };
30714
+ content: {
30715
+ "application/json": {
30716
+ like?: components["schemas"]["postLike"];
30717
+ };
30718
+ };
30719
+ };
30720
+ /** @description Bad Request */
30721
+ 400: {
30722
+ headers: {
30723
+ [name: string]: unknown;
30724
+ };
30725
+ content: {
30726
+ "application/json": components["schemas"]["responseError"];
30727
+ };
30728
+ };
30729
+ };
30730
+ };
30731
+ deleteLikeForPostComment: {
29399
30732
  parameters: {
29400
30733
  query?: never;
29401
30734
  header?: {
@@ -29403,14 +30736,14 @@ interface operations {
29403
30736
  "spacebring-network-id"?: string;
29404
30737
  };
29405
30738
  path: {
29406
- /** @description The id of the post. */
30739
+ /** @description The id of the post comment. */
29407
30740
  id: string;
29408
30741
  };
29409
30742
  cookie?: never;
29410
30743
  };
29411
30744
  requestBody?: never;
29412
30745
  responses: {
29413
- /** @description No Content */
30746
+ /** @description No content */
29414
30747
  204: {
29415
30748
  headers: {
29416
30749
  [name: string]: unknown;
@@ -29428,7 +30761,7 @@ interface operations {
29428
30761
  };
29429
30762
  };
29430
30763
  };
29431
- createFeedPostComment: {
30764
+ createFeedPostMedia: {
29432
30765
  parameters: {
29433
30766
  query?: never;
29434
30767
  header?: {
@@ -29438,75 +30771,7 @@ interface operations {
29438
30771
  path?: never;
29439
30772
  cookie?: never;
29440
30773
  };
29441
- requestBody: components["requestBodies"]["createFeedPostComment"];
29442
- responses: {
29443
- /** @description Created */
29444
- 201: {
29445
- headers: {
29446
- [name: string]: unknown;
29447
- };
29448
- content: {
29449
- "application/json": {
29450
- comment?: components["schemas"]["postComment"];
29451
- };
29452
- };
29453
- };
29454
- /** @description Bad Request */
29455
- 400: {
29456
- headers: {
29457
- [name: string]: unknown;
29458
- };
29459
- content: {
29460
- "application/json": components["schemas"]["responseError"];
29461
- };
29462
- };
29463
- };
29464
- };
29465
- deletePostComment: {
29466
- parameters: {
29467
- query?: never;
29468
- header?: {
29469
- /** @description The id of the network. Required when using bearer token authentication */
29470
- "spacebring-network-id"?: string;
29471
- };
29472
- path: {
29473
- /** @description The id of the post comment. */
29474
- id: string;
29475
- };
29476
- cookie?: never;
29477
- };
29478
- requestBody?: never;
29479
- responses: {
29480
- /** @description No content */
29481
- 204: {
29482
- headers: {
29483
- [name: string]: unknown;
29484
- };
29485
- content?: never;
29486
- };
29487
- /** @description Bad request */
29488
- 400: {
29489
- headers: {
29490
- [name: string]: unknown;
29491
- };
29492
- content?: never;
29493
- };
29494
- };
29495
- };
29496
- createLikeForPostComment: {
29497
- parameters: {
29498
- query?: never;
29499
- header?: {
29500
- /** @description The id of the network. Required when using bearer token authentication */
29501
- "spacebring-network-id"?: string;
29502
- };
29503
- path: {
29504
- /** @description The id of the post comment. */
29505
- id: string;
29506
- };
29507
- cookie?: never;
29508
- };
29509
- requestBody?: never;
30774
+ requestBody: components["requestBodies"]["createFeedPostMedia"];
29510
30775
  responses: {
29511
30776
  /** @description Created */
29512
30777
  201: {
@@ -29514,9 +30779,7 @@ interface operations {
29514
30779
  [name: string]: unknown;
29515
30780
  };
29516
30781
  content: {
29517
- "application/json": {
29518
- like?: components["schemas"]["postLike"];
29519
- };
30782
+ "application/json": components["schemas"]["createFeedPostMedia"];
29520
30783
  };
29521
30784
  };
29522
30785
  /** @description Bad Request */
@@ -29530,39 +30793,6 @@ interface operations {
29530
30793
  };
29531
30794
  };
29532
30795
  };
29533
- deleteLikeForPostComment: {
29534
- parameters: {
29535
- query?: never;
29536
- header?: {
29537
- /** @description The id of the network. Required when using bearer token authentication */
29538
- "spacebring-network-id"?: string;
29539
- };
29540
- path: {
29541
- /** @description The id of the post comment. */
29542
- id: string;
29543
- };
29544
- cookie?: never;
29545
- };
29546
- requestBody?: never;
29547
- responses: {
29548
- /** @description No content */
29549
- 204: {
29550
- headers: {
29551
- [name: string]: unknown;
29552
- };
29553
- content?: never;
29554
- };
29555
- /** @description Bad Request */
29556
- 400: {
29557
- headers: {
29558
- [name: string]: unknown;
29559
- };
29560
- content: {
29561
- "application/json": components["schemas"]["responseError"];
29562
- };
29563
- };
29564
- };
29565
- };
29566
30796
  getFloors: {
29567
30797
  parameters: {
29568
30798
  query: {
@@ -29721,6 +30951,15 @@ interface operations {
29721
30951
  "application/json": components["schemas"]["responseError"];
29722
30952
  };
29723
30953
  };
30954
+ /** @description Conflict */
30955
+ 409: {
30956
+ headers: {
30957
+ [name: string]: unknown;
30958
+ };
30959
+ content: {
30960
+ "application/json": components["schemas"]["responseError"];
30961
+ };
30962
+ };
29724
30963
  };
29725
30964
  };
29726
30965
  getGuide: {
@@ -29880,6 +31119,47 @@ interface operations {
29880
31119
  "application/json": components["schemas"]["responseError"];
29881
31120
  };
29882
31121
  };
31122
+ /** @description Conflict */
31123
+ 409: {
31124
+ headers: {
31125
+ [name: string]: unknown;
31126
+ };
31127
+ content: {
31128
+ "application/json": components["schemas"]["responseError"];
31129
+ };
31130
+ };
31131
+ };
31132
+ };
31133
+ createGuideMedia: {
31134
+ parameters: {
31135
+ query?: never;
31136
+ header?: {
31137
+ /** @description The id of the network. Required when using bearer token authentication */
31138
+ "spacebring-network-id"?: string;
31139
+ };
31140
+ path?: never;
31141
+ cookie?: never;
31142
+ };
31143
+ requestBody: components["requestBodies"]["createGuideMedia"];
31144
+ responses: {
31145
+ /** @description Created */
31146
+ 201: {
31147
+ headers: {
31148
+ [name: string]: unknown;
31149
+ };
31150
+ content: {
31151
+ "application/json": components["schemas"]["createGuideMedia"];
31152
+ };
31153
+ };
31154
+ /** @description Bad Request */
31155
+ 400: {
31156
+ headers: {
31157
+ [name: string]: unknown;
31158
+ };
31159
+ content: {
31160
+ "application/json": components["schemas"]["responseError"];
31161
+ };
31162
+ };
29883
31163
  };
29884
31164
  };
29885
31165
  getLocations: {
@@ -30428,6 +31708,15 @@ interface operations {
30428
31708
  "application/json": components["schemas"]["responseError"];
30429
31709
  };
30430
31710
  };
31711
+ /** @description Conflict */
31712
+ 409: {
31713
+ headers: {
31714
+ [name: string]: unknown;
31715
+ };
31716
+ content: {
31717
+ "application/json": components["schemas"]["responseError"];
31718
+ };
31719
+ };
30431
31720
  };
30432
31721
  };
30433
31722
  getAssignments: {
@@ -30588,6 +31877,38 @@ interface operations {
30588
31877
  };
30589
31878
  };
30590
31879
  };
31880
+ createResourceMedia: {
31881
+ parameters: {
31882
+ query?: never;
31883
+ header?: {
31884
+ /** @description The id of the network. Required when using bearer token authentication */
31885
+ "spacebring-network-id"?: string;
31886
+ };
31887
+ path?: never;
31888
+ cookie?: never;
31889
+ };
31890
+ requestBody: components["requestBodies"]["createResourceMedia"];
31891
+ responses: {
31892
+ /** @description Created */
31893
+ 201: {
31894
+ headers: {
31895
+ [name: string]: unknown;
31896
+ };
31897
+ content: {
31898
+ "application/json": components["schemas"]["createResourceMedia"];
31899
+ };
31900
+ };
31901
+ /** @description Bad Request */
31902
+ 400: {
31903
+ headers: {
31904
+ [name: string]: unknown;
31905
+ };
31906
+ content: {
31907
+ "application/json": components["schemas"]["responseError"];
31908
+ };
31909
+ };
31910
+ };
31911
+ };
30591
31912
  getResource: {
30592
31913
  parameters: {
30593
31914
  query?: never;
@@ -30654,6 +31975,15 @@ interface operations {
30654
31975
  "application/json": components["schemas"]["responseError"];
30655
31976
  };
30656
31977
  };
31978
+ /** @description Conflict */
31979
+ 409: {
31980
+ headers: {
31981
+ [name: string]: unknown;
31982
+ };
31983
+ content: {
31984
+ "application/json": components["schemas"]["responseError"];
31985
+ };
31986
+ };
30657
31987
  };
30658
31988
  };
30659
31989
  getResourceAvailability: {
@@ -31155,6 +32485,15 @@ interface operations {
31155
32485
  "application/json": components["schemas"]["responseError"];
31156
32486
  };
31157
32487
  };
32488
+ /** @description Conflict */
32489
+ 409: {
32490
+ headers: {
32491
+ [name: string]: unknown;
32492
+ };
32493
+ content: {
32494
+ "application/json": components["schemas"]["responseError"];
32495
+ };
32496
+ };
31158
32497
  };
31159
32498
  };
31160
32499
  getProduct: {
@@ -31227,6 +32566,15 @@ interface operations {
31227
32566
  "application/json": components["schemas"]["responseError"];
31228
32567
  };
31229
32568
  };
32569
+ /** @description Conflict */
32570
+ 409: {
32571
+ headers: {
32572
+ [name: string]: unknown;
32573
+ };
32574
+ content: {
32575
+ "application/json": components["schemas"]["responseError"];
32576
+ };
32577
+ };
31230
32578
  };
31231
32579
  };
31232
32580
  deleteProduct: {
@@ -31259,6 +32607,38 @@ interface operations {
31259
32607
  };
31260
32608
  };
31261
32609
  };
32610
+ createProductMedia: {
32611
+ parameters: {
32612
+ query?: never;
32613
+ header?: {
32614
+ /** @description The id of the network. Required when using bearer token authentication */
32615
+ "spacebring-network-id"?: string;
32616
+ };
32617
+ path?: never;
32618
+ cookie?: never;
32619
+ };
32620
+ requestBody: components["requestBodies"]["createProductMedia"];
32621
+ responses: {
32622
+ /** @description Created */
32623
+ 201: {
32624
+ headers: {
32625
+ [name: string]: unknown;
32626
+ };
32627
+ content: {
32628
+ "application/json": components["schemas"]["createProductMedia"];
32629
+ };
32630
+ };
32631
+ /** @description Bad Request */
32632
+ 400: {
32633
+ headers: {
32634
+ [name: string]: unknown;
32635
+ };
32636
+ content: {
32637
+ "application/json": components["schemas"]["responseError"];
32638
+ };
32639
+ };
32640
+ };
32641
+ };
31262
32642
  getOrders: {
31263
32643
  parameters: {
31264
32644
  query?: {
@@ -33421,6 +34801,8 @@ type UpdateSubscriptionItemBody = NonNullable<NonNullable<operations["updateSubs
33421
34801
  type Order = NonNullable<operations["getOrder"]["responses"][200]["content"]["application/json"]["order"]>;
33422
34802
  /** A Product entity as returned by the Spacebring API. */
33423
34803
  type Product = NonNullable<components["schemas"]["product"]>;
34804
+ /** A ProductMedia entity as returned by the Spacebring API. */
34805
+ type ProductMedia = NonNullable<operations["createProductMedia"]["responses"][201]["content"]["application/json"]["media"]>;
33424
34806
  /** A ShopCategory entity as returned by the Spacebring API. */
33425
34807
  type ShopCategory = NonNullable<components["schemas"]["shopCategory"]>;
33426
34808
  /** Query parameters for `sb.shop.orders.list()`. */
@@ -33472,6 +34854,8 @@ interface GetShopCategoriesQuery {
33472
34854
  }
33473
34855
  /** Request body for `sb.shop.products.create()`. */
33474
34856
  type CreateProductBody = NonNullable<NonNullable<operations["createProduct"]["requestBody"]>["content"]["application/json"]["product"]>;
34857
+ /** Request body for `sb.shop.products.createMedia()`. */
34858
+ type CreateProductMediaBody = NonNullable<NonNullable<operations["createProductMedia"]["requestBody"]>["content"]["application/json"]["media"]>;
33475
34859
  /** Request body for `sb.shop.categories.create()`. */
33476
34860
  type CreateShopCategoryBody = NonNullable<NonNullable<operations["createShopCategory"]["requestBody"]>["content"]["application/json"]["category"]>;
33477
34861
  /** Request body for `sb.shop.products.update()`. */
@@ -33487,6 +34871,8 @@ type Booking = NonNullable<operations["getBooking"]["responses"][200]["content"]
33487
34871
  type GetResourceAvailability = NonNullable<components["schemas"]["getResourceAvailability"]>;
33488
34872
  /** A Resource entity as returned by the Spacebring API. */
33489
34873
  type Resource = NonNullable<operations["getResource"]["responses"][200]["content"]["application/json"]["resource"]>;
34874
+ /** A ResourceMedia entity as returned by the Spacebring API. */
34875
+ type ResourceMedia = NonNullable<operations["createResourceMedia"]["responses"][201]["content"]["application/json"]["media"]>;
33490
34876
  /** Query parameters for `sb.resources.assignments.list()`. */
33491
34877
  interface GetAssignmentsQuery {
33492
34878
  /** 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 +34954,8 @@ type CreateAssignmentBody = NonNullable<NonNullable<operations["createAssignment
33568
34954
  type CreateBookingBody = NonNullable<operations["createBooking"]["requestBody"]>["content"]["application/json"];
33569
34955
  /** Request body for `sb.resources.create()`. */
33570
34956
  type CreateResourceBody = NonNullable<NonNullable<operations["createResource"]["requestBody"]>["content"]["application/json"]["resource"]>;
34957
+ /** Request body for `sb.resources.createMedia()`. */
34958
+ type CreateResourceMediaBody = NonNullable<NonNullable<operations["createResourceMedia"]["requestBody"]>["content"]["application/json"]["media"]>;
33571
34959
  /** Request body for `sb.resources.getResourceAvailability()`. */
33572
34960
  type GetResourceAvailabilityBody = NonNullable<operations["getResourceAvailability"]["requestBody"]>["content"]["application/json"];
33573
34961
  /** Request body for `sb.resources.assignments.update()`. */
@@ -33631,6 +35019,8 @@ type Location = NonNullable<components["schemas"]["location"]>;
33631
35019
 
33632
35020
  /** A Guide entity as returned by the Spacebring API. */
33633
35021
  type Guide = NonNullable<components["schemas"]["guide"]>;
35022
+ /** A GuideMedia entity as returned by the Spacebring API. */
35023
+ type GuideMedia = NonNullable<operations["createGuideMedia"]["responses"][201]["content"]["application/json"]["media"]>;
33634
35024
  /** Query parameters for `sb.guides.list()`. */
33635
35025
  interface GetGuidesQuery {
33636
35026
  /** Maximum number of guides per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
@@ -33642,6 +35032,8 @@ interface GetGuidesQuery {
33642
35032
  }
33643
35033
  /** Request body for `sb.guides.create()`. */
33644
35034
  type CreateGuideBody = NonNullable<NonNullable<operations["createGuide"]["requestBody"]>["content"]["application/json"]["guide"]>;
35035
+ /** Request body for `sb.guides.createMedia()`. */
35036
+ type CreateGuideMediaBody = NonNullable<NonNullable<operations["createGuideMedia"]["requestBody"]>["content"]["application/json"]["media"]>;
33645
35037
  /** Request body for `sb.guides.update()`. */
33646
35038
  type PatchGuideBody = NonNullable<NonNullable<operations["patchGuide"]["requestBody"]>["content"]["application/json"]["guide"]>;
33647
35039
 
@@ -33657,6 +35049,8 @@ interface GetFloorsQuery {
33657
35049
 
33658
35050
  /** A Comment entity as returned by the Spacebring API. */
33659
35051
  type Comment = NonNullable<components["schemas"]["postComment"]>;
35052
+ /** A FeedMedia entity as returned by the Spacebring API. */
35053
+ type FeedMedia = NonNullable<operations["createFeedPostMedia"]["responses"][201]["content"]["application/json"]["media"]>;
33660
35054
  /** A Like entity as returned by the Spacebring API. */
33661
35055
  type Like = NonNullable<components["schemas"]["postLike"]>;
33662
35056
  /** A Post entity as returned by the Spacebring API. */
@@ -33674,6 +35068,8 @@ interface GetFeedPostsQuery {
33674
35068
  type CreateFeedPostBody = NonNullable<NonNullable<operations["createFeedPost"]["requestBody"]>["content"]["application/json"]["post"]>;
33675
35069
  /** Request body for `sb.feed.comments.create()`. */
33676
35070
  type CreateFeedPostCommentBody = NonNullable<NonNullable<operations["createFeedPostComment"]["requestBody"]>["content"]["application/json"]["comment"]>;
35071
+ /** Request body for `sb.feed.createMedia()`. */
35072
+ type CreateFeedPostMediaBody = NonNullable<NonNullable<operations["createFeedPostMedia"]["requestBody"]>["content"]["application/json"]["media"]>;
33677
35073
  /** Request body for `sb.feed.posts.update()`. */
33678
35074
  type UpdateFeedPostBody = NonNullable<NonNullable<operations["updateFeedPost"]["requestBody"]>["content"]["application/json"]["post"]>;
33679
35075
 
@@ -33774,6 +35170,8 @@ type UpdateCouponBody = NonNullable<NonNullable<operations["updateCoupon"]["requ
33774
35170
  type Contract = NonNullable<operations["getContract"]["responses"][200]["content"]["application/json"]["contract"]>;
33775
35171
  /** A Template entity as returned by the Spacebring API. */
33776
35172
  type Template = NonNullable<operations["getTemplate"]["responses"][200]["content"]["application/json"]["template"]>;
35173
+ /** A TemplateMedia entity as returned by the Spacebring API. */
35174
+ type TemplateMedia = NonNullable<operations["createTemplateMedia"]["responses"][201]["content"]["application/json"]["media"]>;
33777
35175
  /** Query parameters for `sb.contracts.list()`. */
33778
35176
  interface GetContractsQuery {
33779
35177
  /** Filter contracts created on or after this date (ISO 8601). Use with createDate[lte] for a range. */
@@ -33813,6 +35211,8 @@ interface GetTemplatesQuery {
33813
35211
  type CreateContractBody = NonNullable<NonNullable<operations["createContract"]["requestBody"]>["content"]["application/json"]["contract"]>;
33814
35212
  /** Request body for `sb.contracts.templates.create()`. */
33815
35213
  type CreateTemplateBody = NonNullable<NonNullable<operations["createTemplate"]["requestBody"]>["content"]["application/json"]["template"]>;
35214
+ /** Request body for `sb.contracts.templates.createMedia()`. */
35215
+ type CreateTemplateMediaBody = NonNullable<NonNullable<operations["createTemplateMedia"]["requestBody"]>["content"]["application/json"]["media"]>;
33816
35216
  /** Request body for `sb.contracts.issue()`. */
33817
35217
  type IssueContractBody = NonNullable<NonNullable<operations["issueContract"]["requestBody"]>["content"]["application/json"]["signatureMethod"]>;
33818
35218
  /** Request body for `sb.contracts.terminate()`. */
@@ -33824,6 +35224,8 @@ type UpdateTemplateBody = NonNullable<NonNullable<operations["updateTemplate"]["
33824
35224
 
33825
35225
  /** A Company entity as returned by the Spacebring API. */
33826
35226
  type Company = NonNullable<components["schemas"]["company"]>;
35227
+ /** A CompanyMedia entity as returned by the Spacebring API. */
35228
+ type CompanyMedia = NonNullable<operations["createCompanyMedia"]["responses"][201]["content"]["application/json"]["media"]>;
33827
35229
  /** A Membership entity as returned by the Spacebring API. */
33828
35230
  type Membership = NonNullable<components["schemas"]["membership"]>;
33829
35231
  /** Query parameters for `sb.community.companies.list()`. */
@@ -33871,6 +35273,8 @@ interface GetMembershipsQuery {
33871
35273
  }
33872
35274
  /** Request body for `sb.community.companies.create()`. */
33873
35275
  type CreateCompanyBody = NonNullable<NonNullable<operations["createCompany"]["requestBody"]>["content"]["application/json"]["company"]>;
35276
+ /** Request body for `sb.community.companies.createMedia()`. */
35277
+ type CreateCompanyMediaBody = NonNullable<NonNullable<operations["createCompanyMedia"]["requestBody"]>["content"]["application/json"]["media"]>;
33874
35278
  /** Request body for `sb.community.memberships.create()`. */
33875
35279
  type CreateMembershipBody = NonNullable<operations["createMembership"]["requestBody"]>["content"]["application/json"];
33876
35280
  /** Request body for `sb.community.companies.update()`. */
@@ -33878,6 +35282,32 @@ type UpdateCompanyBody = NonNullable<NonNullable<operations["updateCompany"]["re
33878
35282
  /** Request body for `sb.community.memberships.update()`. */
33879
35283
  type UpdateMembershipBody = NonNullable<NonNullable<operations["updateMembership"]["requestBody"]>["content"]["application/json"]["membership"]>;
33880
35284
 
35285
+ /** A CheckIn entity as returned by the Spacebring API. */
35286
+ type CheckIn = NonNullable<operations["getCheckIn"]["responses"][200]["content"]["application/json"]["checkIn"]>;
35287
+ /** Query parameters for `sb.checkIns.list()`. */
35288
+ interface GetCheckInsQuery {
35289
+ /** Filter check-ins whose arrival is on or after this date (ISO 8601). Use with checkInDate[lte] for a range. */
35290
+ "checkInDate[gte]"?: string;
35291
+ /** Filter check-ins whose arrival is on or before this date (ISO 8601). Use with checkInDate[gte] for a range. */
35292
+ "checkInDate[lte]"?: string;
35293
+ /** Maximum number of check-ins per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
35294
+ limit?: number;
35295
+ /** UUID of the location. */
35296
+ locationRef: string;
35297
+ /** Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
35298
+ nextPageToken?: string;
35299
+ /** Comma-separated list of check-in statuses to filter by, e.g. `scheduled,checkedIn`. Valid values: checkedIn, checkedOut, scheduled, expired. Defaults to all statuses. */
35300
+ status?: string;
35301
+ /** 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. */
35302
+ type?: string;
35303
+ /** UUID of the user to filter check-ins by. Defaults to check-ins of every user. */
35304
+ userRef?: string;
35305
+ }
35306
+ /** Request body for `sb.checkIns.checkIn()`. */
35307
+ type CheckInBody = NonNullable<operations["checkIn"]["requestBody"]>["content"]["application/json"];
35308
+ /** Request body for `sb.checkIns.checkOut()`. */
35309
+ type CheckOutBody = NonNullable<operations["checkOut"]["requestBody"]>["content"]["application/json"];
35310
+
33881
35311
  /** A CreditNote entity as returned by the Spacebring API. */
33882
35312
  type CreditNote = NonNullable<components["schemas"]["creditNote"]>;
33883
35313
  /** A Invoice entity as returned by the Spacebring API. */
@@ -34182,6 +35612,17 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
34182
35612
  };
34183
35613
  };
34184
35614
  };
35615
+ checkIns: {
35616
+ list(query: GetCheckInsQuery, options?: SpacebringRequestOptions): Promise<{
35617
+ checkIns: CheckIn[];
35618
+ nextPageToken?: string;
35619
+ searchQueryNext?: string;
35620
+ }>;
35621
+ iterate(query: Omit<GetCheckInsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<CheckIn, void, undefined>;
35622
+ get(checkInId: string, options?: SpacebringRequestOptions): Promise<CheckIn>;
35623
+ checkIn(body: CheckInBody, options?: SpacebringRequestOptions): Promise<CheckIn>;
35624
+ checkOut(body: CheckOutBody, options?: SpacebringRequestOptions): Promise<CheckIn>;
35625
+ };
34185
35626
  community: {
34186
35627
  companies: {
34187
35628
  list(query: GetCompaniesQuery, options?: SpacebringRequestOptions): Promise<{
@@ -34192,6 +35633,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
34192
35633
  get(id: string, options?: SpacebringRequestOptions): Promise<Company>;
34193
35634
  create(company: CreateCompanyBody, options?: SpacebringRequestOptions): Promise<Company>;
34194
35635
  update(id: string, company: UpdateCompanyBody, options?: SpacebringRequestOptions): Promise<Company>;
35636
+ createMedia(media: CreateCompanyMediaBody, options?: SpacebringRequestOptions): Promise<CompanyMedia>;
34195
35637
  };
34196
35638
  memberships: {
34197
35639
  list(query: GetMembershipsQuery, options?: SpacebringRequestOptions): Promise<{
@@ -34238,6 +35680,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
34238
35680
  create(template: CreateTemplateBody, options?: SpacebringRequestOptions): Promise<Template>;
34239
35681
  update(templateId: string, template: UpdateTemplateBody, options?: SpacebringRequestOptions): Promise<undefined>;
34240
35682
  delete(templateId: string, options?: SpacebringRequestOptions): Promise<undefined>;
35683
+ createMedia(media: CreateTemplateMediaBody, options?: SpacebringRequestOptions): Promise<TemplateMedia>;
34241
35684
  duplicate(templateId: string, options?: SpacebringRequestOptions): Promise<Template>;
34242
35685
  };
34243
35686
  };
@@ -34291,6 +35734,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
34291
35734
  };
34292
35735
  };
34293
35736
  feed: {
35737
+ createMedia(media: CreateFeedPostMediaBody, options?: SpacebringRequestOptions): Promise<FeedMedia>;
34294
35738
  comments: {
34295
35739
  create(comment: CreateFeedPostCommentBody, options?: SpacebringRequestOptions): Promise<Comment>;
34296
35740
  delete(id: string, options?: SpacebringRequestOptions): Promise<undefined>;
@@ -34329,6 +35773,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
34329
35773
  create(guide: CreateGuideBody, options?: SpacebringRequestOptions): Promise<Guide>;
34330
35774
  update(guideId: string, guide: PatchGuideBody, options?: SpacebringRequestOptions): Promise<Guide>;
34331
35775
  delete(guideId: string, options?: SpacebringRequestOptions): Promise<undefined>;
35776
+ createMedia(media: CreateGuideMediaBody, options?: SpacebringRequestOptions): Promise<GuideMedia>;
34332
35777
  };
34333
35778
  locations: {
34334
35779
  list(options?: SpacebringRequestOptions): Promise<Location[]>;
@@ -34378,6 +35823,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
34378
35823
  get(resourceId: string, options?: SpacebringRequestOptions): Promise<Resource>;
34379
35824
  create(resource: CreateResourceBody, options?: SpacebringRequestOptions): Promise<Resource>;
34380
35825
  update(resourceId: string, resource: PatchResourceBody, options?: SpacebringRequestOptions): Promise<undefined>;
35826
+ createMedia(media: CreateResourceMediaBody, options?: SpacebringRequestOptions): Promise<ResourceMedia>;
34381
35827
  getResourceAvailability(resourceId: string, body: GetResourceAvailabilityBody, options?: SpacebringRequestOptions): Promise<GetResourceAvailability>;
34382
35828
  assignments: {
34383
35829
  list(query?: GetAssignmentsQuery, options?: SpacebringRequestOptions): Promise<{
@@ -34430,6 +35876,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
34430
35876
  create(product: CreateProductBody, options?: SpacebringRequestOptions): Promise<Product>;
34431
35877
  update(productId: string, product: UpdateProductBody, options?: SpacebringRequestOptions): Promise<Product>;
34432
35878
  delete(productId: string, options?: SpacebringRequestOptions): Promise<undefined>;
35879
+ createMedia(media: CreateProductMediaBody, options?: SpacebringRequestOptions): Promise<ProductMedia>;
34433
35880
  };
34434
35881
  };
34435
35882
  subscriptions: {
@@ -34631,4 +36078,4 @@ declare class SpacebringError extends Error {
34631
36078
  });
34632
36079
  }
34633
36080
 
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 };
36081
+ export { type Activity, type AddEventHostsBody, type AltCurrency, type Application, type ApplyBenefitBody, type Assignment, 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 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 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 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 };