@pushwoosh/rpc-v2-http-api-data 0.2.455 → 0.2.457
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 +57 -0
- package/package.json +1 -1
- package/pushwoosh_aibuilder_v1.d.ts +25 -2
- package/pushwoosh_export_messages_v2.d.ts +12 -0
package/data.js
CHANGED
|
@@ -2555,6 +2555,14 @@ export const data = {
|
|
|
2555
2555
|
"TEXT_ALIGN_RIGHT"
|
|
2556
2556
|
]
|
|
2557
2557
|
},
|
|
2558
|
+
"pushwoosh.aibuilder.v1.ContentAlign": {
|
|
2559
|
+
"type": "E",
|
|
2560
|
+
"values": [
|
|
2561
|
+
"CONTENT_ALIGN_UNSPECIFIED",
|
|
2562
|
+
"CONTENT_ALIGN_CENTER",
|
|
2563
|
+
"CONTENT_ALIGN_LEFT"
|
|
2564
|
+
]
|
|
2565
|
+
},
|
|
2558
2566
|
"pushwoosh.aibuilder.v1.GroupAlign": {
|
|
2559
2567
|
"type": "E",
|
|
2560
2568
|
"values": [
|
|
@@ -2879,6 +2887,10 @@ export const data = {
|
|
|
2879
2887
|
"backgroundImagePosition": {
|
|
2880
2888
|
"type": "pushwoosh.aibuilder.v1.CardImagePosition",
|
|
2881
2889
|
"optional": true
|
|
2890
|
+
},
|
|
2891
|
+
"contentAlign": {
|
|
2892
|
+
"type": "pushwoosh.aibuilder.v1.ContentAlign",
|
|
2893
|
+
"optional": true
|
|
2882
2894
|
}
|
|
2883
2895
|
}
|
|
2884
2896
|
},
|
|
@@ -2924,6 +2936,10 @@ export const data = {
|
|
|
2924
2936
|
"letterSpacing": {
|
|
2925
2937
|
"type": "number",
|
|
2926
2938
|
"optional": true
|
|
2939
|
+
},
|
|
2940
|
+
"lineHeight": {
|
|
2941
|
+
"type": "number",
|
|
2942
|
+
"optional": true
|
|
2927
2943
|
}
|
|
2928
2944
|
}
|
|
2929
2945
|
},
|
|
@@ -4011,6 +4027,13 @@ export const data = {
|
|
|
4011
4027
|
},
|
|
4012
4028
|
"url": {
|
|
4013
4029
|
"type": "string"
|
|
4030
|
+
},
|
|
4031
|
+
"annotation": {
|
|
4032
|
+
"type": "string"
|
|
4033
|
+
},
|
|
4034
|
+
"annotationTranslations": {
|
|
4035
|
+
"type": "string",
|
|
4036
|
+
"mapKeyType": "string"
|
|
4014
4037
|
}
|
|
4015
4038
|
}
|
|
4016
4039
|
},
|
|
@@ -4084,6 +4107,12 @@ export const data = {
|
|
|
4084
4107
|
},
|
|
4085
4108
|
"pinned": {
|
|
4086
4109
|
"type": "number"
|
|
4110
|
+
},
|
|
4111
|
+
"annotationTone": {
|
|
4112
|
+
"type": "string"
|
|
4113
|
+
},
|
|
4114
|
+
"annotationInstruction": {
|
|
4115
|
+
"type": "string"
|
|
4087
4116
|
}
|
|
4088
4117
|
}
|
|
4089
4118
|
},
|
|
@@ -18297,6 +18326,9 @@ export const data = {
|
|
|
18297
18326
|
"applications": {
|
|
18298
18327
|
"type": "string",
|
|
18299
18328
|
"array": true
|
|
18329
|
+
},
|
|
18330
|
+
"report": {
|
|
18331
|
+
"type": "string"
|
|
18300
18332
|
}
|
|
18301
18333
|
}
|
|
18302
18334
|
},
|
|
@@ -18314,6 +18346,31 @@ export const data = {
|
|
|
18314
18346
|
}
|
|
18315
18347
|
}
|
|
18316
18348
|
},
|
|
18349
|
+
"pushwoosh.export_messages.v2.GetResultFileRequest": {
|
|
18350
|
+
"type": "I",
|
|
18351
|
+
"fields": {
|
|
18352
|
+
"uid": {
|
|
18353
|
+
"type": "number"
|
|
18354
|
+
},
|
|
18355
|
+
"maxBytes": {
|
|
18356
|
+
"type": "number"
|
|
18357
|
+
}
|
|
18358
|
+
}
|
|
18359
|
+
},
|
|
18360
|
+
"pushwoosh.export_messages.v2.GetResultFileResponse": {
|
|
18361
|
+
"type": "I",
|
|
18362
|
+
"fields": {
|
|
18363
|
+
"name": {
|
|
18364
|
+
"type": "string"
|
|
18365
|
+
},
|
|
18366
|
+
"content": {
|
|
18367
|
+
"type": "string"
|
|
18368
|
+
},
|
|
18369
|
+
"size": {
|
|
18370
|
+
"type": "number"
|
|
18371
|
+
}
|
|
18372
|
+
}
|
|
18373
|
+
},
|
|
18317
18374
|
"pushwoosh.export_messages.v2.CountControlGroupRequest": {
|
|
18318
18375
|
"type": "I",
|
|
18319
18376
|
"fields": {
|
package/package.json
CHANGED
|
@@ -56,6 +56,10 @@ export type ButtonGroupAlign = 'BUTTON_GROUP_ALIGN_UNSPECIFIED' | 'BUTTON_GROUP_
|
|
|
56
56
|
* sets it for headline/caption centring; preserved verbatim on edit.
|
|
57
57
|
*/
|
|
58
58
|
export type TextAlign = 'TEXT_ALIGN_UNSPECIFIED' | 'TEXT_ALIGN_LEFT' | 'TEXT_ALIGN_CENTER' | 'TEXT_ALIGN_RIGHT';
|
|
59
|
+
/** Horizontal placement of the email content column in a client wider than it. */
|
|
60
|
+
export type ContentAlign =
|
|
61
|
+
/** Centred (the historical layout). */
|
|
62
|
+
'CONTENT_ALIGN_UNSPECIFIED' | 'CONTENT_ALIGN_CENTER' | 'CONTENT_ALIGN_LEFT';
|
|
59
63
|
/**
|
|
60
64
|
* GroupAlign controls alignment of an AiBuilderGroup's children along
|
|
61
65
|
* the perpendicular axis (for direction=VERTICAL → horizontal
|
|
@@ -389,6 +393,11 @@ export type DocumentSettings = {
|
|
|
389
393
|
*/
|
|
390
394
|
backgroundImageFit?: CardImageFit;
|
|
391
395
|
backgroundImagePosition?: CardImagePosition;
|
|
396
|
+
/**
|
|
397
|
+
* Where the content column sits in a wide client; unset = centred. Email only,
|
|
398
|
+
* client-managed render-only chrome like show_shadow.
|
|
399
|
+
*/
|
|
400
|
+
contentAlign?: ContentAlign;
|
|
392
401
|
};
|
|
393
402
|
export type TextBlock = {
|
|
394
403
|
variant: string;
|
|
@@ -452,6 +461,11 @@ export type TextBlock = {
|
|
|
452
461
|
* TextVariantStyle.letter_spacing. Client-managed, like font_size.
|
|
453
462
|
*/
|
|
454
463
|
letterSpacing?: number;
|
|
464
|
+
/**
|
|
465
|
+
* Per-item unitless line-height; unset (or 0) = inherit TextVariantStyle.line_height.
|
|
466
|
+
* Client-managed, like font_size; lost when the LLM regenerates the block.
|
|
467
|
+
*/
|
|
468
|
+
lineHeight?: number;
|
|
455
469
|
};
|
|
456
470
|
export type ButtonActionHref = {
|
|
457
471
|
url: string;
|
|
@@ -1252,6 +1266,9 @@ export type NewsItem = {
|
|
|
1252
1266
|
author: string;
|
|
1253
1267
|
category: string;
|
|
1254
1268
|
url: string;
|
|
1269
|
+
/** Editorial intro under the title, AI-written in the builder and editable. */
|
|
1270
|
+
annotation: string;
|
|
1271
|
+
annotationTranslations: Record<string, string>;
|
|
1255
1272
|
};
|
|
1256
1273
|
export type NewsSource =
|
|
1257
1274
|
/** Renders as MANUAL. */
|
|
@@ -1284,8 +1301,8 @@ export type NewsData = {
|
|
|
1284
1301
|
/** Feed the articles were taken from, kept for the panel's Refresh. */
|
|
1285
1302
|
feedUrl: string;
|
|
1286
1303
|
/**
|
|
1287
|
-
* Rendered-summary cap in characters. Unset =
|
|
1288
|
-
* explicit 0 =
|
|
1304
|
+
* Rendered-summary cap in characters. Unset = the whole summary,
|
|
1305
|
+
* explicit 0 = no summary at all (the AI intro stands in for it).
|
|
1289
1306
|
*/
|
|
1290
1307
|
summaryLimit?: number;
|
|
1291
1308
|
items: NewsItem[];
|
|
@@ -1306,6 +1323,12 @@ export type NewsData = {
|
|
|
1306
1323
|
* Clamped to leave at least one feed cell; ignored by a MANUAL block.
|
|
1307
1324
|
*/
|
|
1308
1325
|
pinned: number;
|
|
1326
|
+
/**
|
|
1327
|
+
* The AI intros panel's settings, kept so the next issue starts from them; the renderer
|
|
1328
|
+
* ignores both. Tone is "neutral" | "explanatory" | "witty", "" = neutral.
|
|
1329
|
+
*/
|
|
1330
|
+
annotationTone: string;
|
|
1331
|
+
annotationInstruction: string;
|
|
1309
1332
|
};
|
|
1310
1333
|
/**
|
|
1311
1334
|
* What an ad slot renders when no creative is resolved — no active campaign,
|
|
@@ -1156,6 +1156,8 @@ export type ExportUnifiedMessagesArgs = {
|
|
|
1156
1156
|
messageType: string;
|
|
1157
1157
|
/** Application codes to export together; every row names its own project. */
|
|
1158
1158
|
applications: string[];
|
|
1159
|
+
/** Code of the auto-report the export is built for; such exports stay out of GetLastTasks. */
|
|
1160
|
+
report: string;
|
|
1159
1161
|
};
|
|
1160
1162
|
export type ExportUnifiedMessagesResult = {
|
|
1161
1163
|
file: string;
|
|
@@ -1164,6 +1166,16 @@ export type ExportUnifiedMessagesResult = {
|
|
|
1164
1166
|
/** Ready-to-use download URL for `file`; empty when the service has no base URL configured. */
|
|
1165
1167
|
fileUrl: string;
|
|
1166
1168
|
};
|
|
1169
|
+
export type GetResultFileRequest = {
|
|
1170
|
+
uid: number;
|
|
1171
|
+
/** Content is left empty when the file is larger; 0 means no limit. */
|
|
1172
|
+
maxBytes: number;
|
|
1173
|
+
};
|
|
1174
|
+
export type GetResultFileResponse = {
|
|
1175
|
+
name: string;
|
|
1176
|
+
content: string;
|
|
1177
|
+
size: number;
|
|
1178
|
+
};
|
|
1167
1179
|
export type CountControlGroupRequest = {
|
|
1168
1180
|
application: string;
|
|
1169
1181
|
/** empty is the application's global group */
|