@izak0s/spacebring-api 8.0.0 → 9.0.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
@@ -1490,7 +1490,8 @@ interface paths {
1490
1490
  put?: never;
1491
1491
  /**
1492
1492
  * Check in a ticket
1493
- * @description Check in an event ticket. Fails if the ticket is already checked in. <h3>OAuth</h3>Required scopes: <code>events</code>
1493
+ * @deprecated
1494
+ * @description Check in an event ticket. Fails if the ticket is already checked in. Deprecated: this endpoint will be removed in a future release. <h3>OAuth</h3>Required scopes: <code>events</code>
1494
1495
  */
1495
1496
  post: operations["checkInEventTicket"];
1496
1497
  delete?: never;
@@ -3253,6 +3254,13 @@ interface components {
3253
3254
  * @description Unique identifier of the benefit.
3254
3255
  */
3255
3256
  id: string;
3257
+ /** @description Media files attached to this benefit. */
3258
+ media: {
3259
+ /** @description Storage key of the media file. */
3260
+ key: string;
3261
+ /** @description Public URL of the media file. */
3262
+ url: string;
3263
+ }[];
3256
3264
  /**
3257
3265
  * Format: uri
3258
3266
  * @description URL of the benefit's cover image.
@@ -3292,7 +3300,7 @@ interface components {
3292
3300
  /** @description About text of the user. */
3293
3301
  about?: string | null;
3294
3302
  /** @description Whether the user is blocked. */
3295
- blocked: boolean;
3303
+ blocked?: boolean;
3296
3304
  /**
3297
3305
  * Format: date-time
3298
3306
  * @description ISO timestamp of when the user account was created.
@@ -3323,7 +3331,7 @@ interface components {
3323
3331
  */
3324
3332
  photoUrl?: string | null;
3325
3333
  /** @description Whether the user has restricted access. */
3326
- restricted: boolean;
3334
+ restricted?: boolean;
3327
3335
  /** @description Last name of the user. */
3328
3336
  surname?: string | null;
3329
3337
  };
@@ -3343,6 +3351,13 @@ interface components {
3343
3351
  * @description Unique identifier of the benefit.
3344
3352
  */
3345
3353
  id: string;
3354
+ /** @description Media files attached to this benefit. */
3355
+ media: {
3356
+ /** @description Storage key of the media file. */
3357
+ key: string;
3358
+ /** @description Public URL of the media file. */
3359
+ url: string;
3360
+ }[];
3346
3361
  /**
3347
3362
  * Format: uri
3348
3363
  * @description URL of the benefit's cover image.
@@ -3382,7 +3397,7 @@ interface components {
3382
3397
  /** @description About text of the user. */
3383
3398
  about?: string | null;
3384
3399
  /** @description Whether the user is blocked. */
3385
- blocked: boolean;
3400
+ blocked?: boolean;
3386
3401
  /**
3387
3402
  * Format: date-time
3388
3403
  * @description ISO timestamp of when the user account was created.
@@ -3413,7 +3428,7 @@ interface components {
3413
3428
  */
3414
3429
  photoUrl?: string | null;
3415
3430
  /** @description Whether the user has restricted access. */
3416
- restricted: boolean;
3431
+ restricted?: boolean;
3417
3432
  /** @description Last name of the user. */
3418
3433
  surname?: string | null;
3419
3434
  };
@@ -3430,6 +3445,13 @@ interface components {
3430
3445
  * @description Unique identifier of the benefit.
3431
3446
  */
3432
3447
  id: string;
3448
+ /** @description Media files attached to this benefit. */
3449
+ media: {
3450
+ /** @description Storage key of the media file. */
3451
+ key: string;
3452
+ /** @description Public URL of the media file. */
3453
+ url: string;
3454
+ }[];
3433
3455
  /**
3434
3456
  * Format: uri
3435
3457
  * @description URL of the benefit's cover image.
@@ -3469,7 +3491,7 @@ interface components {
3469
3491
  /** @description About text of the user. */
3470
3492
  about?: string | null;
3471
3493
  /** @description Whether the user is blocked. */
3472
- blocked: boolean;
3494
+ blocked?: boolean;
3473
3495
  /**
3474
3496
  * Format: date-time
3475
3497
  * @description ISO timestamp of when the user account was created.
@@ -3500,7 +3522,7 @@ interface components {
3500
3522
  */
3501
3523
  photoUrl?: string | null;
3502
3524
  /** @description Whether the user has restricted access. */
3503
- restricted: boolean;
3525
+ restricted?: boolean;
3504
3526
  /** @description Last name of the user. */
3505
3527
  surname?: string | null;
3506
3528
  };
@@ -6604,7 +6626,7 @@ interface components {
6604
6626
  * @description Product type of the limited item.
6605
6627
  * @enum {string}
6606
6628
  */
6607
- type: "roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems";
6629
+ type: "roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems";
6608
6630
  }[];
6609
6631
  };
