@zernio/node 0.2.123 → 0.2.124

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/dist/index.d.mts CHANGED
@@ -14641,20 +14641,16 @@ type AddConversionAssociationsError = (unknown | {
14641
14641
  error?: string;
14642
14642
  });
14643
14643
  type RemoveConversionAssociationsData = {
14644
- body?: {
14645
- adAccountId?: string;
14646
- campaignIds?: Array<(string)>;
14647
- };
14648
14644
  path: {
14649
14645
  accountId: string;
14650
14646
  destinationId: string;
14651
14647
  };
14652
- query?: {
14653
- adAccountId?: string;
14648
+ query: {
14649
+ adAccountId: string;
14654
14650
  /**
14655
- * Comma-separated list.
14651
+ * Comma-separated list of campaign IDs.
14656
14652
  */
14657
- campaignIds?: string;
14653
+ campaignIds: string;
14658
14654
  };
14659
14655
  };
14660
14656
  type RemoveConversionAssociationsResponse = ({
package/dist/index.d.ts CHANGED
@@ -14641,20 +14641,16 @@ type AddConversionAssociationsError = (unknown | {
14641
14641
  error?: string;
14642
14642
  });
14643
14643
  type RemoveConversionAssociationsData = {
14644
- body?: {
14645
- adAccountId?: string;
14646
- campaignIds?: Array<(string)>;
14647
- };
14648
14644
  path: {
14649
14645
  accountId: string;
14650
14646
  destinationId: string;
14651
14647
  };
14652
- query?: {
14653
- adAccountId?: string;
14648
+ query: {
14649
+ adAccountId: string;
14654
14650
  /**
14655
- * Comma-separated list.
14651
+ * Comma-separated list of campaign IDs.
14656
14652
  */
14657
- campaignIds?: string;
14653
+ campaignIds: string;
14658
14654
  };
14659
14655
  };
14660
14656
  type RemoveConversionAssociationsResponse = ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.123",
3
+ "version": "0.2.124",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -3811,9 +3811,12 @@ export const addConversionAssociations = <ThrowOnError extends boolean = false>(
3811
3811
  /**
3812
3812
  * Remove campaign↔conversion associations
3813
3813
  * Remove one or more campaign associations from this conversion rule.
3814
- * Accepts `adAccountId` and `campaignIds` either as query parameters
3815
- * (campaignIds comma-separated) or as a JSON body, for clients that
3816
- * can't send DELETE bodies.
3814
+ * Pass `adAccountId` and `campaignIds` as query parameters
3815
+ * (`campaignIds` is comma-separated). The route also accepts a JSON
3816
+ * body with the same fields for clients that prefer DELETE-with-body,
3817
+ * but the documented surface is query-only because some SDK code
3818
+ * generators (e.g. Python) collapse query + body parameters with the
3819
+ * same name into a single kwarg.
3817
3820
  *
3818
3821
  */
3819
3822
  export const removeConversionAssociations = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<RemoveConversionAssociationsData, ThrowOnError>) => {
@@ -15028,20 +15028,16 @@ export type AddConversionAssociationsError = (unknown | {
15028
15028
  });
15029
15029
 
15030
15030
  export type RemoveConversionAssociationsData = {
15031
- body?: {
15032
- adAccountId?: string;
15033
- campaignIds?: Array<(string)>;
15034
- };
15035
15031
  path: {
15036
15032
  accountId: string;
15037
15033
  destinationId: string;
15038
15034
  };
15039
- query?: {
15040
- adAccountId?: string;
15035
+ query: {
15036
+ adAccountId: string;
15041
15037
  /**
15042
- * Comma-separated list.
15038
+ * Comma-separated list of campaign IDs.
15043
15039
  */
15044
- campaignIds?: string;
15040
+ campaignIds: string;
15045
15041
  };
15046
15042
  };
15047
15043