@wix/table-reservations 1.0.141 → 1.0.143

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/table-reservations",
3
- "version": "1.0.141",
3
+ "version": "1.0.143",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -18,7 +18,7 @@
18
18
  "type-bundles"
19
19
  ],
20
20
  "dependencies": {
21
- "@wix/table-reservations_reservation-locations": "1.0.55",
21
+ "@wix/table-reservations_reservation-locations": "1.0.57",
22
22
  "@wix/table-reservations_reservations": "1.0.49",
23
23
  "@wix/table-reservations_time-slots": "1.0.44"
24
24
  },
@@ -45,5 +45,5 @@
45
45
  "fqdn": ""
46
46
  }
47
47
  },
48
- "falconPackageHash": "33836561af4a5367016abc574ebeead596abe5f2272ec67ab0b9f15f"
48
+ "falconPackageHash": "a812a3e232a46f7f94c4a66bd9f68f15848f1c50c0fbbb5e554622be"
49
49
  }
@@ -2426,6 +2426,18 @@ interface ManualForLargePartiesOptions {
2426
2426
  /** Use tables for manual approval part. */
2427
2427
  considerTablesForManualApproval?: boolean | null;
2428
2428
  }
2429
+ /** Approval settings. */
2430
+ interface Approval extends ApprovalOptionsOneOf {
2431
+ /** Manual approval for large parties options. */
2432
+ manualForLargePartiesOptions?: ManualForLargePartiesOptions;
2433
+ /** Approval mode. */
2434
+ mode?: ApprovalMode;
2435
+ }
2436
+ /** @oneof */
2437
+ interface ApprovalOptionsOneOf {
2438
+ /** Manual approval for large parties options. */
2439
+ manualForLargePartiesOptions?: ManualForLargePartiesOptions;
2440
+ }
2429
2441
  /**
2430
2442
  * Seat pacing.
2431
2443
  * The maximum number of seats that can be filled by new reservations within a 15-minute period.
@@ -2520,18 +2532,6 @@ interface ManualApprovalValueOneOf {
2520
2532
  */
2521
2533
  customApprovalsProviderId?: string;
2522
2534
  }
2523
- /** Approval settings. */
2524
- interface Approval extends ApprovalOptionsOneOf {
2525
- /** Manual approval for large parties options. */
2526
- manualForLargePartiesOptions?: ManualForLargePartiesOptions;
2527
- /** Approval mode. */
2528
- mode?: ApprovalMode;
2529
- }
2530
- /** @oneof */
2531
- interface ApprovalOptionsOneOf {
2532
- /** Manual approval for large parties options. */
2533
- manualForLargePartiesOptions?: ManualForLargePartiesOptions;
2534
- }
2535
2535
  /** Type of the field. */
