@pushwoosh/rpc-v2-http-api-data 0.1.940 → 0.1.941

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
@@ -11549,7 +11549,7 @@ export const data = {
11549
11549
  "ListGoogleBQDatasets": {
11550
11550
  "request": "pushwoosh.rpc_v2.integrations.ListGoogleBQDatasetsRequest",
11551
11551
  "response": "pushwoosh.rpc_v2.integrations.ListGoogleBQDatasetsResponse",
11552
- "method": "get",
11552
+ "method": "post",
11553
11553
  "path": "/api/integrations/google_bq/{application}/datasets"
11554
11554
  },
11555
11555
  "ListGoogleBQTables": {
@@ -12271,6 +12271,12 @@ export const data = {
12271
12271
  "fields": {
12272
12272
  "application": {
12273
12273
  "type": "string"
12274
+ },
12275
+ "gcpProjectId": {
12276
+ "type": "string"
12277
+ },
12278
+ "serviceAccountJson": {
12279
+ "type": "string"
12274
12280
  }
12275
12281
  }
12276
12282
  },
package/integrations.d.ts CHANGED
@@ -66,6 +66,11 @@ export interface IntegrationsService {
66
66
  CreateGoogleBQConfiguration: IntegrationsService_CreateGoogleBQConfiguration;
67
67
  DeleteGoogleBQConfiguration: IntegrationsService_DeleteGoogleBQConfiguration;
68
68
  TestGoogleBQConnection: IntegrationsService_TestGoogleBQConnection;
69
+ /**
70
+ * POST + body: '*' is deliberate — the request carries the Service Account
71
+ * JSON when listing pre-save, and we don't want a PEM key on the URL (access
72
+ * logs, browser history, proxy logs, URL length limits).
73
+ */
69
74
  ListGoogleBQDatasets: IntegrationsService_ListGoogleBQDatasets;
70
75
  ListGoogleBQTables: IntegrationsService_ListGoogleBQTables;
71
76
  }
@@ -342,8 +347,16 @@ export type TestGoogleBQConnectionResponse = {
342
347
  errorCode: string;
343
348
  errorMessage: string;
344
349
  };
350
+ /**
351
+ * ListGoogleBQDatasets surface mirrors TestGoogleBQConnection: inline creds
352
+ * are optional and, when both are non-empty, override the stored config.
353
+ * Lets the UI populate a destination-dataset dropdown before the integration
354
+ * has been saved.
355
+ */
345
356
  export type ListGoogleBQDatasetsRequest = {
346
357
  application?: string;
358
+ gcpProjectId?: string;
359
+ serviceAccountJson?: string;
347
360
  };
348
361
  export type ListGoogleBQDatasetsResponse_Dataset = {
349
362
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.940",
3
+ "version": "0.1.941",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",