@wix/events 1.0.355 → 1.0.356

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/events",
3
- "version": "1.0.355",
3
+ "version": "1.0.356",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -26,7 +26,7 @@
26
26
  "@wix/events_guests": "1.0.83",
27
27
  "@wix/events_notifications": "1.0.43",
28
28
  "@wix/events_orders": "1.0.66",
29
- "@wix/events_policies": "1.0.53",
29
+ "@wix/events_policies": "1.0.54",
30
30
  "@wix/events_ricos": "1.0.26",
31
31
  "@wix/events_rsvp": "1.0.57",
32
32
  "@wix/events_rsvp-v-2": "1.0.27",
@@ -61,5 +61,5 @@
61
61
  "fqdn": ""
62
62
  }
63
63
  },
64
- "falconPackageHash": "95fabd83bddd7f4974ad0635eb71b05f870b85542c6942f0a107f813"
64
+ "falconPackageHash": "fecf76651bee651f4f9bdd7a49ea2d89e7fe952a405b1572905f459f"
65
65
  }
@@ -16654,11 +16654,11 @@ interface PolicyCreatedEnvelope {
16654
16654
  entity: Policy;
16655
16655
  metadata: EventMetadata$3;
16656
16656
  }
16657
- interface PolicyUpdatedEnvelope {
16658
- entity: Policy;
16657
+ interface PolicyDeletedEnvelope {
16659
16658
  metadata: EventMetadata$3;
16660
16659
  }
16661
- interface PolicyDeletedEnvelope {
16660
+ interface PolicyUpdatedEnvelope {
16661
+ entity: Policy;
16662
16662
  metadata: EventMetadata$3;
16663
16663
  }
16664
16664
  interface UpdatePolicy {
@@ -16869,8 +16869,8 @@ interface GetPolicySignature {
16869
16869
  (policyId: string): Promise<Policy & PolicyNonNullableFields>;
16870
16870
  }
16871
16871
  declare const onPolicyCreated$1: EventDefinition<PolicyCreatedEnvelope, "wix.events.v2.policy_created">;
16872
- declare const onPolicyUpdated$1: EventDefinition<PolicyUpdatedEnvelope, "wix.events.v2.policy_updated">;
16873
16872
  declare const onPolicyDeleted$1: EventDefinition<PolicyDeletedEnvelope, "wix.events.v2.policy_deleted">;
16873
+ declare const onPolicyUpdated$1: EventDefinition<PolicyUpdatedEnvelope, "wix.events.v2.policy_updated">;
16874
16874
 
16875
16875
  declare function createEventModule$3<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
16876
16876
 
@@ -16887,18 +16887,18 @@ type _publicOnPolicyCreatedType = typeof onPolicyCreated$1;
16887
16887
  */
16888
16888
  declare const onPolicyCreated: ReturnType<typeof createEventModule$3<_publicOnPolicyCreatedType>>;
16889
16889
 
16890
- type _publicOnPolicyUpdatedType = typeof onPolicyUpdated$1;
16891
- /**
16892
- * Triggered when a policy is updated.
16893
- */
16894
- declare const onPolicyUpdated: ReturnType<typeof createEventModule$3<_publicOnPolicyUpdatedType>>;
16895
-
16896
16890
  type _publicOnPolicyDeletedType = typeof onPolicyDeleted$1;
16897
16891
  /**
16898
16892
  * Triggered when a policy is deleted.
16899
16893
  */
16900
16894
  declare const onPolicyDeleted: ReturnType<typeof createEventModule$3<_publicOnPolicyDeletedType>>;
16901
16895
 
16896
+ type _publicOnPolicyUpdatedType = typeof onPolicyUpdated$1;
16897
+ /**
16898
+ * Triggered when a policy is updated.
16899
+ */
16900
+ declare const onPolicyUpdated: ReturnType<typeof createEventModule$3<_publicOnPolicyUpdatedType>>;
16901
+
16902
16902
  type context$3_CreatePolicyRequest = CreatePolicyRequest;
16903
16903
  type context$3_CreatePolicyResponse = CreatePolicyResponse;
16904
16904
  type context$3_CreatePolicyResponseNonNullableFields = CreatePolicyResponseNonNullableFields;
@@ -16654,11 +16654,11 @@ interface PolicyCreatedEnvelope {
16654
16654
  entity: Policy;
16655
16655
  metadata: EventMetadata$3;
16656
16656
  }
16657
- interface PolicyUpdatedEnvelope {
16658
- entity: Policy;
16657
+ interface PolicyDeletedEnvelope {
16659
16658
  metadata: EventMetadata$3;
16660
16659
  }
16661
- interface PolicyDeletedEnvelope {
16660
+ interface PolicyUpdatedEnvelope {
16661
+ entity: Policy;
16662
16662
  metadata: EventMetadata$3;
16663
16663
  }
16664
16664
  interface UpdatePolicy {
@@ -16869,8 +16869,8 @@ interface GetPolicySignature {
16869
16869
  (policyId: string): Promise<Policy & PolicyNonNullableFields>;
16870
16870
  }
16871
16871
  declare const onPolicyCreated$1: EventDefinition<PolicyCreatedEnvelope, "wix.events.v2.policy_created">;
16872
- declare const onPolicyUpdated$1: EventDefinition<PolicyUpdatedEnvelope, "wix.events.v2.policy_updated">;
16873
16872
  declare const onPolicyDeleted$1: EventDefinition<PolicyDeletedEnvelope, "wix.events.v2.policy_deleted">;
16873
+ declare const onPolicyUpdated$1: EventDefinition<PolicyUpdatedEnvelope, "wix.events.v2.policy_updated">;
16874
16874
 
16875
16875
  declare function createEventModule$3<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
16876
16876
 
@@ -16887,18 +16887,18 @@ type _publicOnPolicyCreatedType = typeof onPolicyCreated$1;
16887
16887
  */
16888
16888
  declare const onPolicyCreated: ReturnType<typeof createEventModule$3<_publicOnPolicyCreatedType>>;
16889
16889
 
16890
- type _publicOnPolicyUpdatedType = typeof onPolicyUpdated$1;
16891
- /**
16892
- * Triggered when a policy is updated.
16893
- */
16894
- declare const onPolicyUpdated: ReturnType<typeof createEventModule$3<_publicOnPolicyUpdatedType>>;
16895
-
16896
16890
  type _publicOnPolicyDeletedType = typeof onPolicyDeleted$1;
16897
16891
  /**
16898
16892
  * Triggered when a policy is deleted.
16899
16893
  */
16900
16894
  declare const onPolicyDeleted: ReturnType<typeof createEventModule$3<_publicOnPolicyDeletedType>>;
16901
16895
 
16896
+ type _publicOnPolicyUpdatedType = typeof onPolicyUpdated$1;
16897
+ /**
16898
+ * Triggered when a policy is updated.
16899
+ */
16900
+ declare const onPolicyUpdated: ReturnType<typeof createEventModule$3<_publicOnPolicyUpdatedType>>;
16901
+
16902
16902
  type index_d$3_CreatePolicyRequest = CreatePolicyRequest;
16903
16903
  type index_d$3_CreatePolicyResponse = CreatePolicyResponse;
16904
16904
  type index_d$3_CreatePolicyResponseNonNullableFields = CreatePolicyResponseNonNullableFields;