@pushwoosh/rpc-v2-http-api-data 0.2.292 → 0.2.294

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/data.js CHANGED
@@ -18641,6 +18641,12 @@ export const data = {
18641
18641
  "method": "post",
18642
18642
  "path": "/api/integrations/google-ads/ad-accounts/{ad_account_id}/audiences"
18643
18643
  },
18644
+ "DeleteGoogleAdsAudience": {
18645
+ "request": "pushwoosh.rpc_v2.integrations.DeleteGoogleAdsAudienceRequest",
18646
+ "response": "pushwoosh.rpc_v2.integrations.DeleteGoogleAdsAudienceResponse",
18647
+ "method": "delete",
18648
+ "path": "/api/integrations/google-ads/ad-accounts/{ad_account_id}/audiences/{audience_id}"
18649
+ },
18644
18650
  "SetMetaTagMapping": {
18645
18651
  "request": "pushwoosh.rpc_v2.integrations.SetMetaTagMappingRequest",
18646
18652
  "response": "pushwoosh.rpc_v2.integrations.SetMetaTagMappingResponse",
@@ -19790,6 +19796,21 @@ export const data = {
19790
19796
  }
19791
19797
  }
19792
19798
  },
19799
+ "pushwoosh.rpc_v2.integrations.DeleteGoogleAdsAudienceRequest": {
19800
+ "type": "I",
19801
+ "fields": {
19802
+ "adAccountId": {
19803
+ "type": "string"
19804
+ },
19805
+ "audienceId": {
19806
+ "type": "string"
19807
+ }
19808
+ }
19809
+ },
19810
+ "pushwoosh.rpc_v2.integrations.DeleteGoogleAdsAudienceResponse": {
19811
+ "type": "I",
19812
+ "fields": {}
19813
+ },
19793
19814
  "pushwoosh.rpc_v2.integrations.DisconnectGoogleAdsAdAccountsResponse": {
19794
19815
  "type": "I",
19795
19816
  "fields": {
package/integrations.d.ts CHANGED
@@ -36,6 +36,7 @@ export type IntegrationsService_ConnectGoogleAdsAdAccounts = RpcMethod<ConnectGo
36
36
  export type IntegrationsService_DisconnectGoogleAdsAdAccounts = RpcMethod<DisconnectGoogleAdsAdAccountsRequest, DisconnectGoogleAdsAdAccountsResponse>;
37
37
  export type IntegrationsService_ListGoogleAdsAudiences = RpcMethod<ListGoogleAdsAudiencesRequest, ListGoogleAdsAudiencesResponse>;
38
38
  export type IntegrationsService_CreateGoogleAdsAudience = RpcMethod<CreateGoogleAdsAudienceRequest, CreateGoogleAdsAudienceResponse>;
39
+ export type IntegrationsService_DeleteGoogleAdsAudience = RpcMethod<DeleteGoogleAdsAudienceRequest, DeleteGoogleAdsAudienceResponse>;
39
40
  export type IntegrationsService_SetMetaTagMapping = RpcMethod<SetMetaTagMappingRequest, SetMetaTagMappingResponse>;
40
41
  export type IntegrationsService_GetGoogleBQConfiguration = RpcMethod<GetGoogleBQConfigurationRequest, GetGoogleBQConfigurationResponse>;
41
42
  export type IntegrationsService_CreateGoogleBQConfiguration = RpcMethod<CreateGoogleBQConfigurationRequest, CreateGoogleBQConfigurationResponse>;
@@ -148,6 +149,8 @@ export interface IntegrationsService {
148
149
  ListGoogleAdsAudiences: IntegrationsService_ListGoogleAdsAudiences;
149
150
  /** Creates a CRM-based user list on a connected Google Ads ad account. Use before syncing users: a Customer Match upload targets a list that already exists. */
150
151
  CreateGoogleAdsAudience: IntegrationsService_CreateGoogleAdsAudience;
152
+ /** Deletes a CRM-based user list at Google. Removal is permanent and every journey audience sync step pointing at the list stops working, so ask the user first. */
153
+ DeleteGoogleAdsAudience: IntegrationsService_DeleteGoogleAdsAudience;
151
154
  /** Overwrites the mapping between Pushwoosh tags and Meta custom-audience fields for the current account. Use to define which PW tags sync to Meta audiences; replaces the entire mapping. */
152
155
  SetMetaTagMapping: IntegrationsService_SetMetaTagMapping;
153
156
  /**
@@ -628,6 +631,11 @@ export type CreateGoogleAdsAudienceRequest = {
628
631
  export type CreateGoogleAdsAudienceResponse = {
629
632
  audience: GoogleAdsAudience;
630
633
  };
634
+ export type DeleteGoogleAdsAudienceRequest = {
635
+ adAccountId?: string;
636
+ audienceId?: string;
637
+ };
638
+ export type DeleteGoogleAdsAudienceResponse = {};
631
639
  export type DisconnectGoogleAdsAdAccountsResponse = {
632
640
  adAccounts: GoogleAdsAdAccount[];
633
641
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.292",
3
+ "version": "0.2.294",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",