@pushwoosh/rpc-v2-http-api-data 0.1.837 → 0.1.839

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
@@ -6755,6 +6755,24 @@ export const data = {
6755
6755
  "response": "pushwoosh.rpc_v2.emails_configurations.DeleteDomainResponse",
6756
6756
  "method": "delete",
6757
6757
  "path": "/api/emails_configurations/domains"
6758
+ },
6759
+ "GetCustomTrackingDomain": {
6760
+ "request": "pushwoosh.rpc_v2.emails_configurations.GetCustomTrackingDomainRequest",
6761
+ "response": "pushwoosh.rpc_v2.emails_configurations.GetCustomTrackingDomainResponse",
6762
+ "method": "get",
6763
+ "path": "/api/emails_configurations/custom_tracking_domain"
6764
+ },
6765
+ "UpsertCustomTrackingDomain": {
6766
+ "request": "pushwoosh.rpc_v2.emails_configurations.UpsertCustomTrackingDomainRequest",
6767
+ "response": "pushwoosh.rpc_v2.emails_configurations.UpsertCustomTrackingDomainResponse",
6768
+ "method": "post",
6769
+ "path": "/api/emails_configurations/custom_tracking_domain"
6770
+ },
6771
+ "DeleteCustomTrackingDomain": {
6772
+ "request": "pushwoosh.rpc_v2.emails_configurations.DeleteCustomTrackingDomainRequest",
6773
+ "response": "pushwoosh.rpc_v2.emails_configurations.DeleteCustomTrackingDomainResponse",
6774
+ "method": "delete",
6775
+ "path": "/api/emails_configurations/custom_tracking_domain"
6758
6776
  }
6759
6777
  }
6760
6778
  },
@@ -6856,6 +6874,49 @@ export const data = {
6856
6874
  "type": "I",
6857
6875
  "fields": {}
6858
6876
  },
6877
+ "pushwoosh.rpc_v2.emails_configurations.GetCustomTrackingDomainRequest": {
6878
+ "type": "I",
6879
+ "fields": {
6880
+ "application": {
6881
+ "type": "string"
6882
+ }
6883
+ }
6884
+ },
6885
+ "pushwoosh.rpc_v2.emails_configurations.GetCustomTrackingDomainResponse": {
6886
+ "type": "I",
6887
+ "fields": {
6888
+ "customTrackingDomain": {
6889
+ "type": "string"
6890
+ }
6891
+ }
6892
+ },
6893
+ "pushwoosh.rpc_v2.emails_configurations.UpsertCustomTrackingDomainRequest": {
6894
+ "type": "I",
6895
+ "fields": {
6896
+ "customTrackingDomain": {
6897
+ "type": "string"
6898
+ },
6899
+ "application": {
6900
+ "type": "string"
6901
+ }
6902
+ }
6903
+ },
6904
+ "pushwoosh.rpc_v2.emails_configurations.UpsertCustomTrackingDomainResponse": {
6905
+ "type": "I",
6906
+ "fields": {}
6907
+ },
6908
+ "pushwoosh.rpc_v2.emails_configurations.DeleteCustomTrackingDomainRequest": {
6909
+ "type": "I",
6910
+ "fields": {
6911
+ "application": {
6912
+ "type": "string"
6913
+ }
6914
+ }
6915
+ },
6916
+ "pushwoosh.rpc_v2.emails_configurations.DeleteCustomTrackingDomainResponse": {
6917
+ "type": "I",
6918
+ "fields": {}
6919
+ },
6859
6920
  "pushwoosh.rpc.errors.v3.I18NOptions": {
6860
6921
  "type": "I",
6861
6922
  "fields": {
@@ -10557,6 +10618,42 @@ export const data = {
10557
10618
  "response": "pushwoosh.rpc_v2.integrations.DeleteStripeConfigurationResponse",
10558
10619
  "method": "delete",
10559
10620
  "path": "/api/integrations/configurations/stripe"
10621
+ },
10622
+ "GetMetaAuthURL": {
10623
+ "request": "pushwoosh.rpc_v2.integrations.GetMetaAuthURLRequest",
10624
+ "response": "pushwoosh.rpc_v2.integrations.GetMetaAuthURLResponse",
10625
+ "method": "get",
10626
+ "path": "/api/integrations/meta/auth"
10627
+ },
10628
+ "HandleMetaAuthCallback": {
10629
+ "request": "pushwoosh.rpc_v2.integrations.HandleMetaAuthCallbackRequest",
10630
+ "response": "pushwoosh.rpc_v2.integrations.HandleMetaAuthCallbackResponse",
10631
+ "method": "post",
10632
+ "path": "/api/integrations/meta/auth/callback"
10633
+ },
10634
+ "GetMetaConfiguration": {
10635
+ "request": "pushwoosh.rpc_v2.integrations.GetMetaConfigurationRequest",
10636
+ "response": "pushwoosh.rpc_v2.integrations.GetMetaConfigurationResponse",
10637
+ "method": "get",
10638
+ "path": "/api/integrations/configurations/meta"
10639
+ },
10640
+ "DeleteMetaConfiguration": {
10641
+ "request": "pushwoosh.rpc_v2.integrations.DeleteMetaConfigurationRequest",
10642
+ "response": "pushwoosh.rpc_v2.integrations.DeleteMetaConfigurationResponse",
10643
+ "method": "delete",
10644
+ "path": "/api/integrations/configurations/meta"
10645
+ },
10646
+ "DisconnectMetaAdAccount": {
10647
+ "request": "pushwoosh.rpc_v2.integrations.DisconnectMetaAdAccountRequest",
10648
+ "response": "pushwoosh.rpc_v2.integrations.DisconnectMetaAdAccountResponse",
10649
+ "method": "post",
10650
+ "path": "/api/integrations/meta/ad-accounts/disconnect"
10651
+ },
10652
+ "RefreshMetaConnection": {
10653
+ "request": "pushwoosh.rpc_v2.integrations.RefreshMetaConnectionRequest",
10654
+ "response": "pushwoosh.rpc_v2.integrations.RefreshMetaConnectionResponse",
10655
+ "method": "post",
10656
+ "path": "/api/integrations/meta/refresh"
10560
10657
  }
10561
10658
  }
10562
10659
  },
