reach-api-sdk 1.0.28 → 1.0.30

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.
@@ -1198,6 +1198,10 @@ type Customer = {
1198
1198
  * Gets or sets the last name.
1199
1199
  */
1200
1200
  lastName?: string | null;
1201
+ /**
1202
+ * Gets the attendees abbreviated name.
1203
+ */
1204
+ readonly nameAbbreviation: string;
1201
1205
  /**
1202
1206
  * Gets or sets the organisation name.
1203
1207
  */
@@ -4020,6 +4024,10 @@ type Order = {
4020
4024
  * Gets or sets the last name.
4021
4025
  */
4022
4026
  lastName?: string | null;
4027
+ /**
4028
+ * Gets the attendees abbreviated name.
4029
+ */
4030
+ readonly nameAbbreviation: string;
4023
4031
  /**
4024
4032
  * Gets or sets the organisation name.
4025
4033
  */
@@ -4120,7 +4128,7 @@ type OrderPatch = {
4120
4128
  /**
4121
4129
  * Post model for the items contained in the order.
4122
4130
  */
4123
- type OrderPostOrderItem = {
4131
+ type OrderPostItem = {
4124
4132
  /**
4125
4133
  * Gets or sets the slot id.
4126
4134
  */
@@ -4195,10 +4203,22 @@ type OrderPost = {
4195
4203
  * Gets or sets a value indicating whether the payment will be taken at a later date.
4196
4204
  */
4197
4205
  payLater: boolean;
4206
+ /**
4207
+ * Gets or sets a value indicating whether the payment has been taken offline (outside of any supported platform payment flow).
4208
+ */
4209
+ paidOffline?: boolean | null;
4210
+ /**
4211
+ * Gets or sets a value indicating whether the order customer is opted into marketing.
4212
+ */
4213
+ marketingOptIn: boolean;
4214
+ /**
4215
+ * Gets or sets a value indicating whether the tenants terms have been agreed.
4216
+ */
4217
+ termsAgreed: boolean;
4198
4218
  /**
4199
4219
  * Gets or sets the order items for the order.
4200
4220
  */
4201
- orderItems: Array<OrderPostOrderItem>;
4221
+ orderItems: Array<OrderPostItem>;
4202
4222
  };
4203
4223
 
4204
4224
  declare class BookingService {
@@ -4240,7 +4260,7 @@ declare class BookingService {
4240
4260
  * @returns any Success
4241
4261
  * @throws ApiError
4242
4262
  */
4243
- exportToCsv({ wildcard, accessCode, venueId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, formData, }: {
4263
+ exportToCsv({ wildcard, accessCode, venueId, customerId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, formData, }: {
4244
4264
  /**
4245
4265
  * Gets or sets the wildcard for use in a query search.
4246
4266
  */
@@ -4253,6 +4273,10 @@ declare class BookingService {
4253
4273
  * Gets or sets the venue Id for use in a query search.
4254
4274
  */
4255
4275
  venueId?: string;
4276
+ /**
4277
+ * Gets or sets the customer Id for use in a query search.
4278
+ */
4279
+ customerId?: string;
4256
4280
  /**
4257
4281
  * Gets or sets the queryable order ids.
4258
4282
  */
@@ -4342,7 +4366,7 @@ declare class BookingService {
4342
4366
  * @returns any Success
4343
4367
  * @throws ApiError
4344
4368
  */
4345
- exportToXlsx({ wildcard, accessCode, venueId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, formData, }: {
4369
+ exportToXlsx({ wildcard, accessCode, venueId, customerId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, formData, }: {
4346
4370
  /**
4347
4371
  * Gets or sets the wildcard for use in a query search.
4348
4372
  */
@@ -4355,6 +4379,10 @@ declare class BookingService {
4355
4379
  * Gets or sets the venue Id for use in a query search.
4356
4380
  */
4357
4381
  venueId?: string;
4382
+ /**
4383
+ * Gets or sets the customer Id for use in a query search.
4384
+ */
4385
+ customerId?: string;
4358
4386
  /**
4359
4387
  * Gets or sets the queryable order ids.
4360
4388
  */
@@ -4465,7 +4493,7 @@ declare class BookingService {
4465
4493
  * @returns boolean Success
4466
4494
  * @throws ApiError
4467
4495
  */
4468
- exists({ wildcard, accessCode, venueId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
4496
+ exists({ wildcard, accessCode, venueId, customerId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
4469
4497
  /**
4470
4498
  * Gets or sets the wildcard for use in a query search.
4471
4499
  */
@@ -4478,6 +4506,10 @@ declare class BookingService {
4478
4506
  * Gets or sets the venue Id for use in a query search.
4479
4507
  */
4480
4508
  venueId?: string;
4509
+ /**
4510
+ * Gets or sets the customer Id for use in a query search.
4511
+ */
4512
+ customerId?: string;
4481
4513
  /**
4482
4514
  * Gets or sets the queryable order ids.
4483
4515
  */
@@ -4560,7 +4592,7 @@ declare class BookingService {
4560
4592
  * @returns OrderPage Success
4561
4593
  * @throws ApiError
4562
4594
  */
4563
- getPage({ wildcard, accessCode, venueId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
4595
+ getPage({ wildcard, accessCode, venueId, customerId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
4564
4596
  /**
4565
4597
  * Gets or sets the wildcard for use in a query search.
4566
4598
  */
@@ -4573,6 +4605,10 @@ declare class BookingService {
4573
4605
  * Gets or sets the venue Id for use in a query search.
4574
4606
  */
4575
4607
  venueId?: string;
4608
+ /**
4609
+ * Gets or sets the customer Id for use in a query search.
4610
+ */
4611
+ customerId?: string;
4576
4612
  /**
4577
4613
  * Gets or sets the queryable order ids.
4578
4614
  */
@@ -4666,7 +4702,7 @@ declare class BookingService {
4666
4702
  * @returns Order Success
4667
4703
  * @throws ApiError
4668
4704
  */
4669
- getListIdName({ wildcard, accessCode, venueId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
4705
+ getListIdName({ wildcard, accessCode, venueId, customerId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
4670
4706
  /**
4671
4707
  * Gets or sets the wildcard for use in a query search.
4672
4708
  */
@@ -4679,6 +4715,10 @@ declare class BookingService {
4679
4715
  * Gets or sets the venue Id for use in a query search.
4680
4716
  */
4681
4717
  venueId?: string;
4718
+ /**
4719
+ * Gets or sets the customer Id for use in a query search.
4720
+ */
4721
+ customerId?: string;
4682
4722
  /**
4683
4723
  * Gets or sets the queryable order ids.
4684
4724
  */
@@ -9338,6 +9378,52 @@ declare class ImagesService {
9338
9378
  }): CancelablePromise<boolean>;
9339
9379
  }
9340
9380
 
9381
+ /**
9382
+ * Refresh model for order refreshesnpm .
9383
+ */
9384
+ type OrderRefresh = {
9385
+ /**
9386
+ * Gets or sets the tenant Id.
9387
+ */
9388
+ tenantId: string;
9389
+ /**
9390
+ * Gets or sets the Id.
9391
+ */
9392
+ id: string;
9393
+ /**
9394
+ * Gets or sets the first name.
9395
+ */
9396
+ firstName: string;
9397
+ /**
9398
+ * Gets or sets the last name.
9399
+ */
9400
+ lastName: string;
9401
+ /**
9402
+ * Gets or sets the email.
9403
+ */
9404
+ email: string;
9405
+ /**
9406
+ * Gets or sets the phone number.
9407
+ */
9408
+ phone?: string | null;
9409
+ /**
9410
+ * Gets or sets the orders postcode.
9411
+ */
9412
+ addressPostalcode: string;
9413
+ /**
9414
+ * Gets or sets a value indicating whether the order customer is opted into marketing.
9415
+ */
9416
+ marketingOptIn: boolean;
9417
+ /**
9418
+ * Gets or sets a value indicating whether the tenants terms have been agreed.
9419
+ */
9420
+ termsAgreed: boolean;
9421
+ /**
9422
+ * Gets or sets the order items for the order.
9423
+ */
9424
+ orderItems: Array<OrderPostItem>;
9425
+ };
9426
+
9341
9427
  declare class LeasingService {
9342
9428
  readonly httpRequest: BaseHttpRequest;
9343
9429
  constructor(httpRequest: BaseHttpRequest);
@@ -9354,7 +9440,7 @@ declare class LeasingService {
9354
9440
  /**
9355
9441
  * The order.
9356
9442
  */
9357
- requestBody?: Order;
9443
+ requestBody?: OrderRefresh;
9358
9444
  }): CancelablePromise<Order>;
9359
9445
  /**
9360
9446
  * Converts a leased order into a booked order and creates stripes payment intent secret..
@@ -9398,7 +9484,7 @@ declare class LeasingService {
9398
9484
  * @returns boolean Success
9399
9485
  * @throws ApiError
9400
9486
  */
9401
- exists({ wildcard, accessCode, venueId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
9487
+ exists({ wildcard, accessCode, venueId, customerId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
9402
9488
  /**
9403
9489
  * Gets or sets the wildcard for use in a query search.
9404
9490
  */
@@ -9411,6 +9497,10 @@ declare class LeasingService {
9411
9497
  * Gets or sets the venue Id for use in a query search.
9412
9498
  */
9413
9499
  venueId?: string;
9500
+ /**
9501
+ * Gets or sets the customer Id for use in a query search.
9502
+ */
9503
+ customerId?: string;
9414
9504
  /**
9415
9505
  * Gets or sets the queryable order ids.
9416
9506
  */
@@ -9493,7 +9583,7 @@ declare class LeasingService {
9493
9583
  * @returns OrderPage Success
9494
9584
  * @throws ApiError
9495
9585
  */
9496
- getPage({ wildcard, accessCode, venueId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
9586
+ getPage({ wildcard, accessCode, venueId, customerId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
9497
9587
  /**
9498
9588
  * Gets or sets the wildcard for use in a query search.
9499
9589
  */
@@ -9506,6 +9596,10 @@ declare class LeasingService {
9506
9596
  * Gets or sets the venue Id for use in a query search.
9507
9597
  */
9508
9598
  venueId?: string;
9599
+ /**
9600
+ * Gets or sets the customer Id for use in a query search.
9601
+ */
9602
+ customerId?: string;
9509
9603
  /**
9510
9604
  * Gets or sets the queryable order ids.
9511
9605
  */
@@ -9599,7 +9693,7 @@ declare class LeasingService {
9599
9693
  * @returns Order Success
9600
9694
  * @throws ApiError
9601
9695
  */
9602
- getListIdName({ wildcard, accessCode, venueId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
9696
+ getListIdName({ wildcard, accessCode, venueId, customerId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
9603
9697
  /**
9604
9698
  * Gets or sets the wildcard for use in a query search.
9605
9699
  */
@@ -9612,6 +9706,10 @@ declare class LeasingService {
9612
9706
  * Gets or sets the venue Id for use in a query search.
9613
9707
  */
9614
9708
  venueId?: string;
9709
+ /**
9710
+ * Gets or sets the customer Id for use in a query search.
9711
+ */
9712
+ customerId?: string;
9615
9713
  /**
9616
9714
  * Gets or sets the queryable order ids.
9617
9715
  */
@@ -12556,7 +12654,7 @@ declare class OrderItemsService {
12556
12654
  }
12557
12655
 
12558
12656
  /**
12559
- * Post model for order inserts.
12657
+ * Model for order contact updates.
12560
12658
  */
12561
12659
  type OrderUpdateContact = {
12562
12660
  /**
@@ -12704,7 +12802,7 @@ declare class OrdersService {
12704
12802
  * @returns boolean Success
12705
12803
  * @throws ApiError
12706
12804
  */
12707
- exists({ wildcard, accessCode, venueId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
12805
+ exists({ wildcard, accessCode, venueId, customerId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
12708
12806
  /**
12709
12807
  * Gets or sets the wildcard for use in a query search.
12710
12808
  */
@@ -12717,6 +12815,10 @@ declare class OrdersService {
12717
12815
  * Gets or sets the venue Id for use in a query search.
12718
12816
  */
12719
12817
  venueId?: string;
12818
+ /**
12819
+ * Gets or sets the customer Id for use in a query search.
12820
+ */
12821
+ customerId?: string;
12720
12822
  /**
12721
12823
  * Gets or sets the queryable order ids.
12722
12824
  */
@@ -12799,7 +12901,7 @@ declare class OrdersService {
12799
12901
  * @returns OrderPage Success
12800
12902
  * @throws ApiError
12801
12903
  */
12802
- getPage({ wildcard, accessCode, venueId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
12904
+ getPage({ wildcard, accessCode, venueId, customerId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
12803
12905
  /**
12804
12906
  * Gets or sets the wildcard for use in a query search.
12805
12907
  */
@@ -12812,6 +12914,10 @@ declare class OrdersService {
12812
12914
  * Gets or sets the venue Id for use in a query search.
12813
12915
  */
12814
12916
  venueId?: string;
12917
+ /**
12918
+ * Gets or sets the customer Id for use in a query search.
12919
+ */
12920
+ customerId?: string;
12815
12921
  /**
12816
12922
  * Gets or sets the queryable order ids.
12817
12923
  */
@@ -12905,7 +13011,7 @@ declare class OrdersService {
12905
13011
  * @returns Order Success
12906
13012
  * @throws ApiError
12907
13013
  */
12908
- getListIdName({ wildcard, accessCode, venueId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
13014
+ getListIdName({ wildcard, accessCode, venueId, customerId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
12909
13015
  /**
12910
13016
  * Gets or sets the wildcard for use in a query search.
12911
13017
  */
@@ -12918,6 +13024,10 @@ declare class OrdersService {
12918
13024
  * Gets or sets the venue Id for use in a query search.
12919
13025
  */
12920
13026
  venueId?: string;
13027
+ /**
13028
+ * Gets or sets the customer Id for use in a query search.
13029
+ */
13030
+ customerId?: string;
12921
13031
  /**
12922
13032
  * Gets or sets the queryable order ids.
12923
13033
  */
@@ -14700,7 +14810,7 @@ declare class PublicBookingService {
14700
14810
  * @returns boolean Success
14701
14811
  * @throws ApiError
14702
14812
  */
14703
- exists({ xTenantSubdomain, wildcard, accessCode, venueId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
14813
+ exists({ xTenantSubdomain, wildcard, accessCode, venueId, customerId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
14704
14814
  /**
14705
14815
  * The tenants subdomain.
14706
14816
  */
@@ -14717,6 +14827,10 @@ declare class PublicBookingService {
14717
14827
  * Gets or sets the venue Id for use in a query search.
14718
14828
  */
14719
14829
  venueId?: string;
14830
+ /**
14831
+ * Gets or sets the customer Id for use in a query search.
14832
+ */
14833
+ customerId?: string;
14720
14834
  /**
14721
14835
  * Gets or sets the queryable order ids.
14722
14836
  */
@@ -14799,7 +14913,7 @@ declare class PublicBookingService {
14799
14913
  * @returns OrderPage Success
14800
14914
  * @throws ApiError
14801
14915
  */
14802
- getPage({ xTenantSubdomain, wildcard, accessCode, venueId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
14916
+ getPage({ xTenantSubdomain, wildcard, accessCode, venueId, customerId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
14803
14917
  /**
14804
14918
  * The tenants subdomain.
14805
14919
  */
@@ -14816,6 +14930,10 @@ declare class PublicBookingService {
14816
14930
  * Gets or sets the venue Id for use in a query search.
14817
14931
  */
14818
14932
  venueId?: string;
14933
+ /**
14934
+ * Gets or sets the customer Id for use in a query search.
14935
+ */
14936
+ customerId?: string;
14819
14937
  /**
14820
14938
  * Gets or sets the queryable order ids.
14821
14939
  */
@@ -15647,7 +15765,7 @@ declare class PublicLeasingService {
15647
15765
  * @returns boolean Success
15648
15766
  * @throws ApiError
15649
15767
  */
15650
- exists({ xTenantSubdomain, wildcard, accessCode, venueId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
15768
+ exists({ xTenantSubdomain, wildcard, accessCode, venueId, customerId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
15651
15769
  /**
15652
15770
  * The tenants subdomain.
15653
15771
  */
@@ -15664,6 +15782,10 @@ declare class PublicLeasingService {
15664
15782
  * Gets or sets the venue Id for use in a query search.
15665
15783
  */
15666
15784
  venueId?: string;
15785
+ /**
15786
+ * Gets or sets the customer Id for use in a query search.
15787
+ */
15788
+ customerId?: string;
15667
15789
  /**
15668
15790
  * Gets or sets the queryable order ids.
15669
15791
  */
@@ -15746,7 +15868,7 @@ declare class PublicLeasingService {
15746
15868
  * @returns OrderPage Success
15747
15869
  * @throws ApiError
15748
15870
  */
15749
- getPage({ xTenantSubdomain, wildcard, accessCode, venueId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
15871
+ getPage({ xTenantSubdomain, wildcard, accessCode, venueId, customerId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
15750
15872
  /**
15751
15873
  * The tenants subdomain.
15752
15874
  */
@@ -15763,6 +15885,10 @@ declare class PublicLeasingService {
15763
15885
  * Gets or sets the venue Id for use in a query search.
15764
15886
  */
15765
15887
  venueId?: string;
15888
+ /**
15889
+ * Gets or sets the customer Id for use in a query search.
15890
+ */
15891
+ customerId?: string;
15766
15892
  /**
15767
15893
  * Gets or sets the queryable order ids.
15768
15894
  */
@@ -15933,7 +16059,7 @@ declare class PublicOrdersService {
15933
16059
  * @returns boolean Success
15934
16060
  * @throws ApiError
15935
16061
  */
15936
- exists({ xTenantSubdomain, wildcard, accessCode, venueId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
16062
+ exists({ xTenantSubdomain, wildcard, accessCode, venueId, customerId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
15937
16063
  /**
15938
16064
  * The tenants subdomain.
15939
16065
  */
@@ -15950,6 +16076,10 @@ declare class PublicOrdersService {
15950
16076
  * Gets or sets the venue Id for use in a query search.
15951
16077
  */
15952
16078
  venueId?: string;
16079
+ /**
16080
+ * Gets or sets the customer Id for use in a query search.
16081
+ */
16082
+ customerId?: string;
15953
16083
  /**
15954
16084
  * Gets or sets the queryable order ids.
15955
16085
  */
@@ -16032,7 +16162,7 @@ declare class PublicOrdersService {
16032
16162
  * @returns OrderPage Success
16033
16163
  * @throws ApiError
16034
16164
  */
16035
- getPage({ xTenantSubdomain, wildcard, accessCode, venueId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
16165
+ getPage({ xTenantSubdomain, wildcard, accessCode, venueId, customerId, orderIds, sessionId, facilityId, courseId, orderStage, isBookedOrPendingPayment, orderStages, orderDateGte, orderDateLte, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
16036
16166
  /**
16037
16167
  * The tenants subdomain.
16038
16168
  */
@@ -16049,6 +16179,10 @@ declare class PublicOrdersService {
16049
16179
  * Gets or sets the venue Id for use in a query search.
16050
16180
  */
16051
16181
  venueId?: string;
16182
+ /**
16183
+ * Gets or sets the customer Id for use in a query search.
16184
+ */
16185
+ customerId?: string;
16052
16186
  /**
16053
16187
  * Gets or sets the queryable order ids.
16054
16188
  */
@@ -18727,6 +18861,54 @@ type SurveyPost = {
18727
18861
  active: boolean;
18728
18862
  };
18729
18863
 
18864
+ /**
18865
+ * The response to a single survey question.
18866
+ */
18867
+ type SurveySubmissionResponse = {
18868
+ /**
18869
+ * Gets or sets question id.
18870
+ */
18871
+ questionId: string;
18872
+ /**
18873
+ * Gets or sets the question answer.
18874
+ */
18875
+ answer?: string | null;
18876
+ /**
18877
+ * Gets or sets the question answer.
18878
+ */
18879
+ answers?: Array<string> | null;
18880
+ };
18881
+
18882
+ /**
18883
+ * Post model for survey submissions, a survey submission will contain the responses for a single unique attendee/activity combination. So a single order may have multiple survey submissions.
18884
+ */
18885
+ type SurveySubmit = {
18886
+ /**
18887
+ * Gets or sets the tenant Id.
18888
+ */
18889
+ tenantId: string;
18890
+ /**
18891
+ * Gets or sets the survey id.
18892
+ */
18893
+ surveyId: string;
18894
+ /**
18895
+ * Gets or sets the order item id.
18896
+ */
18897
+ orderItemId: string;
18898
+ /**
18899
+ * Gets or sets the attendee id.
18900
+ */
18901
+ attendeeId: string;
18902
+ /**
18903
+ * Gets or sets the attendee number.
18904
+ */
18905
+ attendeeNumber?: number | null;
18906
+ /**
18907
+ * Gets or sets the survey responses.
18908
+ */
18909
+ responses: Array<SurveySubmissionResponse>;
18910
+ };
18911
+
18730
18912
  declare class PublicSurveysService {
18731
18913
  readonly httpRequest: BaseHttpRequest;
18732
18914
  constructor(httpRequest: BaseHttpRequest);
@@ -18819,6 +19001,21 @@ declare class PublicSurveysService {
18819
19001
  */
18820
19002
  requestBody?: Survey;
18821
19003
  }): CancelablePromise<any>;
19004
+ /**
19005
+ * Gets a Reach.Models.Tenant by its subdomain.
19006
+ * @returns any Success
19007
+ * @throws ApiError
19008
+ */
19009
+ submit({ xTenantSubdomain, requestBody, }: {
19010
+ /**
19011
+ * The tenants subdomain.
19012
+ */
19013
+ xTenantSubdomain?: string;
19014
+ /**
19015
+ * The survey questions with related answers.
19016
+ */
19017
+ requestBody?: SurveySubmit;
19018
+ }): CancelablePromise<any>;
18822
19019
  /**
18823
19020
  * Returns a value indicating whether the resource exists in the database given the provided search params.
18824
19021
  * @returns boolean Success
@@ -28663,4 +28860,4 @@ type ValidationResultModel = {
28663
28860
  readonly errors?: Array<ValidationError> | null;
28664
28861
  };
28665
28862
 
28666
- export { Activity, ActivityService, ActivityType, AdvanceBooking, Amenity, AmenityService, ApiClient, ApiError, AppUserRole, ApplicationRole, Attendee, AttendeePage, AttendeePatch, AttendeePost, AttendeesService, AutoCompleteResponseModel, BadEnglandReportService, BaseHttpRequest, BookingService, BookingStatus, CancelError, CancelablePromise, ContactOnConfirmation, Country, CountryService, Course, CourseBookingCutoff, CoursePage, CoursePatch, CoursePost, CourseSearchSortBy, CourseSession, CourseSessionPage, CourseSessionPatch, CourseSessionPost, CourseSessionSchedule, CourseSessionSchedulePage, CourseSessionSchedulePatch, CourseSessionSchedulePost, CourseSessionSchedulesService, CourseSessionsService, CoursesService, CreateOffer, CreateQuestion, CreateQuestionOption, CreateVenue, Customer, CustomerCancellationOption, CustomerPage, CustomerPatch, CustomerPost, CustomerType, CustomersService, DayOfWeek, EmailReminderSchedule, EmailReminderSchedulePage, EmailReminderSchedulePatch, EmailReminderSchedulePost, EmailReminderSchedulesService, EmailSetting, EmailSettingPage, EmailSettingPatch, EmailSettingPost, EmailSettingsService, FacilitiesService, Facility, FacilityIndividual, FacilityIndividualPage, FacilityIndividualPatch, FacilityIndividualPost, FacilityIndividualsService, FacilityIndividualsType, FacilityPage, FacilityPatch, FacilityPost, FilestackImageMetaResponseModel, FilestackService, GenericActivity, GenericActivityPage, GenericActivityPatch, GenericActivityPost, GenericActivityService, GeocodeResponseModel, GeocodeService, GooglePrediction, HereAddressDetails, HereAutoComplete, HereAutocompleteLookupService, HereLookupResults, HereMapDetails, HerePositionDetails, HttpStatusCode, IOpportunity, Image, ImagePage, ImagePatch, ImagePost, ImagesService, InviteStatus, LeasingService, LoqateGeocode, LoqatePlaceResult, LoqatePlacesService, LoqatePrediction, Northeast, NotificationQueue, NotificationQueuePage, NotificationQueuePatch, NotificationQueuePost, NotificationQueueService, NotificationSetting, NotificationSettingPage, NotificationSettingPatch, NotificationSettingPost, NotificationSettingsService, NotificationType, Offer, OfferPage, OfferPatch, OfferPost, OffersService, OpenAPI, OpenAPIConfig, OpenactiveFeedIntermediate, OpenactiveFeedIntermediatePage, OpenactiveFeedIntermediatePatch, OpenactiveFeedIntermediatePost, OpenactiveFeedIntermediateService, OpenactiveFeedItem, OpenactiveFeedItemPage, OpenactiveFeedItemPatch, OpenactiveFeedItemPost, OpenactiveFeedItemService, OpportunityRegister, OpportunityRegisterPage, OpportunityRegisterPatch, OpportunityRegisterPost, OpportunityRegisterService, OpportunityType, Order, OrderItem, OrderItemPage, OrderItemPatch, OrderItemPost, OrderItemStatus, OrderItemsService, OrderPage, OrderPatch, OrderPost, OrderPostOrderItem, OrderSource, OrderStage, OrderToken, OrderTokenPage, OrderTokenPatch, OrderTokenPost, OrderUpdateContact, OrdersService, OrgCourseUtilisation, OrgCourseUtilisationPage, OrgCourseUtilisationPatch, OrgCourseUtilisationPost, OrgCourseUtilisationService, OrganisationApplicationFeeHandling, OrganisationAvailableChannel, OrganisationRefundPolicy, OrganisationTaxMode, OrganisationType, Pagination, PatchSurveyQuestionOption, Payment, PaymentMethod, PaymentPage, PaymentPatch, PaymentPost, PaymentsService, Permission, PermissionPage, PermissionPatch, PermissionPost, PermissionsService, PlaceDetailsResponseModel, PlaceGeometry, PlaceLocation, PlaceResult, PlaceViewport, PlacesService, PlusCode, Prepayment, Programme, ProgrammePage, ProgrammePatch, ProgrammePost, ProgrammesService, PublicBookingService, PublicCoursesService, PublicFacilitiesService, PublicHealthCheckService, PublicLeasingService, PublicOrderTokensService, PublicOrdersService, PublicProgrammesService, PublicScheduledSessionsService, PublicSessionsService, PublicSlotsService, PublicStripeWebhookService, PublicSurveyQuestionsService, PublicSurveysService, PublicTenantsService, PublicVenuesService, PublicWaitlistActivityService, PublicWaitlistOpportunityService, ReachEntity, ReachError, ReachOperation, RecentOrderActivityReport, RecentOrderActivityReportPage, RecentOrderActivityReportPatch, RecentOrderActivityReportPost, RecentOrderActivityReportService, ScheduleStatus, ScheduledSession, ScheduledSessionPage, ScheduledSessionPatch, ScheduledSessionPost, ScheduledSessionSchedule, ScheduledSessionSchedulePage, ScheduledSessionSchedulePatch, ScheduledSessionSchedulePost, ScheduledSessionSearchSortBy, ScheduledSessionsSchedulesService, ScheduledSessionsService, SearchSortOrderDirection, Session, SessionCreate, SessionGender, SessionPage, SessionPatch, SessionPost, SessionType, SessionsService, Slot, SlotAvailabilityStatus, SlotOffer, SlotOfferPage, SlotOfferPatch, SlotOfferPost, SlotOffersService, SlotPage, SlotPatch, SlotPost, SlotSchedule, SlotScheduleOffer, SlotScheduleOfferPage, SlotScheduleOfferPatch, SlotScheduleOfferPost, SlotScheduleOffersService, SlotSchedulePage, SlotSchedulePatch, SlotSchedulePost, SlotSchedulesService, SlotStatus, SlotsService, Southwest, StripeAccount, StripeAccountPage, StripeAccountPatch, StripeAccountPost, StripeAccountService, StructuredFormatting, Surface, SurfacesService, Survey, SurveyAnswer, SurveyAnswerPage, SurveyAnswerPatch, SurveyAnswerPost, SurveyAnswersService, SurveyCreate, SurveyPage, SurveyPatch, SurveyPost, SurveyQuestion, SurveyQuestionOption, SurveyQuestionPage, SurveyQuestionPatch, SurveyQuestionPost, SurveyQuestionType, SurveyQuestionsService, SurveyQuestionsTarget, SurveyReportExtended, SurveyReportExtendedPage, SurveyReportExtendedPatch, SurveyReportExtendedPost, SurveyReportExtendedService, SurveyResponseMode, SurveySubmissionModel, SurveyType, SurveysService, Tax, Tenant, TenantPage, TenantPatch, TenantPost, TenantWebsiteSetting, TenantWebsiteSettingPage, TenantWebsiteSettingPatch, TenantWebsiteSettingPost, TenantWebsiteSettingsService, TenantsService, Timezone, TimezoneService, TotalRevenueReport, TotalRevenueReportPage, TotalRevenueReportPatch, TotalRevenueReportPost, TotalRevenueReportService, UpdateEmailSettings, UpdateOffer, User, UserPage, UserPatch, UserPost, UserRole, UsersService, ValidationError, ValidationResultModel, Venue, VenueBadmintonEnglandReport, VenueBadmintonEnglandReportPage, VenueBadmintonEnglandReportPatch, VenueBadmintonEnglandReportPost, VenueCreate, VenueOpeningHours, VenuePage, VenuePatch, VenuePost, VenuesReport, VenuesReportPage, VenuesReportPatch, VenuesReportPost, VenuesReportService, VenuesService, WaitlistActivity, WaitlistActivityPage, WaitlistActivityPatch, WaitlistActivityPost, WaitlistActivityService, WaitlistOpportunity, WaitlistOpportunityPage, WaitlistOpportunityPatch, WaitlistOpportunityPost, WaitlistOpportunityService };
28863
+ export { Activity, ActivityService, ActivityType, AdvanceBooking, Amenity, AmenityService, ApiClient, ApiError, AppUserRole, ApplicationRole, Attendee, AttendeePage, AttendeePatch, AttendeePost, AttendeesService, AutoCompleteResponseModel, BadEnglandReportService, BaseHttpRequest, BookingService, BookingStatus, CancelError, CancelablePromise, ContactOnConfirmation, Country, CountryService, Course, CourseBookingCutoff, CoursePage, CoursePatch, CoursePost, CourseSearchSortBy, CourseSession, CourseSessionPage, CourseSessionPatch, CourseSessionPost, CourseSessionSchedule, CourseSessionSchedulePage, CourseSessionSchedulePatch, CourseSessionSchedulePost, CourseSessionSchedulesService, CourseSessionsService, CoursesService, CreateOffer, CreateQuestion, CreateQuestionOption, CreateVenue, Customer, CustomerCancellationOption, CustomerPage, CustomerPatch, CustomerPost, CustomerType, CustomersService, DayOfWeek, EmailReminderSchedule, EmailReminderSchedulePage, EmailReminderSchedulePatch, EmailReminderSchedulePost, EmailReminderSchedulesService, EmailSetting, EmailSettingPage, EmailSettingPatch, EmailSettingPost, EmailSettingsService, FacilitiesService, Facility, FacilityIndividual, FacilityIndividualPage, FacilityIndividualPatch, FacilityIndividualPost, FacilityIndividualsService, FacilityIndividualsType, FacilityPage, FacilityPatch, FacilityPost, FilestackImageMetaResponseModel, FilestackService, GenericActivity, GenericActivityPage, GenericActivityPatch, GenericActivityPost, GenericActivityService, GeocodeResponseModel, GeocodeService, GooglePrediction, HereAddressDetails, HereAutoComplete, HereAutocompleteLookupService, HereLookupResults, HereMapDetails, HerePositionDetails, HttpStatusCode, IOpportunity, Image, ImagePage, ImagePatch, ImagePost, ImagesService, InviteStatus, LeasingService, LoqateGeocode, LoqatePlaceResult, LoqatePlacesService, LoqatePrediction, Northeast, NotificationQueue, NotificationQueuePage, NotificationQueuePatch, NotificationQueuePost, NotificationQueueService, NotificationSetting, NotificationSettingPage, NotificationSettingPatch, NotificationSettingPost, NotificationSettingsService, NotificationType, Offer, OfferPage, OfferPatch, OfferPost, OffersService, OpenAPI, OpenAPIConfig, OpenactiveFeedIntermediate, OpenactiveFeedIntermediatePage, OpenactiveFeedIntermediatePatch, OpenactiveFeedIntermediatePost, OpenactiveFeedIntermediateService, OpenactiveFeedItem, OpenactiveFeedItemPage, OpenactiveFeedItemPatch, OpenactiveFeedItemPost, OpenactiveFeedItemService, OpportunityRegister, OpportunityRegisterPage, OpportunityRegisterPatch, OpportunityRegisterPost, OpportunityRegisterService, OpportunityType, Order, OrderItem, OrderItemPage, OrderItemPatch, OrderItemPost, OrderItemStatus, OrderItemsService, OrderPage, OrderPatch, OrderPost, OrderPostItem, OrderRefresh, OrderSource, OrderStage, OrderToken, OrderTokenPage, OrderTokenPatch, OrderTokenPost, OrderUpdateContact, OrdersService, OrgCourseUtilisation, OrgCourseUtilisationPage, OrgCourseUtilisationPatch, OrgCourseUtilisationPost, OrgCourseUtilisationService, OrganisationApplicationFeeHandling, OrganisationAvailableChannel, OrganisationRefundPolicy, OrganisationTaxMode, OrganisationType, Pagination, PatchSurveyQuestionOption, Payment, PaymentMethod, PaymentPage, PaymentPatch, PaymentPost, PaymentsService, Permission, PermissionPage, PermissionPatch, PermissionPost, PermissionsService, PlaceDetailsResponseModel, PlaceGeometry, PlaceLocation, PlaceResult, PlaceViewport, PlacesService, PlusCode, Prepayment, Programme, ProgrammePage, ProgrammePatch, ProgrammePost, ProgrammesService, PublicBookingService, PublicCoursesService, PublicFacilitiesService, PublicHealthCheckService, PublicLeasingService, PublicOrderTokensService, PublicOrdersService, PublicProgrammesService, PublicScheduledSessionsService, PublicSessionsService, PublicSlotsService, PublicStripeWebhookService, PublicSurveyQuestionsService, PublicSurveysService, PublicTenantsService, PublicVenuesService, PublicWaitlistActivityService, PublicWaitlistOpportunityService, ReachEntity, ReachError, ReachOperation, RecentOrderActivityReport, RecentOrderActivityReportPage, RecentOrderActivityReportPatch, RecentOrderActivityReportPost, RecentOrderActivityReportService, ScheduleStatus, ScheduledSession, ScheduledSessionPage, ScheduledSessionPatch, ScheduledSessionPost, ScheduledSessionSchedule, ScheduledSessionSchedulePage, ScheduledSessionSchedulePatch, ScheduledSessionSchedulePost, ScheduledSessionSearchSortBy, ScheduledSessionsSchedulesService, ScheduledSessionsService, SearchSortOrderDirection, Session, SessionCreate, SessionGender, SessionPage, SessionPatch, SessionPost, SessionType, SessionsService, Slot, SlotAvailabilityStatus, SlotOffer, SlotOfferPage, SlotOfferPatch, SlotOfferPost, SlotOffersService, SlotPage, SlotPatch, SlotPost, SlotSchedule, SlotScheduleOffer, SlotScheduleOfferPage, SlotScheduleOfferPatch, SlotScheduleOfferPost, SlotScheduleOffersService, SlotSchedulePage, SlotSchedulePatch, SlotSchedulePost, SlotSchedulesService, SlotStatus, SlotsService, Southwest, StripeAccount, StripeAccountPage, StripeAccountPatch, StripeAccountPost, StripeAccountService, StructuredFormatting, Surface, SurfacesService, Survey, SurveyAnswer, SurveyAnswerPage, SurveyAnswerPatch, SurveyAnswerPost, SurveyAnswersService, SurveyCreate, SurveyPage, SurveyPatch, SurveyPost, SurveyQuestion, SurveyQuestionOption, SurveyQuestionPage, SurveyQuestionPatch, SurveyQuestionPost, SurveyQuestionType, SurveyQuestionsService, SurveyQuestionsTarget, SurveyReportExtended, SurveyReportExtendedPage, SurveyReportExtendedPatch, SurveyReportExtendedPost, SurveyReportExtendedService, SurveyResponseMode, SurveySubmissionModel, SurveySubmissionResponse, SurveySubmit, SurveyType, SurveysService, Tax, Tenant, TenantPage, TenantPatch, TenantPost, TenantWebsiteSetting, TenantWebsiteSettingPage, TenantWebsiteSettingPatch, TenantWebsiteSettingPost, TenantWebsiteSettingsService, TenantsService, Timezone, TimezoneService, TotalRevenueReport, TotalRevenueReportPage, TotalRevenueReportPatch, TotalRevenueReportPost, TotalRevenueReportService, UpdateEmailSettings, UpdateOffer, User, UserPage, UserPatch, UserPost, UserRole, UsersService, ValidationError, ValidationResultModel, Venue, VenueBadmintonEnglandReport, VenueBadmintonEnglandReportPage, VenueBadmintonEnglandReportPatch, VenueBadmintonEnglandReportPost, VenueCreate, VenueOpeningHours, VenuePage, VenuePatch, VenuePost, VenuesReport, VenuesReportPage, VenuesReportPatch, VenuesReportPost, VenuesReportService, VenuesService, WaitlistActivity, WaitlistActivityPage, WaitlistActivityPatch, WaitlistActivityPost, WaitlistActivityService, WaitlistOpportunity, WaitlistOpportunityPage, WaitlistOpportunityPatch, WaitlistOpportunityPost, WaitlistOpportunityService };