@wix/auto_sdk_calendar_events 1.0.85 → 1.0.87
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 +1 -1
- package/build/cjs/index.js +8 -8
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +229 -186
- package/build/cjs/index.typings.js +8 -8
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +222 -187
- package/build/cjs/meta.js +8 -8
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +8 -8
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +229 -186
- package/build/es/index.typings.mjs +8 -8
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +222 -187
- package/build/es/meta.mjs +8 -8
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +8 -8
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +229 -186
- package/build/internal/cjs/index.typings.js +8 -8
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +222 -187
- package/build/internal/cjs/meta.js +8 -8
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +8 -8
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +229 -186
- package/build/internal/es/index.typings.mjs +8 -8
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +222 -187
- package/build/internal/es/meta.mjs +8 -8
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -721,190 +721,6 @@ interface EventUpdatedWithMetadata {
|
|
|
721
721
|
*/
|
|
722
722
|
participantNotification?: ParticipantNotification;
|
|
723
723
|
}
|
|
724
|
-
interface UpdateScheduleWithFixedBusinessResourceIdRequest {
|
|
725
|
-
/** @format GUID */
|
|
726
|
-
metaSiteId?: string;
|
|
727
|
-
/** @format GUID */
|
|
728
|
-
currentBusinessResourceId?: string;
|
|
729
|
-
migrateBusinessConferenceId?: boolean;
|
|
730
|
-
}
|
|
731
|
-
interface UpdateScheduleWithFixedBusinessResourceIdResponse {
|
|
732
|
-
}
|
|
733
|
-
interface FixEventRecurrenceRuleRequest {
|
|
734
|
-
/** @format GUID */
|
|
735
|
-
metaSiteId?: string;
|
|
736
|
-
/**
|
|
737
|
-
* @minLength 36
|
|
738
|
-
* @maxLength 250
|
|
739
|
-
*/
|
|
740
|
-
eventId?: string;
|
|
741
|
-
/** Optional: if provided, use this rule. If not, derive from event's instanceStart day of week. */
|
|
742
|
-
recurrenceRule?: RecurrenceRule;
|
|
743
|
-
}
|
|
744
|
-
interface FixEventRecurrenceRuleResponse {
|
|
745
|
-
}
|
|
746
|
-
interface UpdateEventsWithFixedBusinessResourceIdRequest {
|
|
747
|
-
/** @format GUID */
|
|
748
|
-
metaSiteId?: string;
|
|
749
|
-
/** @format GUID */
|
|
750
|
-
currentBusinessResourceId?: string;
|
|
751
|
-
migrateBusinessConferenceId?: boolean;
|
|
752
|
-
}
|
|
753
|
-
interface UpdateEventsWithFixedBusinessResourceIdResponse {
|
|
754
|
-
}
|
|
755
|
-
interface DomainEvent extends DomainEventBodyOneOf {
|
|
756
|
-
createdEvent?: EntityCreatedEvent;
|
|
757
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
758
|
-
deletedEvent?: EntityDeletedEvent;
|
|
759
|
-
actionEvent?: ActionEvent;
|
|
760
|
-
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
761
|
-
_id?: string;
|
|
762
|
-
/**
|
|
763
|
-
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
764
|
-
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
765
|
-
*/
|
|
766
|
-
entityFqdn?: string;
|
|
767
|
-
/**
|
|
768
|
-
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
769
|
-
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
770
|
-
*/
|
|
771
|
-
slug?: string;
|
|
772
|
-
/** ID of the entity associated with the event. */
|
|
773
|
-
entityId?: string;
|
|
774
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
775
|
-
eventTime?: Date | null;
|
|
776
|
-
/**
|
|
777
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
778
|
-
* (for example, GDPR).
|
|
779
|
-
*/
|
|
780
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
781
|
-
/** If present, indicates the action that triggered the event. */
|
|
782
|
-
originatedFrom?: string | null;
|
|
783
|
-
/**
|
|
784
|
-
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
785
|
-
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
786
|
-
*/
|
|
787
|
-
entityEventSequence?: string | null;
|
|
788
|
-
}
|
|
789
|
-
/** @oneof */
|
|
790
|
-
interface DomainEventBodyOneOf {
|
|
791
|
-
createdEvent?: EntityCreatedEvent;
|
|
792
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
793
|
-
deletedEvent?: EntityDeletedEvent;
|
|
794
|
-
actionEvent?: ActionEvent;
|
|
795
|
-
}
|
|
796
|
-
interface EntityCreatedEvent {
|
|
797
|
-
entity?: string;
|
|
798
|
-
}
|
|
799
|
-
interface RestoreInfo {
|
|
800
|
-
deletedDate?: Date | null;
|
|
801
|
-
}
|
|
802
|
-
interface EntityUpdatedEvent {
|
|
803
|
-
/**
|
|
804
|
-
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
805
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
806
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
807
|
-
*/
|
|
808
|
-
currentEntity?: string;
|
|
809
|
-
}
|
|
810
|
-
interface EntityDeletedEvent {
|
|
811
|
-
/** Entity that was deleted. */
|
|
812
|
-
deletedEntity?: string | null;
|
|
813
|
-
}
|
|
814
|
-
interface ActionEvent {
|
|
815
|
-
body?: string;
|
|
816
|
-
}
|
|
817
|
-
interface MessageEnvelope {
|
|
818
|
-
/**
|
|
819
|
-
* App instance ID.
|
|
820
|
-
* @format GUID
|
|
821
|
-
*/
|
|
822
|
-
instanceId?: string | null;
|
|
823
|
-
/**
|
|
824
|
-
* Event type.
|
|
825
|
-
* @maxLength 150
|
|
826
|
-
*/
|
|
827
|
-
eventType?: string;
|
|
828
|
-
/** The identification type and identity data. */
|
|
829
|
-
identity?: IdentificationData;
|
|
830
|
-
/** Stringify payload. */
|
|
831
|
-
data?: string;
|
|
832
|
-
/** Details related to the account */
|
|
833
|
-
accountInfo?: AccountInfo;
|
|
834
|
-
}
|
|
835
|
-
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
836
|
-
/**
|
|
837
|
-
* ID of a site visitor that has not logged in to the site.
|
|
838
|
-
* @format GUID
|
|
839
|
-
*/
|
|
840
|
-
anonymousVisitorId?: string;
|
|
841
|
-
/**
|
|
842
|
-
* ID of a site visitor that has logged in to the site.
|
|
843
|
-
* @format GUID
|
|
844
|
-
*/
|
|
845
|
-
memberId?: string;
|
|
846
|
-
/**
|
|
847
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
848
|
-
* @format GUID
|
|
849
|
-
*/
|
|
850
|
-
wixUserId?: string;
|
|
851
|
-
/**
|
|
852
|
-
* ID of an app.
|
|
853
|
-
* @format GUID
|
|
854
|
-
*/
|
|
855
|
-
appId?: string;
|
|
856
|
-
/** @readonly */
|
|
857
|
-
identityType?: WebhookIdentityTypeWithLiterals;
|
|
858
|
-
}
|
|
859
|
-
/** @oneof */
|
|
860
|
-
interface IdentificationDataIdOneOf {
|
|
861
|
-
/**
|
|
862
|
-
* ID of a site visitor that has not logged in to the site.
|
|
863
|
-
* @format GUID
|
|
864
|
-
*/
|
|
865
|
-
anonymousVisitorId?: string;
|
|
866
|
-
/**
|
|
867
|
-
* ID of a site visitor that has logged in to the site.
|
|
868
|
-
* @format GUID
|
|
869
|
-
*/
|
|
870
|
-
memberId?: string;
|
|
871
|
-
/**
|
|
872
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
873
|
-
* @format GUID
|
|
874
|
-
*/
|
|
875
|
-
wixUserId?: string;
|
|
876
|
-
/**
|
|
877
|
-
* ID of an app.
|
|
878
|
-
* @format GUID
|
|
879
|
-
*/
|
|
880
|
-
appId?: string;
|
|
881
|
-
}
|
|
882
|
-
declare enum WebhookIdentityType {
|
|
883
|
-
UNKNOWN = "UNKNOWN",
|
|
884
|
-
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
885
|
-
MEMBER = "MEMBER",
|
|
886
|
-
WIX_USER = "WIX_USER",
|
|
887
|
-
APP = "APP"
|
|
888
|
-
}
|
|
889
|
-
/** @enumType */
|
|
890
|
-
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
891
|
-
interface AccountInfo {
|
|
892
|
-
/**
|
|
893
|
-
* ID of the Wix account associated with the event.
|
|
894
|
-
* @format GUID
|
|
895
|
-
*/
|
|
896
|
-
accountId?: string | null;
|
|
897
|
-
/**
|
|
898
|
-
* ID of the parent Wix account. Only included when accountId belongs to a child account.
|
|
899
|
-
* @format GUID
|
|
900
|
-
*/
|
|
901
|
-
parentAccountId?: string | null;
|
|
902
|
-
/**
|
|
903
|
-
* ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
|
|
904
|
-
* @format GUID
|
|
905
|
-
*/
|
|
906
|
-
siteId?: string | null;
|
|
907
|
-
}
|
|
908
724
|
interface ListEventsByContactIdRequest {
|
|
909
725
|
/**
|
|
910
726
|
* ID of the [contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)
|
|
@@ -1377,6 +1193,225 @@ interface SiteCloned {
|
|
|
1377
1193
|
}
|
|
1378
1194
|
interface Empty {
|
|
1379
1195
|
}
|
|
1196
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
1197
|
+
createdEvent?: EntityCreatedEvent;
|
|
1198
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
1199
|
+
deletedEvent?: EntityDeletedEvent;
|
|
1200
|
+
actionEvent?: ActionEvent;
|
|
1201
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
1202
|
+
_id?: string;
|
|
1203
|
+
/**
|
|
1204
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
1205
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
1206
|
+
*/
|
|
1207
|
+
entityFqdn?: string;
|
|
1208
|
+
/**
|
|
1209
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
1210
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
1211
|
+
*/
|
|
1212
|
+
slug?: string;
|
|
1213
|
+
/** ID of the entity associated with the event. */
|
|
1214
|
+
entityId?: string;
|
|
1215
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
1216
|
+
eventTime?: Date | null;
|
|
1217
|
+
/**
|
|
1218
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
1219
|
+
* (for example, GDPR).
|
|
1220
|
+
*/
|
|
1221
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
1222
|
+
/** If present, indicates the action that triggered the event. */
|
|
1223
|
+
originatedFrom?: string | null;
|
|
1224
|
+
/**
|
|
1225
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.
|
|
1226
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
1227
|
+
*/
|
|
1228
|
+
entityEventSequence?: string | null;
|
|
1229
|
+
}
|
|
1230
|
+
/** @oneof */
|
|
1231
|
+
interface DomainEventBodyOneOf {
|
|
1232
|
+
createdEvent?: EntityCreatedEvent;
|
|
1233
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
1234
|
+
deletedEvent?: EntityDeletedEvent;
|
|
1235
|
+
actionEvent?: ActionEvent;
|
|
1236
|
+
}
|
|
1237
|
+
interface EntityCreatedEvent {
|
|
1238
|
+
entity?: string;
|
|
1239
|
+
}
|
|
1240
|
+
interface RestoreInfo {
|
|
1241
|
+
deletedDate?: Date | null;
|
|
1242
|
+
}
|
|
1243
|
+
interface EntityUpdatedEvent {
|
|
1244
|
+
/**
|
|
1245
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
1246
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
1247
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
1248
|
+
*/
|
|
1249
|
+
currentEntity?: string;
|
|
1250
|
+
}
|
|
1251
|
+
interface EntityDeletedEvent {
|
|
1252
|
+
/** Entity that was deleted. */
|
|
1253
|
+
deletedEntity?: string | null;
|
|
1254
|
+
}
|
|
1255
|
+
interface ActionEvent {
|
|
1256
|
+
body?: string;
|
|
1257
|
+
}
|
|
1258
|
+
interface MessageEnvelope {
|
|
1259
|
+
/**
|
|
1260
|
+
* App instance ID.
|
|
1261
|
+
* @format GUID
|
|
1262
|
+
*/
|
|
1263
|
+
instanceId?: string | null;
|
|
1264
|
+
/**
|
|
1265
|
+
* Event type.
|
|
1266
|
+
* @maxLength 150
|
|
1267
|
+
*/
|
|
1268
|
+
eventType?: string;
|
|
1269
|
+
/** The identification type and identity data. */
|
|
1270
|
+
identity?: IdentificationData;
|
|
1271
|
+
/** Stringify payload. */
|
|
1272
|
+
data?: string;
|
|
1273
|
+
/** Details related to the account */
|
|
1274
|
+
accountInfo?: AccountInfo;
|
|
1275
|
+
}
|
|
1276
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
1277
|
+
/**
|
|
1278
|
+
* ID of a site visitor that has not logged in to the site.
|
|
1279
|
+
* @format GUID
|
|
1280
|
+
*/
|
|
1281
|
+
anonymousVisitorId?: string;
|
|
1282
|
+
/**
|
|
1283
|
+
* ID of a site visitor that has logged in to the site.
|
|
1284
|
+
* @format GUID
|
|
1285
|
+
*/
|
|
1286
|
+
memberId?: string;
|
|
1287
|
+
/**
|
|
1288
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
1289
|
+
* @format GUID
|
|
1290
|
+
*/
|
|
1291
|
+
wixUserId?: string;
|
|
1292
|
+
/**
|
|
1293
|
+
* ID of an app.
|
|
1294
|
+
* @format GUID
|
|
1295
|
+
*/
|
|
1296
|
+
appId?: string;
|
|
1297
|
+
/** @readonly */
|
|
1298
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
1299
|
+
}
|
|
1300
|
+
/** @oneof */
|
|
1301
|
+
interface IdentificationDataIdOneOf {
|
|
1302
|
+
/**
|
|
1303
|
+
* ID of a site visitor that has not logged in to the site.
|
|
1304
|
+
* @format GUID
|
|
1305
|
+
*/
|
|
1306
|
+
anonymousVisitorId?: string;
|
|
1307
|
+
/**
|
|
1308
|
+
* ID of a site visitor that has logged in to the site.
|
|
1309
|
+
* @format GUID
|
|
1310
|
+
*/
|
|
1311
|
+
memberId?: string;
|
|
1312
|
+
/**
|
|
1313
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
1314
|
+
* @format GUID
|
|
1315
|
+
*/
|
|
1316
|
+
wixUserId?: string;
|
|
1317
|
+
/**
|
|
1318
|
+
* ID of an app.
|
|
1319
|
+
* @format GUID
|
|
1320
|
+
*/
|
|
1321
|
+
appId?: string;
|
|
1322
|
+
}
|
|
1323
|
+
declare enum WebhookIdentityType {
|
|
1324
|
+
UNKNOWN = "UNKNOWN",
|
|
1325
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
1326
|
+
MEMBER = "MEMBER",
|
|
1327
|
+
WIX_USER = "WIX_USER",
|
|
1328
|
+
APP = "APP"
|
|
1329
|
+
}
|
|
1330
|
+
/** @enumType */
|
|
1331
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
1332
|
+
interface AccountInfo {
|
|
1333
|
+
/**
|
|
1334
|
+
* ID of the Wix account associated with the event.
|
|
1335
|
+
* @format GUID
|
|
1336
|
+
*/
|
|
1337
|
+
accountId?: string | null;
|
|
1338
|
+
/**
|
|
1339
|
+
* ID of the parent Wix account. Only included when accountId belongs to a child account.
|
|
1340
|
+
* @format GUID
|
|
1341
|
+
*/
|
|
1342
|
+
parentAccountId?: string | null;
|
|
1343
|
+
/**
|
|
1344
|
+
* ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
|
|
1345
|
+
* @format GUID
|
|
1346
|
+
*/
|
|
1347
|
+
siteId?: string | null;
|
|
1348
|
+
}
|
|
1349
|
+
interface UpdateScheduleWithFixedBusinessResourceIdRequest {
|
|
1350
|
+
/** @format GUID */
|
|
1351
|
+
metaSiteId?: string;
|
|
1352
|
+
/** @format GUID */
|
|
1353
|
+
currentBusinessResourceId?: string;
|
|
1354
|
+
migrateBusinessConferenceId?: boolean;
|
|
1355
|
+
}
|
|
1356
|
+
interface UpdateScheduleWithFixedBusinessResourceIdResponse {
|
|
1357
|
+
}
|
|
1358
|
+
interface FixEventRecurrenceRuleRequest {
|
|
1359
|
+
/** @format GUID */
|
|
1360
|
+
metaSiteId?: string;
|
|
1361
|
+
/**
|
|
1362
|
+
* @minLength 36
|
|
1363
|
+
* @maxLength 250
|
|
1364
|
+
*/
|
|
1365
|
+
eventId?: string;
|
|
1366
|
+
/** Optional: if provided, use this rule. If not, derive from event's instanceStart day of week. */
|
|
1367
|
+
recurrenceRule?: RecurrenceRule;
|
|
1368
|
+
}
|
|
1369
|
+
interface FixEventRecurrenceRuleResponse {
|
|
1370
|
+
}
|
|
1371
|
+
interface UpdateEventsWithFixedBusinessResourceIdRequest {
|
|
1372
|
+
/** @format GUID */
|
|
1373
|
+
metaSiteId?: string;
|
|
1374
|
+
/** @format GUID */
|
|
1375
|
+
currentBusinessResourceId?: string;
|
|
1376
|
+
migrateBusinessConferenceId?: boolean;
|
|
1377
|
+
}
|
|
1378
|
+
interface UpdateEventsWithFixedBusinessResourceIdResponse {
|
|
1379
|
+
}
|
|
1380
|
+
interface MigrateEventsTimezoneRequest {
|
|
1381
|
+
/**
|
|
1382
|
+
* Metasite whose events are swept.
|
|
1383
|
+
* @format GUID
|
|
1384
|
+
*/
|
|
1385
|
+
metaSiteId?: string;
|
|
1386
|
+
/**
|
|
1387
|
+
* Target tz-rules version to migrate to, e.g. "2026c".
|
|
1388
|
+
* @maxLength 16
|
|
1389
|
+
*/
|
|
1390
|
+
targetVersion?: string;
|
|
1391
|
+
/**
|
|
1392
|
+
* Only sweep events ending after this instant (bounds the scan, e.g. now or the zone's
|
|
1393
|
+
* divergence date). Omit for no lower bound.
|
|
1394
|
+
*/
|
|
1395
|
+
fromDate?: Date | null;
|
|
1396
|
+
/**
|
|
1397
|
+
* Only sweep events starting at or before this instant. With from_date (which bounds by event
|
|
1398
|
+
* end) this selects events overlapping [from_date, to_date], letting a caller partition a site
|
|
1399
|
+
* into windows. Note: open-ended recurring masters (no until) have no end, so they fall in every
|
|
1400
|
+
* window at or after their first occurrence (re-migrating is an idempotent no-op). Omit for no
|
|
1401
|
+
* upper bound. Must not be before from_date.
|
|
1402
|
+
*/
|
|
1403
|
+
toDate?: Date | null;
|
|
1404
|
+
}
|
|
1405
|
+
interface MigrateEventsTimezoneResponse {
|
|
1406
|
+
/** Number of stored events (masters + non-recurring) rewritten under target_version. */
|
|
1407
|
+
migratedCount?: number;
|
|
1408
|
+
/**
|
|
1409
|
+
* Number of stored events scanned by the sweep. Returned only on full success — if any event
|
|
1410
|
+
* fails the sweep continues but the RPC returns a non-OK status, so callers cannot mistake a
|
|
1411
|
+
* partial run for a complete one (re-run is idempotent).
|
|
1412
|
+
*/
|
|
1413
|
+
scannedCount?: number;
|
|
1414
|
+
}
|
|
1380
1415
|
interface GetEventRequest {
|
|
1381
1416
|
/**
|
|
1382
1417
|
* ID of the event to retrieve.
|
|
@@ -1969,7 +2004,7 @@ interface EventMetadata extends BaseEventMetadata {
|
|
|
1969
2004
|
/** If present, indicates the action that triggered the event. */
|
|
1970
2005
|
originatedFrom?: string | null;
|
|
1971
2006
|
/**
|
|
1972
|
-
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01
|
|
2007
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.
|
|
1973
2008
|
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
1974
2009
|
*/
|
|
1975
2010
|
entityEventSequence?: string | null;
|
|
@@ -1993,6 +2028,8 @@ interface EventCancelledEnvelope {
|
|
|
1993
2028
|
* Not triggered when `INSTANCE` events are canceled. You can use the
|
|
1994
2029
|
* [Events View API](https://dev.wix.com/docs/rest/business-management/calendar/event-views-v3/introduction)
|
|
1995
2030
|
* to get notified about `INSTANCE` events.
|
|
2031
|
+
* @permissionScope Manage_Wix_Rentals_App_Forms_submissions
|
|
2032
|
+
* @permissionScopeId SCOPE.RENTALS.MANAGE
|
|
1996
2033
|
* @permissionScope Read Calendar - Including PI
|
|
1997
2034
|
* @permissionScopeId SCOPE.DC-CALENDAR.READ-PI
|
|
1998
2035
|
* @permissionScope Manage Calendars
|
|
@@ -2024,6 +2061,8 @@ interface EventCreatedEnvelope {
|
|
|
2024
2061
|
* Not triggered when `INSTANCE` events are created. You can use the
|
|
2025
2062
|
* [Events View API](https://dev.wix.com/docs/rest/business-management/calendar/event-views-v3/introduction)
|
|
2026
2063
|
* to get notified about `INSTANCE` events.
|
|
2064
|
+
* @permissionScope Manage_Wix_Rentals_App_Forms_submissions
|
|
2065
|
+
* @permissionScopeId SCOPE.RENTALS.MANAGE
|
|
2027
2066
|
* @permissionScope Read Calendar - Including PI
|
|
2028
2067
|
* @permissionScopeId SCOPE.DC-CALENDAR.READ-PI
|
|
2029
2068
|
* @permissionScope Manage Calendars
|
|
@@ -2050,6 +2089,8 @@ interface EventRecurringSplitEnvelope {
|
|
|
2050
2089
|
}
|
|
2051
2090
|
/**
|
|
2052
2091
|
* Triggered when a `MASTER` event is split.
|
|
2092
|
+
* @permissionScope Manage_Wix_Rentals_App_Forms_submissions
|
|
2093
|
+
* @permissionScopeId SCOPE.RENTALS.MANAGE
|
|
2053
2094
|
* @permissionScope Read Calendar - Including PI
|
|
2054
2095
|
* @permissionScopeId SCOPE.DC-CALENDAR.READ-PI
|
|
2055
2096
|
* @permissionScope Manage Calendars
|
|
@@ -2082,6 +2123,8 @@ interface EventUpdatedEnvelope {
|
|
|
2082
2123
|
* Not triggered when `INSTANCE` events are updated. You can use the
|
|
2083
2124
|
* [Events View API](https://dev.wix.com/docs/rest/business-management/calendar/event-views-v3/introduction)
|
|
2084
2125
|
* to get notified about `INSTANCE` events.
|
|
2126
|
+
* @permissionScope Manage_Wix_Rentals_App_Forms_submissions
|
|
2127
|
+
* @permissionScopeId SCOPE.RENTALS.MANAGE
|
|
2085
2128
|
* @permissionScope Read Calendar - Including PI
|
|
2086
2129
|
* @permissionScopeId SCOPE.DC-CALENDAR.READ-PI
|
|
2087
2130
|
* @permissionScope Manage Calendars
|
|
@@ -3162,4 +3205,4 @@ interface BulkCancelEventOptions {
|
|
|
3162
3205
|
timeZone?: string | null;
|
|
3163
3206
|
}
|
|
3164
3207
|
|
|
3165
|
-
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type Address, type AddressHint, type ApplicationError, type BaseEventMetadata, type BulkActionMetadata, type BulkCancelEventApplicationErrors, type BulkCancelEventOptions, type BulkCancelEventRequest, type BulkCancelEventResponse, type BulkCreateEventOptions, type BulkCreateEventRequest, type BulkCreateEventResponse, type BulkEventResult, type BulkUpdateEventOptions, type BulkUpdateEventRequest, type BulkUpdateEventRequestMaskedEvent, type BulkUpdateEventResponse, type BusinessSchedule, type CancelEventApplicationErrors, type CancelEventOptions, type CancelEventRequest, type CancelEventResponse, type Categories, type ChangeContext, type ChangeContextPayloadOneOf, type CommonCursorPaging, type CommonCursorPagingMetadata, type CommonCursors, type CommonIdentificationData, type CommonIdentificationDataIdOneOf, type CommonQueryWithEntityContext, type ConferencingDetails, type ConsentPolicy, type CreateEventOptions, type CreateEventRequest, type CreateEventResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, Day, DayOfWeek, type DayOfWeekWithLiterals, type DayWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type Event, type EventCancelled, type EventCancelledEnvelope, type EventCreatedEnvelope, type EventMetadata, type EventQuery, type EventQuerySpec, type EventRecurringSplitEnvelope, type EventUpdatedEnvelope, type EventUpdatedWithMetadata, type EventsQueryBuilder, type EventsQueryResult, type ExtendedFields, Field, type FieldWithLiterals, type FixEventRecurrenceRuleRequest, type FixEventRecurrenceRuleResponse, Frequency, type FrequencyWithLiterals, type GeoCoordinates, type GetEventOptions, type GetEventRequest, type GetEventResponse, type IdentificationData, type IdentificationDataIdOneOf, IdentityType, type IdentityTypeWithLiterals, type ItemMetadata, type ListEventsByContactIdOptions, type ListEventsByContactIdRequest, type ListEventsByContactIdResponse, type ListEventsByMemberIdOptions, type ListEventsByMemberIdRequest, type ListEventsByMemberIdResponse, type ListEventsOptions, type ListEventsRequest, type ListEventsResponse, type ListRecurringEventInstancesHistoryRequest, type ListRecurringEventInstancesHistoryResponse, type Locale, type Location, LocationType, type LocationTypeWithLiterals, type MaskedEvent, type MessageEnvelope, type Multilingual, type OnlineMeetingInfo, type Participant, type ParticipantNotification, type Participants, ParticipantsStatus, type ParticipantsStatusWithLiterals, type Permission, PlacementType, type PlacementTypeWithLiterals, type Properties, type PropertiesChange, type Provider, type ProviderProviderInfoOneOf, ProviderType, type ProviderTypeWithLiterals, type QueryEventsOptions, type QueryEventsRequest, type QueryEventsResponse, type RecurrenceRule, RecurrenceType, type RecurrenceTypeWithLiterals, type RecurringEventSplit, RequestedFields, type RequestedFieldsWithLiterals, ResolutionMethod, type ResolutionMethodWithLiterals, type Resource, type RestoreEventDefaultsOptions, type RestoreEventDefaultsRequest, type RestoreEventDefaultsResponse, type RestoreInfo, Role, type RoleWithLiterals, type SiteCloned, type SiteCreated, type SitePropertiesEvent, type SitePropertiesNotification, SortOrder, type SortOrderWithLiterals, type Sorting, type SpecialHourPeriod, type SplitRecurringEventOptions, type SplitRecurringEventRequest, type SplitRecurringEventResponse, Status, type StatusWithLiterals, type SupportedLanguage, type TimePeriod, type Translation, Transparency, type TransparencyWithLiterals, Type, type TypeWithLiterals, type UpdateEvent, type UpdateEventOptions, type UpdateEventParticipantsRequest, type UpdateEventParticipantsResponse, type UpdateEventRequest, type UpdateEventResponse, type UpdateEventsWithFixedBusinessResourceIdRequest, type UpdateEventsWithFixedBusinessResourceIdResponse, type UpdateScheduleWithFixedBusinessResourceIdRequest, type UpdateScheduleWithFixedBusinessResourceIdResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type ZonedDate, bulkCancelEvent, bulkCreateEvent, bulkUpdateEvent, cancelEvent, createEvent, getEvent, listEvents, listEventsByContactId, listEventsByMemberId, onEventCancelled, onEventCreated, onEventRecurringSplit, onEventUpdated, queryEvents, restoreEventDefaults, splitRecurringEvent, typedQueryEvents, updateEvent, utils };
|
|
3208
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type Address, type AddressHint, type ApplicationError, type BaseEventMetadata, type BulkActionMetadata, type BulkCancelEventApplicationErrors, type BulkCancelEventOptions, type BulkCancelEventRequest, type BulkCancelEventResponse, type BulkCreateEventOptions, type BulkCreateEventRequest, type BulkCreateEventResponse, type BulkEventResult, type BulkUpdateEventOptions, type BulkUpdateEventRequest, type BulkUpdateEventRequestMaskedEvent, type BulkUpdateEventResponse, type BusinessSchedule, type CancelEventApplicationErrors, type CancelEventOptions, type CancelEventRequest, type CancelEventResponse, type Categories, type ChangeContext, type ChangeContextPayloadOneOf, type CommonCursorPaging, type CommonCursorPagingMetadata, type CommonCursors, type CommonIdentificationData, type CommonIdentificationDataIdOneOf, type CommonQueryWithEntityContext, type ConferencingDetails, type ConsentPolicy, type CreateEventOptions, type CreateEventRequest, type CreateEventResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, Day, DayOfWeek, type DayOfWeekWithLiterals, type DayWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type Event, type EventCancelled, type EventCancelledEnvelope, type EventCreatedEnvelope, type EventMetadata, type EventQuery, type EventQuerySpec, type EventRecurringSplitEnvelope, type EventUpdatedEnvelope, type EventUpdatedWithMetadata, type EventsQueryBuilder, type EventsQueryResult, type ExtendedFields, Field, type FieldWithLiterals, type FixEventRecurrenceRuleRequest, type FixEventRecurrenceRuleResponse, Frequency, type FrequencyWithLiterals, type GeoCoordinates, type GetEventOptions, type GetEventRequest, type GetEventResponse, type IdentificationData, type IdentificationDataIdOneOf, IdentityType, type IdentityTypeWithLiterals, type ItemMetadata, type ListEventsByContactIdOptions, type ListEventsByContactIdRequest, type ListEventsByContactIdResponse, type ListEventsByMemberIdOptions, type ListEventsByMemberIdRequest, type ListEventsByMemberIdResponse, type ListEventsOptions, type ListEventsRequest, type ListEventsResponse, type ListRecurringEventInstancesHistoryRequest, type ListRecurringEventInstancesHistoryResponse, type Locale, type Location, LocationType, type LocationTypeWithLiterals, type MaskedEvent, type MessageEnvelope, type MigrateEventsTimezoneRequest, type MigrateEventsTimezoneResponse, type Multilingual, type OnlineMeetingInfo, type Participant, type ParticipantNotification, type Participants, ParticipantsStatus, type ParticipantsStatusWithLiterals, type Permission, PlacementType, type PlacementTypeWithLiterals, type Properties, type PropertiesChange, type Provider, type ProviderProviderInfoOneOf, ProviderType, type ProviderTypeWithLiterals, type QueryEventsOptions, type QueryEventsRequest, type QueryEventsResponse, type RecurrenceRule, RecurrenceType, type RecurrenceTypeWithLiterals, type RecurringEventSplit, RequestedFields, type RequestedFieldsWithLiterals, ResolutionMethod, type ResolutionMethodWithLiterals, type Resource, type RestoreEventDefaultsOptions, type RestoreEventDefaultsRequest, type RestoreEventDefaultsResponse, type RestoreInfo, Role, type RoleWithLiterals, type SiteCloned, type SiteCreated, type SitePropertiesEvent, type SitePropertiesNotification, SortOrder, type SortOrderWithLiterals, type Sorting, type SpecialHourPeriod, type SplitRecurringEventOptions, type SplitRecurringEventRequest, type SplitRecurringEventResponse, Status, type StatusWithLiterals, type SupportedLanguage, type TimePeriod, type Translation, Transparency, type TransparencyWithLiterals, Type, type TypeWithLiterals, type UpdateEvent, type UpdateEventOptions, type UpdateEventParticipantsRequest, type UpdateEventParticipantsResponse, type UpdateEventRequest, type UpdateEventResponse, type UpdateEventsWithFixedBusinessResourceIdRequest, type UpdateEventsWithFixedBusinessResourceIdResponse, type UpdateScheduleWithFixedBusinessResourceIdRequest, type UpdateScheduleWithFixedBusinessResourceIdResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type ZonedDate, bulkCancelEvent, bulkCreateEvent, bulkUpdateEvent, cancelEvent, createEvent, getEvent, listEvents, listEventsByContactId, listEventsByMemberId, onEventCancelled, onEventCreated, onEventRecurringSplit, onEventUpdated, queryEvents, restoreEventDefaults, splitRecurringEvent, typedQueryEvents, updateEvent, utils };
|
|
@@ -795,14 +795,6 @@ var IdentityType = /* @__PURE__ */ ((IdentityType2) => {
|
|
|
795
795
|
IdentityType2["WIX_USER"] = "WIX_USER";
|
|
796
796
|
return IdentityType2;
|
|
797
797
|
})(IdentityType || {});
|
|
798
|
-
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
799
|
-
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
800
|
-
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
801
|
-
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
802
|
-
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
803
|
-
WebhookIdentityType2["APP"] = "APP";
|
|
804
|
-
return WebhookIdentityType2;
|
|
805
|
-
})(WebhookIdentityType || {});
|
|
806
798
|
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
807
799
|
SortOrder2["ASC"] = "ASC";
|
|
808
800
|
SortOrder2["DESC"] = "DESC";
|
|
@@ -830,6 +822,14 @@ var ResolutionMethod = /* @__PURE__ */ ((ResolutionMethod2) => {
|
|
|
830
822
|
ResolutionMethod2["SUBDIRECTORY"] = "SUBDIRECTORY";
|
|
831
823
|
return ResolutionMethod2;
|
|
832
824
|
})(ResolutionMethod || {});
|
|
825
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
826
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
827
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
828
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
829
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
830
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
831
|
+
return WebhookIdentityType2;
|
|
832
|
+
})(WebhookIdentityType || {});
|
|
833
833
|
var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
|
|
834
834
|
RequestedFields2["PI_FIELDS"] = "PI_FIELDS";
|
|
835
835
|
RequestedFields2["OWN_PI_FIELDS"] = "OWN_PI_FIELDS";
|