@pushwoosh/rpc-v2-http-api-data 0.1.939 → 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 +29 -1
- package/deeplinks.d.ts +13 -0
- package/integrations.d.ts +13 -0
- package/package.json +1 -1
package/data.js
CHANGED
|
@@ -5929,6 +5929,12 @@ export const data = {
|
|
|
5929
5929
|
"response": "pushwoosh.rpc_v2.deeplinks.DeleteDeeplinkResponse",
|
|
5930
5930
|
"method": "delete",
|
|
5931
5931
|
"path": "/api/deeplinks/{code}"
|
|
5932
|
+
},
|
|
5933
|
+
"GetLinkContent": {
|
|
5934
|
+
"request": "pushwoosh.rpc_v2.deeplinks.GetLinkContentRequest",
|
|
5935
|
+
"response": "pushwoosh.rpc_v2.deeplinks.GetLinkContentResponse",
|
|
5936
|
+
"method": "post",
|
|
5937
|
+
"path": "/api/deeplinks/link_content"
|
|
5932
5938
|
}
|
|
5933
5939
|
}
|
|
5934
5940
|
},
|
|
@@ -6078,6 +6084,22 @@ export const data = {
|
|
|
6078
6084
|
"type": "I",
|
|
6079
6085
|
"fields": {}
|
|
6080
6086
|
},
|
|
6087
|
+
"pushwoosh.rpc_v2.deeplinks.GetLinkContentRequest": {
|
|
6088
|
+
"type": "I",
|
|
6089
|
+
"fields": {
|
|
6090
|
+
"uri": {
|
|
6091
|
+
"type": "string"
|
|
6092
|
+
}
|
|
6093
|
+
}
|
|
6094
|
+
},
|
|
6095
|
+
"pushwoosh.rpc_v2.deeplinks.GetLinkContentResponse": {
|
|
6096
|
+
"type": "I",
|
|
6097
|
+
"fields": {
|
|
6098
|
+
"content": {
|
|
6099
|
+
"type": "string"
|
|
6100
|
+
}
|
|
6101
|
+
}
|
|
6102
|
+
},
|
|
6081
6103
|
"pushwoosh.rpc_v2.devices.DevicesService": {
|
|
6082
6104
|
"type": "S",
|
|
6083
6105
|
"key": "devices",
|
|
@@ -11527,7 +11549,7 @@ export const data = {
|
|
|
11527
11549
|
"ListGoogleBQDatasets": {
|
|
11528
11550
|
"request": "pushwoosh.rpc_v2.integrations.ListGoogleBQDatasetsRequest",
|
|
11529
11551
|
"response": "pushwoosh.rpc_v2.integrations.ListGoogleBQDatasetsResponse",
|
|
11530
|
-
"method": "
|
|
11552
|
+
"method": "post",
|
|
11531
11553
|
"path": "/api/integrations/google_bq/{application}/datasets"
|
|
11532
11554
|
},
|
|
11533
11555
|
"ListGoogleBQTables": {
|
|
@@ -12249,6 +12271,12 @@ export const data = {
|
|
|
12249
12271
|
"fields": {
|
|
12250
12272
|
"application": {
|
|
12251
12273
|
"type": "string"
|
|
12274
|
+
},
|
|
12275
|
+
"gcpProjectId": {
|
|
12276
|
+
"type": "string"
|
|
12277
|
+
},
|
|
12278
|
+
"serviceAccountJson": {
|
|
12279
|
+
"type": "string"
|
|
12252
12280
|
}
|
|
12253
12281
|
}
|
|
12254
12282
|
},
|
package/deeplinks.d.ts
CHANGED
|
@@ -4,12 +4,18 @@ export type DeeplinksService_Get = RpcMethod<GetDeeplinkRequest, GetDeeplinkResp
|
|
|
4
4
|
export type DeeplinksService_Create = RpcMethod<CreateDeeplinkRequest, CreateDeeplinkResponse>;
|
|
5
5
|
export type DeeplinksService_Update = RpcMethod<UpdateDeeplinkRequest, UpdateDeeplinkResponse>;
|
|
6
6
|
export type DeeplinksService_Delete = RpcMethod<DeleteDeeplinkRequest, DeleteDeeplinkResponse>;
|
|
7
|
+
export type DeeplinksService_GetLinkContent = RpcMethod<GetLinkContentRequest, GetLinkContentResponse>;
|
|
7
8
|
export interface DeeplinksService {
|
|
8
9
|
List: DeeplinksService_List;
|
|
9
10
|
Get: DeeplinksService_Get;
|
|
10
11
|
Create: DeeplinksService_Create;
|
|
11
12
|
Update: DeeplinksService_Update;
|
|
12
13
|
Delete: DeeplinksService_Delete;
|
|
14
|
+
/**
|
|
15
|
+
* POST is used instead of GET because the uri parameter may contain
|
|
16
|
+
* arbitrarily long URLs that exceed HTTP query-string length limits.
|
|
17
|
+
*/
|
|
18
|
+
GetLinkContent: DeeplinksService_GetLinkContent;
|
|
13
19
|
}
|
|
14
20
|
export type ListDeeplinksRequest_OrderBy = 'NAME' | 'CREATED';
|
|
15
21
|
export type ListDeeplinksRequest_OrderDirection = 'ASC' | 'DESC';
|
|
@@ -62,3 +68,10 @@ export type DeleteDeeplinkRequest = {
|
|
|
62
68
|
code?: string;
|
|
63
69
|
};
|
|
64
70
|
export type DeleteDeeplinkResponse = {};
|
|
71
|
+
export type GetLinkContentRequest = {
|
|
72
|
+
uri?: string;
|
|
73
|
+
};
|
|
74
|
+
export type GetLinkContentResponse = {
|
|
75
|
+
/** Full HTML document containing only the og:* meta tags from the fetched page. */
|
|
76
|
+
content: string;
|
|
77
|
+
};
|
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;
|