@wix/bookings 1.0.406 → 1.0.408

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/bookings",
3
- "version": "1.0.406",
3
+ "version": "1.0.408",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -29,7 +29,7 @@
29
29
  "@wix/bookings_pricing": "1.0.25",
30
30
  "@wix/bookings_resources": "1.0.29",
31
31
  "@wix/bookings_service-options-and-variants": "1.0.35",
32
- "@wix/bookings_services": "1.0.50"
32
+ "@wix/bookings_services": "1.0.52"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@wix/sdk": "https://cdn.dev.wixpress.com/@wix/sdk/02e8069ab2fd783e0e6a080fc7d590e76cb26ab93c8389574286305b.tar.gz",
@@ -54,5 +54,5 @@
54
54
  "fqdn": ""
55
55
  }
56
56
  },
57
- "falconPackageHash": "83f8679bf7c538c4d580b2194cf32bcb43f57ce83221269867f2c41b"
57
+ "falconPackageHash": "9e53e677e85e51f9543ee9a26a96f3e28191a9dc735dfa6c9e81967f"
58
58
  }
@@ -3995,6 +3995,16 @@ interface BusinessLocationOptions {
3995
3995
  * @readonly
3996
3996
  */
3997
3997
  address?: CommonAddress;
3998
+ /**
3999
+ * Business location email
4000
+ * @readonly
4001
+ */
4002
+ email?: string | null;
4003
+ /**
4004
+ * Business location phone
4005
+ * @readonly
4006
+ */
4007
+ phone?: string | null;
3998
4008
  }
3999
4009
  interface CustomLocationOptions {
4000
4010
  /** A custom address for the location. */
@@ -9592,6 +9592,16 @@ interface BusinessLocationOptions {
9592
9592
  * @readonly
9593
9593
  */
9594
9594
  address?: CommonAddress;
9595
+ /**
9596
+ * Business location email
9597
+ * @readonly
9598
+ */
9599
+ email?: string | null;
9600
+ /**
9601
+ * Business location phone
9602
+ * @readonly
9603
+ */
9604
+ phone?: string | null;
9595
9605
  }
9596
9606
  interface CustomLocationOptions {
9597
9607
  /** A custom address for the location. */
@@ -9991,6 +10001,7 @@ interface ServiceResource extends ServiceResourceSelectionOneOf {
9991
10001
  resourceIds?: ResourceIds;
9992
10002
  /** The unique identifier for the service resource, if not provided, would default to the resource type id. */
9993
10003
  _id?: string | null;
10004
+ /** Service resource type data. */
9994
10005
  resourceType?: ResourceType;
9995
10006
  /**
9996
10007
  * How many resources of the are required in order to book the service.
@@ -10207,7 +10218,9 @@ interface BulkCreateServicesResponse {
10207
10218
  bulkActionMetadata?: BulkActionMetadata$2;
10208
10219
  }
10209
10220
  interface BulkServiceResult {
10221
+ /** Updated service metadata. */
10210
10222
  itemMetadata?: ItemMetadata$2;
10223
+ /** The updated service. */
10211
10224
  item?: Service;
10212
10225
  }
10213
10226
  interface ItemMetadata$2 {
@@ -10279,10 +10292,11 @@ interface ServiceAvailabilityConstraints {
10279
10292
  */
10280
10293
  locations?: V2Location[];
10281
10294
  /**
10295
+ * Resource groups required to book the service. For backwards compatibility only. Use `serviceResources` instead.
10282
10296
  * @readonly
10283
- * @deprecated
10297
+ * @deprecated Resource groups required to book the service. For backwards compatibility only. Use `serviceResources` instead.
10284
10298
  * @replacedBy service_resources
10285
- * @removalDate 2023-09-01
10299
+ * @removalDate 2024-09-01
10286
10300
  */
10287
10301
  resourceGroups?: ResourceGroup[];
10288
10302
  /**
@@ -10364,13 +10378,15 @@ interface V2ParticipantNotification {
10364
10378
  interface DeleteServiceResponse {
10365
10379
  }
10366
10380
  interface BulkDeleteServicesRequest {
10381
+ /** Ids of the services for deletion. */
10367
10382
  ids?: string[];
10368
- preserveFutureSessionsWithParticipants?: boolean;
10369
10383
  /**
10370
10384
  * Whether to preserve future sessions with participants.
10371
10385
  *
10372
10386
  * Default: `false`.
10373
10387
  */
10388
+ preserveFutureSessionsWithParticipants?: boolean;
10389
+ /** Whether to notify participants about the change and an optional custom message. */
10374
10390
  participantNotification?: V2ParticipantNotification;
10375
10391
  }
10376
10392
  interface BulkDeleteServicesResponse {
@@ -10466,6 +10482,7 @@ interface Cursors$2 {
10466
10482
  prev?: string | null;
10467
10483
  }
10468
10484
  interface SearchServicesRequest {
10485
+ /** WQL, search or aggregation expression. */
10469
10486
  search?: CursorSearch;
10470
10487
  }
10471
10488
  interface CursorSearch extends CursorSearchPagingMethodOneOf {
@@ -8861,6 +8861,16 @@ interface BusinessLocationOptions$1 {
8861
8861
  * @readonly
8862
8862
  */
8863
8863
  address?: CommonAddress$1;
8864
+ /**
8865
+ * Business location email
8866
+ * @readonly
8867
+ */
8868
+ email?: string | null;
8869
+ /**
8870
+ * Business location phone
8871
+ * @readonly
8872
+ */
8873
+ phone?: string | null;
8864
8874
  }
8865
8875
  interface CustomLocationOptions$1 {
8866
8876
  /** A custom address for the location. */
@@ -10639,6 +10649,16 @@ interface BusinessLocationOptions {
10639
10649
  * @readonly
10640
10650
  */
10641
10651
  address?: CommonAddress;
10652
+ /**
10653
+ * Business location email
10654
+ * @readonly
10655
+ */
10656
+ email?: string | null;
10657
+ /**
10658
+ * Business location phone
10659
+ * @readonly
10660
+ */
10661
+ phone?: string | null;
10642
10662
  }
10643
10663
  interface CustomLocationOptions {
10644
10664
  /** A custom address for the location. */