@@ -10569,7 +10666,8 @@ export const data = {
10569
10666
  "WEBHOOK",
10570
10667
  "HUBSPOT",
10571
10668
  "SHOPIFY",
10572
- "STRIPE"
10669
+ "STRIPE",
10670
+ "META"
10573
10671
  ]
10574
10672
  },
10575
10673
  "pushwoosh.rpc_v2.integrations.ImportSegmentPianoRequest": {
@@ -10955,6 +11053,109 @@ export const data = {
10955
11053
  "type": "I",
10956
11054
  "fields": {}
10957
11055
  },
11056
+ "pushwoosh.rpc_v2.integrations.GetMetaAuthURLRequest": {
11057
+ "type": "I",
11058
+ "fields": {
11059
+ "redirectUri": {
11060
+ "type": "string"
11061
+ }
11062
+ }
11063
+ },
11064
+ "pushwoosh.rpc_v2.integrations.GetMetaAuthURLResponse": {
11065
+ "type": "I",
11066
+ "fields": {
11067
+ "authUrl": {
11068
+ "type": "string"
11069
+ }
11070
+ }
11071
+ },
11072
+ "pushwoosh.rpc_v2.integrations.HandleMetaAuthCallbackRequest": {
11073
+ "type": "I",
11074
+ "fields": {
11075
+ "code": {
11076
+ "type": "string"
11077
+ },
11078
+ "redirectUri": {
11079
+ "type": "string"
11080
+ },
11081
+ "applicationCode": {
11082
+ "type": "string"
11083
+ }
11084
+ }
11085
+ },
11086
+ "pushwoosh.rpc_v2.integrations.HandleMetaAuthCallbackResponse": {
11087
+ "type": "I",
11088
+ "fields": {}
11089
+ },
11090
+ "pushwoosh.rpc_v2.integrations.GetMetaConfigurationRequest": {
11091
+ "type": "I",
11092
+ "fields": {}
11093
+ },
11094
+ "pushwoosh.rpc_v2.integrations.MetaAdAccountStatus": {
11095
+ "type": "E",
11096
+ "values": [
11097
+ "META_AD_ACCOUNT_STATUS_UNSPECIFIED",
11098
+ "META_AD_ACCOUNT_STATUS_CONNECTED",
11099
+ "META_AD_ACCOUNT_STATUS_DISCONNECTED",
11100
+ "META_AD_ACCOUNT_STATUS_PENDING",
11101
+ "META_AD_ACCOUNT_STATUS_DELETED"
11102
+ ]
11103
+ },
11104
+ "pushwoosh.rpc_v2.integrations.GetMetaConfigurationResponse.MetaAdAccount": {
11105
+ "type": "I",
11106
+ "fields": {
11107
+ "id": {
11108
+ "type": "string"
11109
+ },
11110
+ "name": {
11111
+ "type": "string"
11112
+ },
11113
+ "status": {
11114
+ "type": "pushwoosh.rpc_v2.integrations.MetaAdAccountStatus"
11115
+ }
11116
+ }
11117
+ },
11118
+ "pushwoosh.rpc_v2.integrations.GetMetaConfigurationResponse": {
11119
+ "type": "I",
11120
+ "fields": {
11121
+ "adAccounts": {
11122
+ "type": "pushwoosh.rpc_v2.integrations.GetMetaConfigurationResponse.MetaAdAccount",
11123
+ "array": true
11124
+ }
11125
+ }
11126
+ },
11127
+ "pushwoosh.rpc_v2.integrations.DeleteMetaConfigurationRequest": {
11128
+ "type": "I",
11129
+ "fields": {}
11130
+ },
11131
+ "pushwoosh.rpc_v2.integrations.DeleteMetaConfigurationResponse": {
11132
+ "type": "I",
11133
+ "fields": {}
11134
+ },
11135
+ "pushwoosh.rpc_v2.integrations.DisconnectMetaAdAccountRequest": {
11136
+ "type": "I",
11137
+ "fields": {
11138
+ "adAccountId": {
11139
+ "type": "string"
11140
+ }
11141
+ }
11142
+ },
11143
+ "pushwoosh.rpc_v2.integrations.DisconnectMetaAdAccountResponse": {
11144
+ "type": "I",
11145
+ "fields": {}
11146
+ },
11147
+ "pushwoosh.rpc_v2.integrations.RefreshMetaConnectionRequest": {
11148
+ "type": "I",
11149
+ "fields": {
11150
+ "adAccountId": {
11151
+ "type": "string"
11152
+ }
11153
+ }
11154
+ },
11155
+ "pushwoosh.rpc_v2.integrations.RefreshMetaConnectionResponse": {
11156
+ "type": "I",
11157
+ "fields": {}
11158
+ },
10958
11159
  "pushwoosh.rpc_v2.internal_alerts.InternalAlertsService": {
10959
11160
  "type": "S",
10960
11161
  "key": "internalAlerts",
@@ -3,6 +3,9 @@ export interface EmailsConfigurationsService {
3
3
  UpdateDomainStatuses(request: UpdateDomainStatusesRequest): Promise<UpdateDomainStatusesResponse>;
4
4
  AddDomain(request: AddDomainRequest): Promise<AddDomainResponse>;
5
5
  DeleteDomain(request: DeleteDomainRequest): Promise<DeleteDomainResponse>;
6
+ GetCustomTrackingDomain(request: GetCustomTrackingDomainRequest): Promise<GetCustomTrackingDomainResponse>;
7
+ UpsertCustomTrackingDomain(request: UpsertCustomTrackingDomainRequest): Promise<UpsertCustomTrackingDomainResponse>;
8
+ DeleteCustomTrackingDomain(request: DeleteCustomTrackingDomainRequest): Promise<DeleteCustomTrackingDomainResponse>;
6
9
  }
7
10
  export type Domain_CName = {
8
11
  name: string;
@@ -37,3 +40,18 @@ export type DeleteDomainRequest = {
37
40
  domain?: string;
38
41
  };
39
42
  export type DeleteDomainResponse = {};
43
+ export type GetCustomTrackingDomainRequest = {
44
+ application?: string;
45
+ };
46
+ export type GetCustomTrackingDomainResponse = {
47
+ customTrackingDomain: string;
48
+ };
49
+ export type UpsertCustomTrackingDomainRequest = {
50
+ customTrackingDomain?: string;
51
+ application?: string;
52
+ };
53
+ export type UpsertCustomTrackingDomainResponse = {};
54
+ export type DeleteCustomTrackingDomainRequest = {
55
+ application?: string;
56
+ };
57
+ export type DeleteCustomTrackingDomainResponse = {};
package/integrations.d.ts CHANGED
@@ -13,8 +13,14 @@ export interface IntegrationsService {
13
13
  HandleStripeAuthCallback(request: HandleStripeAuthCallbackRequest): Promise<HandleStripeAuthCallbackResponse>;
14
14
  GetStripeConfiguration(request: GetStripeConfigurationRequest): Promise<GetStripeConfigurationResponse>;
15
15
  DeleteStripeConfiguration(request: DeleteStripeConfigurationRequest): Promise<DeleteStripeConfigurationResponse>;
16
+ GetMetaAuthURL(request: GetMetaAuthURLRequest): Promise<GetMetaAuthURLResponse>;
17
+ HandleMetaAuthCallback(request: HandleMetaAuthCallbackRequest): Promise<HandleMetaAuthCallbackResponse>;
18
+ GetMetaConfiguration(request: GetMetaConfigurationRequest): Promise<GetMetaConfigurationResponse>;
19
+ DeleteMetaConfiguration(request: DeleteMetaConfigurationRequest): Promise<DeleteMetaConfigurationResponse>;
20
+ DisconnectMetaAdAccount(request: DisconnectMetaAdAccountRequest): Promise<DisconnectMetaAdAccountResponse>;
21
+ RefreshMetaConnection(request: RefreshMetaConnectionRequest): Promise<RefreshMetaConnectionResponse>;
16
22
  }
17
- export type Integration = 'UNKNOWN' | 'SEGMENT' | 'PIANO' | 'WEBHOOK' | 'HUBSPOT' | 'SHOPIFY' | 'STRIPE';
23
+ export type Integration = 'UNKNOWN' | 'SEGMENT' | 'PIANO' | 'WEBHOOK' | 'HUBSPOT' | 'SHOPIFY' | 'STRIPE' | 'META';
18
24
  export type ImportSegmentPianoRequest = {
19
25
  application?: string;
20
26
  segmentKey?: string;
@@ -142,3 +148,35 @@ export type GetStripeConfigurationResponse = {
142
148
  };
143
149
  export type DeleteStripeConfigurationRequest = {};
144
150
  export type DeleteStripeConfigurationResponse = {};
151
+ export type GetMetaAuthURLRequest = {
152
+ redirectUri?: string;
153
+ };
154
+ export type GetMetaAuthURLResponse = {
155
+ authUrl: string;
156
+ };
157
+ export type HandleMetaAuthCallbackRequest = {
158
+ code?: string;
159
+ redirectUri?: string;
160
+ applicationCode?: string;
161
+ };
162
+ export type HandleMetaAuthCallbackResponse = {};
163
+ export type GetMetaConfigurationRequest = {};
164
+ export type MetaAdAccountStatus = 'META_AD_ACCOUNT_STATUS_UNSPECIFIED' | 'META_AD_ACCOUNT_STATUS_CONNECTED' | 'META_AD_ACCOUNT_STATUS_DISCONNECTED' | 'META_AD_ACCOUNT_STATUS_PENDING' | 'META_AD_ACCOUNT_STATUS_DELETED';
165
+ export type GetMetaConfigurationResponse_MetaAdAccount = {
166
+ id: string;
167
+ name: string;
168
+ status: MetaAdAccountStatus;
169
+ };
170
+ export type GetMetaConfigurationResponse = {
171
+ adAccounts: GetMetaConfigurationResponse_MetaAdAccount[];
172
+ };
173
+ export type DeleteMetaConfigurationRequest = {};
174
+ export type DeleteMetaConfigurationResponse = {};
175
+ export type DisconnectMetaAdAccountRequest = {
176
+ adAccountId?: string;
177
+ };
178
+ export type DisconnectMetaAdAccountResponse = {};
179
+ export type RefreshMetaConnectionRequest = {
180
+ adAccountId?: string;
181
+ };
182
+ export type RefreshMetaConnectionResponse = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.837",
3
+ "version": "0.1.839",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",