@yixiaoermail/cli 3.2.33 → 3.2.35

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.
Files changed (49) hide show
  1. package/checksums.txt +6 -6
  2. package/package.json +1 -1
  3. package/references/cli/command-reference.md +3 -2
  4. package/references/domains/install-and-sync.md +0 -6
  5. package/references/domains/publish.md +1 -0
  6. package/references/get-goods.md +6 -3
  7. package/references/get-locations.md +48 -48
  8. package/references/get-publish-categories.md +1 -0
  9. package/references/platforms/article/zhihu.md +6 -2
  10. package/references/platforms/imageText/douyin.md +128 -113
  11. package/references/platforms/imageText/index.md +2 -0
  12. package/references/platforms/imageText/instagram.md +14 -0
  13. package/references/platforms/imageText/shipinhao.md +133 -115
  14. package/references/platforms/imageText/weixingongzhonghao.md +13 -1
  15. package/references/platforms/imageText/xiaohongshu.md +2 -0
  16. package/references/platforms/video/baijiahao.md +136 -130
  17. package/references/platforms/video/qiehao.md +3 -2
  18. package/references/platforms/video/xiaohongshu.md +2 -0
  19. package/references/platforms/xiaohongshu-components.md +9 -0
  20. package/references/topic-tags.md +1 -1
  21. package/references/yixiaoer-shared.md +0 -1
  22. package/schemas/platforms/baijiahao.video.schema.json +247 -229
  23. package/schemas/platforms/douyin.imageText.schema.json +344 -301
  24. package/schemas/platforms/instagram.imageText.schema.json +9 -0
  25. package/schemas/platforms/shipinhao.imageText.schema.json +42 -0
  26. package/schemas/platforms/weixin.account.imageText.schema.json +2 -1
  27. package/schemas/platforms/xhs.imageText.schema.json +242 -0
  28. package/schemas/platforms/xiaohongshu.video.schema.json +216 -0
  29. package/schemas/platforms/zhihu.article.schema.json +15 -1
  30. package/skills/yixiaoer/SKILL.md +101 -100
  31. package/skills/yixiaoer/references/cli/command-reference.md +3 -2
  32. package/skills/yixiaoer/references/domains/install-and-sync.md +0 -6
  33. package/skills/yixiaoer/references/domains/publish.md +1 -0
  34. package/skills/yixiaoer/references/get-goods.md +6 -3
  35. package/skills/yixiaoer/references/get-locations.md +48 -48
  36. package/skills/yixiaoer/references/get-publish-categories.md +1 -0
  37. package/skills/yixiaoer/references/platforms/article/zhihu.md +6 -2
  38. package/skills/yixiaoer/references/platforms/imageText/douyin.md +128 -113
  39. package/skills/yixiaoer/references/platforms/imageText/index.md +2 -0
  40. package/skills/yixiaoer/references/platforms/imageText/instagram.md +14 -0
  41. package/skills/yixiaoer/references/platforms/imageText/shipinhao.md +133 -115
  42. package/skills/yixiaoer/references/platforms/imageText/weixingongzhonghao.md +13 -1
  43. package/skills/yixiaoer/references/platforms/imageText/xiaohongshu.md +2 -0
  44. package/skills/yixiaoer/references/platforms/video/baijiahao.md +136 -130
  45. package/skills/yixiaoer/references/platforms/video/qiehao.md +3 -2
  46. package/skills/yixiaoer/references/platforms/video/xiaohongshu.md +2 -0
  47. package/skills/yixiaoer/references/platforms/xiaohongshu-components.md +9 -0
  48. package/skills/yixiaoer/references/topic-tags.md +1 -1
  49. package/skills/yixiaoer/references/yixiaoer-shared.md +0 -1
@@ -103,6 +103,48 @@
103
103
  }
104
104
  }
105
105
  },
