@wix/table-reservations 1.0.55 → 1.0.57

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.
@@ -265,9 +265,9 @@ export declare enum FieldType {
265
265
  STATUS = "STATUS"
266
266
  }
267
267
  export interface PageUrlV2 {
268
- /** The path to that page - e.g /product-page/a-product */
268
+ /** The relative path for the page within the site. For example, `/product-page/a-product`. */
269
269
  relativePath?: string;
270
- /** The URL of that page. e.g https://mysite.com/product-page/a-product */
270
+ /** The page's full URL. For example, `https://mysite.com/product-page/a-product`. */
271
271
  url?: string | null;
272
272
  }
273
273
  /** Terms and conditions. */
@@ -1067,7 +1067,7 @@ export interface FeatureEvent extends FeatureEventEventOneOf {
1067
1067
  updated?: FeatureUpdated;
1068
1068
  /**
1069
1069
  * Information about an event that cancels a feature for the user.
1070
- * Triggered for example, when a feature is canceled, transfered to
1070
+ * Triggered for example, when a feature is canceled, transferred to
1071
1071
  * another account, or the user switched to a different contract.
1072
1072
  */
1073
1073
  cancelled?: FeatureCancelled;
@@ -1101,7 +1101,7 @@ export interface FeatureEventEventOneOf {
1101
1101
  updated?: FeatureUpdated;
1102
1102
  /**
1103
1103
  * Information about an event that cancels a feature for the user.
1104
- * Triggered for example, when a feature is canceled, transfered to
1104
+ * Triggered for example, when a feature is canceled, transferred to
1105
1105
  * another account, or the user switched to a different contract.
1106
1106
  */
1107
1107
  cancelled?: FeatureCancelled;
@@ -1180,7 +1180,7 @@ export interface Feature extends FeatureQuantityInfoOneOf {
1180
1180
  * Information about whether the feature belongs to a Wix account or site.
1181
1181
  * Account features have `context.userId`. Site features have `context.metaSiteId` in case
1182
1182
  * they're assigned to a specific site. Site features that aren't assigned to
1183
- * a speficic site have neither ID.
1183
+ * a specific site have neither ID.
1184
1184
  */
1185
1185
  context?: FeatureContext;
1186
1186
  /**
@@ -1314,7 +1314,7 @@ export interface AssignedFromFloatingReason {
1314
1314
  /** New subscription created and features created as enabled */
1315
1315
  export interface NewFeatureReason {
1316
1316
  }
1317
- /** Subscription was upgraded or downgraded, as a result new features enabled, missing features disbaled , quiantities are updated */
1317
+ /** Subscription was upgraded or downgraded, as a result new features enabled, missing features disabled , quantities are updated */
1318
1318
  export interface ContractSwitchedReason {
1319
1319
  }
1320
1320
  /** a call to CreateFeature in features-writer, creates feature that is not attached to subscription */
@@ -1403,7 +1403,7 @@ export interface FeatureCancelled extends FeatureCancelledReasonOneOf {
1403
1403
  transferredToAnotherAccount?: TransferredToAnotherAccountReason;
1404
1404
  /** Information about the contract switch. */
1405
1405
  contractSwitched?: ContractSwitchedReason;
1406
- /** Information about the feature cancelation. */
1406
+ /** Information about the feature cancellation. */
1407
1407
  cancelRequest?: CancelRequestedReason;
1408
1408
  /** Canceled feature. */
1409
1409
  feature?: Feature;
@@ -1419,7 +1419,7 @@ export interface FeatureCancelledReasonOneOf {
1419
1419
  transferredToAnotherAccount?: TransferredToAnotherAccountReason;
1420
1420
  /** Information about the contract switch. */
1421
1421
  contractSwitched?: ContractSwitchedReason;
1422
- /** Information about the feature cancelation. */
1422
+ /** Information about the feature cancellation. */
1423
1423
  cancelRequest?: CancelRequestedReason;
1424
1424
  }
1425
1425
  /** Subscription was transferred to another account, features in the origin account were cancelled */
@@ -1065,7 +1065,7 @@ export interface FeatureEvent extends FeatureEventEventOneOf {
1065
1065
  updated?: FeatureUpdated;
1066
1066
  /**
1067
1067
  * Information about an event that cancels a feature for the user.
1068
- * Triggered for example, when a feature is canceled, transfered to
1068
+ * Triggered for example, when a feature is canceled, transferred to
1069
1069
  * another account, or the user switched to a different contract.
1070
1070
  */
1071
1071
  cancelled?: FeatureCancelled;
@@ -1099,7 +1099,7 @@ export interface FeatureEventEventOneOf {
1099
1099
  updated?: FeatureUpdated;
1100
1100
  /**
1101
1101
  * Information about an event that cancels a feature for the user.
1102
- * Triggered for example, when a feature is canceled, transfered to
1102
+ * Triggered for example, when a feature is canceled, transferred to
1103
1103
  * another account, or the user switched to a different contract.
1104
1104
  */
1105
1105
  cancelled?: FeatureCancelled;
@@ -1178,7 +1178,7 @@ export interface Feature extends FeatureQuantityInfoOneOf {
1178
1178
  * Information about whether the feature belongs to a Wix account or site.
1179
1179
  * Account features have `context.userId`. Site features have `context.metaSiteId` in case
1180
1180
  * they're assigned to a specific site. Site features that aren't assigned to
1181
- * a speficic site have neither ID.
1181
+ * a specific site have neither ID.
1182
1182
  */
1183
1183
  context?: FeatureContext;
1184
1184
  /**
@@ -1312,7 +1312,7 @@ export interface AssignedFromFloatingReason {
1312
1312
  /** New subscription created and features created as enabled */
1313
1313
  export interface NewFeatureReason {
1314
1314
  }
1315
- /** Subscription was upgraded or downgraded, as a result new features enabled, missing features disbaled , quiantities are updated */
1315
+ /** Subscription was upgraded or downgraded, as a result new features enabled, missing features disabled , quantities are updated */
1316
1316
  export interface ContractSwitchedReason {
1317
1317
  }
1318
1318
  /** a call to CreateFeature in features-writer, creates feature that is not attached to subscription */
@@ -1401,7 +1401,7 @@ export interface FeatureCancelled extends FeatureCancelledReasonOneOf {
1401
1401
  transferredToAnotherAccount?: TransferredToAnotherAccountReason;
1402
1402
  /** Information about the contract switch. */
1403
1403
  contractSwitched?: ContractSwitchedReason;
1404
- /** Information about the feature cancelation. */
1404
+ /** Information about the feature cancellation. */
1405
1405
  cancelRequest?: CancelRequestedReason;
1406
1406
  /** Canceled feature. */
1407
1407
  feature?: Feature;
@@ -1417,7 +1417,7 @@ export interface FeatureCancelledReasonOneOf {
1417
1417
  transferredToAnotherAccount?: TransferredToAnotherAccountReason;
1418
1418
  /** Information about the contract switch. */
1419
1419
  contractSwitched?: ContractSwitchedReason;
1420
- /** Information about the feature cancelation. */
1420
+ /** Information about the feature cancellation. */
1421
1421
  cancelRequest?: CancelRequestedReason;
1422
1422
  }
1423
1423
  /** Subscription was transferred to another account, features in the origin account were cancelled */
@@ -1,7 +1,7 @@
1
1
  /** The reservation domain object. */
2
2
  export interface Reservation {
3
3
  /**
4
- * Reservation ID. Read-only.
4
+ * Reservation ID.
5
5
  * @readonly
6
6
  */
7
7
  id?: string | null;
@@ -52,12 +52,12 @@ export interface Reservation {
52
52
  */
53
53
  teamMessage?: string | null;
54
54
  /**
55
- * Date and time when the reservation was created.
55
+ * Date and time the reservation was created.
56
56
  * @readonly
57
57
  */
58
58
  createdDate?: Date;
59
59
  /**
60
- * Date and time when the reservation was changed.
60
+ * Date and time the reservation was changed.
61
61
  * @readonly
62
62
  */
63
63
  updatedDate?: Date;
@@ -7,7 +7,7 @@ export declare const __debug: {
7
7
  /** The reservation domain object. */
8
8
  export interface Reservation {
9
9
  /**
10
- * Reservation ID. Read-only.
10
+ * Reservation ID.
11
11
  * @readonly
12
12
  */
13
13
  _id?: string | null;
@@ -61,12 +61,12 @@ export interface Reservation {
61
61
  */
62
62
  teamMessage?: string | null;
63
63
  /**
64
- * Date and time when the reservation was created.
64
+ * Date and time the reservation was created.
65
65
  * @readonly
66
66
  */
67
67
  _createdDate?: Date;
68
68
  /**
69
- * Date and time when the reservation was changed.
69
+ * Date and time the reservation was changed.
70
70
  * @readonly
71
71
  */
72
72
  _updatedDate?: Date;
@@ -954,7 +954,7 @@ export interface GetReservationOptions {
954
954
  * Including the fields `status`, `source`, `reservation.details.tableIds`, `reservation.details.endDate`, `ignoreReservationLocationConflicts`, and `ignoreTableCombinationConflicts` in the request requires additional permissions. See this API's Introduction article for more information.
955
955
  *
956
956
  * Each time the reservation is updated, revision increments by 1. The existing revision must be included when updating the reservation. This ensures you're working with the latest reservation information, and it prevents unintended overwrites.
957
- * @param _id - Reservation ID. Read-only.
957
+ * @param _id - Reservation ID.
958
958
  * @public
959
959
  * @documentationMaturity preview
960
960
  * @requiredField _id
@@ -970,7 +970,7 @@ export interface GetReservationOptions {
970
970
  export declare function updateReservation(_id: string | null, reservation: UpdateReservation, options?: UpdateReservationOptions): Promise<Reservation & NonNullable<UpdateReservationResponseNonNullableFields>['reservation']>;
971
971
  export interface UpdateReservation {
972
972
  /**
973
- * Reservation ID. Read-only.
973
+ * Reservation ID.
974
974
  * @readonly
975
975
  */
976
976
  _id?: string | null;
@@ -1012,12 +1012,12 @@ export interface UpdateReservation {
1012
1012
  */
1013
1013
  teamMessage?: string | null;
1014
1014
  /**
1015
- * Date and time when the reservation was created.
1015
+ * Date and time the reservation was created.
1016
1016
  * @readonly
1017
1017
  */
1018
1018
  _createdDate?: Date;
1019
1019
  /**
1020
- * Date and time when the reservation was changed.
1020
+ * Date and time the reservation was changed.
1021
1021
  * @readonly
1022
1022
  */
1023
1023
  _updatedDate?: Date;
@@ -350,7 +350,7 @@ exports.getReservation = getReservation;
350
350
  * Including the fields `status`, `source`, `reservation.details.tableIds`, `reservation.details.endDate`, `ignoreReservationLocationConflicts`, and `ignoreTableCombinationConflicts` in the request requires additional permissions. See this API's Introduction article for more information.
351
351
  *
352
352
  * Each time the reservation is updated, revision increments by 1. The existing revision must be included when updating the reservation. This ensures you're working with the latest reservation information, and it prevents unintended overwrites.
353
- * @param _id - Reservation ID. Read-only.
353
+ * @param _id - Reservation ID.
354
354
  * @public
355
355
  * @documentationMaturity preview
356
356
  * @requiredField _id
@@ -265,9 +265,9 @@ export declare enum FieldType {
265
265
  STATUS = "STATUS"
266
266
  }
267
267
  export interface PageUrlV2 {
268
- /** The path to that page - e.g /product-page/a-product */
268
+ /** The relative path for the page within the site. For example, `/product-page/a-product`. */
269
269
  relativePath?: string;
270
- /** The URL of that page. e.g https://mysite.com/product-page/a-product */
270
+ /** The page's full URL. For example, `https://mysite.com/product-page/a-product`. */
271
271
  url?: string | null;
272
272
  }
273
273
  /** Terms and conditions. */
@@ -1067,7 +1067,7 @@ export interface FeatureEvent extends FeatureEventEventOneOf {
1067
1067
  updated?: FeatureUpdated;
1068
1068
  /**
1069
1069
  * Information about an event that cancels a feature for the user.
1070
- * Triggered for example, when a feature is canceled, transfered to
1070
+ * Triggered for example, when a feature is canceled, transferred to
1071
1071
  * another account, or the user switched to a different contract.
1072
1072
  */
1073
1073
  cancelled?: FeatureCancelled;
@@ -1101,7 +1101,7 @@ export interface FeatureEventEventOneOf {
1101
1101
  updated?: FeatureUpdated;
1102
1102
  /**
1103
1103
  * Information about an event that cancels a feature for the user.
1104
- * Triggered for example, when a feature is canceled, transfered to
1104
+ * Triggered for example, when a feature is canceled, transferred to
1105
1105
  * another account, or the user switched to a different contract.
1106
1106
  */
1107
1107
  cancelled?: FeatureCancelled;
@@ -1180,7 +1180,7 @@ export interface Feature extends FeatureQuantityInfoOneOf {
1180
1180
  * Information about whether the feature belongs to a Wix account or site.
1181
1181
  * Account features have `context.userId`. Site features have `context.metaSiteId` in case
1182
1182
  * they're assigned to a specific site. Site features that aren't assigned to
1183
- * a speficic site have neither ID.
1183
+ * a specific site have neither ID.
1184
1184
  */
1185
1185
  context?: FeatureContext;
1186
1186
  /**
@@ -1314,7 +1314,7 @@ export interface AssignedFromFloatingReason {
1314
1314
  /** New subscription created and features created as enabled */
1315
1315
  export interface NewFeatureReason {
1316
1316
  }
1317
- /** Subscription was upgraded or downgraded, as a result new features enabled, missing features disbaled , quiantities are updated */
1317
+ /** Subscription was upgraded or downgraded, as a result new features enabled, missing features disabled , quantities are updated */
1318
1318
  export interface ContractSwitchedReason {
1319
1319
  }
1320
1320
  /** a call to CreateFeature in features-writer, creates feature that is not attached to subscription */
@@ -1403,7 +1403,7 @@ export interface FeatureCancelled extends FeatureCancelledReasonOneOf {
1403
1403
  transferredToAnotherAccount?: TransferredToAnotherAccountReason;
1404
1404
  /** Information about the contract switch. */
1405
1405
  contractSwitched?: ContractSwitchedReason;
1406
- /** Information about the feature cancelation. */
1406
+ /** Information about the feature cancellation. */
1407
1407
  cancelRequest?: CancelRequestedReason;
1408
1408
  /** Canceled feature. */
1409
1409
  feature?: Feature;
@@ -1419,7 +1419,7 @@ export interface FeatureCancelledReasonOneOf {
1419
1419
  transferredToAnotherAccount?: TransferredToAnotherAccountReason;
1420
1420
  /** Information about the contract switch. */
1421
1421
  contractSwitched?: ContractSwitchedReason;
1422
- /** Information about the feature cancelation. */
1422
+ /** Information about the feature cancellation. */
1423
1423
  cancelRequest?: CancelRequestedReason;
1424
1424
  }
1425
1425
  /** Subscription was transferred to another account, features in the origin account were cancelled */
@@ -1065,7 +1065,7 @@ export interface FeatureEvent extends FeatureEventEventOneOf {
1065
1065
  updated?: FeatureUpdated;
1066
1066
  /**
1067
1067
  * Information about an event that cancels a feature for the user.
1068
- * Triggered for example, when a feature is canceled, transfered to
1068
+ * Triggered for example, when a feature is canceled, transferred to
1069
1069
  * another account, or the user switched to a different contract.
1070
1070
  */
1071
1071
  cancelled?: FeatureCancelled;
@@ -1099,7 +1099,7 @@ export interface FeatureEventEventOneOf {
1099
1099
  updated?: FeatureUpdated;
1100
1100
  /**
1101
1101
  * Information about an event that cancels a feature for the user.
1102
- * Triggered for example, when a feature is canceled, transfered to
1102
+ * Triggered for example, when a feature is canceled, transferred to
1103
1103
  * another account, or the user switched to a different contract.
1104
1104
  */
1105
1105
  cancelled?: FeatureCancelled;
@@ -1178,7 +1178,7 @@ export interface Feature extends FeatureQuantityInfoOneOf {
1178
1178
  * Information about whether the feature belongs to a Wix account or site.
1179
1179
  * Account features have `context.userId`. Site features have `context.metaSiteId` in case
1180
1180
  * they're assigned to a specific site. Site features that aren't assigned to
1181
- * a speficic site have neither ID.
1181
+ * a specific site have neither ID.
1182
1182
  */
1183
1183
  context?: FeatureContext;
1184
1184
  /**
@@ -1312,7 +1312,7 @@ export interface AssignedFromFloatingReason {
1312
1312
  /** New subscription created and features created as enabled */
1313
1313
  export interface NewFeatureReason {
1314
1314
  }
1315
- /** Subscription was upgraded or downgraded, as a result new features enabled, missing features disbaled , quiantities are updated */
1315
+ /** Subscription was upgraded or downgraded, as a result new features enabled, missing features disabled , quantities are updated */
1316
1316
  export interface ContractSwitchedReason {
1317
1317
  }
1318
1318
  /** a call to CreateFeature in features-writer, creates feature that is not attached to subscription */
@@ -1401,7 +1401,7 @@ export interface FeatureCancelled extends FeatureCancelledReasonOneOf {
1401
1401
  transferredToAnotherAccount?: TransferredToAnotherAccountReason;
1402
1402
  /** Information about the contract switch. */
1403
1403
  contractSwitched?: ContractSwitchedReason;
1404
- /** Information about the feature cancelation. */
1404
+ /** Information about the feature cancellation. */
1405
1405
  cancelRequest?: CancelRequestedReason;
1406
1406
  /** Canceled feature. */
1407
1407
  feature?: Feature;
@@ -1417,7 +1417,7 @@ export interface FeatureCancelledReasonOneOf {
1417
1417
  transferredToAnotherAccount?: TransferredToAnotherAccountReason;
1418
1418
  /** Information about the contract switch. */
1419
1419
  contractSwitched?: ContractSwitchedReason;
1420
- /** Information about the feature cancelation. */
1420
+ /** Information about the feature cancellation. */
1421
1421
  cancelRequest?: CancelRequestedReason;
1422
1422
  }
1423
1423
  /** Subscription was transferred to another account, features in the origin account were cancelled */
@@ -1,7 +1,7 @@
1
1
  /** The reservation domain object. */
2
2
  export interface Reservation {
3
3
  /**
4
- * Reservation ID. Read-only.
4
+ * Reservation ID.
5
5
  * @readonly
6
6
  */
7
7
  id?: string | null;
@@ -52,12 +52,12 @@ export interface Reservation {
52
52
  */
53
53
  teamMessage?: string | null;
54
54
  /**
55
- * Date and time when the reservation was created.
55
+ * Date and time the reservation was created.
56
56
  * @readonly
57
57
  */
58
58
  createdDate?: Date;
59
59
  /**
60
- * Date and time when the reservation was changed.
60
+ * Date and time the reservation was changed.
61
61
  * @readonly
62
62
  */
63
63
  updatedDate?: Date;
@@ -7,7 +7,7 @@ export declare const __debug: {
7
7
  /** The reservation domain object. */
8
8
  export interface Reservation {
9
9
  /**
10
- * Reservation ID. Read-only.
10
+ * Reservation ID.
11
11
  * @readonly
12
12
  */
13
13
  _id?: string | null;
@@ -61,12 +61,12 @@ export interface Reservation {
61
61
  */
62
62
  teamMessage?: string | null;
63
63
  /**
64
- * Date and time when the reservation was created.
64
+ * Date and time the reservation was created.
65
65
  * @readonly
66
66
  */
67
67
  _createdDate?: Date;
68
68
  /**
69
- * Date and time when the reservation was changed.
69
+ * Date and time the reservation was changed.
70
70
  * @readonly
71
71
  */
72
72
  _updatedDate?: Date;
@@ -954,7 +954,7 @@ export interface GetReservationOptions {
954
954
  * Including the fields `status`, `source`, `reservation.details.tableIds`, `reservation.details.endDate`, `ignoreReservationLocationConflicts`, and `ignoreTableCombinationConflicts` in the request requires additional permissions. See this API's Introduction article for more information.
955
955
  *
956
956
  * Each time the reservation is updated, revision increments by 1. The existing revision must be included when updating the reservation. This ensures you're working with the latest reservation information, and it prevents unintended overwrites.
957
- * @param _id - Reservation ID. Read-only.
957
+ * @param _id - Reservation ID.
958
958
  * @public
959
959
  * @documentationMaturity preview
960
960
  * @requiredField _id
@@ -970,7 +970,7 @@ export interface GetReservationOptions {
970
970
  export declare function updateReservation(_id: string | null, reservation: UpdateReservation, options?: UpdateReservationOptions): Promise<Reservation & NonNullable<UpdateReservationResponseNonNullableFields>['reservation']>;
971
971
  export interface UpdateReservation {
972
972
  /**
973
- * Reservation ID. Read-only.
973
+ * Reservation ID.
974
974
  * @readonly
975
975
  */
976
976
  _id?: string | null;
@@ -1012,12 +1012,12 @@ export interface UpdateReservation {
1012
1012
  */
1013
1013
  teamMessage?: string | null;
1014
1014
  /**
1015
- * Date and time when the reservation was created.
1015
+ * Date and time the reservation was created.
1016
1016
  * @readonly
1017
1017
  */
1018
1018
  _createdDate?: Date;
1019
1019
  /**
1020
- * Date and time when the reservation was changed.
1020
+ * Date and time the reservation was changed.
1021
1021
  * @readonly
1022
1022
  */
1023
1023
  _updatedDate?: Date;
@@ -322,7 +322,7 @@ export function getReservation(reservationId, options) {
322
322
  * Including the fields `status`, `source`, `reservation.details.tableIds`, `reservation.details.endDate`, `ignoreReservationLocationConflicts`, and `ignoreTableCombinationConflicts` in the request requires additional permissions. See this API's Introduction article for more information.
323
323
  *
324
324
  * Each time the reservation is updated, revision increments by 1. The existing revision must be included when updating the reservation. This ensures you're working with the latest reservation information, and it prevents unintended overwrites.
325
- * @param _id - Reservation ID. Read-only.
325
+ * @param _id - Reservation ID.
326
326
  * @public
327
327
  * @documentationMaturity preview
328
328
  * @requiredField _id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/table-reservations",
3
- "version": "1.0.55",
3
+ "version": "1.0.57",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -33,5 +33,5 @@
33
33
  "groupId": "com.wixpress.public-sdk-autogen"
34
34
  }
35
35
  },
36
- "falconPackageHash": "908bf35aebb3a1c9229fe726a3f5d4963601a1236bf4bfeec990cbd3"
36
+ "falconPackageHash": "1c38bbfca6dab9598a4286c7de5b74c8efaa470395b96779d6a5a81c"
37
37
  }