@pushwoosh/rpc-v2-http-api-data 0.2.454 → 0.2.456

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
@@ -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
  },
@@ -15854,9 +15883,306 @@ export const data = {
15854
15883
  "response": "pushwoosh.export_messages.v2.GetLastTasksResponse",
15855
15884
  "method": "post",
15856
15885
  "path": "/api/export_messages/statistics_export/lastTasks"
15886
+ },
15887
+ "ListReports": {
15888
+ "request": "pushwoosh.rpc_v2.export_messages.ListReportsRequest",
15889
+ "response": "pushwoosh.rpc_v2.export_messages.ListReportsResponse",
15890
+ "method": "get",
15891
+ "path": "/api/export_messages/applications/{application_code}/reports"
15892
+ },
15893
+ "GetReport": {
15894
+ "request": "pushwoosh.rpc_v2.export_messages.GetReportRequest",
15895
+ "response": "pushwoosh.rpc_v2.export_messages.GetReportResponse",
15896
+ "method": "get",
15897
+ "path": "/api/export_messages/applications/{application_code}/reports/{code}"
15898
+ },
15899
+ "CreateReport": {
15900
+ "request": "pushwoosh.rpc_v2.export_messages.CreateReportRequest",
15901
+ "response": "pushwoosh.rpc_v2.export_messages.CreateReportResponse",
15902
+ "method": "post",
15903
+ "path": "/api/export_messages/applications/{application_code}/reports"
15904
+ },
15905
+ "UpdateReport": {
15906
+ "request": "pushwoosh.rpc_v2.export_messages.UpdateReportRequest",
15907
+ "response": "pushwoosh.rpc_v2.export_messages.UpdateReportResponse",
15908
+ "method": "post",
15909
+ "path": "/api/export_messages/applications/{application_code}/reports/{code}"
15910
+ },
15911
+ "DeleteReport": {
15912
+ "request": "pushwoosh.rpc_v2.export_messages.DeleteReportRequest",
15913
+ "response": "pushwoosh.rpc_v2.export_messages.DeleteReportResponse",
15914
+ "method": "delete",
15915
+ "path": "/api/export_messages/applications/{application_code}/reports/{code}"
15916
+ },
15917
+ "PauseReport": {
15918
+ "request": "pushwoosh.rpc_v2.export_messages.PauseReportRequest",
15919
+ "response": "pushwoosh.rpc_v2.export_messages.PauseReportResponse",
15920
+ "method": "post",
15921
+ "path": "/api/export_messages/applications/{application_code}/reports/{code}/pause"
15922
+ },
15923
+ "ResumeReport": {
15924
+ "request": "pushwoosh.rpc_v2.export_messages.ResumeReportRequest",
15925
+ "response": "pushwoosh.rpc_v2.export_messages.ResumeReportResponse",
15926
+ "method": "post",
15927
+ "path": "/api/export_messages/applications/{application_code}/reports/{code}/resume"
15928
+ },
15929
+ "SendReportNow": {
15930
+ "request": "pushwoosh.rpc_v2.export_messages.SendReportNowRequest",
15931
+ "response": "pushwoosh.rpc_v2.export_messages.SendReportNowResponse",
15932
+ "method": "post",
15933
+ "path": "/api/export_messages/applications/{application_code}/reports/{code}/send_now"
15934
+ }
15935
+ }
15936
+ },
15937
+ "pushwoosh.rpc_v2.export_messages.ReportFrequency": {
15938
+ "type": "E",
15939
+ "values": [
15940
+ "REPORT_FREQUENCY_UNSPECIFIED",
15941
+ "REPORT_FREQUENCY_DAILY",
15942
+ "REPORT_FREQUENCY_WEEKLY",
15943
+ "REPORT_FREQUENCY_MONTHLY"
15944
+ ]
15945
+ },
15946
+ "pushwoosh.rpc_v2.export_messages.ReportStatus": {
15947
+ "type": "E",
15948
+ "values": [
15949
+ "REPORT_STATUS_UNSPECIFIED",
15950
+ "REPORT_STATUS_ACTIVE",
15951
+ "REPORT_STATUS_PAUSED"
15952
+ ]
15953
+ },
15954
+ "pushwoosh.rpc_v2.export_messages.ReportSchedule": {
15955
+ "type": "I",
15956
+ "fields": {
15957
+ "frequency": {
15958
+ "type": "pushwoosh.rpc_v2.export_messages.ReportFrequency"
15959
+ },
15960
+ "day": {
15961
+ "type": "number"
15962
+ },
15963
+ "time": {
15964
+ "type": "string"
15965
+ },
15966
+ "timezone": {
15967
+ "type": "string"
15968
+ }
15969
+ }
15970
+ },
15971
+ "pushwoosh.rpc_v2.export_messages.ReportFilters": {
15972
+ "type": "I",
15973
+ "fields": {
15974
+ "channels": {
15975
+ "type": "string",
15976
+ "array": true
15977
+ },
15978
+ "sources": {
15979
+ "type": "string",
15980
+ "array": true
15981
+ },
15982
+ "messageType": {
15983
+ "type": "string"
15984
+ }
15985
+ }
15986
+ },
15987
+ "pushwoosh.rpc_v2.export_messages.ReportForm": {
15988
+ "type": "I",
15989
+ "fields": {
15990
+ "name": {
15991
+ "type": "string"
15992
+ },
15993
+ "filters": {
15994
+ "type": "pushwoosh.rpc_v2.export_messages.ReportFilters"
15995
+ },
15996
+ "schedule": {
15997
+ "type": "pushwoosh.rpc_v2.export_messages.ReportSchedule"
15998
+ },
15999
+ "recipients": {
16000
+ "type": "string",
16001
+ "array": true
16002
+ }
16003
+ }
16004
+ },
16005
+ "pushwoosh.rpc_v2.export_messages.Report": {
16006
+ "type": "I",
16007
+ "fields": {
16008
+ "code": {
16009
+ "type": "string"
16010
+ },
16011
+ "name": {
16012
+ "type": "string"
16013
+ },
16014
+ "filters": {
16015
+ "type": "pushwoosh.rpc_v2.export_messages.ReportFilters"
16016
+ },
16017
+ "schedule": {
16018
+ "type": "pushwoosh.rpc_v2.export_messages.ReportSchedule"
16019
+ },
16020
+ "status": {
16021
+ "type": "pushwoosh.rpc_v2.export_messages.ReportStatus"
16022
+ },
16023
+ "recipients": {
16024
+ "type": "string",
16025
+ "array": true
16026
+ },
16027
+ "nextRunAt": {
16028
+ "type": "Date"
16029
+ },
16030
+ "lastSentAt": {
16031
+ "type": "Date"
16032
+ },
16033
+ "created": {
16034
+ "type": "Date"
16035
+ },
16036
+ "updated": {
16037
+ "type": "Date"
16038
+ }
16039
+ }
16040
+ },
16041
+ "pushwoosh.rpc_v2.export_messages.ListReportsRequest": {
16042
+ "type": "I",
16043
+ "fields": {
16044
+ "applicationCode": {
16045
+ "type": "string"
16046
+ }
16047
+ }
16048
+ },
16049
+ "pushwoosh.rpc_v2.export_messages.ListReportsResponse": {
16050
+ "type": "I",
16051
+ "fields": {
16052
+ "reports": {
16053
+ "type": "pushwoosh.rpc_v2.export_messages.Report",
16054
+ "array": true
16055
+ }
16056
+ }
16057
+ },
16058
+ "pushwoosh.rpc_v2.export_messages.GetReportRequest": {
16059
+ "type": "I",
16060
+ "fields": {
16061
+ "applicationCode": {
16062
+ "type": "string"
16063
+ },
16064
+ "code": {
16065
+ "type": "string"
16066
+ }
16067
+ }
16068
+ },
16069
+ "pushwoosh.rpc_v2.export_messages.GetReportResponse": {
16070
+ "type": "I",
16071
+ "fields": {
16072
+ "report": {
16073
+ "type": "pushwoosh.rpc_v2.export_messages.Report"
16074
+ }
16075
+ }
16076
+ },
16077
+ "pushwoosh.rpc_v2.export_messages.CreateReportRequest": {
16078
+ "type": "I",
16079
+ "fields": {
16080
+ "applicationCode": {
16081
+ "type": "string"
16082
+ },
16083
+ "form": {
16084
+ "type": "pushwoosh.rpc_v2.export_messages.ReportForm"
16085
+ }
16086
+ }
16087
+ },
16088
+ "pushwoosh.rpc_v2.export_messages.CreateReportResponse": {
16089
+ "type": "I",
16090
+ "fields": {
16091
+ "report": {
16092
+ "type": "pushwoosh.rpc_v2.export_messages.Report"
16093
+ }
16094
+ }
16095
+ },
16096
+ "pushwoosh.rpc_v2.export_messages.UpdateReportRequest": {
16097
+ "type": "I",
16098
+ "fields": {
16099
+ "applicationCode": {
16100
+ "type": "string"
16101
+ },
16102
+ "code": {
16103
+ "type": "string"
16104
+ },
16105
+ "form": {
16106
+ "type": "pushwoosh.rpc_v2.export_messages.ReportForm"
15857
16107
  }
15858
16108
  }
15859
16109
  },