106
+ "shopping_cart": {
107
+ "description": "单个视频号图文关联商品,直接使用 goods 查询返回的 GoodListItemResponse,不包装成数组。",
108
+ "type": "object",
109
+ "required": [
110
+ "yixiaoerId",
111
+ "yixiaoerName",
112
+ "price"
113
+ ],
114
+ "properties": {
115
+ "count": {
116
+ "type": "number"
117
+ },
118
+ "stockText": {
119
+ "type": "string"
120
+ },
121
+ "earnPrice": {
122
+ "type": "number"
123
+ },
124
+ "productEncryptKey": {
125
+ "type": "string"
126
+ },
127
+ "productType": {
128
+ "type": "number"
129
+ },
130
+ "price": {
131
+ "type": "number"
132
+ },
133
+ "yixiaoerDesc": {
134
+ "type": "string"
135
+ },
136
+ "yixiaoerId": {
137
+ "type": "string"
138
+ },
139
+ "yixiaoerImageUrl": {
140
+ "type": "string"
141
+ },
142
+ "yixiaoerName": {
143
+ "type": "string"
144
+ }
145
+ },
146
+ "additionalProperties": true
147
+ },
106
148
  "collection": {
107
149
  "type": "object",
108
150
  "required": [
@@ -36,7 +36,8 @@
36
36
  "maxLength": 20
37
37
  },
38
38
  "desc": {
39
- "type": "string"
39
+ "type": "string",
40
+ "description": "公众号图文描述,支持 HTML 和自定义话题;使用 <topic text=\"话题名\">#话题名</topic>,与 Web 描述编辑器一致。普通 #话题 会自动转换为话题 HTML,无需查询话题。"
40
41
  },
41
42
  "images": {
42
43
  "type": "array",
@@ -73,6 +73,10 @@
73
73
  "gif",
74
74
  "webp"
75
75
  ]
76
+ },
77
+ "imageId": {
78
+ "type": "string",
79
+ "minLength": 1
76
80
  }
77
81
  }
78
82
  }
@@ -127,6 +131,244 @@
127
131
  2
128
132
  ],
129
133
  "default": 0
134
+ },
135
+ "componentAccountId": {
136
+ "type": "string",
137
+ "minLength": 1
138
+ },
139
+ "referenceNote": {
140
+ "type": "object",
141
+ "properties": {
142
+ "noteId": {
143
+ "type": "string",
144
+ "minLength": 1
145
+ }
146
+ },
147
+ "required": [
148
+ "noteId"
149
+ ],
150
+ "additionalProperties": false
151
+ },
152
+ "vote": {
153
+ "type": "object",
154
+ "properties": {
155
+ "question": {
156
+ "type": "string",
157
+ "minLength": 1,
158
+ "maxLength": 15
159
+ },
160
+ "options": {
161
+ "type": "array",
162
+ "items": {
163
+ "type": "object",
164
+ "properties": {
165
+ "option_id": {
166
+ "type": "integer"
167
+ },
168
+ "option_name": {
169
+ "type": "string",
170
+ "minLength": 1,
171
+ "maxLength": 14
172
+ }
173
+ },
174
+ "required": [
175
+ "option_id",
176
+ "option_name"
177
+ ],
178
+ "additionalProperties": false
179
+ },
180
+ "minItems": 2,
181
+ "maxItems": 5
182
+ }
183
+ },
184
+ "required": [
185
+ "question",
186
+ "options"
187
+ ],
188
+ "additionalProperties": false
189
+ },
190
+ "route": {
191
+ "type": "object",
192
+ "properties": {
193
+ "travelId": {
194
+ "type": "string",
195
+ "minLength": 1
196
+ },
197
+ "travelType": {
198
+ "enum": [
199
+ "singleRoute",
200
+ "multiRoute"
201
+ ]
202
+ },
203
+ "title": {
204
+ "type": "string",
205
+ "minLength": 1
206
+ },
207
+ "icon": {
208
+ "type": "string"
209
+ },
210
+ "link": {
211
+ "type": "string",
212
+ "minLength": 1
213
+ },
214
+ "mapTravels": {
215
+ "type": "array",
216
+ "items": {
217
+ "type": "object",
218
+ "properties": {
219
+ "travelId": {
220
+ "type": "string",
221
+ "minLength": 1
222
+ },
223
+ "travelType": {
224
+ "enum": [
225
+ "singleRoute",
226
+ "multiRoute"
227
+ ]
228
+ }
229
+ },
230
+ "required": [
231
+ "travelId",
232
+ "travelType"
233
+ ],
234
+ "additionalProperties": false
235
+ },
236
+ "minItems": 1,
237
+ "maxItems": 1
238
+ },
239
+ "capaPoiRich": {
240
+ "type": "number",
241
+ "const": 0
242
+ }
243
+ },
244
+ "required": [
245
+ "travelId",
246
+ "travelType",
247
+ "title",
248
+ "icon",
249
+ "link",
250
+ "mapTravels",
251
+ "capaPoiRich"
252
+ ],
253
+ "additionalProperties": false
254
+ },
255
+ "imageMarks": {
256
+ "type": "array",
257
+ "items": {
258
+ "type": "object",
259
+ "properties": {
260
+ "imageId": {
261
+ "type": "string",
262
+ "minLength": 1
263
+ },
264
+ "marks": {
265
+ "type": "array",
266
+ "items": {
267
+ "type": "object",
268
+ "properties": {
269
+ "style": {
270
+ "type": "number",
271
+ "const": 1
272
+ },
273
+ "type": {
274
+ "enum": [
275
+ "user",
276
+ "location"
277
+ ]
278
+ },
279
+ "event": {
280
+ "type": "object",
281
+ "properties": {
282
+ "value": {
283
+ "type": "object",
284
+ "properties": {
285
+ "id": {
286
+ "type": "string",
287
+ "minLength": 1
288
+ },
289
+ "name": {
290
+ "type": "string",
291
+ "minLength": 1
292
+ }
293
+ },
294
+ "required": [
295
+ "id",
296
+ "name"
297
+ ],
298
+ "additionalProperties": false
299
+ }
300
+ },
301
+ "required": [
302
+ "value"
303
+ ],
304
+ "additionalProperties": false
305
+ },
306
+ "container_size": {
307
+ "type": "string",
308
+ "minLength": 1
309
+ },
310
+ "unit_center": {
311
+ "type": "string",
312
+ "minLength": 1
313
+ },
314
+ "anchor_center": {
315
+ "type": "string",
316
+ "minLength": 1
317
+ },
318
+ "mark_y": {
319
+ "type": "number",
320
+ "minimum": 0,
321
+ "maximum": 1
322
+ }
323
+ },
324
+ "required": [
325
+ "style",
326
+ "type",
327
+ "event",
328
+ "container_size",
329
+ "unit_center",
330
+ "anchor_center",
331
+ "mark_y"
332
+ ],
333
+ "additionalProperties": false
334
+ },
335
+ "minItems": 1
336
+ }
337
+ },
338
+ "required": [
339
+ "imageId",
340
+ "marks"
341
+ ],
342
+ "additionalProperties": false
343
+ }
344
+ },
345
+ "attachmentSource": {
346
+ "type": "object",
347
+ "properties": {
348
+ "fileKey": {
349
+ "type": "string",
350
+ "minLength": 1
351
+ },
352
+ "fileName": {
353
+ "type": "string",
354
+ "minLength": 1
355
+ },
356
+ "size": {
357
+ "type": "integer",
358
+ "minimum": 1,
359
+ "maximum": 104857600
360
+ },
361
+ "url": {
362
+ "type": "string",
363
+ "minLength": 1
364
+ }
365
+ },
366
+ "required": [
367
+ "fileKey",
368
+ "fileName",
369
+ "size"
370
+ ],
371
+ "additionalProperties": false
130
372
  }
