@wix/auto_sdk_calendar_participations 1.0.14 → 1.0.16
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/src/calendar-v3-participation-participations.types.d.ts +6 -2
- package/build/cjs/src/calendar-v3-participation-participations.types.js.map +1 -1
- package/build/cjs/src/calendar-v3-participation-participations.universal.d.ts +9 -20
- package/build/cjs/src/calendar-v3-participation-participations.universal.js +0 -5
- package/build/cjs/src/calendar-v3-participation-participations.universal.js.map +1 -1
- package/build/es/src/calendar-v3-participation-participations.types.d.ts +6 -2
- package/build/es/src/calendar-v3-participation-participations.types.js.map +1 -1
- package/build/es/src/calendar-v3-participation-participations.universal.d.ts +9 -20
- package/build/es/src/calendar-v3-participation-participations.universal.js +0 -5
- package/build/es/src/calendar-v3-participation-participations.universal.js.map +1 -1
- package/build/internal/cjs/src/calendar-v3-participation-participations.types.d.ts +6 -2
- package/build/internal/cjs/src/calendar-v3-participation-participations.types.js.map +1 -1
- package/build/internal/cjs/src/calendar-v3-participation-participations.universal.d.ts +9 -20
- package/build/internal/cjs/src/calendar-v3-participation-participations.universal.js +0 -5
- package/build/internal/cjs/src/calendar-v3-participation-participations.universal.js.map +1 -1
- package/build/internal/es/src/calendar-v3-participation-participations.types.d.ts +6 -2
- package/build/internal/es/src/calendar-v3-participation-participations.types.js.map +1 -1
- package/build/internal/es/src/calendar-v3-participation-participations.universal.d.ts +9 -20
- package/build/internal/es/src/calendar-v3-participation-participations.universal.js +0 -5
- package/build/internal/es/src/calendar-v3-participation-participations.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -54,7 +54,7 @@ export interface Participation extends ParticipationParticipatedItemOneOf {
|
|
|
54
54
|
*
|
|
55
55
|
* Default: `CONFIRMED`
|
|
56
56
|
*/
|
|
57
|
-
status?:
|
|
57
|
+
status?: StatusWithLiterals;
|
|
58
58
|
/**
|
|
59
59
|
* ID of the app that owns the participation `object`. Identical to `appId` of the
|
|
60
60
|
* [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
|
|
@@ -136,6 +136,8 @@ export declare enum Status {
|
|
|
136
136
|
/** The party's participation is awaiting confirmation. For example, the business owner still needs to approve the [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings). */
|
|
137
137
|
PENDING_CONFIRMATION = "PENDING_CONFIRMATION"
|
|
138
138
|
}
|
|
139
|
+
/** @enumType */
|
|
140
|
+
export type StatusWithLiterals = Status | 'CONFIRMED' | 'PENDING_CONFIRMATION';
|
|
139
141
|
export interface ExtendedFields {
|
|
140
142
|
/**
|
|
141
143
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
@@ -376,7 +378,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
376
378
|
*/
|
|
377
379
|
appId?: string;
|
|
378
380
|
/** @readonly */
|
|
379
|
-
identityType?:
|
|
381
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
380
382
|
}
|
|
381
383
|
/** @oneof */
|
|
382
384
|
export interface IdentificationDataIdOneOf {
|
|
@@ -408,3 +410,5 @@ export declare enum WebhookIdentityType {
|
|
|
408
410
|
WIX_USER = "WIX_USER",
|
|
409
411
|
APP = "APP"
|
|
410
412
|
}
|
|
413
|
+
/** @enumType */
|
|
414
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-v3-participation-participations.types.js","sourceRoot":"","sources":["../../../src/calendar-v3-participation-participations.types.ts"],"names":[],"mappings":";;;AAuIA,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,uLAAuL;IACvL,iCAAuB,CAAA;IACvB,8MAA8M;IAC9M,uDAA6C,CAAA;AAC/C,CAAC,EALW,MAAM,sBAAN,MAAM,QAKjB;
|
|
1
|
+
{"version":3,"file":"calendar-v3-participation-participations.types.js","sourceRoot":"","sources":["../../../src/calendar-v3-participation-participations.types.ts"],"names":[],"mappings":";;;AAuIA,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,uLAAuL;IACvL,iCAAuB,CAAA;IACvB,8MAA8M;IAC9M,uDAA6C,CAAA;AAC/C,CAAC,EALW,MAAM,sBAAN,MAAM,QAKjB;AA0SD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
|
|
@@ -55,7 +55,7 @@ export interface Participation extends ParticipationParticipatedItemOneOf {
|
|
|
55
55
|
*
|
|
56
56
|
* Default: `CONFIRMED`
|
|
57
57
|
*/
|
|
58
|
-
status?:
|
|
58
|
+
status?: StatusWithLiterals;
|
|
59
59
|
/**
|
|
60
60
|
* ID of the app that owns the participation `object`. Identical to `appId` of the
|
|
61
61
|
* [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
|
|
@@ -137,6 +137,8 @@ export declare enum Status {
|
|
|
137
137
|
/** The party's participation is awaiting confirmation. For example, the business owner still needs to approve the [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings). */
|
|
138
138
|
PENDING_CONFIRMATION = "PENDING_CONFIRMATION"
|
|
139
139
|
}
|
|
140
|
+
/** @enumType */
|
|
141
|
+
export type StatusWithLiterals = Status | 'CONFIRMED' | 'PENDING_CONFIRMATION';
|
|
140
142
|
export interface ExtendedFields {
|
|
141
143
|
/**
|
|
142
144
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
@@ -375,7 +377,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
375
377
|
*/
|
|
376
378
|
appId?: string;
|
|
377
379
|
/** @readonly */
|
|
378
|
-
identityType?:
|
|
380
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
379
381
|
}
|
|
380
382
|
/** @oneof */
|
|
381
383
|
export interface IdentificationDataIdOneOf {
|
|
@@ -407,6 +409,8 @@ export declare enum WebhookIdentityType {
|
|
|
407
409
|
WIX_USER = "WIX_USER",
|
|
408
410
|
APP = "APP"
|
|
409
411
|
}
|
|
412
|
+
/** @enumType */
|
|
413
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
410
414
|
export interface BaseEventMetadata {
|
|
411
415
|
/**
|
|
412
416
|
* App instance ID.
|
|
@@ -467,7 +471,6 @@ export interface ParticipationCreatedEnvelope {
|
|
|
467
471
|
* @webhook
|
|
468
472
|
* @eventType wix.calendar.v3.participation_created
|
|
469
473
|
* @slug created
|
|
470
|
-
* @documentationMaturity preview
|
|
471
474
|
*/
|
|
472
475
|
export declare function onParticipationCreated(handler: (event: ParticipationCreatedEnvelope) => void | Promise<void>): void;
|
|
473
476
|
export interface ParticipationDeletedEnvelope {
|
|
@@ -485,7 +488,6 @@ export interface ParticipationDeletedEnvelope {
|
|
|
485
488
|
* @webhook
|
|
486
489
|
* @eventType wix.calendar.v3.participation_deleted
|
|
487
490
|
* @slug deleted
|
|
488
|
-
* @documentationMaturity preview
|
|
489
491
|
*/
|
|
490
492
|
export declare function onParticipationDeleted(handler: (event: ParticipationDeletedEnvelope) => void | Promise<void>): void;
|
|
491
493
|
export interface ParticipationUpdatedEnvelope {
|
|
@@ -504,7 +506,6 @@ export interface ParticipationUpdatedEnvelope {
|
|
|
504
506
|
* @webhook
|
|
505
507
|
* @eventType wix.calendar.v3.participation_updated
|
|
506
508
|
* @slug updated
|
|
507
|
-
* @documentationMaturity preview
|
|
508
509
|
*/
|
|
509
510
|
export declare function onParticipationUpdated(handler: (event: ParticipationUpdatedEnvelope) => void | Promise<void>): void;
|
|
510
511
|
type ParticipationNonNullablePaths = `status`;
|
|
@@ -512,7 +513,6 @@ type ParticipationNonNullablePaths = `status`;
|
|
|
512
513
|
* Retrieves a `participation` object.
|
|
513
514
|
* @param participationId - ID of the `participation` object to retrieve.
|
|
514
515
|
* @public
|
|
515
|
-
* @documentationMaturity preview
|
|
516
516
|
* @requiredField participationId
|
|
517
517
|
* @permissionId CALENDAR.PARTICIPATION_READ
|
|
518
518
|
* @permissionScope Manage Calendars
|
|
@@ -545,7 +545,6 @@ export declare function getParticipation(participationId: string): Promise<NonNu
|
|
|
545
545
|
* The following `ParticipationsQueryBuilder` functions are supported for the `queryParticipations()` function. For a full description of the participations object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/calendar/participations/participations-query-result/items) property in `ParticipationsQueryResult`.
|
|
546
546
|
*
|
|
547
547
|
* @public
|
|
548
|
-
* @documentationMaturity preview
|
|
549
548
|
* @permissionScope Manage Calendars
|
|
550
549
|
* @permissionScopeId SCOPE.DC-CALENDAR.MANAGE
|
|
551
550
|
* @permissionScope Manage Bookings
|
|
@@ -573,27 +572,19 @@ export interface ParticipationsQueryResult extends QueryCursorResult {
|
|
|
573
572
|
export interface ParticipationsQueryBuilder {
|
|
574
573
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
575
574
|
* @param value - Value to compare against.
|
|
576
|
-
* @documentationMaturity preview
|
|
577
575
|
*/
|
|
578
576
|
eq: (propertyName: 'scheduleId' | 'eventId' | 'externalId', value: any) => ParticipationsQueryBuilder;
|
|
579
|
-
/** @documentationMaturity preview */
|
|
580
577
|
in: (propertyName: 'scheduleId' | 'eventId' | '_id' | 'externalId', value: any) => ParticipationsQueryBuilder;
|
|
581
|
-
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
582
|
-
* @documentationMaturity preview
|
|
583
|
-
*/
|
|
578
|
+
/** @param limit - Number of items to return, which is also the `pageSize` of the results object. */
|
|
584
579
|
limit: (limit: number) => ParticipationsQueryBuilder;
|
|
585
|
-
/** @param cursor - A pointer to specific record
|
|
586
|
-
* @documentationMaturity preview
|
|
587
|
-
*/
|
|
580
|
+
/** @param cursor - A pointer to specific record */
|
|
588
581
|
skipTo: (cursor: string) => ParticipationsQueryBuilder;
|
|
589
|
-
/** @documentationMaturity preview */
|
|
590
582
|
find: () => Promise<ParticipationsQueryResult>;
|
|
591
583
|
}
|
|
592
584
|
/**
|
|
593
585
|
* Creates a `participation` object for a schedule or event.
|
|
594
586
|
* @param participation - `participation` object to create.
|
|
595
587
|
* @public
|
|
596
|
-
* @documentationMaturity preview
|
|
597
588
|
* @requiredField participation
|
|
598
589
|
* @requiredField participation.participant
|
|
599
590
|
* @requiredField participation.participant.name
|
|
@@ -623,7 +614,6 @@ export interface CreateParticipationOptions {
|
|
|
623
614
|
* Updates a `participation` object.
|
|
624
615
|
* @param _id - Participation ID.
|
|
625
616
|
* @public
|
|
626
|
-
* @documentationMaturity preview
|
|
627
617
|
* @requiredField _id
|
|
628
618
|
* @requiredField participation
|
|
629
619
|
* @requiredField participation.revision
|
|
@@ -688,7 +678,7 @@ export interface UpdateParticipation {
|
|
|
688
678
|
*
|
|
689
679
|
* Default: `CONFIRMED`
|
|
690
680
|
*/
|
|
691
|
-
status?:
|
|
681
|
+
status?: StatusWithLiterals;
|
|
692
682
|
/**
|
|
693
683
|
* ID of the app that owns the participation `object`. Identical to `appId` of the
|
|
694
684
|
* [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
|
|
@@ -723,7 +713,6 @@ export interface UpdateParticipation {
|
|
|
723
713
|
* Deletes a `participation` object.
|
|
724
714
|
* @param participationId - ID of `participation` object to delete.
|
|
725
715
|
* @public
|
|
726
|
-
* @documentationMaturity preview
|
|
727
716
|
* @requiredField participationId
|
|
728
717
|
* @permissionId CALENDAR.PARTICIPATION_DELETE
|
|
729
718
|
* @permissionScope Manage Calendars
|
|
@@ -49,7 +49,6 @@ var WebhookIdentityType;
|
|
|
49
49
|
* Retrieves a `participation` object.
|
|
50
50
|
* @param participationId - ID of the `participation` object to retrieve.
|
|
51
51
|
* @public
|
|
52
|
-
* @documentationMaturity preview
|
|
53
52
|
* @requiredField participationId
|
|
54
53
|
* @permissionId CALENDAR.PARTICIPATION_READ
|
|
55
54
|
* @permissionScope Manage Calendars
|
|
@@ -105,7 +104,6 @@ exports.getParticipation = getParticipation;
|
|
|
105
104
|
* The following `ParticipationsQueryBuilder` functions are supported for the `queryParticipations()` function. For a full description of the participations object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/calendar/participations/participations-query-result/items) property in `ParticipationsQueryResult`.
|
|
106
105
|
*
|
|
107
106
|
* @public
|
|
108
|
-
* @documentationMaturity preview
|
|
109
107
|
* @permissionScope Manage Calendars
|
|
110
108
|
* @permissionScopeId SCOPE.DC-CALENDAR.MANAGE
|
|
111
109
|
* @permissionScope Manage Bookings
|
|
@@ -164,7 +162,6 @@ exports.queryParticipations = queryParticipations;
|
|
|
164
162
|
* Creates a `participation` object for a schedule or event.
|
|
165
163
|
* @param participation - `participation` object to create.
|
|
166
164
|
* @public
|
|
167
|
-
* @documentationMaturity preview
|
|
168
165
|
* @requiredField participation
|
|
169
166
|
* @requiredField participation.participant
|
|
170
167
|
* @requiredField participation.participant.name
|
|
@@ -213,7 +210,6 @@ exports.createParticipation = createParticipation;
|
|
|
213
210
|
* Updates a `participation` object.
|
|
214
211
|
* @param _id - Participation ID.
|
|
215
212
|
* @public
|
|
216
|
-
* @documentationMaturity preview
|
|
217
213
|
* @requiredField _id
|
|
218
214
|
* @requiredField participation
|
|
219
215
|
* @requiredField participation.revision
|
|
@@ -256,7 +252,6 @@ exports.updateParticipation = updateParticipation;
|
|
|
256
252
|
* Deletes a `participation` object.
|
|
257
253
|
* @param participationId - ID of `participation` object to delete.
|
|
258
254
|
* @public
|
|
259
|
-
* @documentationMaturity preview
|
|
260
255
|
* @requiredField participationId
|
|
261
256
|
* @permissionId CALENDAR.PARTICIPATION_DELETE
|
|
262
257
|
* @permissionScope Manage Calendars
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-v3-participation-participations.universal.js","sourceRoot":"","sources":["../../../src/calendar-v3-participation-participations.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,yHAA2G;AAC3G,aAAa;AACb,sFAAkF;AAyIlF,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,uLAAuL;IACvL,iCAAuB,CAAA;IACvB,8MAA8M;IAC9M,uDAA6C,CAAA;AAC/C,CAAC,EALW,MAAM,sBAAN,MAAM,QAKjB;
|
|
1
|
+
{"version":3,"file":"calendar-v3-participation-participations.universal.js","sourceRoot":"","sources":["../../../src/calendar-v3-participation-participations.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,yHAA2G;AAC3G,aAAa;AACb,sFAAkF;AAyIlF,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,uLAAuL;IACvL,iCAAuB,CAAA;IACvB,8MAA8M;IAC9M,uDAA6C,CAAA;AAC/C,CAAC,EALW,MAAM,sBAAN,MAAM,QAKjB;AAwSD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B;AA4HD;;;;;;;;;;;;;;;GAeG;AACI,KAAK,UAAU,gBAAgB,CACpC,eAAuB;IAEvB,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC;QACpD,eAAe,EAAE,eAAe;KACjC,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,oCAAoC,CAAC,gB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AAE;YAC1B,wBAAwB,EAAE,EAAE,eAAe,EAAE,MAAM,EAAE;YACrD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,iBAAiB,CAAC,CACpB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAlCD,kDAkCC"}
|
|
@@ -54,7 +54,7 @@ export interface Participation extends ParticipationParticipatedItemOneOf {
|
|
|
54
54
|
*
|
|
55
55
|
* Default: `CONFIRMED`
|
|
56
56
|
*/
|
|
57
|
-
status?:
|
|
57
|
+
status?: StatusWithLiterals;
|
|
58
58
|
/**
|
|
59
59
|
* ID of the app that owns the participation `object`. Identical to `appId` of the
|
|
60
60
|
* [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
|
|
@@ -136,6 +136,8 @@ export declare enum Status {
|
|
|
136
136
|
/** The party's participation is awaiting confirmation. For example, the business owner still needs to approve the [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings). */
|
|
137
137
|
PENDING_CONFIRMATION = "PENDING_CONFIRMATION"
|
|
138
138
|
}
|
|
139
|
+
/** @enumType */
|
|
140
|
+
export type StatusWithLiterals = Status | 'CONFIRMED' | 'PENDING_CONFIRMATION';
|
|
139
141
|
export interface ExtendedFields {
|
|
140
142
|
/**
|
|
141
143
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
@@ -376,7 +378,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
376
378
|
*/
|
|
377
379
|
appId?: string;
|
|
378
380
|
/** @readonly */
|
|
379
|
-
identityType?:
|
|
381
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
380
382
|
}
|
|
381
383
|
/** @oneof */
|
|
382
384
|
export interface IdentificationDataIdOneOf {
|
|
@@ -408,3 +410,5 @@ export declare enum WebhookIdentityType {
|
|
|
408
410
|
WIX_USER = "WIX_USER",
|
|
409
411
|
APP = "APP"
|
|
410
412
|
}
|
|
413
|
+
/** @enumType */
|
|
414
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-v3-participation-participations.types.js","sourceRoot":"","sources":["../../../src/calendar-v3-participation-participations.types.ts"],"names":[],"mappings":"AAuIA,MAAM,CAAN,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,uLAAuL;IACvL,iCAAuB,CAAA;IACvB,8MAA8M;IAC9M,uDAA6C,CAAA;AAC/C,CAAC,EALW,MAAM,KAAN,MAAM,QAKjB;
|
|
1
|
+
{"version":3,"file":"calendar-v3-participation-participations.types.js","sourceRoot":"","sources":["../../../src/calendar-v3-participation-participations.types.ts"],"names":[],"mappings":"AAuIA,MAAM,CAAN,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,uLAAuL;IACvL,iCAAuB,CAAA;IACvB,8MAA8M;IAC9M,uDAA6C,CAAA;AAC/C,CAAC,EALW,MAAM,KAAN,MAAM,QAKjB;AA0SD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
|
|
@@ -55,7 +55,7 @@ export interface Participation extends ParticipationParticipatedItemOneOf {
|
|
|
55
55
|
*
|
|
56
56
|
* Default: `CONFIRMED`
|
|
57
57
|
*/
|
|
58
|
-
status?:
|
|
58
|
+
status?: StatusWithLiterals;
|
|
59
59
|
/**
|
|
60
60
|
* ID of the app that owns the participation `object`. Identical to `appId` of the
|
|
61
61
|
* [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
|
|
@@ -137,6 +137,8 @@ export declare enum Status {
|
|
|
137
137
|
/** The party's participation is awaiting confirmation. For example, the business owner still needs to approve the [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings). */
|
|
138
138
|
PENDING_CONFIRMATION = "PENDING_CONFIRMATION"
|
|
139
139
|
}
|
|
140
|
+
/** @enumType */
|
|
141
|
+
export type StatusWithLiterals = Status | 'CONFIRMED' | 'PENDING_CONFIRMATION';
|
|
140
142
|
export interface ExtendedFields {
|
|
141
143
|
/**
|
|
142
144
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
@@ -375,7 +377,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
375
377
|
*/
|
|
376
378
|
appId?: string;
|
|
377
379
|
/** @readonly */
|
|
378
|
-
identityType?:
|
|
380
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
379
381
|
}
|
|
380
382
|
/** @oneof */
|
|
381
383
|
export interface IdentificationDataIdOneOf {
|
|
@@ -407,6 +409,8 @@ export declare enum WebhookIdentityType {
|
|
|
407
409
|
WIX_USER = "WIX_USER",
|
|
408
410
|
APP = "APP"
|
|
409
411
|
}
|
|
412
|
+
/** @enumType */
|
|
413
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
410
414
|
export interface BaseEventMetadata {
|
|
411
415
|
/**
|
|
412
416
|
* App instance ID.
|
|
@@ -467,7 +471,6 @@ export interface ParticipationCreatedEnvelope {
|
|
|
467
471
|
* @webhook
|
|
468
472
|
* @eventType wix.calendar.v3.participation_created
|
|
469
473
|
* @slug created
|
|
470
|
-
* @documentationMaturity preview
|
|
471
474
|
*/
|
|
472
475
|
export declare function onParticipationCreated(handler: (event: ParticipationCreatedEnvelope) => void | Promise<void>): void;
|
|
473
476
|
export interface ParticipationDeletedEnvelope {
|
|
@@ -485,7 +488,6 @@ export interface ParticipationDeletedEnvelope {
|
|
|
485
488
|
* @webhook
|
|
486
489
|
* @eventType wix.calendar.v3.participation_deleted
|
|
487
490
|
* @slug deleted
|
|
488
|
-
* @documentationMaturity preview
|
|
489
491
|
*/
|
|
490
492
|
export declare function onParticipationDeleted(handler: (event: ParticipationDeletedEnvelope) => void | Promise<void>): void;
|
|
491
493
|
export interface ParticipationUpdatedEnvelope {
|
|
@@ -504,7 +506,6 @@ export interface ParticipationUpdatedEnvelope {
|
|
|
504
506
|
* @webhook
|
|
505
507
|
* @eventType wix.calendar.v3.participation_updated
|
|
506
508
|
* @slug updated
|
|
507
|
-
* @documentationMaturity preview
|
|
508
509
|
*/
|
|
509
510
|
export declare function onParticipationUpdated(handler: (event: ParticipationUpdatedEnvelope) => void | Promise<void>): void;
|
|
510
511
|
type ParticipationNonNullablePaths = `status`;
|
|
@@ -512,7 +513,6 @@ type ParticipationNonNullablePaths = `status`;
|
|
|
512
513
|
* Retrieves a `participation` object.
|
|
513
514
|
* @param participationId - ID of the `participation` object to retrieve.
|
|
514
515
|
* @public
|
|
515
|
-
* @documentationMaturity preview
|
|
516
516
|
* @requiredField participationId
|
|
517
517
|
* @permissionId CALENDAR.PARTICIPATION_READ
|
|
518
518
|
* @permissionScope Manage Calendars
|
|
@@ -545,7 +545,6 @@ export declare function getParticipation(participationId: string): Promise<NonNu
|
|
|
545
545
|
* The following `ParticipationsQueryBuilder` functions are supported for the `queryParticipations()` function. For a full description of the participations object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/calendar/participations/participations-query-result/items) property in `ParticipationsQueryResult`.
|
|
546
546
|
*
|
|
547
547
|
* @public
|
|
548
|
-
* @documentationMaturity preview
|
|
549
548
|
* @permissionScope Manage Calendars
|
|
550
549
|
* @permissionScopeId SCOPE.DC-CALENDAR.MANAGE
|
|
551
550
|
* @permissionScope Manage Bookings
|
|
@@ -573,27 +572,19 @@ export interface ParticipationsQueryResult extends QueryCursorResult {
|
|
|
573
572
|
export interface ParticipationsQueryBuilder {
|
|
574
573
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
575
574
|
* @param value - Value to compare against.
|
|
576
|
-
* @documentationMaturity preview
|
|
577
575
|
*/
|
|
578
576
|
eq: (propertyName: 'scheduleId' | 'eventId' | 'externalId', value: any) => ParticipationsQueryBuilder;
|
|
579
|
-
/** @documentationMaturity preview */
|
|
580
577
|
in: (propertyName: 'scheduleId' | 'eventId' | '_id' | 'externalId', value: any) => ParticipationsQueryBuilder;
|
|
581
|
-
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
582
|
-
* @documentationMaturity preview
|
|
583
|
-
*/
|
|
578
|
+
/** @param limit - Number of items to return, which is also the `pageSize` of the results object. */
|
|
584
579
|
limit: (limit: number) => ParticipationsQueryBuilder;
|
|
585
|
-
/** @param cursor - A pointer to specific record
|
|
586
|
-
* @documentationMaturity preview
|
|
587
|
-
*/
|
|
580
|
+
/** @param cursor - A pointer to specific record */
|
|
588
581
|
skipTo: (cursor: string) => ParticipationsQueryBuilder;
|
|
589
|
-
/** @documentationMaturity preview */
|
|
590
582
|
find: () => Promise<ParticipationsQueryResult>;
|
|
591
583
|
}
|
|
592
584
|
/**
|
|
593
585
|
* Creates a `participation` object for a schedule or event.
|
|
594
586
|
* @param participation - `participation` object to create.
|
|
595
587
|
* @public
|
|
596
|
-
* @documentationMaturity preview
|
|
597
588
|
* @requiredField participation
|
|
598
589
|
* @requiredField participation.participant
|
|
599
590
|
* @requiredField participation.participant.name
|
|
@@ -623,7 +614,6 @@ export interface CreateParticipationOptions {
|
|
|
623
614
|
* Updates a `participation` object.
|
|
624
615
|
* @param _id - Participation ID.
|
|
625
616
|
* @public
|
|
626
|
-
* @documentationMaturity preview
|
|
627
617
|
* @requiredField _id
|
|
628
618
|
* @requiredField participation
|
|
629
619
|
* @requiredField participation.revision
|
|
@@ -688,7 +678,7 @@ export interface UpdateParticipation {
|
|
|
688
678
|
*
|
|
689
679
|
* Default: `CONFIRMED`
|
|
690
680
|
*/
|
|
691
|
-
status?:
|
|
681
|
+
status?: StatusWithLiterals;
|
|
692
682
|
/**
|
|
693
683
|
* ID of the app that owns the participation `object`. Identical to `appId` of the
|
|
694
684
|
* [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
|
|
@@ -723,7 +713,6 @@ export interface UpdateParticipation {
|
|
|
723
713
|
* Deletes a `participation` object.
|
|
724
714
|
* @param participationId - ID of `participation` object to delete.
|
|
725
715
|
* @public
|
|
726
|
-
* @documentationMaturity preview
|
|
727
716
|
* @requiredField participationId
|
|
728
717
|
* @permissionId CALENDAR.PARTICIPATION_DELETE
|
|
729
718
|
* @permissionScope Manage Calendars
|
|
@@ -23,7 +23,6 @@ export var WebhookIdentityType;
|
|
|
23
23
|
* Retrieves a `participation` object.
|
|
24
24
|
* @param participationId - ID of the `participation` object to retrieve.
|
|
25
25
|
* @public
|
|
26
|
-
* @documentationMaturity preview
|
|
27
26
|
* @requiredField participationId
|
|
28
27
|
* @permissionId CALENDAR.PARTICIPATION_READ
|
|
29
28
|
* @permissionScope Manage Calendars
|
|
@@ -78,7 +77,6 @@ export async function getParticipation(participationId) {
|
|
|
78
77
|
* The following `ParticipationsQueryBuilder` functions are supported for the `queryParticipations()` function. For a full description of the participations object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/calendar/participations/participations-query-result/items) property in `ParticipationsQueryResult`.
|
|
79
78
|
*
|
|
80
79
|
* @public
|
|
81
|
-
* @documentationMaturity preview
|
|
82
80
|
* @permissionScope Manage Calendars
|
|
83
81
|
* @permissionScopeId SCOPE.DC-CALENDAR.MANAGE
|
|
84
82
|
* @permissionScope Manage Bookings
|
|
@@ -136,7 +134,6 @@ export function queryParticipations() {
|
|
|
136
134
|
* Creates a `participation` object for a schedule or event.
|
|
137
135
|
* @param participation - `participation` object to create.
|
|
138
136
|
* @public
|
|
139
|
-
* @documentationMaturity preview
|
|
140
137
|
* @requiredField participation
|
|
141
138
|
* @requiredField participation.participant
|
|
142
139
|
* @requiredField participation.participant.name
|
|
@@ -184,7 +181,6 @@ export async function createParticipation(participation, options) {
|
|
|
184
181
|
* Updates a `participation` object.
|
|
185
182
|
* @param _id - Participation ID.
|
|
186
183
|
* @public
|
|
187
|
-
* @documentationMaturity preview
|
|
188
184
|
* @requiredField _id
|
|
189
185
|
* @requiredField participation
|
|
190
186
|
* @requiredField participation.revision
|
|
@@ -226,7 +222,6 @@ export async function updateParticipation(_id, participation) {
|
|
|
226
222
|
* Deletes a `participation` object.
|
|
227
223
|
* @param participationId - ID of `participation` object to delete.
|
|
228
224
|
* @public
|
|
229
|
-
* @documentationMaturity preview
|
|
230
225
|
* @requiredField participationId
|
|
231
226
|
* @permissionId CALENDAR.PARTICIPATION_DELETE
|
|
232
227
|
* @permissionScope Manage Calendars
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-v3-participation-participations.universal.js","sourceRoot":"","sources":["../../../src/calendar-v3-participation-participations.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,oCAAoC,MAAM,oDAAoD,CAAC;AAC3G,aAAa;AACb,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAyIlF,MAAM,CAAN,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,uLAAuL;IACvL,iCAAuB,CAAA;IACvB,8MAA8M;IAC9M,uDAA6C,CAAA;AAC/C,CAAC,EALW,MAAM,KAAN,MAAM,QAKjB;
|
|
1
|
+
{"version":3,"file":"calendar-v3-participation-participations.universal.js","sourceRoot":"","sources":["../../../src/calendar-v3-participation-participations.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,C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/B,EACD,CAAC,KAAK,EAAE,eAAe,CAAC,CACzB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAmFD;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,KAAK,UAAU,mBAAmB,CACvC,eAAuB;IAEvB,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC;QACpD,eAAe,EAAE,eAAe;KACjC,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,oCAAoC,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;IAEpE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,eAAe,EAAE,MAAM,EAAE;YACrD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,iBAAiB,CAAC,CACpB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
|
@@ -54,7 +54,7 @@ export interface Participation extends ParticipationParticipatedItemOneOf {
|
|
|
54
54
|
*
|
|
55
55
|
* Default: `CONFIRMED`
|
|
56
56
|
*/
|
|
57
|
-
status?:
|
|
57
|
+
status?: StatusWithLiterals;
|
|
58
58
|
/**
|
|
59
59
|
* ID of the app that owns the participation `object`. Identical to `appId` of the
|
|
60
60
|
* [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
|
|
@@ -136,6 +136,8 @@ export declare enum Status {
|
|
|
136
136
|
/** The party's participation is awaiting confirmation. For example, the business owner still needs to approve the [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings). */
|
|
137
137
|
PENDING_CONFIRMATION = "PENDING_CONFIRMATION"
|
|
138
138
|
}
|
|
139
|
+
/** @enumType */
|
|
140
|
+
export type StatusWithLiterals = Status | 'CONFIRMED' | 'PENDING_CONFIRMATION';
|
|
139
141
|
export interface ExtendedFields {
|
|
140
142
|
/**
|
|
141
143
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
@@ -376,7 +378,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
376
378
|
*/
|
|
377
379
|
appId?: string;
|
|
378
380
|
/** @readonly */
|
|
379
|
-
identityType?:
|
|
381
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
380
382
|
}
|
|
381
383
|
/** @oneof */
|
|
382
384
|
export interface IdentificationDataIdOneOf {
|
|
@@ -408,3 +410,5 @@ export declare enum WebhookIdentityType {
|
|
|
408
410
|
WIX_USER = "WIX_USER",
|
|
409
411
|
APP = "APP"
|
|
410
412
|
}
|
|
413
|
+
/** @enumType */
|
|
414
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-v3-participation-participations.types.js","sourceRoot":"","sources":["../../../../src/calendar-v3-participation-participations.types.ts"],"names":[],"mappings":";;;AAuIA,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,uLAAuL;IACvL,iCAAuB,CAAA;IACvB,8MAA8M;IAC9M,uDAA6C,CAAA;AAC/C,CAAC,EALW,MAAM,sBAAN,MAAM,QAKjB;
|
|
1
|
+
{"version":3,"file":"calendar-v3-participation-participations.types.js","sourceRoot":"","sources":["../../../../src/calendar-v3-participation-participations.types.ts"],"names":[],"mappings":";;;AAuIA,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,uLAAuL;IACvL,iCAAuB,CAAA;IACvB,8MAA8M;IAC9M,uDAA6C,CAAA;AAC/C,CAAC,EALW,MAAM,sBAAN,MAAM,QAKjB;AA0SD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
|
|
@@ -55,7 +55,7 @@ export interface Participation extends ParticipationParticipatedItemOneOf {
|
|
|
55
55
|
*
|
|
56
56
|
* Default: `CONFIRMED`
|
|
57
57
|
*/
|
|
58
|
-
status?:
|
|
58
|
+
status?: StatusWithLiterals;
|
|
59
59
|
/**
|
|
60
60
|
* ID of the app that owns the participation `object`. Identical to `appId` of the
|
|
61
61
|
* [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
|
|
@@ -137,6 +137,8 @@ export declare enum Status {
|
|
|
137
137
|
/** The party's participation is awaiting confirmation. For example, the business owner still needs to approve the [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings). */
|
|
138
138
|
PENDING_CONFIRMATION = "PENDING_CONFIRMATION"
|
|
139
139
|
}
|
|
140
|
+
/** @enumType */
|
|
141
|
+
export type StatusWithLiterals = Status | 'CONFIRMED' | 'PENDING_CONFIRMATION';
|
|
140
142
|
export interface ExtendedFields {
|
|
141
143
|
/**
|
|
142
144
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
@@ -375,7 +377,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
375
377
|
*/
|
|
376
378
|
appId?: string;
|
|
377
379
|
/** @readonly */
|
|
378
|
-
identityType?:
|
|
380
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
379
381
|
}
|
|
380
382
|
/** @oneof */
|
|
381
383
|
export interface IdentificationDataIdOneOf {
|
|
@@ -407,6 +409,8 @@ export declare enum WebhookIdentityType {
|
|
|
407
409
|
WIX_USER = "WIX_USER",
|
|
408
410
|
APP = "APP"
|
|
409
411
|
}
|
|
412
|
+
/** @enumType */
|
|
413
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
410
414
|
export interface BaseEventMetadata {
|
|
411
415
|
/**
|
|
412
416
|
* App instance ID.
|
|
@@ -467,7 +471,6 @@ export interface ParticipationCreatedEnvelope {
|
|
|
467
471
|
* @webhook
|
|
468
472
|
* @eventType wix.calendar.v3.participation_created
|
|
469
473
|
* @slug created
|
|
470
|
-
* @documentationMaturity preview
|
|
471
474
|
*/
|
|
472
475
|
export declare function onParticipationCreated(handler: (event: ParticipationCreatedEnvelope) => void | Promise<void>): void;
|
|
473
476
|
export interface ParticipationDeletedEnvelope {
|
|
@@ -485,7 +488,6 @@ export interface ParticipationDeletedEnvelope {
|
|
|
485
488
|
* @webhook
|
|
486
489
|
* @eventType wix.calendar.v3.participation_deleted
|
|
487
490
|
* @slug deleted
|
|
488
|
-
* @documentationMaturity preview
|
|
489
491
|
*/
|
|
490
492
|
export declare function onParticipationDeleted(handler: (event: ParticipationDeletedEnvelope) => void | Promise<void>): void;
|
|
491
493
|
export interface ParticipationUpdatedEnvelope {
|
|
@@ -504,7 +506,6 @@ export interface ParticipationUpdatedEnvelope {
|
|
|
504
506
|
* @webhook
|
|
505
507
|
* @eventType wix.calendar.v3.participation_updated
|
|
506
508
|
* @slug updated
|
|
507
|
-
* @documentationMaturity preview
|
|
508
509
|
*/
|
|
509
510
|
export declare function onParticipationUpdated(handler: (event: ParticipationUpdatedEnvelope) => void | Promise<void>): void;
|
|
510
511
|
type ParticipationNonNullablePaths = `status`;
|
|
@@ -512,7 +513,6 @@ type ParticipationNonNullablePaths = `status`;
|
|
|
512
513
|
* Retrieves a `participation` object.
|
|
513
514
|
* @param participationId - ID of the `participation` object to retrieve.
|
|
514
515
|
* @public
|
|
515
|
-
* @documentationMaturity preview
|
|
516
516
|
* @requiredField participationId
|
|
517
517
|
* @permissionId CALENDAR.PARTICIPATION_READ
|
|
518
518
|
* @permissionScope Manage Calendars
|
|
@@ -545,7 +545,6 @@ export declare function getParticipation(participationId: string): Promise<NonNu
|
|
|
545
545
|
* The following `ParticipationsQueryBuilder` functions are supported for the `queryParticipations()` function. For a full description of the participations object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/calendar/participations/participations-query-result/items) property in `ParticipationsQueryResult`.
|
|
546
546
|
*
|
|
547
547
|
* @public
|
|
548
|
-
* @documentationMaturity preview
|
|
549
548
|
* @permissionScope Manage Calendars
|
|
550
549
|
* @permissionScopeId SCOPE.DC-CALENDAR.MANAGE
|
|
551
550
|
* @permissionScope Manage Bookings
|
|
@@ -573,27 +572,19 @@ export interface ParticipationsQueryResult extends QueryCursorResult {
|
|
|
573
572
|
export interface ParticipationsQueryBuilder {
|
|
574
573
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
575
574
|
* @param value - Value to compare against.
|
|
576
|
-
* @documentationMaturity preview
|
|
577
575
|
*/
|
|
578
576
|
eq: (propertyName: 'scheduleId' | 'eventId' | 'externalId', value: any) => ParticipationsQueryBuilder;
|
|
579
|
-
/** @documentationMaturity preview */
|
|
580
577
|
in: (propertyName: 'scheduleId' | 'eventId' | '_id' | 'externalId', value: any) => ParticipationsQueryBuilder;
|
|
581
|
-
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
582
|
-
* @documentationMaturity preview
|
|
583
|
-
*/
|
|
578
|
+
/** @param limit - Number of items to return, which is also the `pageSize` of the results object. */
|
|
584
579
|
limit: (limit: number) => ParticipationsQueryBuilder;
|
|
585
|
-
/** @param cursor - A pointer to specific record
|
|
586
|
-
* @documentationMaturity preview
|
|
587
|
-
*/
|
|
580
|
+
/** @param cursor - A pointer to specific record */
|
|
588
581
|
skipTo: (cursor: string) => ParticipationsQueryBuilder;
|
|
589
|
-
/** @documentationMaturity preview */
|
|
590
582
|
find: () => Promise<ParticipationsQueryResult>;
|
|
591
583
|
}
|
|
592
584
|
/**
|
|
593
585
|
* Creates a `participation` object for a schedule or event.
|
|
594
586
|
* @param participation - `participation` object to create.
|
|
595
587
|
* @public
|
|
596
|
-
* @documentationMaturity preview
|
|
597
588
|
* @requiredField participation
|
|
598
589
|
* @requiredField participation.participant
|
|
599
590
|
* @requiredField participation.participant.name
|
|
@@ -623,7 +614,6 @@ export interface CreateParticipationOptions {
|
|
|
623
614
|
* Updates a `participation` object.
|
|
624
615
|
* @param _id - Participation ID.
|
|
625
616
|
* @public
|
|
626
|
-
* @documentationMaturity preview
|
|
627
617
|
* @requiredField _id
|
|
628
618
|
* @requiredField participation
|
|
629
619
|
* @requiredField participation.revision
|
|
@@ -688,7 +678,7 @@ export interface UpdateParticipation {
|
|
|
688
678
|
*
|
|
689
679
|
* Default: `CONFIRMED`
|
|
690
680
|
*/
|
|
691
|
-
status?:
|
|
681
|
+
status?: StatusWithLiterals;
|
|
692
682
|
/**
|
|
693
683
|
* ID of the app that owns the participation `object`. Identical to `appId` of the
|
|
694
684
|
* [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
|
|
@@ -723,7 +713,6 @@ export interface UpdateParticipation {
|
|
|
723
713
|
* Deletes a `participation` object.
|
|
724
714
|
* @param participationId - ID of `participation` object to delete.
|
|
725
715
|
* @public
|
|
726
|
-
* @documentationMaturity preview
|
|
727
716
|
* @requiredField participationId
|
|
728
717
|
* @permissionId CALENDAR.PARTICIPATION_DELETE
|
|
729
718
|
* @permissionScope Manage Calendars
|
|
@@ -49,7 +49,6 @@ var WebhookIdentityType;
|
|
|
49
49
|
* Retrieves a `participation` object.
|
|
50
50
|
* @param participationId - ID of the `participation` object to retrieve.
|
|
51
51
|
* @public
|
|
52
|
-
* @documentationMaturity preview
|
|
53
52
|
* @requiredField participationId
|
|
54
53
|
* @permissionId CALENDAR.PARTICIPATION_READ
|
|
55
54
|
* @permissionScope Manage Calendars
|
|
@@ -105,7 +104,6 @@ exports.getParticipation = getParticipation;
|
|
|
105
104
|
* The following `ParticipationsQueryBuilder` functions are supported for the `queryParticipations()` function. For a full description of the participations object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/calendar/participations/participations-query-result/items) property in `ParticipationsQueryResult`.
|
|
106
105
|
*
|
|
107
106
|
* @public
|
|
108
|
-
* @documentationMaturity preview
|
|
109
107
|
* @permissionScope Manage Calendars
|
|
110
108
|
* @permissionScopeId SCOPE.DC-CALENDAR.MANAGE
|
|
111
109
|
* @permissionScope Manage Bookings
|
|
@@ -164,7 +162,6 @@ exports.queryParticipations = queryParticipations;
|
|
|
164
162
|
* Creates a `participation` object for a schedule or event.
|
|
165
163
|
* @param participation - `participation` object to create.
|
|
166
164
|
* @public
|
|
167
|
-
* @documentationMaturity preview
|
|
168
165
|
* @requiredField participation
|
|
169
166
|
* @requiredField participation.participant
|
|
170
167
|
* @requiredField participation.participant.name
|
|
@@ -213,7 +210,6 @@ exports.createParticipation = createParticipation;
|
|
|
213
210
|
* Updates a `participation` object.
|
|
214
211
|
* @param _id - Participation ID.
|
|
215
212
|
* @public
|
|
216
|
-
* @documentationMaturity preview
|
|
217
213
|
* @requiredField _id
|
|
218
214
|
* @requiredField participation
|
|
219
215
|
* @requiredField participation.revision
|
|
@@ -256,7 +252,6 @@ exports.updateParticipation = updateParticipation;
|
|
|
256
252
|
* Deletes a `participation` object.
|
|
257
253
|
* @param participationId - ID of `participation` object to delete.
|
|
258
254
|
* @public
|
|
259
|
-
* @documentationMaturity preview
|
|
260
255
|
* @requiredField participationId
|
|
261
256
|
* @permissionId CALENDAR.PARTICIPATION_DELETE
|
|
262
257
|
* @permissionScope Manage Calendars
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-v3-participation-participations.universal.js","sourceRoot":"","sources":["../../../../src/calendar-v3-participation-participations.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,yHAA2G;AAC3G,aAAa;AACb,sFAAkF;AAyIlF,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,uLAAuL;IACvL,iCAAuB,CAAA;IACvB,8MAA8M;IAC9M,uDAA6C,CAAA;AAC/C,CAAC,EALW,MAAM,sBAAN,MAAM,QAKjB;
|
|
1
|
+
{"version":3,"file":"calendar-v3-participation-participations.universal.js","sourceRoot":"","sources":["../../../../src/calendar-v3-participation-participations.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,yHAA2G;AAC3G,aAAa;AACb,sFAAkF;AAyIlF,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,uLAAuL;IACvL,iCAAuB,CAAA;IACvB,8MAA8M;IAC9M,uDAA6C,CAAA;AAC/C,CAAC,EALW,MAAM,sBAAN,MAAM,QAKjB;AAwSD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B;AA4HD;;;;;;;;;;;;;;;GAeG;AACI,KAAK,UAAU,gBAAgB,CACpC,eAAuB;IAEvB,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC;QACpD,eAAe,EAAE,eAAe;KACjC,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,oC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BAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,eAAe,EAAE,MAAM,EAAE;YACrD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,iBAAiB,CAAC,CACpB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAlCD,kDAkCC"}
|
|
@@ -54,7 +54,7 @@ export interface Participation extends ParticipationParticipatedItemOneOf {
|
|
|
54
54
|
*
|
|
55
55
|
* Default: `CONFIRMED`
|
|
56
56
|
*/
|
|
57
|
-
status?:
|
|
57
|
+
status?: StatusWithLiterals;
|
|
58
58
|
/**
|
|
59
59
|
* ID of the app that owns the participation `object`. Identical to `appId` of the
|
|
60
60
|
* [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
|
|
@@ -136,6 +136,8 @@ export declare enum Status {
|
|
|
136
136
|
/** The party's participation is awaiting confirmation. For example, the business owner still needs to approve the [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings). */
|
|
137
137
|
PENDING_CONFIRMATION = "PENDING_CONFIRMATION"
|
|
138
138
|
}
|
|
139
|
+
/** @enumType */
|
|
140
|
+
export type StatusWithLiterals = Status | 'CONFIRMED' | 'PENDING_CONFIRMATION';
|
|
139
141
|
export interface ExtendedFields {
|
|
140
142
|
/**
|
|
141
143
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
@@ -376,7 +378,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
376
378
|
*/
|
|
377
379
|
appId?: string;
|
|
378
380
|
/** @readonly */
|
|
379
|
-
identityType?:
|
|
381
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
380
382
|
}
|
|
381
383
|
/** @oneof */
|
|
382
384
|
export interface IdentificationDataIdOneOf {
|
|
@@ -408,3 +410,5 @@ export declare enum WebhookIdentityType {
|
|
|
408
410
|
WIX_USER = "WIX_USER",
|
|
409
411
|
APP = "APP"
|
|
410
412
|
}
|
|
413
|
+
/** @enumType */
|
|
414
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-v3-participation-participations.types.js","sourceRoot":"","sources":["../../../../src/calendar-v3-participation-participations.types.ts"],"names":[],"mappings":"AAuIA,MAAM,CAAN,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,uLAAuL;IACvL,iCAAuB,CAAA;IACvB,8MAA8M;IAC9M,uDAA6C,CAAA;AAC/C,CAAC,EALW,MAAM,KAAN,MAAM,QAKjB;
|
|
1
|
+
{"version":3,"file":"calendar-v3-participation-participations.types.js","sourceRoot":"","sources":["../../../../src/calendar-v3-participation-participations.types.ts"],"names":[],"mappings":"AAuIA,MAAM,CAAN,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,uLAAuL;IACvL,iCAAuB,CAAA;IACvB,8MAA8M;IAC9M,uDAA6C,CAAA;AAC/C,CAAC,EALW,MAAM,KAAN,MAAM,QAKjB;AA0SD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
|
|
@@ -55,7 +55,7 @@ export interface Participation extends ParticipationParticipatedItemOneOf {
|
|
|
55
55
|
*
|
|
56
56
|
* Default: `CONFIRMED`
|
|
57
57
|
*/
|
|
58
|
-
status?:
|
|
58
|
+
status?: StatusWithLiterals;
|
|
59
59
|
/**
|
|
60
60
|
* ID of the app that owns the participation `object`. Identical to `appId` of the
|
|
61
61
|
* [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
|
|
@@ -137,6 +137,8 @@ export declare enum Status {
|
|
|
137
137
|
/** The party's participation is awaiting confirmation. For example, the business owner still needs to approve the [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings). */
|
|
138
138
|
PENDING_CONFIRMATION = "PENDING_CONFIRMATION"
|
|
139
139
|
}
|
|
140
|
+
/** @enumType */
|
|
141
|
+
export type StatusWithLiterals = Status | 'CONFIRMED' | 'PENDING_CONFIRMATION';
|
|
140
142
|
export interface ExtendedFields {
|
|
141
143
|
/**
|
|
142
144
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
@@ -375,7 +377,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
375
377
|
*/
|
|
376
378
|
appId?: string;
|
|
377
379
|
/** @readonly */
|
|
378
|
-
identityType?:
|
|
380
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
379
381
|
}
|
|
380
382
|
/** @oneof */
|
|
381
383
|
export interface IdentificationDataIdOneOf {
|
|
@@ -407,6 +409,8 @@ export declare enum WebhookIdentityType {
|
|
|
407
409
|
WIX_USER = "WIX_USER",
|
|
408
410
|
APP = "APP"
|
|
409
411
|
}
|
|
412
|
+
/** @enumType */
|
|
413
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
410
414
|
export interface BaseEventMetadata {
|
|
411
415
|
/**
|
|
412
416
|
* App instance ID.
|
|
@@ -467,7 +471,6 @@ export interface ParticipationCreatedEnvelope {
|
|
|
467
471
|
* @webhook
|
|
468
472
|
* @eventType wix.calendar.v3.participation_created
|
|
469
473
|
* @slug created
|
|
470
|
-
* @documentationMaturity preview
|
|
471
474
|
*/
|
|
472
475
|
export declare function onParticipationCreated(handler: (event: ParticipationCreatedEnvelope) => void | Promise<void>): void;
|
|
473
476
|
export interface ParticipationDeletedEnvelope {
|
|
@@ -485,7 +488,6 @@ export interface ParticipationDeletedEnvelope {
|
|
|
485
488
|
* @webhook
|
|
486
489
|
* @eventType wix.calendar.v3.participation_deleted
|
|
487
490
|
* @slug deleted
|
|
488
|
-
* @documentationMaturity preview
|
|
489
491
|
*/
|
|
490
492
|
export declare function onParticipationDeleted(handler: (event: ParticipationDeletedEnvelope) => void | Promise<void>): void;
|
|
491
493
|
export interface ParticipationUpdatedEnvelope {
|
|
@@ -504,7 +506,6 @@ export interface ParticipationUpdatedEnvelope {
|
|
|
504
506
|
* @webhook
|
|
505
507
|
* @eventType wix.calendar.v3.participation_updated
|
|
506
508
|
* @slug updated
|
|
507
|
-
* @documentationMaturity preview
|
|
508
509
|
*/
|
|
509
510
|
export declare function onParticipationUpdated(handler: (event: ParticipationUpdatedEnvelope) => void | Promise<void>): void;
|
|
510
511
|
type ParticipationNonNullablePaths = `status`;
|
|
@@ -512,7 +513,6 @@ type ParticipationNonNullablePaths = `status`;
|
|
|
512
513
|
* Retrieves a `participation` object.
|
|
513
514
|
* @param participationId - ID of the `participation` object to retrieve.
|
|
514
515
|
* @public
|
|
515
|
-
* @documentationMaturity preview
|
|
516
516
|
* @requiredField participationId
|
|
517
517
|
* @permissionId CALENDAR.PARTICIPATION_READ
|
|
518
518
|
* @permissionScope Manage Calendars
|
|
@@ -545,7 +545,6 @@ export declare function getParticipation(participationId: string): Promise<NonNu
|
|
|
545
545
|
* The following `ParticipationsQueryBuilder` functions are supported for the `queryParticipations()` function. For a full description of the participations object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/calendar/participations/participations-query-result/items) property in `ParticipationsQueryResult`.
|
|
546
546
|
*
|
|
547
547
|
* @public
|
|
548
|
-
* @documentationMaturity preview
|
|
549
548
|
* @permissionScope Manage Calendars
|
|
550
549
|
* @permissionScopeId SCOPE.DC-CALENDAR.MANAGE
|
|
551
550
|
* @permissionScope Manage Bookings
|
|
@@ -573,27 +572,19 @@ export interface ParticipationsQueryResult extends QueryCursorResult {
|
|
|
573
572
|
export interface ParticipationsQueryBuilder {
|
|
574
573
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
575
574
|
* @param value - Value to compare against.
|
|
576
|
-
* @documentationMaturity preview
|
|
577
575
|
*/
|
|
578
576
|
eq: (propertyName: 'scheduleId' | 'eventId' | 'externalId', value: any) => ParticipationsQueryBuilder;
|
|
579
|
-
/** @documentationMaturity preview */
|
|
580
577
|
in: (propertyName: 'scheduleId' | 'eventId' | '_id' | 'externalId', value: any) => ParticipationsQueryBuilder;
|
|
581
|
-
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
582
|
-
* @documentationMaturity preview
|
|
583
|
-
*/
|
|
578
|
+
/** @param limit - Number of items to return, which is also the `pageSize` of the results object. */
|
|
584
579
|
limit: (limit: number) => ParticipationsQueryBuilder;
|
|
585
|
-
/** @param cursor - A pointer to specific record
|
|
586
|
-
* @documentationMaturity preview
|
|
587
|
-
*/
|
|
580
|
+
/** @param cursor - A pointer to specific record */
|
|
588
581
|
skipTo: (cursor: string) => ParticipationsQueryBuilder;
|
|
589
|
-
/** @documentationMaturity preview */
|
|
590
582
|
find: () => Promise<ParticipationsQueryResult>;
|
|
591
583
|
}
|
|
592
584
|
/**
|
|
593
585
|
* Creates a `participation` object for a schedule or event.
|
|
594
586
|
* @param participation - `participation` object to create.
|
|
595
587
|
* @public
|
|
596
|
-
* @documentationMaturity preview
|
|
597
588
|
* @requiredField participation
|
|
598
589
|
* @requiredField participation.participant
|
|
599
590
|
* @requiredField participation.participant.name
|
|
@@ -623,7 +614,6 @@ export interface CreateParticipationOptions {
|
|
|
623
614
|
* Updates a `participation` object.
|
|
624
615
|
* @param _id - Participation ID.
|
|
625
616
|
* @public
|
|
626
|
-
* @documentationMaturity preview
|
|
627
617
|
* @requiredField _id
|
|
628
618
|
* @requiredField participation
|
|
629
619
|
* @requiredField participation.revision
|
|
@@ -688,7 +678,7 @@ export interface UpdateParticipation {
|
|
|
688
678
|
*
|
|
689
679
|
* Default: `CONFIRMED`
|
|
690
680
|
*/
|
|
691
|
-
status?:
|
|
681
|
+
status?: StatusWithLiterals;
|
|
692
682
|
/**
|
|
693
683
|
* ID of the app that owns the participation `object`. Identical to `appId` of the
|
|
694
684
|
* [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
|
|
@@ -723,7 +713,6 @@ export interface UpdateParticipation {
|
|
|
723
713
|
* Deletes a `participation` object.
|
|
724
714
|
* @param participationId - ID of `participation` object to delete.
|
|
725
715
|
* @public
|
|
726
|
-
* @documentationMaturity preview
|
|
727
716
|
* @requiredField participationId
|
|
728
717
|
* @permissionId CALENDAR.PARTICIPATION_DELETE
|
|
729
718
|
* @permissionScope Manage Calendars
|
|
@@ -23,7 +23,6 @@ export var WebhookIdentityType;
|
|
|
23
23
|
* Retrieves a `participation` object.
|
|
24
24
|
* @param participationId - ID of the `participation` object to retrieve.
|
|
25
25
|
* @public
|
|
26
|
-
* @documentationMaturity preview
|
|
27
26
|
* @requiredField participationId
|
|
28
27
|
* @permissionId CALENDAR.PARTICIPATION_READ
|
|
29
28
|
* @permissionScope Manage Calendars
|
|
@@ -78,7 +77,6 @@ export async function getParticipation(participationId) {
|
|
|
78
77
|
* The following `ParticipationsQueryBuilder` functions are supported for the `queryParticipations()` function. For a full description of the participations object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/calendar/participations/participations-query-result/items) property in `ParticipationsQueryResult`.
|
|
79
78
|
*
|
|
80
79
|
* @public
|
|
81
|
-
* @documentationMaturity preview
|
|
82
80
|
* @permissionScope Manage Calendars
|
|
83
81
|
* @permissionScopeId SCOPE.DC-CALENDAR.MANAGE
|
|
84
82
|
* @permissionScope Manage Bookings
|
|
@@ -136,7 +134,6 @@ export function queryParticipations() {
|
|
|
136
134
|
* Creates a `participation` object for a schedule or event.
|
|
137
135
|
* @param participation - `participation` object to create.
|
|
138
136
|
* @public
|
|
139
|
-
* @documentationMaturity preview
|
|
140
137
|
* @requiredField participation
|
|
141
138
|
* @requiredField participation.participant
|
|
142
139
|
* @requiredField participation.participant.name
|
|
@@ -184,7 +181,6 @@ export async function createParticipation(participation, options) {
|
|
|
184
181
|
* Updates a `participation` object.
|
|
185
182
|
* @param _id - Participation ID.
|
|
186
183
|
* @public
|
|
187
|
-
* @documentationMaturity preview
|
|
188
184
|
* @requiredField _id
|
|
189
185
|
* @requiredField participation
|
|
190
186
|
* @requiredField participation.revision
|
|
@@ -226,7 +222,6 @@ export async function updateParticipation(_id, participation) {
|
|
|
226
222
|
* Deletes a `participation` object.
|
|
227
223
|
* @param participationId - ID of `participation` object to delete.
|
|
228
224
|
* @public
|
|
229
|
-
* @documentationMaturity preview
|
|
230
225
|
* @requiredField participationId
|
|
231
226
|
* @permissionId CALENDAR.PARTICIPATION_DELETE
|
|
232
227
|
* @permissionScope Manage Calendars
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-v3-participation-participations.universal.js","sourceRoot":"","sources":["../../../../src/calendar-v3-participation-participations.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,oCAAoC,MAAM,oDAAoD,CAAC;AAC3G,aAAa;AACb,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAyIlF,MAAM,CAAN,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,uLAAuL;IACvL,iCAAuB,CAAA;IACvB,8MAA8M;IAC9M,uDAA6C,CAAA;AAC/C,CAAC,EALW,MAAM,KAAN,MAAM,QAKjB;
|
|
1
|
+
{"version":3,"file":"calendar-v3-participation-participations.universal.js","sourceRoot":"","sources":["../../../../src/calendar-v3-participation-participations.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EA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uB,EAAE,KAAK;SAC/B,EACD,CAAC,KAAK,EAAE,eAAe,CAAC,CACzB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAmFD;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,KAAK,UAAU,mBAAmB,CACvC,eAAuB;IAEvB,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC;QACpD,eAAe,EAAE,eAAe;KACjC,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,oCAAoC,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;IAEpE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,eAAe,EAAE,MAAM,EAAE;YACrD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,iBAAiB,CAAC,CACpB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_calendar_participations",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.16",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": "wix.calendar.v3.participation"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "191b9cb2653a4c9df39691f848b42018c18d2d2c1e874b7e0ae96b31"
|
|
52
52
|
}
|