@izak0s/spacebring-api 10.1.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.cts 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: {
@@ -8900,6 +9523,8 @@ interface components {
8900
9523
  exclusiveLocations: string[];
8901
9524
  /** @description Whether the admin can manage the feed. */
8902
9525
  feed: boolean;
9526
+ /** @description Whether the admin can manage resources and their bookings. */
9527
+ resources?: boolean;
8903
9528
  /** @description Whether the admin can change network settings. */
8904
9529
  settings: boolean;
8905
9530
  /** @description Whether the admin can manage the shop. */
@@ -9201,7 +9826,7 @@ interface components {
9201
9826
  * @description Unique identifier of the resource.
9202
9827
  */
9203
9828
  id: string;
9204
- /** @description Public URL of the resource image. */
9829
+ /** @description Public URL of the resource's cover, the first image in media. */
9205
9830
  imageUrl?: string;
9206
9831
  /** @description Kisi access group reference. */
9207
9832
  kisiGroupRef?: number | null;
@@ -9212,7 +9837,7 @@ interface components {
9212
9837
  * @description ID of the location.
9213
9838
  */
9214
9839
  locationRef: string;
9215
- /** @description Images attached to the resource. */
9840
+ /** @description Images of the resource in display order, the first one being its cover. */
9216
9841
  media: {
9217
9842
  /** @description Storage key of the image. */
9218
9843
  key: string;
@@ -9832,7 +10457,7 @@ interface components {
9832
10457
  * @description Unique identifier of the resource.
9833
10458
  */
9834
10459
  id: string;
9835
- /** @description Public URL of the resource image. */
10460
+ /** @description Public URL of the resource's cover, the first image in media. */
9836
10461
  imageUrl?: string;
9837
10462
  /** @description Kisi access group reference. */
9838
10463
  kisiGroupRef?: number | null;
@@ -9843,7 +10468,7 @@ interface components {
9843
10468
  * @description ID of the location.
9844
10469
  */
9845
10470
  locationRef: string;
9846
- /** @description Images attached to the resource. */
10471
+ /** @description Images of the resource in display order, the first one being its cover. */
9847
10472
  media: {
9848
10473
  /** @description Storage key of the image. */
9849
10474
  key: string;
@@ -10459,6 +11084,47 @@ interface components {
10459
11084
  };
10460
11085
  };
10461
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
+ };
10462
11128
  getResourceAvailability: {
10463
11129
  /** @description Whether the resource can be booked for the requested slot. */
10464
11130
  available: boolean;
@@ -13065,6 +13731,47 @@ interface components {
13065
13731
  visibility: "public" | "admins" | "members" | "networkMembers";
13066
13732
  };
13067
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
+ };
13068
13775
  getOrders: {
13069
13776
  /** @description Pagination token to fetch the next page of results. */
13070
13777
  nextPageToken?: string;
@@ -21914,6 +22621,47 @@ interface components {
21914
22621
  };
21915
22622
  };
21916
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
+ };
21917
22665
  createCompany: {
21918
22666
  content: {
21919
22667
  "application/json": {
@@ -21941,6 +22689,11 @@ interface components {
21941
22689
  * @description The location id where to create a company.
21942
22690
  */
21943
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
+ };
21944
22697
  metadata?: components["schemas"]["metadata"];
21945
22698
  /** @description The notes of company to create. */
21946
22699
  notes?: string;
@@ -21952,6 +22705,22 @@ interface components {
21952
22705
  };
21953
22706
  };
21954
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
+ };
21955
22724
  createMembership: {
21956
22725
  content: {
21957
22726
  "application/json": {
@@ -22236,7 +23005,7 @@ interface components {
22236
23005
  template: {
22237
23006
  /** @description Template file reference. */
22238
23007
  file: {
22239
- /** @description Storage key of the template file. */
23008
+ /** @description Storage key of the uploaded .docx template file, as returned by the media upload endpoint. */
22240
23009
  key: string;
22241
23010
  };
22242
23011
  /**
@@ -22250,6 +23019,22 @@ interface components {
22250
23019
  };
22251
23020
  };
22252
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
+ };
22253
23038
  updateTemplate: {
22254
23039
  content: {
22255
23040
  "application/json": {
@@ -22257,7 +23042,7 @@ interface components {
22257
23042
  template: {
22258
23043
  /** @description Template file reference. */
22259
23044
  file?: {
22260
- /** @description Storage key of the template file. */
23045
+ /** @description Storage key of the uploaded .docx template file, as returned by the media upload endpoint. */
22261
23046
  key: string;
22262
23047
  };
22263
23048
  /** @description Template title. */
@@ -22592,7 +23377,7 @@ interface components {
22592
23377
  locationRef: string;
22593
23378
  /** @description Media files to attach to the post. */
22594
23379
  media?: {
22595
- /** @description Storage key of the media file. */
23380
+ /** @description Storage key of the media file, as returned by the media upload endpoint. */
22596
23381
  key: string;
22597
23382
  }[];
22598
23383
  /** @description Open Graph metadata for link previews. */
@@ -22626,7 +23411,7 @@ interface components {
22626
23411
  post: {
22627
23412
  /** @description Media files to attach to the post. */
22628
23413
  media?: {
22629
- /** @description Storage key of the media file. */
23414
+ /** @description Storage key of the media file, as returned by the media upload endpoint. */
22630
23415
  key: string;
22631
23416
  }[];
22632
23417
  /** @description Open Graph metadata for link previews. */
@@ -22679,12 +23464,32 @@ interface components {
22679
23464
  };
22680
23465
  };
22681
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
+ };
22682
23487
  createGuide: {
22683
23488
  content: {
22684
23489
  "application/json": {
22685
23490
  /** @description Guide to create. */
22686
23491
  guide: {
22687
- /** @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). */
22688
23493
  description?: string;
22689
23494
  /**
22690
23495
  * Format: uuid
@@ -22711,7 +23516,7 @@ interface components {
22711
23516
  "application/json": {
22712
23517
  /** @description Guide fields to update. */
22713
23518
  guide: {
22714
- /** @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). */
22715
23520
  description?: string;
22716
23521
  /** @description Display name of the guide. */
22717
23522
  title?: string;
@@ -22728,6 +23533,26 @@ interface components {
22728
23533
  };
22729
23534
  };
22730
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
+ };
22731
23556
  createPackage: {
22732
23557
  content: {
22733
23558
  "application/json": {
@@ -23239,9 +24064,9 @@ interface components {
23239
24064
  * @description ID of the location.
23240
24065
  */
23241
24066
  locationRef: string;
23242
- /** @description Images to attach when creating the resource. */
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. */
23243
24068
  media?: {
23244
- /** @description Storage key of the uploaded image. */
24069
+ /** @description Storage key of the uploaded image, as returned by the media upload endpoint. */
23245
24070
  key: string;
23246
24071
  }[];
23247
24072
  /** @description Money pricing settings. */
@@ -23537,6 +24362,22 @@ interface components {
23537
24362
  };
23538
24363
  };
23539
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
+ };
23540
24381
  patchResource: {
23541
24382
  content: {
23542
24383
  "application/json": {
@@ -23650,9 +24491,9 @@ interface components {
23650
24491
  } | null;
23651
24492
  /** @description Kisi access group reference. */
23652
24493
  kisiGroupRef?: number | null;
23653
- /** @description Images to attach when creating the resource. */
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. */
23654
24495
  media?: {
23655
- /** @description Storage key of the uploaded image. */
24496
+ /** @description Storage key of the uploaded image, as returned by the media upload endpoint. */
23656
24497
  key: string;
23657
24498
  }[];
23658
24499
  /** @description Money pricing settings. */
@@ -24115,7 +24956,7 @@ interface components {
24115
24956
  locationRef: string;
24116
24957
  /** @description Media files of the product. */
24117
24958
  media?: {
24118
- /** @description Storage key of the media file. */
24959
+ /** @description Storage key of the media file, as returned by the media upload endpoint. */
24119
24960
  key: string;
24120
24961
  }[];
24121
24962
  /** @description Purchasable options for this product. */
@@ -24251,7 +25092,7 @@ interface components {
24251
25092
  featured?: boolean;
24252
25093
  /** @description Media files of the product. */
24253
25094
  media?: {
24254
- /** @description Storage key of the media file. */
25095
+ /** @description Storage key of the media file, as returned by the media upload endpoint. */
24255
25096
  key: string;
24256
25097
  }[];
24257
25098
  /** @description Purchasable options for this product. */
@@ -24368,6 +25209,22 @@ interface components {
24368
25209
  };
24369
25210
  };
24370
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
+ };
24371
25228
  assignSubscription: {
24372
25229
  content: {
24373
25230
  "application/json": {
@@ -27164,6 +28021,226 @@ interface operations {
27164
28021
  };
27165
28022
  };
27166
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
+ };
27167
28244
  getCompanies: {
27168
28245
  parameters: {
27169
28246
  query: {
@@ -27242,6 +28319,15 @@ interface operations {
27242
28319
  "application/json": components["schemas"]["responseError"];
27243
28320
  };
27244
28321
  };
28322
+ /** @description Conflict */
28323
+ 409: {
28324
+ headers: {
28325
+ [name: string]: unknown;
28326
+ };
28327
+ content: {
28328
+ "application/json": components["schemas"]["responseError"];
28329
+ };
28330
+ };
27245
28331
  };
27246
28332
  };
27247
28333
  getCompany: {
@@ -27308,6 +28394,11 @@ interface operations {
27308
28394
  state?: string;
27309
28395
  };
27310
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;
27311
28402
  metadata?: components["schemas"]["metadata"];
27312
28403
  notes?: string;
27313
28404
  taxId?: string;
@@ -27337,6 +28428,47 @@ interface operations {
27337
28428
  "application/json": components["schemas"]["responseError"];
27338
28429
  };
27339
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
+ };
27340
28472
  };
27341
28473
  };
27342
28474
  getMemberships: {
@@ -27755,7 +28887,108 @@ interface operations {
27755
28887
  };
27756
28888
  };
27757
28889
  };
27758
- 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: {
27759
28992
  parameters: {
27760
28993
  query?: never;
27761
28994
  header?: {
@@ -27765,10 +28998,12 @@ interface operations {
27765
28998
  path: {
27766
28999
  /** @description The id of the contract. */
27767
29000
  contractId: string;
29001
+ /** @description The id of the contract signer. */
29002
+ signerId: string;
27768
29003
  };
27769
29004
  cookie?: never;
27770
29005
  };
27771
- requestBody: components["requestBodies"]["updateContract"];
29006
+ requestBody?: never;
27772
29007
  responses: {
27773
29008
  /** @description No Content */
27774
29009
  204: {
@@ -27788,42 +29023,7 @@ interface operations {
27788
29023
  };
27789
29024
  };
27790
29025
  };
27791
- issueContract: {
27792
- parameters: {
27793
- query?: never;
27794
- header?: {
27795
- /** @description The id of the network. Required when using bearer token authentication */
27796
- "spacebring-network-id"?: string;
27797
- };
27798
- path: {
27799
- /** @description The id of the contract. */
27800
- contractId: string;
27801
- };
27802
- cookie?: never;
27803
- };
27804
- requestBody: components["requestBodies"]["issueContract"];
27805
- responses: {
27806
- /** @description OK */
27807
- 200: {
27808
- headers: {
27809
- [name: string]: unknown;
27810
- };
27811
- content: {
27812
- "application/json": components["schemas"]["getContract"];
27813
- };
27814
- };
27815
- /** @description Bad Request */
27816
- 400: {
27817
- headers: {
27818
- [name: string]: unknown;
27819
- };
27820
- content: {
27821
- "application/json": components["schemas"]["responseError"];
27822
- };
27823
- };
27824
- };
27825
- };
27826
- resendContract: {
29026
+ signContract: {
27827
29027
  parameters: {
27828
29028
  query?: never;
27829
29029
  header?: {
@@ -27833,6 +29033,8 @@ interface operations {
27833
29033
  path: {
27834
29034
  /** @description The id of the contract. */
27835
29035
  contractId: string;
29036
+ /** @description The id of the contract signer. */
29037
+ signerId: string;
27836
29038
  };
27837
29039
  cookie?: never;
27838
29040
  };
@@ -27856,7 +29058,7 @@ interface operations {
27856
29058
  };
27857
29059
  };
27858
29060
  };
27859
- declineContract: {
29061
+ terminateContract: {
27860
29062
  parameters: {
27861
29063
  query?: never;
27862
29064
  header?: {
@@ -27866,12 +29068,10 @@ interface operations {
27866
29068
  path: {
27867
29069
  /** @description The id of the contract. */
27868
29070
  contractId: string;
27869
- /** @description The id of the contract signer. */
27870
- signerId: string;
27871
29071
  };
27872
29072
  cookie?: never;
27873
29073
  };
27874
- requestBody?: never;
29074
+ requestBody: components["requestBodies"]["terminateContract"];
27875
29075
  responses: {
27876
29076
  /** @description No Content */
27877
29077
  204: {
@@ -27891,29 +29091,33 @@ interface operations {
27891
29091
  };
27892
29092
  };
27893
29093
  };
27894
- signContract: {
29094
+ getTemplates: {
27895
29095
  parameters: {
27896
- 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
+ };
27897
29104
  header?: {
27898
29105
  /** @description The id of the network. Required when using bearer token authentication */
27899
29106
  "spacebring-network-id"?: string;
27900
29107
  };
27901
- path: {
27902
- /** @description The id of the contract. */
27903
- contractId: string;
27904
- /** @description The id of the contract signer. */
27905
- signerId: string;
27906
- };
29108
+ path?: never;
27907
29109
  cookie?: never;
27908
29110
  };
27909
29111
  requestBody?: never;
27910
29112
  responses: {
27911
- /** @description No Content */
27912
- 204: {
29113
+ /** @description OK */
29114
+ 200: {
27913
29115
  headers: {
27914
29116
  [name: string]: unknown;
27915
29117
  };
27916
- content?: never;
29118
+ content: {
29119
+ "application/json": components["schemas"]["getTemplates"];
29120
+ };
27917
29121
  };
27918
29122
  /** @description Bad Request */
27919
29123
  400: {
@@ -27926,27 +29130,26 @@ interface operations {
27926
29130
  };
27927
29131
  };
27928
29132
  };
27929
- terminateContract: {
29133
+ createTemplate: {
27930
29134
  parameters: {
27931
29135
  query?: never;
27932
29136
  header?: {
27933
29137
  /** @description The id of the network. Required when using bearer token authentication */
27934
29138
  "spacebring-network-id"?: string;
27935
29139
  };
27936
- path: {
27937
- /** @description The id of the contract. */
27938
- contractId: string;
27939
- };
29140
+ path?: never;
27940
29141
  cookie?: never;
27941
29142
  };
27942
- requestBody: components["requestBodies"]["terminateContract"];
29143
+ requestBody: components["requestBodies"]["createTemplate"];
27943
29144
  responses: {
27944
- /** @description No Content */
27945
- 204: {
29145
+ /** @description Created */
29146
+ 201: {
27946
29147
  headers: {
27947
29148
  [name: string]: unknown;
27948
29149
  };
27949
- content?: never;
29150
+ content: {
29151
+ "application/json": components["schemas"]["getTemplate"];
29152
+ };
27950
29153
  };
27951
29154
  /** @description Bad Request */
27952
29155
  400: {
@@ -27957,38 +29160,8 @@ interface operations {
27957
29160
  "application/json": components["schemas"]["responseError"];
27958
29161
  };
27959
29162
  };
27960
- };
27961
- };
27962
- getTemplates: {
27963
- parameters: {
27964
- query: {
27965
- /** @description Maximum number of templates per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
27966
- limit?: number;
27967
- /** @description UUID of the location. */
27968
- locationRef: string;
27969
- /** @description Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
27970
- nextPageToken?: string;
27971
- };
27972
- header?: {
27973
- /** @description The id of the network. Required when using bearer token authentication */
27974
- "spacebring-network-id"?: string;
27975
- };
27976
- path?: never;
27977
- cookie?: never;
27978
- };
27979
- requestBody?: never;
27980
- responses: {
27981
- /** @description OK */
27982
- 200: {
27983
- headers: {
27984
- [name: string]: unknown;
27985
- };
27986
- content: {
27987
- "application/json": components["schemas"]["getTemplates"];
27988
- };
27989
- };
27990
- /** @description Bad Request */
27991
- 400: {
29163
+ /** @description Conflict */
29164
+ 409: {
27992
29165
  headers: {
27993
29166
  [name: string]: unknown;
27994
29167
  };
@@ -27998,7 +29171,7 @@ interface operations {
27998
29171
  };
27999
29172
  };
28000
29173
  };
28001
- createTemplate: {
29174
+ createTemplateMedia: {
28002
29175
  parameters: {
28003
29176
  query?: never;
28004
29177
  header?: {
@@ -28008,7 +29181,7 @@ interface operations {
28008
29181
  path?: never;
28009
29182
  cookie?: never;
28010
29183
  };
28011
- requestBody: components["requestBodies"]["createTemplate"];
29184
+ requestBody: components["requestBodies"]["createTemplateMedia"];
28012
29185
  responses: {
28013
29186
  /** @description Created */
28014
29187
  201: {
@@ -28016,7 +29189,7 @@ interface operations {
28016
29189
  [name: string]: unknown;
28017
29190
  };
28018
29191
  content: {
28019
- "application/json": components["schemas"]["getTemplate"];
29192
+ "application/json": components["schemas"]["createTemplateMedia"];
28020
29193
  };
28021
29194
  };
28022
29195
  /** @description Bad Request */
@@ -28129,6 +29302,15 @@ interface operations {
28129
29302
  "application/json": components["schemas"]["responseError"];
28130
29303
  };
28131
29304
  };
29305
+ /** @description Conflict */
29306
+ 409: {
29307
+ headers: {
29308
+ [name: string]: unknown;
29309
+ };
29310
+ content: {
29311
+ "application/json": components["schemas"]["responseError"];
29312
+ };
29313
+ };
28132
29314
  };
28133
29315
  };
28134
29316
  duplicateTemplate: {
@@ -29173,6 +30355,15 @@ interface operations {
29173
30355
  "application/json": components["schemas"]["responseError"];
29174
30356
  };
29175
30357
  };
30358
+ /** @description Conflict */
30359
+ 409: {
30360
+ headers: {
30361
+ [name: string]: unknown;
30362
+ };
30363
+ content: {
30364
+ "application/json": components["schemas"]["responseError"];
30365
+ };
30366
+ };
29176
30367
  };
29177
30368
  };
29178
30369
  getFeedPost: {
@@ -29247,6 +30438,15 @@ interface operations {
29247
30438
  "application/json": components["schemas"]["responseError"];
29248
30439
  };
29249
30440
  };
30441
+ /** @description Conflict */
30442
+ 409: {
30443
+ headers: {
30444
+ [name: string]: unknown;
30445
+ };
30446
+ content: {
30447
+ "application/json": components["schemas"]["responseError"];
30448
+ };
30449
+ };
29250
30450
  };
29251
30451
  };
29252
30452
  deleteFeedPost: {
@@ -29393,7 +30593,142 @@ interface operations {
29393
30593
  };
29394
30594
  };
29395
30595
  };
29396
- 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: {
29397
30732
  parameters: {
29398
30733
  query?: never;
29399
30734
  header?: {
@@ -29401,14 +30736,14 @@ interface operations {
29401
30736
  "spacebring-network-id"?: string;
29402
30737
  };
29403
30738
  path: {
29404
- /** @description The id of the post. */
30739
+ /** @description The id of the post comment. */
29405
30740
  id: string;
29406
30741
  };
29407
30742
  cookie?: never;
29408
30743
  };
29409
30744
  requestBody?: never;
29410
30745
  responses: {
29411
- /** @description No Content */
30746
+ /** @description No content */
29412
30747
  204: {
29413
30748
  headers: {
29414
30749
  [name: string]: unknown;
@@ -29426,7 +30761,7 @@ interface operations {
29426
30761
  };
29427
30762
  };
29428
30763
  };
29429
- createFeedPostComment: {
30764
+ createFeedPostMedia: {
29430
30765
  parameters: {
29431
30766
  query?: never;
29432
30767
  header?: {
@@ -29436,75 +30771,7 @@ interface operations {
29436
30771
  path?: never;
29437
30772
  cookie?: never;
29438
30773
  };
29439
- requestBody: components["requestBodies"]["createFeedPostComment"];
29440
- responses: {
29441
- /** @description Created */
29442
- 201: {
29443
- headers: {
29444
- [name: string]: unknown;
29445
- };
29446
- content: {
29447
- "application/json": {
29448
- comment?: components["schemas"]["postComment"];
29449
- };
29450
- };
29451
- };
29452
- /** @description Bad Request */
29453
- 400: {
29454
- headers: {
29455
- [name: string]: unknown;
29456
- };
29457
- content: {
29458
- "application/json": components["schemas"]["responseError"];
29459
- };
29460
- };
29461
- };
29462
- };
29463
- deletePostComment: {
29464
- parameters: {
29465
- query?: never;
29466
- header?: {
29467
- /** @description The id of the network. Required when using bearer token authentication */
29468
- "spacebring-network-id"?: string;
29469
- };
29470
- path: {
29471
- /** @description The id of the post comment. */
29472
- id: string;
29473
- };
29474
- cookie?: never;
29475
- };
29476
- requestBody?: never;
29477
- responses: {
29478
- /** @description No content */
29479
- 204: {
29480
- headers: {
29481
- [name: string]: unknown;
29482
- };
29483
- content?: never;
29484
- };
29485
- /** @description Bad request */
29486
- 400: {
29487
- headers: {
29488
- [name: string]: unknown;
29489
- };
29490
- content?: never;
29491
- };
29492
- };
29493
- };
29494
- createLikeForPostComment: {
29495
- parameters: {
29496
- query?: never;
29497
- header?: {
29498
- /** @description The id of the network. Required when using bearer token authentication */
29499
- "spacebring-network-id"?: string;
29500
- };
29501
- path: {
29502
- /** @description The id of the post comment. */
29503
- id: string;
29504
- };
29505
- cookie?: never;
29506
- };
29507
- requestBody?: never;
30774
+ requestBody: components["requestBodies"]["createFeedPostMedia"];
29508
30775
  responses: {
29509
30776
  /** @description Created */
29510
30777
  201: {
@@ -29512,9 +30779,7 @@ interface operations {
29512
30779
  [name: string]: unknown;
29513
30780
  };
29514
30781
  content: {
29515
- "application/json": {
29516
- like?: components["schemas"]["postLike"];
29517
- };
30782
+ "application/json": components["schemas"]["createFeedPostMedia"];
29518
30783
  };
29519
30784
  };
29520
30785
  /** @description Bad Request */
@@ -29528,39 +30793,6 @@ interface operations {
29528
30793
  };
29529
30794
  };
29530
30795
  };
29531
- deleteLikeForPostComment: {
29532
- parameters: {
29533
- query?: never;
29534
- header?: {
29535
- /** @description The id of the network. Required when using bearer token authentication */
29536
- "spacebring-network-id"?: string;
29537
- };
29538
- path: {
29539
- /** @description The id of the post comment. */
29540
- id: string;
29541
- };
29542
- cookie?: never;
29543
- };
29544
- requestBody?: never;
29545
- responses: {
29546
- /** @description No content */
29547
- 204: {
29548
- headers: {
29549
- [name: string]: unknown;
29550
- };
29551
- content?: never;
29552
- };
29553
- /** @description Bad Request */
29554
- 400: {
29555
- headers: {
29556
- [name: string]: unknown;
29557
- };
29558
- content: {
29559
- "application/json": components["schemas"]["responseError"];
29560
- };
29561
- };
29562
- };
29563
- };
29564
30796
  getFloors: {
29565
30797
  parameters: {
29566
30798
  query: {
@@ -29719,6 +30951,15 @@ interface operations {
29719
30951
  "application/json": components["schemas"]["responseError"];
29720
30952
  };
29721
30953
  };
30954
+ /** @description Conflict */
30955
+ 409: {
30956
+ headers: {
30957
+ [name: string]: unknown;
30958
+ };
30959
+ content: {
30960
+ "application/json": components["schemas"]["responseError"];
30961
+ };
30962
+ };
29722
30963
  };
29723
30964
  };
29724
30965
  getGuide: {
@@ -29878,6 +31119,47 @@ interface operations {
29878
31119
  "application/json": components["schemas"]["responseError"];
29879
31120
  };
29880
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
+ };
29881
31163
  };
29882
31164
  };
29883
31165
  getLocations: {
@@ -30426,6 +31708,15 @@ interface operations {
30426
31708
  "application/json": components["schemas"]["responseError"];
30427
31709
  };
30428
31710
  };
31711
+ /** @description Conflict */
31712
+ 409: {
31713
+ headers: {
31714
+ [name: string]: unknown;
31715
+ };
31716
+ content: {
31717
+ "application/json": components["schemas"]["responseError"];
31718
+ };
31719
+ };
30429
31720
  };
30430
31721
  };
30431
31722
  getAssignments: {
@@ -30586,6 +31877,38 @@ interface operations {
30586
31877
  };
30587
31878
  };
30588
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
+ };
30589
31912
  getResource: {
30590
31913
  parameters: {
30591
31914
  query?: never;
@@ -30652,6 +31975,15 @@ interface operations {
30652
31975
  "application/json": components["schemas"]["responseError"];
30653
31976
  };
30654
31977
  };
31978
+ /** @description Conflict */
31979
+ 409: {
31980
+ headers: {
31981
+ [name: string]: unknown;
31982
+ };
31983
+ content: {
31984
+ "application/json": components["schemas"]["responseError"];
31985
+ };
31986
+ };
30655
31987
  };
30656
31988
  };
30657
31989
  getResourceAvailability: {
@@ -31153,6 +32485,15 @@ interface operations {
31153
32485
  "application/json": components["schemas"]["responseError"];
31154
32486
  };
31155
32487
  };
32488
+ /** @description Conflict */
32489
+ 409: {
32490
+ headers: {
32491
+ [name: string]: unknown;
32492
+ };
32493
+ content: {
32494
+ "application/json": components["schemas"]["responseError"];
32495
+ };
32496
+ };
31156
32497
  };
31157
32498
  };
31158
32499
  getProduct: {
@@ -31225,6 +32566,15 @@ interface operations {
31225
32566
  "application/json": components["schemas"]["responseError"];
31226
32567
  };
31227
32568
  };
32569
+ /** @description Conflict */
32570
+ 409: {
32571
+ headers: {
32572
+ [name: string]: unknown;
32573
+ };
32574
+ content: {
32575
+ "application/json": components["schemas"]["responseError"];
32576
+ };
32577
+ };
31228
32578
  };
31229
32579
  };
31230
32580
  deleteProduct: {
@@ -31257,6 +32607,38 @@ interface operations {
31257
32607
  };
31258
32608
  };
31259
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
+ };
31260
32642
  getOrders: {
31261
32643
  parameters: {
31262
32644
  query?: {
@@ -33419,6 +34801,8 @@ type UpdateSubscriptionItemBody = NonNullable<NonNullable<operations["updateSubs
33419
34801
  type Order = NonNullable<operations["getOrder"]["responses"][200]["content"]["application/json"]["order"]>;
33420
34802
  /** A Product entity as returned by the Spacebring API. */
33421
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"]>;
33422
34806
  /** A ShopCategory entity as returned by the Spacebring API. */
33423
34807
  type ShopCategory = NonNullable<components["schemas"]["shopCategory"]>;
33424
34808
  /** Query parameters for `sb.shop.orders.list()`. */
@@ -33470,6 +34854,8 @@ interface GetShopCategoriesQuery {
33470
34854
  }
33471
34855
  /** Request body for `sb.shop.products.create()`. */
33472
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"]>;
33473
34859
  /** Request body for `sb.shop.categories.create()`. */
33474
34860
  type CreateShopCategoryBody = NonNullable<NonNullable<operations["createShopCategory"]["requestBody"]>["content"]["application/json"]["category"]>;
33475
34861
  /** Request body for `sb.shop.products.update()`. */
@@ -33485,6 +34871,8 @@ type Booking = NonNullable<operations["getBooking"]["responses"][200]["content"]
33485
34871
  type GetResourceAvailability = NonNullable<components["schemas"]["getResourceAvailability"]>;
33486
34872
  /** A Resource entity as returned by the Spacebring API. */
33487
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"]>;
33488
34876
  /** Query parameters for `sb.resources.assignments.list()`. */
33489
34877
  interface GetAssignmentsQuery {
33490
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. */
@@ -33566,6 +34954,8 @@ type CreateAssignmentBody = NonNullable<NonNullable<operations["createAssignment
33566
34954
  type CreateBookingBody = NonNullable<operations["createBooking"]["requestBody"]>["content"]["application/json"];
33567
34955
  /** Request body for `sb.resources.create()`. */
33568
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"]>;
33569
34959
  /** Request body for `sb.resources.getResourceAvailability()`. */
33570
34960
  type GetResourceAvailabilityBody = NonNullable<operations["getResourceAvailability"]["requestBody"]>["content"]["application/json"];
33571
34961
  /** Request body for `sb.resources.assignments.update()`. */
@@ -33629,6 +35019,8 @@ type Location = NonNullable<components["schemas"]["location"]>;
33629
35019
 
33630
35020
  /** A Guide entity as returned by the Spacebring API. */
33631
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"]>;
33632
35024
  /** Query parameters for `sb.guides.list()`. */
33633
35025
  interface GetGuidesQuery {
33634
35026
  /** Maximum number of guides per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
@@ -33640,6 +35032,8 @@ interface GetGuidesQuery {
33640
35032
  }
33641
35033
  /** Request body for `sb.guides.create()`. */
33642
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"]>;
33643
35037
  /** Request body for `sb.guides.update()`. */
33644
35038
  type PatchGuideBody = NonNullable<NonNullable<operations["patchGuide"]["requestBody"]>["content"]["application/json"]["guide"]>;
33645
35039
 
@@ -33655,6 +35049,8 @@ interface GetFloorsQuery {
33655
35049
 
33656
35050
  /** A Comment entity as returned by the Spacebring API. */
33657
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"]>;
33658
35054
  /** A Like entity as returned by the Spacebring API. */
33659
35055
  type Like = NonNullable<components["schemas"]["postLike"]>;
33660
35056
  /** A Post entity as returned by the Spacebring API. */
@@ -33672,6 +35068,8 @@ interface GetFeedPostsQuery {
33672
35068
  type CreateFeedPostBody = NonNullable<NonNullable<operations["createFeedPost"]["requestBody"]>["content"]["application/json"]["post"]>;
33673
35069
  /** Request body for `sb.feed.comments.create()`. */
33674
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"]>;
33675
35073
  /** Request body for `sb.feed.posts.update()`. */
33676
35074
  type UpdateFeedPostBody = NonNullable<NonNullable<operations["updateFeedPost"]["requestBody"]>["content"]["application/json"]["post"]>;
33677
35075
 
@@ -33772,6 +35170,8 @@ type UpdateCouponBody = NonNullable<NonNullable<operations["updateCoupon"]["requ
33772
35170
  type Contract = NonNullable<operations["getContract"]["responses"][200]["content"]["application/json"]["contract"]>;
33773
35171
  /** A Template entity as returned by the Spacebring API. */
33774
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"]>;
33775
35175
  /** Query parameters for `sb.contracts.list()`. */
33776
35176
  interface GetContractsQuery {
33777
35177
  /** Filter contracts created on or after this date (ISO 8601). Use with createDate[lte] for a range. */
@@ -33811,6 +35211,8 @@ interface GetTemplatesQuery {
33811
35211
  type CreateContractBody = NonNullable<NonNullable<operations["createContract"]["requestBody"]>["content"]["application/json"]["contract"]>;
33812
35212
  /** Request body for `sb.contracts.templates.create()`. */
33813
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"]>;
33814
35216
  /** Request body for `sb.contracts.issue()`. */
33815
35217
  type IssueContractBody = NonNullable<NonNullable<operations["issueContract"]["requestBody"]>["content"]["application/json"]["signatureMethod"]>;
33816
35218
  /** Request body for `sb.contracts.terminate()`. */
@@ -33822,6 +35224,8 @@ type UpdateTemplateBody = NonNullable<NonNullable<operations["updateTemplate"]["
33822
35224
 
33823
35225
  /** A Company entity as returned by the Spacebring API. */
33824
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"]>;
33825
35229
  /** A Membership entity as returned by the Spacebring API. */
33826
35230
  type Membership = NonNullable<components["schemas"]["membership"]>;
33827
35231
  /** Query parameters for `sb.community.companies.list()`. */
@@ -33869,6 +35273,8 @@ interface GetMembershipsQuery {
33869
35273
  }
33870
35274
  /** Request body for `sb.community.companies.create()`. */
33871
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"]>;
33872
35278
  /** Request body for `sb.community.memberships.create()`. */
33873
35279
  type CreateMembershipBody = NonNullable<operations["createMembership"]["requestBody"]>["content"]["application/json"];
33874
35280
  /** Request body for `sb.community.companies.update()`. */
@@ -33876,6 +35282,32 @@ type UpdateCompanyBody = NonNullable<NonNullable<operations["updateCompany"]["re
33876
35282
  /** Request body for `sb.community.memberships.update()`. */
33877
35283
  type UpdateMembershipBody = NonNullable<NonNullable<operations["updateMembership"]["requestBody"]>["content"]["application/json"]["membership"]>;
33878
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
+
33879
35311
  /** A CreditNote entity as returned by the Spacebring API. */
33880
35312
  type CreditNote = NonNullable<components["schemas"]["creditNote"]>;
33881
35313
  /** A Invoice entity as returned by the Spacebring API. */
@@ -34180,6 +35612,17 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
34180
35612
  };
34181
35613
  };
34182
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
+ };
34183
35626
  community: {
34184
35627
  companies: {
34185
35628
  list(query: GetCompaniesQuery, options?: SpacebringRequestOptions): Promise<{
@@ -34190,6 +35633,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
34190
35633
  get(id: string, options?: SpacebringRequestOptions): Promise<Company>;
34191
35634
  create(company: CreateCompanyBody, options?: SpacebringRequestOptions): Promise<Company>;
34192
35635
  update(id: string, company: UpdateCompanyBody, options?: SpacebringRequestOptions): Promise<Company>;
35636
+ createMedia(media: CreateCompanyMediaBody, options?: SpacebringRequestOptions): Promise<CompanyMedia>;
34193
35637
  };
34194
35638
  memberships: {
34195
35639
  list(query: GetMembershipsQuery, options?: SpacebringRequestOptions): Promise<{
@@ -34236,6 +35680,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
34236
35680
  create(template: CreateTemplateBody, options?: SpacebringRequestOptions): Promise<Template>;
34237
35681
  update(templateId: string, template: UpdateTemplateBody, options?: SpacebringRequestOptions): Promise<undefined>;
34238
35682
  delete(templateId: string, options?: SpacebringRequestOptions): Promise<undefined>;
35683
+ createMedia(media: CreateTemplateMediaBody, options?: SpacebringRequestOptions): Promise<TemplateMedia>;
34239
35684
  duplicate(templateId: string, options?: SpacebringRequestOptions): Promise<Template>;
34240
35685
  };
34241
35686
  };
@@ -34289,6 +35734,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
34289
35734
  };
34290
35735
  };
34291
35736
  feed: {
35737
+ createMedia(media: CreateFeedPostMediaBody, options?: SpacebringRequestOptions): Promise<FeedMedia>;
34292
35738
  comments: {
34293
35739
  create(comment: CreateFeedPostCommentBody, options?: SpacebringRequestOptions): Promise<Comment>;
34294
35740
  delete(id: string, options?: SpacebringRequestOptions): Promise<undefined>;
@@ -34327,6 +35773,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
34327
35773
  create(guide: CreateGuideBody, options?: SpacebringRequestOptions): Promise<Guide>;
34328
35774
  update(guideId: string, guide: PatchGuideBody, options?: SpacebringRequestOptions): Promise<Guide>;
34329
35775
  delete(guideId: string, options?: SpacebringRequestOptions): Promise<undefined>;
35776
+ createMedia(media: CreateGuideMediaBody, options?: SpacebringRequestOptions): Promise<GuideMedia>;
34330
35777
  };
34331
35778
  locations: {
34332
35779
  list(options?: SpacebringRequestOptions): Promise<Location[]>;
@@ -34376,6 +35823,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
34376
35823
  get(resourceId: string, options?: SpacebringRequestOptions): Promise<Resource>;
34377
35824
  create(resource: CreateResourceBody, options?: SpacebringRequestOptions): Promise<Resource>;
34378
35825
  update(resourceId: string, resource: PatchResourceBody, options?: SpacebringRequestOptions): Promise<undefined>;
35826
+ createMedia(media: CreateResourceMediaBody, options?: SpacebringRequestOptions): Promise<ResourceMedia>;
34379
35827
  getResourceAvailability(resourceId: string, body: GetResourceAvailabilityBody, options?: SpacebringRequestOptions): Promise<GetResourceAvailability>;
34380
35828
  assignments: {
34381
35829
  list(query?: GetAssignmentsQuery, options?: SpacebringRequestOptions): Promise<{
@@ -34428,6 +35876,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
34428
35876
  create(product: CreateProductBody, options?: SpacebringRequestOptions): Promise<Product>;
34429
35877
  update(productId: string, product: UpdateProductBody, options?: SpacebringRequestOptions): Promise<Product>;
34430
35878
  delete(productId: string, options?: SpacebringRequestOptions): Promise<undefined>;
35879
+ createMedia(media: CreateProductMediaBody, options?: SpacebringRequestOptions): Promise<ProductMedia>;
34431
35880
  };
34432
35881
  };
34433
35882
  subscriptions: {
@@ -34629,4 +36078,4 @@ declare class SpacebringError extends Error {
34629
36078
  });
34630
36079
  }
34631
36080
 
34632
- 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 };