16110
+ "pushwoosh.rpc_v2.export_messages.UpdateReportResponse": {
16111
+ "type": "I",
16112
+ "fields": {
16113
+ "report": {
16114
+ "type": "pushwoosh.rpc_v2.export_messages.Report"
16115
+ }
16116
+ }
16117
+ },
16118
+ "pushwoosh.rpc_v2.export_messages.DeleteReportRequest": {
16119
+ "type": "I",
16120
+ "fields": {
16121
+ "applicationCode": {
16122
+ "type": "string"
16123
+ },
16124
+ "code": {
16125
+ "type": "string"
16126
+ }
16127
+ }
16128
+ },
16129
+ "pushwoosh.rpc_v2.export_messages.DeleteReportResponse": {
16130
+ "type": "I",
16131
+ "fields": {}
16132
+ },
16133
+ "pushwoosh.rpc_v2.export_messages.PauseReportRequest": {
16134
+ "type": "I",
16135
+ "fields": {
16136
+ "applicationCode": {
16137
+ "type": "string"
16138
+ },
16139
+ "code": {
16140
+ "type": "string"
16141
+ }
16142
+ }
16143
+ },
16144
+ "pushwoosh.rpc_v2.export_messages.PauseReportResponse": {
16145
+ "type": "I",
16146
+ "fields": {
16147
+ "report": {
16148
+ "type": "pushwoosh.rpc_v2.export_messages.Report"
16149
+ }
16150
+ }
16151
+ },
16152
+ "pushwoosh.rpc_v2.export_messages.ResumeReportRequest": {
16153
+ "type": "I",
16154
+ "fields": {
16155
+ "applicationCode": {
16156
+ "type": "string"
16157
+ },
16158
+ "code": {
16159
+ "type": "string"
16160
+ }
16161
+ }
16162
+ },
16163
+ "pushwoosh.rpc_v2.export_messages.ResumeReportResponse": {
16164
+ "type": "I",
16165
+ "fields": {
16166
+ "report": {
16167
+ "type": "pushwoosh.rpc_v2.export_messages.Report"
16168
+ }
16169
+ }
16170
+ },
16171
+ "pushwoosh.rpc_v2.export_messages.SendReportNowRequest": {
16172
+ "type": "I",
16173
+ "fields": {
16174
+ "applicationCode": {
16175
+ "type": "string"
16176
+ },
16177
+ "code": {
16178
+ "type": "string"
16179
+ }
16180
+ }
16181
+ },
16182
+ "pushwoosh.rpc_v2.export_messages.SendReportNowResponse": {
16183
+ "type": "I",
16184
+ "fields": {}
16185
+ },
15860
16186
  "pushwoosh.export_messages.v2.TaskType": {
15861
16187
  "type": "E",
15862
16188
  "values": [
@@ -15,6 +15,14 @@ export type ExportStatisticsService_StatisticsExport = RpcMethod<pushwoosh_expor
15
15
  export type ExportStatisticsService_StatisticsExportStatus = RpcMethod<pushwoosh_export_messages_v2_StatusRequest, pushwoosh_export_messages_v2_StatusResponse>;
16
16
  export type ExportStatisticsService_StatisticsExportResult = RpcMethod<pushwoosh_export_messages_v2_ResultRequest, pushwoosh_export_messages_v2_ResultResponse>;
17
17
  export type ExportStatisticsService_StatisticsExportLastTasks = RpcMethod<pushwoosh_export_messages_v2_GetLastTasksRequest, pushwoosh_export_messages_v2_GetLastTasksResponse>;
18
+ export type ExportStatisticsService_ListReports = RpcMethod<ListReportsRequest, ListReportsResponse>;
19
+ export type ExportStatisticsService_GetReport = RpcMethod<GetReportRequest, GetReportResponse>;
20
+ export type ExportStatisticsService_CreateReport = RpcMethod<CreateReportRequest, CreateReportResponse>;
21
+ export type ExportStatisticsService_UpdateReport = RpcMethod<UpdateReportRequest, UpdateReportResponse>;
22
+ export type ExportStatisticsService_DeleteReport = RpcMethod<DeleteReportRequest, DeleteReportResponse>;
23
+ export type ExportStatisticsService_PauseReport = RpcMethod<PauseReportRequest, PauseReportResponse>;
24
+ export type ExportStatisticsService_ResumeReport = RpcMethod<ResumeReportRequest, ResumeReportResponse>;
25
+ export type ExportStatisticsService_SendReportNow = RpcMethod<SendReportNowRequest, SendReportNowResponse>;
18
26
  export interface ExportStatisticsService {
19
27
  /** Starts an asynchronous export or computation task (CSV of message history, recipients, bounced emails, journey users, retention, or create-segment-from-message) and returns its numeric task uid. The task type and its args select what is produced; poll get_export_task_status, then fetch get_export_task_result. */
20
28
  Export: ExportStatisticsService_Export;
@@ -35,4 +43,128 @@ export interface ExportStatisticsService {
35
43
  StatisticsExportResult: ExportStatisticsService_StatisticsExportResult;
36
44
  /** Recent statistics export tasks of the application. Same right as their Export. */
37
45
  StatisticsExportLastTasks: ExportStatisticsService_StatisticsExportLastTasks;
46
+ /** Auto-reports: the CSV of the Overview export emailed on a schedule to up to 25 recipients. Lists them, newest first. */
47
+ ListReports: ExportStatisticsService_ListReports;
48
+ /** Returns one auto-report. */
49
+ GetReport: ExportStatisticsService_GetReport;
50
+ /** Creates an active auto-report. An application holds at most 25 of them, and no two share a name in any case. */
51
+ CreateReport: ExportStatisticsService_CreateReport;
52
+ /** Replaces the name, filters, schedule and recipients of an auto-report; the status is kept. */
53
+ UpdateReport: ExportStatisticsService_UpdateReport;
54
+ /** Deletes an auto-report; its recipients stop receiving it. */
55
+ DeleteReport: ExportStatisticsService_DeleteReport;
56
+ /** Stops sending an auto-report until it is resumed. */
57
+ PauseReport: ExportStatisticsService_PauseReport;
58
+ /** Resumes a paused auto-report from its next scheduled time. */
59
+ ResumeReport: ExportStatisticsService_ResumeReport;
60
+ /** Sends the report now for the same period as its schedule, outside the schedule. Once an hour per report. */
61
+ SendReportNow: ExportStatisticsService_SendReportNow;
38
62
  }
63
+ export type ReportFrequency = 'REPORT_FREQUENCY_UNSPECIFIED' | 'REPORT_FREQUENCY_DAILY' | 'REPORT_FREQUENCY_WEEKLY' | 'REPORT_FREQUENCY_MONTHLY';
64
+ export type ReportStatus = 'REPORT_STATUS_UNSPECIFIED' | 'REPORT_STATUS_ACTIVE' | 'REPORT_STATUS_PAUSED';
65
+ /** Daily covers yesterday, weekly the last 7 full days, monthly the previous calendar month. */
66
+ export type ReportSchedule = {
67
+ frequency: ReportFrequency;
68
+ /** Weekly: 1-7 from Monday. Monthly: 1-31, a day past the end of a month sends on its last day. Unused for daily. */
69
+ day: number;
70
+ /** HH:MM in timezone */
71
+ time: string;
72
+ /** IANA name, e.g. Europe/Berlin */
73
+ timezone: string;
74
+ };
75
+ /** The filters of the unified messages export. */
76
+ export type ReportFilters = {
77
+ /** "push" and "email", at least one */
78
+ channels: string[];
79
+ /** "one-time" and "journey", at least one */
80
+ sources: string[];
81
+ /** "marketing" or "transactional"; empty keeps both */
82
+ messageType: string;
83
+ };
84
+ export type ReportForm = {
85
+ name: string;
86
+ filters: ReportFilters;
87
+ schedule: ReportSchedule;
88
+ /** 1-25 addresses */
89
+ recipients: string[];
90
+ };
91
+ export type Report = {
92
+ /** Report code (XXXXX-XXXXX). */
93
+ code: string;
94
+ name: string;
95
+ filters: ReportFilters;
96
+ schedule: ReportSchedule;
97
+ status: ReportStatus;
98
+ recipients: string[];
99
+ /** empty while paused */
100
+ nextRunAt: Date;
101
+ lastSentAt: Date;
102
+ created: Date;
103
+ updated: Date;
104
+ };
105
+ export type ListReportsRequest = {
106
+ /** Application code (XXXXX-XXXXX). */
107
+ applicationCode?: string;
108
+ };
109
+ export type ListReportsResponse = {
110
+ reports: Report[];
111
+ };
112
+ export type GetReportRequest = {
113
+ /** Application code (XXXXX-XXXXX). */
114
+ applicationCode?: string;
115
+ /** Report code (XXXXX-XXXXX). */
116
+ code?: string;
117
+ };
118
+ export type GetReportResponse = {
119
+ report: Report;
120
+ };
121
+ export type CreateReportRequest = {
122
+ /** Application code (XXXXX-XXXXX). */
123
+ applicationCode?: string;
124
+ form?: ReportForm;
125
+ };
126
+ export type CreateReportResponse = {
127
+ report: Report;
128
+ };
129
+ export type UpdateReportRequest = {
130
+ /** Application code (XXXXX-XXXXX). */
131
+ applicationCode?: string;
132
+ /** Report code (XXXXX-XXXXX). */
133
+ code?: string;
134
+ form?: ReportForm;
135
+ };
136
+ export type UpdateReportResponse = {
137
+ report: Report;
138
+ };
139
+ export type DeleteReportRequest = {
140
+ /** Application code (XXXXX-XXXXX). */
141
+ applicationCode?: string;
142
+ /** Report code (XXXXX-XXXXX). */
143
+ code?: string;
144
+ };
145
+ export type DeleteReportResponse = {};
146
+ export type PauseReportRequest = {
147
+ /** Application code (XXXXX-XXXXX). */
148
+ applicationCode?: string;
149
+ /** Report code (XXXXX-XXXXX). */
150
+ code?: string;
151
+ };
152
+ export type PauseReportResponse = {
153
+ report: Report;
154
+ };
155
+ export type ResumeReportRequest = {
156
+ /** Application code (XXXXX-XXXXX). */
157
+ applicationCode?: string;
158
+ /** Report code (XXXXX-XXXXX). */
159
+ code?: string;
160
+ };
161
+ export type ResumeReportResponse = {
162
+ report: Report;
163
+ };
164
+ export type SendReportNowRequest = {
165
+ /** Application code (XXXXX-XXXXX). */
166
+ applicationCode?: string;
167
+ /** Report code (XXXXX-XXXXX). */
168
+ code?: string;
169
+ };
170
+ export type SendReportNowResponse = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.454",
3
+ "version": "0.2.456",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -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 = renderer default,
1288
- * explicit 0 = off.
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,