@pushwoosh/rpc-v2-http-api-data 0.2.293 → 0.2.295

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.
@@ -9,7 +9,7 @@ export type AlertError = 'ALERT_ERROR_UNSPECIFIED'
9
9
  /** warnings */
10
10
  | 'SUBSCRIBERS_QUOTA_ALMOST_REACHED' | 'EMAIL_QUOTA_ALMOST_REACHED'
11
11
  /** errors */
12
- | 'EMAIL_QUOTA_REACHED' | 'SUSPENDED_ACCOUNT' | 'MANUALLY_SUSPENDED_ACCOUNT' | 'APPLE_CERTIFICATE_EXPIRED' | 'PAYMENT_FAILED' | 'PLATFORM_DISABLED' | 'PAYMENT_OVERDUE' | 'PAYMENT_ATTEMPT_FAILED' | 'EMAIL_CONFIGURATION_NOT_COMPLETED' | 'EMAIL_SENDING_PAUSED_COMPLAINT_RATE' | 'EMAIL_SENDING_PAUSED_HARD_BOUNCE_RATE' | 'EMAIL_SENDING_PAUSED_BOTH_RATES' | 'IOS_DELIVERY_TRACKING_NOT_CONFIGURED' | 'IOS_DELIVERY_TRACKING_MISROUTED'
12
+ | 'EMAIL_QUOTA_REACHED' | 'SUSPENDED_ACCOUNT' | 'MANUALLY_SUSPENDED_ACCOUNT' | 'APPLE_CERTIFICATE_EXPIRED' | 'PAYMENT_FAILED' | 'PLATFORM_DISABLED' | 'PAYMENT_OVERDUE' | 'PAYMENT_ATTEMPT_FAILED' | 'EMAIL_CONFIGURATION_NOT_COMPLETED' | 'EMAIL_SENDING_PAUSED_COMPLAINT_RATE' | 'EMAIL_SENDING_PAUSED_HARD_BOUNCE_RATE' | 'EMAIL_SENDING_PAUSED_BOTH_RATES' | 'IOS_DELIVERY_TRACKING_NOT_CONFIGURED' | 'IOS_DELIVERY_TRACKING_MISROUTED' | 'PLATFORM_OPENS_NOT_TRACKED'
13
13
  /** recommendation */
14
14
  | 'SDK_INTEGRATION' | 'THIRD_PARTY_INTEGRATION';
15
15
  export type Alert = {
package/data.js CHANGED
@@ -6034,6 +6034,7 @@ export const data = {
6034
6034
  "EMAIL_SENDING_PAUSED_BOTH_RATES",
6035
6035
  "IOS_DELIVERY_TRACKING_NOT_CONFIGURED",
6036
6036
  "IOS_DELIVERY_TRACKING_MISROUTED",
6037
+ "PLATFORM_OPENS_NOT_TRACKED",
6037
6038
  "SDK_INTEGRATION",
6038
6039
  "THIRD_PARTY_INTEGRATION"
6039
6040
  ]
@@ -18641,6 +18642,12 @@ export const data = {
18641
18642
  "method": "post",
18642
18643
  "path": "/api/integrations/google-ads/ad-accounts/{ad_account_id}/audiences"
18643
18644
  },
18645
+ "DeleteGoogleAdsAudience": {
18646
+ "request": "pushwoosh.rpc_v2.integrations.DeleteGoogleAdsAudienceRequest",
18647
+ "response": "pushwoosh.rpc_v2.integrations.DeleteGoogleAdsAudienceResponse",
18648
+ "method": "delete",
18649
+ "path": "/api/integrations/google-ads/ad-accounts/{ad_account_id}/audiences/{audience_id}"
18650
+ },
18644
18651
  "SetMetaTagMapping": {
18645
18652
  "request": "pushwoosh.rpc_v2.integrations.SetMetaTagMappingRequest",
18646
18653
  "response": "pushwoosh.rpc_v2.integrations.SetMetaTagMappingResponse",
@@ -19790,6 +19797,21 @@ export const data = {
19790
19797
  }
19791
19798
  }
19792
19799
  },
19800
+ "pushwoosh.rpc_v2.integrations.DeleteGoogleAdsAudienceRequest": {
19801
+ "type": "I",
19802
+ "fields": {
19803
+ "adAccountId": {
19804
+ "type": "string"
19805
+ },
19806
+ "audienceId": {
19807
+ "type": "string"
19808
+ }
19809
+ }
19810
+ },
19811
+ "pushwoosh.rpc_v2.integrations.DeleteGoogleAdsAudienceResponse": {
19812
+ "type": "I",
19813
+ "fields": {}
19814
+ },
19793
19815
  "pushwoosh.rpc_v2.integrations.DisconnectGoogleAdsAdAccountsResponse": {
19794
19816
  "type": "I",
19795
19817
  "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.293",
3
+ "version": "0.2.295",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",