@wix/crm 1.0.139 → 1.0.141

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,10 +1,13 @@
1
1
  {
2
2
  "name": "@wix/crm",
3
- "version": "1.0.139",
3
+ "version": "1.0.141",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
7
7
  },
8
+ "keywords": [
9
+ "wix-sdk-module=backend,page,public"
10
+ ],
8
11
  "sideEffects": false,
9
12
  "module": "build/es/index.js",
10
13
  "main": "build/cjs/index.js",
@@ -18,12 +21,12 @@
18
21
  "type-bundles"
19
22
  ],
20
23
  "dependencies": {
21
- "@wix/crm_attachments": "1.0.16",
22
- "@wix/crm_contacts": "1.0.51",
23
- "@wix/crm_extended-fields": "1.0.46",
24
- "@wix/crm_labels": "1.0.45",
25
- "@wix/crm_submitted-contact": "1.0.38",
26
- "@wix/crm_tasks": "1.0.44"
24
+ "@wix/crm_attachments": "1.0.17",
25
+ "@wix/crm_contacts": "1.0.52",
26
+ "@wix/crm_extended-fields": "1.0.47",
27
+ "@wix/crm_labels": "1.0.47",
28
+ "@wix/crm_submitted-contact": "1.0.39",
29
+ "@wix/crm_tasks": "1.0.45"
27
30
  },
28
31
  "devDependencies": {
29
32
  "glob": "^10.4.1",
@@ -48,5 +51,5 @@
48
51
  "fqdn": ""
49
52
  }
50
53
  },
51
- "falconPackageHash": "1bf353f66a520bdea6566d27e080ed4441f85d366ed320e83875889f"
54
+ "falconPackageHash": "5f043c60ffba832b8af57fda0b1e266ab4e4f3ebbe4d44baf6c46b8d"
52
55
  }
@@ -4034,10 +4034,13 @@ interface ContactLabel {
4034
4034
  _updatedDate?: Date | null;
4035
4035
  }
4036
4036
  declare enum LabelType {
4037
- /** Need UNKNOWN to be able to fetch all labels */
4037
+ /** Fetch all labels. */
4038
4038
  UNKNOWN = "UNKNOWN",
4039
+ /** Default system label for the Contact List. */
4039
4040
  SYSTEM = "SYSTEM",
4041
+ /** Label created by a site contributor or 3rd-party app. */
4040
4042
  USER_DEFINED = "USER_DEFINED",
4043
+ /** Label created by a Wix app. */
4041
4044
  WIX_APP_DEFINED = "WIX_APP_DEFINED"
4042
4045
  }
4043
4046
  /** Label filter options. */
@@ -4059,14 +4062,16 @@ interface Sorting$1 {
4059
4062
  /** Name of the field to sort by. */
4060
4063
  fieldName?: string;
4061
4064
  /**
4062
- * Sort order. Use `ASC` for ascending order or `DESC` for descending order.
4065
+ * Sort order.
4063
4066
  *
4064
- * Defaults to `ASC`.
4067
+ * Default: `ASC`.
4065
4068
  */
4066
4069
  order?: SortOrder$1;
4067
4070
  }
4068
4071
  declare enum SortOrder$1 {
4072
+ /** Sort by ascending order. */
4069
4073
  ASC = "ASC",
4074
+ /** Sort by descending order. */
4070
4075
  DESC = "DESC"
4071
4076
  }