6610
6632
  /** @description Redemption limits for the coupon. */
@@ -6629,7 +6651,7 @@ interface components {
6629
6651
  /** @description Percentage discount amount. */
6630
6652
  percentOff?: number | null;
6631
6653
  /** @description Product types the coupon applies to. */
6632
- productTypes: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
6654
+ productTypes: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
6633
6655
  /**
6634
6656
  * @description Deprecated coupon category.
6635
6657
  * @enum {string}
@@ -6722,7 +6744,7 @@ interface components {
6722
6744
  * @description Product type of the limited item.
6723
6745
  * @enum {string}
6724
6746
  */
6725
- type: "roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems";
6747
+ type: "roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems";
6726
6748
  }[];
6727
6749
  };
6728
6750
  /** @description Redemption limits for the coupon. */
@@ -6737,7 +6759,7 @@ interface components {
6737
6759
  /** @description Percentage discount amount. */
6738
6760
  percentOff?: number | null;
6739
6761
  /** @description Product types the coupon applies to. */
6740
- productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
6762
+ productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
6741
6763
  /**
6742
6764
  * @description Deprecated coupon category.
6743
6765
  * @enum {string}
@@ -7011,6 +7033,11 @@ interface components {
7011
7033
  * @description ISO timestamp of when the attendee checked in.
7012
7034
  */
7013
7035
  checkInDate?: string;
7036
+ /**
7037
+ * Format: uuid
7038
+ * @description ID of the ticket's check-in in the check-ins service.
7039
+ */
7040
+ checkInRef?: string;
7014
7041
  /**
7015
7042
  * Format: date-time
7016
7043
  * @description ISO timestamp of when the ticket was created.
@@ -7394,7 +7421,7 @@ interface components {
7394
7421
  * @description Payment type.
7395
7422
  * @enum {string}
7396
7423
  */
7397
- type: "authorizenet" | "credits" | "external" | "flow" | "fondy" | "freedompay" | "invoice" | "kakaopay" | "maya" | "mercadopago" | "mollie" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "xendit";
7424
+ type: "authorizenet" | "credits" | "external" | "flow" | "fondy" | "freedompay" | "hyperpay" | "invoice" | "kakaopay" | "maya" | "mercadopago" | "mollie" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "xendit";
7398
7425
  };
7399
7426
  /** @description Number of tickets included in this purchase. */
7400
7427
  quantity: number;
@@ -8133,7 +8160,7 @@ interface components {
8133
8160
  * @description Product type of the limited item.
8134
8161
  * @enum {string}
8135
8162
  */
8136
- type: "roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems";
8163
+ type: "roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems";
8137
8164
  }[];
8138
8165
  };
8139
8166
  /** @description Redemption limits for the coupon. */
@@ -8148,7 +8175,7 @@ interface components {
8148
8175
  /** @description Percentage discount. */
8149
8176
  percentOff?: number;
8150
8177
  /** @description Product types the coupon applies to. */
8151
- productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
8178
+ productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
8152
8179
  };
8153
8180
  }[];
8154
8181
  /**
@@ -8306,7 +8333,7 @@ interface components {
8306
8333
  * @description Product type of the limited item.
8307
8334
  * @enum {string}
8308
8335
  */
8309
- type: "roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems";
8336
+ type: "roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems";
8310
8337
  }[];
8311
8338
  };
8312
8339
  /** @description Redemption limits for the coupon. */
@@ -8321,7 +8348,7 @@ interface components {
8321
8348
  /** @description Percentage discount. */
8322
8349
  percentOff?: number;
8323
8350
  /** @description Product types the coupon applies to. */
8324
- productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
8351
+ productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
8325
8352
  };
8326
8353
  }[];
