@optima-chat/tiktok-cli 0.7.0 → 0.7.1

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 (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -378,10 +378,10 @@ var COMMANDS = [
378
378
  },
379
379
  {
380
380
  name: "products list",
381
- summary: "\u5546\u54C1\u5217\u8868",
381
+ summary: "\u5546\u54C1\u5217\u8868\uFF08--status ACTIVATE \u53EA\u53D6\u5728\u552E\uFF1B\u4E0D\u4F20\u8FD4\u6240\u6709\u542B DELETED\uFF0C\u5199\u64CD\u4F5C\u524D\u52A1\u5FC5\u7B5B ACTIVATE\uFF09",
382
382
  run: ({ shop, args: args2 }) => proxy("POST", shop, "/product/202309/products/search", {
383
383
  query: { page_size: args2["page-size"] ?? "20" },
384
- body: {}
384
+ body: args2.status ? { status: args2.status } : {}
385
385
  })
386
386
  },
387
387
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optima-chat/tiktok-cli",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "TikTok Shop CLI for Optima agents — 经 tiktok-backend 操作店铺",
5
5
  "type": "module",
6
6
  "bin": {