131
373
  },
132
374
  "additionalProperties": false
@@ -220,6 +220,222 @@
220
220
  "scheduledTime": {
221
221
  "type": "number",
222
222
  "minimum": 0
223
+ },
224
+ "componentAccountId": {
225
+ "type": "string",
226
+ "minLength": 1
227
+ },
228
+ "referenceNote": {
229
+ "type": "object",
230
+ "properties": {
231
+ "noteId": {
232
+ "type": "string",
233
+ "minLength": 1
234
+ }
235
+ },
236
+ "required": [
237
+ "noteId"
238
+ ],
239
+ "additionalProperties": false
240
+ },
241
+ "vote": {
242
+ "type": "object",
243
+ "properties": {
244
+ "question": {
245
+ "type": "string",
246
+ "minLength": 1,
247
+ "maxLength": 15
248
+ },
249
+ "options": {
250
+ "type": "array",
251
+ "items": {
252
+ "type": "object",
253
+ "properties": {
254
+ "option_id": {
255
+ "type": "integer"
256
+ },
257
+ "option_name": {
258
+ "type": "string",
259
+ "minLength": 1,
260
+ "maxLength": 14
261
+ }
262
+ },
263
+ "required": [
264
+ "option_id",
265
+ "option_name"
266
+ ],
267
+ "additionalProperties": false
268
+ },
269
+ "minItems": 2,
270
+ "maxItems": 5
271
+ }
272
+ },
273
+ "required": [
274
+ "question",
275
+ "options"
276
+ ],
277
+ "additionalProperties": false
278
+ },
279
+ "route": {
280
+ "type": "object",
281
+ "properties": {
282
+ "travelId": {
283
+ "type": "string",
284
+ "minLength": 1
285
+ },
286
+ "travelType": {
287
+ "enum": [
288
+ "singleRoute",
289
+ "multiRoute"
290
+ ]
291
+ },
292
+ "title": {
293
+ "type": "string",
294
+ "minLength": 1
295
+ },
296
+ "icon": {
297
+ "type": "string"
298
+ },
299
+ "link": {
300
+ "type": "string",
301
+ "minLength": 1
302
+ },
303
+ "mapTravels": {
304
+ "type": "array",
305
+ "items": {
306
+ "type": "object",
307
+ "properties": {
308
+ "travelId": {
309
+ "type": "string",
310
+ "minLength": 1
311
+ },
312
+ "travelType": {
313
+ "enum": [
314
+ "singleRoute",
315
+ "multiRoute"
316
+ ]
317
+ }
318
+ },
319
+ "required": [
320
+ "travelId",
321
+ "travelType"
322
+ ],
323
+ "additionalProperties": false
324
+ },
325
+ "minItems": 1,
326
+ "maxItems": 1
327
+ },
328
+ "capaPoiRich": {
329
+ "type": "number",
330
+ "const": 0
331
+ }
332
+ },
333
+ "required": [
334
+ "travelId",
335
+ "travelType",
336
+ "title",
337
+ "icon",
338
+ "link",
339
+ "mapTravels",
340
+ "capaPoiRich"
341
+ ],
342
+ "additionalProperties": false
343
+ },
344
+ "videoMarks": {
345
+ "type": "array",
346
+ "items": {
347
+ "type": "object",
348
+ "properties": {
349
+ "start": {
350
+ "type": "number",
351
+ "minimum": 0
352
+ },
353
+ "end": {
354
+ "type": "number",
355
+ "minimum": 0
356
+ },
357
+ "detail": {
358
+ "type": "object",
359
+ "properties": {
360
+ "style": {
361
+ "type": "number",
362
+ "const": 1
363
+ },
364
+ "type": {
365
+ "enum": [
366
+ "user",
367
+ "location"
368
+ ]
369
+ },
370
+ "event": {
371
+ "type": "object",
372
+ "properties": {
373
+ "value": {
374
+ "type": "object",
375
+ "properties": {
376
+ "id": {
377
+ "type": "string",
378
+ "minLength": 1
379
+ },
380
+ "name": {
381
+ "type": "string",
382
+ "minLength": 1
383
+ }
384
+ },
385
+ "required": [
386
+ "id",
387
+ "name"
388
+ ],
389
+ "additionalProperties": false
390
+ }
391
+ },
392
+ "required": [
393
+ "value"
394
+ ],
395
+ "additionalProperties": false
396
+ },
397
+ "container_size": {
398
+ "type": "string",
399
+ "minLength": 1
400
+ },
401
+ "unit_center": {
402
+ "type": "string",
403
+ "minLength": 1
404
+ },
405
+ "anchor_center": {
406
+ "type": "string",
407
+ "minLength": 1
408
+ },
409
+ "mark_y": {
410
+ "type": "number",
411
+ "minimum": 0,
412
+ "maximum": 1
413
+ },
414
+ "id": {
415
+ "type": "string",
416
+ "minLength": 1
417
+ }
418
+ },
419
+ "required": [
420
+ "style",
421
+ "type",
422
+ "event",
423
+ "container_size",
424
+ "unit_center",
425
+ "anchor_center",
426
+ "mark_y",
427
+ "id"
428
+ ],
429
+ "additionalProperties": false
430
+ }
431
+ },
432
+ "required": [
433
+ "start",
434
+ "end",
435
+ "detail"
436
+ ],
437
+ "additionalProperties": false
438
+ }
223
439
  }
224
440
  },
225
441
  "additionalProperties": false
@@ -96,9 +96,23 @@
96
96
  ],
97
97
  "default": 1
98
98
  },
99
+ "prePubTime": {
100
+ "anyOf": [
101
+ {
102
+ "const": 0
103
+ },
104
+ {
105
+ "type": "integer",
106
+ "minimum": 1000000000000,
107
+ "maximum": 9999999999999
108
+ }
109
+ ],
110
+ "description": "定时发布时间,13 位 Unix 毫秒时间戳;须在当前时间后 30 分钟至 48 小时内。只在定时发布时传入,0 表示立即发布。"
111
+ },
99
112
  "scheduledTime": {
100
113
  "type": "number",
101
- "minimum": 0
114
+ "minimum": 0,
115
+ "description": "兼容旧字段;新任务请使用 prePubTime。"
102
116
  }
103
117
  },
104
118
  "additionalProperties": false