@wix/auto_sdk_calendar_schedules 1.0.60 → 1.0.61
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/build/cjs/index.d.ts +6 -9
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +4 -9
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.d.mts +6 -9
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +4 -9
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +6 -9
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +4 -9
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/es/index.d.mts +6 -9
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +4 -9
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +3 -3
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
2
|
import { GetScheduleOptions, Schedule, QuerySchedulesOptions, SchedulesQueryBuilder, CreateScheduleOptions, UpdateSchedule, UpdateScheduleOptions, UpdateScheduleApplicationErrors, CancelScheduleOptions, CancelScheduleResponse, CancelScheduleApplicationErrors, ScheduleCancelledEnvelope, ScheduleClonedEnvelope, ScheduleCreatedEnvelope, ScheduleUpdatedEnvelope } from './index.typings.js';
|
|
3
|
-
export { ActionEvent, Address, AddressHint, Asset, BaseEventMetadata, BusinessSchedule, CancelScheduleRequest, Categories, ChangeContext, ChangeContextPayloadOneOf, CloneScheduleRequest, CloneScheduleResponse, CommonIdentificationData, CommonIdentificationDataIdOneOf, ConferencingDetails, ConsentPolicy, CreateScheduleRequest, CreateScheduleResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DayOfWeek, DeleteContext, DeleteStatus, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, GeoCoordinates, GetScheduleRequest, GetScheduleResponse, IdentificationData, IdentificationDataIdOneOf, IdentityType, Locale, Location, LocationType, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Multilingual, Namespace, NamespaceChanged, OdeditorAssigned, OdeditorUnassigned, ParticipantNotification, Permission, PicassoAssigned, PicassoUnassigned, PlacementType, Properties, PropertiesChange, QuerySchedulesRequest, QuerySchedulesResponse, RequestedFields, ResolutionMethod, RestoreInfo, Role, ScheduleCancelled, ScheduleCloned, ScheduleUpdatedWithMetadata, SchedulesQueryResult, ServiceProvisioned, ServiceRemoved, SiteCloned, SiteCreated, SiteCreatedContext, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePropertiesEvent, SitePropertiesNotification, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SpecialHourPeriod, State, Status, StudioAssigned, StudioUnassigned, SupportedLanguage, TimePeriod, Translation, Trigger, Type, UpdateScheduleRequest, UpdateScheduleResponse, V4SiteCreated, WebhookIdentityType } from './index.typings.js';
|
|
3
|
+
export { ActionEvent, Address, AddressHint, Asset, BaseEventMetadata, BusinessSchedule, CancelScheduleRequest, Categories, ChangeContext, ChangeContextPayloadOneOf, CloneScheduleRequest, CloneScheduleResponse, CommonIdentificationData, CommonIdentificationDataIdOneOf, ConferencingDetails, ConsentPolicy, CreateScheduleRequest, CreateScheduleResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DayOfWeek, DayOfWeekWithLiterals, DeleteContext, DeleteStatus, DeleteStatusWithLiterals, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, GeoCoordinates, GetScheduleRequest, GetScheduleResponse, IdentificationData, IdentificationDataIdOneOf, IdentityType, IdentityTypeWithLiterals, Locale, Location, LocationType, LocationTypeWithLiterals, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Multilingual, Namespace, NamespaceChanged, NamespaceWithLiterals, OdeditorAssigned, OdeditorUnassigned, ParticipantNotification, Permission, PicassoAssigned, PicassoUnassigned, PlacementType, PlacementTypeWithLiterals, Properties, PropertiesChange, QuerySchedulesRequest, QuerySchedulesResponse, RequestedFields, RequestedFieldsWithLiterals, ResolutionMethod, ResolutionMethodWithLiterals, RestoreInfo, Role, RoleWithLiterals, ScheduleCancelled, ScheduleCloned, ScheduleUpdatedWithMetadata, SchedulesQueryResult, ServiceProvisioned, ServiceRemoved, SiteCloned, SiteCreated, SiteCreatedContext, SiteCreatedContextWithLiterals, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePropertiesEvent, SitePropertiesNotification, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SpecialHourPeriod, State, StateWithLiterals, Status, StatusWithLiterals, StudioAssigned, StudioUnassigned, SupportedLanguage, TimePeriod, Translation, Trigger, TriggerWithLiterals, Type, TypeWithLiterals, UpdateScheduleRequest, UpdateScheduleResponse, V4SiteCreated, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js';
|
|
4
4
|
|
|
5
|
-
type ScheduleNonNullablePaths = `status` | `defaultLocation.type` | `defaultConferencingDetails.type` | `permissions` | `permissions.${number}.identity.wixUserId` | `permissions.${number}.role`;
|
|
6
5
|
declare function getSchedule$1(httpClient: HttpClient): GetScheduleSignature;
|
|
7
6
|
interface GetScheduleSignature {
|
|
8
7
|
/**
|
|
@@ -10,7 +9,7 @@ interface GetScheduleSignature {
|
|
|
10
9
|
* @param - ID of the schedule to retrieve.
|
|
11
10
|
* @returns Retrieved schedule.
|
|
12
11
|
*/
|
|
13
|
-
(scheduleId: string, options?: GetScheduleOptions): Promise<NonNullablePaths<Schedule,
|
|
12
|
+
(scheduleId: string, options?: GetScheduleOptions): Promise<NonNullablePaths<Schedule, `status` | `defaultLocation.type` | `defaultConferencingDetails.type` | `permissions` | `permissions.${number}.identity.wixUserId` | `permissions.${number}.role`, 5>>;
|
|
14
13
|
}
|
|
15
14
|
declare function querySchedules$1(httpClient: HttpClient): QuerySchedulesSignature;
|
|
16
15
|
interface QuerySchedulesSignature {
|
|
@@ -47,7 +46,7 @@ interface CreateScheduleSignature {
|
|
|
47
46
|
* @param - Schedule to create.
|
|
48
47
|
* @returns Created schedule.
|
|
49
48
|
*/
|
|
50
|
-
(schedule: NonNullablePaths<Schedule, `defaultConferencingDetails.guestUrl` | `defaultConferencingDetails.hostUrl` | `defaultConferencingDetails.type` | `defaultLocation.type` | `permissions.${number}.identity` | `permissions.${number}.role
|
|
49
|
+
(schedule: NonNullablePaths<Schedule, `defaultConferencingDetails.guestUrl` | `defaultConferencingDetails.hostUrl` | `defaultConferencingDetails.type` | `defaultLocation.type` | `permissions.${number}.identity` | `permissions.${number}.role`, 4>, options?: CreateScheduleOptions): Promise<NonNullablePaths<Schedule, `status` | `defaultLocation.type` | `defaultConferencingDetails.type` | `permissions` | `permissions.${number}.identity.wixUserId` | `permissions.${number}.role`, 5>>;
|
|
51
50
|
}
|
|
52
51
|
declare function updateSchedule$1(httpClient: HttpClient): UpdateScheduleSignature;
|
|
53
52
|
interface UpdateScheduleSignature {
|
|
@@ -63,7 +62,7 @@ interface UpdateScheduleSignature {
|
|
|
63
62
|
* @param - Schedule ID.
|
|
64
63
|
* @returns Updated schedule.
|
|
65
64
|
*/
|
|
66
|
-
(_id: string, schedule: NonNullablePaths<UpdateSchedule, `permissions.${number}.identity` | `permissions.${number}.role` | `revision
|
|
65
|
+
(_id: string, schedule: NonNullablePaths<UpdateSchedule, `permissions.${number}.identity` | `permissions.${number}.role` | `revision`, 4>, options?: UpdateScheduleOptions): Promise<NonNullablePaths<Schedule, `status` | `defaultLocation.type` | `defaultConferencingDetails.type` | `permissions` | `permissions.${number}.identity.wixUserId` | `permissions.${number}.role`, 5> & {
|
|
67
66
|
__applicationErrorsType?: UpdateScheduleApplicationErrors;
|
|
68
67
|
}>;
|
|
69
68
|
}
|
|
@@ -79,9 +78,7 @@ interface CancelScheduleSignature {
|
|
|
79
78
|
* or assign new events.
|
|
80
79
|
* @param - ID of the schedule to cancel.
|
|
81
80
|
*/
|
|
82
|
-
(scheduleId: string, options?: CancelScheduleOptions): Promise<NonNullablePaths<CancelScheduleResponse, {
|
|
83
|
-
[P in ScheduleNonNullablePaths]: `schedule.${P}`;
|
|
84
|
-
}[ScheduleNonNullablePaths]> & {
|
|
81
|
+
(scheduleId: string, options?: CancelScheduleOptions): Promise<NonNullablePaths<CancelScheduleResponse, `schedule.status` | `schedule.defaultLocation.type` | `schedule.defaultConferencingDetails.type` | `schedule.permissions` | `schedule.permissions.${number}.identity.wixUserId` | `schedule.permissions.${number}.role`, 6> & {
|
|
85
82
|
__applicationErrorsType?: CancelScheduleApplicationErrors;
|
|
86
83
|
}>;
|
|
87
84
|
}
|
|
@@ -112,4 +109,4 @@ declare const onScheduleCreated: BuildEventDefinition<typeof onScheduleCreated$1
|
|
|
112
109
|
*/
|
|
113
110
|
declare const onScheduleUpdated: BuildEventDefinition<typeof onScheduleUpdated$1>;
|
|
114
111
|
|
|
115
|
-
export { CancelScheduleOptions, CancelScheduleResponse, CreateScheduleOptions, GetScheduleOptions, QuerySchedulesOptions, Schedule, ScheduleCancelledEnvelope, ScheduleClonedEnvelope, ScheduleCreatedEnvelope, ScheduleUpdatedEnvelope, SchedulesQueryBuilder, UpdateSchedule, UpdateScheduleOptions, cancelSchedule, createSchedule, getSchedule, onScheduleCancelled, onScheduleCloned, onScheduleCreated, onScheduleUpdated, querySchedules, updateSchedule };
|
|
112
|
+
export { CancelScheduleApplicationErrors, CancelScheduleOptions, CancelScheduleResponse, CreateScheduleOptions, GetScheduleOptions, QuerySchedulesOptions, Schedule, ScheduleCancelledEnvelope, ScheduleClonedEnvelope, ScheduleCreatedEnvelope, ScheduleUpdatedEnvelope, SchedulesQueryBuilder, UpdateSchedule, UpdateScheduleApplicationErrors, UpdateScheduleOptions, cancelSchedule, createSchedule, getSchedule, onScheduleCancelled, onScheduleCloned, onScheduleCreated, onScheduleUpdated, querySchedules, updateSchedule };
|