8327
8354
  /**
@@ -8478,7 +8505,7 @@ interface components {
8478
8505
  * @description Product type of the limited item.
8479
8506
  * @enum {string}
8480
8507
  */
8481
- type: "roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems";
8508
+ type: "roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems";
8482
8509
  }[];
8483
8510
  };
8484
8511
  /** @description Redemption limits for the coupon. */
@@ -8493,7 +8520,7 @@ interface components {
8493
8520
  /** @description Percentage discount. */
8494
8521
  percentOff?: number;
8495
8522
  /** @description Product types the coupon applies to. */
8496
- productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
8523
+ productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
8497
8524
  };
8498
8525
  }[];
8499
8526
  /**
@@ -8611,6 +8638,11 @@ interface components {
8611
8638
  role?: "owner" | "admin" | "member";
8612
8639
  /** @description ISO timestamp or date when terms consent was given. */
8613
8640
  termsConsentDate?: string;
8641
+ /**
8642
+ * @description Whether the registration belongs to a person or to an AI agent.
8643
+ * @enum {string}
8644
+ */
8645
+ type: "user" | "agent";
8614
8646
  /** @description Profile details of the registered user. */
8615
8647
  user: {
8616
8648
  /** @description About text of the user. */
@@ -8999,7 +9031,7 @@ interface components {
8999
9031
  * @description Product type of the limited item.
9000
9032
  * @enum {string}
9001
9033
  */
9002
- type: "roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems";
9034
+ type: "roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems";
9003
9035
  }[];
9004
9036
  };
9005
9037
  /** @description Redemption limits for the coupon. */
@@ -9014,7 +9046,7 @@ interface components {
9014
9046
  /** @description Percentage discount. */
9015
9047
  percentOff?: number;
9016
9048
  /** @description Product types the coupon applies to. */
9017
- productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
9049
+ productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
9018
9050
  };
9019
9051
  }[];
9020
9052
  /**
@@ -9085,7 +9117,7 @@ interface components {
9085
9117
  * @description Product type of the limited item.
9086
9118
  * @enum {string}
9087
9119
  */
9088
- type: "roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems";
9120
+ type: "roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems";
9089
9121
  }[];
9090
9122
  };
9091
9123
  /** @description Redemption limits for the coupon. */
@@ -9100,7 +9132,7 @@ interface components {
9100
9132
  /** @description Percentage discount. */
9101
9133
  percentOff?: number;
9102
9134
  /** @description Product types the coupon applies to. */
9103
- productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
9135
+ productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
9104
9136
  };
9105
9137
  }[];
9106
9138
  /**
@@ -9608,7 +9640,7 @@ interface components {
9608
9640
  * @description Product type of the limited item.
9609
9641
  * @enum {string}
9610
9642
  */
9611
- type: "roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems";
9643
+ type: "roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems";
9612
9644
  }[];
9613
9645
  };
9614
9646
  /** @description Redemption limits for the coupon. */
@@ -9623,7 +9655,7 @@ interface components {
9623
9655
  /** @description Percentage discount. */
9624
9656
  percentOff?: number;
9625
9657
  /** @description Product types the coupon applies to. */
9626
- productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
9658
+ productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
9627
9659
  };
9628
9660
  }[];
9629
9661
  /**
@@ -9694,7 +9726,7 @@ interface components {
9694
9726
  * @description Product type of the limited item.
9695
9727
  * @enum {string}
9696
9728
  */
9697
- type: "roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems";
9729
+ type: "roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems";
9698
9730
  }[];
9699
9731
  };
9700
9732
  /** @description Redemption limits for the coupon. */
@@ -9709,7 +9741,7 @@ interface components {
9709
9741
  /** @description Percentage discount. */
9710
9742
  percentOff?: number;
9711
9743
  /** @description Product types the coupon applies to. */
9712
- productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
9744
+ productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
9713
9745
  };
9714
9746
  }[];
9715
9747
  /**
@@ -9978,6 +10010,10 @@ interface components {
9978
10010
  surname?: string | null;
9979
10011
  };
9980
10012
  }[];
10013
+ /** @description Pagination token to fetch the next page of results. */
10014
+ nextPageToken?: string;
10015
+ /** @description Search query parameters for the next page of results. Includes all filters used to fetch the current page. */
10016
+ searchQueryNext?: string;
9981
10017
  };
