@pushwoosh/rpc-v2-http-api-data 0.1.456 → 0.1.458
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 +11 -7
- package/package.json +1 -1
- package/rich_medias.d.ts +5 -3
package/data.js
CHANGED
|
@@ -16657,11 +16657,11 @@ export const data = {
|
|
|
16657
16657
|
"method": "get",
|
|
16658
16658
|
"path": "/api/rich-medias/{code}:block-template"
|
|
16659
16659
|
},
|
|
16660
|
-
"
|
|
16661
|
-
"request": "pushwoosh.rpc_v2.rich_medias.
|
|
16662
|
-
"response": "pushwoosh.rpc_v2.rich_medias.
|
|
16660
|
+
"SaveBlockTemplate": {
|
|
16661
|
+
"request": "pushwoosh.rpc_v2.rich_medias.SaveBlockTemplateRequest",
|
|
16662
|
+
"response": "pushwoosh.rpc_v2.rich_medias.SaveBlockTemplateResponse",
|
|
16663
16663
|
"method": "post",
|
|
16664
|
-
"path": "/api/rich-medias/
|
|
16664
|
+
"path": "/api/rich-medias/save-block-template"
|
|
16665
16665
|
},
|
|
16666
16666
|
"List": {
|
|
16667
16667
|
"request": "pushwoosh.rpc_v2.rich_medias.ListRequest",
|
|
@@ -17382,7 +17382,7 @@ export const data = {
|
|
|
17382
17382
|
}
|
|
17383
17383
|
}
|
|
17384
17384
|
},
|
|
17385
|
-
"pushwoosh.rpc_v2.rich_medias.
|
|
17385
|
+
"pushwoosh.rpc_v2.rich_medias.SaveBlockTemplateRequest": {
|
|
17386
17386
|
"type": "I",
|
|
17387
17387
|
"fields": {
|
|
17388
17388
|
"code": {
|
|
@@ -17405,9 +17405,13 @@ export const data = {
|
|
|
17405
17405
|
}
|
|
17406
17406
|
}
|
|
17407
17407
|
},
|
|
17408
|
-
"pushwoosh.rpc_v2.rich_medias.
|
|
17408
|
+
"pushwoosh.rpc_v2.rich_medias.SaveBlockTemplateResponse": {
|
|
17409
17409
|
"type": "I",
|
|
17410
|
-
"fields": {
|
|
17410
|
+
"fields": {
|
|
17411
|
+
"code": {
|
|
17412
|
+
"type": "string"
|
|
17413
|
+
}
|
|
17414
|
+
}
|
|
17411
17415
|
},
|
|
17412
17416
|
"pushwoosh.rpc_v2.segment_statistics.SegmentStatisticsService": {
|
|
17413
17417
|
"type": "S",
|
package/package.json
CHANGED
package/rich_medias.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export interface RichMediaService {
|
|
|
4
4
|
Delete(request: DeleteRequest): Promise<DeleteResponse>;
|
|
5
5
|
Get(request: GetRequest): Promise<GetResponse>;
|
|
6
6
|
GetBlockTemplate(request: GetBlockTemplateRequest): Promise<GetBlockTemplateResponse>;
|
|
7
|
-
|
|
7
|
+
SaveBlockTemplate(request: SaveBlockTemplateRequest): Promise<SaveBlockTemplateResponse>;
|
|
8
8
|
List(request: ListRequest): Promise<ListResponse>;
|
|
9
9
|
GetDetailedStatistics(request: GetDetailedStatisticsRequest): Promise<GetDetailedStatisticsResponse>;
|
|
10
10
|
GetDetailedActionStatistics(request: GetDetailedActionStatisticsRequest): Promise<GetDetailedActionStatisticsResponse>;
|
|
@@ -228,7 +228,7 @@ export type GetBlockTemplateResponse = {
|
|
|
228
228
|
inputGroups: string;
|
|
229
229
|
editorJson: string;
|
|
230
230
|
};
|
|
231
|
-
export type
|
|
231
|
+
export type SaveBlockTemplateRequest = {
|
|
232
232
|
code?: string;
|
|
233
233
|
name?: string;
|
|
234
234
|
html?: string;
|
|
@@ -236,4 +236,6 @@ export type UpdateBlockTemplateRequest = {
|
|
|
236
236
|
localization?: string;
|
|
237
237
|
defaultLanguage?: string;
|
|
238
238
|
};
|
|
239
|
-
export type
|
|
239
|
+
export type SaveBlockTemplateResponse = {
|
|
240
|
+
code: string;
|
|
241
|
+
};
|