@pushwoosh/rpc-gateway-ai-assistant 0.1.113 → 0.1.115
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 +516 -564
- package/index.d.ts +2 -2
- package/package.json +1 -1
- package/pushwoosh_aibuilder_v1.d.ts +13 -194
- package/pushwoosh_aigen_v1.d.ts +256 -0
- package/pushwoosh_aigen_v1.js +3 -0
package/data.js
CHANGED
|
@@ -1,418 +1,336 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
/* Autogenerated code */
|
|
3
3
|
export const data = {
|
|
4
|
-
"pushwoosh.aibuilder.v1.
|
|
5
|
-
"type": "
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"GenerateBlock": {
|
|
23
|
-
"request": "pushwoosh.aibuilder.v1.BuilderGenerateBlockRequest",
|
|
24
|
-
"response": "pushwoosh.aibuilder.v1.BuilderCreateStreamEvent",
|
|
25
|
-
"method": "post",
|
|
26
|
-
"path": "/api/v1/builder/generate-block",
|
|
27
|
-
"serverStreaming": true
|
|
28
|
-
},
|
|
29
|
-
"GenerateDescription": {
|
|
30
|
-
"request": "pushwoosh.aibuilder.v1.BuilderGenerateDescriptionRequest",
|
|
31
|
-
"response": "pushwoosh.aibuilder.v1.BuilderGenerateDescriptionResponse",
|
|
32
|
-
"method": "post",
|
|
33
|
-
"path": "/api/v1/builder/generate-description"
|
|
34
|
-
}
|
|
35
|
-
}
|
|
4
|
+
"pushwoosh.aibuilder.v1.DocumentBlockType": {
|
|
5
|
+
"type": "E",
|
|
6
|
+
"values": [
|
|
7
|
+
"DOCUMENT_BLOCK_TYPE_UNSPECIFIED",
|
|
8
|
+
"DOCUMENT_BLOCK_TYPE_CARD",
|
|
9
|
+
"DOCUMENT_BLOCK_TYPE_COLUMNS"
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
"pushwoosh.aibuilder.v1.CardLayout": {
|
|
13
|
+
"type": "E",
|
|
14
|
+
"values": [
|
|
15
|
+
"CARD_LAYOUT_UNSPECIFIED",
|
|
16
|
+
"CARD_LAYOUT_RIGHT",
|
|
17
|
+
"CARD_LAYOUT_LEFT",
|
|
18
|
+
"CARD_LAYOUT_TOP",
|
|
19
|
+
"CARD_LAYOUT_NO",
|
|
20
|
+
"CARD_LAYOUT_BACKGROUND"
|
|
21
|
+
]
|
|
36
22
|
},
|
|
37
|
-
"pushwoosh.aibuilder.v1.
|
|
23
|
+
"pushwoosh.aibuilder.v1.ButtonGroupAlign": {
|
|
24
|
+
"type": "E",
|
|
25
|
+
"values": [
|
|
26
|
+
"BUTTON_GROUP_ALIGN_UNSPECIFIED",
|
|
27
|
+
"BUTTON_GROUP_ALIGN_LEFT",
|
|
28
|
+
"BUTTON_GROUP_ALIGN_CENTER",
|
|
29
|
+
"BUTTON_GROUP_ALIGN_RIGHT"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"pushwoosh.aibuilder.v1.CardImageFit": {
|
|
38
33
|
"type": "E",
|
|
39
34
|
"values": [
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
35
|
+
"CARD_IMAGE_FIT_UNSPECIFIED",
|
|
36
|
+
"CARD_IMAGE_FIT_COVER",
|
|
37
|
+
"CARD_IMAGE_FIT_CONTAIN",
|
|
38
|
+
"CARD_IMAGE_FIT_FILL"
|
|
44
39
|
]
|
|
45
40
|
},
|
|
46
|
-
"pushwoosh.aibuilder.v1.
|
|
41
|
+
"pushwoosh.aibuilder.v1.TextVariantStyle": {
|
|
47
42
|
"type": "I",
|
|
48
43
|
"fields": {
|
|
49
|
-
"
|
|
50
|
-
"type": "
|
|
51
|
-
},
|
|
52
|
-
"field": {
|
|
53
|
-
"type": "pushwoosh.aibuilder.v1.BuilderDescriptionField"
|
|
44
|
+
"fontSize": {
|
|
45
|
+
"type": "number"
|
|
54
46
|
},
|
|
55
|
-
"
|
|
56
|
-
"type": "
|
|
47
|
+
"fontWeight": {
|
|
48
|
+
"type": "number"
|
|
57
49
|
},
|
|
58
|
-
"
|
|
59
|
-
"type": "
|
|
50
|
+
"lineHeight": {
|
|
51
|
+
"type": "number"
|
|
60
52
|
}
|
|
61
53
|
}
|
|
62
54
|
},
|
|
63
|
-
"pushwoosh.aibuilder.v1.
|
|
55
|
+
"pushwoosh.aibuilder.v1.ColorSchemeItem": {
|
|
64
56
|
"type": "I",
|
|
65
57
|
"fields": {
|
|
66
|
-
"
|
|
58
|
+
"color": {
|
|
59
|
+
"type": "string"
|
|
60
|
+
},
|
|
61
|
+
"description": {
|
|
67
62
|
"type": "string"
|
|
68
63
|
}
|
|
69
64
|
}
|
|
70
65
|
},
|
|
71
|
-
"pushwoosh.aibuilder.v1.
|
|
72
|
-
"type": "E",
|
|
73
|
-
"values": [
|
|
74
|
-
"LLM_PROVIDER_UNSPECIFIED",
|
|
75
|
-
"LLM_PROVIDER_QWEN",
|
|
76
|
-
"LLM_PROVIDER_GEMINI"
|
|
77
|
-
]
|
|
78
|
-
},
|
|
79
|
-
"pushwoosh.aibuilder.v1.BuilderCreateRequest": {
|
|
66
|
+
"pushwoosh.aibuilder.v1.EdgeInsets": {
|
|
80
67
|
"type": "I",
|
|
81
68
|
"fields": {
|
|
82
|
-
"
|
|
83
|
-
"type": "
|
|
84
|
-
},
|
|
85
|
-
"application": {
|
|
86
|
-
"type": "string"
|
|
87
|
-
},
|
|
88
|
-
"structureModel": {
|
|
89
|
-
"type": "pushwoosh.aibuilder.v1.LLMProvider"
|
|
90
|
-
},
|
|
91
|
-
"textModel": {
|
|
92
|
-
"type": "pushwoosh.aibuilder.v1.LLMProvider"
|
|
93
|
-
},
|
|
94
|
-
"generateImages": {
|
|
95
|
-
"type": "boolean"
|
|
69
|
+
"top": {
|
|
70
|
+
"type": "number"
|
|
96
71
|
},
|
|
97
|
-
"
|
|
98
|
-
"type": "
|
|
72
|
+
"right": {
|
|
73
|
+
"type": "number"
|
|
99
74
|
},
|
|
100
|
-
"
|
|
101
|
-
"type": "
|
|
102
|
-
"mapKeyType": "string"
|
|
75
|
+
"bottom": {
|
|
76
|
+
"type": "number"
|
|
103
77
|
},
|
|
104
|
-
"
|
|
105
|
-
"type": "
|
|
106
|
-
"mapKeyType": "string"
|
|
78
|
+
"left": {
|
|
79
|
+
"type": "number"
|
|
107
80
|
}
|
|
108
81
|
}
|
|
109
82
|
},
|
|
110
|
-
"pushwoosh.aibuilder.v1.
|
|
83
|
+
"pushwoosh.aibuilder.v1.BlockStyles": {
|
|
111
84
|
"type": "I",
|
|
112
85
|
"fields": {
|
|
113
|
-
"
|
|
114
|
-
"type": "pushwoosh.aibuilder.v1.AiBuilderDocument"
|
|
115
|
-
},
|
|
116
|
-
"prompt": {
|
|
86
|
+
"backgroundColor": {
|
|
117
87
|
"type": "string"
|
|
118
88
|
},
|
|
119
|
-
"
|
|
120
|
-
"type": "string",
|
|
121
|
-
"optional": true
|
|
122
|
-
},
|
|
123
|
-
"application": {
|
|
89
|
+
"borderColor": {
|
|
124
90
|
"type": "string"
|
|
125
91
|
},
|
|
126
|
-
"
|
|
127
|
-
"type": "
|
|
128
|
-
"mapKeyType": "string"
|
|
129
|
-
},
|
|
130
|
-
"colorScheme": {
|
|
131
|
-
"type": "pushwoosh.aibuilder.v1.ColorSchemeItem",
|
|
132
|
-
"mapKeyType": "string"
|
|
92
|
+
"borderWidth": {
|
|
93
|
+
"type": "number"
|
|
133
94
|
},
|
|
134
|
-
"
|
|
135
|
-
"type": "
|
|
95
|
+
"borderRadius": {
|
|
96
|
+
"type": "number"
|
|
136
97
|
}
|
|
137
98
|
}
|
|
138
99
|
},
|
|
139
|
-
"pushwoosh.aibuilder.v1.
|
|
100
|
+
"pushwoosh.aibuilder.v1.ColumnsStyles": {
|
|
140
101
|
"type": "I",
|
|
141
102
|
"fields": {
|
|
142
|
-
"
|
|
143
|
-
"type": "
|
|
144
|
-
|
|
145
|
-
"application": {
|
|
146
|
-
"type": "string"
|
|
147
|
-
},
|
|
148
|
-
"blockType": {
|
|
149
|
-
"type": "pushwoosh.aibuilder.v1.DocumentBlockType"
|
|
150
|
-
},
|
|
151
|
-
"document": {
|
|
152
|
-
"type": "pushwoosh.aibuilder.v1.AiBuilderDocument"
|
|
153
|
-
},
|
|
154
|
-
"prevBlockId": {
|
|
155
|
-
"type": "string"
|
|
156
|
-
},
|
|
157
|
-
"generateImages": {
|
|
158
|
-
"type": "boolean"
|
|
159
|
-
},
|
|
160
|
-
"blockId": {
|
|
161
|
-
"type": "string"
|
|
103
|
+
"columnPadding": {
|
|
104
|
+
"type": "pushwoosh.aibuilder.v1.EdgeInsets",
|
|
105
|
+
"optional": true
|
|
162
106
|
},
|
|
163
|
-
"
|
|
164
|
-
"type": "
|
|
107
|
+
"gap": {
|
|
108
|
+
"type": "number",
|
|
109
|
+
"optional": true
|
|
165
110
|
},
|
|
166
|
-
"
|
|
167
|
-
"type": "pushwoosh.aibuilder.v1.
|
|
111
|
+
"padding": {
|
|
112
|
+
"type": "pushwoosh.aibuilder.v1.EdgeInsets",
|
|
113
|
+
"optional": true
|
|
168
114
|
}
|
|
169
115
|
}
|
|
170
116
|
},
|
|
171
|
-
"pushwoosh.aibuilder.v1.
|
|
117
|
+
"pushwoosh.aibuilder.v1.CardStyles": {
|
|
172
118
|
"type": "I",
|
|
173
119
|
"fields": {
|
|
174
|
-
"
|
|
175
|
-
"type": "
|
|
120
|
+
"accentFitPadding": {
|
|
121
|
+
"type": "pushwoosh.aibuilder.v1.EdgeInsets",
|
|
122
|
+
"optional": true
|
|
123
|
+
},
|
|
124
|
+
"contentPadding": {
|
|
125
|
+
"type": "pushwoosh.aibuilder.v1.EdgeInsets",
|
|
126
|
+
"optional": true
|
|
176
127
|
}
|
|
177
128
|
}
|
|
178
129
|
},
|
|
179
|
-
"pushwoosh.aibuilder.v1.
|
|
130
|
+
"pushwoosh.aibuilder.v1.DefaultStyles": {
|
|
180
131
|
"type": "I",
|
|
181
132
|
"fields": {
|
|
182
|
-
"
|
|
183
|
-
"type": "pushwoosh.aibuilder.v1.
|
|
133
|
+
"common": {
|
|
134
|
+
"type": "pushwoosh.aibuilder.v1.BlockStyles"
|
|
184
135
|
},
|
|
185
|
-
"
|
|
186
|
-
"type": "
|
|
136
|
+
"columns": {
|
|
137
|
+
"type": "pushwoosh.aibuilder.v1.ColumnsStyles"
|
|
187
138
|
},
|
|
188
|
-
"
|
|
189
|
-
"type": "pushwoosh.aibuilder.v1.
|
|
139
|
+
"card": {
|
|
140
|
+
"type": "pushwoosh.aibuilder.v1.CardStyles"
|
|
190
141
|
},
|
|
191
|
-
"
|
|
192
|
-
"type": "
|
|
142
|
+
"buttonGroup": {
|
|
143
|
+
"type": "pushwoosh.aibuilder.v1.ButtonGroupStyles"
|
|
193
144
|
},
|
|
194
|
-
"
|
|
195
|
-
"type": "pushwoosh.aibuilder.v1.
|
|
196
|
-
}
|
|
197
|
-
},
|
|
198
|
-
"oneofs": {
|
|
199
|
-
"event": {
|
|
200
|
-
"oneof": [
|
|
201
|
-
"updateBlock",
|
|
202
|
-
"deleteBlock",
|
|
203
|
-
"done",
|
|
204
|
-
"error",
|
|
205
|
-
"updateSettings"
|
|
206
|
-
]
|
|
145
|
+
"button": {
|
|
146
|
+
"type": "pushwoosh.aibuilder.v1.ButtonStyles"
|
|
207
147
|
}
|
|
208
148
|
}
|
|
209
149
|
},
|
|
210
|
-
"pushwoosh.aibuilder.v1.
|
|
150
|
+
"pushwoosh.aibuilder.v1.DocumentSettings": {
|
|
211
151
|
"type": "I",
|
|
212
152
|
"fields": {
|
|
153
|
+
"width": {
|
|
154
|
+
"type": "number"
|
|
155
|
+
},
|
|
156
|
+
"blockGap": {
|
|
157
|
+
"type": "number"
|
|
158
|
+
},
|
|
159
|
+
"padding": {
|
|
160
|
+
"type": "pushwoosh.aibuilder.v1.EdgeInsets"
|
|
161
|
+
},
|
|
213
162
|
"backgroundColor": {
|
|
214
163
|
"type": "string"
|
|
215
164
|
},
|
|
216
165
|
"textColor": {
|
|
217
166
|
"type": "string"
|
|
167
|
+
},
|
|
168
|
+
"defaultStyles": {
|
|
169
|
+
"type": "pushwoosh.aibuilder.v1.DefaultStyles"
|
|
218
170
|
}
|
|
219
171
|
}
|
|
220
172
|
},
|
|
221
|
-
"pushwoosh.aibuilder.v1.
|
|
173
|
+
"pushwoosh.aibuilder.v1.TextBlock": {
|
|
222
174
|
"type": "I",
|
|
223
175
|
"fields": {
|
|
224
|
-
"
|
|
176
|
+
"variant": {
|
|
225
177
|
"type": "string"
|
|
226
178
|
},
|
|
227
|
-
"
|
|
179
|
+
"text": {
|
|
228
180
|
"type": "string"
|
|
229
181
|
}
|
|
230
182
|
}
|
|
231
183
|
},
|
|
232
|
-
"pushwoosh.aibuilder.v1.
|
|
184
|
+
"pushwoosh.aibuilder.v1.ButtonActionHref": {
|
|
233
185
|
"type": "I",
|
|
234
186
|
"fields": {
|
|
235
|
-
"
|
|
236
|
-
"type": "
|
|
237
|
-
"array": true
|
|
238
|
-
},
|
|
239
|
-
"settings": {
|
|
240
|
-
"type": "pushwoosh.aibuilder.v1.BuilderCreateColorSettings"
|
|
241
|
-
},
|
|
242
|
-
"textVariants": {
|
|
243
|
-
"type": "pushwoosh.aibuilder.v1.TextVariantStyle",
|
|
244
|
-
"mapKeyType": "string"
|
|
245
|
-
},
|
|
246
|
-
"colorScheme": {
|
|
247
|
-
"type": "pushwoosh.aibuilder.v1.ColorSchemeItem",
|
|
248
|
-
"mapKeyType": "string"
|
|
249
|
-
},
|
|
250
|
-
"emailMeta": {
|
|
251
|
-
"type": "pushwoosh.aibuilder.v1.EmailMeta"
|
|
187
|
+
"url": {
|
|
188
|
+
"type": "string"
|
|
252
189
|
}
|
|
253
190
|
}
|
|
254
191
|
},
|
|
255
|
-
"pushwoosh.aibuilder.v1.
|
|
192
|
+
"pushwoosh.aibuilder.v1.ButtonAction": {
|
|
256
193
|
"type": "I",
|
|
257
194
|
"fields": {
|
|
258
|
-
"
|
|
259
|
-
"type": "
|
|
260
|
-
},
|
|
261
|
-
"card": {
|
|
262
|
-
"type": "pushwoosh.aibuilder.v1.BuilderCreateCard"
|
|
263
|
-
},
|
|
264
|
-
"columns": {
|
|
265
|
-
"type": "pushwoosh.aibuilder.v1.BuilderCreateColumns"
|
|
266
|
-
},
|
|
267
|
-
"styles": {
|
|
268
|
-
"type": "pushwoosh.aibuilder.v1.BuilderCreateBlockColors",
|
|
269
|
-
"optional": true
|
|
195
|
+
"href": {
|
|
196
|
+
"type": "pushwoosh.aibuilder.v1.ButtonActionHref"
|
|
270
197
|
}
|
|
271
198
|
},
|
|
272
199
|
"oneofs": {
|
|
273
|
-
"
|
|
200
|
+
"action": {
|
|
274
201
|
"oneof": [
|
|
275
|
-
"
|
|
276
|
-
"columns"
|
|
202
|
+
"href"
|
|
277
203
|
]
|
|
278
204
|
}
|
|
279
205
|
}
|
|
280
206
|
},
|
|
281
|
-
"pushwoosh.aibuilder.v1.
|
|
207
|
+
"pushwoosh.aibuilder.v1.Button": {
|
|
282
208
|
"type": "I",
|
|
283
209
|
"fields": {
|
|
284
|
-
"
|
|
285
|
-
"type": "
|
|
286
|
-
},
|
|
287
|
-
"image": {
|
|
288
|
-
"type": "pushwoosh.aibuilder.v1.Image",
|
|
289
|
-
"optional": true
|
|
290
|
-
},
|
|
291
|
-
"content": {
|
|
292
|
-
"type": "pushwoosh.aibuilder.v1.Content"
|
|
210
|
+
"text": {
|
|
211
|
+
"type": "string"
|
|
293
212
|
},
|
|
294
|
-
"
|
|
295
|
-
"type": "pushwoosh.aibuilder.v1.
|
|
213
|
+
"action": {
|
|
214
|
+
"type": "pushwoosh.aibuilder.v1.ButtonAction"
|
|
296
215
|
},
|
|
297
|
-
"
|
|
298
|
-
"type": "
|
|
216
|
+
"styles": {
|
|
217
|
+
"type": "pushwoosh.aibuilder.v1.ButtonStyles",
|
|
218
|
+
"optional": true
|
|
299
219
|
}
|
|
300
220
|
}
|
|
301
221
|
},
|
|
302
|
-
"pushwoosh.aibuilder.v1.
|
|
222
|
+
"pushwoosh.aibuilder.v1.ButtonStyles": {
|
|
303
223
|
"type": "I",
|
|
304
224
|
"fields": {
|
|
305
|
-
"
|
|
306
|
-
"type": "
|
|
225
|
+
"backgroundColor": {
|
|
226
|
+
"type": "string",
|
|
227
|
+
"optional": true
|
|
307
228
|
},
|
|
308
|
-
"
|
|
309
|
-
"type": "
|
|
310
|
-
"
|
|
229
|
+
"textColor": {
|
|
230
|
+
"type": "string",
|
|
231
|
+
"optional": true
|
|
311
232
|
},
|
|
312
|
-
"
|
|
313
|
-
"type": "
|
|
233
|
+
"borderRadius": {
|
|
234
|
+
"type": "number",
|
|
314
235
|
"optional": true
|
|
315
236
|
},
|
|
316
|
-
"
|
|
317
|
-
"type": "
|
|
237
|
+
"borderColor": {
|
|
238
|
+
"type": "string",
|
|
239
|
+
"optional": true
|
|
240
|
+
},
|
|
241
|
+
"borderWidth": {
|
|
242
|
+
"type": "number",
|
|
243
|
+
"optional": true
|
|
244
|
+
},
|
|
245
|
+
"fontSize": {
|
|
246
|
+
"type": "number",
|
|
318
247
|
"optional": true
|
|
319
248
|
}
|
|
320
249
|
}
|
|
321
250
|
},
|
|
322
|
-
"pushwoosh.aibuilder.v1.
|
|
251
|
+
"pushwoosh.aibuilder.v1.ButtonGroup": {
|
|
323
252
|
"type": "I",
|
|
324
253
|
"fields": {
|
|
325
|
-
"
|
|
326
|
-
"type": "pushwoosh.aibuilder.v1.
|
|
254
|
+
"buttons": {
|
|
255
|
+
"type": "pushwoosh.aibuilder.v1.Button",
|
|
256
|
+
"array": true
|
|
257
|
+
},
|
|
258
|
+
"styles": {
|
|
259
|
+
"type": "pushwoosh.aibuilder.v1.ButtonGroupStyles",
|
|
327
260
|
"optional": true
|
|
328
261
|
},
|
|
329
|
-
"
|
|
330
|
-
"type": "pushwoosh.aibuilder.v1.
|
|
262
|
+
"align": {
|
|
263
|
+
"type": "pushwoosh.aibuilder.v1.ButtonGroupAlign"
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"pushwoosh.aibuilder.v1.ButtonGroupStyles": {
|
|
268
|
+
"type": "I",
|
|
269
|
+
"fields": {
|
|
270
|
+
"padding": {
|
|
271
|
+
"type": "pushwoosh.aibuilder.v1.EdgeInsets",
|
|
272
|
+
"optional": true
|
|
331
273
|
},
|
|
332
|
-
"
|
|
274
|
+
"backgroundColor": {
|
|
333
275
|
"type": "string",
|
|
334
276
|
"optional": true
|
|
277
|
+
},
|
|
278
|
+
"gap": {
|
|
279
|
+
"type": "number",
|
|
280
|
+
"optional": true
|
|
335
281
|
}
|
|
336
282
|
}
|
|
337
283
|
},
|
|
338
|
-
"pushwoosh.aibuilder.v1.
|
|
284
|
+
"pushwoosh.aibuilder.v1.ContentItem": {
|
|
339
285
|
"type": "I",
|
|
340
286
|
"fields": {
|
|
341
|
-
"
|
|
342
|
-
"type": "pushwoosh.aibuilder.v1.
|
|
343
|
-
},
|
|
344
|
-
"textDelta": {
|
|
345
|
-
"type": "pushwoosh.aibuilder.v1.BuilderCreateTextDelta"
|
|
346
|
-
},
|
|
347
|
-
"imageDelta": {
|
|
348
|
-
"type": "pushwoosh.aibuilder.v1.BuilderCreateImageDelta"
|
|
349
|
-
},
|
|
350
|
-
"done": {
|
|
351
|
-
"type": "pushwoosh.aibuilder.v1.BuilderDoneEvent"
|
|
352
|
-
},
|
|
353
|
-
"error": {
|
|
354
|
-
"type": "string"
|
|
355
|
-
},
|
|
356
|
-
"progress": {
|
|
357
|
-
"type": "string"
|
|
358
|
-
},
|
|
359
|
-
"buttonGroupDelta": {
|
|
360
|
-
"type": "pushwoosh.aibuilder.v1.BuilderCreateButtonGroupDelta"
|
|
287
|
+
"text": {
|
|
288
|
+
"type": "pushwoosh.aibuilder.v1.TextBlock"
|
|
361
289
|
},
|
|
362
|
-
"
|
|
363
|
-
"type": "pushwoosh.aibuilder.v1.
|
|
290
|
+
"buttonGroup": {
|
|
291
|
+
"type": "pushwoosh.aibuilder.v1.ButtonGroup"
|
|
364
292
|
}
|
|
365
293
|
},
|
|
366
294
|
"oneofs": {
|
|
367
|
-
"
|
|
295
|
+
"item": {
|
|
368
296
|
"oneof": [
|
|
369
|
-
"
|
|
370
|
-
"
|
|
371
|
-
"imageDelta",
|
|
372
|
-
"done",
|
|
373
|
-
"error",
|
|
374
|
-
"progress",
|
|
375
|
-
"buttonGroupDelta",
|
|
376
|
-
"contentError"
|
|
297
|
+
"text",
|
|
298
|
+
"buttonGroup"
|
|
377
299
|
]
|
|
378
300
|
}
|
|
379
301
|
}
|
|
380
302
|
},
|
|
381
|
-
"pushwoosh.aibuilder.v1.
|
|
303
|
+
"pushwoosh.aibuilder.v1.Content": {
|
|
382
304
|
"type": "I",
|
|
383
305
|
"fields": {
|
|
384
|
-
"
|
|
385
|
-
"type": "
|
|
306
|
+
"items": {
|
|
307
|
+
"type": "pushwoosh.aibuilder.v1.ContentItem",
|
|
308
|
+
"array": true
|
|
386
309
|
},
|
|
387
|
-
"
|
|
388
|
-
"type": "string"
|
|
310
|
+
"textPrompt": {
|
|
311
|
+
"type": "string",
|
|
312
|
+
"optional": true
|
|
389
313
|
},
|
|
390
|
-
"
|
|
391
|
-
"type": "
|
|
314
|
+
"margin": {
|
|
315
|
+
"type": "pushwoosh.aibuilder.v1.EdgeInsets",
|
|
316
|
+
"optional": true
|
|
317
|
+
},
|
|
318
|
+
"padding": {
|
|
319
|
+
"type": "pushwoosh.aibuilder.v1.EdgeInsets",
|
|
320
|
+
"optional": true
|
|
392
321
|
}
|
|
393
322
|
}
|
|
394
323
|
},
|
|
395
|
-
"pushwoosh.aibuilder.v1.
|
|
324
|
+
"pushwoosh.aibuilder.v1.Image": {
|
|
396
325
|
"type": "I",
|
|
397
326
|
"fields": {
|
|
398
|
-
"
|
|
399
|
-
"type": "string"
|
|
400
|
-
},
|
|
401
|
-
"field": {
|
|
327
|
+
"prompt": {
|
|
402
328
|
"type": "string"
|
|
403
329
|
},
|
|
404
|
-
"
|
|
405
|
-
"type": "pushwoosh.aibuilder.v1.TextBlock"
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
},
|
|
409
|
-
"pushwoosh.aibuilder.v1.BuilderCreateImageDelta": {
|
|
410
|
-
"type": "I",
|
|
411
|
-
"fields": {
|
|
412
|
-
"blockId": {
|
|
330
|
+
"width": {
|
|
413
331
|
"type": "string"
|
|
414
332
|
},
|
|
415
|
-
"
|
|
333
|
+
"height": {
|
|
416
334
|
"type": "string"
|
|
417
335
|
},
|
|
418
336
|
"src": {
|
|
@@ -421,381 +339,340 @@ export const data = {
|
|
|
421
339
|
"alt": {
|
|
422
340
|
"type": "string"
|
|
423
341
|
},
|
|
424
|
-
"width": {
|
|
425
|
-
"type": "number"
|
|
426
|
-
},
|
|
427
|
-
"height": {
|
|
428
|
-
"type": "number"
|
|
429
|
-
},
|
|
430
342
|
"mediaUuid": {
|
|
431
343
|
"type": "string"
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
},
|
|
435
|
-
"pushwoosh.aibuilder.v1.BuilderCreateButtonGroupDelta": {
|
|
436
|
-
"type": "I",
|
|
437
|
-
"fields": {
|
|
438
|
-
"blockId": {
|
|
439
|
-
"type": "string"
|
|
440
|
-
},
|
|
441
|
-
"field": {
|
|
442
|
-
"type": "string"
|
|
443
344
|
},
|
|
444
|
-
"
|
|
445
|
-
"type": "pushwoosh.aibuilder.v1.ButtonGroup"
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
},
|
|
449
|
-
"pushwoosh.aibuilder.v1.DocumentBlockType": {
|
|
450
|
-
"type": "E",
|
|
451
|
-
"values": [
|
|
452
|
-
"DOCUMENT_BLOCK_TYPE_UNSPECIFIED",
|
|
453
|
-
"DOCUMENT_BLOCK_TYPE_CARD",
|
|
454
|
-
"DOCUMENT_BLOCK_TYPE_COLUMNS"
|
|
455
|
-
]
|
|
456
|
-
},
|
|
457
|
-
"pushwoosh.aibuilder.v1.CardLayout": {
|
|
458
|
-
"type": "E",
|
|
459
|
-
"values": [
|
|
460
|
-
"CARD_LAYOUT_UNSPECIFIED",
|
|
461
|
-
"CARD_LAYOUT_RIGHT",
|
|
462
|
-
"CARD_LAYOUT_LEFT",
|
|
463
|
-
"CARD_LAYOUT_TOP",
|
|
464
|
-
"CARD_LAYOUT_NO",
|
|
465
|
-
"CARD_LAYOUT_BACKGROUND"
|
|
466
|
-
]
|
|
467
|
-
},
|
|
468
|
-
"pushwoosh.aibuilder.v1.ButtonGroupAlign": {
|
|
469
|
-
"type": "E",
|
|
470
|
-
"values": [
|
|
471
|
-
"BUTTON_GROUP_ALIGN_UNSPECIFIED",
|
|
472
|
-
"BUTTON_GROUP_ALIGN_LEFT",
|
|
473
|
-
"BUTTON_GROUP_ALIGN_CENTER",
|
|
474
|
-
"BUTTON_GROUP_ALIGN_RIGHT"
|
|
475
|
-
]
|
|
476
|
-
},
|
|
477
|
-
"pushwoosh.aibuilder.v1.CardImageFit": {
|
|
478
|
-
"type": "E",
|
|
479
|
-
"values": [
|
|
480
|
-
"CARD_IMAGE_FIT_UNSPECIFIED",
|
|
481
|
-
"CARD_IMAGE_FIT_COVER",
|
|
482
|
-
"CARD_IMAGE_FIT_CONTAIN",
|
|
483
|
-
"CARD_IMAGE_FIT_FILL"
|
|
484
|
-
]
|
|
485
|
-
},
|
|
486
|
-
"pushwoosh.aibuilder.v1.TextVariantStyle": {
|
|
487
|
-
"type": "I",
|
|
488
|
-
"fields": {
|
|
489
|
-
"fontSize": {
|
|
490
|
-
"type": "number"
|
|
491
|
-
},
|
|
492
|
-
"fontWeight": {
|
|
345
|
+
"origWidth": {
|
|
493
346
|
"type": "number"
|
|
494
347
|
},
|
|
495
|
-
"
|
|
348
|
+
"origHeight": {
|
|
496
349
|
"type": "number"
|
|
497
350
|
}
|
|
498
351
|
}
|
|
499
352
|
},
|
|
500
|
-
"pushwoosh.aibuilder.v1.
|
|
501
|
-
"type": "I",
|
|
502
|
-
"fields": {
|
|
503
|
-
"color": {
|
|
504
|
-
"type": "string"
|
|
505
|
-
},
|
|
506
|
-
"description": {
|
|
507
|
-
"type": "string"
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
},
|
|
511
|
-
"pushwoosh.aibuilder.v1.EdgeInsets": {
|
|
353
|
+
"pushwoosh.aibuilder.v1.AiBuilderCard": {
|
|
512
354
|
"type": "I",
|
|
513
355
|
"fields": {
|
|
514
|
-
"
|
|
515
|
-
"type": "
|
|
516
|
-
},
|
|
517
|
-
"right": {
|
|
518
|
-
"type": "number"
|
|
356
|
+
"layout": {
|
|
357
|
+
"type": "pushwoosh.aibuilder.v1.CardLayout"
|
|
519
358
|
},
|
|
520
|
-
"
|
|
521
|
-
"type": "
|
|
359
|
+
"image": {
|
|
360
|
+
"type": "pushwoosh.aibuilder.v1.Image",
|
|
361
|
+
"optional": true
|
|
522
362
|
},
|
|
523
|
-
"
|
|
524
|
-
"type": "
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
-
},
|
|
528
|
-
"pushwoosh.aibuilder.v1.BlockStyles": {
|
|
529
|
-
"type": "I",
|
|
530
|
-
"fields": {
|
|
531
|
-
"backgroundColor": {
|
|
532
|
-
"type": "string"
|
|
363
|
+
"content": {
|
|
364
|
+
"type": "pushwoosh.aibuilder.v1.Content"
|
|
533
365
|
},
|
|
534
|
-
"
|
|
535
|
-
"type": "
|
|
366
|
+
"styles": {
|
|
367
|
+
"type": "pushwoosh.aibuilder.v1.CardStyles",
|
|
368
|
+
"optional": true
|
|
536
369
|
},
|
|
537
|
-
"
|
|
538
|
-
"type": "
|
|
370
|
+
"imageFit": {
|
|
371
|
+
"type": "pushwoosh.aibuilder.v1.CardImageFit"
|
|
539
372
|
},
|
|
540
|
-
"
|
|
541
|
-
"type": "
|
|
373
|
+
"accentFit": {
|
|
374
|
+
"type": "boolean"
|
|
542
375
|
}
|
|
543
376
|
}
|
|
544
377
|
},
|
|
545
|
-
"pushwoosh.aibuilder.v1.
|
|
378
|
+
"pushwoosh.aibuilder.v1.AiBuilderColumns": {
|
|
546
379
|
"type": "I",
|
|
547
380
|
"fields": {
|
|
548
|
-
"
|
|
549
|
-
"type": "pushwoosh.aibuilder.v1.
|
|
381
|
+
"columns": {
|
|
382
|
+
"type": "pushwoosh.aibuilder.v1.AiBuilderColumn",
|
|
383
|
+
"array": true
|
|
384
|
+
},
|
|
385
|
+
"styles": {
|
|
386
|
+
"type": "pushwoosh.aibuilder.v1.ColumnsStyles",
|
|
550
387
|
"optional": true
|
|
551
388
|
},
|
|
552
|
-
"
|
|
553
|
-
"type": "
|
|
389
|
+
"withImages": {
|
|
390
|
+
"type": "boolean"
|
|
391
|
+
},
|
|
392
|
+
"contentBefore": {
|
|
393
|
+
"type": "pushwoosh.aibuilder.v1.Content",
|
|
554
394
|
"optional": true
|
|
555
395
|
},
|
|
556
|
-
"
|
|
557
|
-
"type": "pushwoosh.aibuilder.v1.
|
|
396
|
+
"contentAfter": {
|
|
397
|
+
"type": "pushwoosh.aibuilder.v1.Content",
|
|
558
398
|
"optional": true
|
|
559
399
|
}
|
|
560
400
|
}
|
|
561
401
|
},
|
|
562
|
-
"pushwoosh.aibuilder.v1.
|
|
402
|
+
"pushwoosh.aibuilder.v1.AiBuilderColumn": {
|
|
563
403
|
"type": "I",
|
|
564
404
|
"fields": {
|
|
565
|
-
"
|
|
566
|
-
"type": "pushwoosh.aibuilder.v1.
|
|
405
|
+
"image": {
|
|
406
|
+
"type": "pushwoosh.aibuilder.v1.Image",
|
|
567
407
|
"optional": true
|
|
568
408
|
},
|
|
569
|
-
"
|
|
570
|
-
"type": "pushwoosh.aibuilder.v1.
|
|
409
|
+
"content": {
|
|
410
|
+
"type": "pushwoosh.aibuilder.v1.Content"
|
|
411
|
+
},
|
|
412
|
+
"width": {
|
|
413
|
+
"type": "string",
|
|
571
414
|
"optional": true
|
|
572
415
|
}
|
|
573
416
|
}
|
|
574
417
|
},
|
|
575
|
-
"pushwoosh.aibuilder.v1.
|
|
418
|
+
"pushwoosh.aibuilder.v1.AiBuilderBlock": {
|
|
576
419
|
"type": "I",
|
|
577
420
|
"fields": {
|
|
578
|
-
"
|
|
579
|
-
"type": "
|
|
580
|
-
},
|
|
581
|
-
"columns": {
|
|
582
|
-
"type": "pushwoosh.aibuilder.v1.ColumnsStyles"
|
|
421
|
+
"id": {
|
|
422
|
+
"type": "string"
|
|
583
423
|
},
|
|
584
424
|
"card": {
|
|
585
|
-
"type": "pushwoosh.aibuilder.v1.
|
|
425
|
+
"type": "pushwoosh.aibuilder.v1.AiBuilderCard"
|
|
586
426
|
},
|
|
587
|
-
"
|
|
588
|
-
"type": "pushwoosh.aibuilder.v1.
|
|
427
|
+
"columns": {
|
|
428
|
+
"type": "pushwoosh.aibuilder.v1.AiBuilderColumns"
|
|
589
429
|
},
|
|
590
|
-
"
|
|
591
|
-
"type": "pushwoosh.aibuilder.v1.
|
|
430
|
+
"styles": {
|
|
431
|
+
"type": "pushwoosh.aibuilder.v1.BlockStyles",
|
|
432
|
+
"optional": true
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
"oneofs": {
|
|
436
|
+
"block": {
|
|
437
|
+
"oneof": [
|
|
438
|
+
"card",
|
|
439
|
+
"columns"
|
|
440
|
+
]
|
|
592
441
|
}
|
|
593
442
|
}
|
|
594
443
|
},
|
|
595
|
-
"pushwoosh.aibuilder.v1.
|
|
444
|
+
"pushwoosh.aibuilder.v1.EmailMeta": {
|
|
596
445
|
"type": "I",
|
|
597
446
|
"fields": {
|
|
598
|
-
"
|
|
599
|
-
"type": "number"
|
|
600
|
-
},
|
|
601
|
-
"blockGap": {
|
|
602
|
-
"type": "number"
|
|
603
|
-
},
|
|
604
|
-
"padding": {
|
|
605
|
-
"type": "pushwoosh.aibuilder.v1.EdgeInsets"
|
|
606
|
-
},
|
|
607
|
-
"backgroundColor": {
|
|
447
|
+
"subject": {
|
|
608
448
|
"type": "string"
|
|
609
449
|
},
|
|
610
|
-
"
|
|
450
|
+
"preheader": {
|
|
611
451
|
"type": "string"
|
|
612
452
|
},
|
|
613
|
-
"
|
|
614
|
-
"type": "
|
|
453
|
+
"templateName": {
|
|
454
|
+
"type": "string"
|
|
615
455
|
}
|
|
616
456
|
}
|
|
617
457
|
},
|
|
618
|
-
"pushwoosh.aibuilder.v1.
|
|
458
|
+
"pushwoosh.aibuilder.v1.AiBuilderPage": {
|
|
619
459
|
"type": "I",
|
|
620
460
|
"fields": {
|
|
621
|
-
"
|
|
461
|
+
"id": {
|
|
622
462
|
"type": "string"
|
|
623
463
|
},
|
|
624
|
-
"
|
|
625
|
-
"type": "
|
|
464
|
+
"blocks": {
|
|
465
|
+
"type": "pushwoosh.aibuilder.v1.AiBuilderBlock",
|
|
466
|
+
"array": true
|
|
626
467
|
}
|
|
627
468
|
}
|
|
628
469
|
},
|
|
629
|
-
"pushwoosh.aibuilder.v1.
|
|
470
|
+
"pushwoosh.aibuilder.v1.AiBuilderDocument": {
|
|
630
471
|
"type": "I",
|
|
631
472
|
"fields": {
|
|
632
|
-
"
|
|
633
|
-
"type": "
|
|
473
|
+
"pages": {
|
|
474
|
+
"type": "pushwoosh.aibuilder.v1.AiBuilderPage",
|
|
475
|
+
"array": true
|
|
476
|
+
},
|
|
477
|
+
"settings": {
|
|
478
|
+
"type": "pushwoosh.aibuilder.v1.DocumentSettings"
|
|
479
|
+
},
|
|
480
|
+
"textVariants": {
|
|
481
|
+
"type": "pushwoosh.aibuilder.v1.TextVariantStyle",
|
|
482
|
+
"mapKeyType": "string"
|
|
483
|
+
},
|
|
484
|
+
"colorScheme": {
|
|
485
|
+
"type": "pushwoosh.aibuilder.v1.ColorSchemeItem",
|
|
486
|
+
"mapKeyType": "string"
|
|
487
|
+
},
|
|
488
|
+
"emailMeta": {
|
|
489
|
+
"type": "pushwoosh.aibuilder.v1.EmailMeta"
|
|
634
490
|
}
|
|
635
491
|
}
|
|
636
492
|
},
|
|
637
|
-
"pushwoosh.
|
|
638
|
-
"type": "
|
|
639
|
-
"
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
"
|
|
647
|
-
"href"
|
|
648
|
-
]
|
|
493
|
+
"pushwoosh.aigen.v1.AiGenService": {
|
|
494
|
+
"type": "S",
|
|
495
|
+
"key": "aiGen",
|
|
496
|
+
"methods": {
|
|
497
|
+
"Generate": {
|
|
498
|
+
"request": "pushwoosh.aigen.v1.AiGenRequest",
|
|
499
|
+
"response": "pushwoosh.aigen.v1.AiGenEvent",
|
|
500
|
+
"method": "post",
|
|
501
|
+
"path": "/api/v1/aigen/generate",
|
|
502
|
+
"serverStreaming": true
|
|
649
503
|
}
|
|
650
504
|
}
|
|
651
505
|
},
|
|
652
|
-
"pushwoosh.
|
|
506
|
+
"pushwoosh.aigen.v1.AiGenBlockTypeHint": {
|
|
507
|
+
"type": "E",
|
|
508
|
+
"values": [
|
|
509
|
+
"AI_GEN_BLOCK_TYPE_HINT_UNSPECIFIED",
|
|
510
|
+
"AI_GEN_BLOCK_TYPE_HINT_CARD",
|
|
511
|
+
"AI_GEN_BLOCK_TYPE_HINT_COLUMNS"
|
|
512
|
+
]
|
|
513
|
+
},
|
|
514
|
+
"pushwoosh.aigen.v1.AiGenBlockPath": {
|
|
653
515
|
"type": "I",
|
|
654
516
|
"fields": {
|
|
655
|
-
"
|
|
656
|
-
"type": "string"
|
|
657
|
-
|
|
658
|
-
"action": {
|
|
659
|
-
"type": "pushwoosh.aibuilder.v1.ButtonAction"
|
|
660
|
-
},
|
|
661
|
-
"styles": {
|
|
662
|
-
"type": "pushwoosh.aibuilder.v1.ButtonStyles",
|
|
663
|
-
"optional": true
|
|
517
|
+
"path": {
|
|
518
|
+
"type": "string",
|
|
519
|
+
"array": true
|
|
664
520
|
}
|
|
665
521
|
}
|
|
666
522
|
},
|
|
667
|
-
"pushwoosh.
|
|
523
|
+
"pushwoosh.aigen.v1.AiGenRequest": {
|
|
668
524
|
"type": "I",
|
|
669
525
|
"fields": {
|
|
670
|
-
"
|
|
671
|
-
"type": "string"
|
|
526
|
+
"prompt": {
|
|
527
|
+
"type": "string"
|
|
528
|
+
},
|
|
529
|
+
"document": {
|
|
530
|
+
"type": "pushwoosh.aibuilder.v1.AiBuilderDocument",
|
|
672
531
|
"optional": true
|
|
673
532
|
},
|
|
674
|
-
"
|
|
533
|
+
"blockPath": {
|
|
675
534
|
"type": "string",
|
|
676
|
-
"
|
|
535
|
+
"array": true
|
|
677
536
|
},
|
|
678
|
-
"
|
|
679
|
-
"type": "
|
|
680
|
-
|
|
537
|
+
"application": {
|
|
538
|
+
"type": "string"
|
|
539
|
+
},
|
|
540
|
+
"generateImages": {
|
|
541
|
+
"type": "boolean"
|
|
681
542
|
},
|
|
682
|
-
"
|
|
683
|
-
"type": "
|
|
543
|
+
"settings": {
|
|
544
|
+
"type": "pushwoosh.aibuilder.v1.DocumentSettings",
|
|
684
545
|
"optional": true
|
|
685
546
|
},
|
|
686
|
-
"
|
|
687
|
-
"type": "
|
|
688
|
-
"
|
|
547
|
+
"textVariants": {
|
|
548
|
+
"type": "pushwoosh.aibuilder.v1.TextVariantStyle",
|
|
549
|
+
"mapKeyType": "string"
|
|
689
550
|
},
|
|
690
|
-
"
|
|
691
|
-
"type": "
|
|
551
|
+
"colorScheme": {
|
|
552
|
+
"type": "pushwoosh.aibuilder.v1.ColorSchemeItem",
|
|
553
|
+
"mapKeyType": "string"
|
|
554
|
+
},
|
|
555
|
+
"addBlock": {
|
|
556
|
+
"type": "pushwoosh.aigen.v1.AiGenAddBlock",
|
|
692
557
|
"optional": true
|
|
693
558
|
}
|
|
694
559
|
}
|
|
695
560
|
},
|
|
696
|
-
"pushwoosh.
|
|
561
|
+
"pushwoosh.aigen.v1.AiGenAddBlock": {
|
|
697
562
|
"type": "I",
|
|
698
563
|
"fields": {
|
|
699
|
-
"
|
|
700
|
-
"type": "
|
|
564
|
+
"blockPath": {
|
|
565
|
+
"type": "string",
|
|
701
566
|
"array": true
|
|
702
567
|
},
|
|
703
|
-
"
|
|
704
|
-
"type": "
|
|
705
|
-
"
|
|
568
|
+
"afterPath": {
|
|
569
|
+
"type": "string",
|
|
570
|
+
"array": true
|
|
706
571
|
},
|
|
707
|
-
"
|
|
708
|
-
"type": "pushwoosh.
|
|
572
|
+
"typeHint": {
|
|
573
|
+
"type": "pushwoosh.aigen.v1.AiGenBlockTypeHint"
|
|
709
574
|
}
|
|
710
575
|
}
|
|
711
576
|
},
|
|
712
|
-
"pushwoosh.
|
|
577
|
+
"pushwoosh.aigen.v1.AiGenStructureBlock": {
|
|
713
578
|
"type": "I",
|
|
714
579
|
"fields": {
|
|
715
|
-
"
|
|
716
|
-
"type": "pushwoosh.aibuilder.v1.EdgeInsets",
|
|
717
|
-
"optional": true
|
|
718
|
-
},
|
|
719
|
-
"backgroundColor": {
|
|
580
|
+
"blockPath": {
|
|
720
581
|
"type": "string",
|
|
721
|
-
"
|
|
582
|
+
"array": true
|
|
722
583
|
},
|
|
723
|
-
"
|
|
724
|
-
"type": "
|
|
725
|
-
|
|
584
|
+
"typeHint": {
|
|
585
|
+
"type": "pushwoosh.aigen.v1.AiGenBlockTypeHint"
|
|
586
|
+
},
|
|
587
|
+
"prompt": {
|
|
588
|
+
"type": "string"
|
|
726
589
|
}
|
|
727
590
|
}
|
|
728
591
|
},
|
|
729
|
-
"pushwoosh.
|
|
592
|
+
"pushwoosh.aigen.v1.AiGenStructure": {
|
|
730
593
|
"type": "I",
|
|
731
594
|
"fields": {
|
|
732
|
-
"
|
|
733
|
-
"type": "pushwoosh.
|
|
734
|
-
|
|
735
|
-
"buttonGroup": {
|
|
736
|
-
"type": "pushwoosh.aibuilder.v1.ButtonGroup"
|
|
737
|
-
}
|
|
738
|
-
},
|
|
739
|
-
"oneofs": {
|
|
740
|
-
"item": {
|
|
741
|
-
"oneof": [
|
|
742
|
-
"text",
|
|
743
|
-
"buttonGroup"
|
|
744
|
-
]
|
|
595
|
+
"blocks": {
|
|
596
|
+
"type": "pushwoosh.aigen.v1.AiGenStructureBlock",
|
|
597
|
+
"array": true
|
|
745
598
|
}
|
|
746
599
|
}
|
|
747
600
|
},
|
|
748
|
-
"pushwoosh.
|
|
601
|
+
"pushwoosh.aigen.v1.AiGenStructureAdd": {
|
|
749
602
|
"type": "I",
|
|
750
603
|
"fields": {
|
|
751
|
-
"
|
|
752
|
-
"type": "
|
|
604
|
+
"blockPath": {
|
|
605
|
+
"type": "string",
|
|
753
606
|
"array": true
|
|
754
607
|
},
|
|
755
|
-
"
|
|
756
|
-
"type": "
|
|
757
|
-
"optional": true
|
|
608
|
+
"typeHint": {
|
|
609
|
+
"type": "pushwoosh.aigen.v1.AiGenBlockTypeHint"
|
|
758
610
|
},
|
|
759
|
-
"
|
|
760
|
-
"type": "
|
|
761
|
-
"optional": true
|
|
611
|
+
"prompt": {
|
|
612
|
+
"type": "string"
|
|
762
613
|
},
|
|
763
|
-
"
|
|
764
|
-
"type": "
|
|
765
|
-
"
|
|
614
|
+
"afterPath": {
|
|
615
|
+
"type": "string",
|
|
616
|
+
"array": true
|
|
766
617
|
}
|
|
767
618
|
}
|
|
768
619
|
},
|
|
769
|
-
"pushwoosh.
|
|
620
|
+
"pushwoosh.aigen.v1.AiGenStructureReplace": {
|
|
770
621
|
"type": "I",
|
|
771
622
|
"fields": {
|
|
623
|
+
"blockPath": {
|
|
624
|
+
"type": "string",
|
|
625
|
+
"array": true
|
|
626
|
+
},
|
|
627
|
+
"typeHint": {
|
|
628
|
+
"type": "pushwoosh.aigen.v1.AiGenBlockTypeHint"
|
|
629
|
+
},
|
|
772
630
|
"prompt": {
|
|
773
631
|
"type": "string"
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
},
|
|
635
|
+
"pushwoosh.aigen.v1.AiGenStructureDiff": {
|
|
636
|
+
"type": "I",
|
|
637
|
+
"fields": {
|
|
638
|
+
"add": {
|
|
639
|
+
"type": "pushwoosh.aigen.v1.AiGenStructureAdd",
|
|
640
|
+
"array": true
|
|
774
641
|
},
|
|
775
|
-
"
|
|
776
|
-
"type": "
|
|
642
|
+
"remove": {
|
|
643
|
+
"type": "pushwoosh.aigen.v1.AiGenBlockPath",
|
|
644
|
+
"array": true
|
|
777
645
|
},
|
|
778
|
-
"
|
|
779
|
-
"type": "
|
|
646
|
+
"replace": {
|
|
647
|
+
"type": "pushwoosh.aigen.v1.AiGenStructureReplace",
|
|
648
|
+
"array": true
|
|
780
649
|
},
|
|
781
|
-
"
|
|
782
|
-
"type": "
|
|
650
|
+
"updateSettings": {
|
|
651
|
+
"type": "pushwoosh.aibuilder.v1.DocumentSettings",
|
|
652
|
+
"optional": true
|
|
783
653
|
},
|
|
784
|
-
"
|
|
785
|
-
"type": "
|
|
654
|
+
"updateTextVariants": {
|
|
655
|
+
"type": "pushwoosh.aibuilder.v1.TextVariantStyle",
|
|
656
|
+
"mapKeyType": "string"
|
|
786
657
|
},
|
|
787
|
-
"
|
|
658
|
+
"updateColorScheme": {
|
|
659
|
+
"type": "pushwoosh.aibuilder.v1.ColorSchemeItem",
|
|
660
|
+
"mapKeyType": "string"
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
},
|
|
664
|
+
"pushwoosh.aigen.v1.AiGenBlockColors": {
|
|
665
|
+
"type": "I",
|
|
666
|
+
"fields": {
|
|
667
|
+
"backgroundColor": {
|
|
788
668
|
"type": "string"
|
|
789
669
|
},
|
|
790
|
-
"
|
|
791
|
-
"type": "
|
|
792
|
-
},
|
|
793
|
-
"origHeight": {
|
|
794
|
-
"type": "number"
|
|
670
|
+
"borderColor": {
|
|
671
|
+
"type": "string"
|
|
795
672
|
}
|
|
796
673
|
}
|
|
797
674
|
},
|
|
798
|
-
"pushwoosh.
|
|
675
|
+
"pushwoosh.aigen.v1.AiGenCard": {
|
|
799
676
|
"type": "I",
|
|
800
677
|
"fields": {
|
|
801
678
|
"layout": {
|
|
@@ -808,10 +685,6 @@ export const data = {
|
|
|
808
685
|
"content": {
|
|
809
686
|
"type": "pushwoosh.aibuilder.v1.Content"
|
|
810
687
|
},
|
|
811
|
-
"styles": {
|
|
812
|
-
"type": "pushwoosh.aibuilder.v1.CardStyles",
|
|
813
|
-
"optional": true
|
|
814
|
-
},
|
|
815
688
|
"imageFit": {
|
|
816
689
|
"type": "pushwoosh.aibuilder.v1.CardImageFit"
|
|
817
690
|
},
|
|
@@ -820,60 +693,53 @@ export const data = {
|
|
|
820
693
|
}
|
|
821
694
|
}
|
|
822
695
|
},
|
|
823
|
-
"pushwoosh.
|
|
696
|
+
"pushwoosh.aigen.v1.AiGenColumn": {
|
|
824
697
|
"type": "I",
|
|
825
698
|
"fields": {
|
|
826
|
-
"
|
|
827
|
-
"type": "pushwoosh.aibuilder.v1.
|
|
828
|
-
"array": true
|
|
829
|
-
},
|
|
830
|
-
"styles": {
|
|
831
|
-
"type": "pushwoosh.aibuilder.v1.ColumnsStyles",
|
|
699
|
+
"image": {
|
|
700
|
+
"type": "pushwoosh.aibuilder.v1.Image",
|
|
832
701
|
"optional": true
|
|
833
702
|
},
|
|
834
|
-
"
|
|
835
|
-
"type": "
|
|
836
|
-
},
|
|
837
|
-
"contentBefore": {
|
|
838
|
-
"type": "pushwoosh.aibuilder.v1.Content",
|
|
839
|
-
"optional": true
|
|
703
|
+
"content": {
|
|
704
|
+
"type": "pushwoosh.aibuilder.v1.Content"
|
|
840
705
|
},
|
|
841
|
-
"
|
|
842
|
-
"type": "
|
|
706
|
+
"width": {
|
|
707
|
+
"type": "string",
|
|
843
708
|
"optional": true
|
|
844
709
|
}
|
|
845
710
|
}
|
|
846
711
|
},
|
|
847
|
-
"pushwoosh.
|
|
712
|
+
"pushwoosh.aigen.v1.AiGenColumns": {
|
|
848
713
|
"type": "I",
|
|
849
714
|
"fields": {
|
|
850
|
-
"
|
|
851
|
-
"type": "
|
|
852
|
-
"optional": true
|
|
715
|
+
"withImages": {
|
|
716
|
+
"type": "boolean"
|
|
853
717
|
},
|
|
854
|
-
"
|
|
855
|
-
"type": "pushwoosh.
|
|
718
|
+
"columns": {
|
|
719
|
+
"type": "pushwoosh.aigen.v1.AiGenColumn",
|
|
720
|
+
"array": true
|
|
856
721
|
},
|
|
857
|
-
"
|
|
858
|
-
"type": "
|
|
722
|
+
"contentBefore": {
|
|
723
|
+
"type": "pushwoosh.aibuilder.v1.Content",
|
|
724
|
+
"optional": true
|
|
725
|
+
},
|
|
726
|
+
"contentAfter": {
|
|
727
|
+
"type": "pushwoosh.aibuilder.v1.Content",
|
|
859
728
|
"optional": true
|
|
860
729
|
}
|
|
861
730
|
}
|
|
862
731
|
},
|
|
863
|
-
"pushwoosh.
|
|
732
|
+
"pushwoosh.aigen.v1.AiGenBlock": {
|
|
864
733
|
"type": "I",
|
|
865
734
|
"fields": {
|
|
866
|
-
"id": {
|
|
867
|
-
"type": "string"
|
|
868
|
-
},
|
|
869
735
|
"card": {
|
|
870
|
-
"type": "pushwoosh.
|
|
736
|
+
"type": "pushwoosh.aigen.v1.AiGenCard"
|
|
871
737
|
},
|
|
872
738
|
"columns": {
|
|
873
|
-
"type": "pushwoosh.
|
|
739
|
+
"type": "pushwoosh.aigen.v1.AiGenColumns"
|
|
874
740
|
},
|
|
875
741
|
"styles": {
|
|
876
|
-
"type": "pushwoosh.
|
|
742
|
+
"type": "pushwoosh.aigen.v1.AiGenBlockColors",
|
|
877
743
|
"optional": true
|
|
878
744
|
}
|
|
879
745
|
},
|
|
@@ -886,37 +752,123 @@ export const data = {
|
|
|
886
752
|
}
|
|
887
753
|
}
|
|
888
754
|
},
|
|
889
|
-
"pushwoosh.
|
|
755
|
+
"pushwoosh.aigen.v1.AiGenBlockDelta": {
|
|
890
756
|
"type": "I",
|
|
891
757
|
"fields": {
|
|
892
|
-
"
|
|
758
|
+
"blockPath": {
|
|
759
|
+
"type": "string",
|
|
760
|
+
"array": true
|
|
761
|
+
},
|
|
762
|
+
"block": {
|
|
763
|
+
"type": "pushwoosh.aigen.v1.AiGenBlock"
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
},
|
|
767
|
+
"pushwoosh.aigen.v1.AiGenImageDelta": {
|
|
768
|
+
"type": "I",
|
|
769
|
+
"fields": {
|
|
770
|
+
"blockPath": {
|
|
771
|
+
"type": "string",
|
|
772
|
+
"array": true
|
|
773
|
+
},
|
|
774
|
+
"field": {
|
|
893
775
|
"type": "string"
|
|
894
776
|
},
|
|
895
|
-
"
|
|
777
|
+
"src": {
|
|
778
|
+
"type": "string"
|
|
779
|
+
},
|
|
780
|
+
"alt": {
|
|
781
|
+
"type": "string"
|
|
782
|
+
},
|
|
783
|
+
"width": {
|
|
784
|
+
"type": "number"
|
|
785
|
+
},
|
|
786
|
+
"height": {
|
|
787
|
+
"type": "number"
|
|
788
|
+
},
|
|
789
|
+
"mediaUuid": {
|
|
896
790
|
"type": "string"
|
|
897
791
|
}
|
|
898
792
|
}
|
|
899
793
|
},
|
|
900
|
-
"pushwoosh.
|
|
794
|
+
"pushwoosh.aigen.v1.AiGenBlockError": {
|
|
901
795
|
"type": "I",
|
|
902
796
|
"fields": {
|
|
903
|
-
"
|
|
904
|
-
"type": "
|
|
797
|
+
"blockPath": {
|
|
798
|
+
"type": "string",
|
|
905
799
|
"array": true
|
|
906
800
|
},
|
|
907
|
-
"
|
|
908
|
-
"type": "
|
|
801
|
+
"field": {
|
|
802
|
+
"type": "string"
|
|
909
803
|
},
|
|
910
|
-
"
|
|
911
|
-
"type": "
|
|
912
|
-
|
|
804
|
+
"error": {
|
|
805
|
+
"type": "string"
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
},
|
|
809
|
+
"pushwoosh.aigen.v1.AiGenDoneEvent": {
|
|
810
|
+
"type": "I",
|
|
811
|
+
"fields": {
|
|
812
|
+
"summary": {
|
|
813
|
+
"type": "string"
|
|
814
|
+
}
|
|
815
|
+
}
|
|
816
|
+
},
|
|
817
|
+
"pushwoosh.aigen.v1.AiGenTextDescription": {
|
|
818
|
+
"type": "I",
|
|
819
|
+
"fields": {
|
|
820
|
+
"type": {
|
|
821
|
+
"type": "string"
|
|
913
822
|
},
|
|
914
|
-
"
|
|
915
|
-
"type": "
|
|
916
|
-
|
|
823
|
+
"description": {
|
|
824
|
+
"type": "string"
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
},
|
|
828
|
+
"pushwoosh.aigen.v1.AiGenEvent": {
|
|
829
|
+
"type": "I",
|
|
830
|
+
"fields": {
|
|
831
|
+
"progress": {
|
|
832
|
+
"type": "string"
|
|
917
833
|
},
|
|
918
|
-
"
|
|
919
|
-
"type": "pushwoosh.
|
|
834
|
+
"structure": {
|
|
835
|
+
"type": "pushwoosh.aigen.v1.AiGenStructure"
|
|
836
|
+
},
|
|
837
|
+
"structureDiff": {
|
|
838
|
+
"type": "pushwoosh.aigen.v1.AiGenStructureDiff"
|
|
839
|
+
},
|
|
840
|
+
"blockDelta": {
|
|
841
|
+
"type": "pushwoosh.aigen.v1.AiGenBlockDelta"
|
|
842
|
+
},
|
|
843
|
+
"imageDelta": {
|
|
844
|
+
"type": "pushwoosh.aigen.v1.AiGenImageDelta"
|
|
845
|
+
},
|
|
846
|
+
"blockError": {
|
|
847
|
+
"type": "pushwoosh.aigen.v1.AiGenBlockError"
|
|
848
|
+
},
|
|
849
|
+
"done": {
|
|
850
|
+
"type": "pushwoosh.aigen.v1.AiGenDoneEvent"
|
|
851
|
+
},
|
|
852
|
+
"fatal": {
|
|
853
|
+
"type": "string"
|
|
854
|
+
},
|
|
855
|
+
"textDescription": {
|
|
856
|
+
"type": "pushwoosh.aigen.v1.AiGenTextDescription"
|
|
857
|
+
}
|
|
858
|
+
},
|
|
859
|
+
"oneofs": {
|
|
860
|
+
"event": {
|
|
861
|
+
"oneof": [
|
|
862
|
+
"progress",
|
|
863
|
+
"structure",
|
|
864
|
+
"structureDiff",
|
|
865
|
+
"blockDelta",
|
|
866
|
+
"imageDelta",
|
|
867
|
+
"blockError",
|
|
868
|
+
"done",
|
|
869
|
+
"fatal",
|
|
870
|
+
"textDescription"
|
|
871
|
+
]
|
|
920
872
|
}
|
|
921
873
|
}
|
|
922
874
|
},
|