wg-api-sdk 4.31.203 → 4.31.204

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.
@@ -1856,7 +1856,7 @@ interface paths {
1856
1856
  };
1857
1857
  /**
1858
1858
  * Get All Campaigns By Distribution
1859
- * @description Get all campaigns of a distribution.
1859
+ * @description Search the campaigns of your distribution, e.g. by name with `q`.
1860
1860
  */
1861
1861
  get: operations["get_all_campaigns_by_distribution_v1_api_campaigns_get"];
1862
1862
  put?: never;
@@ -6275,7 +6275,10 @@ interface paths {
6275
6275
  };
6276
6276
  /**
6277
6277
  * Get Insurance Policies
6278
- * @description Retrieve all insurance policies of the distribution, enriched with the party they belong to.
6278
+ * @description Search the insurance policies of your distribution.
6279
+ *
6280
+ * The search with `q` also matches the party name, so all policies of a customer can be found without searching parties first.
6281
+ * Simulations and cancelled policies are only returned when asked for with `status`.
6279
6282
  */
6280
6283
  get: operations["get_insurance_policies_v1_api_insurance_policies_get"];
6281
6284
  put?: never;
@@ -9936,7 +9939,9 @@ interface paths {
9936
9939
  };
9937
9940
  /**
9938
9941
  * Get All Parties By Distribution V2
9939
- * @description Get all parties by distribution (version 2).
9942
+ * @description Search the parties (customers and companies) of a distribution.
9943
+ *
9944
+ * Use this to find a party, e.g. by name with `q`, before looking up its insurance policies.
9940
9945
  */
9941
9946
  get: operations["get_all_parties_by_distribution_v2_v2_api_distributions__distribution_id__parties_get"];
9942
9947
  put?: never;
@@ -10762,7 +10767,7 @@ interface components {
10762
10767
  * Timestamp
10763
10768
  * Format: date-time
10764
10769
  * @description Timestamp of when the error occured
10765
- * @default 2026-11-11T17:39:43.591619
10770
+ * @default 2026-11-11T18:34:44.665874
10766
10771
  */
10767
10772
  timestamp: string;
10768
10773
  /**
package/dist/index.d.ts CHANGED
@@ -1856,7 +1856,7 @@ interface paths {
1856
1856
  };
1857
1857
  /**
1858
1858
  * Get All Campaigns By Distribution
1859
- * @description Get all campaigns of a distribution.
1859
+ * @description Search the campaigns of your distribution, e.g. by name with `q`.
1860
1860
  */
1861
1861
  get: operations["get_all_campaigns_by_distribution_v1_api_campaigns_get"];
1862
1862
  put?: never;
@@ -6275,7 +6275,10 @@ interface paths {
6275
6275
  };
6276
6276
  /**
6277
6277
  * Get Insurance Policies
6278
- * @description Retrieve all insurance policies of the distribution, enriched with the party they belong to.
6278
+ * @description Search the insurance policies of your distribution.
6279
+ *
6280
+ * The search with `q` also matches the party name, so all policies of a customer can be found without searching parties first.
6281
+ * Simulations and cancelled policies are only returned when asked for with `status`.
6279
6282
  */
6280
6283
  get: operations["get_insurance_policies_v1_api_insurance_policies_get"];
6281
6284
  put?: never;
@@ -9936,7 +9939,9 @@ interface paths {
9936
9939
  };
9937
9940
  /**
9938
9941
  * Get All Parties By Distribution V2
9939
- * @description Get all parties by distribution (version 2).
9942
+ * @description Search the parties (customers and companies) of a distribution.
9943
+ *
9944
+ * Use this to find a party, e.g. by name with `q`, before looking up its insurance policies.
9940
9945
  */
9941
9946
  get: operations["get_all_parties_by_distribution_v2_v2_api_distributions__distribution_id__parties_get"];
9942
9947
  put?: never;
@@ -10762,7 +10767,7 @@ interface components {
10762
10767
  * Timestamp
10763
10768
  * Format: date-time
10764
10769
  * @description Timestamp of when the error occured
10765
- * @default 2026-11-11T17:39:43.591619
10770
+ * @default 2026-11-11T18:34:44.665874
10766
10771
  */
10767
10772
  timestamp: string;
10768
10773
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wg-api-sdk",
3
- "version": "4.31.203",
3
+ "version": "4.31.204",
4
4
  "description": "An SDK that provides auto-generated fetch functions and types for interacting with WeGroup 's APIs, based on the OpenAPI specification file.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/esm/index.mjs",