@wix/auto_sdk_members_members 1.0.113 → 1.0.115

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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +23 -69
  2. package/build/cjs/index.js +74 -2763
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +68 -62
  5. package/build/cjs/index.typings.js +24 -2713
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +64 -64
  8. package/build/cjs/meta.js.map +1 -1
  9. package/build/cjs/schemas.d.ts +4 -4
  10. package/build/es/index.d.mts +23 -69
  11. package/build/es/index.mjs +74 -2753
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +68 -62
  14. package/build/es/index.typings.mjs +24 -2703
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +64 -64
  17. package/build/es/meta.mjs.map +1 -1
  18. package/build/es/schemas.d.mts +4 -4
  19. package/build/internal/cjs/index.d.ts +23 -69
  20. package/build/internal/cjs/index.js +74 -2763
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +68 -62
  23. package/build/internal/cjs/index.typings.js +24 -2713
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +64 -64
  26. package/build/internal/cjs/meta.js.map +1 -1
  27. package/build/internal/cjs/schemas.d.ts +4 -4
  28. package/build/internal/es/index.d.mts +23 -69
  29. package/build/internal/es/index.mjs +74 -2753
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +68 -62
  32. package/build/internal/es/index.typings.mjs +24 -2703
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +64 -64
  35. package/build/internal/es/meta.mjs.map +1 -1
  36. package/build/internal/es/schemas.d.mts +4 -4
  37. package/package.json +2 -2
@@ -964,68 +964,6 @@ interface DeleteMemberAddressesResponse {
964
964
  }
965
965
  interface Empty {
966
966
  }
967
- interface DomainEvent extends DomainEventBodyOneOf {
968
- createdEvent?: EntityCreatedEvent;
969
- updatedEvent?: EntityUpdatedEvent;
970
- deletedEvent?: EntityDeletedEvent;
971
- actionEvent?: ActionEvent;
972
- /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
973
- _id?: string;
974
- /**
975
- * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
976
- * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
977
- */
978
- entityFqdn?: string;
979
- /**
980
- * Event action name, placed at the top level to make it easier for users to dispatch messages.
981
- * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
982
- */
983
- slug?: string;
984
- /** ID of the entity associated with the event. */
985
- entityId?: string;
986
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
987
- eventTime?: Date | null;
988
- /**
989
- * Whether the event was triggered as a result of a privacy regulation application
990
- * (for example, GDPR).
991
- */
992
- triggeredByAnonymizeRequest?: boolean | null;
993
- /** If present, indicates the action that triggered the event. */
994
- originatedFrom?: string | null;
995
- /**
996
- * 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.
997
- * 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.
998
- */
999
- entityEventSequence?: string | null;
1000
- }
1001
- /** @oneof */
1002
- interface DomainEventBodyOneOf {
1003
- createdEvent?: EntityCreatedEvent;
1004
- updatedEvent?: EntityUpdatedEvent;
1005
- deletedEvent?: EntityDeletedEvent;
1006
- actionEvent?: ActionEvent;
1007
- }
1008
- interface EntityCreatedEvent {
1009
- entity?: string;
1010
- }
1011
- interface RestoreInfo {
1012
- deletedDate?: Date | null;
1013
- }
1014
- interface EntityUpdatedEvent {
1015
- /**
1016
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
1017
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
1018
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
1019
- */
1020
- currentEntity?: string;
1021
- }
1022
- interface EntityDeletedEvent {
1023
- /** Entity that was deleted. */
1024
- deletedEntity?: string | null;
1025
- }
1026
- interface ActionEvent {
1027
- body?: string;
1028
- }
1029
967
  interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
1030
968
  /** Emitted on a meta site creation. */
1031
969
  siteCreated?: SiteCreated;
@@ -1553,6 +1491,68 @@ interface MemberOwnershipTransferred {
1553
1491
  fromMember?: Member;
1554
1492
  toMember?: Member;
1555
1493
  }
