@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
@@ -962,70 +962,6 @@ interface DeleteMemberAddressesResponse {
962
962
  }
963
963
  interface Empty {
964
964
  }
965
- interface DomainEvent extends DomainEventBodyOneOf {
966
- createdEvent?: EntityCreatedEvent;
967
- updatedEvent?: EntityUpdatedEvent;
968
- deletedEvent?: EntityDeletedEvent;
969
- actionEvent?: ActionEvent;
970
- /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
971
- id?: string;
972
- /**
973
- * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
974
- * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
975
- */
976
- entityFqdn?: string;
977
- /**
978
- * Event action name, placed at the top level to make it easier for users to dispatch messages.
979
- * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
980
- */
981
- slug?: string;
982
- /** ID of the entity associated with the event. */
983
- entityId?: string;
984
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
985
- eventTime?: Date | null;
986
- /**
987
- * Whether the event was triggered as a result of a privacy regulation application
988
- * (for example, GDPR).
989
- */
990
- triggeredByAnonymizeRequest?: boolean | null;
991
- /** If present, indicates the action that triggered the event. */
992
- originatedFrom?: string | null;
993
- /**
994
- * 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.
995
- * 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.
996
- */
997
- entityEventSequence?: string | null;
998
- }
999
- /** @oneof */
1000
- interface DomainEventBodyOneOf {
1001
- createdEvent?: EntityCreatedEvent;
1002
- updatedEvent?: EntityUpdatedEvent;
1003
- deletedEvent?: EntityDeletedEvent;
1004
- actionEvent?: ActionEvent;
1005
- }
1006
- interface EntityCreatedEvent {
1007
- entityAsJson?: string;
1008
- /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
1009
- restoreInfo?: RestoreInfo;
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
- currentEntityAsJson?: string;
1021
- }
1022
- interface EntityDeletedEvent {
1023
- /** Entity that was deleted. */
1024
- deletedEntityAsJson?: string | null;
1025
- }
1026
- interface ActionEvent {
1027
- bodyAsJson?: string;
1028
- }
1029
965
  interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
1030
966
  /** Emitted on a meta site creation. */
1031
967
  siteCreated?: SiteCreated;
@@ -1553,6 +1489,70 @@ interface MemberOwnershipTransferred {
1553
1489
  fromMember?: Member;
1554
1490
  toMember?: Member;
1555
1491
  }
1492
+ interface DomainEvent extends DomainEventBodyOneOf {
1493
+ createdEvent?: EntityCreatedEvent;
1494
+ updatedEvent?: EntityUpdatedEvent;
1495
+ deletedEvent?: EntityDeletedEvent;
1496
+ actionEvent?: ActionEvent;
1497
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1498
+ id?: string;
1499
+ /**
1500
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1501
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1502
+ */
1503
+ entityFqdn?: string;
1504
+ /**
1505
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1506
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1507
+ */
1508
+ slug?: string;
1509
+ /** ID of the entity associated with the event. */
1510
+ entityId?: string;
1511
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1512
+ eventTime?: Date | null;
1513
+ /**
1514
+ * Whether the event was triggered as a result of a privacy regulation application
1515
+ * (for example, GDPR).
1516
+ */
1517
+ triggeredByAnonymizeRequest?: boolean | null;
1518
+ /** If present, indicates the action that triggered the event. */
1519
+ originatedFrom?: string | null;
1520
+ /**
1521
+ * 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.
1522
+ * 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.
1523
+ */
1524
+ entityEventSequence?: string | null;
1525
+ }
1526
+ /** @oneof */
1527
+ interface DomainEventBodyOneOf {
1528
+ createdEvent?: EntityCreatedEvent;
1529
+ updatedEvent?: EntityUpdatedEvent;
1530
+ deletedEvent?: EntityDeletedEvent;
1531
+ actionEvent?: ActionEvent;
1532
+ }
1533
+ interface EntityCreatedEvent {
1534
+ entityAsJson?: string;
1535
+ /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
1536
+ restoreInfo?: RestoreInfo;
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
+ currentEntityAsJson?: string;
1548
+ }
1549
+ interface EntityDeletedEvent {
1550
+ /** Entity that was deleted. */
1551
+ deletedEntityAsJson?: string | null;
1552
+ }
1553
+ interface ActionEvent {
1554
+ bodyAsJson?: string;
1555
+ }
1556
1556
  interface MemberIdChanged {
1557
1557
  /** @format GUID */
1558
1558
  fromId?: string;