@yixiaoermail/cli 3.2.35 → 3.2.36

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.
@@ -1,344 +1,344 @@
1
- {
2
- "title": "抖音图文发布表单 (Douyin Image-Text)",
3
- "x-conditional-required": [
4
- {
5
- "if": { "field": "tagType", "op": "equals", "value": "游戏手柄" },
6
- "required": ["game"],
7
- "message": "抖音图文选择游戏手柄标签时必须提供 game 游戏对象"
8
- },
9
- {
10
- "if": { "field": "game", "op": "exists" },
11
- "required": ["tagType"],
12
- "message": "抖音图文设置 game 时必须同时设置 tagType"
13
- },
14
- {
15
- "if": { "field": "tagType", "op": "notEquals", "value": "游戏手柄" },
16
- "forbidNonEmpty": ["game"],
17
- "message": "只有 tagType=游戏手柄 时才能设置 game"
18
- }
19
- ],
20
- "type": "object",
21
- "required": [
22
- "formType",
23
- "title",
24
- "description",
25
- "images"
26
- ],
27
- "properties": {
28
- "formType": {
29
- "type": "string",
30
- "const": "task"
31
- },
32
- "title": {
33
- "type": "string",
34
- "maxLength": 20
35
- },
36
- "description": {
37
- "type": "string",
38
- "maxLength": 1000
39
- },
40
- "tags": {
41
- "type": "array",
42
- "items": {
43
- "type": "string"
44
- },
45
- "minItems": 1,
46
- "maxItems": 10
47
- },
48
- "images": {
49
- "type": "array",
50
- "minItems": 1,
51
- "maxItems": 20,
52
- "items": {
53
- "type": "object",
54
- "required": [
55
- "key",
56
- "size",
57
- "width",
58
- "height"
59
- ],
60
- "properties": {
61
- "key": {
62
- "type": "string"
63
- },
64
- "size": {
65
- "type": "integer",
66
- "minimum": 1
67
- },
68
- "width": {
69
- "type": "integer",
70
- "minimum": 1
71
- },
72
- "height": {
73
- "type": "integer",
74
- "minimum": 1
75
- },
76
- "format": {
77
- "type": "string",
78
- "enum": [
79
- "jpg",
80
- "jpeg",
81
- "png",
82
- "webp"
83
- ]
84
- }
85
- }
86
- }
87
- },
88
- "cover": {
89
- "type": "object",
90
- "required": [
91
- "key",
92
- "size",
93
- "width",
94
- "height"
95
- ],
96
- "properties": {
97
- "key": {
98
- "type": "string"
99
- },
100
- "size": {
101
- "type": "integer"
102
- },
103
- "width": {
104
- "type": "integer"
105
- },
106
- "height": {
107
- "type": "integer"
108
- }
109
- }
110
- },
111
- "coverKey": {
112
- "type": "string"
113
- },
114
- "allowTake": {
115
- "type": "boolean",
116
- "default": true
117
- },
118
- "location": {
119
- "type": "object",
120
- "required": [
121
- "isScp",
122
- "data"
123
- ],
124
- "properties": {
125
- "isScp": {
126
- "type": "boolean"
127
- },
128
- "data": {
129
- "type": "object",
130
- "required": [
131
- "yixiaoerId",
132
- "yixiaoerName",
133
- "raw"
134
- ],
135
- "properties": {
136
- "yixiaoerId": {
137
- "type": "string"
138
- },
139
- "yixiaoerName": {
140
- "type": "string"
141
- },
142
- "raw": {
143
- "type": "object"
144
- }
145
- },
146
- "additionalProperties": true
147
- }
148
- },
149
- "additionalProperties": false
150
- },
151
- "music": {
152
- "type": "object",
153
- "required": [
154
- "yixiaoerId",
155
- "yixiaoerName",
156
- "raw"
157
- ],
158
- "properties": {
159
- "yixiaoerId": {
160
- "type": "string"
161
- },
162
- "yixiaoerName": {
163
- "type": "string"
164
- },
165
- "duration": {
166
- "type": "number"
167
- },
168
- "playUrl": {
169
- "type": "string"
170
- },
171
- "raw": {
172
- "type": "object"
173
- }
174
- }
175
- },
176
- "challenge": {
177
- "type": "object",
178
- "required": [
179
- "yixiaoerId",
180
- "yixiaoerName",
181
- "raw"
182
- ],
183
- "properties": {
184
- "yixiaoerId": {
185
- "type": "string"
186
- },
187
- "yixiaoerName": {
188
- "type": "string"
189
- },
190
- "raw": {
191
- "type": "object"
192
- }
193
- }
194
- },
195
- "collection": {
196
- "type": "object",
197
- "required": [
198
- "yixiaoerId",
199
- "yixiaoerName",
200
- "raw"
201
- ],
202
- "properties": {
203
- "yixiaoerId": {
204
- "type": "string"
205
- },
206
- "yixiaoerName": {
207
- "type": "string"
208
- },
209
- "raw": {
210
- "type": "object"
211
- }
212
- }
213
- },
214
- "sub_collection": {
215
- "type": "object",
216
- "required": [
217
- "yixiaoerId",
218
- "yixiaoerName",
219
- "raw"
220
- ],
221
- "properties": {
222
- "yixiaoerId": {
223
- "type": "string"
224
- },
225
- "yixiaoerName": {
226
- "type": "string"
227
- },
228
- "raw": {
229
- "type": "object"
230
- }
231
- }
232
- },
233
- "scheduledTime": {
234
- "type": "number",
235
- "minimum": 0
236
- },
237
- "visibleType": {
238
- "type": "number",
239
- "enum": [
240
- 0,
241
- 1,
242
- 2
243
- ],
244
- "default": 0
245
- },
246
- "declaration": {
247
- "type": "number",
248
- "enum": [
249
- 0,
250
- 3,
251
- 4,
252
- 5,
253
- 6,
254
- 7,
255
- 8
256
- ],
257
- "default": 0
258
- },
259
- "shopping_cart": {
260
- "type": "array",
261
- "minItems": 1,
262
- "items": {
263
- "type": "object",
264
- "required": [
265
- "sale_title",
266
- "images",
267
- "data"
268
- ],
269
- "properties": {
270
- "sale_title": {
271
- "type": "string",
272
- "maxLength": 10
273
- },
274
- "images": {
275
- "type": "array",
276
- "minItems": 1,
277
- "items": {
278
- "type": "string"
279
- }
280
- },
281
- "data": {
282
- "type": "object",
283
- "required": [
284
- "yixiaoerId",
285
- "yixiaoerName",
286
- "raw"
287
- ],
288
- "properties": {
289
- "yixiaoerId": {
290
- "type": "string"
291
- },
292
- "yixiaoerName": {
293
- "type": "string"
294
- },
295
- "raw": {
296
- "type": "object"
297
- }
298
- },
299
- "additionalProperties": true
300
- }
301
- },
302
- "additionalProperties": false
303
- }
304
- },
305
- "game": {
306
- "type": "object",
307
- "description": "游戏手柄关联游戏,必须使用目标账号 games 查询结果中的完整对象",
308
- "required": [
309
- "yixiaoerId",
310
- "yixiaoerName",
311
- "yixiaoerImageUrl"
312
- ],
313
- "properties": {
314
- "yixiaoerId": {
315
- "type": "string"
316
- },
317
- "yixiaoerName": {
318
- "type": "string"
319
- },
320
- "yixiaoerImageUrl": {
321
- "type": "string"
322
- },
323
- "raw": {
324
- "type": "string",
325
- "description": "客户端 GameResponseItem 的原始数据(若查询结果有返回则原样保留)"
326
- }
327
- },
328
- "additionalProperties": true
329
- },
330
- "tagType": {
331
- "type": "string",
332
- "enum": [
333
- "位置",
334
- "团购",
335
- "购物车",
336
- "游戏手柄"
337
- ]
338
- },
339
- "group_shopping": {
340
- "type": "object"
341
- }
342
- },
343
- "additionalProperties": false
344
- }
1
+ {
2
+ "title": "抖音图文发布表单 (Douyin Image-Text)",
3
+ "x-conditional-required": [
4
+ {
5
+ "if": { "field": "tagType", "op": "equals", "value": "游戏手柄" },
6
+ "required": ["game"],
7
+ "message": "抖音图文选择游戏手柄标签时必须提供 game 游戏对象"
8
+ },
9
+ {
10
+ "if": { "field": "game", "op": "exists" },
11
+ "required": ["tagType"],
12
+ "message": "抖音图文设置 game 时必须同时设置 tagType"
13
+ },
14
+ {
15
+ "if": { "field": "tagType", "op": "notEquals", "value": "游戏手柄" },
16
+ "forbidNonEmpty": ["game"],
17
+ "message": "只有 tagType=游戏手柄 时才能设置 game"
18
+ }
19
+ ],
20
+ "type": "object",
21
+ "required": [
22
+ "formType",
23
+ "title",
24
+ "description",
25
+ "images"
26
+ ],
27
+ "properties": {
28
+ "formType": {
29
+ "type": "string",
30
+ "const": "task"
31
+ },
32
+ "title": {
33
+ "type": "string",
34
+ "maxLength": 20
35
+ },
36
+ "description": {
37
+ "type": "string",
38
+ "maxLength": 1000
39
+ },
40
+ "tags": {
41
+ "type": "array",
42
+ "items": {
43
+ "type": "string"
44
+ },
45
+ "minItems": 1,
46
+ "maxItems": 10
47
+ },
48
+ "images": {
49
+ "type": "array",
50
+ "minItems": 1,
51
+ "maxItems": 20,
52
+ "items": {
53
+ "type": "object",
54
+ "required": [
55
+ "key",
56
+ "size",
57
+ "width",
58
+ "height"
59
+ ],
60
+ "properties": {
61
+ "key": {
62
+ "type": "string"
63
+ },
64
+ "size": {
65
+ "type": "integer",
66
+ "minimum": 1
67
+ },
68
+ "width": {
69
+ "type": "integer",
70
+ "minimum": 1
71
+ },
72
+ "height": {
73
+ "type": "integer",
74
+ "minimum": 1
75
+ },
76
+ "format": {
77
+ "type": "string",
78
+ "enum": [
79
+ "jpg",
80
+ "jpeg",
81
+ "png",
82
+ "webp"
83
+ ]
84
+ }
85
+ }
86
+ }
87
+ },
88
+ "cover": {
89
+ "type": "object",
90
+ "required": [
91
+ "key",
92
+ "size",
93
+ "width",
94
+ "height"
95
+ ],
96
+ "properties": {
97
+ "key": {
98
+ "type": "string"
99
+ },
100
+ "size": {
101
+ "type": "integer"
102
+ },
103
+ "width": {
104
+ "type": "integer"
105
+ },
106
+ "height": {
107
+ "type": "integer"
108
+ }
109
+ }
110
+ },
111
+ "coverKey": {
112
+ "type": "string"
113
+ },
114
+ "allowTake": {
115
+ "type": "boolean",
116
+ "default": true
117
+ },
118
+ "location": {
119
+ "type": "object",
120
+ "required": [
121
+ "isScp",
122
+ "data"
123
+ ],
124
+ "properties": {
125
+ "isScp": {
126
+ "type": "boolean"
127
+ },
128
+ "data": {
129
+ "type": "object",
130
+ "required": [
131
+ "yixiaoerId",
132
+ "yixiaoerName",
133
+ "raw"
134
+ ],
135
+ "properties": {
136
+ "yixiaoerId": {
137
+ "type": "string"
138
+ },
139
+ "yixiaoerName": {
140
+ "type": "string"
141
+ },
142
+ "raw": {
143
+ "type": "object"
144
+ }
145
+ },
146
+ "additionalProperties": true
147
+ }
148
+ },
149
+ "additionalProperties": false
150
+ },
151
+ "music": {
152
+ "type": "object",
153
+ "required": [
154
+ "yixiaoerId",
155
+ "yixiaoerName",
156
+ "raw"
157
+ ],
158
+ "properties": {
159
+ "yixiaoerId": {
160
+ "type": "string"
161
+ },
162
+ "yixiaoerName": {
163
+ "type": "string"
164
+ },
165
+ "duration": {
166
+ "type": "number"
167
+ },
168
+ "playUrl": {
169
+ "type": "string"
170
+ },
171
+ "raw": {
172
+ "type": "object"
173
+ }
174
+ }
175
+ },
176
+ "challenge": {
177
+ "type": "object",
178
+ "required": [
179
+ "yixiaoerId",
180
+ "yixiaoerName",
181
+ "raw"
182
+ ],
183
+ "properties": {
184
+ "yixiaoerId": {
185
+ "type": "string"
186
+ },
187
+ "yixiaoerName": {
188
+ "type": "string"
189
+ },
190
+ "raw": {
191
+ "type": "object"
192
+ }
193
+ }
194
+ },
195
+ "collection": {
196
+ "type": "object",
197
+ "required": [
198
+ "yixiaoerId",
199
+ "yixiaoerName",
200
+ "raw"
201
+ ],
202
+ "properties": {
203
+ "yixiaoerId": {
204
+ "type": "string"
205
+ },
206
+ "yixiaoerName": {
207
+ "type": "string"
208
+ },
209
+ "raw": {
210
+ "type": "object"
211
+ }
212
+ }
213
+ },
214
+ "sub_collection": {
215
+ "type": "object",
216
+ "required": [
217
+ "yixiaoerId",
218
+ "yixiaoerName",
219
+ "raw"
220
+ ],
221
+ "properties": {
222
+ "yixiaoerId": {
223
+ "type": "string"
224
+ },
225
+ "yixiaoerName": {
226
+ "type": "string"
227
+ },
228
+ "raw": {
229
+ "type": "object"
230
+ }
231
+ }
232
+ },
233
+ "scheduledTime": {
234
+ "type": "number",
235
+ "minimum": 0
236
+ },
237
+ "visibleType": {
238
+ "type": "number",
239
+ "enum": [
240
+ 0,
241
+ 1,
242
+ 2
243
+ ],
244
+ "default": 0
245
+ },
246
+ "declaration": {
247
+ "type": "number",
248
+ "enum": [
249
+ 0,
250
+ 3,
251
+ 4,
252
+ 5,
253
+ 6,
254
+ 7,
255
+ 8
256
+ ],
257
+ "default": 0
258
+ },
259
+ "shopping_cart": {
260
+ "type": "array",
261
+ "minItems": 1,
262
+ "items": {
263
+ "type": "object",
264
+ "required": [
265
+ "sale_title",
266
+ "images",
267
+ "data"
268
+ ],
269
+ "properties": {
270
+ "sale_title": {
271
+ "type": "string",
272
+ "maxLength": 10
273
+ },
274
+ "images": {
275
+ "type": "array",
276
+ "minItems": 1,
277
+ "items": {
278
+ "type": "string"
279
+ }
280
+ },
281
+ "data": {
282
+ "type": "object",
283
+ "required": [
284
+ "yixiaoerId",
285
+ "yixiaoerName",
286
+ "raw"
287
+ ],
288
+ "properties": {
289
+ "yixiaoerId": {
290
+ "type": "string"
291
+ },
292
+ "yixiaoerName": {
293
+ "type": "string"
294
+ },
295
+ "raw": {
296
+ "type": "object"
297
+ }
298
+ },
299
+ "additionalProperties": true
300
+ }
301
+ },
302
+ "additionalProperties": false
303
+ }
304
+ },
305
+ "game": {
306
+ "type": "object",
307
+ "description": "游戏手柄关联游戏,必须使用目标账号 games 查询结果中的完整对象",
308
+ "required": [
309
+ "yixiaoerId",
310
+ "yixiaoerName",
311
+ "yixiaoerImageUrl"
312
+ ],
313
+ "properties": {
314
+ "yixiaoerId": {
315
+ "type": "string"
316
+ },
317
+ "yixiaoerName": {
318
+ "type": "string"
319
+ },
320
+ "yixiaoerImageUrl": {
321
+ "type": "string"
322
+ },
323
+ "raw": {
324
+ "type": "string",
325
+ "description": "客户端 GameResponseItem 的原始数据(若查询结果有返回则原样保留)"
326
+ }
327
+ },
328
+ "additionalProperties": true
329
+ },
330
+ "tagType": {
331
+ "type": "string",
332
+ "enum": [
333
+ "位置",
334
+ "团购",
335
+ "购物车",
336
+ "游戏手柄"
337
+ ]
338
+ },
339
+ "group_shopping": {
340
+ "type": "object"
341
+ }
342
+ },
343
+ "additionalProperties": false
344
+ }