9982
10018
  createAssignment: {
9983
10019
  /** @description The created assignment. */
@@ -10147,6 +10183,52 @@ interface components {
10147
10183
  * @description ISO timestamp when the booking was created.
10148
10184
  */
10149
10185
  createDate: string;
10186
+ /** @description Customer the booking belongs to. Omitted when the caller has no access. */
10187
+ customer?: {
10188
+ /** @description Company the booking was made for, recorded when the owner was a member of a company at the time of the booking. */
10189
+ company?: {
10190
+ /**
10191
+ * Format: uuid
10192
+ * @description Unique identifier of the company.
10193
+ */
10194
+ id: string;
10195
+ /** @description Company name. */
10196
+ title: string;
10197
+ };
10198
+ /**
10199
+ * Format: uuid
10200
+ * @description Customer id of the booking owner.
10201
+ */
10202
+ id: string;
10203
+ /** @description Profile of the booking owner. Omitted when the owner has restricted visibility. */
10204
+ user?: {
10205
+ /** @description Short bio of the user. */
10206
+ about?: string | null;
10207
+ /** @description Company the user belongs to, if any. */
10208
+ company?: {
10209
+ /** @description Company display name. */
10210
+ title: string;
10211
+ } | null;
10212
+ /**
10213
+ * Format: email
10214
+ * @description Email address of the user.
10215
+ */
10216
+ email?: string | null;
10217
+ /**
10218
+ * Format: uuid
10219
+ * @description Unique identifier of the user.
10220
+ */
10221
+ id: string;
10222
+ /** @description First name of the user. */
10223
+ name?: string | null;
10224
+ /** @description Phone number of the user. */
10225
+ phoneNumber?: string | null;
10226
+ /** @description Profile photo URL of the user. */
10227
+ photoUrl?: string | null;
10228
+ /** @description Last name of the user. */
10229
+ surname?: string | null;
10230
+ };
10231
+ };
10150
10232
  /**
10151
10233
  * Format: date-time
10152
10234
  * @description ISO timestamp when the booking was cancelled.
@@ -10164,7 +10246,7 @@ interface components {
10164
10246
  /**
10165
10247
  * Format: uuid
10166
10248
  * @deprecated
10167
- * @description Deprecated. Customer id of the booking owner. Omitted when the caller has no access.
10249
+ * @description Deprecated. Use `customer.id` instead. Customer id of the booking owner. Omitted when the caller has no access.
10168
10250
  */
10169
10251
  membershipRefOwner?: string;
10170
10252
  /** @description Note attached to the booking. Visible to the booking owner and to admins. */
@@ -10395,7 +10477,7 @@ interface components {
10395
10477
  * @description Payment gateway that processed the charge.
10396
10478
  * @enum {string}
10397
10479
  */
10398
- gateway?: "authorizenet" | "flow" | "fondy" | "freedompay" | "kakaopay" | "maya" | "mercadopago" | "mollie" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "xendit";
10480
+ gateway?: "authorizenet" | "flow" | "fondy" | "freedompay" | "hyperpay" | "kakaopay" | "maya" | "mercadopago" | "mollie" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "xendit";
10399
10481
  /** @description Saved payment method label, e.g. `Visa •••• 4242`. */
10400
10482
  label?: string;
10401
10483
  /** @description Masked payment method identifier. */
@@ -10820,7 +10902,7 @@ interface components {
10820
10902
  * @description Payment gateway that processed the charge.
10821
10903
  * @enum {string}
10822
10904
  */
10823
- gateway?: "authorizenet" | "flow" | "fondy" | "freedompay" | "kakaopay" | "maya" | "mercadopago" | "mollie" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "xendit";
10905
+ gateway?: "authorizenet" | "flow" | "fondy" | "freedompay" | "hyperpay" | "kakaopay" | "maya" | "mercadopago" | "mollie" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "xendit";
10824
10906
  /** @description Saved payment method label, e.g. `Visa •••• 4242`. */
10825
10907
  label?: string;
10826
10908
  /** @description Masked payment method identifier. */
@@ -11119,6 +11201,52 @@ interface components {
11119
11201
  * @description ISO timestamp when the booking was created.
11120
11202
  */
11121
11203
  createDate: string;
11204
+ /** @description Customer the booking belongs to. Omitted when the caller has no access. */
11205
+ customer?: {
11206
+ /** @description Company the booking was made for, recorded when the owner was a member of a company at the time of the booking. */
11207
+ company?: {
11208
+ /**
11209
+ * Format: uuid
11210
+ * @description Unique identifier of the company.
11211
+ */
11212
+ id: string;
11213
+ /** @description Company name. */
11214
+ title: string;
11215
+ };
11216
+ /**
11217
+ * Format: uuid
11218
+ * @description Customer id of the booking owner.
11219
+ */
11220
+ id: string;
11221
+ /** @description Profile of the booking owner. Omitted when the owner has restricted visibility. */
11222
+ user?: {
11223
+ /** @description Short bio of the user. */
11224
+ about?: string | null;
11225
+ /** @description Company the user belongs to, if any. */
11226
+ company?: {
11227
+ /** @description Company display name. */
11228
+ title: string;
11229
+ } | null;
11230
+ /**
11231
+ * Format: email
11232
+ * @description Email address of the user.
11233
+ */
11234
+ email?: string | null;
11235
+ /**
11236
+ * Format: uuid
11237
+ * @description Unique identifier of the user.
11238
+ */
11239
+ id: string;
11240
+ /** @description First name of the user. */
11241
+ name?: string | null;
11242
+ /** @description Phone number of the user. */
11243
+ phoneNumber?: string | null;
11244
+ /** @description Profile photo URL of the user. */
11245
+ photoUrl?: string | null;
11246
+ /** @description Last name of the user. */
11247
+ surname?: string | null;
11248
+ };
11249
+ };
11122
11250
  /**
11123
11251
  * Format: date-time
11124
11252
  * @description ISO timestamp when the booking was cancelled.
@@ -11136,7 +11264,7 @@ interface components {
11136
11264
  /**
11137
11265
  * Format: uuid
11138
11266
  * @deprecated
11139
- * @description Deprecated. Customer id of the booking owner. Omitted when the caller has no access.
11267
+ * @description Deprecated. Use `customer.id` instead. Customer id of the booking owner. Omitted when the caller has no access.
11140
11268
  */
11141
11269
  membershipRefOwner?: string;
11142
11270
  /** @description Note attached to the booking. Visible to the booking owner and to admins. */
@@ -11367,7 +11495,7 @@ interface components {
11367
11495
  * @description Payment gateway that processed the charge.
11368
11496
  * @enum {string}
11369
11497
  */
11370
- gateway?: "authorizenet" | "flow" | "fondy" | "freedompay" | "kakaopay" | "maya" | "mercadopago" | "mollie" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "xendit";
11498
+ gateway?: "authorizenet" | "flow" | "fondy" | "freedompay" | "hyperpay" | "kakaopay" | "maya" | "mercadopago" | "mollie" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "xendit";
11371
11499
  /** @description Saved payment method label, e.g. `Visa •••• 4242`. */
11372
11500
  label?: string;
11373
11501
  /** @description Masked payment method identifier. */
@@ -11792,7 +11920,7 @@ interface components {
11792
11920
  * @description Payment gateway that processed the charge.
11793
11921
  * @enum {string}
11794
11922
  */
11795
- gateway?: "authorizenet" | "flow" | "fondy" | "freedompay" | "kakaopay" | "maya" | "mercadopago" | "mollie" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "xendit";
11923
+ gateway?: "authorizenet" | "flow" | "fondy" | "freedompay" | "hyperpay" | "kakaopay" | "maya" | "mercadopago" | "mollie" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "xendit";
11796
11924
  /** @description Saved payment method label, e.g. `Visa •••• 4242`. */
11797
11925
  label?: string;
11798
11926
  /** @description Masked payment method identifier. */
@@ -12811,7 +12939,7 @@ interface components {
12811
12939
  * @description Payment gateway type.
12812
12940
  * @enum {string}
12813
12941
  */
12814
- type?: "authorizenet" | "flow" | "fondy" | "freedompay" | "kakaopay" | "maya" | "mercadopago" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "mollie" | "xendit";
12942
+ type?: "authorizenet" | "flow" | "fondy" | "freedompay" | "hyperpay" | "kakaopay" | "maya" | "mercadopago" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "mollie" | "xendit";
12815
12943
  };
12816
12944
  /**
12817
12945
  * @description Payment method type.
@@ -13279,7 +13407,7 @@ interface components {
13279
13407
  * @description Payment gateway type.
13280
13408
  * @enum {string}
13281
13409
  */
13282
- type?: "authorizenet" | "flow" | "fondy" | "freedompay" | "kakaopay" | "maya" | "mercadopago" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "mollie" | "xendit";
13410
+ type?: "authorizenet" | "flow" | "fondy" | "freedompay" | "hyperpay" | "kakaopay" | "maya" | "mercadopago" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "mollie" | "xendit";
13283
13411
  };
13284
13412
  /**
13285
13413
  * @description Payment method type.
@@ -13763,7 +13891,7 @@ interface components {
13763
13891
  * @description Product type of the limited item.
13764
13892
  * @enum {string}
13765
13893
  */
13766
- type: "roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems";
13894
+ type: "roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems";
13767
13895
  }[];
13768
13896
  };
13769
13897
  /** @description Redemption limits for the coupon. */
@@ -13778,7 +13906,7 @@ interface components {
13778
13906
  /** @description Percentage discount. */
13779
13907
  percentOff?: number;
13780
13908
  /** @description Product types the coupon applies to. */
13781
- productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
13909
+ productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
13782
13910
  };
13783
13911
  }[];
13784
13912
  /**
@@ -14340,7 +14468,7 @@ interface components {
14340
14468
  * @description Product type of the limited item.
14341
14469
  * @enum {string}
14342
14470
  */
14343
- type: "roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems";
14471
+ type: "roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems";
14344
14472
  }[];
14345
14473
  };
14346
14474
  /** @description Redemption limits for the coupon. */
@@ -14355,7 +14483,7 @@ interface components {
14355
14483
  /** @description Percentage discount. */
14356
14484
  percentOff?: number;
14357
14485
  /** @description Product types the coupon applies to. */
14358
- productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
14486
+ productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
14359
14487
  };
14360
14488
  }[];