2536
2536
  declare enum FieldType {
2537
2537
  UNKNOWN = "UNKNOWN",
@@ -4190,6 +4190,9 @@ interface LocationNonNullableFields {
4190
4190
  address?: LocationAddressNonNullableFields;
4191
4191
  businessSchedule?: CommonBusinessScheduleNonNullableFields;
4192
4192
  }
4193
+ interface ApprovalNonNullableFields {
4194
+ mode: ApprovalMode;
4195
+ }
4193
4196
  interface SeatPacingNonNullableFields {
4194
4197
  number: number;
4195
4198
  enabled: boolean;
@@ -4225,10 +4228,8 @@ interface ManualApprovalNonNullableFields {
4225
4228
  customApprovalsProviderId: string;
4226
4229
  enabled: boolean;
4227
4230
  }
4228
- interface ApprovalNonNullableFields {
4229
- mode: ApprovalMode;
4230
- }
4231
4231
  interface OnlineReservationsNonNullableFields {
4232
+ approval?: ApprovalNonNullableFields;
4232
4233
  seatPacing?: SeatPacingNonNullableFields;
4233
4234
  partyPacing?: PartyPacingNonNullableFields;
4234
4235
  partiesSize?: PartiesSizeNonNullableFields;
@@ -4238,7 +4239,6 @@ interface OnlineReservationsNonNullableFields {
4238
4239
  turnoverRules: TurnoverRuleNonNullableFields[];
4239
4240
  businessSchedule?: CommonBusinessScheduleNonNullableFields;
4240
4241
  manualApproval?: ManualApprovalNonNullableFields;
4241
- approval?: ApprovalNonNullableFields;
4242
4242
  }
4243
4243
  interface TermsAndConditionsNonNullableFields {
4244
4244
  url: string;
@@ -4527,7 +4527,7 @@ interface UpdateReservationLocationSignature {
4527
4527
  declare function updateExtendedFields$1(httpClient: HttpClient): UpdateExtendedFieldsSignature;
4528
4528
  interface UpdateExtendedFieldsSignature {
4529
4529
  /**
4530
- * Updates extended fields of a reservation location without incrementing revision
4530
+ * Updates the extended fields of a reservation location without incrementing the revision number.
4531
4531
  * @param - ID of the entity to update.
4532
4532
  * @param - Identifier for the app whose extended fields are being updated.
4533
4533
  */
@@ -2426,6 +2426,18 @@ interface ManualForLargePartiesOptions {
2426
2426
  /** Use tables for manual approval part. */
2427
2427
  considerTablesForManualApproval?: boolean | null;
2428
2428
  }
2429
+ /** Approval settings. */
2430
+ interface Approval extends ApprovalOptionsOneOf {
2431
+ /** Manual approval for large parties options. */
2432
+ manualForLargePartiesOptions?: ManualForLargePartiesOptions;
2433
+ /** Approval mode. */
2434
+ mode?: ApprovalMode;
2435
+ }
2436
+ /** @oneof */
2437
+ interface ApprovalOptionsOneOf {
2438
+ /** Manual approval for large parties options. */
2439
+ manualForLargePartiesOptions?: ManualForLargePartiesOptions;
2440
+ }
2429
2441
  /**
2430
2442
  * Seat pacing.
2431
2443
  * The maximum number of seats that can be filled by new reservations within a 15-minute period.
@@ -2520,18 +2532,6 @@ interface ManualApprovalValueOneOf {
2520
2532
  */
2521
2533
  customApprovalsProviderId?: string;
2522
2534
  }
2523
- /** Approval settings. */
2524
- interface Approval extends ApprovalOptionsOneOf {
2525
- /** Manual approval for large parties options. */
2526
- manualForLargePartiesOptions?: ManualForLargePartiesOptions;
2527
- /** Approval mode. */
2528
- mode?: ApprovalMode;
2529
- }
2530
- /** @oneof */
2531
- interface ApprovalOptionsOneOf {
2532
- /** Manual approval for large parties options. */
2533
- manualForLargePartiesOptions?: ManualForLargePartiesOptions;
2534
- }
2535
2535
  /** Type of the field. */
2536
2536
  declare enum FieldType {
2537
2537
  UNKNOWN = "UNKNOWN",
@@ -4190,6 +4190,9 @@ interface LocationNonNullableFields {
4190
4190
  address?: LocationAddressNonNullableFields;
4191
4191
  businessSchedule?: CommonBusinessScheduleNonNullableFields;
4192
4192
  }
4193
+ interface ApprovalNonNullableFields {
4194
+ mode: ApprovalMode;
4195
+ }
4193
4196
  interface SeatPacingNonNullableFields {
4194
4197
  number: number;
4195
4198
  enabled: boolean;
@@ -4225,10 +4228,8 @@ interface ManualApprovalNonNullableFields {
4225
4228
  customApprovalsProviderId: string;
4226
4229
  enabled: boolean;
4227
4230
  }
4228
- interface ApprovalNonNullableFields {
4229
- mode: ApprovalMode;
4230
- }
4231
4231
  interface OnlineReservationsNonNullableFields {
4232
+ approval?: ApprovalNonNullableFields;
4232
4233
  seatPacing?: SeatPacingNonNullableFields;
4233
4234
  partyPacing?: PartyPacingNonNullableFields;
4234
4235
  partiesSize?: PartiesSizeNonNullableFields;
@@ -4238,7 +4239,6 @@ interface OnlineReservationsNonNullableFields {
4238
4239
  turnoverRules: TurnoverRuleNonNullableFields[];
4239
4240
  businessSchedule?: CommonBusinessScheduleNonNullableFields;
4240
4241
  manualApproval?: ManualApprovalNonNullableFields;
4241
- approval?: ApprovalNonNullableFields;
4242
4242
  }
4243
4243
  interface TermsAndConditionsNonNullableFields {
4244
4244
  url: string;
@@ -4527,7 +4527,7 @@ interface UpdateReservationLocationSignature {
4527
4527
  declare function updateExtendedFields$1(httpClient: HttpClient): UpdateExtendedFieldsSignature;
4528
4528
  interface UpdateExtendedFieldsSignature {
4529
4529
  /**
4530
- * Updates extended fields of a reservation location without incrementing revision
4530
+ * Updates the extended fields of a reservation location without incrementing the revision number.
4531
4531
  * @param - ID of the entity to update.
4532
4532
  * @param - Identifier for the app whose extended fields are being updated.
4533
4533
  */
@@ -2653,6 +2653,9 @@ interface LocationNonNullableFields$1 {
2653
2653
  address?: LocationAddressNonNullableFields$1;
2654
2654
  businessSchedule?: CommonBusinessScheduleNonNullableFields$1;
2655
2655
  }
2656
+ interface ApprovalNonNullableFields$1 {
2657
+ mode: ApprovalMode$1;
2658
+ }
2656
2659
  interface SeatPacingNonNullableFields$1 {
2657
2660
  number: number;
2658
2661
  enabled: boolean;
@@ -2688,10 +2691,8 @@ interface ManualApprovalNonNullableFields$1 {
2688
2691
  customApprovalsProviderId: string;
2689
2692
  enabled: boolean;
2690
2693
  }
2691
- interface ApprovalNonNullableFields$1 {
2692
- mode: ApprovalMode$1;
2693
- }
2694
2694
  interface OnlineReservationsNonNullableFields$1 {
2695
+ approval?: ApprovalNonNullableFields$1;
2695
2696
  seatPacing?: SeatPacingNonNullableFields$1;
2696
2697
  partyPacing?: PartyPacingNonNullableFields$1;
2697
2698
  partiesSize?: PartiesSizeNonNullableFields$1;
@@ -2701,7 +2702,6 @@ interface OnlineReservationsNonNullableFields$1 {
2701
2702
  turnoverRules: TurnoverRuleNonNullableFields$1[];
2702
2703
  businessSchedule?: CommonBusinessScheduleNonNullableFields$1;
2703
2704
  manualApproval?: ManualApprovalNonNullableFields$1;
2704
- approval?: ApprovalNonNullableFields$1;
2705
2705
  }
2706
2706
  interface PageUrlV2NonNullableFields {
2707
2707
  relativePath: string;
@@ -3430,6 +3430,9 @@ interface LocationNonNullableFields {
3430
3430
  address?: LocationAddressNonNullableFields;
3431
3431
  businessSchedule?: CommonBusinessScheduleNonNullableFields;
3432
3432
  }
3433
+ interface ApprovalNonNullableFields {
3434
+ mode: ApprovalMode;
3435
+ }
3433
3436
  interface SeatPacingNonNullableFields {
3434
3437
  number: number;
3435
3438
  enabled: boolean;
@@ -3465,10 +3468,8 @@ interface ManualApprovalNonNullableFields {
3465
3468
  customApprovalsProviderId: string;
3466
3469
  enabled: boolean;
3467
3470
  }
3468
- interface ApprovalNonNullableFields {
3469
- mode: ApprovalMode;
3470
- }
3471
3471
  interface OnlineReservationsNonNullableFields {
3472
+ approval?: ApprovalNonNullableFields;
3472
3473
  seatPacing?: SeatPacingNonNullableFields;
3473
3474
  partyPacing?: PartyPacingNonNullableFields;
3474
3475
  partiesSize?: PartiesSizeNonNullableFields;
@@ -3478,7 +3479,6 @@ interface OnlineReservationsNonNullableFields {
3478
3479
  turnoverRules: TurnoverRuleNonNullableFields[];
3479
3480
  businessSchedule?: CommonBusinessScheduleNonNullableFields;
3480
3481
  manualApproval?: ManualApprovalNonNullableFields;
3481
- approval?: ApprovalNonNullableFields;
3482
3482
  }
3483
3483
  interface TermsAndConditionsNonNullableFields {
3484
3484
  url: string;