@pushwoosh/rpc-v2-http-api-data 0.1.880 → 0.1.882
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 +51 -18
- package/email_categories.d.ts +7 -0
- package/integrations.d.ts +15 -12
- package/package.json +1 -1
package/data.js
CHANGED
|
@@ -6117,6 +6117,15 @@ export const data = {
|
|
|
6117
6117
|
},
|
|
6118
6118
|
"description": {
|
|
6119
6119
|
"type": "string"
|
|
6120
|
+
},
|
|
6121
|
+
"subscribeNew": {
|
|
6122
|
+
"type": "boolean"
|
|
6123
|
+
},
|
|
6124
|
+
"subscribeOld": {
|
|
6125
|
+
"type": "boolean"
|
|
6126
|
+
},
|
|
6127
|
+
"subscribeOldUpdated": {
|
|
6128
|
+
"type": "Date"
|
|
6120
6129
|
}
|
|
6121
6130
|
}
|
|
6122
6131
|
},
|
|
@@ -6131,6 +6140,12 @@ export const data = {
|
|
|
6131
6140
|
},
|
|
6132
6141
|
"description": {
|
|
6133
6142
|
"type": "string"
|
|
6143
|
+
},
|
|
6144
|
+
"subscribeNew": {
|
|
6145
|
+
"type": "boolean"
|
|
6146
|
+
},
|
|
6147
|
+
"subscribeOld": {
|
|
6148
|
+
"type": "boolean"
|
|
6134
6149
|
}
|
|
6135
6150
|
}
|
|
6136
6151
|
},
|
|
@@ -6190,6 +6205,12 @@ export const data = {
|
|
|
6190
6205
|
},
|
|
6191
6206
|
"description": {
|
|
6192
6207
|
"type": "string"
|
|
6208
|
+
},
|
|
6209
|
+
"subscribeNew": {
|
|
6210
|
+
"type": "boolean"
|
|
6211
|
+
},
|
|
6212
|
+
"subscribeOld": {
|
|
6213
|
+
"type": "boolean"
|
|
6193
6214
|
}
|
|
6194
6215
|
}
|
|
6195
6216
|
},
|
|
@@ -10773,9 +10794,9 @@ export const data = {
|
|
|
10773
10794
|
"method": "delete",
|
|
10774
10795
|
"path": "/api/integrations/configurations/meta"
|
|
10775
10796
|
},
|
|
10776
|
-
"
|
|
10777
|
-
"request": "pushwoosh.rpc_v2.integrations.
|
|
10778
|
-
"response": "pushwoosh.rpc_v2.integrations.
|
|
10797
|
+
"DisconnectMetaAdAccounts": {
|
|
10798
|
+
"request": "pushwoosh.rpc_v2.integrations.DisconnectMetaAdAccountsRequest",
|
|
10799
|
+
"response": "pushwoosh.rpc_v2.integrations.DisconnectMetaAdAccountsResponse",
|
|
10779
10800
|
"method": "post",
|
|
10780
10801
|
"path": "/api/integrations/meta/ad-accounts/disconnect"
|
|
10781
10802
|
},
|
|
@@ -10791,9 +10812,9 @@ export const data = {
|
|
|
10791
10812
|
"method": "get",
|
|
10792
10813
|
"path": "/api/integrations/meta/ad-accounts"
|
|
10793
10814
|
},
|
|
10794
|
-
"
|
|
10795
|
-
"request": "pushwoosh.rpc_v2.integrations.
|
|
10796
|
-
"response": "pushwoosh.rpc_v2.integrations.
|
|
10815
|
+
"ConnectMetaAdAccounts": {
|
|
10816
|
+
"request": "pushwoosh.rpc_v2.integrations.ConnectMetaAdAccountsRequest",
|
|
10817
|
+
"response": "pushwoosh.rpc_v2.integrations.ConnectMetaAdAccountsResponse",
|
|
10797
10818
|
"method": "post",
|
|
10798
10819
|
"path": "/api/integrations/meta/ad-accounts/connect"
|
|
10799
10820
|
},
|
|
@@ -11300,15 +11321,16 @@ export const data = {
|
|
|
11300
11321
|
"type": "I",
|
|
11301
11322
|
"fields": {}
|
|
11302
11323
|
},
|
|
11303
|
-
"pushwoosh.rpc_v2.integrations.
|
|
11324
|
+
"pushwoosh.rpc_v2.integrations.DisconnectMetaAdAccountsRequest": {
|
|
11304
11325
|
"type": "I",
|
|
11305
11326
|
"fields": {
|
|
11306
|
-
"
|
|
11307
|
-
"type": "string"
|
|
11327
|
+
"adAccountIds": {
|
|
11328
|
+
"type": "string",
|
|
11329
|
+
"array": true
|
|
11308
11330
|
}
|
|
11309
11331
|
}
|
|
11310
11332
|
},
|
|
11311
|
-
"pushwoosh.rpc_v2.integrations.
|
|
11333
|
+
"pushwoosh.rpc_v2.integrations.DisconnectMetaAdAccountsResponse": {
|
|
11312
11334
|
"type": "I",
|
|
11313
11335
|
"fields": {}
|
|
11314
11336
|
},
|
|
@@ -11354,25 +11376,36 @@ export const data = {
|
|
|
11354
11376
|
}
|
|
11355
11377
|
}
|
|
11356
11378
|
},
|
|
11357
|
-
"pushwoosh.rpc_v2.integrations.
|
|
11379
|
+
"pushwoosh.rpc_v2.integrations.ConnectMetaAdAccountsRequest": {
|
|
11358
11380
|
"type": "I",
|
|
11359
11381
|
"fields": {
|
|
11360
|
-
"
|
|
11361
|
-
"type": "string"
|
|
11382
|
+
"adAccountIds": {
|
|
11383
|
+
"type": "string",
|
|
11384
|
+
"array": true
|
|
11362
11385
|
}
|
|
11363
11386
|
}
|
|
11364
11387
|
},
|
|
11365
|
-
"pushwoosh.rpc_v2.integrations.
|
|
11388
|
+
"pushwoosh.rpc_v2.integrations.ConnectMetaAdAccountsResponse.TosRequired": {
|
|
11366
11389
|
"type": "I",
|
|
11367
11390
|
"fields": {
|
|
11368
|
-
"
|
|
11369
|
-
"type": "
|
|
11391
|
+
"adAccountId": {
|
|
11392
|
+
"type": "string"
|
|
11370
11393
|
},
|
|
11371
11394
|
"tosUrl": {
|
|
11372
11395
|
"type": "string"
|
|
11396
|
+
}
|
|
11397
|
+
}
|
|
11398
|
+
},
|
|
11399
|
+
"pushwoosh.rpc_v2.integrations.ConnectMetaAdAccountsResponse": {
|
|
11400
|
+
"type": "I",
|
|
11401
|
+
"fields": {
|
|
11402
|
+
"connectedIds": {
|
|
11403
|
+
"type": "string",
|
|
11404
|
+
"array": true
|
|
11373
11405
|
},
|
|
11374
|
-
"
|
|
11375
|
-
"type": "pushwoosh.rpc_v2.integrations.
|
|
11406
|
+
"tosRequired": {
|
|
11407
|
+
"type": "pushwoosh.rpc_v2.integrations.ConnectMetaAdAccountsResponse.TosRequired",
|
|
11408
|
+
"array": true
|
|
11376
11409
|
}
|
|
11377
11410
|
}
|
|
11378
11411
|
},
|
package/email_categories.d.ts
CHANGED
|
@@ -22,11 +22,16 @@ export type Category = {
|
|
|
22
22
|
application: string;
|
|
23
23
|
name: string;
|
|
24
24
|
description: string;
|
|
25
|
+
subscribeNew: boolean;
|
|
26
|
+
subscribeOld: boolean;
|
|
27
|
+
subscribeOldUpdated: Date;
|
|
25
28
|
};
|
|
26
29
|
export type CreateRequest = {
|
|
27
30
|
application?: string;
|
|
28
31
|
name?: string;
|
|
29
32
|
description?: string;
|
|
33
|
+
subscribeNew?: boolean;
|
|
34
|
+
subscribeOld?: boolean;
|
|
30
35
|
};
|
|
31
36
|
export type CreateResponse = {
|
|
32
37
|
category: Category;
|
|
@@ -48,6 +53,8 @@ export type UpdateRequest = {
|
|
|
48
53
|
code?: string;
|
|
49
54
|
name?: string;
|
|
50
55
|
description?: string;
|
|
56
|
+
subscribeNew?: boolean;
|
|
57
|
+
subscribeOld?: boolean;
|
|
51
58
|
};
|
|
52
59
|
export type UpdateResponse = {};
|
|
53
60
|
export type DeleteRequest = {
|
package/integrations.d.ts
CHANGED
|
@@ -17,10 +17,10 @@ export type IntegrationsService_GetMetaAuthURL = RpcMethod<GetMetaAuthURLRequest
|
|
|
17
17
|
export type IntegrationsService_HandleMetaAuthCallback = RpcMethod<HandleMetaAuthCallbackRequest, HandleMetaAuthCallbackResponse>;
|
|
18
18
|
export type IntegrationsService_GetMetaConfiguration = RpcMethod<GetMetaConfigurationRequest, GetMetaConfigurationResponse>;
|
|
19
19
|
export type IntegrationsService_DeleteMetaConfiguration = RpcMethod<DeleteMetaConfigurationRequest, DeleteMetaConfigurationResponse>;
|
|
20
|
-
export type
|
|
20
|
+
export type IntegrationsService_DisconnectMetaAdAccounts = RpcMethod<DisconnectMetaAdAccountsRequest, DisconnectMetaAdAccountsResponse>;
|
|
21
21
|
export type IntegrationsService_RefreshMetaConnection = RpcMethod<RefreshMetaConnectionRequest, RefreshMetaConnectionResponse>;
|
|
22
22
|
export type IntegrationsService_ListMetaAdAccounts = RpcMethod<ListMetaAdAccountsRequest, ListMetaAdAccountsResponse>;
|
|
23
|
-
export type
|
|
23
|
+
export type IntegrationsService_ConnectMetaAdAccounts = RpcMethod<ConnectMetaAdAccountsRequest, ConnectMetaAdAccountsResponse>;
|
|
24
24
|
export type IntegrationsService_SetMetaTagMapping = RpcMethod<SetMetaTagMappingRequest, SetMetaTagMappingResponse>;
|
|
25
25
|
export interface IntegrationsService {
|
|
26
26
|
ListIntegrationsConfiguration: IntegrationsService_ListIntegrationsConfiguration;
|
|
@@ -41,10 +41,10 @@ export interface IntegrationsService {
|
|
|
41
41
|
HandleMetaAuthCallback: IntegrationsService_HandleMetaAuthCallback;
|
|
42
42
|
GetMetaConfiguration: IntegrationsService_GetMetaConfiguration;
|
|
43
43
|
DeleteMetaConfiguration: IntegrationsService_DeleteMetaConfiguration;
|
|
44
|
-
|
|
44
|
+
DisconnectMetaAdAccounts: IntegrationsService_DisconnectMetaAdAccounts;
|
|
45
45
|
RefreshMetaConnection: IntegrationsService_RefreshMetaConnection;
|
|
46
46
|
ListMetaAdAccounts: IntegrationsService_ListMetaAdAccounts;
|
|
47
|
-
|
|
47
|
+
ConnectMetaAdAccounts: IntegrationsService_ConnectMetaAdAccounts;
|
|
48
48
|
SetMetaTagMapping: IntegrationsService_SetMetaTagMapping;
|
|
49
49
|
}
|
|
50
50
|
export type Integration = 'UNKNOWN' | 'SEGMENT' | 'PIANO' | 'WEBHOOK' | 'HUBSPOT' | 'SHOPIFY' | 'STRIPE' | 'META';
|
|
@@ -206,10 +206,10 @@ export type GetMetaConfigurationResponse = {
|
|
|
206
206
|
};
|
|
207
207
|
export type DeleteMetaConfigurationRequest = {};
|
|
208
208
|
export type DeleteMetaConfigurationResponse = {};
|
|
209
|
-
export type
|
|
210
|
-
|
|
209
|
+
export type DisconnectMetaAdAccountsRequest = {
|
|
210
|
+
adAccountIds?: string[];
|
|
211
211
|
};
|
|
212
|
-
export type
|
|
212
|
+
export type DisconnectMetaAdAccountsResponse = {};
|
|
213
213
|
export type RefreshMetaConnectionRequest = {
|
|
214
214
|
adAccountId?: string;
|
|
215
215
|
};
|
|
@@ -224,13 +224,16 @@ export type ListMetaAdAccountsResponse_MetaAdAccount = {
|
|
|
224
224
|
export type ListMetaAdAccountsResponse = {
|
|
225
225
|
adAccounts: ListMetaAdAccountsResponse_MetaAdAccount[];
|
|
226
226
|
};
|
|
227
|
-
export type
|
|
228
|
-
|
|
227
|
+
export type ConnectMetaAdAccountsRequest = {
|
|
228
|
+
adAccountIds?: string[];
|
|
229
229
|
};
|
|
230
|
-
export type
|
|
231
|
-
|
|
230
|
+
export type ConnectMetaAdAccountsResponse_TosRequired = {
|
|
231
|
+
adAccountId: string;
|
|
232
232
|
tosUrl: string;
|
|
233
|
-
|
|
233
|
+
};
|
|
234
|
+
export type ConnectMetaAdAccountsResponse = {
|
|
235
|
+
connectedIds: string[];
|
|
236
|
+
tosRequired: ConnectMetaAdAccountsResponse_TosRequired[];
|
|
234
237
|
};
|
|
235
238
|
export type SetMetaTagMappingRequest = {
|
|
236
239
|
tagMapping?: Record<string, string>;
|