14361
14489
  /**
@@ -14918,7 +15046,7 @@ interface components {
14918
15046
  * @description Product type of the limited item.
14919
15047
  * @enum {string}
14920
15048
  */
14921
- type: "roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems";
15049
+ type: "roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems";
14922
15050
  }[];
14923
15051
  };
14924
15052
  /** @description Redemption limits for the coupon. */
@@ -14933,7 +15061,7 @@ interface components {
14933
15061
  /** @description Percentage discount. */
14934
15062
  percentOff?: number;
14935
15063
  /** @description Product types the coupon applies to. */
14936
- productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
15064
+ productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
14937
15065
  };
14938
15066
  }[];
14939
15067
  /**
@@ -18122,7 +18250,7 @@ interface components {
18122
18250
  paymentMethod?: {
18123
18251
  label?: string;
18124
18252
  /** @enum {string} */
18125
- type?: "external" | "flow" | "fondy" | "freedompay" | "kakaopay" | "mercadopago" | "paypal" | "paystack" | "plata" | "stripe" | "tap" | "wayforpay";
18253
+ type?: "external" | "flow" | "fondy" | "freedompay" | "hyperpay" | "kakaopay" | "mercadopago" | "paypal" | "paystack" | "plata" | "stripe" | "tap" | "wayforpay";
18126
18254
  };
