@optima-chat/commerce-cli 1.7.3 → 1.7.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/.claude/settings.local.json +70 -0
- package/.claude/skills/commerce-i18n/SKILL.md +0 -0
- package/.claude/skills/commerce-inventory/SKILL.md +0 -0
- package/.claude/skills/commerce-order/SKILL.md +0 -0
- package/.claude/skills/commerce-product/SKILL.md +0 -0
- package/.claude/skills/commerce-storefront/SKILL.md +0 -0
- package/LICENSE +0 -0
- package/README.md +7 -7
- package/dist/api/rest/auth.d.ts +0 -0
- package/dist/api/rest/auth.d.ts.map +0 -0
- package/dist/api/rest/auth.js +0 -0
- package/dist/api/rest/auth.js.map +0 -0
- package/dist/api/rest/base.d.ts +0 -0
- package/dist/api/rest/base.d.ts.map +0 -0
- package/dist/api/rest/base.js +0 -0
- package/dist/api/rest/base.js.map +0 -0
- package/dist/api/rest/commerce.d.ts +0 -0
- package/dist/api/rest/commerce.d.ts.map +0 -0
- package/dist/api/rest/commerce.js +0 -0
- package/dist/api/rest/commerce.js.map +0 -0
- package/dist/commands/address/create.d.ts +3 -0
- package/dist/commands/address/create.d.ts.map +1 -0
- package/dist/commands/address/create.js +122 -0
- package/dist/commands/address/create.js.map +1 -0
- package/dist/commands/address/delete.d.ts +3 -0
- package/dist/commands/address/delete.d.ts.map +1 -0
- package/dist/commands/address/delete.js +50 -0
- package/dist/commands/address/delete.js.map +1 -0
- package/dist/commands/address/get.d.ts +3 -0
- package/dist/commands/address/get.d.ts.map +1 -0
- package/dist/commands/address/get.js +50 -0
- package/dist/commands/address/get.js.map +1 -0
- package/dist/commands/address/index.d.ts +3 -0
- package/dist/commands/address/index.d.ts.map +1 -0
- package/dist/commands/address/index.js +16 -0
- package/dist/commands/address/index.js.map +1 -0
- package/dist/commands/address/list.d.ts +3 -0
- package/dist/commands/address/list.d.ts.map +1 -0
- package/dist/commands/address/list.js +34 -0
- package/dist/commands/address/list.js.map +1 -0
- package/dist/commands/address/set-default.d.ts +3 -0
- package/dist/commands/address/set-default.d.ts.map +1 -0
- package/dist/commands/address/set-default.js +34 -0
- package/dist/commands/address/set-default.js.map +1 -0
- package/dist/commands/address/update.d.ts +3 -0
- package/dist/commands/address/update.d.ts.map +1 -0
- package/dist/commands/address/update.js +120 -0
- package/dist/commands/address/update.js.map +1 -0
- package/dist/commands/auth/index.d.ts +0 -0
- package/dist/commands/auth/index.d.ts.map +0 -0
- package/dist/commands/auth/index.js +0 -0
- package/dist/commands/auth/index.js.map +0 -0
- package/dist/commands/auth/login.d.ts +0 -0
- package/dist/commands/auth/login.d.ts.map +0 -0
- package/dist/commands/auth/login.js +1 -1
- package/dist/commands/auth/login.js.map +1 -1
- package/dist/commands/auth/logout.d.ts +0 -0
- package/dist/commands/auth/logout.d.ts.map +0 -0
- package/dist/commands/auth/logout.js +0 -0
- package/dist/commands/auth/logout.js.map +0 -0
- package/dist/commands/auth/switch.d.ts +3 -0
- package/dist/commands/auth/switch.d.ts.map +1 -0
- package/dist/commands/auth/switch.js +111 -0
- package/dist/commands/auth/switch.js.map +1 -0
- package/dist/commands/auth/test-refresh.d.ts +3 -0
- package/dist/commands/auth/test-refresh.d.ts.map +1 -0
- package/dist/commands/auth/test-refresh.js +43 -0
- package/dist/commands/auth/test-refresh.js.map +1 -0
- package/dist/commands/auth/whoami.d.ts +0 -0
- package/dist/commands/auth/whoami.d.ts.map +0 -0
- package/dist/commands/auth/whoami.js +0 -0
- package/dist/commands/auth/whoami.js.map +0 -0
- package/dist/commands/category/create.d.ts +3 -0
- package/dist/commands/category/create.d.ts.map +1 -0
- package/dist/commands/category/create.js +142 -0
- package/dist/commands/category/create.js.map +1 -0
- package/dist/commands/category/delete.d.ts +3 -0
- package/dist/commands/category/delete.d.ts.map +1 -0
- package/dist/commands/category/delete.js +98 -0
- package/dist/commands/category/delete.js.map +1 -0
- package/dist/commands/category/get.d.ts +3 -0
- package/dist/commands/category/get.d.ts.map +1 -0
- package/dist/commands/category/get.js +74 -0
- package/dist/commands/category/get.js.map +1 -0
- package/dist/commands/category/index.d.ts +3 -0
- package/dist/commands/category/index.d.ts.map +1 -0
- package/dist/commands/category/index.js +14 -0
- package/dist/commands/category/index.js.map +1 -0
- package/dist/commands/category/list.d.ts +3 -0
- package/dist/commands/category/list.d.ts.map +1 -0
- package/dist/commands/category/list.js +77 -0
- package/dist/commands/category/list.js.map +1 -0
- package/dist/commands/category/update.d.ts +3 -0
- package/dist/commands/category/update.d.ts.map +1 -0
- package/dist/commands/category/update.js +104 -0
- package/dist/commands/category/update.js.map +1 -0
- package/dist/commands/cleanup.d.ts +3 -0
- package/dist/commands/cleanup.d.ts.map +1 -0
- package/dist/commands/cleanup.js +100 -0
- package/dist/commands/cleanup.js.map +1 -0
- package/dist/commands/collection/add-products.d.ts +0 -0
- package/dist/commands/collection/add-products.d.ts.map +0 -0
- package/dist/commands/collection/add-products.js +0 -0
- package/dist/commands/collection/add-products.js.map +0 -0
- package/dist/commands/collection/create.d.ts +0 -0
- package/dist/commands/collection/create.d.ts.map +0 -0
- package/dist/commands/collection/create.js +0 -0
- package/dist/commands/collection/create.js.map +0 -0
- package/dist/commands/collection/delete.d.ts +0 -0
- package/dist/commands/collection/delete.d.ts.map +0 -0
- package/dist/commands/collection/delete.js +0 -0
- package/dist/commands/collection/delete.js.map +0 -0
- package/dist/commands/collection/get.d.ts +0 -0
- package/dist/commands/collection/get.d.ts.map +0 -0
- package/dist/commands/collection/get.js +0 -0
- package/dist/commands/collection/get.js.map +0 -0
- package/dist/commands/collection/index.d.ts +0 -0
- package/dist/commands/collection/index.d.ts.map +0 -0
- package/dist/commands/collection/index.js +0 -0
- package/dist/commands/collection/index.js.map +0 -0
- package/dist/commands/collection/list-products.d.ts +0 -0
- package/dist/commands/collection/list-products.d.ts.map +0 -0
- package/dist/commands/collection/list-products.js +0 -0
- package/dist/commands/collection/list-products.js.map +0 -0
- package/dist/commands/collection/list.d.ts +0 -0
- package/dist/commands/collection/list.d.ts.map +0 -0
- package/dist/commands/collection/list.js +0 -0
- package/dist/commands/collection/list.js.map +0 -0
- package/dist/commands/collection/remove-products.d.ts +0 -0
- package/dist/commands/collection/remove-products.d.ts.map +0 -0
- package/dist/commands/collection/remove-products.js +0 -0
- package/dist/commands/collection/remove-products.js.map +0 -0
- package/dist/commands/collection/update.d.ts +0 -0
- package/dist/commands/collection/update.d.ts.map +0 -0
- package/dist/commands/collection/update.js +0 -0
- package/dist/commands/collection/update.js.map +0 -0
- package/dist/commands/conversation/close.d.ts +0 -0
- package/dist/commands/conversation/close.d.ts.map +0 -0
- package/dist/commands/conversation/close.js +0 -0
- package/dist/commands/conversation/close.js.map +0 -0
- package/dist/commands/conversation/create.d.ts +0 -0
- package/dist/commands/conversation/create.d.ts.map +0 -0
- package/dist/commands/conversation/create.js +0 -0
- package/dist/commands/conversation/create.js.map +0 -0
- package/dist/commands/conversation/get.d.ts +0 -0
- package/dist/commands/conversation/get.d.ts.map +0 -0
- package/dist/commands/conversation/get.js +0 -0
- package/dist/commands/conversation/get.js.map +0 -0
- package/dist/commands/conversation/index.d.ts +0 -0
- package/dist/commands/conversation/index.d.ts.map +0 -0
- package/dist/commands/conversation/index.js +0 -0
- package/dist/commands/conversation/index.js.map +0 -0
- package/dist/commands/conversation/list.d.ts +0 -0
- package/dist/commands/conversation/list.d.ts.map +0 -0
- package/dist/commands/conversation/list.js +0 -0
- package/dist/commands/conversation/list.js.map +0 -0
- package/dist/commands/conversation/mark-read.d.ts +0 -0
- package/dist/commands/conversation/mark-read.d.ts.map +0 -0
- package/dist/commands/conversation/mark-read.js +0 -0
- package/dist/commands/conversation/mark-read.js.map +0 -0
- package/dist/commands/conversation/messages.d.ts +0 -0
- package/dist/commands/conversation/messages.d.ts.map +0 -0
- package/dist/commands/conversation/messages.js +0 -0
- package/dist/commands/conversation/messages.js.map +0 -0
- package/dist/commands/conversation/send.d.ts +0 -0
- package/dist/commands/conversation/send.d.ts.map +0 -0
- package/dist/commands/conversation/send.js +0 -0
- package/dist/commands/conversation/send.js.map +0 -0
- package/dist/commands/homepage/create.d.ts +0 -0
- package/dist/commands/homepage/create.d.ts.map +0 -0
- package/dist/commands/homepage/create.js +0 -0
- package/dist/commands/homepage/create.js.map +0 -0
- package/dist/commands/homepage/delete.d.ts +0 -0
- package/dist/commands/homepage/delete.d.ts.map +0 -0
- package/dist/commands/homepage/delete.js +0 -0
- package/dist/commands/homepage/delete.js.map +0 -0
- package/dist/commands/homepage/get.d.ts +0 -0
- package/dist/commands/homepage/get.d.ts.map +0 -0
- package/dist/commands/homepage/get.js +0 -0
- package/dist/commands/homepage/get.js.map +0 -0
- package/dist/commands/homepage/index.d.ts +0 -0
- package/dist/commands/homepage/index.d.ts.map +0 -0
- package/dist/commands/homepage/index.js +0 -0
- package/dist/commands/homepage/index.js.map +0 -0
- package/dist/commands/homepage/list.d.ts +0 -0
- package/dist/commands/homepage/list.d.ts.map +0 -0
- package/dist/commands/homepage/list.js +0 -0
- package/dist/commands/homepage/list.js.map +0 -0
- package/dist/commands/homepage/patch-settings.d.ts +0 -0
- package/dist/commands/homepage/patch-settings.d.ts.map +0 -0
- package/dist/commands/homepage/patch-settings.js +0 -0
- package/dist/commands/homepage/patch-settings.js.map +0 -0
- package/dist/commands/homepage/reorder.d.ts +0 -0
- package/dist/commands/homepage/reorder.d.ts.map +0 -0
- package/dist/commands/homepage/reorder.js +0 -0
- package/dist/commands/homepage/reorder.js.map +0 -0
- package/dist/commands/homepage/update-collections.d.ts +0 -0
- package/dist/commands/homepage/update-collections.d.ts.map +0 -0
- package/dist/commands/homepage/update-collections.js +0 -0
- package/dist/commands/homepage/update-collections.js.map +0 -0
- package/dist/commands/homepage/update-images.d.ts +0 -0
- package/dist/commands/homepage/update-images.d.ts.map +0 -0
- package/dist/commands/homepage/update-images.js +0 -0
- package/dist/commands/homepage/update-images.js.map +0 -0
- package/dist/commands/homepage/update-target.d.ts +0 -0
- package/dist/commands/homepage/update-target.d.ts.map +0 -0
- package/dist/commands/homepage/update-target.js +0 -0
- package/dist/commands/homepage/update-target.js.map +0 -0
- package/dist/commands/homepage/update.d.ts +0 -0
- package/dist/commands/homepage/update.d.ts.map +0 -0
- package/dist/commands/homepage/update.js +0 -0
- package/dist/commands/homepage/update.js.map +0 -0
- package/dist/commands/i18n/category/create.d.ts +3 -0
- package/dist/commands/i18n/category/create.d.ts.map +1 -0
- package/dist/commands/i18n/category/create.js +113 -0
- package/dist/commands/i18n/category/create.js.map +1 -0
- package/dist/commands/i18n/category/delete.d.ts +3 -0
- package/dist/commands/i18n/category/delete.d.ts.map +1 -0
- package/dist/commands/i18n/category/delete.js +63 -0
- package/dist/commands/i18n/category/delete.js.map +1 -0
- package/dist/commands/i18n/category/get.d.ts +3 -0
- package/dist/commands/i18n/category/get.d.ts.map +1 -0
- package/dist/commands/i18n/category/get.js +56 -0
- package/dist/commands/i18n/category/get.js.map +1 -0
- package/dist/commands/i18n/category/index.d.ts +3 -0
- package/dist/commands/i18n/category/index.d.ts.map +1 -0
- package/dist/commands/i18n/category/index.js +14 -0
- package/dist/commands/i18n/category/index.js.map +1 -0
- package/dist/commands/i18n/category/list.d.ts +3 -0
- package/dist/commands/i18n/category/list.d.ts.map +1 -0
- package/dist/commands/i18n/category/list.js +72 -0
- package/dist/commands/i18n/category/list.js.map +1 -0
- package/dist/commands/i18n/category/update.d.ts +3 -0
- package/dist/commands/i18n/category/update.d.ts.map +1 -0
- package/dist/commands/i18n/category/update.js +68 -0
- package/dist/commands/i18n/category/update.js.map +1 -0
- package/dist/commands/i18n/collection/create.d.ts +0 -0
- package/dist/commands/i18n/collection/create.d.ts.map +0 -0
- package/dist/commands/i18n/collection/create.js +0 -0
- package/dist/commands/i18n/collection/create.js.map +0 -0
- package/dist/commands/i18n/collection/delete.d.ts +0 -0
- package/dist/commands/i18n/collection/delete.d.ts.map +0 -0
- package/dist/commands/i18n/collection/delete.js +0 -0
- package/dist/commands/i18n/collection/delete.js.map +0 -0
- package/dist/commands/i18n/collection/get.d.ts +0 -0
- package/dist/commands/i18n/collection/get.d.ts.map +0 -0
- package/dist/commands/i18n/collection/get.js +0 -0
- package/dist/commands/i18n/collection/get.js.map +0 -0
- package/dist/commands/i18n/collection/index.d.ts +0 -0
- package/dist/commands/i18n/collection/index.d.ts.map +0 -0
- package/dist/commands/i18n/collection/index.js +0 -0
- package/dist/commands/i18n/collection/index.js.map +0 -0
- package/dist/commands/i18n/collection/list.d.ts +0 -0
- package/dist/commands/i18n/collection/list.d.ts.map +0 -0
- package/dist/commands/i18n/collection/list.js +0 -0
- package/dist/commands/i18n/collection/list.js.map +0 -0
- package/dist/commands/i18n/collection/update.d.ts +0 -0
- package/dist/commands/i18n/collection/update.d.ts.map +0 -0
- package/dist/commands/i18n/collection/update.js +0 -0
- package/dist/commands/i18n/collection/update.js.map +0 -0
- package/dist/commands/i18n/homepage/delete.d.ts +0 -0
- package/dist/commands/i18n/homepage/delete.d.ts.map +0 -0
- package/dist/commands/i18n/homepage/delete.js +0 -0
- package/dist/commands/i18n/homepage/delete.js.map +0 -0
- package/dist/commands/i18n/homepage/index.d.ts +0 -0
- package/dist/commands/i18n/homepage/index.d.ts.map +0 -0
- package/dist/commands/i18n/homepage/index.js +0 -0
- package/dist/commands/i18n/homepage/index.js.map +0 -0
- package/dist/commands/i18n/homepage/list.d.ts +0 -0
- package/dist/commands/i18n/homepage/list.d.ts.map +0 -0
- package/dist/commands/i18n/homepage/list.js +0 -0
- package/dist/commands/i18n/homepage/list.js.map +0 -0
- package/dist/commands/i18n/homepage/set.d.ts +0 -0
- package/dist/commands/i18n/homepage/set.d.ts.map +0 -0
- package/dist/commands/i18n/homepage/set.js +0 -0
- package/dist/commands/i18n/homepage/set.js.map +0 -0
- package/dist/commands/i18n/index.d.ts +0 -0
- package/dist/commands/i18n/index.d.ts.map +0 -0
- package/dist/commands/i18n/index.js +0 -0
- package/dist/commands/i18n/index.js.map +0 -0
- package/dist/commands/i18n/languages.d.ts +0 -0
- package/dist/commands/i18n/languages.d.ts.map +0 -0
- package/dist/commands/i18n/languages.js +0 -0
- package/dist/commands/i18n/languages.js.map +0 -0
- package/dist/commands/i18n/merchant/create.d.ts +0 -0
- package/dist/commands/i18n/merchant/create.d.ts.map +0 -0
- package/dist/commands/i18n/merchant/create.js +0 -0
- package/dist/commands/i18n/merchant/create.js.map +0 -0
- package/dist/commands/i18n/merchant/delete.d.ts +0 -0
- package/dist/commands/i18n/merchant/delete.d.ts.map +0 -0
- package/dist/commands/i18n/merchant/delete.js +0 -0
- package/dist/commands/i18n/merchant/delete.js.map +0 -0
- package/dist/commands/i18n/merchant/get.d.ts +3 -0
- package/dist/commands/i18n/merchant/get.d.ts.map +1 -0
- package/dist/commands/i18n/merchant/get.js +30 -0
- package/dist/commands/i18n/merchant/get.js.map +1 -0
- package/dist/commands/i18n/merchant/index.d.ts +0 -0
- package/dist/commands/i18n/merchant/index.d.ts.map +0 -0
- package/dist/commands/i18n/merchant/index.js +0 -0
- package/dist/commands/i18n/merchant/index.js.map +0 -0
- package/dist/commands/i18n/merchant/list.d.ts +0 -0
- package/dist/commands/i18n/merchant/list.d.ts.map +0 -0
- package/dist/commands/i18n/merchant/list.js +0 -0
- package/dist/commands/i18n/merchant/list.js.map +0 -0
- package/dist/commands/i18n/merchant/update.d.ts +0 -0
- package/dist/commands/i18n/merchant/update.d.ts.map +0 -0
- package/dist/commands/i18n/merchant/update.js +0 -0
- package/dist/commands/i18n/merchant/update.js.map +0 -0
- package/dist/commands/i18n/product/create.d.ts +0 -0
- package/dist/commands/i18n/product/create.d.ts.map +0 -0
- package/dist/commands/i18n/product/create.js +0 -0
- package/dist/commands/i18n/product/create.js.map +0 -0
- package/dist/commands/i18n/product/delete.d.ts +0 -0
- package/dist/commands/i18n/product/delete.d.ts.map +0 -0
- package/dist/commands/i18n/product/delete.js +0 -0
- package/dist/commands/i18n/product/delete.js.map +0 -0
- package/dist/commands/i18n/product/get.d.ts +0 -0
- package/dist/commands/i18n/product/get.d.ts.map +0 -0
- package/dist/commands/i18n/product/get.js +0 -0
- package/dist/commands/i18n/product/get.js.map +0 -0
- package/dist/commands/i18n/product/index.d.ts +0 -0
- package/dist/commands/i18n/product/index.d.ts.map +0 -0
- package/dist/commands/i18n/product/index.js +0 -0
- package/dist/commands/i18n/product/index.js.map +0 -0
- package/dist/commands/i18n/product/list.d.ts +0 -0
- package/dist/commands/i18n/product/list.d.ts.map +0 -0
- package/dist/commands/i18n/product/list.js +0 -0
- package/dist/commands/i18n/product/list.js.map +0 -0
- package/dist/commands/i18n/product/update.d.ts +0 -0
- package/dist/commands/i18n/product/update.d.ts.map +0 -0
- package/dist/commands/i18n/product/update.js +0 -0
- package/dist/commands/i18n/product/update.js.map +0 -0
- package/dist/commands/i18n/variant/create.d.ts +0 -0
- package/dist/commands/i18n/variant/create.d.ts.map +0 -0
- package/dist/commands/i18n/variant/create.js +0 -0
- package/dist/commands/i18n/variant/create.js.map +0 -0
- package/dist/commands/i18n/variant/delete.d.ts +0 -0
- package/dist/commands/i18n/variant/delete.d.ts.map +0 -0
- package/dist/commands/i18n/variant/delete.js +0 -0
- package/dist/commands/i18n/variant/delete.js.map +0 -0
- package/dist/commands/i18n/variant/get.d.ts +0 -0
- package/dist/commands/i18n/variant/get.d.ts.map +0 -0
- package/dist/commands/i18n/variant/get.js +0 -0
- package/dist/commands/i18n/variant/get.js.map +0 -0
- package/dist/commands/i18n/variant/index.d.ts +0 -0
- package/dist/commands/i18n/variant/index.d.ts.map +0 -0
- package/dist/commands/i18n/variant/index.js +0 -0
- package/dist/commands/i18n/variant/index.js.map +0 -0
- package/dist/commands/i18n/variant/list.d.ts +0 -0
- package/dist/commands/i18n/variant/list.d.ts.map +0 -0
- package/dist/commands/i18n/variant/list.js +0 -0
- package/dist/commands/i18n/variant/list.js.map +0 -0
- package/dist/commands/i18n/variant/update.d.ts +0 -0
- package/dist/commands/i18n/variant/update.d.ts.map +0 -0
- package/dist/commands/i18n/variant/update.js +0 -0
- package/dist/commands/i18n/variant/update.js.map +0 -0
- package/dist/commands/init.d.ts +0 -0
- package/dist/commands/init.d.ts.map +0 -0
- package/dist/commands/init.js +0 -0
- package/dist/commands/init.js.map +0 -0
- package/dist/commands/inventory/history.d.ts +0 -0
- package/dist/commands/inventory/history.d.ts.map +0 -0
- package/dist/commands/inventory/history.js +0 -0
- package/dist/commands/inventory/history.js.map +0 -0
- package/dist/commands/inventory/index.d.ts +0 -0
- package/dist/commands/inventory/index.d.ts.map +0 -0
- package/dist/commands/inventory/index.js +0 -0
- package/dist/commands/inventory/index.js.map +0 -0
- package/dist/commands/inventory/low-stock.d.ts +0 -0
- package/dist/commands/inventory/low-stock.d.ts.map +0 -0
- package/dist/commands/inventory/low-stock.js +0 -0
- package/dist/commands/inventory/low-stock.js.map +0 -0
- package/dist/commands/inventory/reserve.d.ts +0 -0
- package/dist/commands/inventory/reserve.d.ts.map +0 -0
- package/dist/commands/inventory/reserve.js +0 -0
- package/dist/commands/inventory/reserve.js.map +0 -0
- package/dist/commands/inventory/update.d.ts +0 -0
- package/dist/commands/inventory/update.d.ts.map +0 -0
- package/dist/commands/inventory/update.js +0 -0
- package/dist/commands/inventory/update.js.map +0 -0
- package/dist/commands/merchant/index.d.ts +0 -0
- package/dist/commands/merchant/index.d.ts.map +0 -0
- package/dist/commands/merchant/index.js +0 -0
- package/dist/commands/merchant/index.js.map +0 -0
- package/dist/commands/merchant/info.d.ts +0 -0
- package/dist/commands/merchant/info.d.ts.map +0 -0
- package/dist/commands/merchant/info.js +0 -0
- package/dist/commands/merchant/info.js.map +0 -0
- package/dist/commands/merchant/setup.d.ts +0 -0
- package/dist/commands/merchant/setup.d.ts.map +0 -0
- package/dist/commands/merchant/setup.js +0 -0
- package/dist/commands/merchant/setup.js.map +0 -0
- package/dist/commands/merchant/update.d.ts +0 -0
- package/dist/commands/merchant/update.d.ts.map +0 -0
- package/dist/commands/merchant/update.js +0 -0
- package/dist/commands/merchant/update.js.map +0 -0
- package/dist/commands/merchant/url.d.ts +0 -0
- package/dist/commands/merchant/url.d.ts.map +0 -0
- package/dist/commands/merchant/url.js +0 -0
- package/dist/commands/merchant/url.js.map +0 -0
- package/dist/commands/order/cancel.d.ts +0 -0
- package/dist/commands/order/cancel.d.ts.map +0 -0
- package/dist/commands/order/cancel.js +0 -0
- package/dist/commands/order/cancel.js.map +0 -0
- package/dist/commands/order/complete.d.ts +0 -0
- package/dist/commands/order/complete.d.ts.map +0 -0
- package/dist/commands/order/complete.js +0 -0
- package/dist/commands/order/complete.js.map +0 -0
- package/dist/commands/order/get.d.ts +0 -0
- package/dist/commands/order/get.d.ts.map +0 -0
- package/dist/commands/order/get.js +0 -0
- package/dist/commands/order/get.js.map +0 -0
- package/dist/commands/order/index.d.ts +0 -0
- package/dist/commands/order/index.d.ts.map +0 -0
- package/dist/commands/order/index.js +0 -0
- package/dist/commands/order/index.js.map +0 -0
- package/dist/commands/order/list.d.ts +0 -0
- package/dist/commands/order/list.d.ts.map +0 -0
- package/dist/commands/order/list.js +0 -0
- package/dist/commands/order/list.js.map +0 -0
- package/dist/commands/order/mark-delivered.d.ts +0 -0
- package/dist/commands/order/mark-delivered.d.ts.map +0 -0
- package/dist/commands/order/mark-delivered.js +0 -0
- package/dist/commands/order/mark-delivered.js.map +0 -0
- package/dist/commands/order/ship.d.ts +0 -0
- package/dist/commands/order/ship.d.ts.map +0 -0
- package/dist/commands/order/ship.js +0 -0
- package/dist/commands/order/ship.js.map +0 -0
- package/dist/commands/product/add-images.d.ts +0 -0
- package/dist/commands/product/add-images.d.ts.map +0 -0
- package/dist/commands/product/add-images.js +0 -0
- package/dist/commands/product/add-images.js.map +0 -0
- package/dist/commands/product/add-videos.d.ts +0 -0
- package/dist/commands/product/add-videos.d.ts.map +0 -0
- package/dist/commands/product/add-videos.js +0 -0
- package/dist/commands/product/add-videos.js.map +0 -0
- package/dist/commands/product/create.d.ts +0 -0
- package/dist/commands/product/create.d.ts.map +0 -0
- package/dist/commands/product/create.js +0 -0
- package/dist/commands/product/create.js.map +0 -0
- package/dist/commands/product/delete.d.ts +0 -0
- package/dist/commands/product/delete.d.ts.map +0 -0
- package/dist/commands/product/delete.js +0 -0
- package/dist/commands/product/delete.js.map +0 -0
- package/dist/commands/product/get.d.ts +0 -0
- package/dist/commands/product/get.d.ts.map +0 -0
- package/dist/commands/product/get.js +0 -0
- package/dist/commands/product/get.js.map +0 -0
- package/dist/commands/product/index.d.ts +0 -0
- package/dist/commands/product/index.d.ts.map +0 -0
- package/dist/commands/product/index.js +0 -0
- package/dist/commands/product/index.js.map +0 -0
- package/dist/commands/product/list.d.ts +0 -0
- package/dist/commands/product/list.d.ts.map +0 -0
- package/dist/commands/product/list.js +0 -0
- package/dist/commands/product/list.js.map +0 -0
- package/dist/commands/product/remove-videos.d.ts +0 -0
- package/dist/commands/product/remove-videos.d.ts.map +0 -0
- package/dist/commands/product/remove-videos.js +0 -0
- package/dist/commands/product/remove-videos.js.map +0 -0
- package/dist/commands/product/reorder-videos.d.ts +0 -0
- package/dist/commands/product/reorder-videos.d.ts.map +0 -0
- package/dist/commands/product/reorder-videos.js +0 -0
- package/dist/commands/product/reorder-videos.js.map +0 -0
- package/dist/commands/product/update.d.ts +0 -0
- package/dist/commands/product/update.d.ts.map +0 -0
- package/dist/commands/product/update.js +0 -0
- package/dist/commands/product/update.js.map +0 -0
- package/dist/commands/product/url.d.ts +0 -0
- package/dist/commands/product/url.d.ts.map +0 -0
- package/dist/commands/product/url.js +0 -0
- package/dist/commands/product/url.js.map +0 -0
- package/dist/commands/product/video-status.d.ts +0 -0
- package/dist/commands/product/video-status.d.ts.map +0 -0
- package/dist/commands/product/video-status.js +0 -0
- package/dist/commands/product/video-status.js.map +0 -0
- package/dist/commands/product-page/create.d.ts +0 -0
- package/dist/commands/product-page/create.d.ts.map +0 -0
- package/dist/commands/product-page/create.js +0 -0
- package/dist/commands/product-page/create.js.map +0 -0
- package/dist/commands/product-page/delete.d.ts +0 -0
- package/dist/commands/product-page/delete.d.ts.map +0 -0
- package/dist/commands/product-page/delete.js +0 -0
- package/dist/commands/product-page/delete.js.map +0 -0
- package/dist/commands/product-page/hide.d.ts +0 -0
- package/dist/commands/product-page/hide.d.ts.map +0 -0
- package/dist/commands/product-page/hide.js +0 -0
- package/dist/commands/product-page/hide.js.map +0 -0
- package/dist/commands/product-page/index.d.ts +0 -0
- package/dist/commands/product-page/index.d.ts.map +0 -0
- package/dist/commands/product-page/index.js +0 -0
- package/dist/commands/product-page/index.js.map +0 -0
- package/dist/commands/product-page/list.d.ts +0 -0
- package/dist/commands/product-page/list.d.ts.map +0 -0
- package/dist/commands/product-page/list.js +0 -0
- package/dist/commands/product-page/list.js.map +0 -0
- package/dist/commands/product-page/product/create.d.ts +0 -0
- package/dist/commands/product-page/product/create.d.ts.map +0 -0
- package/dist/commands/product-page/product/create.js +0 -0
- package/dist/commands/product-page/product/create.js.map +0 -0
- package/dist/commands/product-page/product/delete.d.ts +0 -0
- package/dist/commands/product-page/product/delete.d.ts.map +0 -0
- package/dist/commands/product-page/product/delete.js +0 -0
- package/dist/commands/product-page/product/delete.js.map +0 -0
- package/dist/commands/product-page/product/hide.d.ts +0 -0
- package/dist/commands/product-page/product/hide.d.ts.map +0 -0
- package/dist/commands/product-page/product/hide.js +0 -0
- package/dist/commands/product-page/product/hide.js.map +0 -0
- package/dist/commands/product-page/product/index.d.ts +0 -0
- package/dist/commands/product-page/product/index.d.ts.map +0 -0
- package/dist/commands/product-page/product/index.js +0 -0
- package/dist/commands/product-page/product/index.js.map +0 -0
- package/dist/commands/product-page/product/list.d.ts +0 -0
- package/dist/commands/product-page/product/list.d.ts.map +0 -0
- package/dist/commands/product-page/product/list.js +0 -0
- package/dist/commands/product-page/product/list.js.map +0 -0
- package/dist/commands/product-page/product/reorder.d.ts +0 -0
- package/dist/commands/product-page/product/reorder.d.ts.map +0 -0
- package/dist/commands/product-page/product/reorder.js +0 -0
- package/dist/commands/product-page/product/reorder.js.map +0 -0
- package/dist/commands/product-page/product/update.d.ts +0 -0
- package/dist/commands/product-page/product/update.d.ts.map +0 -0
- package/dist/commands/product-page/product/update.js +0 -0
- package/dist/commands/product-page/product/update.js.map +0 -0
- package/dist/commands/product-page/reorder.d.ts +0 -0
- package/dist/commands/product-page/reorder.d.ts.map +0 -0
- package/dist/commands/product-page/reorder.js +0 -0
- package/dist/commands/product-page/reorder.js.map +0 -0
- package/dist/commands/product-page/translation/delete.d.ts +0 -0
- package/dist/commands/product-page/translation/delete.d.ts.map +0 -0
- package/dist/commands/product-page/translation/delete.js +0 -0
- package/dist/commands/product-page/translation/delete.js.map +0 -0
- package/dist/commands/product-page/translation/index.d.ts +0 -0
- package/dist/commands/product-page/translation/index.d.ts.map +0 -0
- package/dist/commands/product-page/translation/index.js +0 -0
- package/dist/commands/product-page/translation/index.js.map +0 -0
- package/dist/commands/product-page/translation/list.d.ts +0 -0
- package/dist/commands/product-page/translation/list.d.ts.map +0 -0
- package/dist/commands/product-page/translation/list.js +0 -0
- package/dist/commands/product-page/translation/list.js.map +0 -0
- package/dist/commands/product-page/translation/set.d.ts +0 -0
- package/dist/commands/product-page/translation/set.d.ts.map +0 -0
- package/dist/commands/product-page/translation/set.js +0 -0
- package/dist/commands/product-page/translation/set.js.map +0 -0
- package/dist/commands/product-page/update.d.ts +0 -0
- package/dist/commands/product-page/update.d.ts.map +0 -0
- package/dist/commands/product-page/update.js +0 -0
- package/dist/commands/product-page/update.js.map +0 -0
- package/dist/commands/refund/create.d.ts +0 -0
- package/dist/commands/refund/create.d.ts.map +0 -0
- package/dist/commands/refund/create.js +0 -0
- package/dist/commands/refund/create.js.map +0 -0
- package/dist/commands/refund/get.d.ts +0 -0
- package/dist/commands/refund/get.d.ts.map +0 -0
- package/dist/commands/refund/get.js +0 -0
- package/dist/commands/refund/get.js.map +0 -0
- package/dist/commands/refund/index.d.ts +0 -0
- package/dist/commands/refund/index.d.ts.map +0 -0
- package/dist/commands/refund/index.js +0 -0
- package/dist/commands/refund/index.js.map +0 -0
- package/dist/commands/section/create.d.ts +3 -0
- package/dist/commands/section/create.d.ts.map +1 -0
- package/dist/commands/section/create.js +218 -0
- package/dist/commands/section/create.js.map +1 -0
- package/dist/commands/section/delete.d.ts +3 -0
- package/dist/commands/section/delete.d.ts.map +1 -0
- package/dist/commands/section/delete.js +86 -0
- package/dist/commands/section/delete.js.map +1 -0
- package/dist/commands/section/hide.d.ts +3 -0
- package/dist/commands/section/hide.d.ts.map +1 -0
- package/dist/commands/section/hide.js +82 -0
- package/dist/commands/section/hide.js.map +1 -0
- package/dist/commands/section/index.d.ts +4 -0
- package/dist/commands/section/index.d.ts.map +1 -0
- package/dist/commands/section/index.js +23 -0
- package/dist/commands/section/index.js.map +1 -0
- package/dist/commands/section/list.d.ts +3 -0
- package/dist/commands/section/list.d.ts.map +1 -0
- package/dist/commands/section/list.js +164 -0
- package/dist/commands/section/list.js.map +1 -0
- package/dist/commands/section/product/create.d.ts +3 -0
- package/dist/commands/section/product/create.d.ts.map +1 -0
- package/dist/commands/section/product/create.js +208 -0
- package/dist/commands/section/product/create.js.map +1 -0
- package/dist/commands/section/product/delete.d.ts +3 -0
- package/dist/commands/section/product/delete.d.ts.map +1 -0
- package/dist/commands/section/product/delete.js +85 -0
- package/dist/commands/section/product/delete.js.map +1 -0
- package/dist/commands/section/product/hide.d.ts +3 -0
- package/dist/commands/section/product/hide.d.ts.map +1 -0
- package/dist/commands/section/product/hide.js +78 -0
- package/dist/commands/section/product/hide.js.map +1 -0
- package/dist/commands/section/product/index.d.ts +4 -0
- package/dist/commands/section/product/index.d.ts.map +1 -0
- package/dist/commands/section/product/index.js +17 -0
- package/dist/commands/section/product/index.js.map +1 -0
- package/dist/commands/section/product/list.d.ts +3 -0
- package/dist/commands/section/product/list.d.ts.map +1 -0
- package/dist/commands/section/product/list.js +157 -0
- package/dist/commands/section/product/list.js.map +1 -0
- package/dist/commands/section/product/reorder.d.ts +3 -0
- package/dist/commands/section/product/reorder.d.ts.map +1 -0
- package/dist/commands/section/product/reorder.js +110 -0
- package/dist/commands/section/product/reorder.js.map +1 -0
- package/dist/commands/section/product/update.d.ts +3 -0
- package/dist/commands/section/product/update.d.ts.map +1 -0
- package/dist/commands/section/product/update.js +127 -0
- package/dist/commands/section/product/update.js.map +1 -0
- package/dist/commands/section/reorder.d.ts +3 -0
- package/dist/commands/section/reorder.d.ts.map +1 -0
- package/dist/commands/section/reorder.js +111 -0
- package/dist/commands/section/reorder.js.map +1 -0
- package/dist/commands/section/translation/delete.d.ts +3 -0
- package/dist/commands/section/translation/delete.d.ts.map +1 -0
- package/dist/commands/section/translation/delete.js +97 -0
- package/dist/commands/section/translation/delete.js.map +1 -0
- package/dist/commands/section/translation/index.d.ts +4 -0
- package/dist/commands/section/translation/index.d.ts.map +1 -0
- package/dist/commands/section/translation/index.js +11 -0
- package/dist/commands/section/translation/index.js.map +1 -0
- package/dist/commands/section/translation/list.d.ts +3 -0
- package/dist/commands/section/translation/list.d.ts.map +1 -0
- package/dist/commands/section/translation/list.js +104 -0
- package/dist/commands/section/translation/list.js.map +1 -0
- package/dist/commands/section/translation/set.d.ts +3 -0
- package/dist/commands/section/translation/set.d.ts.map +1 -0
- package/dist/commands/section/translation/set.js +151 -0
- package/dist/commands/section/translation/set.js.map +1 -0
- package/dist/commands/section/update.d.ts +3 -0
- package/dist/commands/section/update.d.ts.map +1 -0
- package/dist/commands/section/update.js +137 -0
- package/dist/commands/section/update.js.map +1 -0
- package/dist/commands/shipping/calculate.d.ts +0 -0
- package/dist/commands/shipping/calculate.d.ts.map +0 -0
- package/dist/commands/shipping/calculate.js +0 -0
- package/dist/commands/shipping/calculate.js.map +0 -0
- package/dist/commands/shipping/history.d.ts +0 -0
- package/dist/commands/shipping/history.d.ts.map +0 -0
- package/dist/commands/shipping/history.js +0 -0
- package/dist/commands/shipping/history.js.map +0 -0
- package/dist/commands/shipping/index.d.ts +0 -0
- package/dist/commands/shipping/index.d.ts.map +0 -0
- package/dist/commands/shipping/index.js +0 -0
- package/dist/commands/shipping/index.js.map +0 -0
- package/dist/commands/shipping/update-status.d.ts +0 -0
- package/dist/commands/shipping/update-status.d.ts.map +0 -0
- package/dist/commands/shipping/update-status.js +0 -0
- package/dist/commands/shipping/update-status.js.map +0 -0
- package/dist/commands/shipping-zone/create.d.ts +0 -0
- package/dist/commands/shipping-zone/create.d.ts.map +0 -0
- package/dist/commands/shipping-zone/create.js +0 -0
- package/dist/commands/shipping-zone/create.js.map +0 -0
- package/dist/commands/shipping-zone/delete.d.ts +0 -0
- package/dist/commands/shipping-zone/delete.d.ts.map +0 -0
- package/dist/commands/shipping-zone/delete.js +0 -0
- package/dist/commands/shipping-zone/delete.js.map +0 -0
- package/dist/commands/shipping-zone/index.d.ts +0 -0
- package/dist/commands/shipping-zone/index.d.ts.map +0 -0
- package/dist/commands/shipping-zone/index.js +0 -0
- package/dist/commands/shipping-zone/index.js.map +0 -0
- package/dist/commands/shipping-zone/list.d.ts +0 -0
- package/dist/commands/shipping-zone/list.d.ts.map +0 -0
- package/dist/commands/shipping-zone/list.js +0 -0
- package/dist/commands/shipping-zone/list.js.map +0 -0
- package/dist/commands/shipping-zone/rates.d.ts +0 -0
- package/dist/commands/shipping-zone/rates.d.ts.map +0 -0
- package/dist/commands/shipping-zone/rates.js +0 -0
- package/dist/commands/shipping-zone/rates.js.map +0 -0
- package/dist/commands/test/health.d.ts +0 -0
- package/dist/commands/test/health.d.ts.map +0 -0
- package/dist/commands/test/health.js +2 -2
- package/dist/commands/test/health.js.map +1 -1
- package/dist/commands/test/index.d.ts +0 -0
- package/dist/commands/test/index.d.ts.map +0 -0
- package/dist/commands/test/index.js +0 -0
- package/dist/commands/test/index.js.map +0 -0
- package/dist/commands/test/smoke.d.ts +0 -0
- package/dist/commands/test/smoke.d.ts.map +0 -0
- package/dist/commands/test/smoke.js +0 -0
- package/dist/commands/test/smoke.js.map +0 -0
- package/dist/commands/transfer/index.d.ts +0 -0
- package/dist/commands/transfer/index.d.ts.map +0 -0
- package/dist/commands/transfer/index.js +0 -0
- package/dist/commands/transfer/index.js.map +0 -0
- package/dist/commands/transfer/list.d.ts +0 -0
- package/dist/commands/transfer/list.d.ts.map +0 -0
- package/dist/commands/transfer/list.js +0 -0
- package/dist/commands/transfer/list.js.map +0 -0
- package/dist/commands/transfer/summary.d.ts +0 -0
- package/dist/commands/transfer/summary.d.ts.map +0 -0
- package/dist/commands/transfer/summary.js +0 -0
- package/dist/commands/transfer/summary.js.map +0 -0
- package/dist/commands/upload/file.d.ts +0 -0
- package/dist/commands/upload/file.d.ts.map +0 -0
- package/dist/commands/upload/file.js +0 -0
- package/dist/commands/upload/file.js.map +0 -0
- package/dist/commands/upload/image.d.ts +0 -0
- package/dist/commands/upload/image.d.ts.map +0 -0
- package/dist/commands/upload/image.js +0 -0
- package/dist/commands/upload/image.js.map +0 -0
- package/dist/commands/upload/index.d.ts +0 -0
- package/dist/commands/upload/index.d.ts.map +0 -0
- package/dist/commands/upload/index.js +0 -0
- package/dist/commands/upload/index.js.map +0 -0
- package/dist/commands/upload/video.d.ts +0 -0
- package/dist/commands/upload/video.d.ts.map +0 -0
- package/dist/commands/upload/video.js +0 -0
- package/dist/commands/upload/video.js.map +0 -0
- package/dist/commands/variant/add-images.d.ts +0 -0
- package/dist/commands/variant/add-images.d.ts.map +0 -0
- package/dist/commands/variant/add-images.js +0 -0
- package/dist/commands/variant/add-images.js.map +0 -0
- package/dist/commands/variant/create.d.ts +0 -0
- package/dist/commands/variant/create.d.ts.map +0 -0
- package/dist/commands/variant/create.js +0 -0
- package/dist/commands/variant/create.js.map +0 -0
- package/dist/commands/variant/delete.d.ts +0 -0
- package/dist/commands/variant/delete.d.ts.map +0 -0
- package/dist/commands/variant/delete.js +0 -0
- package/dist/commands/variant/delete.js.map +0 -0
- package/dist/commands/variant/get.d.ts +3 -0
- package/dist/commands/variant/get.d.ts.map +1 -0
- package/dist/commands/variant/get.js +41 -0
- package/dist/commands/variant/get.js.map +1 -0
- package/dist/commands/variant/index.d.ts +0 -0
- package/dist/commands/variant/index.d.ts.map +0 -0
- package/dist/commands/variant/index.js +0 -0
- package/dist/commands/variant/index.js.map +0 -0
- package/dist/commands/variant/list.d.ts +0 -0
- package/dist/commands/variant/list.d.ts.map +0 -0
- package/dist/commands/variant/list.js +0 -0
- package/dist/commands/variant/list.js.map +0 -0
- package/dist/commands/variant/update.d.ts +0 -0
- package/dist/commands/variant/update.d.ts.map +0 -0
- package/dist/commands/variant/update.js +0 -0
- package/dist/commands/variant/update.js.map +0 -0
- package/dist/index.d.ts +0 -0
- package/dist/index.d.ts.map +0 -0
- package/dist/index.js.map +0 -0
- package/dist/postinstall.d.ts +0 -0
- package/dist/postinstall.d.ts.map +0 -0
- package/dist/postinstall.js +0 -0
- package/dist/postinstall.js.map +0 -0
- package/dist/preuninstall.d.ts +0 -0
- package/dist/preuninstall.d.ts.map +0 -0
- package/dist/preuninstall.js +0 -0
- package/dist/preuninstall.js.map +0 -0
- package/dist/utils/config.d.ts +0 -0
- package/dist/utils/config.d.ts.map +0 -0
- package/dist/utils/config.js +1 -1
- package/dist/utils/config.js.map +1 -1
- package/dist/utils/error.d.ts +0 -0
- package/dist/utils/error.d.ts.map +0 -0
- package/dist/utils/error.js +0 -0
- package/dist/utils/error.js.map +0 -0
- package/dist/utils/format.d.ts +0 -0
- package/dist/utils/format.d.ts.map +0 -0
- package/dist/utils/format.js +0 -0
- package/dist/utils/format.js.map +0 -0
- package/dist/utils/helpText.d.ts +0 -0
- package/dist/utils/helpText.d.ts.map +0 -0
- package/dist/utils/helpText.js +0 -0
- package/dist/utils/helpText.js.map +0 -0
- package/dist/utils/interactive.d.ts +0 -0
- package/dist/utils/interactive.d.ts.map +0 -0
- package/dist/utils/interactive.js +0 -0
- package/dist/utils/interactive.js.map +0 -0
- package/dist/utils/output.d.ts +0 -0
- package/dist/utils/output.d.ts.map +0 -0
- package/dist/utils/output.js +0 -0
- package/dist/utils/output.js.map +0 -0
- package/dist/utils/validation.d.ts +0 -0
- package/dist/utils/validation.d.ts.map +0 -0
- package/dist/utils/validation.js +0 -0
- package/dist/utils/validation.js.map +0 -0
- package/package.json +1 -1
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/commands/section/create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA2FpC,eAAO,MAAM,oBAAoB,SAAM,CAAC"}
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
import chalk from 'chalk';
|
|
3
|
+
import inquirer from 'inquirer';
|
|
4
|
+
import { commerceApi } from '../../api/rest/commerce.js';
|
|
5
|
+
import { handleError, createApiError, ValidationError } from '../../utils/error.js';
|
|
6
|
+
import { output } from '../../utils/output.js';
|
|
7
|
+
import { addEnhancedHelp } from '../../utils/helpText.js';
|
|
8
|
+
import { isInteractiveEnvironment } from '../../utils/interactive.js';
|
|
9
|
+
const cmd = new Command('create')
|
|
10
|
+
.description('Create or override a product page section (merchant-level)')
|
|
11
|
+
.option('--handle <handle>', 'Section handle/identifier (required)')
|
|
12
|
+
.option('--operation-type <type>', 'Operation type: override | new | hidden (required)')
|
|
13
|
+
.option('--type <type>', 'Section type: collapsible | static (required for override/new)')
|
|
14
|
+
.option('--position <n>', 'Display position (required for override/new)')
|
|
15
|
+
.option('--content <text>', 'Section content in Markdown (required for override/new)')
|
|
16
|
+
.option('--tab-group <group>', 'Tab group name (optional, null for independent sections)')
|
|
17
|
+
.option('--inherit-translations', 'Inherit translations from parent layer')
|
|
18
|
+
.action(async (options) => {
|
|
19
|
+
try {
|
|
20
|
+
await createSection(options);
|
|
21
|
+
}
|
|
22
|
+
catch (error) {
|
|
23
|
+
handleError(error);
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
addEnhancedHelp(cmd, {
|
|
27
|
+
examples: [
|
|
28
|
+
'# Override system default section',
|
|
29
|
+
'$ commerce section create --handle care --operation-type override \\',
|
|
30
|
+
' --type collapsible --position 4 --content "Machine washable, 30°C"',
|
|
31
|
+
'',
|
|
32
|
+
'# Create a new custom section',
|
|
33
|
+
'$ commerce section create --handle brand-story --operation-type new \\',
|
|
34
|
+
' --type collapsible --position 8 --content "## Our Story\\n\\nFounded in 2020..."',
|
|
35
|
+
'',
|
|
36
|
+
'# Hide a system section',
|
|
37
|
+
'$ commerce section create --handle eco-friendly --operation-type hidden',
|
|
38
|
+
'',
|
|
39
|
+
'# Create section in a tab group',
|
|
40
|
+
'$ commerce section create --handle ingredients --operation-type new \\',
|
|
41
|
+
' --type collapsible --position 5 --content "100% organic cotton" \\',
|
|
42
|
+
' --tab-group product-info',
|
|
43
|
+
],
|
|
44
|
+
output: {
|
|
45
|
+
example: JSON.stringify({
|
|
46
|
+
success: true,
|
|
47
|
+
data: {
|
|
48
|
+
id: 'customization-uuid',
|
|
49
|
+
merchant_id: 'merchant-uuid',
|
|
50
|
+
handle: 'care',
|
|
51
|
+
operation_type: 'override',
|
|
52
|
+
type: 'collapsible',
|
|
53
|
+
position: 4,
|
|
54
|
+
content: 'Machine washable, 30°C',
|
|
55
|
+
tab_group: null,
|
|
56
|
+
created_at: '2025-11-27T00:00:00Z',
|
|
57
|
+
updated_at: '2025-11-27T00:00:00Z',
|
|
58
|
+
},
|
|
59
|
+
message: '区块创建成功',
|
|
60
|
+
}, null, 2),
|
|
61
|
+
},
|
|
62
|
+
relatedCommands: [
|
|
63
|
+
{ command: 'section list --resolved', description: 'View all sections' },
|
|
64
|
+
{ command: 'section update', description: 'Update a section' },
|
|
65
|
+
{ command: 'section hide', description: 'Quick hide a section' },
|
|
66
|
+
{ command: 'section delete', description: 'Delete a customization' },
|
|
67
|
+
],
|
|
68
|
+
notes: [
|
|
69
|
+
'operation_type: override (modify system default), new (create custom), hidden (hide section)',
|
|
70
|
+
'For hidden operation, only --handle and --operation-type are required',
|
|
71
|
+
'System default sections: highlights, details, guarantee, care, shipping-policies, return, eco-friendly',
|
|
72
|
+
'Content supports Markdown and template variables like {{product.name}}',
|
|
73
|
+
'Use section hide command as a shortcut for hiding sections',
|
|
74
|
+
],
|
|
75
|
+
});
|
|
76
|
+
export const createSectionCommand = cmd;
|
|
77
|
+
async function createSection(options) {
|
|
78
|
+
let { handle, operationType, type, position, content, tabGroup, inheritTranslations } = options;
|
|
79
|
+
// 非交互模式下验证必需参数
|
|
80
|
+
if (!isInteractiveEnvironment()) {
|
|
81
|
+
if (!handle || handle.trim().length === 0) {
|
|
82
|
+
throw new ValidationError('缺少必需参数: --handle (区块标识符)', 'handle');
|
|
83
|
+
}
|
|
84
|
+
if (!operationType || operationType.trim().length === 0) {
|
|
85
|
+
throw new ValidationError('缺少必需参数: --operation-type (操作类型: override | new | hidden)', 'operation_type');
|
|
86
|
+
}
|
|
87
|
+
// hidden 类型不需要其他参数
|
|
88
|
+
if (operationType !== 'hidden') {
|
|
89
|
+
if (!type || type.trim().length === 0) {
|
|
90
|
+
throw new ValidationError('缺少必需参数: --type (区块类型: collapsible | static)', 'type');
|
|
91
|
+
}
|
|
92
|
+
if (!position) {
|
|
93
|
+
throw new ValidationError('缺少必需参数: --position (显示位置)', 'position');
|
|
94
|
+
}
|
|
95
|
+
if (!content || content.trim().length === 0) {
|
|
96
|
+
throw new ValidationError('缺少必需参数: --content (区块内容)', 'content');
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
else {
|
|
101
|
+
// 交互模式:提示缺失的字段
|
|
102
|
+
const answers = await inquirer.prompt([
|
|
103
|
+
{
|
|
104
|
+
type: 'input',
|
|
105
|
+
name: 'handle',
|
|
106
|
+
message: '区块标识符 (handle):',
|
|
107
|
+
when: !handle,
|
|
108
|
+
validate: (input) => (input.trim().length > 0 ? true : '标识符不能为空'),
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
type: 'list',
|
|
112
|
+
name: 'operationType',
|
|
113
|
+
message: '操作类型:',
|
|
114
|
+
choices: [
|
|
115
|
+
{ name: 'override - 覆盖系统默认', value: 'override' },
|
|
116
|
+
{ name: 'new - 创建新区块', value: 'new' },
|
|
117
|
+
{ name: 'hidden - 隐藏区块', value: 'hidden' },
|
|
118
|
+
],
|
|
119
|
+
when: !operationType,
|
|
120
|
+
},
|
|
121
|
+
]);
|
|
122
|
+
handle = handle || answers.handle;
|
|
123
|
+
operationType = operationType || answers.operationType;
|
|
124
|
+
// 如果不是 hidden,继续询问其他字段
|
|
125
|
+
if (operationType !== 'hidden') {
|
|
126
|
+
const moreAnswers = await inquirer.prompt([
|
|
127
|
+
{
|
|
128
|
+
type: 'list',
|
|
129
|
+
name: 'type',
|
|
130
|
+
message: '区块类型:',
|
|
131
|
+
choices: [
|
|
132
|
+
{ name: 'collapsible - 可折叠', value: 'collapsible' },
|
|
133
|
+
{ name: 'static - 静态', value: 'static' },
|
|
134
|
+
],
|
|
135
|
+
when: !type,
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
type: 'number',
|
|
139
|
+
name: 'position',
|
|
140
|
+
message: '显示位置 (1-10):',
|
|
141
|
+
when: !position,
|
|
142
|
+
validate: (input) => (input > 0 ? true : '位置必须大于0'),
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
type: 'editor',
|
|
146
|
+
name: 'content',
|
|
147
|
+
message: '区块内容 (Markdown):',
|
|
148
|
+
when: !content,
|
|
149
|
+
},
|
|
150
|
+
]);
|
|
151
|
+
type = type || moreAnswers.type;
|
|
152
|
+
position = position || moreAnswers.position?.toString();
|
|
153
|
+
content = content || moreAnswers.content;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
// 验证 operationType
|
|
157
|
+
const validOperationTypes = ['override', 'new', 'hidden'];
|
|
158
|
+
if (!validOperationTypes.includes(operationType)) {
|
|
159
|
+
throw new ValidationError(`无效的操作类型: ${operationType}。有效值: ${validOperationTypes.join(', ')}`, 'operation_type');
|
|
160
|
+
}
|
|
161
|
+
// 验证 type(仅 override/new 需要)
|
|
162
|
+
if (operationType !== 'hidden') {
|
|
163
|
+
const validTypes = ['collapsible', 'static'];
|
|
164
|
+
if (!validTypes.includes(type)) {
|
|
165
|
+
throw new ValidationError(`无效的区块类型: ${type}。有效值: ${validTypes.join(', ')}`, 'type');
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
const spinner = output.spinner('正在创建区块...');
|
|
169
|
+
try {
|
|
170
|
+
const data = {
|
|
171
|
+
handle: handle,
|
|
172
|
+
operation_type: operationType,
|
|
173
|
+
};
|
|
174
|
+
if (operationType !== 'hidden') {
|
|
175
|
+
data.type = type;
|
|
176
|
+
data.position = parseInt(position, 10);
|
|
177
|
+
data.content = content;
|
|
178
|
+
}
|
|
179
|
+
if (tabGroup !== undefined) {
|
|
180
|
+
data.tab_group = tabGroup || null;
|
|
181
|
+
}
|
|
182
|
+
if (inheritTranslations !== undefined) {
|
|
183
|
+
data.inherit_translations = inheritTranslations;
|
|
184
|
+
}
|
|
185
|
+
const result = await commerceApi.productSections.merchant.create(data);
|
|
186
|
+
spinner.succeed('区块创建成功!');
|
|
187
|
+
if (output.isJson()) {
|
|
188
|
+
output.success(result, '区块创建成功');
|
|
189
|
+
}
|
|
190
|
+
else {
|
|
191
|
+
console.log();
|
|
192
|
+
console.log(chalk.green('✓ 区块创建成功!'));
|
|
193
|
+
console.log();
|
|
194
|
+
console.log(chalk.gray('ID: ') + chalk.cyan(result.id));
|
|
195
|
+
console.log(chalk.gray('Handle: ') + chalk.white(result.handle));
|
|
196
|
+
console.log(chalk.gray('操作类型: ') + chalk.white(result.operation_type));
|
|
197
|
+
if (result.type) {
|
|
198
|
+
console.log(chalk.gray('区块类型: ') + chalk.white(result.type));
|
|
199
|
+
}
|
|
200
|
+
if (result.position !== undefined) {
|
|
201
|
+
console.log(chalk.gray('位置: ') + chalk.white(result.position.toString()));
|
|
202
|
+
}
|
|
203
|
+
if (result.tab_group) {
|
|
204
|
+
console.log(chalk.gray('Tab分组: ') + chalk.white(result.tab_group));
|
|
205
|
+
}
|
|
206
|
+
if (result.content) {
|
|
207
|
+
const preview = result.content.length > 100 ? result.content.substring(0, 100) + '...' : result.content;
|
|
208
|
+
console.log(chalk.gray('内容: ') + chalk.white(preview));
|
|
209
|
+
}
|
|
210
|
+
console.log();
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
catch (error) {
|
|
214
|
+
spinner.fail('创建区块失败');
|
|
215
|
+
throw createApiError(error);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
//# sourceMappingURL=create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../src/commands/section/create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACpF,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAYtE,MAAM,GAAG,GAAG,IAAI,OAAO,CAAC,QAAQ,CAAC;KAC9B,WAAW,CAAC,4DAA4D,CAAC;KACzE,MAAM,CAAC,mBAAmB,EAAE,sCAAsC,CAAC;KACnE,MAAM,CAAC,yBAAyB,EAAE,oDAAoD,CAAC;KACvF,MAAM,CAAC,eAAe,EAAE,gEAAgE,CAAC;KACzF,MAAM,C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