@pushwoosh/rpc-v2-http-api-data 0.2.371 → 0.2.373
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 +22 -0
- package/deeplinks.d.ts +10 -0
- package/package.json +1 -1
package/data.js
CHANGED
|
@@ -11795,6 +11795,12 @@ export const data = {
|
|
|
11795
11795
|
"method": "delete",
|
|
11796
11796
|
"path": "/api/deeplinks/{code}"
|
|
11797
11797
|
},
|
|
11798
|
+
"DeleteDeeplinks": {
|
|
11799
|
+
"request": "pushwoosh.rpc_v2.deeplinks.DeleteDeeplinksRequest",
|
|
11800
|
+
"response": "pushwoosh.rpc_v2.deeplinks.DeleteDeeplinksResponse",
|
|
11801
|
+
"method": "post",
|
|
11802
|
+
"path": "/api/deeplinks/delete"
|
|
11803
|
+
},
|
|
11798
11804
|
"GetLinkContent": {
|
|
11799
11805
|
"request": "pushwoosh.rpc_v2.deeplinks.GetLinkContentRequest",
|
|
11800
11806
|
"response": "pushwoosh.rpc_v2.deeplinks.GetLinkContentResponse",
|
|
@@ -11945,6 +11951,22 @@ export const data = {
|
|
|
11945
11951
|
}
|
|
11946
11952
|
}
|
|
11947
11953
|
},
|
|
11954
|
+
"pushwoosh.rpc_v2.deeplinks.DeleteDeeplinksRequest": {
|
|
11955
|
+
"type": "I",
|
|
11956
|
+
"fields": {
|
|
11957
|
+
"application": {
|
|
11958
|
+
"type": "string"
|
|
11959
|
+
},
|
|
11960
|
+
"codes": {
|
|
11961
|
+
"type": "string",
|
|
11962
|
+
"array": true
|
|
11963
|
+
}
|
|
11964
|
+
}
|
|
11965
|
+
},
|
|
11966
|
+
"pushwoosh.rpc_v2.deeplinks.DeleteDeeplinksResponse": {
|
|
11967
|
+
"type": "I",
|
|
11968
|
+
"fields": {}
|
|
11969
|
+
},
|
|
11948
11970
|
"pushwoosh.rpc_v2.deeplinks.DeleteDeeplinkResponse": {
|
|
11949
11971
|
"type": "I",
|
|
11950
11972
|
"fields": {}
|
package/deeplinks.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ 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_DeleteDeeplinks = RpcMethod<DeleteDeeplinksRequest, DeleteDeeplinksResponse>;
|
|
7
8
|
export type DeeplinksService_GetLinkContent = RpcMethod<GetLinkContentRequest, GetLinkContentResponse>;
|
|
8
9
|
export interface DeeplinksService {
|
|
9
10
|
/** Lists deeplinks configured for an application (code XXXXX-XXXXX), ordered by name or creation date, with paging and an optional name/code/template substring filter. Use to browse deeplinks or find a deeplink code before fetching or editing one. */
|
|
@@ -16,6 +17,8 @@ export interface DeeplinksService {
|
|
|
16
17
|
Update: DeeplinksService_Update;
|
|
17
18
|
/** Permanently deletes a deeplink by deeplink code. Only deeplinks owned by the caller's account can be deleted, and the removal cannot be undone. */
|
|
18
19
|
Delete: DeeplinksService_Delete;
|
|
20
|
+
/** Permanently deletes several deeplinks of an application (code XXXXX-XXXXX) by deeplink codes in one request, up to 1000 codes. All codes must belong to the application and the caller's account, otherwise nothing is deleted and NotFound is returned. Use delete_deeplink for a single deeplink. */
|
|
21
|
+
DeleteDeeplinks: DeeplinksService_DeleteDeeplinks;
|
|
19
22
|
/**
|
|
20
23
|
* Fetches the given http(s) URL and returns an HTML head fragment containing only its og:* meta tags. Use to preview link metadata (title/image) when building a deeplink; reaches out to the external URL.
|
|
21
24
|
* POST is used instead of GET because the uri parameter may contain
|
|
@@ -81,6 +84,13 @@ export type DeleteDeeplinkRequest = {
|
|
|
81
84
|
/** Deeplink code identifying the deeplink to delete. */
|
|
82
85
|
code?: string;
|
|
83
86
|
};
|
|
87
|
+
export type DeleteDeeplinksRequest = {
|
|
88
|
+
/** Application code (XXXXX-XXXXX) the deeplinks belong to. */
|
|
89
|
+
application?: string;
|
|
90
|
+
/** Deeplink codes to delete. */
|
|
91
|
+
codes?: string[];
|
|
92
|
+
};
|
|
93
|
+
export type DeleteDeeplinksResponse = {};
|
|
84
94
|
export type DeleteDeeplinkResponse = {};
|
|
85
95
|
export type GetLinkContentRequest = {
|
|
86
96
|
/** Absolute http(s) URL to fetch and extract og:* meta tags from. */
|