@wix/auto_sdk_calendar_events 1.0.71 → 1.0.73
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.js +0 -8
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +8 -17
- package/build/cjs/index.typings.js +0 -8
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +8 -17
- package/build/cjs/meta.js +0 -8
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +0 -8
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +8 -17
- package/build/es/index.typings.mjs +0 -8
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +8 -17
- package/build/es/meta.mjs +0 -8
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +0 -8
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +8 -17
- package/build/internal/cjs/index.typings.js +0 -8
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +8 -17
- package/build/internal/cjs/meta.js +0 -8
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +0 -8
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +8 -17
- package/build/internal/es/index.typings.mjs +0 -8
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +8 -17
- package/build/internal/es/meta.mjs +0 -8
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/meta.d.ts
CHANGED
|
@@ -251,14 +251,13 @@ interface Event {
|
|
|
251
251
|
updatedDate?: Date | null;
|
|
252
252
|
}
|
|
253
253
|
declare enum Status {
|
|
254
|
-
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
255
254
|
/** Event is scheduled to happen or has happened. */
|
|
256
255
|
CONFIRMED = "CONFIRMED",
|
|
257
256
|
/** Event has been canceled. */
|
|
258
257
|
CANCELLED = "CANCELLED"
|
|
259
258
|
}
|
|
260
259
|
/** @enumType */
|
|
261
|
-
type StatusWithLiterals = Status | '
|
|
260
|
+
type StatusWithLiterals = Status | 'CONFIRMED' | 'CANCELLED';
|
|
262
261
|
/** A date time with a time zone, having the UTC offset and date determined by the server. */
|
|
263
262
|
interface ZonedDate {
|
|
264
263
|
/**
|
|
@@ -284,7 +283,6 @@ interface ZonedDate {
|
|
|
284
283
|
utcDate?: Date | null;
|
|
285
284
|
}
|
|
286
285
|
declare enum RecurrenceType {
|
|
287
|
-
UNKNOWN_RECURRENCE_TYPE = "UNKNOWN_RECURRENCE_TYPE",
|
|
288
286
|
/** The event occurs only once and doesn't repeat. */
|
|
289
287
|
NONE = "NONE",
|
|
290
288
|
/** Defines the recurrence pattern for a series of recurring events. */
|
|
@@ -295,7 +293,7 @@ declare enum RecurrenceType {
|
|
|
295
293
|
EXCEPTION = "EXCEPTION"
|
|
296
294
|
}
|
|
297
295
|
/** @enumType */
|
|
298
|
-
type RecurrenceTypeWithLiterals = RecurrenceType | '
|
|
296
|
+
type RecurrenceTypeWithLiterals = RecurrenceType | 'NONE' | 'MASTER' | 'INSTANCE' | 'EXCEPTION';
|
|
299
297
|
interface RecurrenceRule {
|
|
300
298
|
/**
|
|
301
299
|
* Frequency how often the event repeats. Works together with `interval`.
|
|
@@ -411,7 +409,6 @@ interface Location {
|
|
|
411
409
|
address?: string | null;
|
|
412
410
|
}
|
|
413
411
|
declare enum LocationType {
|
|
414
|
-
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
415
412
|
/** The event is held at a business location. */
|
|
416
413
|
BUSINESS = "BUSINESS",
|
|
417
414
|
/** The event is held at the customer's location, such as their home or office. */
|
|
@@ -420,7 +417,7 @@ declare enum LocationType {
|
|
|
420
417
|
CUSTOM = "CUSTOM"
|
|
421
418
|
}
|
|
422
419
|
/** @enumType */
|
|
423
|
-
type LocationTypeWithLiterals = LocationType | '
|
|
420
|
+
type LocationTypeWithLiterals = LocationType | 'BUSINESS' | 'CUSTOMER' | 'CUSTOM';
|
|
424
421
|
interface Resource {
|
|
425
422
|
/**
|
|
426
423
|
* Resource ID.
|
|
@@ -455,14 +452,13 @@ interface Resource {
|
|
|
455
452
|
permissionRole?: RoleWithLiterals;
|
|
456
453
|
}
|
|
457
454
|
declare enum Role {
|
|
458
|
-
UNKNOWN_ROLE = "UNKNOWN_ROLE",
|
|
459
455
|
/** Full read and write access. */
|
|
460
456
|
WRITER = "WRITER",
|
|
461
457
|
/** Full read access, write access limited to `event.notes`. */
|
|
462
458
|
COMMENTER = "COMMENTER"
|
|
463
459
|
}
|
|
464
460
|
/** @enumType */
|
|
465
|
-
type RoleWithLiterals = Role | '
|
|
461
|
+
type RoleWithLiterals = Role | 'WRITER' | 'COMMENTER';
|
|
466
462
|
interface Participants {
|
|
467
463
|
/**
|
|
468
464
|
* Total number of participants.
|
|
@@ -521,14 +517,13 @@ interface Participant {
|
|
|
521
517
|
contactId?: string | null;
|
|
522
518
|
}
|
|
523
519
|
declare enum ParticipantsStatus {
|
|
524
|
-
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
525
520
|
/** All participants are confirmed. */
|
|
526
521
|
CONFIRMED = "CONFIRMED",
|
|
527
522
|
/** At least one participant isn't confirmed yet. */
|
|
528
523
|
PENDING_CONFIRMATION = "PENDING_CONFIRMATION"
|
|
529
524
|
}
|
|
530
525
|
/** @enumType */
|
|
531
|
-
type ParticipantsStatusWithLiterals = ParticipantsStatus | '
|
|
526
|
+
type ParticipantsStatusWithLiterals = ParticipantsStatus | 'CONFIRMED' | 'PENDING_CONFIRMATION';
|
|
532
527
|
interface ConferencingDetails {
|
|
533
528
|
/** Conference type. For example, `Zoom`. */
|
|
534
529
|
type?: TypeWithLiterals;
|
|
@@ -570,15 +565,13 @@ interface ConferencingDetails {
|
|
|
570
565
|
externalId?: string | null;
|
|
571
566
|
}
|
|
572
567
|
declare enum ProviderType {
|
|
573
|
-
/** Unknown provider type. */
|
|
574
|
-
UNKNOWN_PROVIDER_TYPE = "UNKNOWN_PROVIDER_TYPE",
|
|
575
568
|
/** Custom conferencing link manually configured by the user. */
|
|
576
569
|
CUSTOM = "CUSTOM",
|
|
577
570
|
/** Online meeting provider integrated via an app. */
|
|
578
571
|
ONLINE_MEETING = "ONLINE_MEETING"
|
|
579
572
|
}
|
|
580
573
|
/** @enumType */
|
|
581
|
-
type ProviderTypeWithLiterals = ProviderType | '
|
|
574
|
+
type ProviderTypeWithLiterals = ProviderType | 'CUSTOM' | 'ONLINE_MEETING';
|
|
582
575
|
interface OnlineMeetingInfo {
|
|
583
576
|
/** @format GUID */
|
|
584
577
|
appId?: string;
|
|
@@ -601,7 +594,6 @@ interface ProviderProviderInfoOneOf {
|
|
|
601
594
|
onlineMeetingInfo?: OnlineMeetingInfo;
|
|
602
595
|
}
|
|
603
596
|
declare enum Field {
|
|
604
|
-
UNKNOWN_FIELD = "UNKNOWN_FIELD",
|
|
605
597
|
/** `title` is inherited from the schedule or `MASTER` event. */
|
|
606
598
|
TITLE = "TITLE",
|
|
607
599
|
/** `timeZone` is inherited from the schedule or `MASTER` event. */
|
|
@@ -620,7 +612,7 @@ declare enum Field {
|
|
|
620
612
|
CONFERENCING_DETAILS = "CONFERENCING_DETAILS"
|
|
621
613
|
}
|
|
622
614
|
/** @enumType */
|
|
623
|
-
type FieldWithLiterals = Field | '
|
|
615
|
+
type FieldWithLiterals = Field | 'TITLE' | 'TIME_ZONE' | 'TIME' | 'LOCATION' | 'RESOURCES' | 'CAPACITY' | 'PARTICIPANTS' | 'CONFERENCING_DETAILS';
|
|
624
616
|
interface Permission {
|
|
625
617
|
/**
|
|
626
618
|
* [Wix user](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities#wix-users)
|
|
@@ -1390,14 +1382,13 @@ interface GetEventRequest {
|
|
|
1390
1382
|
fields?: RequestedFieldsWithLiterals[];
|
|
1391
1383
|
}
|
|
1392
1384
|
declare enum RequestedFields {
|
|
1393
|
-
UNKNOWN_REQUESTED_FIELDS = "UNKNOWN_REQUESTED_FIELDS",
|
|
1394
1385
|
/** Returns all fields with personal data. Your app must have `Read Calendars - Including PI` or `Manage Calendars` permission scope. */
|
|
1395
1386
|
PI_FIELDS = "PI_FIELDS",
|
|
1396
1387
|
/** Returns only fields containing your own personal data. */
|
|
1397
1388
|
OWN_PI_FIELDS = "OWN_PI_FIELDS"
|
|
1398
1389
|
}
|
|
1399
1390
|
/** @enumType */
|
|
1400
|
-
type RequestedFieldsWithLiterals = RequestedFields | '
|
|
1391
|
+
type RequestedFieldsWithLiterals = RequestedFields | 'PI_FIELDS' | 'OWN_PI_FIELDS';
|
|
1401
1392
|
interface GetEventResponse {
|
|
1402
1393
|
/** Retrieved event. */
|
|
1403
1394
|
event?: Event;
|
package/build/cjs/meta.js
CHANGED
|
@@ -735,13 +735,11 @@ function bulkCancelEvent(payload) {
|
|
|
735
735
|
|
|
736
736
|
// src/calendar-v3-event-events.types.ts
|
|
737
737
|
var Status = /* @__PURE__ */ ((Status2) => {
|
|
738
|
-
Status2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
739
738
|
Status2["CONFIRMED"] = "CONFIRMED";
|
|
740
739
|
Status2["CANCELLED"] = "CANCELLED";
|
|
741
740
|
return Status2;
|
|
742
741
|
})(Status || {});
|
|
743
742
|
var RecurrenceType = /* @__PURE__ */ ((RecurrenceType2) => {
|
|
744
|
-
RecurrenceType2["UNKNOWN_RECURRENCE_TYPE"] = "UNKNOWN_RECURRENCE_TYPE";
|
|
745
743
|
RecurrenceType2["NONE"] = "NONE";
|
|
746
744
|
RecurrenceType2["MASTER"] = "MASTER";
|
|
747
745
|
RecurrenceType2["INSTANCE"] = "INSTANCE";
|
|
@@ -770,26 +768,22 @@ var Transparency = /* @__PURE__ */ ((Transparency2) => {
|
|
|
770
768
|
return Transparency2;
|
|
771
769
|
})(Transparency || {});
|
|
772
770
|
var LocationType = /* @__PURE__ */ ((LocationType2) => {
|
|
773
|
-
LocationType2["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
|
|
774
771
|
LocationType2["BUSINESS"] = "BUSINESS";
|
|
775
772
|
LocationType2["CUSTOMER"] = "CUSTOMER";
|
|
776
773
|
LocationType2["CUSTOM"] = "CUSTOM";
|
|
777
774
|
return LocationType2;
|
|
778
775
|
})(LocationType || {});
|
|
779
776
|
var Role = /* @__PURE__ */ ((Role2) => {
|
|
780
|
-
Role2["UNKNOWN_ROLE"] = "UNKNOWN_ROLE";
|
|
781
777
|
Role2["WRITER"] = "WRITER";
|
|
782
778
|
Role2["COMMENTER"] = "COMMENTER";
|
|
783
779
|
return Role2;
|
|
784
780
|
})(Role || {});
|
|
785
781
|
var ParticipantsStatus = /* @__PURE__ */ ((ParticipantsStatus2) => {
|
|
786
|
-
ParticipantsStatus2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
787
782
|
ParticipantsStatus2["CONFIRMED"] = "CONFIRMED";
|
|
788
783
|
ParticipantsStatus2["PENDING_CONFIRMATION"] = "PENDING_CONFIRMATION";
|
|
789
784
|
return ParticipantsStatus2;
|
|
790
785
|
})(ParticipantsStatus || {});
|
|
791
786
|
var ProviderType = /* @__PURE__ */ ((ProviderType2) => {
|
|
792
|
-
ProviderType2["UNKNOWN_PROVIDER_TYPE"] = "UNKNOWN_PROVIDER_TYPE";
|
|
793
787
|
ProviderType2["CUSTOM"] = "CUSTOM";
|
|
794
788
|
ProviderType2["ONLINE_MEETING"] = "ONLINE_MEETING";
|
|
795
789
|
return ProviderType2;
|
|
@@ -801,7 +795,6 @@ var Type = /* @__PURE__ */ ((Type2) => {
|
|
|
801
795
|
return Type2;
|
|
802
796
|
})(Type || {});
|
|
803
797
|
var Field = /* @__PURE__ */ ((Field2) => {
|
|
804
|
-
Field2["UNKNOWN_FIELD"] = "UNKNOWN_FIELD";
|
|
805
798
|
Field2["TITLE"] = "TITLE";
|
|
806
799
|
Field2["TIME_ZONE"] = "TIME_ZONE";
|
|
807
800
|
Field2["TIME"] = "TIME";
|
|
@@ -853,7 +846,6 @@ var ResolutionMethod = /* @__PURE__ */ ((ResolutionMethod2) => {
|
|
|
853
846
|
return ResolutionMethod2;
|
|
854
847
|
})(ResolutionMethod || {});
|
|
855
848
|
var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
|
|
856
|
-
RequestedFields2["UNKNOWN_REQUESTED_FIELDS"] = "UNKNOWN_REQUESTED_FIELDS";
|
|
857
849
|
RequestedFields2["PI_FIELDS"] = "PI_FIELDS";
|
|
858
850
|
RequestedFields2["OWN_PI_FIELDS"] = "OWN_PI_FIELDS";
|
|
859
851
|
return RequestedFields2;
|