@wix/calendar 1.0.44 → 1.0.45

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.
@@ -1288,7 +1288,7 @@ interface Event {
1288
1288
  */
1289
1289
  _id?: string | null;
1290
1290
  /**
1291
- * ID of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
1291
+ * ID of the [schedule](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction)
1292
1292
  * the event belongs to.
1293
1293
  * After creating an event, you can't assign it to a different schedule.
1294
1294
  */
@@ -1308,7 +1308,7 @@ interface Event {
1308
1308
  *
1309
1309
  * Supported values:
1310
1310
  * + `DEFAULT`: A standard event that's not further specified.
1311
- * + `WORKING_HOURS`: Working hours event. By default not returned in [Query Events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/query-events).
1311
+ * + `WORKING_HOURS`: Working hours event. By default not returned in [queryEvents()](https://dev.wix.com/docs/sdk/backend-modules/calendar/events/query-events).
1312
1312
  *
1313
1313
  * Additional supported values, if Wix Bookings is installed:
1314
1314
  * + `APPOINTMENT`: Bookings appointment event.
@@ -1344,14 +1344,14 @@ interface Event {
1344
1344
  end?: ZonedDate$2;
1345
1345
  /**
1346
1346
  * Information about when the event starts adjusted to the `timeZone` of the
1347
- * business [site properties](https://dev.wix.com/docs/rest/business-management/site-properties/properties/properties-object)
1347
+ * business [site properties](https://dev.wix.com/docs/sdk/backend-modules/business-tools/site-properties/get-site-properties)
1348
1348
  * or a different `timeZone` you provide in the call's request.
1349
1349
  * @readonly
1350
1350
  */
1351
1351
  adjustedStart?: ZonedDate$2;
1352
1352
  /**
1353
1353
  * Information about when the event ends adjusted to the `timeZone` of the
1354
- * business [site properties](https://dev.wix.com/docs/rest/business-management/site-properties/properties/properties-object)
1354
+ * business [site properties](https://dev.wix.com/docs/sdk/backend-modules/business-tools/site-properties/get-site-properties)
1355
1355
  * or a different `timeZone` you provide in the call's request.
1356
1356
  * @readonly
1357
1357
  */
@@ -1362,7 +1362,7 @@ interface Event {
1362
1362
  * Only regional time zones and UTC are supported.
1363
1363
  * For example, `America/New_York` or `UTC`.
1364
1364
  *
1365
- * Default: `timeZone` of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object).
1365
+ * Default: `timeZone` of the [schedule](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction).
1366
1366
  */
1367
1367
  timeZone?: string | null;
1368
1368
  /**
@@ -1410,13 +1410,13 @@ interface Event {
1410
1410
  /**
1411
1411
  * Event location.
1412
1412
  *
1413
- * Default: `defaultLocation` of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object) the event belongs to
1413
+ * Default: `defaultLocation` of the [schedule](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction) the event belongs to
1414
1414
  */
1415
1415
  location?: Location$2;
1416
1416
  /**
1417
- * List of [Wix Bookings resources](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/resource-v2/resource-object)
1417
+ * List of [Wix Bookings resources](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/introduction)
1418
1418
  * affected by the event. This could include, for example, the
1419
- * [Wix Bookings staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/staff-member-v1/staff-member-object)
1419
+ * [Wix Bookings staff member](https://dev.wix.com/docs/sdk/backend-modules/bookings/staff-members/introduction)
1420
1420
  * providing the service or the room where the appointment takes place.
1421
1421
  *
1422
1422
  * Max: 100 resources
@@ -1425,7 +1425,7 @@ interface Event {
1425
1425
  /**
1426
1426
  * Maximum number of participants who can participate in the event.
1427
1427
  *
1428
- * Default: `defaultCapacity` of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object) the event belongs to
1428
+ * Default: `defaultCapacity` of the [schedule](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction) the event belongs to.
1429
1429
  */
1430
1430
  totalCapacity?: number | null;
1431
1431
  /**
@@ -1435,20 +1435,20 @@ interface Event {
1435
1435
  remainingCapacity?: number | null;
1436
1436
  /**
1437
1437
  * Information about the event's participants.
1438
- * Returned only if explicitly requested. For more details, see the [permissions article](https://dev.wix.com/docs/rest/business-management/calendar/permissions#retrieve-personal-information).
1438
+ * Returned only if explicitly requested. For more details, see the [permissions article](https://dev.wix.com/docs/sdk/backend-modules/calendar/permissions#retrieve-personal-information).
1439
1439
  * @readonly
1440
1440
  */
1441
1441
  participants?: Participants;
1442
1442
  /**
1443
1443
  * Information about the event's online conferencing.
1444
- * Returned only if explicitly requested. For more details, see the [permissions article](https://dev.wix.com/docs/rest/business-management/calendar/permissions#retrieve-personal-information).
1444
+ * Returned only if explicitly requested. For more details, see the [permissions article](https://dev.wix.com/docs/sdk/backend-modules/calendar/permissions#retrieve-personal-information).
1445
1445
  *
1446
- * Default: `defaultConferencingDetails` of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object) the event belongs to
1446
+ * Default: `defaultConferencingDetails` of the [schedule](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction) the event belongs to.
1447
1447
  */
1448
1448
  conferencingDetails?: ConferencingDetails$2;
1449
1449
  /**
1450
1450
  * Additional notes about the event.
1451
- * Returned only if explicitly requested. For more details, see the [permissions article](https://dev.wix.com/docs/rest/business-management/calendar/permissions#retrieve-personal-information).
1451
+ * Returned only if explicitly requested. For more details, see the [permissions article](https://dev.wix.com/docs/sdk/backend-modules/calendar/permissions#retrieve-personal-information).
1452
1452
  *
1453
1453
  * Min: 1 character
1454
1454
  * Max: 5000 characters
@@ -1456,21 +1456,21 @@ interface Event {
1456
1456
  notes?: string | null;
1457
1457
  /**
1458
1458
  * List of fields whose values are inherited.
1459
- * + For single-occurrence events, values are inherited from the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object).
1459
+ * + For single-occurrence events, values are inherited from the [schedule](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction).
1460
1460
  * + For `INSTANCE` and `EXCEPTION` events, values are inherited from the related `MASTER` event.
1461
1461
  * @readonly
1462
1462
  */
1463
1463
  inheritedFields?: Field[];
1464
1464
  /**
1465
1465
  * ID of the app that owns the event. Identical to `appId` of the
1466
- * [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
1466
+ * [schedule](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction)
1467
1467
  * to which the event belongs.
1468
1468
  * @readonly
1469
1469
  */
1470
1470
  appId?: string | null;
1471
1471
  /**
1472
1472
  * List of permissions associated with the event. Refer to the
1473
- * [permissions article](https://dev.wix.com/docs/rest/business-management/calendar/permissions#roles)
1473
+ * [permissions article](https://dev.wix.com/docs/sdk/backend-modules/calendar/permissions#roles)
1474
1474
  * for more information.
1475
1475
  * @readonly
1476
1476
  */
@@ -1572,7 +1572,7 @@ interface RecurrenceRule {
1572
1572
  /**
1573
1573
  * Date until when the event repeats
1574
1574
  * adjusted to the `timeZone` of the business
1575
- * [site properties](https://dev.wix.com/docs/rest/business-management/site-properties/properties/properties-object)
1575
+ * [site properties](https://dev.wix.com/docs/sdk/backend-modules/business-tools/site-properties/get-site-properties)
1576
1576
  * or a different `timeZone` you provide in the call's request.
1577
1577
  * @readonly
1578
1578
  */
@@ -1725,8 +1725,8 @@ interface Participant$2 {
1725
1725
  /** Participant's email address. */
1726
1726
  email?: string | null;
1727
1727
  /**
1728
- * [Contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)
1729
- * ID of the parcipant.
1728
+ * [Contact](https://dev.wix.com/docs/sdk/backend-modules/crm/contacts/introduction)
1729
+ * ID of the participant.
1730
1730
  */
1731
1731
  contactId?: string | null;
1732
1732
  }
@@ -1851,12 +1851,12 @@ interface GetEventRequest {
1851
1851
  * for calculating `adjustedStart` and `adjustedEnd`. For example,
1852
1852
  * `America/New_York` or `UTC`.
1853
1853
  *
1854
- * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/rest/business-management/site-properties/properties/get-site-properties).
1854
+ * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/sdk/backend-modules/business-tools/site-properties/get-site-properties).
1855
1855
  */
1856
1856
  timeZone?: string | null;
1857
1857
  /**
1858
1858
  * Information about which fields containing personal data to return. Refer to the
1859
- * [permissions article](https://dev.wix.com/docs/rest/business-management/calendar/permissions)
1859
+ * [permissions article](https://dev.wix.com/docs/sdk/backend-modules/calendar/permissions)
1860
1860
  * for more information.
1861
1861
  *
1862
1862
  * Supported values:
@@ -1897,7 +1897,7 @@ interface ListEventsRequest {
1897
1897
  timeZone?: string | null;
1898
1898
  /**
1899
1899
  * Information about which fields containing personal data to return. Refer to the
1900
- * [permissions article](https://dev.wix.com/docs/rest/business-management/calendar/permissions)
1900
+ * [permissions article](https://dev.wix.com/docs/sdk/backend-modules/calendar/permissions)
1901
1901
  * for more information.
1902
1902
  *
1903
1903
  * Supported values:
@@ -1953,7 +1953,7 @@ interface QueryEventsRequest {
1953
1953
  recurrenceType?: RecurrenceType[];
1954
1954
  /**
1955
1955
  * Information about which fields containing personal data to return. Refer to the
1956
- * [permissions article](https://dev.wix.com/docs/rest/business-management/calendar/permissions)
1956
+ * [permissions article](https://dev.wix.com/docs/sdk/backend-modules/calendar/permissions)
1957
1957
  * for more information.
1958
1958
  *
1959
1959
  * Supported values:
@@ -2052,7 +2052,7 @@ interface CreateEventRequest {
2052
2052
  * for calculating `adjustedStart` and `adjustedEnd`. For example,
2053
2053
  * `America/New_York` or `UTC`.
2054
2054
  *
2055
- * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/rest/business-management/site-properties/properties/get-site-properties).
2055
+ * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/sdk/backend-modules/business-tools/site-properties/get-site-properties).
2056
2056
  */
2057
2057
  timeZone?: string | null;
2058
2058
  /**
@@ -2079,7 +2079,7 @@ interface BulkCreateEventRequest {
2079
2079
  * for calculating `adjustedStart` and `adjustedEnd`. For example,
2080
2080
  * `America/New_York` or `UTC`.
2081
2081
  *
2082
- * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/rest/business-management/site-properties/properties/get-site-properties).
2082
+ * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/sdk/backend-modules/business-tools/site-properties/get-site-properties).
2083
2083
  */
2084
2084
  timeZone?: string | null;
2085
2085
  }
@@ -2142,7 +2142,7 @@ interface UpdateEventRequest {
2142
2142
  * for calculating `adjustedStart` and `adjustedEnd`. For example,
2143
2143
  * `America/New_York` or `UTC`.
2144
2144
  *
2145
- * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/rest/business-management/site-properties/properties/get-site-properties).
2145
+ * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/sdk/backend-modules/business-tools/site-properties/get-site-properties).
2146
2146
  */
2147
2147
  timeZone?: string | null;
2148
2148
  }
@@ -2189,7 +2189,7 @@ interface BulkUpdateEventRequest {
2189
2189
  * for calculating `adjustedStart` and `adjustedEnd`. For example,
2190
2190
  * `America/New_York` or `UTC`.
2191
2191
  *
2192
- * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/rest/business-management/site-properties/properties/get-site-properties).
2192
+ * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/sdk/backend-modules/business-tools/site-properties/get-site-properties).
2193
2193
  */
