@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
|
@@ -726,192 +726,6 @@ interface EventUpdatedWithMetadata {
|
|
|
726
726
|
*/
|
|
727
727
|
participantNotification?: ParticipantNotification;
|
|
728
728
|
}
|
|
729
|
-
interface UpdateScheduleWithFixedBusinessResourceIdRequest {
|
|
730
|
-
/** @format GUID */
|
|
731
|
-
metaSiteId?: string;
|
|
732
|
-
/** @format GUID */
|
|
733
|
-
currentBusinessResourceId?: string;
|
|
734
|
-
migrateBusinessConferenceId?: boolean;
|
|
735
|
-
}
|
|
736
|
-
interface UpdateScheduleWithFixedBusinessResourceIdResponse {
|
|
737
|
-
}
|
|
738
|
-
interface FixEventRecurrenceRuleRequest {
|
|
739
|
-
/** @format GUID */
|
|
740
|
-
metaSiteId?: string;
|
|
741
|
-
/**
|
|
742
|
-
* @minLength 36
|
|
743
|
-
* @maxLength 250
|
|
744
|
-
*/
|
|
745
|
-
eventId?: string;
|
|
746
|
-
/** Optional: if provided, use this rule. If not, derive from event's instanceStart day of week. */
|
|
747
|
-
recurrenceRule?: RecurrenceRule;
|
|
748
|
-
}
|
|
749
|
-
interface FixEventRecurrenceRuleResponse {
|
|
750
|
-
}
|
|
751
|
-
interface UpdateEventsWithFixedBusinessResourceIdRequest {
|
|
752
|
-
/** @format GUID */
|
|
753
|
-
metaSiteId?: string;
|
|
754
|
-
/** @format GUID */
|
|
755
|
-
currentBusinessResourceId?: string;
|
|
756
|
-
migrateBusinessConferenceId?: boolean;
|
|
757
|
-
}
|
|
758
|
-
interface UpdateEventsWithFixedBusinessResourceIdResponse {
|
|
759
|
-
}
|
|
760
|
-
interface DomainEvent extends DomainEventBodyOneOf {
|
|
761
|
-
createdEvent?: EntityCreatedEvent;
|
|
762
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
763
|
-
deletedEvent?: EntityDeletedEvent;
|
|
764
|
-
actionEvent?: ActionEvent;
|
|
765
|
-
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
766
|
-
id?: string;
|
|
767
|
-
/**
|
|
768
|
-
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
769
|
-
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
770
|
-
*/
|
|
771
|
-
entityFqdn?: string;
|
|
772
|
-
/**
|
|
773
|
-
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
774
|
-
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
775
|
-
*/
|
|
776
|
-
slug?: string;
|
|
777
|
-
/** ID of the entity associated with the event. */
|
|
778
|
-
entityId?: string;
|
|
779
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
780
|
-
eventTime?: Date | null;
|
|
781
|
-
/**
|
|
782
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
783
|
-
* (for example, GDPR).
|
|
784
|
-
*/
|
|
785
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
786
|
-
/** If present, indicates the action that triggered the event. */
|
|
787
|
-
originatedFrom?: string | null;
|
|
788
|
-
/**
|
|
789
|
-
* 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.
|
|
790
|
-
* 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.
|
|
791
|
-
*/
|
|
792
|
-
entityEventSequence?: string | null;
|
|
793
|
-
}
|
|
794
|
-
/** @oneof */
|
|
795
|
-
interface DomainEventBodyOneOf {
|
|
796
|
-
createdEvent?: EntityCreatedEvent;
|
|
797
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
798
|
-
deletedEvent?: EntityDeletedEvent;
|
|
799
|
-
actionEvent?: ActionEvent;
|
|
800
|
-
}
|
|
801
|
-
interface EntityCreatedEvent {
|
|
802
|
-
entityAsJson?: string;
|
|
803
|
-
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
804
|
-
restoreInfo?: RestoreInfo;
|
|
805
|
-
}
|
|
806
|
-
interface RestoreInfo {
|
|
807
|
-
deletedDate?: Date | null;
|
|
808
|
-
}
|
|
809
|
-
interface EntityUpdatedEvent {
|
|
810
|
-
/**
|
|
811
|
-
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
812
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
813
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
814
|
-
*/
|
|
815
|
-
currentEntityAsJson?: string;
|
|
816
|
-
}
|
|
817
|
-
interface EntityDeletedEvent {
|
|
818
|
-
/** Entity that was deleted. */
|
|
819
|
-
deletedEntityAsJson?: string | null;
|
|
820
|
-
}
|
|
821
|
-
interface ActionEvent {
|
|
822
|
-
bodyAsJson?: string;
|
|
823
|
-
}
|
|
824
|
-
interface MessageEnvelope {
|
|
825
|
-
/**
|
|
826
|
-
* App instance ID.
|
|
827
|
-
* @format GUID
|
|
828
|
-
*/
|
|
829
|
-
instanceId?: string | null;
|
|
830
|
-
/**
|
|
831
|
-
* Event type.
|
|
832
|
-
* @maxLength 150
|
|
833
|
-
*/
|
|
834
|
-
eventType?: string;
|
|
835
|
-
/** The identification type and identity data. */
|
|
836
|
-
identity?: IdentificationData;
|
|
837
|
-
/** Stringify payload. */
|
|
838
|
-
data?: string;
|
|
839
|
-
/** Details related to the account */
|
|
840
|
-
accountInfo?: AccountInfo;
|
|
841
|
-
}
|
|
842
|
-
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
843
|
-
/**
|
|
844
|
-
* ID of a site visitor that has not logged in to the site.
|
|
845
|
-
* @format GUID
|
|
846
|
-
*/
|
|
847
|
-
anonymousVisitorId?: string;
|
|
848
|
-
/**
|
|
849
|
-
* ID of a site visitor that has logged in to the site.
|
|
850
|
-
* @format GUID
|
|
851
|
-
*/
|
|
852
|
-
memberId?: string;
|
|
853
|
-
/**
|
|
854
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
855
|
-
* @format GUID
|
|
856
|
-
*/
|
|
857
|
-
wixUserId?: string;
|
|
858
|
-
/**
|
|
859
|
-
* ID of an app.
|
|
860
|
-
* @format GUID
|
|
861
|
-
*/
|
|
862
|
-
appId?: string;
|
|
863
|
-
/** @readonly */
|
|
864
|
-
identityType?: WebhookIdentityTypeWithLiterals;
|
|
865
|
-
}
|
|
866
|
-
/** @oneof */
|
|
867
|
-
interface IdentificationDataIdOneOf {
|
|
868
|
-
/**
|
|
869
|
-
* ID of a site visitor that has not logged in to the site.
|
|
870
|
-
* @format GUID
|
|
871
|
-
*/
|
|
872
|
-
anonymousVisitorId?: string;
|
|
873
|
-
/**
|
|
874
|
-
* ID of a site visitor that has logged in to the site.
|
|
875
|
-
* @format GUID
|
|
876
|
-
*/
|
|
877
|
-
memberId?: string;
|
|
878
|
-
/**
|
|
879
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
880
|
-
* @format GUID
|
|
881
|
-
*/
|
|
882
|
-
wixUserId?: string;
|
|
883
|
-
/**
|
|
884
|
-
* ID of an app.
|
|
885
|
-
* @format GUID
|
|
886
|
-
*/
|
|
887
|
-
appId?: string;
|
|
888
|
-
}
|
|
889
|
-
declare enum WebhookIdentityType {
|
|
890
|
-
UNKNOWN = "UNKNOWN",
|
|
891
|
-
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
892
|
-
MEMBER = "MEMBER",
|
|
893
|
-
WIX_USER = "WIX_USER",
|
|
894
|
-
APP = "APP"
|
|
895
|
-
}
|
|
896
|
-
/** @enumType */
|
|
897
|
-
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
898
|
-
interface AccountInfo {
|
|
899
|
-
/**
|
|
900
|
-
* ID of the Wix account associated with the event.
|
|
901
|
-
* @format GUID
|
|
902
|
-
*/
|
|
903
|
-
accountId?: string | null;
|
|
904
|
-
/**
|
|
905
|
-
* ID of the parent Wix account. Only included when accountId belongs to a child account.
|
|
906
|
-
* @format GUID
|
|
907
|
-
*/
|
|
908
|
-
parentAccountId?: string | null;
|
|
909
|
-
/**
|
|
910
|
-
* ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
|
|
911
|
-
* @format GUID
|
|
912
|
-
*/
|
|
913
|
-
siteId?: string | null;
|
|
914
|
-
}
|
|
915
729
|
interface ListEventsByContactIdRequest {
|
|
916
730
|
/**
|
|
917
731
|
* ID of the [contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)
|
|
@@ -1384,6 +1198,227 @@ interface SiteCloned {
|
|
|
1384
1198
|
}
|
|
1385
1199
|
interface Empty {
|
|
1386
1200
|
}
|
|
1201
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
1202
|
+
createdEvent?: EntityCreatedEvent;
|
|
1203
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
1204
|
+
deletedEvent?: EntityDeletedEvent;
|
|
1205
|
+
actionEvent?: ActionEvent;
|
|
1206
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
1207
|
+
id?: string;
|
|
1208
|
+
/**
|
|
1209
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
1210
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
1211
|
+
*/
|
|
1212
|
+
entityFqdn?: string;
|
|
1213
|
+
/**
|
|
1214
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
1215
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
1216
|
+
*/
|
|
1217
|
+
slug?: string;
|
|
1218
|
+
/** ID of the entity associated with the event. */
|
|
1219
|
+
entityId?: string;
|
|
1220
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
1221
|
+
eventTime?: Date | null;
|
|
1222
|
+
/**
|
|
1223
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
1224
|
+
* (for example, GDPR).
|
|
1225
|
+
*/
|
|
1226
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
1227
|
+
/** If present, indicates the action that triggered the event. */
|
|
1228
|
+
originatedFrom?: string | null;
|
|
1229
|
+
/**
|
|
1230
|
+
* 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.
|
|
1231
|
+
* 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.
|
|
1232
|
+
*/
|
|
1233
|
+
entityEventSequence?: string | null;
|
|
1234
|
+
}
|
|
1235
|
+
/** @oneof */
|
|
1236
|
+
interface DomainEventBodyOneOf {
|
|
1237
|
+
createdEvent?: EntityCreatedEvent;
|
|
1238
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
1239
|
+
deletedEvent?: EntityDeletedEvent;
|
|
1240
|
+
actionEvent?: ActionEvent;
|
|
1241
|
+
}
|
|
1242
|
+
interface EntityCreatedEvent {
|
|
1243
|
+
entityAsJson?: string;
|
|
1244
|
+
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
1245
|
+
restoreInfo?: RestoreInfo;
|
|
1246
|
+
}
|
|
1247
|
+
interface RestoreInfo {
|
|
1248
|
+
deletedDate?: Date | null;
|
|
1249
|
+
}
|
|
1250
|
+
interface EntityUpdatedEvent {
|
|
1251
|
+
/**
|
|
1252
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
1253
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
1254
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
1255
|
+
*/
|
|
1256
|
+
currentEntityAsJson?: string;
|
|
1257
|
+
}
|
|
1258
|
+
interface EntityDeletedEvent {
|
|
1259
|
+
/** Entity that was deleted. */
|
|
1260
|
+
deletedEntityAsJson?: string | null;
|
|
1261
|
+
}
|
|
1262
|
+
interface ActionEvent {
|
|
1263
|
+
bodyAsJson?: string;
|
|
1264
|
+
}
|
|
1265
|
+
interface MessageEnvelope {
|
|
1266
|
+
/**
|
|
1267
|
+
* App instance ID.
|
|
1268
|
+
* @format GUID
|
|
1269
|
+
*/
|
|
1270
|
+
instanceId?: string | null;
|
|
1271
|
+
/**
|
|
1272
|
+
* Event type.
|
|
1273
|
+
* @maxLength 150
|
|
1274
|
+
*/
|
|
1275
|
+
eventType?: string;
|
|
1276
|
+
/** The identification type and identity data. */
|
|
1277
|
+
identity?: IdentificationData;
|
|
1278
|
+
/** Stringify payload. */
|
|
1279
|
+
data?: string;
|
|
1280
|
+
/** Details related to the account */
|
|
1281
|
+
accountInfo?: AccountInfo;
|
|
1282
|
+
}
|
|
1283
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
1284
|
+
/**
|
|
1285
|
+
* ID of a site visitor that has not logged in to the site.
|
|
1286
|
+
* @format GUID
|
|
1287
|
+
*/
|
|
1288
|
+
anonymousVisitorId?: string;
|
|
1289
|
+
/**
|
|
1290
|
+
* ID of a site visitor that has logged in to the site.
|
|
1291
|
+
* @format GUID
|
|
1292
|
+
*/
|
|
1293
|
+
memberId?: string;
|
|
1294
|
+
/**
|
|
1295
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
1296
|
+
* @format GUID
|
|
1297
|
+
*/
|
|
1298
|
+
wixUserId?: string;
|
|
1299
|
+
/**
|
|
1300
|
+
* ID of an app.
|
|
1301
|
+
* @format GUID
|
|
1302
|
+
*/
|
|
1303
|
+
appId?: string;
|
|
1304
|
+
/** @readonly */
|
|
1305
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
1306
|
+
}
|
|
1307
|
+
/** @oneof */
|
|
1308
|
+
interface IdentificationDataIdOneOf {
|
|
1309
|
+
/**
|
|
1310
|
+
* ID of a site visitor that has not logged in to the site.
|
|
1311
|
+
* @format GUID
|
|
1312
|
+
*/
|
|
1313
|
+
anonymousVisitorId?: string;
|
|
1314
|
+
/**
|
|
1315
|
+
* ID of a site visitor that has logged in to the site.
|
|
1316
|
+
* @format GUID
|
|
1317
|
+
*/
|
|
1318
|
+
memberId?: string;
|
|
1319
|
+
/**
|
|
1320
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
1321
|
+
* @format GUID
|
|
1322
|
+
*/
|
|
1323
|
+
wixUserId?: string;
|
|
1324
|
+
/**
|
|
1325
|
+
* ID of an app.
|
|
1326
|
+
* @format GUID
|
|
1327
|
+
*/
|
|
1328
|
+
appId?: string;
|
|
1329
|
+
}
|
|
1330
|
+
declare enum WebhookIdentityType {
|
|
1331
|
+
UNKNOWN = "UNKNOWN",
|
|
1332
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
1333
|
+
MEMBER = "MEMBER",
|
|
1334
|
+
WIX_USER = "WIX_USER",
|
|
1335
|
+
APP = "APP"
|
|
1336
|
+
}
|
|
1337
|
+
/** @enumType */
|
|
1338
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
1339
|
+
interface AccountInfo {
|
|
1340
|
+
/**
|
|
1341
|
+
* ID of the Wix account associated with the event.
|
|
1342
|
+
* @format GUID
|
|
1343
|
+
*/
|
|
1344
|
+
accountId?: string | null;
|
|
1345
|
+
/**
|
|
1346
|
+
* ID of the parent Wix account. Only included when accountId belongs to a child account.
|
|
1347
|
+
* @format GUID
|
|
1348
|
+
*/
|
|
1349
|
+
parentAccountId?: string | null;
|
|
1350
|
+
/**
|
|
1351
|
+
* ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
|
|
1352
|
+
* @format GUID
|
|
1353
|
+
*/
|
|
1354
|
+
siteId?: string | null;
|
|
1355
|
+
}
|
|
1356
|
+
interface UpdateScheduleWithFixedBusinessResourceIdRequest {
|
|
1357
|
+
/** @format GUID */
|
|
1358
|
+
metaSiteId?: string;
|
|
1359
|
+
/** @format GUID */
|
|
1360
|
+
currentBusinessResourceId?: string;
|
|
1361
|
+
migrateBusinessConferenceId?: boolean;
|
|
1362
|
+
}
|
|
1363
|
+
interface UpdateScheduleWithFixedBusinessResourceIdResponse {
|
|
1364
|
+
}
|
|
1365
|
+
interface FixEventRecurrenceRuleRequest {
|
|
1366
|
+
/** @format GUID */
|
|
1367
|
+
metaSiteId?: string;
|
|
1368
|
+
/**
|
|
1369
|
+
* @minLength 36
|
|
1370
|
+
* @maxLength 250
|
|
1371
|
+
*/
|
|
1372
|
+
eventId?: string;
|
|
1373
|
+
/** Optional: if provided, use this rule. If not, derive from event's instanceStart day of week. */
|
|
1374
|
+
recurrenceRule?: RecurrenceRule;
|
|
1375
|
+
}
|
|
1376
|
+
interface FixEventRecurrenceRuleResponse {
|
|
1377
|
+
}
|
|
1378
|
+
interface UpdateEventsWithFixedBusinessResourceIdRequest {
|
|
1379
|
+
/** @format GUID */
|
|
1380
|
+
metaSiteId?: string;
|
|
1381
|
+
/** @format GUID */
|
|
1382
|
+
currentBusinessResourceId?: string;
|
|
1383
|
+
migrateBusinessConferenceId?: boolean;
|
|
1384
|
+
}
|
|
1385
|
+
interface UpdateEventsWithFixedBusinessResourceIdResponse {
|
|
1386
|
+
}
|
|
1387
|
+
interface MigrateEventsTimezoneRequest {
|
|
1388
|
+
/**
|
|
1389
|
+
* Metasite whose events are swept.
|
|
1390
|
+
* @format GUID
|
|
1391
|
+
*/
|
|
1392
|
+
metaSiteId?: string;
|
|
1393
|
+
/**
|
|
1394
|
+
* Target tz-rules version to migrate to, e.g. "2026c".
|
|
1395
|
+
* @maxLength 16
|
|
1396
|
+
*/
|
|
1397
|
+
targetVersion?: string;
|
|
1398
|
+
/**
|
|
1399
|
+
* Only sweep events ending after this instant (bounds the scan, e.g. now or the zone's
|
|
1400
|
+
* divergence date). Omit for no lower bound.
|
|
1401
|
+
*/
|
|
1402
|
+
fromDate?: Date | null;
|
|
1403
|
+
/**
|
|
1404
|
+
* Only sweep events starting at or before this instant. With from_date (which bounds by event
|
|
1405
|
+
* end) this selects events overlapping [from_date, to_date], letting a caller partition a site
|
|
1406
|
+
* into windows. Note: open-ended recurring masters (no until) have no end, so they fall in every
|
|
1407
|
+
* window at or after their first occurrence (re-migrating is an idempotent no-op). Omit for no
|
|
1408
|
+
* upper bound. Must not be before from_date.
|
|
1409
|
+
*/
|
|
1410
|
+
toDate?: Date | null;
|
|
1411
|
+
}
|
|
1412
|
+
interface MigrateEventsTimezoneResponse {
|
|
1413
|
+
/** Number of stored events (masters + non-recurring) rewritten under target_version. */
|
|
1414
|
+
migratedCount?: number;
|
|
1415
|
+
/**
|
|
1416
|
+
* Number of stored events scanned by the sweep. Returned only on full success — if any event
|
|
1417
|
+
* fails the sweep continues but the RPC returns a non-OK status, so callers cannot mistake a
|
|
1418
|
+
* partial run for a complete one (re-run is idempotent).
|
|
1419
|
+
*/
|
|
1420
|
+
scannedCount?: number;
|
|
1421
|
+
}
|
|
1387
1422
|
interface GetEventRequest {
|
|
1388
1423
|
/**
|
|
1389
1424
|
* ID of the event to retrieve.
|
|
@@ -1974,4 +2009,4 @@ declare function cancelEvent(): __PublicMethodMetaInfo<'POST', {
|
|
|
1974
2009
|
}, CancelEventRequest$1, CancelEventRequest, CancelEventResponse$1, CancelEventResponse>;
|
|
1975
2010
|
declare function bulkCancelEvent(): __PublicMethodMetaInfo<'POST', {}, BulkCancelEventRequest$1, BulkCancelEventRequest, BulkCancelEventResponse$1, BulkCancelEventResponse>;
|
|
1976
2011
|
|
|
1977
|
-
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddressHint as AddressHintOriginal, type Address as AddressOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCancelEventApplicationErrors as BulkCancelEventApplicationErrorsOriginal, type BulkCancelEventRequest as BulkCancelEventRequestOriginal, type BulkCancelEventResponse as BulkCancelEventResponseOriginal, type BulkCreateEventRequest as BulkCreateEventRequestOriginal, type BulkCreateEventResponse as BulkCreateEventResponseOriginal, type BulkEventResult as BulkEventResultOriginal, type BulkUpdateEventRequestMaskedEvent as BulkUpdateEventRequestMaskedEventOriginal, type BulkUpdateEventRequest as BulkUpdateEventRequestOriginal, type BulkUpdateEventResponse as BulkUpdateEventResponseOriginal, type BusinessSchedule as BusinessScheduleOriginal, type CancelEventApplicationErrors as CancelEventApplicationErrorsOriginal, type CancelEventRequest as CancelEventRequestOriginal, type CancelEventResponse as CancelEventResponseOriginal, type Categories as CategoriesOriginal, type ChangeContext as ChangeContextOriginal, type ChangeContextPayloadOneOf as ChangeContextPayloadOneOfOriginal, type CommonCursorPagingMetadata as CommonCursorPagingMetadataOriginal, type CommonCursorPaging as CommonCursorPagingOriginal, type CommonCursors as CommonCursorsOriginal, type CommonIdentificationDataIdOneOf as CommonIdentificationDataIdOneOfOriginal, type CommonIdentificationData as CommonIdentificationDataOriginal, type ConferencingDetails as ConferencingDetailsOriginal, type ConsentPolicy as ConsentPolicyOriginal, type CreateEventRequest as CreateEventRequestOriginal, type CreateEventResponse as CreateEventResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, DayOfWeek as DayOfWeekOriginal, type DayOfWeekWithLiterals as DayOfWeekWithLiteralsOriginal, Day as DayOriginal, type DayWithLiterals as DayWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EventCancelled as EventCancelledOriginal, type Event as EventOriginal, type EventUpdatedWithMetadata as EventUpdatedWithMetadataOriginal, type ExtendedFields as ExtendedFieldsOriginal, Field as FieldOriginal, type FieldWithLiterals as FieldWithLiteralsOriginal, type FixEventRecurrenceRuleRequest as FixEventRecurrenceRuleRequestOriginal, type FixEventRecurrenceRuleResponse as FixEventRecurrenceRuleResponseOriginal, Frequency as FrequencyOriginal, type FrequencyWithLiterals as FrequencyWithLiteralsOriginal, type GeoCoordinates as GeoCoordinatesOriginal, type GetEventRequest as GetEventRequestOriginal, type GetEventResponse as GetEventResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, IdentityType as IdentityTypeOriginal, type IdentityTypeWithLiterals as IdentityTypeWithLiteralsOriginal, type ItemMetadata as ItemMetadataOriginal, type ListEventsByContactIdRequest as ListEventsByContactIdRequestOriginal, type ListEventsByContactIdResponse as ListEventsByContactIdResponseOriginal, type ListEventsByMemberIdRequest as ListEventsByMemberIdRequestOriginal, type ListEventsByMemberIdResponse as ListEventsByMemberIdResponseOriginal, type ListEventsRequest as ListEventsRequestOriginal, type ListEventsResponse as ListEventsResponseOriginal, type ListRecurringEventInstancesHistoryRequest as ListRecurringEventInstancesHistoryRequestOriginal, type ListRecurringEventInstancesHistoryResponse as ListRecurringEventInstancesHistoryResponseOriginal, type Locale as LocaleOriginal, type Location as LocationOriginal, LocationType as LocationTypeOriginal, type LocationTypeWithLiterals as LocationTypeWithLiteralsOriginal, type MaskedEvent as MaskedEventOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type Multilingual as MultilingualOriginal, type OnlineMeetingInfo as OnlineMeetingInfoOriginal, type ParticipantNotification as ParticipantNotificationOriginal, type Participant as ParticipantOriginal, type Participants as ParticipantsOriginal, ParticipantsStatus as ParticipantsStatusOriginal, type ParticipantsStatusWithLiterals as ParticipantsStatusWithLiteralsOriginal, type Permission as PermissionOriginal, PlacementType as PlacementTypeOriginal, type PlacementTypeWithLiterals as PlacementTypeWithLiteralsOriginal, type PropertiesChange as PropertiesChangeOriginal, type Properties as PropertiesOriginal, type Provider as ProviderOriginal, type ProviderProviderInfoOneOf as ProviderProviderInfoOneOfOriginal, ProviderType as ProviderTypeOriginal, type ProviderTypeWithLiterals as ProviderTypeWithLiteralsOriginal, type QueryEventsRequest as QueryEventsRequestOriginal, type QueryEventsResponse as QueryEventsResponseOriginal, type RecurrenceRule as RecurrenceRuleOriginal, RecurrenceType as RecurrenceTypeOriginal, type RecurrenceTypeWithLiterals as RecurrenceTypeWithLiteralsOriginal, type RecurringEventSplit as RecurringEventSplitOriginal, RequestedFields as RequestedFieldsOriginal, type RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal, ResolutionMethod as ResolutionMethodOriginal, type ResolutionMethodWithLiterals as ResolutionMethodWithLiteralsOriginal, type Resource as ResourceOriginal, type RestoreEventDefaultsRequest as RestoreEventDefaultsRequestOriginal, type RestoreEventDefaultsResponse as RestoreEventDefaultsResponseOriginal, type RestoreInfo as RestoreInfoOriginal, Role as RoleOriginal, type RoleWithLiterals as RoleWithLiteralsOriginal, type SiteCloned as SiteClonedOriginal, type SiteCreated as SiteCreatedOriginal, type SitePropertiesEvent as SitePropertiesEventOriginal, type SitePropertiesNotification as SitePropertiesNotificationOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type SpecialHourPeriod as SpecialHourPeriodOriginal, type SplitRecurringEventRequest as SplitRecurringEventRequestOriginal, type SplitRecurringEventResponse as SplitRecurringEventResponseOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type SupportedLanguage as SupportedLanguageOriginal, type TimePeriod as TimePeriodOriginal, type Translation as TranslationOriginal, Transparency as TransparencyOriginal, type TransparencyWithLiterals as TransparencyWithLiteralsOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UpdateEventParticipantsRequest as UpdateEventParticipantsRequestOriginal, type UpdateEventParticipantsResponse as UpdateEventParticipantsResponseOriginal, type UpdateEventRequest as UpdateEventRequestOriginal, type UpdateEventResponse as UpdateEventResponseOriginal, type UpdateEventsWithFixedBusinessResourceIdRequest as UpdateEventsWithFixedBusinessResourceIdRequestOriginal, type UpdateEventsWithFixedBusinessResourceIdResponse as UpdateEventsWithFixedBusinessResourceIdResponseOriginal, type UpdateScheduleWithFixedBusinessResourceIdRequest as UpdateScheduleWithFixedBusinessResourceIdRequestOriginal, type UpdateScheduleWithFixedBusinessResourceIdResponse as UpdateScheduleWithFixedBusinessResourceIdResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type ZonedDate as ZonedDateOriginal, type __PublicMethodMetaInfo, bulkCancelEvent, bulkCreateEvent, bulkUpdateEvent, cancelEvent, createEvent, getEvent, listEvents, listEventsByContactId, listEventsByMemberId, queryEvents, restoreEventDefaults, splitRecurringEvent, updateEvent };
|
|
2012
|
+
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddressHint as AddressHintOriginal, type Address as AddressOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCancelEventApplicationErrors as BulkCancelEventApplicationErrorsOriginal, type BulkCancelEventRequest as BulkCancelEventRequestOriginal, type BulkCancelEventResponse as BulkCancelEventResponseOriginal, type BulkCreateEventRequest as BulkCreateEventRequestOriginal, type BulkCreateEventResponse as BulkCreateEventResponseOriginal, type BulkEventResult as BulkEventResultOriginal, type BulkUpdateEventRequestMaskedEvent as BulkUpdateEventRequestMaskedEventOriginal, type BulkUpdateEventRequest as BulkUpdateEventRequestOriginal, type BulkUpdateEventResponse as BulkUpdateEventResponseOriginal, type BusinessSchedule as BusinessScheduleOriginal, type CancelEventApplicationErrors as CancelEventApplicationErrorsOriginal, type CancelEventRequest as CancelEventRequestOriginal, type CancelEventResponse as CancelEventResponseOriginal, type Categories as CategoriesOriginal, type ChangeContext as ChangeContextOriginal, type ChangeContextPayloadOneOf as ChangeContextPayloadOneOfOriginal, type CommonCursorPagingMetadata as CommonCursorPagingMetadataOriginal, type CommonCursorPaging as CommonCursorPagingOriginal, type CommonCursors as CommonCursorsOriginal, type CommonIdentificationDataIdOneOf as CommonIdentificationDataIdOneOfOriginal, type CommonIdentificationData as CommonIdentificationDataOriginal, type ConferencingDetails as ConferencingDetailsOriginal, type ConsentPolicy as ConsentPolicyOriginal, type CreateEventRequest as CreateEventRequestOriginal, type CreateEventResponse as CreateEventResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, DayOfWeek as DayOfWeekOriginal, type DayOfWeekWithLiterals as DayOfWeekWithLiteralsOriginal, Day as DayOriginal, type DayWithLiterals as DayWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EventCancelled as EventCancelledOriginal, type Event as EventOriginal, type EventUpdatedWithMetadata as EventUpdatedWithMetadataOriginal, type ExtendedFields as ExtendedFieldsOriginal, Field as FieldOriginal, type FieldWithLiterals as FieldWithLiteralsOriginal, type FixEventRecurrenceRuleRequest as FixEventRecurrenceRuleRequestOriginal, type FixEventRecurrenceRuleResponse as FixEventRecurrenceRuleResponseOriginal, Frequency as FrequencyOriginal, type FrequencyWithLiterals as FrequencyWithLiteralsOriginal, type GeoCoordinates as GeoCoordinatesOriginal, type GetEventRequest as GetEventRequestOriginal, type GetEventResponse as GetEventResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, IdentityType as IdentityTypeOriginal, type IdentityTypeWithLiterals as IdentityTypeWithLiteralsOriginal, type ItemMetadata as ItemMetadataOriginal, type ListEventsByContactIdRequest as ListEventsByContactIdRequestOriginal, type ListEventsByContactIdResponse as ListEventsByContactIdResponseOriginal, type ListEventsByMemberIdRequest as ListEventsByMemberIdRequestOriginal, type ListEventsByMemberIdResponse as ListEventsByMemberIdResponseOriginal, type ListEventsRequest as ListEventsRequestOriginal, type ListEventsResponse as ListEventsResponseOriginal, type ListRecurringEventInstancesHistoryRequest as ListRecurringEventInstancesHistoryRequestOriginal, type ListRecurringEventInstancesHistoryResponse as ListRecurringEventInstancesHistoryResponseOriginal, type Locale as LocaleOriginal, type Location as LocationOriginal, LocationType as LocationTypeOriginal, type LocationTypeWithLiterals as LocationTypeWithLiteralsOriginal, type MaskedEvent as MaskedEventOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MigrateEventsTimezoneRequest as MigrateEventsTimezoneRequestOriginal, type MigrateEventsTimezoneResponse as MigrateEventsTimezoneResponseOriginal, type Multilingual as MultilingualOriginal, type OnlineMeetingInfo as OnlineMeetingInfoOriginal, type ParticipantNotification as ParticipantNotificationOriginal, type Participant as ParticipantOriginal, type Participants as ParticipantsOriginal, ParticipantsStatus as ParticipantsStatusOriginal, type ParticipantsStatusWithLiterals as ParticipantsStatusWithLiteralsOriginal, type Permission as PermissionOriginal, PlacementType as PlacementTypeOriginal, type PlacementTypeWithLiterals as PlacementTypeWithLiteralsOriginal, type PropertiesChange as PropertiesChangeOriginal, type Properties as PropertiesOriginal, type Provider as ProviderOriginal, type ProviderProviderInfoOneOf as ProviderProviderInfoOneOfOriginal, ProviderType as ProviderTypeOriginal, type ProviderTypeWithLiterals as ProviderTypeWithLiteralsOriginal, type QueryEventsRequest as QueryEventsRequestOriginal, type QueryEventsResponse as QueryEventsResponseOriginal, type RecurrenceRule as RecurrenceRuleOriginal, RecurrenceType as RecurrenceTypeOriginal, type RecurrenceTypeWithLiterals as RecurrenceTypeWithLiteralsOriginal, type RecurringEventSplit as RecurringEventSplitOriginal, RequestedFields as RequestedFieldsOriginal, type RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal, ResolutionMethod as ResolutionMethodOriginal, type ResolutionMethodWithLiterals as ResolutionMethodWithLiteralsOriginal, type Resource as ResourceOriginal, type RestoreEventDefaultsRequest as RestoreEventDefaultsRequestOriginal, type RestoreEventDefaultsResponse as RestoreEventDefaultsResponseOriginal, type RestoreInfo as RestoreInfoOriginal, Role as RoleOriginal, type RoleWithLiterals as RoleWithLiteralsOriginal, type SiteCloned as SiteClonedOriginal, type SiteCreated as SiteCreatedOriginal, type SitePropertiesEvent as SitePropertiesEventOriginal, type SitePropertiesNotification as SitePropertiesNotificationOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type SpecialHourPeriod as SpecialHourPeriodOriginal, type SplitRecurringEventRequest as SplitRecurringEventRequestOriginal, type SplitRecurringEventResponse as SplitRecurringEventResponseOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type SupportedLanguage as SupportedLanguageOriginal, type TimePeriod as TimePeriodOriginal, type Translation as TranslationOriginal, Transparency as TransparencyOriginal, type TransparencyWithLiterals as TransparencyWithLiteralsOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UpdateEventParticipantsRequest as UpdateEventParticipantsRequestOriginal, type UpdateEventParticipantsResponse as UpdateEventParticipantsResponseOriginal, type UpdateEventRequest as UpdateEventRequestOriginal, type UpdateEventResponse as UpdateEventResponseOriginal, type UpdateEventsWithFixedBusinessResourceIdRequest as UpdateEventsWithFixedBusinessResourceIdRequestOriginal, type UpdateEventsWithFixedBusinessResourceIdResponse as UpdateEventsWithFixedBusinessResourceIdResponseOriginal, type UpdateScheduleWithFixedBusinessResourceIdRequest as UpdateScheduleWithFixedBusinessResourceIdRequestOriginal, type UpdateScheduleWithFixedBusinessResourceIdResponse as UpdateScheduleWithFixedBusinessResourceIdResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type ZonedDate as ZonedDateOriginal, type __PublicMethodMetaInfo, bulkCancelEvent, bulkCreateEvent, bulkUpdateEvent, cancelEvent, createEvent, getEvent, listEvents, listEventsByContactId, listEventsByMemberId, queryEvents, restoreEventDefaults, splitRecurringEvent, updateEvent };
|
|
@@ -784,14 +784,6 @@ var IdentityType = /* @__PURE__ */ ((IdentityType2) => {
|
|
|
784
784
|
IdentityType2["WIX_USER"] = "WIX_USER";
|
|
785
785
|
return IdentityType2;
|
|
786
786
|
})(IdentityType || {});
|
|
787
|
-
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
788
|
-
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
789
|
-
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
790
|
-
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
791
|
-
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
792
|
-
WebhookIdentityType2["APP"] = "APP";
|
|
793
|
-
return WebhookIdentityType2;
|
|
794
|
-
})(WebhookIdentityType || {});
|
|
795
787
|
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
796
788
|
SortOrder2["ASC"] = "ASC";
|
|
797
789
|
SortOrder2["DESC"] = "DESC";
|
|
@@ -819,6 +811,14 @@ var ResolutionMethod = /* @__PURE__ */ ((ResolutionMethod2) => {
|
|
|
819
811
|
ResolutionMethod2["SUBDIRECTORY"] = "SUBDIRECTORY";
|
|
820
812
|
return ResolutionMethod2;
|
|
821
813
|
})(ResolutionMethod || {});
|
|
814
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
815
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
816
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
817
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
818
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
819
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
820
|
+
return WebhookIdentityType2;
|
|
821
|
+
})(WebhookIdentityType || {});
|
|
822
822
|
var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
|
|
823
823
|
RequestedFields2["PI_FIELDS"] = "PI_FIELDS";
|
|
824
824
|
RequestedFields2["OWN_PI_FIELDS"] = "OWN_PI_FIELDS";
|