4072
4077
  interface Paging$1 {
@@ -4428,11 +4433,11 @@ interface LabelCreatedEnvelope {
4428
4433
  entity: ContactLabel;
4429
4434
  metadata: EventMetadata$1;
4430
4435
  }
4431
- interface LabelUpdatedEnvelope {
4432
- entity: ContactLabel;
4436
+ interface LabelDeletedEnvelope {
4433
4437
  metadata: EventMetadata$1;
4434
4438
  }
4435
- interface LabelDeletedEnvelope {
4439
+ interface LabelUpdatedEnvelope {
4440
+ entity: ContactLabel;
4436
4441
  metadata: EventMetadata$1;
4437
4442
  }
4438
4443
  interface FindOrCreateLabelOptions {
@@ -4672,8 +4677,8 @@ interface QueryLabelsSignature {
4672
4677
  (options?: QueryLabelsOptions | undefined): LabelsQueryBuilder;
4673
4678
  }
4674
4679
  declare const onLabelCreated$1: EventDefinition<LabelCreatedEnvelope, "wix.contacts.v4.label_created">;
4675
- declare const onLabelUpdated$1: EventDefinition<LabelUpdatedEnvelope, "wix.contacts.v4.label_updated">;
4676
4680
  declare const onLabelDeleted$1: EventDefinition<LabelDeletedEnvelope, "wix.contacts.v4.label_deleted">;
4681
+ declare const onLabelUpdated$1: EventDefinition<LabelUpdatedEnvelope, "wix.contacts.v4.label_updated">;
4677
4682
 
4678
4683
  declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
4679
4684
 
@@ -4689,18 +4694,18 @@ type _publicOnLabelCreatedType = typeof onLabelCreated$1;
4689
4694
  */
4690
4695
  declare const onLabelCreated: ReturnType<typeof createEventModule$1<_publicOnLabelCreatedType>>;
4691
4696
 
4692
- type _publicOnLabelUpdatedType = typeof onLabelUpdated$1;
4693
- /**
4694
- * Triggered when a label is updated.
4695
- */
4696
- declare const onLabelUpdated: ReturnType<typeof createEventModule$1<_publicOnLabelUpdatedType>>;
4697
-
4698
4697
  type _publicOnLabelDeletedType = typeof onLabelDeleted$1;
4699
4698
  /**
4700
4699
  * Triggered when a label is deleted.
4701
4700
  */
4702
4701
  declare const onLabelDeleted: ReturnType<typeof createEventModule$1<_publicOnLabelDeletedType>>;
4703
4702
 
4703
+ type _publicOnLabelUpdatedType = typeof onLabelUpdated$1;
4704
+ /**
4705
+ * Triggered when a label is updated.
4706
+ */
4707
+ declare const onLabelUpdated: ReturnType<typeof createEventModule$1<_publicOnLabelUpdatedType>>;
4708
+
4704
4709
  type context$2_ContactLabel = ContactLabel;
4705
4710
  type context$2_ContactLabelNamespace = ContactLabelNamespace;
4706
4711
  type context$2_ContactLabelNonNullableFields = ContactLabelNonNullableFields;
@@ -4034,10 +4034,13 @@ interface ContactLabel {
4034
4034
  _updatedDate?: Date | null;
4035
4035
  }
4036
4036
  declare enum LabelType {
4037
- /** Need UNKNOWN to be able to fetch all labels */
4037
+ /** Fetch all labels. */
4038
4038
  UNKNOWN = "UNKNOWN",
4039
+ /** Default system label for the Contact List. */
4039
4040
  SYSTEM = "SYSTEM",
4041
+ /** Label created by a site contributor or 3rd-party app. */
4040
4042
  USER_DEFINED = "USER_DEFINED",
4043
+ /** Label created by a Wix app. */
4041
4044
  WIX_APP_DEFINED = "WIX_APP_DEFINED"
4042
4045
  }
4043
4046
  /** Label filter options. */
@@ -4059,14 +4062,16 @@ interface Sorting$1 {
4059
4062
  /** Name of the field to sort by. */
4060
4063
  fieldName?: string;
4061
4064
  /**
4062
- * Sort order. Use `ASC` for ascending order or `DESC` for descending order.
4065
+ * Sort order.
4063
4066
  *
4064
- * Defaults to `ASC`.
4067
+ * Default: `ASC`.
4065
4068
  */
4066
4069
  order?: SortOrder$1;
4067
4070
  }
4068
4071
  declare enum SortOrder$1 {
4072
+ /** Sort by ascending order. */
4069
4073
  ASC = "ASC",
4074
+ /** Sort by descending order. */
4070
4075
  DESC = "DESC"
4071
4076
  }
4072
4077
  interface Paging$1 {
@@ -4428,11 +4433,11 @@ interface LabelCreatedEnvelope {
4428
4433
  entity: ContactLabel;
4429
4434
  metadata: EventMetadata$1;
4430
4435
  }
4431
- interface LabelUpdatedEnvelope {
4432
- entity: ContactLabel;
4436
+ interface LabelDeletedEnvelope {
4433
4437
  metadata: EventMetadata$1;
4434
4438
  }
4435
- interface LabelDeletedEnvelope {
4439
+ interface LabelUpdatedEnvelope {
4440
+ entity: ContactLabel;
4436
4441
  metadata: EventMetadata$1;
4437
4442
  }
4438
4443
  interface FindOrCreateLabelOptions {
@@ -4672,8 +4677,8 @@ interface QueryLabelsSignature {
4672
4677
  (options?: QueryLabelsOptions | undefined): LabelsQueryBuilder;
4673
4678
  }
4674
4679
  declare const onLabelCreated$1: EventDefinition<LabelCreatedEnvelope, "wix.contacts.v4.label_created">;
4675
- declare const onLabelUpdated$1: EventDefinition<LabelUpdatedEnvelope, "wix.contacts.v4.label_updated">;
4676
4680
  declare const onLabelDeleted$1: EventDefinition<LabelDeletedEnvelope, "wix.contacts.v4.label_deleted">;
4681
+ declare const onLabelUpdated$1: EventDefinition<LabelUpdatedEnvelope, "wix.contacts.v4.label_updated">;
4677
4682
 
4678
4683
  declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
4679
4684
 
@@ -4689,18 +4694,18 @@ type _publicOnLabelCreatedType = typeof onLabelCreated$1;
4689
4694
  */
4690
4695
  declare const onLabelCreated: ReturnType<typeof createEventModule$1<_publicOnLabelCreatedType>>;
4691
4696
 
4692
- type _publicOnLabelUpdatedType = typeof onLabelUpdated$1;
4693
- /**
4694
- * Triggered when a label is updated.
4695
- */
4696
- declare const onLabelUpdated: ReturnType<typeof createEventModule$1<_publicOnLabelUpdatedType>>;
4697
-
4698
4697
  type _publicOnLabelDeletedType = typeof onLabelDeleted$1;
4699
4698
  /**
4700
4699
  * Triggered when a label is deleted.
4701
4700
  */
4702
4701
  declare const onLabelDeleted: ReturnType<typeof createEventModule$1<_publicOnLabelDeletedType>>;
4703
4702
 
4703
+ type _publicOnLabelUpdatedType = typeof onLabelUpdated$1;
4704
+ /**
4705
+ * Triggered when a label is updated.
4706
+ */
4707
+ declare const onLabelUpdated: ReturnType<typeof createEventModule$1<_publicOnLabelUpdatedType>>;
4708
+
4704
4709
  type index_d$2_ContactLabel = ContactLabel;
4705
4710
  type index_d$2_ContactLabelNamespace = ContactLabelNamespace;
4706
4711
  type index_d$2_ContactLabelNonNullableFields = ContactLabelNonNullableFields;
@@ -2649,10 +2649,6 @@ interface ContactLabel$1 {
2649
2649
  displayName?: string;
2650
2650
  /**
2651
2651
  * Label type indicating how the label was created.
2652
- *
2653
- * - `SYSTEM`: Default system label for the Contact List.
2654
- * - `USER_DEFINED`: Label created by a site contributor or 3rd-party app.
2655
- * - `WIX_APP_DEFINED`: Label created by a Wix app.
2656
2652
  * @readonly
2657
2653
  */
2658
2654
  labelType?: LabelType$1;
@@ -2668,24 +2664,29 @@ interface ContactLabel$1 {
2668
2664
  updatedDate?: Date | null;
2669
2665
  }
2670
2666
  declare enum LabelType$1 {
2671
- /** Need UNKNOWN to be able to fetch all labels */
2667
+ /** Fetch all labels. */
2672
2668
  UNKNOWN = "UNKNOWN",
2669
+ /** Default system label for the Contact List. */
2673
2670
  SYSTEM = "SYSTEM",
2671
+ /** Label created by a site contributor or 3rd-party app. */
2674
2672
  USER_DEFINED = "USER_DEFINED",
2673
+ /** Label created by a Wix app. */
2675
2674
  WIX_APP_DEFINED = "WIX_APP_DEFINED"
2676
2675
  }
2677
2676
  interface Sorting$3 {
2678
2677
  /** Name of the field to sort by. */
2679
2678
  fieldName?: string;
2680
2679
  /**
2681
- * Sort order. Use `ASC` for ascending order or `DESC` for descending order.
2680
+ * Sort order.
2682
2681
  *
2683
- * Defaults to `ASC`.
2682
+ * Default: `ASC`.
2684
2683
  */
2685
2684
  order?: SortOrder$3;
2686
2685
  }
2687
2686
  declare enum SortOrder$3 {
2687
+ /** Sort by ascending order. */
2688
2688
  ASC = "ASC",
2689
+ /** Sort by descending order. */
2689
2690
  DESC = "DESC"
2690
2691
  }
2691
2692
  interface Paging$1 {
@@ -2874,24 +2875,29 @@ interface ContactLabel {
2874
2875
  _updatedDate?: Date | null;
2875
2876
  }
2876
2877
  declare enum LabelType {
2877
- /** Need UNKNOWN to be able to fetch all labels */
2878
+ /** Fetch all labels. */
2878
2879
  UNKNOWN = "UNKNOWN",
2880
+ /** Default system label for the Contact List. */
2879
2881
  SYSTEM = "SYSTEM",
2882
+ /** Label created by a site contributor or 3rd-party app. */
2880
2883
  USER_DEFINED = "USER_DEFINED",
2884
+ /** Label created by a Wix app. */
2881
2885
  WIX_APP_DEFINED = "WIX_APP_DEFINED"
2882
2886
  }
2883
2887
  interface Sorting$2 {
2884
2888
  /** Name of the field to sort by. */
2885
2889
  fieldName?: string;
2886
2890
  /**
2887
- * Sort order. Use `ASC` for ascending order or `DESC` for descending order.
2891
+ * Sort order.
2888
2892
  *
2889
- * Defaults to `ASC`.
2893
+ * Default: `ASC`.
2890
2894
  */
2891
2895
  order?: SortOrder$2;
2892
2896
  }
2893
2897
  declare enum SortOrder$2 {
2898
+ /** Sort by ascending order. */
2894
2899
  ASC = "ASC",
2900
+ /** Sort by descending order. */
2895
2901
  DESC = "DESC"
2896
2902
  }
2897
2903
  interface Paging {