18127
18255
  plan?: {
18128
18256
  /** Format: uuid */
@@ -18820,7 +18948,7 @@ interface components {
18820
18948
  * @description Payment gateway provider.
18821
18949
  * @enum {string}
18822
18950
  */
18823
- gateway: "authorizenet" | "freedompay" | "kakaopay" | "maya" | "mercadopago" | "mollie" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "xendit";
18951
+ gateway: "authorizenet" | "freedompay" | "hyperpay" | "kakaopay" | "maya" | "mercadopago" | "mollie" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "xendit";
18824
18952
  /**
18825
18953
  * Format: uuid
18826
18954
  * @description ID of the saved payment method.
@@ -18848,7 +18976,7 @@ interface components {
18848
18976
  * @description Payment gateway type.
18849
18977
  * @enum {string}
18850
18978
  */
18851
- type: "authorizenet" | "external" | "freedompay" | "kakaopay" | "maya" | "mercadopago" | "mollie" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "xendit";
18979
+ type: "authorizenet" | "external" | "freedompay" | "hyperpay" | "kakaopay" | "maya" | "mercadopago" | "mollie" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "xendit";
18852
18980
  };
18853
18981
  /** @description Whether the user has accepted the payment terms. */
18854
18982
  termsConsent?: boolean;
@@ -19443,7 +19571,7 @@ interface components {
19443
19571
  * @description Product type of the limited item.
19444
19572
  * @enum {string}
19445
19573
  */
19446
- type: "roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems";
19574
+ type: "roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems";
19447
19575
  }[];
19448
19576
  };
