@commercetools/cli-topic-sphere 0.0.0 → 0.0.2-rc.0c1ce422
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/dist/commands/sphere/api-clients/create.d.ts +3 -0
- package/dist/commands/sphere/api-clients/create.d.ts.map +1 -0
- package/dist/commands/sphere/api-clients/create.js +6 -0
- package/dist/commands/sphere/api-clients/create.js.map +1 -0
- package/dist/commands/sphere/api-clients/delete.d.ts +3 -0
- package/dist/commands/sphere/api-clients/delete.d.ts.map +1 -0
- package/dist/commands/sphere/api-clients/delete.js +6 -0
- package/dist/commands/sphere/api-clients/delete.js.map +1 -0
- package/dist/commands/sphere/api-clients/get.d.ts +3 -0
- package/dist/commands/sphere/api-clients/get.d.ts.map +1 -0
- package/dist/commands/sphere/api-clients/get.js +6 -0
- package/dist/commands/sphere/api-clients/get.js.map +1 -0
- package/dist/commands/sphere/api-clients/list.d.ts +3 -0
- package/dist/commands/sphere/api-clients/list.d.ts.map +1 -0
- package/dist/commands/sphere/api-clients/list.js +6 -0
- package/dist/commands/sphere/api-clients/list.js.map +1 -0
- package/dist/commands/sphere/api-clients/update.d.ts +3 -0
- package/dist/commands/sphere/api-clients/update.d.ts.map +1 -0
- package/dist/commands/sphere/api-clients/update.js +6 -0
- package/dist/commands/sphere/api-clients/update.js.map +1 -0
- package/dist/commands/sphere/approval-flows/create.d.ts +3 -0
- package/dist/commands/sphere/approval-flows/create.d.ts.map +1 -0
- package/dist/commands/sphere/approval-flows/create.js +6 -0
- package/dist/commands/sphere/approval-flows/create.js.map +1 -0
- package/dist/commands/sphere/approval-flows/delete.d.ts +3 -0
- package/dist/commands/sphere/approval-flows/delete.d.ts.map +1 -0
- package/dist/commands/sphere/approval-flows/delete.js +6 -0
- package/dist/commands/sphere/approval-flows/delete.js.map +1 -0
- package/dist/commands/sphere/approval-flows/get.d.ts +3 -0
- package/dist/commands/sphere/approval-flows/get.d.ts.map +1 -0
- package/dist/commands/sphere/approval-flows/get.js +6 -0
- package/dist/commands/sphere/approval-flows/get.js.map +1 -0
- package/dist/commands/sphere/approval-flows/list.d.ts +3 -0
- package/dist/commands/sphere/approval-flows/list.d.ts.map +1 -0
- package/dist/commands/sphere/approval-flows/list.js +6 -0
- package/dist/commands/sphere/approval-flows/list.js.map +1 -0
- package/dist/commands/sphere/approval-flows/update.d.ts +3 -0
- package/dist/commands/sphere/approval-flows/update.d.ts.map +1 -0
- package/dist/commands/sphere/approval-flows/update.js +6 -0
- package/dist/commands/sphere/approval-flows/update.js.map +1 -0
- package/dist/commands/sphere/approval-rules/create.d.ts +3 -0
- package/dist/commands/sphere/approval-rules/create.d.ts.map +1 -0
- package/dist/commands/sphere/approval-rules/create.js +7 -0
- package/dist/commands/sphere/approval-rules/create.js.map +1 -0
- package/dist/commands/sphere/approval-rules/delete.d.ts +3 -0
- package/dist/commands/sphere/approval-rules/delete.d.ts.map +1 -0
- package/dist/commands/sphere/approval-rules/delete.js +7 -0
- package/dist/commands/sphere/approval-rules/delete.js.map +1 -0
- package/dist/commands/sphere/approval-rules/get.d.ts +3 -0
- package/dist/commands/sphere/approval-rules/get.d.ts.map +1 -0
- package/dist/commands/sphere/approval-rules/get.js +7 -0
- package/dist/commands/sphere/approval-rules/get.js.map +1 -0
- package/dist/commands/sphere/approval-rules/list.d.ts +3 -0
- package/dist/commands/sphere/approval-rules/list.d.ts.map +1 -0
- package/dist/commands/sphere/approval-rules/list.js +7 -0
- package/dist/commands/sphere/approval-rules/list.js.map +1 -0
- package/dist/commands/sphere/approval-rules/update.d.ts +3 -0
- package/dist/commands/sphere/approval-rules/update.d.ts.map +1 -0
- package/dist/commands/sphere/approval-rules/update.js +7 -0
- package/dist/commands/sphere/approval-rules/update.js.map +1 -0
- package/dist/commands/sphere/associate-roles/create.d.ts +3 -0
- package/dist/commands/sphere/associate-roles/create.d.ts.map +1 -0
- package/dist/commands/sphere/associate-roles/create.js +7 -0
- package/dist/commands/sphere/associate-roles/create.js.map +1 -0
- package/dist/commands/sphere/associate-roles/delete.d.ts +3 -0
- package/dist/commands/sphere/associate-roles/delete.d.ts.map +1 -0
- package/dist/commands/sphere/associate-roles/delete.js +7 -0
- package/dist/commands/sphere/associate-roles/delete.js.map +1 -0
- package/dist/commands/sphere/associate-roles/get.d.ts +3 -0
- package/dist/commands/sphere/associate-roles/get.d.ts.map +1 -0
- package/dist/commands/sphere/associate-roles/get.js +7 -0
- package/dist/commands/sphere/associate-roles/get.js.map +1 -0
- package/dist/commands/sphere/associate-roles/list.d.ts +3 -0
- package/dist/commands/sphere/associate-roles/list.d.ts.map +1 -0
- package/dist/commands/sphere/associate-roles/list.js +7 -0
- package/dist/commands/sphere/associate-roles/list.js.map +1 -0
- package/dist/commands/sphere/associate-roles/update.d.ts +3 -0
- package/dist/commands/sphere/associate-roles/update.d.ts.map +1 -0
- package/dist/commands/sphere/associate-roles/update.js +7 -0
- package/dist/commands/sphere/associate-roles/update.js.map +1 -0
- package/dist/commands/sphere/attribute-groups/create.d.ts +3 -0
- package/dist/commands/sphere/attribute-groups/create.d.ts.map +1 -0
- package/dist/commands/sphere/attribute-groups/create.js +7 -0
- package/dist/commands/sphere/attribute-groups/create.js.map +1 -0
- package/dist/commands/sphere/attribute-groups/delete.d.ts +3 -0
- package/dist/commands/sphere/attribute-groups/delete.d.ts.map +1 -0
- package/dist/commands/sphere/attribute-groups/delete.js +7 -0
- package/dist/commands/sphere/attribute-groups/delete.js.map +1 -0
- package/dist/commands/sphere/attribute-groups/get.d.ts +3 -0
- package/dist/commands/sphere/attribute-groups/get.d.ts.map +1 -0
- package/dist/commands/sphere/attribute-groups/get.js +7 -0
- package/dist/commands/sphere/attribute-groups/get.js.map +1 -0
- package/dist/commands/sphere/attribute-groups/list.d.ts +3 -0
- package/dist/commands/sphere/attribute-groups/list.d.ts.map +1 -0
- package/dist/commands/sphere/attribute-groups/list.js +7 -0
- package/dist/commands/sphere/attribute-groups/list.js.map +1 -0
- package/dist/commands/sphere/attribute-groups/update.d.ts +3 -0
- package/dist/commands/sphere/attribute-groups/update.d.ts.map +1 -0
- package/dist/commands/sphere/attribute-groups/update.js +7 -0
- package/dist/commands/sphere/attribute-groups/update.js.map +1 -0
- package/dist/commands/sphere/business-units/create.d.ts +3 -0
- package/dist/commands/sphere/business-units/create.d.ts.map +1 -0
- package/dist/commands/sphere/business-units/create.js +7 -0
- package/dist/commands/sphere/business-units/create.js.map +1 -0
- package/dist/commands/sphere/business-units/delete.d.ts +3 -0
- package/dist/commands/sphere/business-units/delete.d.ts.map +1 -0
- package/dist/commands/sphere/business-units/delete.js +7 -0
- package/dist/commands/sphere/business-units/delete.js.map +1 -0
- package/dist/commands/sphere/business-units/get.d.ts +3 -0
- package/dist/commands/sphere/business-units/get.d.ts.map +1 -0
- package/dist/commands/sphere/business-units/get.js +7 -0
- package/dist/commands/sphere/business-units/get.js.map +1 -0
- package/dist/commands/sphere/business-units/list.d.ts +3 -0
- package/dist/commands/sphere/business-units/list.d.ts.map +1 -0
- package/dist/commands/sphere/business-units/list.js +7 -0
- package/dist/commands/sphere/business-units/list.js.map +1 -0
- package/dist/commands/sphere/business-units/update.d.ts +3 -0
- package/dist/commands/sphere/business-units/update.d.ts.map +1 -0
- package/dist/commands/sphere/business-units/update.js +7 -0
- package/dist/commands/sphere/business-units/update.js.map +1 -0
- package/dist/commands/sphere/cart-discounts/create.d.ts +3 -0
- package/dist/commands/sphere/cart-discounts/create.d.ts.map +1 -0
- package/dist/commands/sphere/cart-discounts/create.js +7 -0
- package/dist/commands/sphere/cart-discounts/create.js.map +1 -0
- package/dist/commands/sphere/cart-discounts/delete.d.ts +3 -0
- package/dist/commands/sphere/cart-discounts/delete.d.ts.map +1 -0
- package/dist/commands/sphere/cart-discounts/delete.js +7 -0
- package/dist/commands/sphere/cart-discounts/delete.js.map +1 -0
- package/dist/commands/sphere/cart-discounts/get.d.ts +3 -0
- package/dist/commands/sphere/cart-discounts/get.d.ts.map +1 -0
- package/dist/commands/sphere/cart-discounts/get.js +7 -0
- package/dist/commands/sphere/cart-discounts/get.js.map +1 -0
- package/dist/commands/sphere/cart-discounts/list.d.ts +3 -0
- package/dist/commands/sphere/cart-discounts/list.d.ts.map +1 -0
- package/dist/commands/sphere/cart-discounts/list.js +7 -0
- package/dist/commands/sphere/cart-discounts/list.js.map +1 -0
- package/dist/commands/sphere/cart-discounts/update.d.ts +3 -0
- package/dist/commands/sphere/cart-discounts/update.d.ts.map +1 -0
- package/dist/commands/sphere/cart-discounts/update.js +7 -0
- package/dist/commands/sphere/cart-discounts/update.js.map +1 -0
- package/dist/commands/sphere/carts/create.d.ts +3 -0
- package/dist/commands/sphere/carts/create.d.ts.map +1 -0
- package/dist/commands/sphere/carts/create.js +6 -0
- package/dist/commands/sphere/carts/create.js.map +1 -0
- package/dist/commands/sphere/carts/delete.d.ts +3 -0
- package/dist/commands/sphere/carts/delete.d.ts.map +1 -0
- package/dist/commands/sphere/carts/delete.js +6 -0
- package/dist/commands/sphere/carts/delete.js.map +1 -0
- package/dist/commands/sphere/carts/get.d.ts +3 -0
- package/dist/commands/sphere/carts/get.d.ts.map +1 -0
- package/dist/commands/sphere/carts/get.js +6 -0
- package/dist/commands/sphere/carts/get.js.map +1 -0
- package/dist/commands/sphere/carts/list.d.ts +3 -0
- package/dist/commands/sphere/carts/list.d.ts.map +1 -0
- package/dist/commands/sphere/carts/list.js +6 -0
- package/dist/commands/sphere/carts/list.js.map +1 -0
- package/dist/commands/sphere/carts/update.d.ts +3 -0
- package/dist/commands/sphere/carts/update.d.ts.map +1 -0
- package/dist/commands/sphere/carts/update.js +6 -0
- package/dist/commands/sphere/carts/update.js.map +1 -0
- package/dist/commands/sphere/categories/create.d.ts +3 -0
- package/dist/commands/sphere/categories/create.d.ts.map +1 -0
- package/dist/commands/sphere/categories/create.js +7 -0
- package/dist/commands/sphere/categories/create.js.map +1 -0
- package/dist/commands/sphere/categories/delete.d.ts +3 -0
- package/dist/commands/sphere/categories/delete.d.ts.map +1 -0
- package/dist/commands/sphere/categories/delete.js +7 -0
- package/dist/commands/sphere/categories/delete.js.map +1 -0
- package/dist/commands/sphere/categories/get.d.ts +3 -0
- package/dist/commands/sphere/categories/get.d.ts.map +1 -0
- package/dist/commands/sphere/categories/get.js +7 -0
- package/dist/commands/sphere/categories/get.js.map +1 -0
- package/dist/commands/sphere/categories/list.d.ts +3 -0
- package/dist/commands/sphere/categories/list.d.ts.map +1 -0
- package/dist/commands/sphere/categories/list.js +7 -0
- package/dist/commands/sphere/categories/list.js.map +1 -0
- package/dist/commands/sphere/categories/update.d.ts +3 -0
- package/dist/commands/sphere/categories/update.d.ts.map +1 -0
- package/dist/commands/sphere/categories/update.js +7 -0
- package/dist/commands/sphere/categories/update.js.map +1 -0
- package/dist/commands/sphere/channels/create.d.ts +3 -0
- package/dist/commands/sphere/channels/create.d.ts.map +1 -0
- package/dist/commands/sphere/channels/create.js +7 -0
- package/dist/commands/sphere/channels/create.js.map +1 -0
- package/dist/commands/sphere/channels/delete.d.ts +3 -0
- package/dist/commands/sphere/channels/delete.d.ts.map +1 -0
- package/dist/commands/sphere/channels/delete.js +7 -0
- package/dist/commands/sphere/channels/delete.js.map +1 -0
- package/dist/commands/sphere/channels/get.d.ts +3 -0
- package/dist/commands/sphere/channels/get.d.ts.map +1 -0
- package/dist/commands/sphere/channels/get.js +7 -0
- package/dist/commands/sphere/channels/get.js.map +1 -0
- package/dist/commands/sphere/channels/list.d.ts +3 -0
- package/dist/commands/sphere/channels/list.d.ts.map +1 -0
- package/dist/commands/sphere/channels/list.js +7 -0
- package/dist/commands/sphere/channels/list.js.map +1 -0
- package/dist/commands/sphere/channels/update.d.ts +3 -0
- package/dist/commands/sphere/channels/update.d.ts.map +1 -0
- package/dist/commands/sphere/channels/update.js +7 -0
- package/dist/commands/sphere/channels/update.js.map +1 -0
- package/dist/commands/sphere/custom-objects/create.d.ts +11 -0
- package/dist/commands/sphere/custom-objects/create.d.ts.map +1 -0
- package/dist/commands/sphere/custom-objects/create.js +23 -0
- package/dist/commands/sphere/custom-objects/create.js.map +1 -0
- package/dist/commands/sphere/custom-objects/delete.d.ts +13 -0
- package/dist/commands/sphere/custom-objects/delete.d.ts.map +1 -0
- package/dist/commands/sphere/custom-objects/delete.js +29 -0
- package/dist/commands/sphere/custom-objects/delete.js.map +1 -0
- package/dist/commands/sphere/custom-objects/get.d.ts +12 -0
- package/dist/commands/sphere/custom-objects/get.d.ts.map +1 -0
- package/dist/commands/sphere/custom-objects/get.js +22 -0
- package/dist/commands/sphere/custom-objects/get.js.map +1 -0
- package/dist/commands/sphere/custom-objects/list.d.ts +15 -0
- package/dist/commands/sphere/custom-objects/list.d.ts.map +1 -0
- package/dist/commands/sphere/custom-objects/list.js +38 -0
- package/dist/commands/sphere/custom-objects/list.js.map +1 -0
- package/dist/commands/sphere/customer-groups/create.d.ts +3 -0
- package/dist/commands/sphere/customer-groups/create.d.ts.map +1 -0
- package/dist/commands/sphere/customer-groups/create.js +7 -0
- package/dist/commands/sphere/customer-groups/create.js.map +1 -0
- package/dist/commands/sphere/customer-groups/delete.d.ts +3 -0
- package/dist/commands/sphere/customer-groups/delete.d.ts.map +1 -0
- package/dist/commands/sphere/customer-groups/delete.js +7 -0
- package/dist/commands/sphere/customer-groups/delete.js.map +1 -0
- package/dist/commands/sphere/customer-groups/get.d.ts +3 -0
- package/dist/commands/sphere/customer-groups/get.d.ts.map +1 -0
- package/dist/commands/sphere/customer-groups/get.js +7 -0
- package/dist/commands/sphere/customer-groups/get.js.map +1 -0
- package/dist/commands/sphere/customer-groups/list.d.ts +3 -0
- package/dist/commands/sphere/customer-groups/list.d.ts.map +1 -0
- package/dist/commands/sphere/customer-groups/list.js +7 -0
- package/dist/commands/sphere/customer-groups/list.js.map +1 -0
- package/dist/commands/sphere/customer-groups/update.d.ts +3 -0
- package/dist/commands/sphere/customer-groups/update.d.ts.map +1 -0
- package/dist/commands/sphere/customer-groups/update.js +7 -0
- package/dist/commands/sphere/customer-groups/update.js.map +1 -0
- package/dist/commands/sphere/customers/create.d.ts +3 -0
- package/dist/commands/sphere/customers/create.d.ts.map +1 -0
- package/dist/commands/sphere/customers/create.js +7 -0
- package/dist/commands/sphere/customers/create.js.map +1 -0
- package/dist/commands/sphere/customers/delete.d.ts +3 -0
- package/dist/commands/sphere/customers/delete.d.ts.map +1 -0
- package/dist/commands/sphere/customers/delete.js +7 -0
- package/dist/commands/sphere/customers/delete.js.map +1 -0
- package/dist/commands/sphere/customers/get.d.ts +3 -0
- package/dist/commands/sphere/customers/get.d.ts.map +1 -0
- package/dist/commands/sphere/customers/get.js +7 -0
- package/dist/commands/sphere/customers/get.js.map +1 -0
- package/dist/commands/sphere/customers/list.d.ts +3 -0
- package/dist/commands/sphere/customers/list.d.ts.map +1 -0
- package/dist/commands/sphere/customers/list.js +7 -0
- package/dist/commands/sphere/customers/list.js.map +1 -0
- package/dist/commands/sphere/customers/update.d.ts +3 -0
- package/dist/commands/sphere/customers/update.d.ts.map +1 -0
- package/dist/commands/sphere/customers/update.js +7 -0
- package/dist/commands/sphere/customers/update.js.map +1 -0
- package/dist/commands/sphere/discount-codes/create.d.ts +3 -0
- package/dist/commands/sphere/discount-codes/create.d.ts.map +1 -0
- package/dist/commands/sphere/discount-codes/create.js +7 -0
- package/dist/commands/sphere/discount-codes/create.js.map +1 -0
- package/dist/commands/sphere/discount-codes/delete.d.ts +3 -0
- package/dist/commands/sphere/discount-codes/delete.d.ts.map +1 -0
- package/dist/commands/sphere/discount-codes/delete.js +7 -0
- package/dist/commands/sphere/discount-codes/delete.js.map +1 -0
- package/dist/commands/sphere/discount-codes/get.d.ts +3 -0
- package/dist/commands/sphere/discount-codes/get.d.ts.map +1 -0
- package/dist/commands/sphere/discount-codes/get.js +7 -0
- package/dist/commands/sphere/discount-codes/get.js.map +1 -0
- package/dist/commands/sphere/discount-codes/list.d.ts +3 -0
- package/dist/commands/sphere/discount-codes/list.d.ts.map +1 -0
- package/dist/commands/sphere/discount-codes/list.js +7 -0
- package/dist/commands/sphere/discount-codes/list.js.map +1 -0
- package/dist/commands/sphere/discount-codes/update.d.ts +3 -0
- package/dist/commands/sphere/discount-codes/update.d.ts.map +1 -0
- package/dist/commands/sphere/discount-codes/update.js +7 -0
- package/dist/commands/sphere/discount-codes/update.js.map +1 -0
- package/dist/commands/sphere/discount-groups/create.d.ts +3 -0
- package/dist/commands/sphere/discount-groups/create.d.ts.map +1 -0
- package/dist/commands/sphere/discount-groups/create.js +7 -0
- package/dist/commands/sphere/discount-groups/create.js.map +1 -0
- package/dist/commands/sphere/discount-groups/delete.d.ts +3 -0
- package/dist/commands/sphere/discount-groups/delete.d.ts.map +1 -0
- package/dist/commands/sphere/discount-groups/delete.js +7 -0
- package/dist/commands/sphere/discount-groups/delete.js.map +1 -0
- package/dist/commands/sphere/discount-groups/get.d.ts +3 -0
- package/dist/commands/sphere/discount-groups/get.d.ts.map +1 -0
- package/dist/commands/sphere/discount-groups/get.js +7 -0
- package/dist/commands/sphere/discount-groups/get.js.map +1 -0
- package/dist/commands/sphere/discount-groups/list.d.ts +3 -0
- package/dist/commands/sphere/discount-groups/list.d.ts.map +1 -0
- package/dist/commands/sphere/discount-groups/list.js +7 -0
- package/dist/commands/sphere/discount-groups/list.js.map +1 -0
- package/dist/commands/sphere/discount-groups/update.d.ts +3 -0
- package/dist/commands/sphere/discount-groups/update.d.ts.map +1 -0
- package/dist/commands/sphere/discount-groups/update.js +7 -0
- package/dist/commands/sphere/discount-groups/update.js.map +1 -0
- package/dist/commands/sphere/extensions/create.d.ts +3 -0
- package/dist/commands/sphere/extensions/create.d.ts.map +1 -0
- package/dist/commands/sphere/extensions/create.js +7 -0
- package/dist/commands/sphere/extensions/create.js.map +1 -0
- package/dist/commands/sphere/extensions/delete.d.ts +3 -0
- package/dist/commands/sphere/extensions/delete.d.ts.map +1 -0
- package/dist/commands/sphere/extensions/delete.js +7 -0
- package/dist/commands/sphere/extensions/delete.js.map +1 -0
- package/dist/commands/sphere/extensions/get.d.ts +3 -0
- package/dist/commands/sphere/extensions/get.d.ts.map +1 -0
- package/dist/commands/sphere/extensions/get.js +7 -0
- package/dist/commands/sphere/extensions/get.js.map +1 -0
- package/dist/commands/sphere/extensions/list.d.ts +3 -0
- package/dist/commands/sphere/extensions/list.d.ts.map +1 -0
- package/dist/commands/sphere/extensions/list.js +7 -0
- package/dist/commands/sphere/extensions/list.js.map +1 -0
- package/dist/commands/sphere/extensions/update.d.ts +3 -0
- package/dist/commands/sphere/extensions/update.d.ts.map +1 -0
- package/dist/commands/sphere/extensions/update.js +7 -0
- package/dist/commands/sphere/extensions/update.js.map +1 -0
- package/dist/commands/sphere/inventory/create.d.ts +3 -0
- package/dist/commands/sphere/inventory/create.d.ts.map +1 -0
- package/dist/commands/sphere/inventory/create.js +6 -0
- package/dist/commands/sphere/inventory/create.js.map +1 -0
- package/dist/commands/sphere/inventory/delete.d.ts +3 -0
- package/dist/commands/sphere/inventory/delete.d.ts.map +1 -0
- package/dist/commands/sphere/inventory/delete.js +6 -0
- package/dist/commands/sphere/inventory/delete.js.map +1 -0
- package/dist/commands/sphere/inventory/get.d.ts +3 -0
- package/dist/commands/sphere/inventory/get.d.ts.map +1 -0
- package/dist/commands/sphere/inventory/get.js +6 -0
- package/dist/commands/sphere/inventory/get.js.map +1 -0
- package/dist/commands/sphere/inventory/list.d.ts +3 -0
- package/dist/commands/sphere/inventory/list.d.ts.map +1 -0
- package/dist/commands/sphere/inventory/list.js +6 -0
- package/dist/commands/sphere/inventory/list.js.map +1 -0
- package/dist/commands/sphere/inventory/update.d.ts +3 -0
- package/dist/commands/sphere/inventory/update.d.ts.map +1 -0
- package/dist/commands/sphere/inventory/update.js +6 -0
- package/dist/commands/sphere/inventory/update.js.map +1 -0
- package/dist/commands/sphere/me/carts/create.d.ts +3 -0
- package/dist/commands/sphere/me/carts/create.d.ts.map +1 -0
- package/dist/commands/sphere/me/carts/create.js +6 -0
- package/dist/commands/sphere/me/carts/create.js.map +1 -0
- package/dist/commands/sphere/me/carts/get.d.ts +3 -0
- package/dist/commands/sphere/me/carts/get.d.ts.map +1 -0
- package/dist/commands/sphere/me/carts/get.js +6 -0
- package/dist/commands/sphere/me/carts/get.js.map +1 -0
- package/dist/commands/sphere/me/carts/list.d.ts +3 -0
- package/dist/commands/sphere/me/carts/list.d.ts.map +1 -0
- package/dist/commands/sphere/me/carts/list.js +6 -0
- package/dist/commands/sphere/me/carts/list.js.map +1 -0
- package/dist/commands/sphere/me/carts/update.d.ts +3 -0
- package/dist/commands/sphere/me/carts/update.d.ts.map +1 -0
- package/dist/commands/sphere/me/carts/update.js +6 -0
- package/dist/commands/sphere/me/carts/update.js.map +1 -0
- package/dist/commands/sphere/me/orders/get.d.ts +3 -0
- package/dist/commands/sphere/me/orders/get.d.ts.map +1 -0
- package/dist/commands/sphere/me/orders/get.js +6 -0
- package/dist/commands/sphere/me/orders/get.js.map +1 -0
- package/dist/commands/sphere/me/orders/list.d.ts +3 -0
- package/dist/commands/sphere/me/orders/list.d.ts.map +1 -0
- package/dist/commands/sphere/me/orders/list.js +6 -0
- package/dist/commands/sphere/me/orders/list.js.map +1 -0
- package/dist/commands/sphere/orders/create.d.ts +3 -0
- package/dist/commands/sphere/orders/create.d.ts.map +1 -0
- package/dist/commands/sphere/orders/create.js +7 -0
- package/dist/commands/sphere/orders/create.js.map +1 -0
- package/dist/commands/sphere/orders/delete.d.ts +3 -0
- package/dist/commands/sphere/orders/delete.d.ts.map +1 -0
- package/dist/commands/sphere/orders/delete.js +7 -0
- package/dist/commands/sphere/orders/delete.js.map +1 -0
- package/dist/commands/sphere/orders/get.d.ts +3 -0
- package/dist/commands/sphere/orders/get.d.ts.map +1 -0
- package/dist/commands/sphere/orders/get.js +7 -0
- package/dist/commands/sphere/orders/get.js.map +1 -0
- package/dist/commands/sphere/orders/list.d.ts +3 -0
- package/dist/commands/sphere/orders/list.d.ts.map +1 -0
- package/dist/commands/sphere/orders/list.js +7 -0
- package/dist/commands/sphere/orders/list.js.map +1 -0
- package/dist/commands/sphere/orders/update.d.ts +3 -0
- package/dist/commands/sphere/orders/update.d.ts.map +1 -0
- package/dist/commands/sphere/orders/update.js +7 -0
- package/dist/commands/sphere/orders/update.js.map +1 -0
- package/dist/commands/sphere/payment-methods/create.d.ts +3 -0
- package/dist/commands/sphere/payment-methods/create.d.ts.map +1 -0
- package/dist/commands/sphere/payment-methods/create.js +7 -0
- package/dist/commands/sphere/payment-methods/create.js.map +1 -0
- package/dist/commands/sphere/payment-methods/delete.d.ts +3 -0
- package/dist/commands/sphere/payment-methods/delete.d.ts.map +1 -0
- package/dist/commands/sphere/payment-methods/delete.js +7 -0
- package/dist/commands/sphere/payment-methods/delete.js.map +1 -0
- package/dist/commands/sphere/payment-methods/get.d.ts +3 -0
- package/dist/commands/sphere/payment-methods/get.d.ts.map +1 -0
- package/dist/commands/sphere/payment-methods/get.js +7 -0
- package/dist/commands/sphere/payment-methods/get.js.map +1 -0
- package/dist/commands/sphere/payment-methods/list.d.ts +3 -0
- package/dist/commands/sphere/payment-methods/list.d.ts.map +1 -0
- package/dist/commands/sphere/payment-methods/list.js +7 -0
- package/dist/commands/sphere/payment-methods/list.js.map +1 -0
- package/dist/commands/sphere/payment-methods/update.d.ts +3 -0
- package/dist/commands/sphere/payment-methods/update.d.ts.map +1 -0
- package/dist/commands/sphere/payment-methods/update.js +7 -0
- package/dist/commands/sphere/payment-methods/update.js.map +1 -0
- package/dist/commands/sphere/payments/create.d.ts +3 -0
- package/dist/commands/sphere/payments/create.d.ts.map +1 -0
- package/dist/commands/sphere/payments/create.js +7 -0
- package/dist/commands/sphere/payments/create.js.map +1 -0
- package/dist/commands/sphere/payments/delete.d.ts +3 -0
- package/dist/commands/sphere/payments/delete.d.ts.map +1 -0
- package/dist/commands/sphere/payments/delete.js +7 -0
- package/dist/commands/sphere/payments/delete.js.map +1 -0
- package/dist/commands/sphere/payments/get.d.ts +3 -0
- package/dist/commands/sphere/payments/get.d.ts.map +1 -0
- package/dist/commands/sphere/payments/get.js +7 -0
- package/dist/commands/sphere/payments/get.js.map +1 -0
- package/dist/commands/sphere/payments/list.d.ts +3 -0
- package/dist/commands/sphere/payments/list.d.ts.map +1 -0
- package/dist/commands/sphere/payments/list.js +7 -0
- package/dist/commands/sphere/payments/list.js.map +1 -0
- package/dist/commands/sphere/payments/update.d.ts +3 -0
- package/dist/commands/sphere/payments/update.d.ts.map +1 -0
- package/dist/commands/sphere/payments/update.js +7 -0
- package/dist/commands/sphere/payments/update.js.map +1 -0
- package/dist/commands/sphere/product-discounts/create.d.ts +3 -0
- package/dist/commands/sphere/product-discounts/create.d.ts.map +1 -0
- package/dist/commands/sphere/product-discounts/create.js +7 -0
- package/dist/commands/sphere/product-discounts/create.js.map +1 -0
- package/dist/commands/sphere/product-discounts/delete.d.ts +3 -0
- package/dist/commands/sphere/product-discounts/delete.d.ts.map +1 -0
- package/dist/commands/sphere/product-discounts/delete.js +7 -0
- package/dist/commands/sphere/product-discounts/delete.js.map +1 -0
- package/dist/commands/sphere/product-discounts/get.d.ts +3 -0
- package/dist/commands/sphere/product-discounts/get.d.ts.map +1 -0
- package/dist/commands/sphere/product-discounts/get.js +7 -0
- package/dist/commands/sphere/product-discounts/get.js.map +1 -0
- package/dist/commands/sphere/product-discounts/list.d.ts +3 -0
- package/dist/commands/sphere/product-discounts/list.d.ts.map +1 -0
- package/dist/commands/sphere/product-discounts/list.js +7 -0
- package/dist/commands/sphere/product-discounts/list.js.map +1 -0
- package/dist/commands/sphere/product-discounts/update.d.ts +3 -0
- package/dist/commands/sphere/product-discounts/update.d.ts.map +1 -0
- package/dist/commands/sphere/product-discounts/update.js +7 -0
- package/dist/commands/sphere/product-discounts/update.js.map +1 -0
- package/dist/commands/sphere/product-projections/get.d.ts +3 -0
- package/dist/commands/sphere/product-projections/get.d.ts.map +1 -0
- package/dist/commands/sphere/product-projections/get.js +7 -0
- package/dist/commands/sphere/product-projections/get.js.map +1 -0
- package/dist/commands/sphere/product-projections/list.d.ts +3 -0
- package/dist/commands/sphere/product-projections/list.d.ts.map +1 -0
- package/dist/commands/sphere/product-projections/list.js +7 -0
- package/dist/commands/sphere/product-projections/list.js.map +1 -0
- package/dist/commands/sphere/product-selections/create.d.ts +3 -0
- package/dist/commands/sphere/product-selections/create.d.ts.map +1 -0
- package/dist/commands/sphere/product-selections/create.js +7 -0
- package/dist/commands/sphere/product-selections/create.js.map +1 -0
- package/dist/commands/sphere/product-selections/delete.d.ts +3 -0
- package/dist/commands/sphere/product-selections/delete.d.ts.map +1 -0
- package/dist/commands/sphere/product-selections/delete.js +7 -0
- package/dist/commands/sphere/product-selections/delete.js.map +1 -0
- package/dist/commands/sphere/product-selections/get.d.ts +3 -0
- package/dist/commands/sphere/product-selections/get.d.ts.map +1 -0
- package/dist/commands/sphere/product-selections/get.js +7 -0
- package/dist/commands/sphere/product-selections/get.js.map +1 -0
- package/dist/commands/sphere/product-selections/list.d.ts +3 -0
- package/dist/commands/sphere/product-selections/list.d.ts.map +1 -0
- package/dist/commands/sphere/product-selections/list.js +7 -0
- package/dist/commands/sphere/product-selections/list.js.map +1 -0
- package/dist/commands/sphere/product-selections/update.d.ts +3 -0
- package/dist/commands/sphere/product-selections/update.d.ts.map +1 -0
- package/dist/commands/sphere/product-selections/update.js +7 -0
- package/dist/commands/sphere/product-selections/update.js.map +1 -0
- package/dist/commands/sphere/product-tailoring/create.d.ts +3 -0
- package/dist/commands/sphere/product-tailoring/create.d.ts.map +1 -0
- package/dist/commands/sphere/product-tailoring/create.js +7 -0
- package/dist/commands/sphere/product-tailoring/create.js.map +1 -0
- package/dist/commands/sphere/product-tailoring/delete.d.ts +3 -0
- package/dist/commands/sphere/product-tailoring/delete.d.ts.map +1 -0
- package/dist/commands/sphere/product-tailoring/delete.js +7 -0
- package/dist/commands/sphere/product-tailoring/delete.js.map +1 -0
- package/dist/commands/sphere/product-tailoring/get.d.ts +3 -0
- package/dist/commands/sphere/product-tailoring/get.d.ts.map +1 -0
- package/dist/commands/sphere/product-tailoring/get.js +7 -0
- package/dist/commands/sphere/product-tailoring/get.js.map +1 -0
- package/dist/commands/sphere/product-tailoring/list.d.ts +3 -0
- package/dist/commands/sphere/product-tailoring/list.d.ts.map +1 -0
- package/dist/commands/sphere/product-tailoring/list.js +7 -0
- package/dist/commands/sphere/product-tailoring/list.js.map +1 -0
- package/dist/commands/sphere/product-tailoring/update.d.ts +3 -0
- package/dist/commands/sphere/product-tailoring/update.d.ts.map +1 -0
- package/dist/commands/sphere/product-tailoring/update.js +7 -0
- package/dist/commands/sphere/product-tailoring/update.js.map +1 -0
- package/dist/commands/sphere/product-types/create.d.ts +3 -0
- package/dist/commands/sphere/product-types/create.d.ts.map +1 -0
- package/dist/commands/sphere/product-types/create.js +7 -0
- package/dist/commands/sphere/product-types/create.js.map +1 -0
- package/dist/commands/sphere/product-types/delete.d.ts +3 -0
- package/dist/commands/sphere/product-types/delete.d.ts.map +1 -0
- package/dist/commands/sphere/product-types/delete.js +7 -0
- package/dist/commands/sphere/product-types/delete.js.map +1 -0
- package/dist/commands/sphere/product-types/get.d.ts +3 -0
- package/dist/commands/sphere/product-types/get.d.ts.map +1 -0
- package/dist/commands/sphere/product-types/get.js +7 -0
- package/dist/commands/sphere/product-types/get.js.map +1 -0
- package/dist/commands/sphere/product-types/list.d.ts +3 -0
- package/dist/commands/sphere/product-types/list.d.ts.map +1 -0
- package/dist/commands/sphere/product-types/list.js +7 -0
- package/dist/commands/sphere/product-types/list.js.map +1 -0
- package/dist/commands/sphere/product-types/update.d.ts +3 -0
- package/dist/commands/sphere/product-types/update.d.ts.map +1 -0
- package/dist/commands/sphere/product-types/update.js +7 -0
- package/dist/commands/sphere/product-types/update.js.map +1 -0
- package/dist/commands/sphere/products/create.d.ts +3 -0
- package/dist/commands/sphere/products/create.d.ts.map +1 -0
- package/dist/commands/sphere/products/create.js +7 -0
- package/dist/commands/sphere/products/create.js.map +1 -0
- package/dist/commands/sphere/products/delete.d.ts +3 -0
- package/dist/commands/sphere/products/delete.d.ts.map +1 -0
- package/dist/commands/sphere/products/delete.js +7 -0
- package/dist/commands/sphere/products/delete.js.map +1 -0
- package/dist/commands/sphere/products/get.d.ts +3 -0
- package/dist/commands/sphere/products/get.d.ts.map +1 -0
- package/dist/commands/sphere/products/get.js +7 -0
- package/dist/commands/sphere/products/get.js.map +1 -0
- package/dist/commands/sphere/products/list.d.ts +3 -0
- package/dist/commands/sphere/products/list.d.ts.map +1 -0
- package/dist/commands/sphere/products/list.js +7 -0
- package/dist/commands/sphere/products/list.js.map +1 -0
- package/dist/commands/sphere/products/update.d.ts +3 -0
- package/dist/commands/sphere/products/update.d.ts.map +1 -0
- package/dist/commands/sphere/products/update.js +7 -0
- package/dist/commands/sphere/products/update.js.map +1 -0
- package/dist/commands/sphere/quote-requests/create.d.ts +3 -0
- package/dist/commands/sphere/quote-requests/create.d.ts.map +1 -0
- package/dist/commands/sphere/quote-requests/create.js +7 -0
- package/dist/commands/sphere/quote-requests/create.js.map +1 -0
- package/dist/commands/sphere/quote-requests/delete.d.ts +3 -0
- package/dist/commands/sphere/quote-requests/delete.d.ts.map +1 -0
- package/dist/commands/sphere/quote-requests/delete.js +7 -0
- package/dist/commands/sphere/quote-requests/delete.js.map +1 -0
- package/dist/commands/sphere/quote-requests/get.d.ts +3 -0
- package/dist/commands/sphere/quote-requests/get.d.ts.map +1 -0
- package/dist/commands/sphere/quote-requests/get.js +7 -0
- package/dist/commands/sphere/quote-requests/get.js.map +1 -0
- package/dist/commands/sphere/quote-requests/list.d.ts +3 -0
- package/dist/commands/sphere/quote-requests/list.d.ts.map +1 -0
- package/dist/commands/sphere/quote-requests/list.js +7 -0
- package/dist/commands/sphere/quote-requests/list.js.map +1 -0
- package/dist/commands/sphere/quote-requests/update.d.ts +3 -0
- package/dist/commands/sphere/quote-requests/update.d.ts.map +1 -0
- package/dist/commands/sphere/quote-requests/update.js +7 -0
- package/dist/commands/sphere/quote-requests/update.js.map +1 -0
- package/dist/commands/sphere/quotes/create.d.ts +3 -0
- package/dist/commands/sphere/quotes/create.d.ts.map +1 -0
- package/dist/commands/sphere/quotes/create.js +7 -0
- package/dist/commands/sphere/quotes/create.js.map +1 -0
- package/dist/commands/sphere/quotes/delete.d.ts +3 -0
- package/dist/commands/sphere/quotes/delete.d.ts.map +1 -0
- package/dist/commands/sphere/quotes/delete.js +7 -0
- package/dist/commands/sphere/quotes/delete.js.map +1 -0
- package/dist/commands/sphere/quotes/get.d.ts +3 -0
- package/dist/commands/sphere/quotes/get.d.ts.map +1 -0
- package/dist/commands/sphere/quotes/get.js +7 -0
- package/dist/commands/sphere/quotes/get.js.map +1 -0
- package/dist/commands/sphere/quotes/list.d.ts +3 -0
- package/dist/commands/sphere/quotes/list.d.ts.map +1 -0
- package/dist/commands/sphere/quotes/list.js +7 -0
- package/dist/commands/sphere/quotes/list.js.map +1 -0
- package/dist/commands/sphere/quotes/update.d.ts +3 -0
- package/dist/commands/sphere/quotes/update.d.ts.map +1 -0
- package/dist/commands/sphere/quotes/update.js +7 -0
- package/dist/commands/sphere/quotes/update.js.map +1 -0
- package/dist/commands/sphere/reviews/create.d.ts +3 -0
- package/dist/commands/sphere/reviews/create.d.ts.map +1 -0
- package/dist/commands/sphere/reviews/create.js +6 -0
- package/dist/commands/sphere/reviews/create.js.map +1 -0
- package/dist/commands/sphere/reviews/delete.d.ts +3 -0
- package/dist/commands/sphere/reviews/delete.d.ts.map +1 -0
- package/dist/commands/sphere/reviews/delete.js +6 -0
- package/dist/commands/sphere/reviews/delete.js.map +1 -0
- package/dist/commands/sphere/reviews/get.d.ts +3 -0
- package/dist/commands/sphere/reviews/get.d.ts.map +1 -0
- package/dist/commands/sphere/reviews/get.js +6 -0
- package/dist/commands/sphere/reviews/get.js.map +1 -0
- package/dist/commands/sphere/reviews/list.d.ts +3 -0
- package/dist/commands/sphere/reviews/list.d.ts.map +1 -0
- package/dist/commands/sphere/reviews/list.js +6 -0
- package/dist/commands/sphere/reviews/list.js.map +1 -0
- package/dist/commands/sphere/reviews/update.d.ts +3 -0
- package/dist/commands/sphere/reviews/update.d.ts.map +1 -0
- package/dist/commands/sphere/reviews/update.js +6 -0
- package/dist/commands/sphere/reviews/update.js.map +1 -0
- package/dist/commands/sphere/shipping-methods/create.d.ts +3 -0
- package/dist/commands/sphere/shipping-methods/create.d.ts.map +1 -0
- package/dist/commands/sphere/shipping-methods/create.js +7 -0
- package/dist/commands/sphere/shipping-methods/create.js.map +1 -0
- package/dist/commands/sphere/shipping-methods/delete.d.ts +3 -0
- package/dist/commands/sphere/shipping-methods/delete.d.ts.map +1 -0
- package/dist/commands/sphere/shipping-methods/delete.js +7 -0
- package/dist/commands/sphere/shipping-methods/delete.js.map +1 -0
- package/dist/commands/sphere/shipping-methods/get.d.ts +3 -0
- package/dist/commands/sphere/shipping-methods/get.d.ts.map +1 -0
- package/dist/commands/sphere/shipping-methods/get.js +7 -0
- package/dist/commands/sphere/shipping-methods/get.js.map +1 -0
- package/dist/commands/sphere/shipping-methods/list.d.ts +3 -0
- package/dist/commands/sphere/shipping-methods/list.d.ts.map +1 -0
- package/dist/commands/sphere/shipping-methods/list.js +7 -0
- package/dist/commands/sphere/shipping-methods/list.js.map +1 -0
- package/dist/commands/sphere/shipping-methods/update.d.ts +3 -0
- package/dist/commands/sphere/shipping-methods/update.d.ts.map +1 -0
- package/dist/commands/sphere/shipping-methods/update.js +7 -0
- package/dist/commands/sphere/shipping-methods/update.js.map +1 -0
- package/dist/commands/sphere/shopping-lists/create.d.ts +3 -0
- package/dist/commands/sphere/shopping-lists/create.d.ts.map +1 -0
- package/dist/commands/sphere/shopping-lists/create.js +7 -0
- package/dist/commands/sphere/shopping-lists/create.js.map +1 -0
- package/dist/commands/sphere/shopping-lists/delete.d.ts +3 -0
- package/dist/commands/sphere/shopping-lists/delete.d.ts.map +1 -0
- package/dist/commands/sphere/shopping-lists/delete.js +7 -0
- package/dist/commands/sphere/shopping-lists/delete.js.map +1 -0
- package/dist/commands/sphere/shopping-lists/get.d.ts +3 -0
- package/dist/commands/sphere/shopping-lists/get.d.ts.map +1 -0
- package/dist/commands/sphere/shopping-lists/get.js +7 -0
- package/dist/commands/sphere/shopping-lists/get.js.map +1 -0
- package/dist/commands/sphere/shopping-lists/list.d.ts +3 -0
- package/dist/commands/sphere/shopping-lists/list.d.ts.map +1 -0
- package/dist/commands/sphere/shopping-lists/list.js +7 -0
- package/dist/commands/sphere/shopping-lists/list.js.map +1 -0
- package/dist/commands/sphere/shopping-lists/update.d.ts +3 -0
- package/dist/commands/sphere/shopping-lists/update.d.ts.map +1 -0
- package/dist/commands/sphere/shopping-lists/update.js +7 -0
- package/dist/commands/sphere/shopping-lists/update.js.map +1 -0
- package/dist/commands/sphere/staged-quotes/create.d.ts +3 -0
- package/dist/commands/sphere/staged-quotes/create.d.ts.map +1 -0
- package/dist/commands/sphere/staged-quotes/create.js +7 -0
- package/dist/commands/sphere/staged-quotes/create.js.map +1 -0
- package/dist/commands/sphere/staged-quotes/delete.d.ts +3 -0
- package/dist/commands/sphere/staged-quotes/delete.d.ts.map +1 -0
- package/dist/commands/sphere/staged-quotes/delete.js +7 -0
- package/dist/commands/sphere/staged-quotes/delete.js.map +1 -0
- package/dist/commands/sphere/staged-quotes/get.d.ts +3 -0
- package/dist/commands/sphere/staged-quotes/get.d.ts.map +1 -0
- package/dist/commands/sphere/staged-quotes/get.js +7 -0
- package/dist/commands/sphere/staged-quotes/get.js.map +1 -0
- package/dist/commands/sphere/staged-quotes/list.d.ts +3 -0
- package/dist/commands/sphere/staged-quotes/list.d.ts.map +1 -0
- package/dist/commands/sphere/staged-quotes/list.js +7 -0
- package/dist/commands/sphere/staged-quotes/list.js.map +1 -0
- package/dist/commands/sphere/staged-quotes/update.d.ts +3 -0
- package/dist/commands/sphere/staged-quotes/update.d.ts.map +1 -0
- package/dist/commands/sphere/staged-quotes/update.js +7 -0
- package/dist/commands/sphere/staged-quotes/update.js.map +1 -0
- package/dist/commands/sphere/states/create.d.ts +3 -0
- package/dist/commands/sphere/states/create.d.ts.map +1 -0
- package/dist/commands/sphere/states/create.js +7 -0
- package/dist/commands/sphere/states/create.js.map +1 -0
- package/dist/commands/sphere/states/delete.d.ts +3 -0
- package/dist/commands/sphere/states/delete.d.ts.map +1 -0
- package/dist/commands/sphere/states/delete.js +7 -0
- package/dist/commands/sphere/states/delete.js.map +1 -0
- package/dist/commands/sphere/states/get.d.ts +3 -0
- package/dist/commands/sphere/states/get.d.ts.map +1 -0
- package/dist/commands/sphere/states/get.js +7 -0
- package/dist/commands/sphere/states/get.js.map +1 -0
- package/dist/commands/sphere/states/list.d.ts +3 -0
- package/dist/commands/sphere/states/list.d.ts.map +1 -0
- package/dist/commands/sphere/states/list.js +7 -0
- package/dist/commands/sphere/states/list.js.map +1 -0
- package/dist/commands/sphere/states/update.d.ts +3 -0
- package/dist/commands/sphere/states/update.d.ts.map +1 -0
- package/dist/commands/sphere/states/update.js +7 -0
- package/dist/commands/sphere/states/update.js.map +1 -0
- package/dist/commands/sphere/stores/create.d.ts +3 -0
- package/dist/commands/sphere/stores/create.d.ts.map +1 -0
- package/dist/commands/sphere/stores/create.js +7 -0
- package/dist/commands/sphere/stores/create.js.map +1 -0
- package/dist/commands/sphere/stores/delete.d.ts +3 -0
- package/dist/commands/sphere/stores/delete.d.ts.map +1 -0
- package/dist/commands/sphere/stores/delete.js +7 -0
- package/dist/commands/sphere/stores/delete.js.map +1 -0
- package/dist/commands/sphere/stores/get.d.ts +3 -0
- package/dist/commands/sphere/stores/get.d.ts.map +1 -0
- package/dist/commands/sphere/stores/get.js +7 -0
- package/dist/commands/sphere/stores/get.js.map +1 -0
- package/dist/commands/sphere/stores/list.d.ts +3 -0
- package/dist/commands/sphere/stores/list.d.ts.map +1 -0
- package/dist/commands/sphere/stores/list.js +7 -0
- package/dist/commands/sphere/stores/list.js.map +1 -0
- package/dist/commands/sphere/stores/update.d.ts +3 -0
- package/dist/commands/sphere/stores/update.d.ts.map +1 -0
- package/dist/commands/sphere/stores/update.js +7 -0
- package/dist/commands/sphere/stores/update.js.map +1 -0
- package/dist/commands/sphere/subscriptions/create.d.ts +3 -0
- package/dist/commands/sphere/subscriptions/create.d.ts.map +1 -0
- package/dist/commands/sphere/subscriptions/create.js +7 -0
- package/dist/commands/sphere/subscriptions/create.js.map +1 -0
- package/dist/commands/sphere/subscriptions/delete.d.ts +3 -0
- package/dist/commands/sphere/subscriptions/delete.d.ts.map +1 -0
- package/dist/commands/sphere/subscriptions/delete.js +7 -0
- package/dist/commands/sphere/subscriptions/delete.js.map +1 -0
- package/dist/commands/sphere/subscriptions/get.d.ts +3 -0
- package/dist/commands/sphere/subscriptions/get.d.ts.map +1 -0
- package/dist/commands/sphere/subscriptions/get.js +7 -0
- package/dist/commands/sphere/subscriptions/get.js.map +1 -0
- package/dist/commands/sphere/subscriptions/list.d.ts +3 -0
- package/dist/commands/sphere/subscriptions/list.d.ts.map +1 -0
- package/dist/commands/sphere/subscriptions/list.js +7 -0
- package/dist/commands/sphere/subscriptions/list.js.map +1 -0
- package/dist/commands/sphere/subscriptions/update.d.ts +3 -0
- package/dist/commands/sphere/subscriptions/update.d.ts.map +1 -0
- package/dist/commands/sphere/subscriptions/update.js +7 -0
- package/dist/commands/sphere/subscriptions/update.js.map +1 -0
- package/dist/commands/sphere/tax-categories/create.d.ts +3 -0
- package/dist/commands/sphere/tax-categories/create.d.ts.map +1 -0
- package/dist/commands/sphere/tax-categories/create.js +7 -0
- package/dist/commands/sphere/tax-categories/create.js.map +1 -0
- package/dist/commands/sphere/tax-categories/delete.d.ts +3 -0
- package/dist/commands/sphere/tax-categories/delete.d.ts.map +1 -0
- package/dist/commands/sphere/tax-categories/delete.js +7 -0
- package/dist/commands/sphere/tax-categories/delete.js.map +1 -0
- package/dist/commands/sphere/tax-categories/get.d.ts +3 -0
- package/dist/commands/sphere/tax-categories/get.d.ts.map +1 -0
- package/dist/commands/sphere/tax-categories/get.js +7 -0
- package/dist/commands/sphere/tax-categories/get.js.map +1 -0
- package/dist/commands/sphere/tax-categories/list.d.ts +3 -0
- package/dist/commands/sphere/tax-categories/list.d.ts.map +1 -0
- package/dist/commands/sphere/tax-categories/list.js +7 -0
- package/dist/commands/sphere/tax-categories/list.js.map +1 -0
- package/dist/commands/sphere/tax-categories/update.d.ts +3 -0
- package/dist/commands/sphere/tax-categories/update.d.ts.map +1 -0
- package/dist/commands/sphere/tax-categories/update.js +7 -0
- package/dist/commands/sphere/tax-categories/update.js.map +1 -0
- package/dist/commands/sphere/types/create.d.ts +3 -0
- package/dist/commands/sphere/types/create.d.ts.map +1 -0
- package/dist/commands/sphere/types/create.js +7 -0
- package/dist/commands/sphere/types/create.js.map +1 -0
- package/dist/commands/sphere/types/delete.d.ts +3 -0
- package/dist/commands/sphere/types/delete.d.ts.map +1 -0
- package/dist/commands/sphere/types/delete.js +7 -0
- package/dist/commands/sphere/types/delete.js.map +1 -0
- package/dist/commands/sphere/types/get.d.ts +3 -0
- package/dist/commands/sphere/types/get.d.ts.map +1 -0
- package/dist/commands/sphere/types/get.js +7 -0
- package/dist/commands/sphere/types/get.js.map +1 -0
- package/dist/commands/sphere/types/list.d.ts +3 -0
- package/dist/commands/sphere/types/list.d.ts.map +1 -0
- package/dist/commands/sphere/types/list.js +7 -0
- package/dist/commands/sphere/types/list.js.map +1 -0
- package/dist/commands/sphere/types/update.d.ts +3 -0
- package/dist/commands/sphere/types/update.d.ts.map +1 -0
- package/dist/commands/sphere/types/update.js +7 -0
- package/dist/commands/sphere/types/update.js.map +1 -0
- package/dist/commands/sphere/zones/create.d.ts +3 -0
- package/dist/commands/sphere/zones/create.d.ts.map +1 -0
- package/dist/commands/sphere/zones/create.js +7 -0
- package/dist/commands/sphere/zones/create.js.map +1 -0
- package/dist/commands/sphere/zones/delete.d.ts +3 -0
- package/dist/commands/sphere/zones/delete.d.ts.map +1 -0
- package/dist/commands/sphere/zones/delete.js +7 -0
- package/dist/commands/sphere/zones/delete.js.map +1 -0
- package/dist/commands/sphere/zones/get.d.ts +3 -0
- package/dist/commands/sphere/zones/get.d.ts.map +1 -0
- package/dist/commands/sphere/zones/get.js +7 -0
- package/dist/commands/sphere/zones/get.js.map +1 -0
- package/dist/commands/sphere/zones/list.d.ts +3 -0
- package/dist/commands/sphere/zones/list.d.ts.map +1 -0
- package/dist/commands/sphere/zones/list.js +7 -0
- package/dist/commands/sphere/zones/list.js.map +1 -0
- package/dist/commands/sphere/zones/update.d.ts +3 -0
- package/dist/commands/sphere/zones/update.d.ts.map +1 -0
- package/dist/commands/sphere/zones/update.js +7 -0
- package/dist/commands/sphere/zones/update.js.map +1 -0
- package/dist/common/crud/body-parser.d.ts +2 -0
- package/dist/common/crud/body-parser.d.ts.map +1 -0
- package/dist/common/crud/body-parser.js +9 -0
- package/dist/common/crud/body-parser.js.map +1 -0
- package/dist/common/crud/create.d.ts +4 -0
- package/dist/common/crud/create.d.ts.map +1 -0
- package/dist/common/crud/create.js +25 -0
- package/dist/common/crud/create.js.map +1 -0
- package/dist/common/crud/delete.d.ts +4 -0
- package/dist/common/crud/delete.d.ts.map +1 -0
- package/dist/common/crud/delete.js +44 -0
- package/dist/common/crud/delete.js.map +1 -0
- package/dist/common/crud/get.d.ts +4 -0
- package/dist/common/crud/get.d.ts.map +1 -0
- package/dist/common/crud/get.js +39 -0
- package/dist/common/crud/get.js.map +1 -0
- package/dist/common/crud/list.d.ts +4 -0
- package/dist/common/crud/list.d.ts.map +1 -0
- package/dist/common/crud/list.js +44 -0
- package/dist/common/crud/list.js.map +1 -0
- package/dist/common/crud/resource-config.d.ts +6 -0
- package/dist/common/crud/resource-config.d.ts.map +1 -0
- package/dist/common/crud/resource-config.js +2 -0
- package/dist/common/crud/resource-config.js.map +1 -0
- package/dist/common/crud/update.d.ts +4 -0
- package/dist/common/crud/update.d.ts.map +1 -0
- package/dist/common/crud/update.js +50 -0
- package/dist/common/crud/update.js.map +1 -0
- package/dist/common/oclif/sphere-base-command.d.ts +20 -0
- package/dist/common/oclif/sphere-base-command.d.ts.map +1 -0
- package/dist/common/oclif/sphere-base-command.js +54 -0
- package/dist/common/oclif/sphere-base-command.js.map +1 -0
- package/dist/common/oclif/sphere-command.d.ts +12 -0
- package/dist/common/oclif/sphere-command.d.ts.map +1 -0
- package/dist/common/oclif/sphere-command.js +46 -0
- package/dist/common/oclif/sphere-command.js.map +1 -0
- package/package.json +33 -7
- package/LICENSE +0 -21
- package/README.md +0 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../src/commands/sphere/tax-categories/update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,eAAe,uBAAuB,CAAC;IACrC,QAAQ,EAAE,gBAAgB;IAC1B,WAAW,EAAE,gBAAgB;IAC7B,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/types/create.ts"],"names":[],"mappings":";AACA,wBAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../src/commands/sphere/types/create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,eAAe,uBAAuB,CAAC;IACrC,QAAQ,EAAE,OAAO;IACjB,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/types/delete.ts"],"names":[],"mappings":";AACA,wBAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete.js","sourceRoot":"","sources":["../../../../src/commands/sphere/types/delete.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,eAAe,uBAAuB,CAAC;IACrC,QAAQ,EAAE,OAAO;IACjB,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/types/get.ts"],"names":[],"mappings":";AACA,wBAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../src/commands/sphere/types/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,eAAe,oBAAoB,CAAC;IAClC,QAAQ,EAAE,OAAO;IACjB,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/types/list.ts"],"names":[],"mappings":";AACA,wBAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../src/commands/sphere/types/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,eAAe,qBAAqB,CAAC;IACnC,QAAQ,EAAE,OAAO;IACjB,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/types/update.ts"],"names":[],"mappings":";AACA,wBAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../src/commands/sphere/types/update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,eAAe,uBAAuB,CAAC;IACrC,QAAQ,EAAE,OAAO;IACjB,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/create.ts"],"names":[],"mappings":";AACA,wBAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,eAAe,uBAAuB,CAAC;IACrC,QAAQ,EAAE,OAAO;IACjB,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/delete.ts"],"names":[],"mappings":";AACA,wBAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete.js","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/delete.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,eAAe,uBAAuB,CAAC;IACrC,QAAQ,EAAE,OAAO;IACjB,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/get.ts"],"names":[],"mappings":";AACA,wBAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,eAAe,oBAAoB,CAAC;IAClC,QAAQ,EAAE,OAAO;IACjB,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/list.ts"],"names":[],"mappings":";AACA,wBAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,eAAe,qBAAqB,CAAC;IACnC,QAAQ,EAAE,OAAO;IACjB,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/update.ts"],"names":[],"mappings":";AACA,wBAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,eAAe,uBAAuB,CAAC;IACrC,QAAQ,EAAE,OAAO;IACjB,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"body-parser.d.ts","sourceRoot":"","sources":["../../../src/common/crud/body-parser.ts"],"names":[],"mappings":"AAOA,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAMnD"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { readFileSync } from "fs";
|
|
2
|
+
export function parseBodyArg(input) {
|
|
3
|
+
if (input.startsWith("@")) {
|
|
4
|
+
const filePath = input.slice(1);
|
|
5
|
+
return JSON.parse(readFileSync(filePath, "utf8"));
|
|
6
|
+
}
|
|
7
|
+
return JSON.parse(input);
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=body-parser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"body-parser.js","sourceRoot":"","sources":["../../../src/common/crud/body-parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAOlC,MAAM,UAAU,YAAY,CAAC,KAAa;IACxC,IAAI,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;QAC1B,MAAM,QAAQ,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAChC,OAAO,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC;IACpD,CAAC;IACD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;AAC3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/common/crud/create.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,aAAa,CAuBpF"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Flags } from "@oclif/core";
|
|
2
|
+
import { SphereCommand } from "../oclif/sphere-command.js";
|
|
3
|
+
import { parseBodyArg } from "./body-parser.js";
|
|
4
|
+
export function makeSphereCreateCommand(config) {
|
|
5
|
+
class SphereCreateCommand extends SphereCommand {
|
|
6
|
+
static description = `Create a ${config.displayName.replace(/s$/, "")}`;
|
|
7
|
+
static flags = {
|
|
8
|
+
...SphereCommand.baseFlags,
|
|
9
|
+
body: Flags.string({
|
|
10
|
+
description: "JSON body for the resource, or @filepath to read from a file",
|
|
11
|
+
required: true,
|
|
12
|
+
}),
|
|
13
|
+
};
|
|
14
|
+
async run() {
|
|
15
|
+
const { flags } = await this.parse(SphereCreateCommand);
|
|
16
|
+
this.spinner.start(`Creating ${config.displayName.replace(/s$/, "")}...`);
|
|
17
|
+
const body = parseBodyArg(flags["body"]);
|
|
18
|
+
const result = await this.request("POST", `/${config.endpoint}`, body);
|
|
19
|
+
this.spinner.stop();
|
|
20
|
+
this.log(JSON.stringify(result, null, 2));
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
return SphereCreateCommand;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../src/common/crud/create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAGhD,MAAM,UAAU,uBAAuB,CAAC,MAAsB;IAC5D,MAAM,mBAAoB,SAAQ,aAAa;QAC7C,MAAM,CAAU,WAAW,GAAG,YAAY,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,EAAE,CAAC;QAEjF,MAAM,CAAU,KAAK,GAAG;YACtB,GAAG,aAAa,CAAC,SAAS;YAC1B,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC;gBACjB,WAAW,EAAE,8DAA8D;gBAC3E,QAAQ,EAAE,IAAI;aACf,CAAC;SACH,CAAC;QAEF,KAAK,CAAC,GAAG;YACP,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;YACxD,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,YAAY,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC;YAE1E,MAAM,IAAI,GAAG,YAAY,CAAC,KAAK,CAAC,MAAM,CAAW,CAAC,CAAC;YACnD,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,MAAM,CAAC,QAAQ,EAAE,EAAE,IAAI,CAAC,CAAC;YACvE,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;YACpB,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QAC5C,CAAC;;IAEH,OAAO,mBAAsD,CAAC;AAChE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../src/common/crud/delete.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,aAAa,CA4CpF"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { Flags } from "@oclif/core";
|
|
2
|
+
import { SphereCommand } from "../oclif/sphere-command.js";
|
|
3
|
+
export function makeSphereDeleteCommand(config) {
|
|
4
|
+
class SphereDeleteCommand extends SphereCommand {
|
|
5
|
+
static description = `Delete a ${config.displayName.replace(/s$/, "")}`;
|
|
6
|
+
static flags = {
|
|
7
|
+
...SphereCommand.baseFlags,
|
|
8
|
+
id: Flags.string({
|
|
9
|
+
description: `ID of the ${config.displayName.replace(/s$/, "")} to delete`,
|
|
10
|
+
exactlyOne: config.supportsKey ? ["id", "key"] : undefined,
|
|
11
|
+
}),
|
|
12
|
+
...(config.supportsKey
|
|
13
|
+
? {
|
|
14
|
+
key: Flags.string({
|
|
15
|
+
description: `Key of the ${config.displayName.replace(/s$/, "")} to delete`,
|
|
16
|
+
exactlyOne: ["id", "key"],
|
|
17
|
+
}),
|
|
18
|
+
}
|
|
19
|
+
: {}),
|
|
20
|
+
version: Flags.integer({
|
|
21
|
+
description: "Current version of the resource",
|
|
22
|
+
required: true,
|
|
23
|
+
}),
|
|
24
|
+
};
|
|
25
|
+
async run() {
|
|
26
|
+
const { flags } = await this.parse(SphereDeleteCommand);
|
|
27
|
+
const f = flags;
|
|
28
|
+
this.spinner.start(`Deleting ${config.displayName.replace(/s$/, "")}...`);
|
|
29
|
+
const version = f["version"];
|
|
30
|
+
let path;
|
|
31
|
+
if (f["key"] !== undefined) {
|
|
32
|
+
path = `/${config.endpoint}/key=${f["key"]}?version=${version}`;
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
path = `/${config.endpoint}/${f["id"]}?version=${version}`;
|
|
36
|
+
}
|
|
37
|
+
const result = await this.request("DELETE", path);
|
|
38
|
+
this.spinner.stop();
|
|
39
|
+
this.log(JSON.stringify(result, null, 2));
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return SphereDeleteCommand;
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=delete.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete.js","sourceRoot":"","sources":["../../../src/common/crud/delete.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAG3D,MAAM,UAAU,uBAAuB,CAAC,MAAsB;IAC5D,MAAM,mBAAoB,SAAQ,aAAa;QAC7C,MAAM,CAAU,WAAW,GAAG,YAAY,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,EAAE,CAAC;QAEjF,MAAM,CAAU,KAAK,GAAG;YACtB,GAAG,aAAa,CAAC,SAAS;YAC1B,EAAE,EAAE,KAAK,CAAC,MAAM,CAAC;gBACf,WAAW,EAAE,aAAa,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,YAAY;gBAC1E,UAAU,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS;aAC3D,CAAC;YACF,GAAG,CAAC,MAAM,CAAC,WAAW;gBACpB,CAAC,CAAC;oBACE,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC;wBAChB,WAAW,EAAE,cAAc,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,YAAY;wBAC3E,UAAU,EAAE,CAAC,IAAI,EAAE,KAAK,CAAC;qBAC1B,CAAC;iBACH;gBACH,CAAC,CAAC,EAAE,CAAC;YACP,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;gBACrB,WAAW,EAAE,iCAAiC;gBAC9C,QAAQ,EAAE,IAAI;aACf,CAAC;SACH,CAAC;QAEF,KAAK,CAAC,GAAG;YACP,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;YACxD,MAAM,CAAC,GAAG,KAAgC,CAAC;YAC3C,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,YAAY,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC;YAE1E,MAAM,OAAO,GAAG,CAAC,CAAC,SAAS,CAAW,CAAC;YAEvC,IAAI,IAAY,CAAC;YACjB,IAAI,CAAC,CAAC,KAAK,CAAC,KAAK,SAAS,EAAE,CAAC;gBAC3B,IAAI,GAAG,IAAI,MAAM,CAAC,QAAQ,QAAQ,CAAC,CAAC,KAAK,CAAW,YAAY,OAAO,EAAE,CAAC;YAC5E,CAAC;iBAAM,CAAC;gBACN,IAAI,GAAG,IAAI,MAAM,CAAC,QAAQ,IAAI,CAAC,CAAC,IAAI,CAAW,YAAY,OAAO,EAAE,CAAC;YACvE,CAAC;YAED,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YAClD,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;YACpB,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QAC5C,CAAC;;IAEH,OAAO,mBAAsD,CAAC;AAChE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/common/crud/get.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,aAAa,CAsCjF"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Flags } from "@oclif/core";
|
|
2
|
+
import { SphereCommand } from "../oclif/sphere-command.js";
|
|
3
|
+
export function makeSphereGetCommand(config) {
|
|
4
|
+
class SphereGetCommand extends SphereCommand {
|
|
5
|
+
static description = `Get a ${config.displayName.replace(/s$/, "")} by ID${config.supportsKey ? " or key" : ""}`;
|
|
6
|
+
static flags = {
|
|
7
|
+
...SphereCommand.baseFlags,
|
|
8
|
+
id: Flags.string({
|
|
9
|
+
description: `ID of the ${config.displayName.replace(/s$/, "")} to retrieve`,
|
|
10
|
+
exactlyOne: config.supportsKey ? ["id", "key"] : undefined,
|
|
11
|
+
}),
|
|
12
|
+
...(config.supportsKey
|
|
13
|
+
? {
|
|
14
|
+
key: Flags.string({
|
|
15
|
+
description: `Key of the ${config.displayName.replace(/s$/, "")} to retrieve`,
|
|
16
|
+
exactlyOne: ["id", "key"],
|
|
17
|
+
}),
|
|
18
|
+
}
|
|
19
|
+
: {}),
|
|
20
|
+
};
|
|
21
|
+
async run() {
|
|
22
|
+
const { flags } = await this.parse(SphereGetCommand);
|
|
23
|
+
const f = flags;
|
|
24
|
+
this.spinner.start(`Fetching ${config.displayName.replace(/s$/, "")}...`);
|
|
25
|
+
let path;
|
|
26
|
+
if (f["key"] !== undefined) {
|
|
27
|
+
path = `/${config.endpoint}/key=${f["key"]}`;
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
path = `/${config.endpoint}/${f["id"]}`;
|
|
31
|
+
}
|
|
32
|
+
const result = await this.request("GET", path);
|
|
33
|
+
this.spinner.stop();
|
|
34
|
+
this.log(JSON.stringify(result, null, 2));
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return SphereGetCommand;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=get.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/common/crud/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAG3D,MAAM,UAAU,oBAAoB,CAAC,MAAsB;IACzD,MAAM,gBAAiB,SAAQ,aAAa;QAC1C,MAAM,CAAU,WAAW,GAAG,SAAS,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;QAE1H,MAAM,CAAU,KAAK,GAAG;YACtB,GAAG,aAAa,CAAC,SAAS;YAC1B,EAAE,EAAE,KAAK,CAAC,MAAM,CAAC;gBACf,WAAW,EAAE,aAAa,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,cAAc;gBAC5E,UAAU,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS;aAC3D,CAAC;YACF,GAAG,CAAC,MAAM,CAAC,WAAW;gBACpB,CAAC,CAAC;oBACE,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC;wBAChB,WAAW,EAAE,cAAc,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,cAAc;wBAC7E,UAAU,EAAE,CAAC,IAAI,EAAE,KAAK,CAAC;qBAC1B,CAAC;iBACH;gBACH,CAAC,CAAC,EAAE,CAAC;SACR,CAAC;QAEF,KAAK,CAAC,GAAG;YACP,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;YACrD,MAAM,CAAC,GAAG,KAAgC,CAAC;YAC3C,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,YAAY,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC;YAE1E,IAAI,IAAY,CAAC;YACjB,IAAI,CAAC,CAAC,KAAK,CAAC,KAAK,SAAS,EAAE,CAAC;gBAC3B,IAAI,GAAG,IAAI,MAAM,CAAC,QAAQ,QAAQ,CAAC,CAAC,KAAK,CAAW,EAAE,CAAC;YACzD,CAAC;iBAAM,CAAC;gBACN,IAAI,GAAG,IAAI,MAAM,CAAC,QAAQ,IAAI,CAAC,CAAC,IAAI,CAAW,EAAE,CAAC;YACpD,CAAC;YAED,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;YAC/C,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;YACpB,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QAC5C,CAAC;;IAEH,OAAO,gBAAmD,CAAC;AAC7D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/common/crud/list.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,aAAa,CA8ClF"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { Flags } from "@oclif/core";
|
|
2
|
+
import { SphereCommand } from "../oclif/sphere-command.js";
|
|
3
|
+
export function makeSphereListCommand(config) {
|
|
4
|
+
class SphereListCommand extends SphereCommand {
|
|
5
|
+
static description = `List ${config.displayName}`;
|
|
6
|
+
static flags = {
|
|
7
|
+
...SphereCommand.baseFlags,
|
|
8
|
+
limit: Flags.integer({
|
|
9
|
+
description: "Maximum number of results to return",
|
|
10
|
+
default: 20,
|
|
11
|
+
min: 1,
|
|
12
|
+
}),
|
|
13
|
+
offset: Flags.integer({
|
|
14
|
+
description: "Number of results to skip",
|
|
15
|
+
default: 0,
|
|
16
|
+
min: 0,
|
|
17
|
+
}),
|
|
18
|
+
where: Flags.string({
|
|
19
|
+
description: "Query predicate(s) to filter results",
|
|
20
|
+
multiple: true,
|
|
21
|
+
}),
|
|
22
|
+
sort: Flags.string({
|
|
23
|
+
description: "Sort expression(s)",
|
|
24
|
+
multiple: true,
|
|
25
|
+
}),
|
|
26
|
+
};
|
|
27
|
+
async run() {
|
|
28
|
+
const { flags } = await this.parse(SphereListCommand);
|
|
29
|
+
this.spinner.start(`Fetching ${config.displayName}...`);
|
|
30
|
+
const params = new URLSearchParams();
|
|
31
|
+
params.set("limit", String(flags["limit"]));
|
|
32
|
+
params.set("offset", String(flags["offset"]));
|
|
33
|
+
const whereFlags = flags["where"];
|
|
34
|
+
const sortFlags = flags["sort"];
|
|
35
|
+
whereFlags?.forEach((w) => params.append("where", w));
|
|
36
|
+
sortFlags?.forEach((s) => params.append("sort", s));
|
|
37
|
+
const result = await this.request("GET", `/${config.endpoint}?${params.toString()}`);
|
|
38
|
+
this.spinner.stop();
|
|
39
|
+
this.log(JSON.stringify(result, null, 2));
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return SphereListCommand;
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../src/common/crud/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAG3D,MAAM,UAAU,qBAAqB,CAAC,MAAsB;IAC1D,MAAM,iBAAkB,SAAQ,aAAa;QAC3C,MAAM,CAAU,WAAW,GAAG,QAAQ,MAAM,CAAC,WAAW,EAAE,CAAC;QAE3D,MAAM,CAAU,KAAK,GAAG;YACtB,GAAG,aAAa,CAAC,SAAS;YAC1B,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC;gBACnB,WAAW,EAAE,qCAAqC;gBAClD,OAAO,EAAE,EAAE;gBACX,GAAG,EAAE,CAAC;aACP,CAAC;YACF,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC;gBACpB,WAAW,EAAE,2BAA2B;gBACxC,OAAO,EAAE,CAAC;gBACV,GAAG,EAAE,CAAC;aACP,CAAC;YACF,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC;gBAClB,WAAW,EAAE,sCAAsC;gBACnD,QAAQ,EAAE,IAAI;aACf,CAAC;YACF,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC;gBACjB,WAAW,EAAE,oBAAoB;gBACjC,QAAQ,EAAE,IAAI;aACf,CAAC;SACH,CAAC;QAEF,KAAK,CAAC,GAAG;YACP,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;YACtD,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,YAAY,MAAM,CAAC,WAAW,KAAK,CAAC,CAAC;YAExD,MAAM,MAAM,GAAG,IAAI,eAAe,EAAE,CAAC;YACrC,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;YAC5C,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;YAE9C,MAAM,UAAU,GAAG,KAAK,CAAC,OAAO,CAAyB,CAAC;YAC1D,MAAM,SAAS,GAAG,KAAK,CAAC,MAAM,CAAyB,CAAC;YAExD,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC;YACtD,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC;YAEpD,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,IAAI,MAAM,CAAC,QAAQ,IAAI,MAAM,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;YACrF,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;YACpB,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QAC5C,CAAC;;IAEH,OAAO,iBAAoD,CAAC;AAC9D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource-config.d.ts","sourceRoot":"","sources":["../../../src/common/crud/resource-config.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAE7B,QAAQ,EAAE,MAAM,CAAC;IAEjB,WAAW,EAAE,MAAM,CAAC;IAEpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource-config.js","sourceRoot":"","sources":["../../../src/common/crud/resource-config.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../src/common/crud/update.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,aAAa,CAiDpF"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Flags } from "@oclif/core";
|
|
2
|
+
import { SphereCommand } from "../oclif/sphere-command.js";
|
|
3
|
+
import { parseBodyArg } from "./body-parser.js";
|
|
4
|
+
export function makeSphereUpdateCommand(config) {
|
|
5
|
+
class SphereUpdateCommand extends SphereCommand {
|
|
6
|
+
static description = `Update a ${config.displayName.replace(/s$/, "")}`;
|
|
7
|
+
static flags = {
|
|
8
|
+
...SphereCommand.baseFlags,
|
|
9
|
+
id: Flags.string({
|
|
10
|
+
description: `ID of the ${config.displayName.replace(/s$/, "")} to update`,
|
|
11
|
+
exactlyOne: config.supportsKey ? ["id", "key"] : undefined,
|
|
12
|
+
}),
|
|
13
|
+
...(config.supportsKey
|
|
14
|
+
? {
|
|
15
|
+
key: Flags.string({
|
|
16
|
+
description: `Key of the ${config.displayName.replace(/s$/, "")} to update`,
|
|
17
|
+
exactlyOne: ["id", "key"],
|
|
18
|
+
}),
|
|
19
|
+
}
|
|
20
|
+
: {}),
|
|
21
|
+
version: Flags.integer({
|
|
22
|
+
description: "Current version of the resource",
|
|
23
|
+
required: true,
|
|
24
|
+
}),
|
|
25
|
+
actions: Flags.string({
|
|
26
|
+
description: "JSON array of update actions, or @filepath to read from a file",
|
|
27
|
+
required: true,
|
|
28
|
+
}),
|
|
29
|
+
};
|
|
30
|
+
async run() {
|
|
31
|
+
const { flags } = await this.parse(SphereUpdateCommand);
|
|
32
|
+
const f = flags;
|
|
33
|
+
this.spinner.start(`Updating ${config.displayName.replace(/s$/, "")}...`);
|
|
34
|
+
const actions = parseBodyArg(f["actions"]);
|
|
35
|
+
const version = f["version"];
|
|
36
|
+
let path;
|
|
37
|
+
if (f["key"] !== undefined) {
|
|
38
|
+
path = `/${config.endpoint}/key=${f["key"]}`;
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
path = `/${config.endpoint}/${f["id"]}`;
|
|
42
|
+
}
|
|
43
|
+
const result = await this.request("POST", path, { version, actions });
|
|
44
|
+
this.spinner.stop();
|
|
45
|
+
this.log(JSON.stringify(result, null, 2));
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return SphereUpdateCommand;
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=update.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../src/common/crud/update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAGhD,MAAM,UAAU,uBAAuB,CAAC,MAAsB;IAC5D,MAAM,mBAAoB,SAAQ,aAAa;QAC7C,MAAM,CAAU,WAAW,GAAG,YAAY,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,EAAE,CAAC;QAEjF,MAAM,CAAU,KAAK,GAAG;YACtB,GAAG,aAAa,CAAC,SAAS;YAC1B,EAAE,EAAE,KAAK,CAAC,MAAM,CAAC;gBACf,WAAW,EAAE,aAAa,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,YAAY;gBAC1E,UAAU,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS;aAC3D,CAAC;YACF,GAAG,CAAC,MAAM,CAAC,WAAW;gBACpB,CAAC,CAAC;oBACE,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC;wBAChB,WAAW,EAAE,cAAc,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,YAAY;wBAC3E,UAAU,EAAE,CAAC,IAAI,EAAE,KAAK,CAAC;qBAC1B,CAAC;iBACH;gBACH,CAAC,CAAC,EAAE,CAAC;YACP,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;gBACrB,WAAW,EAAE,iCAAiC;gBAC9C,QAAQ,EAAE,IAAI;aACf,CAAC;YACF,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC;gBACpB,WAAW,EAAE,gEAAgE;gBAC7E,QAAQ,EAAE,IAAI;aACf,CAAC;SACH,CAAC;QAEF,KAAK,CAAC,GAAG;YACP,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;YACxD,MAAM,CAAC,GAAG,KAAgC,CAAC;YAC3C,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,YAAY,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC;YAE1E,MAAM,OAAO,GAAG,YAAY,CAAC,CAAC,CAAC,SAAS,CAAW,CAAC,CAAC;YACrD,MAAM,OAAO,GAAG,CAAC,CAAC,SAAS,CAAW,CAAC;YAEvC,IAAI,IAAY,CAAC;YACjB,IAAI,CAAC,CAAC,KAAK,CAAC,KAAK,SAAS,EAAE,CAAC;gBAC3B,IAAI,GAAG,IAAI,MAAM,CAAC,QAAQ,QAAQ,CAAC,CAAC,KAAK,CAAW,EAAE,CAAC;YACzD,CAAC;iBAAM,CAAC;gBACN,IAAI,GAAG,IAAI,MAAM,CAAC,QAAQ,IAAI,CAAC,CAAC,IAAI,CAAW,EAAE,CAAC;YACpD,CAAC;YAED,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC;YACtE,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;YACpB,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QAC5C,CAAC;;IAEH,OAAO,mBAAsD,CAAC;AAChE,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Config } from "@oclif/core";
|
|
2
|
+
import { AuthCommand, CtpAuthorizedClient } from "@commercetools/cli-plugin-auth";
|
|
3
|
+
import type { Ora } from "ora";
|
|
4
|
+
export declare abstract class SphereBaseCommand extends AuthCommand {
|
|
5
|
+
protected authorized: boolean;
|
|
6
|
+
protected spinner: Ora;
|
|
7
|
+
static baseFlags: {
|
|
8
|
+
debug: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
9
|
+
};
|
|
10
|
+
constructor(argv: string[], config: Config);
|
|
11
|
+
protected init(): Promise<void>;
|
|
12
|
+
log(message?: string): void;
|
|
13
|
+
protected getPrincipal(): CtpAuthorizedClient;
|
|
14
|
+
protected getPrincipalDetails(): {
|
|
15
|
+
region: string;
|
|
16
|
+
projectKey: string;
|
|
17
|
+
};
|
|
18
|
+
private verifyAuthentication;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=sphere-base-command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sphere-base-command.d.ts","sourceRoot":"","sources":["../../../src/common/oclif/sphere-base-command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAS,MAAM,aAAa,CAAC;AAC5C,OAAO,EACL,WAAW,EAEX,mBAAmB,EACpB,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE/B,8BAAsB,iBAAkB,SAAQ,WAAW;IACzD,SAAS,CAAC,UAAU,EAAE,OAAO,CAAS;IACtC,SAAS,CAAC,OAAO,EAAE,GAAG,CAAC;IAEvB,OAAgB,SAAS;;MAMvB;gBAEU,IAAI,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,MAAM;cAKjB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAIrC,GAAG,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI;IAOpC,SAAS,CAAC,YAAY,IAAI,mBAAmB;IAW7C,SAAS,CAAC,mBAAmB,IAAI;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE;IAcvE,OAAO,CAAC,oBAAoB;CAK7B"}
|