@pushwoosh/rpc-v2-http-api-data 0.1.938 → 0.1.939
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 +209 -1
- package/integrations.d.ts +89 -1
- package/package.json +1 -1
package/data.js
CHANGED
|
@@ -11499,6 +11499,42 @@ export const data = {
|
|
|
11499
11499
|
"response": "pushwoosh.rpc_v2.integrations.SetMetaTagMappingResponse",
|
|
11500
11500
|
"method": "put",
|
|
11501
11501
|
"path": "/api/integrations/meta/tag-mapping"
|
|
11502
|
+
},
|
|
11503
|
+
"GetGoogleBQConfiguration": {
|
|
11504
|
+
"request": "pushwoosh.rpc_v2.integrations.GetGoogleBQConfigurationRequest",
|
|
11505
|
+
"response": "pushwoosh.rpc_v2.integrations.GetGoogleBQConfigurationResponse",
|
|
11506
|
+
"method": "get",
|
|
11507
|
+
"path": "/api/integrations/configurations/google_bq/{application}"
|
|
11508
|
+
},
|
|
11509
|
+
"CreateGoogleBQConfiguration": {
|
|
11510
|
+
"request": "pushwoosh.rpc_v2.integrations.CreateGoogleBQConfigurationRequest",
|
|
11511
|
+
"response": "pushwoosh.rpc_v2.integrations.CreateGoogleBQConfigurationResponse",
|
|
11512
|
+
"method": "post",
|
|
11513
|
+
"path": "/api/integrations/configurations/google_bq"
|
|
11514
|
+
},
|
|
11515
|
+
"DeleteGoogleBQConfiguration": {
|
|
11516
|
+
"request": "pushwoosh.rpc_v2.integrations.DeleteGoogleBQConfigurationRequest",
|
|
11517
|
+
"response": "pushwoosh.rpc_v2.integrations.DeleteGoogleBQConfigurationResponse",
|
|
11518
|
+
"method": "delete",
|
|
11519
|
+
"path": "/api/integrations/configurations/google_bq/{application}"
|
|
11520
|
+
},
|
|
11521
|
+
"TestGoogleBQConnection": {
|
|
11522
|
+
"request": "pushwoosh.rpc_v2.integrations.TestGoogleBQConnectionRequest",
|
|
11523
|
+
"response": "pushwoosh.rpc_v2.integrations.TestGoogleBQConnectionResponse",
|
|
11524
|
+
"method": "post",
|
|
11525
|
+
"path": "/api/integrations/google_bq/test"
|
|
11526
|
+
},
|
|
11527
|
+
"ListGoogleBQDatasets": {
|
|
11528
|
+
"request": "pushwoosh.rpc_v2.integrations.ListGoogleBQDatasetsRequest",
|
|
11529
|
+
"response": "pushwoosh.rpc_v2.integrations.ListGoogleBQDatasetsResponse",
|
|
11530
|
+
"method": "get",
|
|
11531
|
+
"path": "/api/integrations/google_bq/{application}/datasets"
|
|
11532
|
+
},
|
|
11533
|
+
"ListGoogleBQTables": {
|
|
11534
|
+
"request": "pushwoosh.rpc_v2.integrations.ListGoogleBQTablesRequest",
|
|
11535
|
+
"response": "pushwoosh.rpc_v2.integrations.ListGoogleBQTablesResponse",
|
|
11536
|
+
"method": "get",
|
|
11537
|
+
"path": "/api/integrations/google_bq/{application}/datasets/{dataset_id}/tables"
|
|
11502
11538
|
}
|
|
11503
11539
|
}
|
|
11504
11540
|
},
|
|
@@ -11513,7 +11549,8 @@ export const data = {
|
|
|
11513
11549
|
"SHOPIFY",
|
|
11514
11550
|
"STRIPE",
|
|
11515
11551
|
"META",
|
|
11516
|
-
"INBOUND_WEBHOOK"
|
|
11552
|
+
"INBOUND_WEBHOOK",
|
|
11553
|
+
"GOOGLE_BQ"
|
|
11517
11554
|
]
|
|
11518
11555
|
},
|
|
11519
11556
|
"pushwoosh.rpc_v2.integrations.ImportSegmentPianoRequest": {
|
|
@@ -12095,6 +12132,177 @@ export const data = {
|
|
|
12095
12132
|
}
|
|
12096
12133
|
}
|
|
12097
12134
|
},
|
|
12135
|
+
"pushwoosh.rpc_v2.integrations.GetGoogleBQConfigurationRequest": {
|
|
12136
|
+
"type": "I",
|
|
12137
|
+
"fields": {
|
|
12138
|
+
"application": {
|
|
12139
|
+
"type": "string"
|
|
12140
|
+
}
|
|
12141
|
+
}
|
|
12142
|
+
},
|
|
12143
|
+
"pushwoosh.rpc_v2.integrations.GetGoogleBQConfigurationResponse": {
|
|
12144
|
+
"type": "I",
|
|
12145
|
+
"fields": {
|
|
12146
|
+
"gcpProjectId": {
|
|
12147
|
+
"type": "string"
|
|
12148
|
+
},
|
|
12149
|
+
"datasetId": {
|
|
12150
|
+
"type": "string"
|
|
12151
|
+
},
|
|
12152
|
+
"datasetRegion": {
|
|
12153
|
+
"type": "string"
|
|
12154
|
+
},
|
|
12155
|
+
"serviceAccountClientEmail": {
|
|
12156
|
+
"type": "string"
|
|
12157
|
+
},
|
|
12158
|
+
"exportEnabled": {
|
|
12159
|
+
"type": "boolean"
|
|
12160
|
+
},
|
|
12161
|
+
"eventTypes": {
|
|
12162
|
+
"type": "string",
|
|
12163
|
+
"array": true
|
|
12164
|
+
},
|
|
12165
|
+
"tableName": {
|
|
12166
|
+
"type": "string"
|
|
12167
|
+
}
|
|
12168
|
+
}
|
|
12169
|
+
},
|
|
12170
|
+
"pushwoosh.rpc_v2.integrations.CreateGoogleBQConfigurationRequest": {
|
|
12171
|
+
"type": "I",
|
|
12172
|
+
"fields": {
|
|
12173
|
+
"application": {
|
|
12174
|
+
"type": "string"
|
|
12175
|
+
},
|
|
12176
|
+
"gcpProjectId": {
|
|
12177
|
+
"type": "string"
|
|
12178
|
+
},
|
|
12179
|
+
"datasetId": {
|
|
12180
|
+
"type": "string"
|
|
12181
|
+
},
|
|
12182
|
+
"datasetRegion": {
|
|
12183
|
+
"type": "string"
|
|
12184
|
+
},
|
|
12185
|
+
"serviceAccountJson": {
|
|
12186
|
+
"type": "string"
|
|
12187
|
+
},
|
|
12188
|
+
"exportEnabled": {
|
|
12189
|
+
"type": "boolean"
|
|
12190
|
+
},
|
|
12191
|
+
"eventTypes": {
|
|
12192
|
+
"type": "string",
|
|
12193
|
+
"array": true
|
|
12194
|
+
},
|
|
12195
|
+
"tableName": {
|
|
12196
|
+
"type": "string"
|
|
12197
|
+
}
|
|
12198
|
+
}
|
|
12199
|
+
},
|
|
12200
|
+
"pushwoosh.rpc_v2.integrations.CreateGoogleBQConfigurationResponse": {
|
|
12201
|
+
"type": "I",
|
|
12202
|
+
"fields": {}
|
|
12203
|
+
},
|
|
12204
|
+
"pushwoosh.rpc_v2.integrations.DeleteGoogleBQConfigurationRequest": {
|
|
12205
|
+
"type": "I",
|
|
12206
|
+
"fields": {
|
|
12207
|
+
"application": {
|
|
12208
|
+
"type": "string"
|
|
12209
|
+
}
|
|
12210
|
+
}
|
|
12211
|
+
},
|
|
12212
|
+
"pushwoosh.rpc_v2.integrations.DeleteGoogleBQConfigurationResponse": {
|
|
12213
|
+
"type": "I",
|
|
12214
|
+
"fields": {}
|
|
12215
|
+
},
|
|
12216
|
+
"pushwoosh.rpc_v2.integrations.TestGoogleBQConnectionRequest": {
|
|
12217
|
+
"type": "I",
|
|
12218
|
+
"fields": {
|
|
12219
|
+
"application": {
|
|
12220
|
+
"type": "string"
|
|
12221
|
+
},
|
|
12222
|
+
"gcpProjectId": {
|
|
12223
|
+
"type": "string"
|
|
12224
|
+
},
|
|
12225
|
+
"datasetId": {
|
|
12226
|
+
"type": "string"
|
|
12227
|
+
},
|
|
12228
|
+
"serviceAccountJson": {
|
|
12229
|
+
"type": "string"
|
|
12230
|
+
}
|
|
12231
|
+
}
|
|
12232
|
+
},
|
|
12233
|
+
"pushwoosh.rpc_v2.integrations.TestGoogleBQConnectionResponse": {
|
|
12234
|
+
"type": "I",
|
|
12235
|
+
"fields": {
|
|
12236
|
+
"ok": {
|
|
12237
|
+
"type": "boolean"
|
|
12238
|
+
},
|
|
12239
|
+
"errorCode": {
|
|
12240
|
+
"type": "string"
|
|
12241
|
+
},
|
|
12242
|
+
"errorMessage": {
|
|
12243
|
+
"type": "string"
|
|
12244
|
+
}
|
|
12245
|
+
}
|
|
12246
|
+
},
|
|
12247
|
+
"pushwoosh.rpc_v2.integrations.ListGoogleBQDatasetsRequest": {
|
|
12248
|
+
"type": "I",
|
|
12249
|
+
"fields": {
|
|
12250
|
+
"application": {
|
|
12251
|
+
"type": "string"
|
|
12252
|
+
}
|
|
12253
|
+
}
|
|
12254
|
+
},
|
|
12255
|
+
"pushwoosh.rpc_v2.integrations.ListGoogleBQDatasetsResponse.Dataset": {
|
|
12256
|
+
"type": "I",
|
|
12257
|
+
"fields": {
|
|
12258
|
+
"id": {
|
|
12259
|
+
"type": "string"
|
|
12260
|
+
},
|
|
12261
|
+
"region": {
|
|
12262
|
+
"type": "string"
|
|
12263
|
+
}
|
|
12264
|
+
}
|
|
12265
|
+
},
|
|
12266
|
+
"pushwoosh.rpc_v2.integrations.ListGoogleBQDatasetsResponse": {
|
|
12267
|
+
"type": "I",
|
|
12268
|
+
"fields": {
|
|
12269
|
+
"datasets": {
|
|
12270
|
+
"type": "pushwoosh.rpc_v2.integrations.ListGoogleBQDatasetsResponse.Dataset",
|
|
12271
|
+
"array": true
|
|
12272
|
+
}
|
|
12273
|
+
}
|
|
12274
|
+
},
|
|
12275
|
+
"pushwoosh.rpc_v2.integrations.ListGoogleBQTablesRequest": {
|
|
12276
|
+
"type": "I",
|
|
12277
|
+
"fields": {
|
|
12278
|
+
"application": {
|
|
12279
|
+
"type": "string"
|
|
12280
|
+
},
|
|
12281
|
+
"datasetId": {
|
|
12282
|
+
"type": "string"
|
|
12283
|
+
}
|
|
12284
|
+
}
|
|
12285
|
+
},
|
|
12286
|
+
"pushwoosh.rpc_v2.integrations.ListGoogleBQTablesResponse.Table": {
|
|
12287
|
+
"type": "I",
|
|
12288
|
+
"fields": {
|
|
12289
|
+
"id": {
|
|
12290
|
+
"type": "string"
|
|
12291
|
+
},
|
|
12292
|
+
"type": {
|
|
12293
|
+
"type": "string"
|
|
12294
|
+
}
|
|
12295
|
+
}
|
|
12296
|
+
},
|
|
12297
|
+
"pushwoosh.rpc_v2.integrations.ListGoogleBQTablesResponse": {
|
|
12298
|
+
"type": "I",
|
|
12299
|
+
"fields": {
|
|
12300
|
+
"tables": {
|
|
12301
|
+
"type": "pushwoosh.rpc_v2.integrations.ListGoogleBQTablesResponse.Table",
|
|
12302
|
+
"array": true
|
|
12303
|
+
}
|
|
12304
|
+
}
|
|
12305
|
+
},
|
|
12098
12306
|
"pushwoosh.rpc_v2.integrations.SetMetaTagMappingResponse": {
|
|
12099
12307
|
"type": "I",
|
|
12100
12308
|
"fields": {}
|
package/integrations.d.ts
CHANGED
|
@@ -22,6 +22,12 @@ export type IntegrationsService_RefreshMetaConnection = RpcMethod<RefreshMetaCon
|
|
|
22
22
|
export type IntegrationsService_ListMetaAdAccounts = RpcMethod<ListMetaAdAccountsRequest, ListMetaAdAccountsResponse>;
|
|
23
23
|
export type IntegrationsService_ConnectMetaAdAccounts = RpcMethod<ConnectMetaAdAccountsRequest, ConnectMetaAdAccountsResponse>;
|
|
24
24
|
export type IntegrationsService_SetMetaTagMapping = RpcMethod<SetMetaTagMappingRequest, SetMetaTagMappingResponse>;
|
|
25
|
+
export type IntegrationsService_GetGoogleBQConfiguration = RpcMethod<GetGoogleBQConfigurationRequest, GetGoogleBQConfigurationResponse>;
|
|
26
|
+
export type IntegrationsService_CreateGoogleBQConfiguration = RpcMethod<CreateGoogleBQConfigurationRequest, CreateGoogleBQConfigurationResponse>;
|
|
27
|
+
export type IntegrationsService_DeleteGoogleBQConfiguration = RpcMethod<DeleteGoogleBQConfigurationRequest, DeleteGoogleBQConfigurationResponse>;
|
|
28
|
+
export type IntegrationsService_TestGoogleBQConnection = RpcMethod<TestGoogleBQConnectionRequest, TestGoogleBQConnectionResponse>;
|
|
29
|
+
export type IntegrationsService_ListGoogleBQDatasets = RpcMethod<ListGoogleBQDatasetsRequest, ListGoogleBQDatasetsResponse>;
|
|
30
|
+
export type IntegrationsService_ListGoogleBQTables = RpcMethod<ListGoogleBQTablesRequest, ListGoogleBQTablesResponse>;
|
|
25
31
|
export interface IntegrationsService {
|
|
26
32
|
/** lists configuration for each output integration (declared in Integration enums) */
|
|
27
33
|
ListIntegrationsConfiguration: IntegrationsService_ListIntegrationsConfiguration;
|
|
@@ -55,9 +61,16 @@ export interface IntegrationsService {
|
|
|
55
61
|
ListMetaAdAccounts: IntegrationsService_ListMetaAdAccounts;
|
|
56
62
|
ConnectMetaAdAccounts: IntegrationsService_ConnectMetaAdAccounts;
|
|
57
63
|
SetMetaTagMapping: IntegrationsService_SetMetaTagMapping;
|
|
64
|
+
/** google_bq */
|
|
65
|
+
GetGoogleBQConfiguration: IntegrationsService_GetGoogleBQConfiguration;
|
|
66
|
+
CreateGoogleBQConfiguration: IntegrationsService_CreateGoogleBQConfiguration;
|
|
67
|
+
DeleteGoogleBQConfiguration: IntegrationsService_DeleteGoogleBQConfiguration;
|
|
68
|
+
TestGoogleBQConnection: IntegrationsService_TestGoogleBQConnection;
|
|
69
|
+
ListGoogleBQDatasets: IntegrationsService_ListGoogleBQDatasets;
|
|
70
|
+
ListGoogleBQTables: IntegrationsService_ListGoogleBQTables;
|
|
58
71
|
}
|
|
59
72
|
/** Integration contains all available integration for clients (to update props) */
|
|
60
|
-
export type Integration = 'UNKNOWN' | 'SEGMENT' | 'PIANO' | 'WEBHOOK' | 'HUBSPOT' | 'SHOPIFY' | 'STRIPE' | 'META' | 'INBOUND_WEBHOOK';
|
|
73
|
+
export type Integration = 'UNKNOWN' | 'SEGMENT' | 'PIANO' | 'WEBHOOK' | 'HUBSPOT' | 'SHOPIFY' | 'STRIPE' | 'META' | 'INBOUND_WEBHOOK' | 'GOOGLE_BQ';
|
|
61
74
|
export type ImportSegmentPianoRequest = {
|
|
62
75
|
/** application code */
|
|
63
76
|
application?: string;
|
|
@@ -276,4 +289,79 @@ export type ConnectMetaAdAccountsResponse = {
|
|
|
276
289
|
export type SetMetaTagMappingRequest = {
|
|
277
290
|
tagMapping?: Record<string, string>;
|
|
278
291
|
};
|
|
292
|
+
export type GetGoogleBQConfigurationRequest = {
|
|
293
|
+
application?: string;
|
|
294
|
+
};
|
|
295
|
+
export type GetGoogleBQConfigurationResponse = {
|
|
296
|
+
/** Connection — service_account_json is write-only and never returned. */
|
|
297
|
+
gcpProjectId: string;
|
|
298
|
+
datasetId: string;
|
|
299
|
+
datasetRegion: string;
|
|
300
|
+
serviceAccountClientEmail: string;
|
|
301
|
+
/** Export */
|
|
302
|
+
exportEnabled: boolean;
|
|
303
|
+
eventTypes: string[];
|
|
304
|
+
tableName: string;
|
|
305
|
+
};
|
|
306
|
+
export type CreateGoogleBQConfigurationRequest = {
|
|
307
|
+
application?: string;
|
|
308
|
+
/** Connection */
|
|
309
|
+
gcpProjectId?: string;
|
|
310
|
+
datasetId?: string;
|
|
311
|
+
datasetRegion?: string;
|
|
312
|
+
/**
|
|
313
|
+
* service_account_json is mandatory on first save. On update it may be
|
|
314
|
+
* empty — the existing stored value is kept.
|
|
315
|
+
*/
|
|
316
|
+
serviceAccountJson?: string;
|
|
317
|
+
/** Export */
|
|
318
|
+
exportEnabled?: boolean;
|
|
319
|
+
eventTypes?: string[];
|
|
320
|
+
/** optional; defaults to "pushwoosh_events" on the backend */
|
|
321
|
+
tableName?: string;
|
|
322
|
+
};
|
|
323
|
+
export type CreateGoogleBQConfigurationResponse = {};
|
|
324
|
+
export type DeleteGoogleBQConfigurationRequest = {
|
|
325
|
+
application?: string;
|
|
326
|
+
};
|
|
327
|
+
export type DeleteGoogleBQConfigurationResponse = {};
|
|
328
|
+
/**
|
|
329
|
+
* TestGoogleBQConnection lets the UI validate credentials before saving.
|
|
330
|
+
* If service_account_json / gcp_project_id are empty, the backend tests the
|
|
331
|
+
* stored configuration instead.
|
|
332
|
+
*/
|
|
333
|
+
export type TestGoogleBQConnectionRequest = {
|
|
334
|
+
application?: string;
|
|
335
|
+
gcpProjectId?: string;
|
|
336
|
+
datasetId?: string;
|
|
337
|
+
serviceAccountJson?: string;
|
|
338
|
+
};
|
|
339
|
+
export type TestGoogleBQConnectionResponse = {
|
|
340
|
+
ok: boolean;
|
|
341
|
+
/** "auth_failed" / "dataset_not_found" / "missing_permission" / "invalid_input" / "" */
|
|
342
|
+
errorCode: string;
|
|
343
|
+
errorMessage: string;
|
|
344
|
+
};
|
|
345
|
+
export type ListGoogleBQDatasetsRequest = {
|
|
346
|
+
application?: string;
|
|
347
|
+
};
|
|
348
|
+
export type ListGoogleBQDatasetsResponse_Dataset = {
|
|
349
|
+
id: string;
|
|
350
|
+
region: string;
|
|
351
|
+
};
|
|
352
|
+
export type ListGoogleBQDatasetsResponse = {
|
|
353
|
+
datasets: ListGoogleBQDatasetsResponse_Dataset[];
|
|
354
|
+
};
|
|
355
|
+
export type ListGoogleBQTablesRequest = {
|
|
356
|
+
application?: string;
|
|
357
|
+
datasetId?: string;
|
|
358
|
+
};
|
|
359
|
+
export type ListGoogleBQTablesResponse_Table = {
|
|
360
|
+
id: string;
|
|
361
|
+
/** BigQuery type: "TABLE", "VIEW", "MATERIALIZED_VIEW", "EXTERNAL", "SNAPSHOT" */
|
|
362
|
+
type: string;
|
|
363
|
+
};
|
|
364
|
+
export type ListGoogleBQTablesResponse = {
|
|
365
|
+
tables: ListGoogleBQTablesResponse_Table[];
|
|
366
|
+
};
|
|
279
367
|
export type SetMetaTagMappingResponse = {};
|