19449
19577
  /** @description Redemption limits for the coupon. */
@@ -19461,7 +19589,7 @@ interface components {
19461
19589
  /** @description Percentage discount amount. */
19462
19590
  percentOff?: number;
19463
19591
  /** @description Product types the coupon applies to. */
19464
- productTypes: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
19592
+ productTypes: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
19465
19593
  };
19466
19594
  };
19467
19595
  };
@@ -19484,7 +19612,7 @@ interface components {
19484
19612
  * @description Product type of the limited item.
19485
19613
  * @enum {string}
19486
19614
  */
19487
- type: "roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems";
19615
+ type: "roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems";
19488
19616
  }[];
19489
19617
  };
19490
19618
  };
@@ -20054,7 +20182,7 @@ interface components {
20054
20182
  /** @description Percentage discount. */
20055
20183
  percentOff?: number;
20056
20184
  /** @description Product types the coupon applies to. */
20057
- productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
20185
+ productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
20058
20186
  };
20059
20187
  }[];
20060
20188
  /**
@@ -20212,7 +20340,7 @@ interface components {
20212
20340
  /** @description Percentage discount. */
20213
20341
  percentOff?: number;
20214
20342
  /** @description Product types the coupon applies to. */
20215
- productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
20343
+ productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
20216
20344
  };
20217
20345
  }[];
20218
20346
  /** @description Price of the plan. */
@@ -20453,7 +20581,7 @@ interface components {
20453
20581
  /** @description Percentage discount. */
20454
20582
  percentOff?: number;
20455
20583
  /** @description Product types the coupon applies to. */
20456
- productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
20584
+ productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
20457
20585
  };
20458
20586
  }[];
20459
20587
  /**
@@ -20852,7 +20980,7 @@ interface components {
20852
20980
  /** @description Percentage discount. */
20853
20981
  percentOff?: number;
20854
20982
  /** @description Product types the coupon applies to. */
20855
- productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
20983
+ productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
20856
20984
  };
20857
20985
  }[];
20858
20986
  /**
@@ -20999,6 +21127,16 @@ interface components {
20999
21127
  content: {
21000
21128
  "application/json": {
21001
21129
  booking: {
21130
+ /** @description Attendees to invite to the booking. Supported for room resources. Users without a membership in the location are left out, and so is the owner. */
21131
+ attendees?: {
21132
+ user: {
21133
+ /**
21134
+ * Format: uuid
21135
+ * @description User id of the attendee.
21136
+ */
21137
+ id: string;
21138
+ };
21139
+ }[];
21002
21140
  /**
21003
21141
  * Format: date-time
21004
21142
  * @description ISO timestamp when the booking ends.
@@ -21014,6 +21152,8 @@ interface components {
21014
21152
  membershipRefOwner?: string;
21015
21153
  /** @description Internal note attached to the booking. */
21016
21154
  memo?: string;
21155
+ /** @description RRULE lines that make the booking repeat, e.g. `RRULE:FREQ=WEEKLY;COUNT=10`. The DTSTART line is derived from startDate. Only a free booking can repeat. */
21156
+ recurrence?: string[];
21017
21157
  /**
21018
21158
  * Format: uuid
21019
21159
  * @description ID of the resource to book.
@@ -21021,6 +21161,12 @@ interface components {
21021
21161
  resourceRef: string;
21022
21162
  /** @description Number of seats to reserve. Required for desk and office resources. */
21023
21163
  seats?: number;
21164
+ /**
21165
+ * @description Whether to notify the owner and the attendees about the booking. Defaults to `all`.
21166
+ * @default all
21167
+ * @enum {string}
21168
+ */
21169
+ sendUpdates?: "none" | "all";
21024
21170
  /**
21025
21171
  * Format: date-time
21026
21172
  * @description ISO timestamp when the booking starts.
@@ -21510,7 +21656,7 @@ interface components {
21510
21656
  /** @description Percentage discount. */