2194
2194
  timeZone?: string | null;
2195
2195
  }
@@ -2224,7 +2224,7 @@ interface RestoreEventDefaultsRequest {
2224
2224
  * for calculating `adjustedStart` and `adjustedEnd`. For example,
2225
2225
  * `America/New_York` or `UTC`.
2226
2226
  *
2227
- * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/rest/business-management/site-properties/properties/get-site-properties).
2227
+ * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/sdk/backend-modules/business-tools/site-properties/get-site-properties).
2228
2228
  */
2229
2229
  timeZone?: string | null;
2230
2230
  }
@@ -2250,7 +2250,7 @@ interface SplitRecurringEventRequest {
2250
2250
  * for calculating `adjustedStart` and `adjustedEnd`. For example,
2251
2251
  * `America/New_York` or `UTC`.
2252
2252
  *
2253
- * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/rest/business-management/site-properties/properties/get-site-properties).
2253
+ * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/sdk/backend-modules/business-tools/site-properties/get-site-properties).
2254
2254
  */
2255
2255
  timeZone?: string | null;
2256
2256
  }
@@ -2273,7 +2273,7 @@ interface CancelEventRequest {
2273
2273
  * for calculating `adjustedStart` and `adjustedEnd`. For example,
2274
2274
  * `America/New_York` or `UTC`.
2275
2275
  *
2276
- * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/rest/business-management/site-properties/properties/get-site-properties).
2276
+ * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/sdk/backend-modules/business-tools/site-properties/get-site-properties).
2277
2277
  */
2278
2278
  timeZone?: string | null;
2279
2279
  }
@@ -2300,7 +2300,7 @@ interface BulkCancelEventRequest {
2300
2300
  * for calculating `adjustedStart` and `adjustedEnd`. For example,
2301
2301
  * `America/New_York` or `UTC`.
2302
2302
  *
2303
- * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/rest/business-management/site-properties/properties/get-site-properties).
2303
+ * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/sdk/backend-modules/business-tools/site-properties/get-site-properties).
2304
2304
  */
2305
2305
  timeZone?: string | null;
2306
2306
  }