@oomol-lab/open-connector 1.6.2 → 1.6.4
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/README.md +27 -0
- package/assets/open-connector/catalog/apps/assured_platform.json +218 -0
- package/assets/open-connector/catalog/apps/baixiao.json +1080 -0
- package/assets/open-connector/catalog/apps/benchmarkone.json +956 -0
- package/assets/open-connector/catalog/apps/bing_webmaster.json +3097 -0
- package/assets/open-connector/catalog/apps/buzzsprout.json +1979 -0
- package/assets/open-connector/catalog/apps/feishu.json +13 -19
- package/assets/open-connector/catalog/apps/feishu_app_bot.json +12 -19
- package/assets/open-connector/catalog/apps/jin10.json +1 -1
- package/assets/open-connector/catalog/apps/linkfox.json +836 -0
- package/assets/open-connector/catalog/apps/metatraderapi.json +1077 -0
- package/assets/open-connector/catalog/apps/mktindex.json +2411 -0
- package/assets/open-connector/catalog/apps/mojo_helpdesk.json +660 -0
- package/assets/open-connector/catalog/apps/mumble.json +446 -0
- package/assets/open-connector/catalog/apps/notion.json +112 -3
- package/assets/open-connector/catalog/apps/omise.json +438 -0
- package/assets/open-connector/catalog/apps/panjiva.json +2858 -0
- package/assets/open-connector/catalog/apps/papertrail.json +449 -0
- package/assets/open-connector/catalog/apps/peec.json +747 -0
- package/assets/open-connector/catalog/apps/polygon_io.json +5156 -584
- package/assets/open-connector/catalog/apps/quant_data.json +1928 -0
- package/assets/open-connector/catalog/apps/riddle_quiz_maker.json +621 -0
- package/assets/open-connector/catalog/apps/slack.json +327 -4
- package/assets/open-connector/catalog/apps/slackbot.json +280 -3
- package/assets/open-connector/catalog/apps/templatedocs.json +438 -0
- package/assets/open-connector/catalog/apps/terminus_app.json +510 -0
- package/assets/open-connector/catalog/apps/ticket_tailor.json +584 -0
- package/assets/open-connector/catalog/apps/tongdaxin.json +2186 -82
- package/assets/open-connector/catalog/apps/veremark.json +514 -0
- package/assets/open-connector/catalog/apps/walletap.json +549 -0
- package/assets/open-connector/catalog/apps/xiaohongshu_store.json +955 -39
- package/assets/open-connector/catalog/apps-index.json +1 -1
- package/package.json +5 -1
- package/src/connection-service.d.ts +2 -0
- package/src/connection-service.js +8 -1
- package/src/core/provider-id.d.ts +5 -0
- package/src/core/provider-id.js +12 -0
- package/src/oauth/oauth-credential-refresh-service.js +2 -0
- package/src/oauth/oauth-flow-service.js +2 -0
- package/src/providers/action-contracts.generated.d.ts +27 -7
- package/src/providers/assured_platform/executors.d.ts +4 -0
- package/src/providers/assured_platform/executors.js +18 -0
- package/src/providers/assured_platform/runtime.d.ts +7 -0
- package/src/providers/assured_platform/runtime.js +108 -0
- package/src/providers/baixiao/actions.d.ts +2 -0
- package/src/providers/baixiao/actions.js +377 -0
- package/src/providers/baixiao/executors.d.ts +4 -0
- package/src/providers/baixiao/executors.js +106 -0
- package/src/providers/benchmarkone/executors.d.ts +4 -0
- package/src/providers/benchmarkone/executors.js +26 -0
- package/src/providers/benchmarkone/runtime.d.ts +12 -0
- package/src/providers/benchmarkone/runtime.js +113 -0
- package/src/providers/bing_webmaster/actions.d.ts +2 -0
- package/src/providers/bing_webmaster/actions.js +113 -0
- package/src/providers/bing_webmaster/executors.d.ts +4 -0
- package/src/providers/bing_webmaster/executors.js +104 -0
- package/src/providers/bing_webmaster/management-actions.d.ts +2 -0
- package/src/providers/bing_webmaster/management-actions.js +241 -0
- package/src/providers/bing_webmaster/reporting-actions.d.ts +2 -0
- package/src/providers/bing_webmaster/reporting-actions.js +300 -0
- package/src/providers/bing_webmaster/schemas.d.ts +33 -0
- package/src/providers/bing_webmaster/schemas.js +313 -0
- package/src/providers/buzzsprout/executors.d.ts +4 -0
- package/src/providers/buzzsprout/executors.js +21 -0
- package/src/providers/buzzsprout/runtime.d.ts +12 -0
- package/src/providers/buzzsprout/runtime.js +237 -0
- package/src/providers/dropbox/executors.js +21 -3
- package/src/providers/feishu/shared/drive-actions.d.ts +1 -0
- package/src/providers/feishu/shared/drive-actions.js +13 -9
- package/src/providers/feishu/shared/drive-runtime.js +15 -3
- package/src/providers/feishu/shared/wiki-actions.js +4 -2
- package/src/providers/feishu_app_bot/scopes.js +1 -1
- package/src/providers/hithink_finance/runtime.js +39 -60
- package/src/providers/linkfox/actions.js +2 -0
- package/src/providers/linkfox/runtime.js +70 -1
- package/src/providers/linkfox/sif-actions.d.ts +10 -0
- package/src/providers/linkfox/sif-actions.js +193 -0
- package/src/providers/mcp-client.d.ts +1 -0
- package/src/providers/mcp-client.js +41 -27
- package/src/providers/metatraderapi/executors.d.ts +4 -0
- package/src/providers/metatraderapi/executors.js +18 -0
- package/src/providers/metatraderapi/runtime.d.ts +7 -0
- package/src/providers/metatraderapi/runtime.js +216 -0
- package/src/providers/mktindex/actions-mmi.d.ts +2 -0
- package/src/providers/mktindex/actions-mmi.js +510 -0
- package/src/providers/mktindex/actions.d.ts +2 -0
- package/src/providers/mktindex/actions.js +2 -0
- package/src/providers/mktindex/executors.d.ts +4 -0
- package/src/providers/mktindex/executors.js +27 -0
- package/src/providers/mktindex/request.d.ts +17 -0
- package/src/providers/mktindex/request.js +48 -0
- package/src/providers/mktindex/runtime.d.ts +9 -0
- package/src/providers/mktindex/runtime.js +492 -0
- package/src/providers/mojo_helpdesk/executors.d.ts +4 -0
- package/src/providers/mojo_helpdesk/executors.js +18 -0
- package/src/providers/mojo_helpdesk/runtime.d.ts +7 -0
- package/src/providers/mojo_helpdesk/runtime.js +173 -0
- package/src/providers/mumble/executors.d.ts +4 -0
- package/src/providers/mumble/executors.js +99 -0
- package/src/providers/notion/executors.d.ts +9 -0
- package/src/providers/notion/executors.js +161 -6
- package/src/providers/omise/executors.d.ts +4 -0
- package/src/providers/omise/executors.js +120 -0
- package/src/providers/panjiva/actions.d.ts +14 -0
- package/src/providers/panjiva/actions.js +389 -0
- package/src/providers/panjiva/executors.d.ts +4 -0
- package/src/providers/panjiva/executors.js +136 -0
- package/src/providers/papertrail/executors.d.ts +4 -0
- package/src/providers/papertrail/executors.js +15 -0
- package/src/providers/papertrail/runtime.d.ts +7 -0
- package/src/providers/papertrail/runtime.js +167 -0
- package/src/providers/peec/executors.d.ts +4 -0
- package/src/providers/peec/executors.js +15 -0
- package/src/providers/peec/runtime.d.ts +7 -0
- package/src/providers/peec/runtime.js +128 -0
- package/src/providers/polygon_io/actions.d.ts +2 -0
- package/src/providers/polygon_io/actions.js +282 -0
- package/src/providers/polygon_io/expanded-actions.d.ts +2 -0
- package/src/providers/polygon_io/expanded-actions.js +375 -0
- package/src/providers/polygon_io/expanded-runtime.d.ts +16 -0
- package/src/providers/polygon_io/expanded-runtime.js +277 -0
- package/src/providers/polygon_io/runtime.js +21 -2
- package/src/providers/quant_data/executors.d.ts +4 -0
- package/src/providers/quant_data/executors.js +15 -0
- package/src/providers/quant_data/runtime.d.ts +7 -0
- package/src/providers/quant_data/runtime.js +118 -0
- package/src/providers/registry.generated.js +20 -0
- package/src/providers/riddle_quiz_maker/executors.d.ts +4 -0
- package/src/providers/riddle_quiz_maker/executors.js +15 -0
- package/src/providers/riddle_quiz_maker/runtime.d.ts +7 -0
- package/src/providers/riddle_quiz_maker/runtime.js +145 -0
- package/src/providers/sellersprite_mcp/executors.js +2 -1
- package/src/providers/slack/actions.js +106 -3
- package/src/providers/slack/runtime.js +262 -38
- package/src/providers/slackbot/actions.js +1 -1
- package/src/providers/templatedocs/executors.d.ts +4 -0
- package/src/providers/templatedocs/executors.js +18 -0
- package/src/providers/templatedocs/runtime.d.ts +13 -0
- package/src/providers/templatedocs/runtime.js +151 -0
- package/src/providers/terminus_app/executors.d.ts +4 -0
- package/src/providers/terminus_app/executors.js +15 -0
- package/src/providers/terminus_app/runtime.d.ts +7 -0
- package/src/providers/terminus_app/runtime.js +172 -0
- package/src/providers/ticket_tailor/executors.d.ts +4 -0
- package/src/providers/ticket_tailor/executors.js +15 -0
- package/src/providers/ticket_tailor/runtime.d.ts +7 -0
- package/src/providers/ticket_tailor/runtime.js +152 -0
- package/src/providers/tongdaxin/actions.d.ts +1 -0
- package/src/providers/tongdaxin/actions.js +6 -3
- package/src/providers/tongdaxin/executors.js +55 -13
- package/src/providers/tongdaxin/named-action-output.d.ts +1 -0
- package/src/providers/tongdaxin/named-action-output.js +143 -0
- package/src/providers/tongdaxin/named-action-routing.d.ts +9 -0
- package/src/providers/tongdaxin/named-action-routing.js +417 -0
- package/src/providers/tongdaxin/named-actions.d.ts +2 -0
- package/src/providers/tongdaxin/named-actions.js +373 -0
- package/src/providers/twenty_crm/runtime.js +4 -2
- package/src/providers/veremark/executors.d.ts +4 -0
- package/src/providers/veremark/executors.js +129 -0
- package/src/providers/walletap/executors.d.ts +4 -0
- package/src/providers/walletap/executors.js +15 -0
- package/src/providers/walletap/runtime.d.ts +7 -0
- package/src/providers/walletap/runtime.js +147 -0
- package/src/providers/weixin_official_account/access-token.js +31 -7
- package/src/providers/weixin_store/access-token.js +33 -7
- package/src/providers/xiaohongshu_store/executors.js +152 -3
- package/src/server/api/openapi.js +3 -0
- package/src/server/connector-assets.d.ts +4 -0
- package/src/server/connector-assets.js +12 -0
- package/src/server/connector-build.d.ts +33 -0
- package/src/server/connector-build.js +73 -0
- package/src/server/connector-runtime.d.ts +1 -2
- package/src/server/connector-runtime.js +2 -8
- package/src/server/server-assets.d.ts +0 -28
- package/src/server/server-assets.js +0 -50
|
@@ -229,6 +229,206 @@
|
|
|
229
229
|
"description": "The receipt decision result."
|
|
230
230
|
}
|
|
231
231
|
},
|
|
232
|
+
{
|
|
233
|
+
"id": "xiaohongshu_store.create_item",
|
|
234
|
+
"service": "xiaohongshu_store",
|
|
235
|
+
"name": "create_item",
|
|
236
|
+
"description": "Create a Xiaohongshu item with its SKUs. Typical setup order: list_categories, get_category_attributes, search_brands, list_carriage_templates, list_logistics_plans, then upload_material for the images.",
|
|
237
|
+
"operationType": "write",
|
|
238
|
+
"requiredScopes": [],
|
|
239
|
+
"providerPermissions": [],
|
|
240
|
+
"inputSchema": {
|
|
241
|
+
"type": "object",
|
|
242
|
+
"properties": {
|
|
243
|
+
"name": {
|
|
244
|
+
"type": "string",
|
|
245
|
+
"minLength": 1,
|
|
246
|
+
"description": "The item title.",
|
|
247
|
+
"pattern": "\\S"
|
|
248
|
+
},
|
|
249
|
+
"categoryId": {
|
|
250
|
+
"type": "string",
|
|
251
|
+
"minLength": 1,
|
|
252
|
+
"description": "The leaf category ID, from list_categories.",
|
|
253
|
+
"pattern": "\\S"
|
|
254
|
+
},
|
|
255
|
+
"shippingTemplateId": {
|
|
256
|
+
"type": "string",
|
|
257
|
+
"minLength": 1,
|
|
258
|
+
"description": "The carriage template ID, from list_carriage_templates.",
|
|
259
|
+
"pattern": "\\S"
|
|
260
|
+
},
|
|
261
|
+
"shippingGrossWeight": {
|
|
262
|
+
"type": "integer",
|
|
263
|
+
"minimum": 0,
|
|
264
|
+
"description": "The item shipping weight in grams. Required to be positive when the carriage template charges by weight."
|
|
265
|
+
},
|
|
266
|
+
"images": {
|
|
267
|
+
"type": "array",
|
|
268
|
+
"items": {
|
|
269
|
+
"type": "object",
|
|
270
|
+
"properties": {
|
|
271
|
+
"link": {
|
|
272
|
+
"type": "string",
|
|
273
|
+
"minLength": 1,
|
|
274
|
+
"description": "The image URL returned by upload_material.",
|
|
275
|
+
"pattern": "\\S"
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
"additionalProperties": true,
|
|
279
|
+
"description": "One image."
|
|
280
|
+
},
|
|
281
|
+
"description": "The main images. Upload files with upload_material first and pass each returned url as link.",
|
|
282
|
+
"minItems": 1
|
|
283
|
+
},
|
|
284
|
+
"createSkuList": {
|
|
285
|
+
"type": "array",
|
|
286
|
+
"items": {
|
|
287
|
+
"type": "object",
|
|
288
|
+
"properties": {
|
|
289
|
+
"price": {
|
|
290
|
+
"type": "integer",
|
|
291
|
+
"minimum": 0,
|
|
292
|
+
"description": "The SKU price in fen."
|
|
293
|
+
},
|
|
294
|
+
"stock": {
|
|
295
|
+
"type": "integer",
|
|
296
|
+
"minimum": 0,
|
|
297
|
+
"description": "The SKU stock."
|
|
298
|
+
},
|
|
299
|
+
"logisticsPlanId": {
|
|
300
|
+
"type": "string",
|
|
301
|
+
"minLength": 1,
|
|
302
|
+
"description": "The logistics plan ID, from list_logistics_plans.",
|
|
303
|
+
"pattern": "\\S"
|
|
304
|
+
},
|
|
305
|
+
"deliveryTime": {
|
|
306
|
+
"type": "object",
|
|
307
|
+
"properties": {
|
|
308
|
+
"type": {
|
|
309
|
+
"type": "integer",
|
|
310
|
+
"minimum": 3,
|
|
311
|
+
"maximum": 5,
|
|
312
|
+
"description": "The delivery time type: 3 for same-day, 4 for relative hours, or 5 for an absolute time."
|
|
313
|
+
},
|
|
314
|
+
"time": {
|
|
315
|
+
"type": "string",
|
|
316
|
+
"minLength": 1,
|
|
317
|
+
"description": "The delivery time value for the chosen type.",
|
|
318
|
+
"pattern": "\\S"
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
"additionalProperties": true,
|
|
322
|
+
"description": "The SKU delivery time."
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
"additionalProperties": true,
|
|
326
|
+
"description": "One SKU to create. Other upstream SKU fields such as originalPrice, variants, barcode, erpCode, and specImage pass through unchanged."
|
|
327
|
+
},
|
|
328
|
+
"description": "The SKUs to create. Each needs price (in fen), stock, logisticsPlanId (from list_logistics_plans), and deliveryTime ({ type, time }).",
|
|
329
|
+
"minItems": 1
|
|
330
|
+
},
|
|
331
|
+
"brandId": {
|
|
332
|
+
"type": "string",
|
|
333
|
+
"minLength": 1,
|
|
334
|
+
"description": "The brand ID, from search_brands.",
|
|
335
|
+
"pattern": "\\S"
|
|
336
|
+
},
|
|
337
|
+
"attributes": {
|
|
338
|
+
"type": "array",
|
|
339
|
+
"items": {
|
|
340
|
+
"type": "object",
|
|
341
|
+
"properties": {},
|
|
342
|
+
"additionalProperties": true,
|
|
343
|
+
"description": "One attribute assignment."
|
|
344
|
+
},
|
|
345
|
+
"description": "The category attributes, from get_category_attributes: { propertyId, name, value, valueId, valueList }."
|
|
346
|
+
},
|
|
347
|
+
"variantIds": {
|
|
348
|
+
"type": "array",
|
|
349
|
+
"items": {
|
|
350
|
+
"type": "string",
|
|
351
|
+
"minLength": 1,
|
|
352
|
+
"description": "A spec type ID.",
|
|
353
|
+
"pattern": "\\S"
|
|
354
|
+
},
|
|
355
|
+
"description": "The spec type IDs of the item."
|
|
356
|
+
},
|
|
357
|
+
"articleNo": {
|
|
358
|
+
"type": "string",
|
|
359
|
+
"minLength": 1,
|
|
360
|
+
"description": "The merchant article number.",
|
|
361
|
+
"pattern": "\\S"
|
|
362
|
+
},
|
|
363
|
+
"description": {
|
|
364
|
+
"type": "string",
|
|
365
|
+
"minLength": 1,
|
|
366
|
+
"description": "The item description, up to 500 characters.",
|
|
367
|
+
"pattern": "\\S"
|
|
368
|
+
},
|
|
369
|
+
"itemShortTitle": {
|
|
370
|
+
"type": "string",
|
|
371
|
+
"minLength": 1,
|
|
372
|
+
"description": "The item short title.",
|
|
373
|
+
"pattern": "\\S"
|
|
374
|
+
},
|
|
375
|
+
"deliveryMode": {
|
|
376
|
+
"type": "integer",
|
|
377
|
+
"minimum": 0,
|
|
378
|
+
"maximum": 1,
|
|
379
|
+
"description": "The delivery mode: 0 for normal delivery or 1 for no-logistics delivery."
|
|
380
|
+
},
|
|
381
|
+
"freeReturn": {
|
|
382
|
+
"type": "integer",
|
|
383
|
+
"minimum": 1,
|
|
384
|
+
"maximum": 2,
|
|
385
|
+
"description": "The free-return policy: 1 or 2."
|
|
386
|
+
},
|
|
387
|
+
"videos": {
|
|
388
|
+
"type": "array",
|
|
389
|
+
"items": {
|
|
390
|
+
"type": "object",
|
|
391
|
+
"properties": {},
|
|
392
|
+
"additionalProperties": true,
|
|
393
|
+
"description": "One video: { link }."
|
|
394
|
+
},
|
|
395
|
+
"description": "The main videos, in the same { link } shape as images."
|
|
396
|
+
},
|
|
397
|
+
"imageDescriptions": {
|
|
398
|
+
"type": "array",
|
|
399
|
+
"items": {
|
|
400
|
+
"type": "object",
|
|
401
|
+
"properties": {},
|
|
402
|
+
"additionalProperties": true,
|
|
403
|
+
"description": "One description image: { link }."
|
|
404
|
+
},
|
|
405
|
+
"description": "The description images, in the same { link } shape as images."
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
"additionalProperties": false,
|
|
409
|
+
"required": [
|
|
410
|
+
"name",
|
|
411
|
+
"categoryId",
|
|
412
|
+
"shippingTemplateId",
|
|
413
|
+
"images",
|
|
414
|
+
"createSkuList"
|
|
415
|
+
],
|
|
416
|
+
"description": "The item and SKU data used to create a Xiaohongshu product."
|
|
417
|
+
},
|
|
418
|
+
"outputSchema": {
|
|
419
|
+
"type": "object",
|
|
420
|
+
"properties": {
|
|
421
|
+
"item": {
|
|
422
|
+
"type": "object",
|
|
423
|
+
"properties": {},
|
|
424
|
+
"additionalProperties": true,
|
|
425
|
+
"description": "A Xiaohongshu item record. Available fields depend on the query form."
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
"additionalProperties": false,
|
|
429
|
+
"description": "The created Xiaohongshu item."
|
|
430
|
+
}
|
|
431
|
+
},
|
|
232
432
|
{
|
|
233
433
|
"id": "xiaohongshu_store.deliver_order",
|
|
234
434
|
"service": "xiaohongshu_store",
|
|
@@ -697,6 +897,55 @@
|
|
|
697
897
|
"description": "The Xiaohongshu SKU stock result."
|
|
698
898
|
}
|
|
699
899
|
},
|
|
900
|
+
{
|
|
901
|
+
"id": "xiaohongshu_store.list_address_records",
|
|
902
|
+
"service": "xiaohongshu_store",
|
|
903
|
+
"name": "list_address_records",
|
|
904
|
+
"description": "List the seller address records of the Xiaohongshu shop, including return addresses. sellerAddressRecordId is required when agreeing to a return shipment in audit_after_sale.",
|
|
905
|
+
"operationType": "read",
|
|
906
|
+
"requiredScopes": [],
|
|
907
|
+
"providerPermissions": [],
|
|
908
|
+
"inputSchema": {
|
|
909
|
+
"type": "object",
|
|
910
|
+
"properties": {
|
|
911
|
+
"pageIndex": {
|
|
912
|
+
"type": "integer",
|
|
913
|
+
"minimum": 1,
|
|
914
|
+
"description": "The one-based page number. Defaults to 1."
|
|
915
|
+
},
|
|
916
|
+
"pageSize": {
|
|
917
|
+
"type": "integer",
|
|
918
|
+
"minimum": 1,
|
|
919
|
+
"maximum": 200,
|
|
920
|
+
"description": "The number of address records per page. Defaults to 20 and cannot exceed 200."
|
|
921
|
+
}
|
|
922
|
+
},
|
|
923
|
+
"additionalProperties": false,
|
|
924
|
+
"description": "The pagination used to list seller address records."
|
|
925
|
+
},
|
|
926
|
+
"outputSchema": {
|
|
927
|
+
"type": "object",
|
|
928
|
+
"properties": {
|
|
929
|
+
"addresses": {
|
|
930
|
+
"type": "array",
|
|
931
|
+
"items": {
|
|
932
|
+
"type": "object",
|
|
933
|
+
"properties": {},
|
|
934
|
+
"additionalProperties": true,
|
|
935
|
+
"description": "A Xiaohongshu seller address record."
|
|
936
|
+
},
|
|
937
|
+
"description": "The seller address records."
|
|
938
|
+
},
|
|
939
|
+
"total": {
|
|
940
|
+
"type": "integer",
|
|
941
|
+
"minimum": 0,
|
|
942
|
+
"description": "The total number of address records reported by Xiaohongshu."
|
|
943
|
+
}
|
|
944
|
+
},
|
|
945
|
+
"additionalProperties": false,
|
|
946
|
+
"description": "A paginated Xiaohongshu seller address result."
|
|
947
|
+
}
|
|
948
|
+
},
|
|
700
949
|
{
|
|
701
950
|
"id": "xiaohongshu_store.list_after_sale_reject_reasons",
|
|
702
951
|
"service": "xiaohongshu_store",
|
|
@@ -841,6 +1090,55 @@
|
|
|
841
1090
|
"description": "A paginated Xiaohongshu after-sale result."
|
|
842
1091
|
}
|
|
843
1092
|
},
|
|
1093
|
+
{
|
|
1094
|
+
"id": "xiaohongshu_store.list_carriage_templates",
|
|
1095
|
+
"service": "xiaohongshu_store",
|
|
1096
|
+
"name": "list_carriage_templates",
|
|
1097
|
+
"description": "List the carriage (freight) templates of the Xiaohongshu shop.",
|
|
1098
|
+
"operationType": "read",
|
|
1099
|
+
"requiredScopes": [],
|
|
1100
|
+
"providerPermissions": [],
|
|
1101
|
+
"inputSchema": {
|
|
1102
|
+
"type": "object",
|
|
1103
|
+
"properties": {
|
|
1104
|
+
"pageIndex": {
|
|
1105
|
+
"type": "integer",
|
|
1106
|
+
"minimum": 1,
|
|
1107
|
+
"description": "The one-based page number. Defaults to 1."
|
|
1108
|
+
},
|
|
1109
|
+
"pageSize": {
|
|
1110
|
+
"type": "integer",
|
|
1111
|
+
"minimum": 1,
|
|
1112
|
+
"maximum": 100,
|
|
1113
|
+
"description": "The number of carriage templates per page. Defaults to 20 and cannot exceed 100."
|
|
1114
|
+
}
|
|
1115
|
+
},
|
|
1116
|
+
"additionalProperties": false,
|
|
1117
|
+
"description": "The pagination used to list carriage templates."
|
|
1118
|
+
},
|
|
1119
|
+
"outputSchema": {
|
|
1120
|
+
"type": "object",
|
|
1121
|
+
"properties": {
|
|
1122
|
+
"templates": {
|
|
1123
|
+
"type": "array",
|
|
1124
|
+
"items": {
|
|
1125
|
+
"type": "object",
|
|
1126
|
+
"properties": {},
|
|
1127
|
+
"additionalProperties": true,
|
|
1128
|
+
"description": "A Xiaohongshu carriage template."
|
|
1129
|
+
},
|
|
1130
|
+
"description": "The carriage template records."
|
|
1131
|
+
},
|
|
1132
|
+
"total": {
|
|
1133
|
+
"type": "integer",
|
|
1134
|
+
"minimum": 0,
|
|
1135
|
+
"description": "The total number of carriage templates reported by Xiaohongshu."
|
|
1136
|
+
}
|
|
1137
|
+
},
|
|
1138
|
+
"additionalProperties": false,
|
|
1139
|
+
"description": "A paginated Xiaohongshu carriage template result."
|
|
1140
|
+
}
|
|
1141
|
+
},
|
|
844
1142
|
{
|
|
845
1143
|
"id": "xiaohongshu_store.list_categories",
|
|
846
1144
|
"service": "xiaohongshu_store",
|
|
@@ -913,10 +1211,10 @@
|
|
|
913
1211
|
}
|
|
914
1212
|
},
|
|
915
1213
|
{
|
|
916
|
-
"id": "xiaohongshu_store.
|
|
1214
|
+
"id": "xiaohongshu_store.list_item_skus",
|
|
917
1215
|
"service": "xiaohongshu_store",
|
|
918
|
-
"name": "
|
|
919
|
-
"description": "List Xiaohongshu items with
|
|
1216
|
+
"name": "list_item_skus",
|
|
1217
|
+
"description": "List Xiaohongshu items together with their full SKU details such as price, stock, and logistics plan.",
|
|
920
1218
|
"operationType": "read",
|
|
921
1219
|
"requiredScopes": [],
|
|
922
1220
|
"providerPermissions": [],
|
|
@@ -926,7 +1224,7 @@
|
|
|
926
1224
|
"id": {
|
|
927
1225
|
"type": "string",
|
|
928
1226
|
"minLength": 1,
|
|
929
|
-
"description": "An exact Xiaohongshu
|
|
1227
|
+
"description": "An exact Xiaohongshu SKU ID.",
|
|
930
1228
|
"pattern": "\\S"
|
|
931
1229
|
},
|
|
932
1230
|
"createTimeFrom": {
|
|
@@ -969,16 +1267,12 @@
|
|
|
969
1267
|
"description": "An item barcode.",
|
|
970
1268
|
"pattern": "\\S"
|
|
971
1269
|
},
|
|
972
|
-
"
|
|
1270
|
+
"scSkucode": {
|
|
973
1271
|
"type": "string",
|
|
974
1272
|
"minLength": 1,
|
|
975
|
-
"description": "A Xiaohongshu
|
|
1273
|
+
"description": "A Xiaohongshu SKU code.",
|
|
976
1274
|
"pattern": "\\S"
|
|
977
1275
|
},
|
|
978
|
-
"freeze": {
|
|
979
|
-
"type": "boolean",
|
|
980
|
-
"description": "Whether to include only frozen items."
|
|
981
|
-
},
|
|
982
1276
|
"singlePackOnly": {
|
|
983
1277
|
"type": "boolean",
|
|
984
1278
|
"description": "Whether to return only single-item packs."
|
|
@@ -1006,7 +1300,7 @@
|
|
|
1006
1300
|
}
|
|
1007
1301
|
},
|
|
1008
1302
|
"additionalProperties": false,
|
|
1009
|
-
"description": "The filters used to list Xiaohongshu items. Passing
|
|
1303
|
+
"description": "The filters used to list Xiaohongshu items with SKU details. Passing a SKU ID ignores the other filters."
|
|
1010
1304
|
},
|
|
1011
1305
|
"outputSchema": {
|
|
1012
1306
|
"type": "object",
|
|
@@ -1017,14 +1311,14 @@
|
|
|
1017
1311
|
"type": "object",
|
|
1018
1312
|
"properties": {},
|
|
1019
1313
|
"additionalProperties": true,
|
|
1020
|
-
"description": "A Xiaohongshu item
|
|
1314
|
+
"description": "A Xiaohongshu item and SKU pair."
|
|
1021
1315
|
},
|
|
1022
|
-
"description": "The
|
|
1316
|
+
"description": "The item records, each with its item and sku details."
|
|
1023
1317
|
},
|
|
1024
1318
|
"total": {
|
|
1025
1319
|
"type": "integer",
|
|
1026
1320
|
"minimum": 0,
|
|
1027
|
-
"description": "The total number of matching
|
|
1321
|
+
"description": "The total number of matching SKUs reported by Xiaohongshu."
|
|
1028
1322
|
},
|
|
1029
1323
|
"pageNo": {
|
|
1030
1324
|
"type": "integer",
|
|
@@ -1034,57 +1328,302 @@
|
|
|
1034
1328
|
"pageSize": {
|
|
1035
1329
|
"type": "integer",
|
|
1036
1330
|
"minimum": 1,
|
|
1037
|
-
"description": "The requested number of
|
|
1331
|
+
"description": "The requested number of records per page."
|
|
1038
1332
|
}
|
|
1039
1333
|
},
|
|
1040
1334
|
"additionalProperties": false,
|
|
1041
|
-
"description": "A paginated Xiaohongshu item result."
|
|
1335
|
+
"description": "A paginated Xiaohongshu item and SKU result."
|
|
1042
1336
|
}
|
|
1043
1337
|
},
|
|
1044
1338
|
{
|
|
1045
|
-
"id": "xiaohongshu_store.
|
|
1339
|
+
"id": "xiaohongshu_store.list_items",
|
|
1046
1340
|
"service": "xiaohongshu_store",
|
|
1047
|
-
"name": "
|
|
1048
|
-
"description": "List Xiaohongshu
|
|
1341
|
+
"name": "list_items",
|
|
1342
|
+
"description": "List Xiaohongshu items with basic fields using ID, time, stock, barcode, or availability filters.",
|
|
1049
1343
|
"operationType": "read",
|
|
1050
1344
|
"requiredScopes": [],
|
|
1051
1345
|
"providerPermissions": [],
|
|
1052
1346
|
"inputSchema": {
|
|
1053
1347
|
"type": "object",
|
|
1054
1348
|
"properties": {
|
|
1055
|
-
"
|
|
1056
|
-
"type": "
|
|
1057
|
-
"
|
|
1058
|
-
"
|
|
1059
|
-
"
|
|
1349
|
+
"id": {
|
|
1350
|
+
"type": "string",
|
|
1351
|
+
"minLength": 1,
|
|
1352
|
+
"description": "An exact Xiaohongshu item ID.",
|
|
1353
|
+
"pattern": "\\S"
|
|
1060
1354
|
},
|
|
1061
|
-
"
|
|
1355
|
+
"createTimeFrom": {
|
|
1062
1356
|
"type": "integer",
|
|
1063
1357
|
"minimum": 0,
|
|
1064
|
-
"description": "A Unix timestamp in
|
|
1358
|
+
"description": "A Unix timestamp in milliseconds."
|
|
1065
1359
|
},
|
|
1066
|
-
"
|
|
1360
|
+
"createTimeTo": {
|
|
1067
1361
|
"type": "integer",
|
|
1068
1362
|
"minimum": 0,
|
|
1069
|
-
"description": "A Unix timestamp in
|
|
1363
|
+
"description": "A Unix timestamp in milliseconds."
|
|
1070
1364
|
},
|
|
1071
|
-
"
|
|
1365
|
+
"updateTimeFrom": {
|
|
1072
1366
|
"type": "integer",
|
|
1073
1367
|
"minimum": 0,
|
|
1074
|
-
"
|
|
1075
|
-
"description": "The order type: 0 for all, 1 for in-stock, 2 for deposit presale, 4 for full-payment presale, or 5 for exchange reshipment."
|
|
1368
|
+
"description": "A Unix timestamp in milliseconds."
|
|
1076
1369
|
},
|
|
1077
|
-
"
|
|
1370
|
+
"updateTimeTo": {
|
|
1078
1371
|
"type": "integer",
|
|
1079
1372
|
"minimum": 0,
|
|
1080
|
-
"
|
|
1081
|
-
"description": "The order status: 0 for all, 1 unpaid, 2 paid processing, 3 in customs clearance, 4 pending shipment, 5 partially shipped, 6 shipped, 7 completed, 8 closed, 9 canceled, or 10 exchange requested."
|
|
1373
|
+
"description": "A Unix timestamp in milliseconds."
|
|
1082
1374
|
},
|
|
1083
|
-
"
|
|
1084
|
-
"type": "
|
|
1085
|
-
"
|
|
1086
|
-
|
|
1087
|
-
|
|
1375
|
+
"buyable": {
|
|
1376
|
+
"type": "boolean",
|
|
1377
|
+
"description": "Whether to include only items currently on sale."
|
|
1378
|
+
},
|
|
1379
|
+
"stockGte": {
|
|
1380
|
+
"type": "integer",
|
|
1381
|
+
"minimum": 0,
|
|
1382
|
+
"description": "The minimum stock quantity to include."
|
|
1383
|
+
},
|
|
1384
|
+
"stockLte": {
|
|
1385
|
+
"type": "integer",
|
|
1386
|
+
"minimum": 0,
|
|
1387
|
+
"description": "The maximum stock quantity to include."
|
|
1388
|
+
},
|
|
1389
|
+
"barcode": {
|
|
1390
|
+
"type": "string",
|
|
1391
|
+
"minLength": 1,
|
|
1392
|
+
"description": "An item barcode.",
|
|
1393
|
+
"pattern": "\\S"
|
|
1394
|
+
},
|
|
1395
|
+
"skucode": {
|
|
1396
|
+
"type": "string",
|
|
1397
|
+
"minLength": 1,
|
|
1398
|
+
"description": "A Xiaohongshu item code.",
|
|
1399
|
+
"pattern": "\\S"
|
|
1400
|
+
},
|
|
1401
|
+
"freeze": {
|
|
1402
|
+
"type": "boolean",
|
|
1403
|
+
"description": "Whether to include only frozen items."
|
|
1404
|
+
},
|
|
1405
|
+
"singlePackOnly": {
|
|
1406
|
+
"type": "boolean",
|
|
1407
|
+
"description": "Whether to return only single-item packs."
|
|
1408
|
+
},
|
|
1409
|
+
"lastId": {
|
|
1410
|
+
"type": "string",
|
|
1411
|
+
"minLength": 1,
|
|
1412
|
+
"description": "The cursor from the previous page when syncing the whole catalog.",
|
|
1413
|
+
"pattern": "\\S"
|
|
1414
|
+
},
|
|
1415
|
+
"isChannel": {
|
|
1416
|
+
"type": "boolean",
|
|
1417
|
+
"description": "Whether to include only channel items."
|
|
1418
|
+
},
|
|
1419
|
+
"pageNo": {
|
|
1420
|
+
"type": "integer",
|
|
1421
|
+
"minimum": 1,
|
|
1422
|
+
"description": "The one-based page number. Defaults to 1."
|
|
1423
|
+
},
|
|
1424
|
+
"pageSize": {
|
|
1425
|
+
"type": "integer",
|
|
1426
|
+
"minimum": 1,
|
|
1427
|
+
"maximum": 100,
|
|
1428
|
+
"description": "The number of records per page. Defaults to 50 and cannot exceed 100."
|
|
1429
|
+
}
|
|
1430
|
+
},
|
|
1431
|
+
"additionalProperties": false,
|
|
1432
|
+
"description": "The filters used to list Xiaohongshu items. Passing an item ID ignores the other filters."
|
|
1433
|
+
},
|
|
1434
|
+
"outputSchema": {
|
|
1435
|
+
"type": "object",
|
|
1436
|
+
"properties": {
|
|
1437
|
+
"items": {
|
|
1438
|
+
"type": "array",
|
|
1439
|
+
"items": {
|
|
1440
|
+
"type": "object",
|
|
1441
|
+
"properties": {},
|
|
1442
|
+
"additionalProperties": true,
|
|
1443
|
+
"description": "A Xiaohongshu item record. Available fields depend on the query form."
|
|
1444
|
+
},
|
|
1445
|
+
"description": "The Xiaohongshu item records."
|
|
1446
|
+
},
|
|
1447
|
+
"total": {
|
|
1448
|
+
"type": "integer",
|
|
1449
|
+
"minimum": 0,
|
|
1450
|
+
"description": "The total number of matching items reported by Xiaohongshu."
|
|
1451
|
+
},
|
|
1452
|
+
"pageNo": {
|
|
1453
|
+
"type": "integer",
|
|
1454
|
+
"minimum": 1,
|
|
1455
|
+
"description": "The requested one-based page number."
|
|
1456
|
+
},
|
|
1457
|
+
"pageSize": {
|
|
1458
|
+
"type": "integer",
|
|
1459
|
+
"minimum": 1,
|
|
1460
|
+
"description": "The requested number of items per page."
|
|
1461
|
+
}
|
|
1462
|
+
},
|
|
1463
|
+
"additionalProperties": false,
|
|
1464
|
+
"description": "A paginated Xiaohongshu item result."
|
|
1465
|
+
}
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
"id": "xiaohongshu_store.list_logistics_plans",
|
|
1469
|
+
"service": "xiaohongshu_store",
|
|
1470
|
+
"name": "list_logistics_plans",
|
|
1471
|
+
"description": "List the logistics plans of the Xiaohongshu shop. planInfoId is the logisticsPlanId used when creating SKUs.",
|
|
1472
|
+
"operationType": "read",
|
|
1473
|
+
"requiredScopes": [],
|
|
1474
|
+
"providerPermissions": [],
|
|
1475
|
+
"inputSchema": {
|
|
1476
|
+
"type": "object",
|
|
1477
|
+
"properties": {},
|
|
1478
|
+
"additionalProperties": false,
|
|
1479
|
+
"description": "No input is required to list logistics plans."
|
|
1480
|
+
},
|
|
1481
|
+
"outputSchema": {
|
|
1482
|
+
"type": "object",
|
|
1483
|
+
"properties": {
|
|
1484
|
+
"plans": {
|
|
1485
|
+
"type": "array",
|
|
1486
|
+
"items": {
|
|
1487
|
+
"type": "object",
|
|
1488
|
+
"properties": {},
|
|
1489
|
+
"additionalProperties": true,
|
|
1490
|
+
"description": "A Xiaohongshu logistics plan."
|
|
1491
|
+
},
|
|
1492
|
+
"description": "The logistics plan records."
|
|
1493
|
+
}
|
|
1494
|
+
},
|
|
1495
|
+
"additionalProperties": false,
|
|
1496
|
+
"description": "The Xiaohongshu logistics plan result."
|
|
1497
|
+
}
|
|
1498
|
+
},
|
|
1499
|
+
{
|
|
1500
|
+
"id": "xiaohongshu_store.list_materials",
|
|
1501
|
+
"service": "xiaohongshu_store",
|
|
1502
|
+
"name": "list_materials",
|
|
1503
|
+
"description": "List materials in the Xiaohongshu material center, for example to check an upload status.",
|
|
1504
|
+
"operationType": "read",
|
|
1505
|
+
"requiredScopes": [],
|
|
1506
|
+
"providerPermissions": [],
|
|
1507
|
+
"inputSchema": {
|
|
1508
|
+
"type": "object",
|
|
1509
|
+
"properties": {
|
|
1510
|
+
"materialId": {
|
|
1511
|
+
"type": "string",
|
|
1512
|
+
"minLength": 1,
|
|
1513
|
+
"description": "An exact material ID.",
|
|
1514
|
+
"pattern": "\\S"
|
|
1515
|
+
},
|
|
1516
|
+
"name": {
|
|
1517
|
+
"type": "string",
|
|
1518
|
+
"minLength": 1,
|
|
1519
|
+
"description": "A material file name filter.",
|
|
1520
|
+
"pattern": "\\S"
|
|
1521
|
+
},
|
|
1522
|
+
"type": {
|
|
1523
|
+
"type": "string",
|
|
1524
|
+
"enum": [
|
|
1525
|
+
"IMAGE",
|
|
1526
|
+
"VIDEO"
|
|
1527
|
+
],
|
|
1528
|
+
"description": "The material type."
|
|
1529
|
+
},
|
|
1530
|
+
"status": {
|
|
1531
|
+
"type": "integer",
|
|
1532
|
+
"minimum": 1,
|
|
1533
|
+
"maximum": 3,
|
|
1534
|
+
"description": "The upload status: 1 for success, 2 for uploading, or 3 for failed."
|
|
1535
|
+
},
|
|
1536
|
+
"createTimeFrom": {
|
|
1537
|
+
"type": "integer",
|
|
1538
|
+
"minimum": 0,
|
|
1539
|
+
"description": "A Unix timestamp in milliseconds."
|
|
1540
|
+
},
|
|
1541
|
+
"createTimeTo": {
|
|
1542
|
+
"type": "integer",
|
|
1543
|
+
"minimum": 0,
|
|
1544
|
+
"description": "A Unix timestamp in milliseconds."
|
|
1545
|
+
},
|
|
1546
|
+
"ascByCreateTime": {
|
|
1547
|
+
"type": "boolean",
|
|
1548
|
+
"description": "Whether to sort by creation time ascending instead of descending."
|
|
1549
|
+
},
|
|
1550
|
+
"pageNo": {
|
|
1551
|
+
"type": "integer",
|
|
1552
|
+
"minimum": 1,
|
|
1553
|
+
"description": "The one-based page number. Defaults to 1."
|
|
1554
|
+
},
|
|
1555
|
+
"pageSize": {
|
|
1556
|
+
"type": "integer",
|
|
1557
|
+
"minimum": 1,
|
|
1558
|
+
"maximum": 500,
|
|
1559
|
+
"description": "The number of materials per page. Defaults to 50 and cannot exceed 500."
|
|
1560
|
+
}
|
|
1561
|
+
},
|
|
1562
|
+
"additionalProperties": false,
|
|
1563
|
+
"description": "The filters used to list Xiaohongshu materials."
|
|
1564
|
+
},
|
|
1565
|
+
"outputSchema": {
|
|
1566
|
+
"type": "object",
|
|
1567
|
+
"properties": {
|
|
1568
|
+
"materials": {
|
|
1569
|
+
"type": "array",
|
|
1570
|
+
"items": {
|
|
1571
|
+
"type": "object",
|
|
1572
|
+
"properties": {},
|
|
1573
|
+
"additionalProperties": true,
|
|
1574
|
+
"description": "A Xiaohongshu material record."
|
|
1575
|
+
},
|
|
1576
|
+
"description": "The material records."
|
|
1577
|
+
}
|
|
1578
|
+
},
|
|
1579
|
+
"additionalProperties": false,
|
|
1580
|
+
"description": "The Xiaohongshu material list."
|
|
1581
|
+
}
|
|
1582
|
+
},
|
|
1583
|
+
{
|
|
1584
|
+
"id": "xiaohongshu_store.list_orders",
|
|
1585
|
+
"service": "xiaohongshu_store",
|
|
1586
|
+
"name": "list_orders",
|
|
1587
|
+
"description": "List Xiaohongshu orders by creation or update time. startTime and endTime are Unix timestamps in seconds, while the returned order times are in milliseconds. Creation-time windows are limited to 24 hours and update-time windows to 30 minutes.",
|
|
1588
|
+
"operationType": "read",
|
|
1589
|
+
"requiredScopes": [],
|
|
1590
|
+
"providerPermissions": [],
|
|
1591
|
+
"inputSchema": {
|
|
1592
|
+
"type": "object",
|
|
1593
|
+
"properties": {
|
|
1594
|
+
"timeType": {
|
|
1595
|
+
"type": "integer",
|
|
1596
|
+
"minimum": 1,
|
|
1597
|
+
"maximum": 2,
|
|
1598
|
+
"description": "The time field to filter on: 1 for creation time or 2 for update time."
|
|
1599
|
+
},
|
|
1600
|
+
"startTime": {
|
|
1601
|
+
"type": "integer",
|
|
1602
|
+
"minimum": 0,
|
|
1603
|
+
"description": "A Unix timestamp in seconds."
|
|
1604
|
+
},
|
|
1605
|
+
"endTime": {
|
|
1606
|
+
"type": "integer",
|
|
1607
|
+
"minimum": 0,
|
|
1608
|
+
"description": "A Unix timestamp in seconds."
|
|
1609
|
+
},
|
|
1610
|
+
"orderType": {
|
|
1611
|
+
"type": "integer",
|
|
1612
|
+
"minimum": 0,
|
|
1613
|
+
"maximum": 5,
|
|
1614
|
+
"description": "The order type: 0 for all, 1 for in-stock, 2 for deposit presale, 4 for full-payment presale, or 5 for exchange reshipment."
|
|
1615
|
+
},
|
|
1616
|
+
"orderStatus": {
|
|
1617
|
+
"type": "integer",
|
|
1618
|
+
"minimum": 0,
|
|
1619
|
+
"maximum": 10,
|
|
1620
|
+
"description": "The order status: 0 for all, 1 unpaid, 2 paid processing, 3 in customs clearance, 4 pending shipment, 5 partially shipped, 6 shipped, 7 completed, 8 closed, 9 canceled, or 10 exchange requested."
|
|
1621
|
+
},
|
|
1622
|
+
"pageNo": {
|
|
1623
|
+
"type": "integer",
|
|
1624
|
+
"minimum": 1,
|
|
1625
|
+
"maximum": 100,
|
|
1626
|
+
"description": "The one-based page number. Defaults to 1 and cannot exceed 100."
|
|
1088
1627
|
},
|
|
1089
1628
|
"pageSize": {
|
|
1090
1629
|
"type": "integer",
|
|
@@ -1373,6 +1912,65 @@
|
|
|
1373
1912
|
"description": "The payment record resend result."
|
|
1374
1913
|
}
|
|
1375
1914
|
},
|
|
1915
|
+
{
|
|
1916
|
+
"id": "xiaohongshu_store.search_brands",
|
|
1917
|
+
"service": "xiaohongshu_store",
|
|
1918
|
+
"name": "search_brands",
|
|
1919
|
+
"description": "Search the brands available for a leaf Xiaohongshu category.",
|
|
1920
|
+
"operationType": "read",
|
|
1921
|
+
"requiredScopes": [],
|
|
1922
|
+
"providerPermissions": [],
|
|
1923
|
+
"inputSchema": {
|
|
1924
|
+
"type": "object",
|
|
1925
|
+
"properties": {
|
|
1926
|
+
"categoryId": {
|
|
1927
|
+
"type": "string",
|
|
1928
|
+
"minLength": 1,
|
|
1929
|
+
"description": "The leaf category ID, from list_categories.",
|
|
1930
|
+
"pattern": "\\S"
|
|
1931
|
+
},
|
|
1932
|
+
"keyword": {
|
|
1933
|
+
"type": "string",
|
|
1934
|
+
"minLength": 1,
|
|
1935
|
+
"description": "A brand name keyword.",
|
|
1936
|
+
"pattern": "\\S"
|
|
1937
|
+
},
|
|
1938
|
+
"pageNo": {
|
|
1939
|
+
"type": "integer",
|
|
1940
|
+
"minimum": 1,
|
|
1941
|
+
"description": "The one-based page number. Defaults to 1."
|
|
1942
|
+
},
|
|
1943
|
+
"pageSize": {
|
|
1944
|
+
"type": "integer",
|
|
1945
|
+
"minimum": 1,
|
|
1946
|
+
"maximum": 20,
|
|
1947
|
+
"description": "The number of brands per page. Defaults to 20 and cannot exceed 20."
|
|
1948
|
+
}
|
|
1949
|
+
},
|
|
1950
|
+
"additionalProperties": false,
|
|
1951
|
+
"required": [
|
|
1952
|
+
"categoryId"
|
|
1953
|
+
],
|
|
1954
|
+
"description": "The category and keyword used to search Xiaohongshu brands."
|
|
1955
|
+
},
|
|
1956
|
+
"outputSchema": {
|
|
1957
|
+
"type": "object",
|
|
1958
|
+
"properties": {
|
|
1959
|
+
"brands": {
|
|
1960
|
+
"type": "array",
|
|
1961
|
+
"items": {
|
|
1962
|
+
"type": "object",
|
|
1963
|
+
"properties": {},
|
|
1964
|
+
"additionalProperties": true,
|
|
1965
|
+
"description": "A Xiaohongshu brand with id, name, enName, and image."
|
|
1966
|
+
},
|
|
1967
|
+
"description": "The matching brands."
|
|
1968
|
+
}
|
|
1969
|
+
},
|
|
1970
|
+
"additionalProperties": false,
|
|
1971
|
+
"description": "The Xiaohongshu brand search result."
|
|
1972
|
+
}
|
|
1973
|
+
},
|
|
1376
1974
|
{
|
|
1377
1975
|
"id": "xiaohongshu_store.search_items",
|
|
1378
1976
|
"service": "xiaohongshu_store",
|
|
@@ -1589,6 +2187,324 @@
|
|
|
1589
2187
|
"additionalProperties": false,
|
|
1590
2188
|
"description": "The stock sync result."
|
|
1591
2189
|
}
|
|
2190
|
+
},
|
|
2191
|
+
{
|
|
2192
|
+
"id": "xiaohongshu_store.update_item",
|
|
2193
|
+
"service": "xiaohongshu_store",
|
|
2194
|
+
"name": "update_item",
|
|
2195
|
+
"description": "Update a Xiaohongshu item and its SKUs: edit item fields, change existing SKUs through updateSkuList, add new ones through createSkuList, and remove SKUs through deleteSkuIdList.",
|
|
2196
|
+
"operationType": "write",
|
|
2197
|
+
"requiredScopes": [],
|
|
2198
|
+
"providerPermissions": [],
|
|
2199
|
+
"inputSchema": {
|
|
2200
|
+
"type": "object",
|
|
2201
|
+
"properties": {
|
|
2202
|
+
"itemId": {
|
|
2203
|
+
"type": "string",
|
|
2204
|
+
"minLength": 1,
|
|
2205
|
+
"description": "The Xiaohongshu item ID.",
|
|
2206
|
+
"pattern": "\\S"
|
|
2207
|
+
},
|
|
2208
|
+
"name": {
|
|
2209
|
+
"type": "string",
|
|
2210
|
+
"minLength": 1,
|
|
2211
|
+
"description": "The item title.",
|
|
2212
|
+
"pattern": "\\S"
|
|
2213
|
+
},
|
|
2214
|
+
"categoryId": {
|
|
2215
|
+
"type": "string",
|
|
2216
|
+
"minLength": 1,
|
|
2217
|
+
"description": "The leaf category ID, from list_categories.",
|
|
2218
|
+
"pattern": "\\S"
|
|
2219
|
+
},
|
|
2220
|
+
"shippingTemplateId": {
|
|
2221
|
+
"type": "string",
|
|
2222
|
+
"minLength": 1,
|
|
2223
|
+
"description": "The carriage template ID, from list_carriage_templates.",
|
|
2224
|
+
"pattern": "\\S"
|
|
2225
|
+
},
|
|
2226
|
+
"shippingGrossWeight": {
|
|
2227
|
+
"type": "integer",
|
|
2228
|
+
"minimum": 0,
|
|
2229
|
+
"description": "The item shipping weight in grams. Required to be positive when the carriage template charges by weight."
|
|
2230
|
+
},
|
|
2231
|
+
"images": {
|
|
2232
|
+
"type": "array",
|
|
2233
|
+
"items": {
|
|
2234
|
+
"type": "object",
|
|
2235
|
+
"properties": {
|
|
2236
|
+
"link": {
|
|
2237
|
+
"type": "string",
|
|
2238
|
+
"minLength": 1,
|
|
2239
|
+
"description": "The image URL returned by upload_material.",
|
|
2240
|
+
"pattern": "\\S"
|
|
2241
|
+
}
|
|
2242
|
+
},
|
|
2243
|
+
"additionalProperties": true,
|
|
2244
|
+
"description": "One image."
|
|
2245
|
+
},
|
|
2246
|
+
"description": "The main images. Upload files with upload_material first and pass each returned url as link.",
|
|
2247
|
+
"minItems": 1
|
|
2248
|
+
},
|
|
2249
|
+
"updateSkuList": {
|
|
2250
|
+
"type": "array",
|
|
2251
|
+
"items": {
|
|
2252
|
+
"type": "object",
|
|
2253
|
+
"properties": {
|
|
2254
|
+
"skuId": {
|
|
2255
|
+
"type": "string",
|
|
2256
|
+
"minLength": 1,
|
|
2257
|
+
"description": "The SKU ID, from list_item_skus or get_item.",
|
|
2258
|
+
"pattern": "\\S"
|
|
2259
|
+
},
|
|
2260
|
+
"price": {
|
|
2261
|
+
"type": "integer",
|
|
2262
|
+
"minimum": 0,
|
|
2263
|
+
"description": "The SKU price in fen."
|
|
2264
|
+
},
|
|
2265
|
+
"stock": {
|
|
2266
|
+
"type": "integer",
|
|
2267
|
+
"minimum": 0,
|
|
2268
|
+
"description": "The SKU stock."
|
|
2269
|
+
},
|
|
2270
|
+
"logisticsPlanId": {
|
|
2271
|
+
"type": "string",
|
|
2272
|
+
"minLength": 1,
|
|
2273
|
+
"description": "The logistics plan ID, from list_logistics_plans.",
|
|
2274
|
+
"pattern": "\\S"
|
|
2275
|
+
},
|
|
2276
|
+
"deliveryTime": {
|
|
2277
|
+
"type": "object",
|
|
2278
|
+
"properties": {
|
|
2279
|
+
"type": {
|
|
2280
|
+
"type": "integer",
|
|
2281
|
+
"minimum": 3,
|
|
2282
|
+
"maximum": 5,
|
|
2283
|
+
"description": "The delivery time type: 3 for same-day, 4 for relative hours, or 5 for an absolute time."
|
|
2284
|
+
},
|
|
2285
|
+
"time": {
|
|
2286
|
+
"type": "string",
|
|
2287
|
+
"minLength": 1,
|
|
2288
|
+
"description": "The delivery time value for the chosen type.",
|
|
2289
|
+
"pattern": "\\S"
|
|
2290
|
+
}
|
|
2291
|
+
},
|
|
2292
|
+
"additionalProperties": true,
|
|
2293
|
+
"description": "The SKU delivery time."
|
|
2294
|
+
}
|
|
2295
|
+
},
|
|
2296
|
+
"additionalProperties": true,
|
|
2297
|
+
"description": "One SKU to update. Other upstream SKU fields such as originalPrice, variants, barcode, erpCode, and specImage pass through unchanged."
|
|
2298
|
+
},
|
|
2299
|
+
"description": "The existing SKUs to update. Each needs skuId, price (in fen), stock, logisticsPlanId (from list_logistics_plans), and deliveryTime ({ type, time }).",
|
|
2300
|
+
"minItems": 1
|
|
2301
|
+
},
|
|
2302
|
+
"createSkuList": {
|
|
2303
|
+
"type": "array",
|
|
2304
|
+
"items": {
|
|
2305
|
+
"type": "object",
|
|
2306
|
+
"properties": {
|
|
2307
|
+
"price": {
|
|
2308
|
+
"type": "integer",
|
|
2309
|
+
"minimum": 0,
|
|
2310
|
+
"description": "The SKU price in fen."
|
|
2311
|
+
},
|
|
2312
|
+
"stock": {
|
|
2313
|
+
"type": "integer",
|
|
2314
|
+
"minimum": 0,
|
|
2315
|
+
"description": "The SKU stock."
|
|
2316
|
+
},
|
|
2317
|
+
"logisticsPlanId": {
|
|
2318
|
+
"type": "string",
|
|
2319
|
+
"minLength": 1,
|
|
2320
|
+
"description": "The logistics plan ID, from list_logistics_plans.",
|
|
2321
|
+
"pattern": "\\S"
|
|
2322
|
+
},
|
|
2323
|
+
"deliveryTime": {
|
|
2324
|
+
"type": "object",
|
|
2325
|
+
"properties": {
|
|
2326
|
+
"type": {
|
|
2327
|
+
"type": "integer",
|
|
2328
|
+
"minimum": 3,
|
|
2329
|
+
"maximum": 5,
|
|
2330
|
+
"description": "The delivery time type: 3 for same-day, 4 for relative hours, or 5 for an absolute time."
|
|
2331
|
+
},
|
|
2332
|
+
"time": {
|
|
2333
|
+
"type": "string",
|
|
2334
|
+
"minLength": 1,
|
|
2335
|
+
"description": "The delivery time value for the chosen type.",
|
|
2336
|
+
"pattern": "\\S"
|
|
2337
|
+
}
|
|
2338
|
+
},
|
|
2339
|
+
"additionalProperties": true,
|
|
2340
|
+
"description": "The SKU delivery time."
|
|
2341
|
+
}
|
|
2342
|
+
},
|
|
2343
|
+
"additionalProperties": true,
|
|
2344
|
+
"description": "One SKU to create. Other upstream SKU fields such as originalPrice, variants, barcode, erpCode, and specImage pass through unchanged."
|
|
2345
|
+
},
|
|
2346
|
+
"description": "The new SKUs to add to the item, in the same shape as updateSkuList without skuId."
|
|
2347
|
+
},
|
|
2348
|
+
"deleteSkuIdList": {
|
|
2349
|
+
"type": "array",
|
|
2350
|
+
"items": {
|
|
2351
|
+
"type": "string",
|
|
2352
|
+
"minLength": 1,
|
|
2353
|
+
"description": "A SKU ID.",
|
|
2354
|
+
"pattern": "\\S"
|
|
2355
|
+
},
|
|
2356
|
+
"description": "The SKU IDs to remove from the item."
|
|
2357
|
+
},
|
|
2358
|
+
"brandId": {
|
|
2359
|
+
"type": "string",
|
|
2360
|
+
"minLength": 1,
|
|
2361
|
+
"description": "The brand ID, from search_brands.",
|
|
2362
|
+
"pattern": "\\S"
|
|
2363
|
+
},
|
|
2364
|
+
"attributes": {
|
|
2365
|
+
"type": "array",
|
|
2366
|
+
"items": {
|
|
2367
|
+
"type": "object",
|
|
2368
|
+
"properties": {},
|
|
2369
|
+
"additionalProperties": true,
|
|
2370
|
+
"description": "One attribute assignment."
|
|
2371
|
+
},
|
|
2372
|
+
"description": "The category attributes, from get_category_attributes: { propertyId, name, value, valueId, valueList }."
|
|
2373
|
+
},
|
|
2374
|
+
"variantIds": {
|
|
2375
|
+
"type": "array",
|
|
2376
|
+
"items": {
|
|
2377
|
+
"type": "string",
|
|
2378
|
+
"minLength": 1,
|
|
2379
|
+
"description": "A spec type ID.",
|
|
2380
|
+
"pattern": "\\S"
|
|
2381
|
+
},
|
|
2382
|
+
"description": "The spec type IDs of the item."
|
|
2383
|
+
},
|
|
2384
|
+
"articleNo": {
|
|
2385
|
+
"type": "string",
|
|
2386
|
+
"minLength": 1,
|
|
2387
|
+
"description": "The merchant article number.",
|
|
2388
|
+
"pattern": "\\S"
|
|
2389
|
+
},
|
|
2390
|
+
"description": {
|
|
2391
|
+
"type": "string",
|
|
2392
|
+
"minLength": 1,
|
|
2393
|
+
"description": "The item description, up to 500 characters.",
|
|
2394
|
+
"pattern": "\\S"
|
|
2395
|
+
},
|
|
2396
|
+
"itemShortTitle": {
|
|
2397
|
+
"type": "string",
|
|
2398
|
+
"minLength": 1,
|
|
2399
|
+
"description": "The item short title.",
|
|
2400
|
+
"pattern": "\\S"
|
|
2401
|
+
},
|
|
2402
|
+
"deliveryMode": {
|
|
2403
|
+
"type": "integer",
|
|
2404
|
+
"minimum": 0,
|
|
2405
|
+
"maximum": 1,
|
|
2406
|
+
"description": "The delivery mode: 0 for normal delivery or 1 for no-logistics delivery."
|
|
2407
|
+
},
|
|
2408
|
+
"freeReturn": {
|
|
2409
|
+
"type": "integer",
|
|
2410
|
+
"minimum": 1,
|
|
2411
|
+
"maximum": 2,
|
|
2412
|
+
"description": "The free-return policy: 1 or 2."
|
|
2413
|
+
},
|
|
2414
|
+
"videos": {
|
|
2415
|
+
"type": "array",
|
|
2416
|
+
"items": {
|
|
2417
|
+
"type": "object",
|
|
2418
|
+
"properties": {},
|
|
2419
|
+
"additionalProperties": true,
|
|
2420
|
+
"description": "One video: { link }."
|
|
2421
|
+
},
|
|
2422
|
+
"description": "The main videos, in the same { link } shape as images."
|
|
2423
|
+
},
|
|
2424
|
+
"imageDescriptions": {
|
|
2425
|
+
"type": "array",
|
|
2426
|
+
"items": {
|
|
2427
|
+
"type": "object",
|
|
2428
|
+
"properties": {},
|
|
2429
|
+
"additionalProperties": true,
|
|
2430
|
+
"description": "One description image: { link }."
|
|
2431
|
+
},
|
|
2432
|
+
"description": "The description images, in the same { link } shape as images."
|
|
2433
|
+
}
|
|
2434
|
+
},
|
|
2435
|
+
"additionalProperties": false,
|
|
2436
|
+
"required": [
|
|
2437
|
+
"itemId",
|
|
2438
|
+
"name",
|
|
2439
|
+
"categoryId",
|
|
2440
|
+
"shippingTemplateId",
|
|
2441
|
+
"images",
|
|
2442
|
+
"updateSkuList"
|
|
2443
|
+
],
|
|
2444
|
+
"description": "The item and SKU data used to update a Xiaohongshu product."
|
|
2445
|
+
},
|
|
2446
|
+
"outputSchema": {
|
|
2447
|
+
"type": "object",
|
|
2448
|
+
"properties": {
|
|
2449
|
+
"item": {
|
|
2450
|
+
"type": "object",
|
|
2451
|
+
"properties": {},
|
|
2452
|
+
"additionalProperties": true,
|
|
2453
|
+
"description": "A Xiaohongshu item record. Available fields depend on the query form."
|
|
2454
|
+
}
|
|
2455
|
+
},
|
|
2456
|
+
"additionalProperties": false,
|
|
2457
|
+
"description": "The updated Xiaohongshu item."
|
|
2458
|
+
}
|
|
2459
|
+
},
|
|
2460
|
+
{
|
|
2461
|
+
"id": "xiaohongshu_store.upload_material",
|
|
2462
|
+
"service": "xiaohongshu_store",
|
|
2463
|
+
"name": "upload_material",
|
|
2464
|
+
"description": "Upload an image or video to the Xiaohongshu material center and get its url for use in item images.",
|
|
2465
|
+
"operationType": "write",
|
|
2466
|
+
"requiredScopes": [],
|
|
2467
|
+
"providerPermissions": [],
|
|
2468
|
+
"inputSchema": {
|
|
2469
|
+
"type": "object",
|
|
2470
|
+
"properties": {
|
|
2471
|
+
"name": {
|
|
2472
|
+
"type": "string",
|
|
2473
|
+
"minLength": 1,
|
|
2474
|
+
"description": "The material file name.",
|
|
2475
|
+
"pattern": "\\S"
|
|
2476
|
+
},
|
|
2477
|
+
"type": {
|
|
2478
|
+
"type": "string",
|
|
2479
|
+
"enum": [
|
|
2480
|
+
"IMAGE",
|
|
2481
|
+
"VIDEO"
|
|
2482
|
+
],
|
|
2483
|
+
"description": "The material type."
|
|
2484
|
+
},
|
|
2485
|
+
"contentBase64": {
|
|
2486
|
+
"type": "string",
|
|
2487
|
+
"minLength": 1,
|
|
2488
|
+
"description": "The file content as a base64 string.",
|
|
2489
|
+
"pattern": "\\S"
|
|
2490
|
+
}
|
|
2491
|
+
},
|
|
2492
|
+
"additionalProperties": false,
|
|
2493
|
+
"description": "The material to upload."
|
|
2494
|
+
},
|
|
2495
|
+
"outputSchema": {
|
|
2496
|
+
"type": "object",
|
|
2497
|
+
"properties": {
|
|
2498
|
+
"material": {
|
|
2499
|
+
"type": "object",
|
|
2500
|
+
"properties": {},
|
|
2501
|
+
"additionalProperties": true,
|
|
2502
|
+
"description": "The material record with materialId, url, and upload status."
|
|
2503
|
+
}
|
|
2504
|
+
},
|
|
2505
|
+
"additionalProperties": false,
|
|
2506
|
+
"description": "The uploaded material."
|
|
2507
|
+
}
|
|
1592
2508
|
}
|
|
1593
2509
|
]
|
|
1594
2510
|
}
|