21511
21657
  percentOff?: number;
21512
21658
  /** @description Product types the coupon applies to. */
21513
- productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
21659
+ productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
21514
21660
  };
21515
21661
  }[];
21516
21662
  /** @description Kisi access group reference. */
@@ -21704,7 +21850,7 @@ interface components {
21704
21850
  /** @description Percentage discount. */
21705
21851
  percentOff?: number;
21706
21852
  /** @description Product types the coupon applies to. */
21707
- productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
21853
+ productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
21708
21854
  };
21709
21855
  }[];
21710
21856
  /** @description Kisi access group reference. */
@@ -21897,7 +22043,7 @@ interface components {
21897
22043
  /** @description Percentage discount. */
21898
22044
  percentOff?: number;
21899
22045
  /** @description Product types the coupon applies to. */
21900
- productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
22046
+ productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
21901
22047
  };
21902
22048
  }[];
21903
22049
  /** @description Kisi access group reference. */
@@ -22049,7 +22195,7 @@ interface components {
22049
22195
  /** @description Percentage discount. */
22050
22196
  percentOff?: number;
22051
22197
  /** @description Product types the coupon applies to. */
22052
- productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
22198
+ productTypes?: ("roomBookings" | "eventSpaceBookings" | "conferenceRoomBookings" | "meetingRoomBookings" | "phoneBoothBookings" | "stationBookings" | "studioBookings" | "hotDeskBookings" | "dedicatedDeskBookings" | "officeBookings" | "parkingBookings" | "equipmentBookings" | "eventTickets" | "shopProducts" | "packages" | "subscriptionItems")[];
22053
22199
  };
22054
22200
  }[];
22055
22201
  /** @description Kisi access group reference. */
@@ -27237,8 +27383,12 @@ interface operations {
27237
27383
  getAssignments: {
27238
27384
  parameters: {
27239
27385
  query?: {
27386
+ /** @description 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. */
27387
+ limit?: number;
27240
27388
  /** @description UUID of the location whose resource assignments to list. */
27241
27389
  locationRef?: string;
27390
+ /** @description Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. Ignored when registrationRef is used. */
27391
+ nextPageToken?: string;
27242
27392
  };
27243
27393
  header?: {
27244
27394
  /** @description The id of the network. Required when using bearer token authentication */
@@ -30110,8 +30260,12 @@ type Booking = NonNullable<operations["getBooking"]["responses"][200]["content"]
30110
30260
  type Resource = NonNullable<operations["getResource"]["responses"][200]["content"]["application/json"]["resource"]>;
30111
30261
  /** Query parameters for `sb.resources.assignments.list()`. */
30112
30262
  interface GetAssignmentsQuery {
30263
+ /** 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. */
30264
+ limit?: number;
30113
30265
  /** UUID of the location whose resource assignments to list. */
30114
30266
  locationRef?: string;
30267
+ /** Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. Ignored when registrationRef is used. */
30268
+ nextPageToken?: string;
30115
30269
  }
30116
30270
  /** Query parameters for `sb.resources.bookings.list()`. */
30117
30271
  interface GetBookingsQuery {
@@ -30974,7 +31128,12 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
30974
31128
  create(resource: CreateResourceBody, options?: SpacebringRequestOptions): Promise<Resource>;
30975
31129
  update(resourceId: string, resource: PatchResourceBody, options?: SpacebringRequestOptions): Promise<undefined>;
30976
31130
  assignments: {
30977
- list(query?: GetAssignmentsQuery, options?: SpacebringRequestOptions): Promise<Assignment[]>;
31131
+ list(query?: GetAssignmentsQuery, options?: SpacebringRequestOptions): Promise<{
31132
+ assignments: Assignment[];
31133
+ nextPageToken?: string;
31134
+ searchQueryNext?: string;
31135
+ }>;
31136
+ iterate(query?: Omit<GetAssignmentsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Assignment, void, undefined>;
30978
31137
  create(assignment: CreateAssignmentBody, options?: SpacebringRequestOptions): Promise<Assignment>;
30979
31138
  update(assignmentId: string, assignment: PatchAssignmentBody, options?: SpacebringRequestOptions): Promise<undefined>;
30980
31139
  };