1494
+ interface DomainEvent extends DomainEventBodyOneOf {
1495
+ createdEvent?: EntityCreatedEvent;
1496
+ updatedEvent?: EntityUpdatedEvent;
1497
+ deletedEvent?: EntityDeletedEvent;
1498
+ actionEvent?: ActionEvent;
1499
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1500
+ _id?: string;
1501
+ /**
1502
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1503
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1504
+ */
1505
+ entityFqdn?: string;
1506
+ /**
1507
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1508
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1509
+ */
1510
+ slug?: string;
1511
+ /** ID of the entity associated with the event. */
1512
+ entityId?: string;
1513
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1514
+ eventTime?: Date | null;
1515
+ /**
1516
+ * Whether the event was triggered as a result of a privacy regulation application
1517
+ * (for example, GDPR).
1518
+ */
1519
+ triggeredByAnonymizeRequest?: boolean | null;
1520
+ /** If present, indicates the action that triggered the event. */
1521
+ originatedFrom?: string | null;
1522
+ /**
1523
+ * 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.
1524
+ * 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.
1525
+ */
1526
+ entityEventSequence?: string | null;
1527
+ }
1528
+ /** @oneof */
1529
+ interface DomainEventBodyOneOf {
1530
+ createdEvent?: EntityCreatedEvent;
1531
+ updatedEvent?: EntityUpdatedEvent;
1532
+ deletedEvent?: EntityDeletedEvent;
1533
+ actionEvent?: ActionEvent;
1534
+ }
1535
+ interface EntityCreatedEvent {
1536
+ entity?: string;
1537
+ }
1538
+ interface RestoreInfo {
1539
+ deletedDate?: Date | null;
1540
+ }
1541
+ interface EntityUpdatedEvent {
1542
+ /**
1543
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
1544
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
1545
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
1546
+ */
1547
+ currentEntity?: string;
1548
+ }
1549
+ interface EntityDeletedEvent {
1550
+ /** Entity that was deleted. */
1551
+ deletedEntity?: string | null;
1552
+ }
1553
+ interface ActionEvent {
1554
+ body?: string;
1555
+ }
1556
1556
  interface MemberIdChanged {
1557
1557
  /** @format GUID */
1558
1558
  fromId?: string;
@@ -1795,6 +1795,8 @@ interface MemberCreatedEnvelope {
1795
1795
  * @permissionScopeId SCOPE.DC-CONTACTS-MEGA.READ-MEMBERS-CONTACTS
1796
1796
  * @permissionScope Manage Restaurants - all permissions
1797
1797
  * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1798
+ * @permissionScope View Site Analytics
1799
+ * @permissionScopeId SCOPE.MEDIA.VIEW-SITE-ANALYTICS
1798
1800
  * @permissionScope Read Members
1799
1801
  * @permissionScopeId SCOPE.DC-MEMBERS.READ-MEMBERS
1800
1802
  * @permissionScope Set Up Automations
@@ -1835,6 +1837,8 @@ interface MemberDeletedEnvelope {
1835
1837
  * @permissionScopeId SCOPE.DC-CONTACTS-MEGA.READ-MEMBERS-CONTACTS
1836
1838
  * @permissionScope Manage Restaurants - all permissions
1837
1839
  * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1840
+ * @permissionScope View Site Analytics
1841
+ * @permissionScopeId SCOPE.MEDIA.VIEW-SITE-ANALYTICS
1838
1842
  * @permissionScope Read Members
1839
1843
  * @permissionScopeId SCOPE.DC-MEMBERS.READ-MEMBERS
1840
1844
  * @permissionScope Set Up Automations
@@ -1874,6 +1878,8 @@ interface MemberUpdatedEnvelope {
1874
1878
  * @permissionScopeId SCOPE.DC-CONTACTS-MEGA.READ-MEMBERS-CONTACTS
1875
1879
  * @permissionScope Manage Restaurants - all permissions
1876
1880
  * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1881
+ * @permissionScope View Site Analytics
1882
+ * @permissionScopeId SCOPE.MEDIA.VIEW-SITE-ANALYTICS
1877
1883
  * @permissionScope Read Members
1878
1884
  * @permissionScopeId SCOPE.DC-MEMBERS.READ-MEMBERS
1879
1885
  * @permissionScope Set Up Automations