@commercetools/cli-topic-sphere 0.0.5 → 0.1.0-rc.00cef776
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.map +1 -1
- package/dist/commands/sphere/api-clients/create.js +1 -0
- package/dist/commands/sphere/api-clients/create.js.map +1 -1
- package/dist/commands/sphere/api-clients/delete.d.ts.map +1 -1
- package/dist/commands/sphere/api-clients/delete.js.map +1 -1
- package/dist/commands/sphere/api-clients/get.d.ts.map +1 -1
- package/dist/commands/sphere/api-clients/get.js.map +1 -1
- package/dist/commands/sphere/api-clients/list.d.ts.map +1 -1
- package/dist/commands/sphere/api-clients/list.js +5 -0
- package/dist/commands/sphere/api-clients/list.js.map +1 -1
- package/dist/commands/sphere/as-associate/approval-flows/get.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/approval-flows/get.js +14 -0
- package/dist/commands/sphere/as-associate/approval-flows/get.js.map +1 -0
- package/dist/commands/sphere/as-associate/approval-flows/list.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/approval-flows/list.js +18 -0
- package/dist/commands/sphere/as-associate/approval-flows/list.js.map +1 -0
- package/dist/commands/sphere/as-associate/approval-flows/update.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/approval-flows/update.js +14 -0
- package/dist/commands/sphere/as-associate/approval-flows/update.js.map +1 -0
- package/dist/commands/sphere/as-associate/approval-rules/create.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/approval-rules/create.js +14 -0
- package/dist/commands/sphere/as-associate/approval-rules/create.js.map +1 -0
- package/dist/commands/sphere/as-associate/approval-rules/get.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/approval-rules/get.js +15 -0
- package/dist/commands/sphere/as-associate/approval-rules/get.js.map +1 -0
- package/dist/commands/sphere/as-associate/approval-rules/list.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/approval-rules/list.js +18 -0
- package/dist/commands/sphere/as-associate/approval-rules/list.js.map +1 -0
- package/dist/commands/sphere/as-associate/approval-rules/update.d.ts +3 -0
- package/dist/commands/sphere/as-associate/approval-rules/update.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/approval-rules/update.js +15 -0
- package/dist/commands/sphere/as-associate/approval-rules/update.js.map +1 -0
- package/dist/commands/sphere/as-associate/business-units/create.d.ts +3 -0
- package/dist/commands/sphere/as-associate/business-units/create.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/business-units/create.js +11 -0
- package/dist/commands/sphere/as-associate/business-units/create.js.map +1 -0
- package/dist/commands/sphere/as-associate/business-units/get.d.ts +3 -0
- package/dist/commands/sphere/as-associate/business-units/get.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/business-units/get.js +12 -0
- package/dist/commands/sphere/as-associate/business-units/get.js.map +1 -0
- package/dist/commands/sphere/as-associate/business-units/list.d.ts +3 -0
- package/dist/commands/sphere/as-associate/business-units/list.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/business-units/list.js +15 -0
- package/dist/commands/sphere/as-associate/business-units/list.js.map +1 -0
- package/dist/commands/sphere/as-associate/business-units/update.d.ts +3 -0
- package/dist/commands/sphere/as-associate/business-units/update.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/business-units/update.js +12 -0
- package/dist/commands/sphere/as-associate/business-units/update.js.map +1 -0
- package/dist/commands/sphere/as-associate/carts/create.d.ts +3 -0
- package/dist/commands/sphere/as-associate/carts/create.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/carts/create.js +14 -0
- package/dist/commands/sphere/as-associate/carts/create.js.map +1 -0
- package/dist/commands/sphere/as-associate/carts/delete.d.ts +3 -0
- package/dist/commands/sphere/as-associate/carts/delete.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/carts/delete.js +18 -0
- package/dist/commands/sphere/as-associate/carts/delete.js.map +1 -0
- package/dist/commands/sphere/as-associate/carts/get.d.ts +3 -0
- package/dist/commands/sphere/as-associate/carts/get.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/carts/get.js +15 -0
- package/dist/commands/sphere/as-associate/carts/get.js.map +1 -0
- package/dist/commands/sphere/as-associate/carts/list.d.ts +3 -0
- package/dist/commands/sphere/as-associate/carts/list.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/carts/list.js +18 -0
- package/dist/commands/sphere/as-associate/carts/list.js.map +1 -0
- package/dist/commands/sphere/as-associate/carts/replicate.d.ts +3 -0
- package/dist/commands/sphere/as-associate/carts/replicate.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/carts/replicate.js +12 -0
- package/dist/commands/sphere/as-associate/carts/replicate.js.map +1 -0
- package/dist/commands/sphere/as-associate/carts/update.d.ts +3 -0
- package/dist/commands/sphere/as-associate/carts/update.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/carts/update.js +15 -0
- package/dist/commands/sphere/as-associate/carts/update.js.map +1 -0
- package/dist/commands/sphere/as-associate/orders/create-from-quote.d.ts +3 -0
- package/dist/commands/sphere/as-associate/orders/create-from-quote.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/orders/create-from-quote.js +12 -0
- package/dist/commands/sphere/as-associate/orders/create-from-quote.js.map +1 -0
- package/dist/commands/sphere/as-associate/orders/create.d.ts +3 -0
- package/dist/commands/sphere/as-associate/orders/create.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/orders/create.js +14 -0
- package/dist/commands/sphere/as-associate/orders/create.js.map +1 -0
- package/dist/commands/sphere/as-associate/orders/get.d.ts +3 -0
- package/dist/commands/sphere/as-associate/orders/get.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/orders/get.js +15 -0
- package/dist/commands/sphere/as-associate/orders/get.js.map +1 -0
- package/dist/commands/sphere/as-associate/orders/list.d.ts +3 -0
- package/dist/commands/sphere/as-associate/orders/list.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/orders/list.js +18 -0
- package/dist/commands/sphere/as-associate/orders/list.js.map +1 -0
- package/dist/commands/sphere/as-associate/orders/update.d.ts +3 -0
- package/dist/commands/sphere/as-associate/orders/update.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/orders/update.js +15 -0
- package/dist/commands/sphere/as-associate/orders/update.js.map +1 -0
- package/dist/commands/sphere/as-associate/quote-requests/create.d.ts +3 -0
- package/dist/commands/sphere/as-associate/quote-requests/create.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/quote-requests/create.js +14 -0
- package/dist/commands/sphere/as-associate/quote-requests/create.js.map +1 -0
- package/dist/commands/sphere/as-associate/quote-requests/get.d.ts +3 -0
- package/dist/commands/sphere/as-associate/quote-requests/get.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/quote-requests/get.js +15 -0
- package/dist/commands/sphere/as-associate/quote-requests/get.js.map +1 -0
- package/dist/commands/sphere/as-associate/quote-requests/list.d.ts +3 -0
- package/dist/commands/sphere/as-associate/quote-requests/list.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/quote-requests/list.js +18 -0
- package/dist/commands/sphere/as-associate/quote-requests/list.js.map +1 -0
- package/dist/commands/sphere/as-associate/quote-requests/update.d.ts +3 -0
- package/dist/commands/sphere/as-associate/quote-requests/update.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/quote-requests/update.js +15 -0
- package/dist/commands/sphere/as-associate/quote-requests/update.js.map +1 -0
- package/dist/commands/sphere/as-associate/quotes/get.d.ts +3 -0
- package/dist/commands/sphere/as-associate/quotes/get.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/quotes/get.js +15 -0
- package/dist/commands/sphere/as-associate/quotes/get.js.map +1 -0
- package/dist/commands/sphere/as-associate/quotes/list.d.ts +3 -0
- package/dist/commands/sphere/as-associate/quotes/list.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/quotes/list.js +18 -0
- package/dist/commands/sphere/as-associate/quotes/list.js.map +1 -0
- package/dist/commands/sphere/as-associate/quotes/update.d.ts +3 -0
- package/dist/commands/sphere/as-associate/quotes/update.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/quotes/update.js +15 -0
- package/dist/commands/sphere/as-associate/quotes/update.js.map +1 -0
- package/dist/commands/sphere/as-associate/shopping-lists/create.d.ts +3 -0
- package/dist/commands/sphere/as-associate/shopping-lists/create.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/shopping-lists/create.js +14 -0
- package/dist/commands/sphere/as-associate/shopping-lists/create.js.map +1 -0
- package/dist/commands/sphere/as-associate/shopping-lists/delete.d.ts +3 -0
- package/dist/commands/sphere/as-associate/shopping-lists/delete.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/shopping-lists/delete.js +18 -0
- package/dist/commands/sphere/as-associate/shopping-lists/delete.js.map +1 -0
- package/dist/commands/sphere/as-associate/shopping-lists/get.d.ts +3 -0
- package/dist/commands/sphere/as-associate/shopping-lists/get.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/shopping-lists/get.js +15 -0
- package/dist/commands/sphere/as-associate/shopping-lists/get.js.map +1 -0
- package/dist/commands/sphere/as-associate/shopping-lists/list.d.ts +3 -0
- package/dist/commands/sphere/as-associate/shopping-lists/list.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/shopping-lists/list.js +18 -0
- package/dist/commands/sphere/as-associate/shopping-lists/list.js.map +1 -0
- package/dist/commands/sphere/as-associate/shopping-lists/update.d.ts +3 -0
- package/dist/commands/sphere/as-associate/shopping-lists/update.d.ts.map +1 -0
- package/dist/commands/sphere/as-associate/shopping-lists/update.js +15 -0
- package/dist/commands/sphere/as-associate/shopping-lists/update.js.map +1 -0
- package/dist/commands/sphere/associate-roles/create.d.ts.map +1 -1
- package/dist/commands/sphere/associate-roles/create.js +1 -1
- package/dist/commands/sphere/associate-roles/create.js.map +1 -1
- package/dist/commands/sphere/associate-roles/delete.d.ts.map +1 -1
- package/dist/commands/sphere/associate-roles/delete.js +1 -0
- package/dist/commands/sphere/associate-roles/delete.js.map +1 -1
- package/dist/commands/sphere/associate-roles/get.d.ts.map +1 -1
- package/dist/commands/sphere/associate-roles/get.js +1 -0
- package/dist/commands/sphere/associate-roles/get.js.map +1 -1
- package/dist/commands/sphere/associate-roles/list.d.ts.map +1 -1
- package/dist/commands/sphere/associate-roles/list.js +5 -1
- package/dist/commands/sphere/associate-roles/list.js.map +1 -1
- package/dist/commands/sphere/associate-roles/update.d.ts.map +1 -1
- package/dist/commands/sphere/associate-roles/update.js +1 -0
- package/dist/commands/sphere/associate-roles/update.js.map +1 -1
- package/dist/commands/sphere/attribute-groups/create.d.ts.map +1 -1
- package/dist/commands/sphere/attribute-groups/create.js +1 -1
- package/dist/commands/sphere/attribute-groups/create.js.map +1 -1
- package/dist/commands/sphere/attribute-groups/delete.d.ts.map +1 -1
- package/dist/commands/sphere/attribute-groups/delete.js +1 -0
- package/dist/commands/sphere/attribute-groups/delete.js.map +1 -1
- package/dist/commands/sphere/attribute-groups/get.d.ts.map +1 -1
- package/dist/commands/sphere/attribute-groups/get.js +1 -0
- package/dist/commands/sphere/attribute-groups/get.js.map +1 -1
- package/dist/commands/sphere/attribute-groups/list.d.ts.map +1 -1
- package/dist/commands/sphere/attribute-groups/list.js +5 -1
- package/dist/commands/sphere/attribute-groups/list.js.map +1 -1
- package/dist/commands/sphere/attribute-groups/update.d.ts.map +1 -1
- package/dist/commands/sphere/attribute-groups/update.js +1 -0
- package/dist/commands/sphere/attribute-groups/update.js.map +1 -1
- package/dist/commands/sphere/business-units/create.d.ts.map +1 -1
- package/dist/commands/sphere/business-units/create.js +1 -1
- package/dist/commands/sphere/business-units/create.js.map +1 -1
- package/dist/commands/sphere/business-units/delete.d.ts.map +1 -1
- package/dist/commands/sphere/business-units/delete.js +4 -0
- package/dist/commands/sphere/business-units/delete.js.map +1 -1
- package/dist/commands/sphere/business-units/get-associate.d.ts +3 -0
- package/dist/commands/sphere/business-units/get-associate.d.ts.map +1 -0
- package/dist/commands/sphere/business-units/get-associate.js +19 -0
- package/dist/commands/sphere/business-units/get-associate.js.map +1 -0
- package/dist/commands/sphere/business-units/get-search-indexing-status.d.ts +3 -0
- package/dist/commands/sphere/business-units/get-search-indexing-status.d.ts.map +1 -0
- package/dist/commands/sphere/business-units/get-search-indexing-status.js +7 -0
- package/dist/commands/sphere/business-units/get-search-indexing-status.js.map +1 -0
- package/dist/commands/sphere/business-units/get.d.ts.map +1 -1
- package/dist/commands/sphere/business-units/get.js +1 -0
- package/dist/commands/sphere/business-units/get.js.map +1 -1
- package/dist/commands/sphere/business-units/list.d.ts.map +1 -1
- package/dist/commands/sphere/business-units/list.js +5 -1
- package/dist/commands/sphere/business-units/list.js.map +1 -1
- package/dist/commands/sphere/business-units/search.d.ts +3 -0
- package/dist/commands/sphere/business-units/search.d.ts.map +1 -0
- package/dist/commands/sphere/business-units/search.js +8 -0
- package/dist/commands/sphere/business-units/search.js.map +1 -0
- package/dist/commands/sphere/business-units/update.d.ts.map +1 -1
- package/dist/commands/sphere/business-units/update.js +1 -0
- package/dist/commands/sphere/business-units/update.js.map +1 -1
- package/dist/commands/sphere/cart-discounts/create.d.ts.map +1 -1
- package/dist/commands/sphere/cart-discounts/create.js +1 -1
- package/dist/commands/sphere/cart-discounts/create.js.map +1 -1
- package/dist/commands/sphere/cart-discounts/delete.d.ts.map +1 -1
- package/dist/commands/sphere/cart-discounts/delete.js +1 -0
- package/dist/commands/sphere/cart-discounts/delete.js.map +1 -1
- package/dist/commands/sphere/cart-discounts/get.d.ts.map +1 -1
- package/dist/commands/sphere/cart-discounts/get.js +1 -0
- package/dist/commands/sphere/cart-discounts/get.js.map +1 -1
- package/dist/commands/sphere/cart-discounts/list.d.ts.map +1 -1
- package/dist/commands/sphere/cart-discounts/list.js +5 -1
- package/dist/commands/sphere/cart-discounts/list.js.map +1 -1
- package/dist/commands/sphere/cart-discounts/update.d.ts.map +1 -1
- package/dist/commands/sphere/cart-discounts/update.js +1 -0
- package/dist/commands/sphere/cart-discounts/update.js.map +1 -1
- package/dist/commands/sphere/carts/create.d.ts.map +1 -1
- package/dist/commands/sphere/carts/create.js +1 -0
- package/dist/commands/sphere/carts/create.js.map +1 -1
- package/dist/commands/sphere/carts/delete.d.ts.map +1 -1
- package/dist/commands/sphere/carts/delete.js +5 -0
- package/dist/commands/sphere/carts/delete.js.map +1 -1
- package/dist/commands/sphere/carts/get-by-customer-id.d.ts +3 -0
- package/dist/commands/sphere/carts/get-by-customer-id.d.ts.map +1 -0
- package/dist/commands/sphere/carts/get-by-customer-id.js +9 -0
- package/dist/commands/sphere/carts/get-by-customer-id.js.map +1 -0
- package/dist/commands/sphere/carts/get.d.ts.map +1 -1
- package/dist/commands/sphere/carts/get.js +2 -0
- package/dist/commands/sphere/carts/get.js.map +1 -1
- package/dist/commands/sphere/carts/list.d.ts.map +1 -1
- package/dist/commands/sphere/carts/list.js +5 -0
- package/dist/commands/sphere/carts/list.js.map +1 -1
- package/dist/commands/sphere/carts/merge-anonymous.d.ts +3 -0
- package/dist/commands/sphere/carts/merge-anonymous.d.ts.map +1 -0
- package/dist/commands/sphere/carts/merge-anonymous.js +9 -0
- package/dist/commands/sphere/carts/merge-anonymous.js.map +1 -0
- package/dist/commands/sphere/carts/replicate.d.ts +3 -0
- package/dist/commands/sphere/carts/replicate.d.ts.map +1 -0
- package/dist/commands/sphere/carts/replicate.js +8 -0
- package/dist/commands/sphere/carts/replicate.js.map +1 -0
- package/dist/commands/sphere/carts/update.d.ts.map +1 -1
- package/dist/commands/sphere/carts/update.js +2 -0
- package/dist/commands/sphere/carts/update.js.map +1 -1
- package/dist/commands/sphere/categories/create.d.ts.map +1 -1
- package/dist/commands/sphere/categories/create.js +1 -1
- package/dist/commands/sphere/categories/create.js.map +1 -1
- package/dist/commands/sphere/categories/delete.d.ts.map +1 -1
- package/dist/commands/sphere/categories/delete.js +1 -0
- package/dist/commands/sphere/categories/delete.js.map +1 -1
- package/dist/commands/sphere/categories/get.d.ts.map +1 -1
- package/dist/commands/sphere/categories/get.js +1 -0
- package/dist/commands/sphere/categories/get.js.map +1 -1
- package/dist/commands/sphere/categories/list.d.ts.map +1 -1
- package/dist/commands/sphere/categories/list.js +5 -1
- package/dist/commands/sphere/categories/list.js.map +1 -1
- package/dist/commands/sphere/categories/update.d.ts.map +1 -1
- package/dist/commands/sphere/categories/update.js +1 -0
- package/dist/commands/sphere/categories/update.js.map +1 -1
- package/dist/commands/sphere/channels/create.d.ts.map +1 -1
- package/dist/commands/sphere/channels/create.js +1 -1
- package/dist/commands/sphere/channels/create.js.map +1 -1
- package/dist/commands/sphere/channels/delete.d.ts.map +1 -1
- package/dist/commands/sphere/channels/delete.js +1 -0
- package/dist/commands/sphere/channels/delete.js.map +1 -1
- package/dist/commands/sphere/channels/get.d.ts.map +1 -1
- package/dist/commands/sphere/channels/get.js +1 -0
- package/dist/commands/sphere/channels/get.js.map +1 -1
- package/dist/commands/sphere/channels/list.d.ts.map +1 -1
- package/dist/commands/sphere/channels/list.js +5 -1
- package/dist/commands/sphere/channels/list.js.map +1 -1
- package/dist/commands/sphere/channels/update.d.ts.map +1 -1
- package/dist/commands/sphere/channels/update.js +1 -0
- package/dist/commands/sphere/channels/update.js.map +1 -1
- package/dist/commands/sphere/custom-objects/create.d.ts +2 -10
- package/dist/commands/sphere/custom-objects/create.d.ts.map +1 -1
- package/dist/commands/sphere/custom-objects/create.js +6 -22
- package/dist/commands/sphere/custom-objects/create.js.map +1 -1
- package/dist/commands/sphere/custom-objects/delete.d.ts +2 -12
- package/dist/commands/sphere/custom-objects/delete.d.ts.map +1 -1
- package/dist/commands/sphere/custom-objects/delete.js +15 -28
- package/dist/commands/sphere/custom-objects/delete.js.map +1 -1
- package/dist/commands/sphere/custom-objects/get.d.ts +2 -11
- package/dist/commands/sphere/custom-objects/get.d.ts.map +1 -1
- package/dist/commands/sphere/custom-objects/get.js +11 -21
- package/dist/commands/sphere/custom-objects/get.js.map +1 -1
- package/dist/commands/sphere/custom-objects/list-in-container.d.ts +3 -0
- package/dist/commands/sphere/custom-objects/list-in-container.d.ts.map +1 -0
- package/dist/commands/sphere/custom-objects/list-in-container.js +17 -0
- package/dist/commands/sphere/custom-objects/list-in-container.js.map +1 -0
- package/dist/commands/sphere/custom-objects/list.d.ts +2 -14
- package/dist/commands/sphere/custom-objects/list.d.ts.map +1 -1
- package/dist/commands/sphere/custom-objects/list.js +10 -37
- package/dist/commands/sphere/custom-objects/list.js.map +1 -1
- package/dist/commands/sphere/customer-groups/create.d.ts.map +1 -1
- package/dist/commands/sphere/customer-groups/create.js +1 -1
- package/dist/commands/sphere/customer-groups/create.js.map +1 -1
- package/dist/commands/sphere/customer-groups/delete.d.ts.map +1 -1
- package/dist/commands/sphere/customer-groups/delete.js +1 -0
- package/dist/commands/sphere/customer-groups/delete.js.map +1 -1
- package/dist/commands/sphere/customer-groups/get.d.ts.map +1 -1
- package/dist/commands/sphere/customer-groups/get.js +1 -0
- package/dist/commands/sphere/customer-groups/get.js.map +1 -1
- package/dist/commands/sphere/customer-groups/list.d.ts.map +1 -1
- package/dist/commands/sphere/customer-groups/list.js +5 -1
- package/dist/commands/sphere/customer-groups/list.js.map +1 -1
- package/dist/commands/sphere/customer-groups/update.d.ts.map +1 -1
- package/dist/commands/sphere/customer-groups/update.js +1 -0
- package/dist/commands/sphere/customer-groups/update.js.map +1 -1
- package/dist/commands/sphere/customers/change-password.d.ts +3 -0
- package/dist/commands/sphere/customers/change-password.d.ts.map +1 -0
- package/dist/commands/sphere/customers/change-password.js +8 -0
- package/dist/commands/sphere/customers/change-password.js.map +1 -0
- package/dist/commands/sphere/customers/create-email-token.d.ts +3 -0
- package/dist/commands/sphere/customers/create-email-token.d.ts.map +1 -0
- package/dist/commands/sphere/customers/create-email-token.js +8 -0
- package/dist/commands/sphere/customers/create-email-token.js.map +1 -0
- package/dist/commands/sphere/customers/create-password-token.d.ts +3 -0
- package/dist/commands/sphere/customers/create-password-token.d.ts.map +1 -0
- package/dist/commands/sphere/customers/create-password-token.js +8 -0
- package/dist/commands/sphere/customers/create-password-token.js.map +1 -0
- package/dist/commands/sphere/customers/create.d.ts.map +1 -1
- package/dist/commands/sphere/customers/create.js +1 -1
- package/dist/commands/sphere/customers/create.js.map +1 -1
- package/dist/commands/sphere/customers/delete.d.ts.map +1 -1
- package/dist/commands/sphere/customers/delete.js +4 -0
- package/dist/commands/sphere/customers/delete.js.map +1 -1
- package/dist/commands/sphere/customers/get-by-email-token.d.ts +3 -0
- package/dist/commands/sphere/customers/get-by-email-token.d.ts.map +1 -0
- package/dist/commands/sphere/customers/get-by-email-token.js +9 -0
- package/dist/commands/sphere/customers/get-by-email-token.js.map +1 -0
- package/dist/commands/sphere/customers/get-by-password-token.d.ts +3 -0
- package/dist/commands/sphere/customers/get-by-password-token.d.ts.map +1 -0
- package/dist/commands/sphere/customers/get-by-password-token.js +9 -0
- package/dist/commands/sphere/customers/get-by-password-token.js.map +1 -0
- package/dist/commands/sphere/customers/get-search-indexing-status.d.ts +3 -0
- package/dist/commands/sphere/customers/get-search-indexing-status.d.ts.map +1 -0
- package/dist/commands/sphere/customers/get-search-indexing-status.js +7 -0
- package/dist/commands/sphere/customers/get-search-indexing-status.js.map +1 -0
- package/dist/commands/sphere/customers/get.d.ts.map +1 -1
- package/dist/commands/sphere/customers/get.js +1 -0
- package/dist/commands/sphere/customers/get.js.map +1 -1
- package/dist/commands/sphere/customers/list.d.ts.map +1 -1
- package/dist/commands/sphere/customers/list.js +5 -1
- package/dist/commands/sphere/customers/list.js.map +1 -1
- package/dist/commands/sphere/customers/reset-password.d.ts +3 -0
- package/dist/commands/sphere/customers/reset-password.d.ts.map +1 -0
- package/dist/commands/sphere/customers/reset-password.js +8 -0
- package/dist/commands/sphere/customers/reset-password.js.map +1 -0
- package/dist/commands/sphere/customers/search.d.ts +3 -0
- package/dist/commands/sphere/customers/search.d.ts.map +1 -0
- package/dist/commands/sphere/customers/search.js +8 -0
- package/dist/commands/sphere/customers/search.js.map +1 -0
- package/dist/commands/sphere/customers/update.d.ts.map +1 -1
- package/dist/commands/sphere/customers/update.js +1 -0
- package/dist/commands/sphere/customers/update.js.map +1 -1
- package/dist/commands/sphere/customers/verify-email.d.ts +3 -0
- package/dist/commands/sphere/customers/verify-email.d.ts.map +1 -0
- package/dist/commands/sphere/customers/verify-email.js +8 -0
- package/dist/commands/sphere/customers/verify-email.js.map +1 -0
- package/dist/commands/sphere/discount-codes/create.d.ts.map +1 -1
- package/dist/commands/sphere/discount-codes/create.js +1 -1
- package/dist/commands/sphere/discount-codes/create.js.map +1 -1
- package/dist/commands/sphere/discount-codes/delete.d.ts.map +1 -1
- package/dist/commands/sphere/discount-codes/delete.js +4 -0
- package/dist/commands/sphere/discount-codes/delete.js.map +1 -1
- package/dist/commands/sphere/discount-codes/get.d.ts.map +1 -1
- package/dist/commands/sphere/discount-codes/get.js +1 -0
- package/dist/commands/sphere/discount-codes/get.js.map +1 -1
- package/dist/commands/sphere/discount-codes/list.d.ts.map +1 -1
- package/dist/commands/sphere/discount-codes/list.js +5 -1
- package/dist/commands/sphere/discount-codes/list.js.map +1 -1
- package/dist/commands/sphere/discount-codes/update.d.ts.map +1 -1
- package/dist/commands/sphere/discount-codes/update.js +1 -0
- package/dist/commands/sphere/discount-codes/update.js.map +1 -1
- package/dist/commands/sphere/discount-groups/create.d.ts.map +1 -1
- package/dist/commands/sphere/discount-groups/create.js +1 -1
- package/dist/commands/sphere/discount-groups/create.js.map +1 -1
- package/dist/commands/sphere/discount-groups/delete.d.ts.map +1 -1
- package/dist/commands/sphere/discount-groups/delete.js +1 -0
- package/dist/commands/sphere/discount-groups/delete.js.map +1 -1
- package/dist/commands/sphere/discount-groups/get.d.ts.map +1 -1
- package/dist/commands/sphere/discount-groups/get.js +1 -0
- package/dist/commands/sphere/discount-groups/get.js.map +1 -1
- package/dist/commands/sphere/discount-groups/list.d.ts.map +1 -1
- package/dist/commands/sphere/discount-groups/list.js +5 -1
- package/dist/commands/sphere/discount-groups/list.js.map +1 -1
- package/dist/commands/sphere/discount-groups/update.d.ts.map +1 -1
- package/dist/commands/sphere/discount-groups/update.js +1 -0
- package/dist/commands/sphere/discount-groups/update.js.map +1 -1
- package/dist/commands/sphere/extensions/create.d.ts.map +1 -1
- package/dist/commands/sphere/extensions/create.js +0 -1
- package/dist/commands/sphere/extensions/create.js.map +1 -1
- package/dist/commands/sphere/extensions/delete.d.ts.map +1 -1
- package/dist/commands/sphere/extensions/delete.js.map +1 -1
- package/dist/commands/sphere/extensions/get.d.ts.map +1 -1
- package/dist/commands/sphere/extensions/get.js.map +1 -1
- package/dist/commands/sphere/extensions/list.d.ts.map +1 -1
- package/dist/commands/sphere/extensions/list.js +4 -1
- package/dist/commands/sphere/extensions/list.js.map +1 -1
- package/dist/commands/sphere/extensions/update.d.ts.map +1 -1
- package/dist/commands/sphere/extensions/update.js.map +1 -1
- package/dist/commands/sphere/in-store/business-units/create.d.ts +3 -0
- package/dist/commands/sphere/in-store/business-units/create.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/business-units/create.js +11 -0
- package/dist/commands/sphere/in-store/business-units/create.js.map +1 -0
- package/dist/commands/sphere/in-store/business-units/delete.d.ts +3 -0
- package/dist/commands/sphere/in-store/business-units/delete.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/business-units/delete.js +15 -0
- package/dist/commands/sphere/in-store/business-units/delete.js.map +1 -0
- package/dist/commands/sphere/in-store/business-units/get-associate.d.ts +3 -0
- package/dist/commands/sphere/in-store/business-units/get-associate.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/business-units/get-associate.js +22 -0
- package/dist/commands/sphere/in-store/business-units/get-associate.js.map +1 -0
- package/dist/commands/sphere/in-store/business-units/get.d.ts +3 -0
- package/dist/commands/sphere/in-store/business-units/get.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/business-units/get.js +12 -0
- package/dist/commands/sphere/in-store/business-units/get.js.map +1 -0
- package/dist/commands/sphere/in-store/business-units/list.d.ts +3 -0
- package/dist/commands/sphere/in-store/business-units/list.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/business-units/list.js +15 -0
- package/dist/commands/sphere/in-store/business-units/list.js.map +1 -0
- package/dist/commands/sphere/in-store/business-units/update.d.ts +3 -0
- package/dist/commands/sphere/in-store/business-units/update.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/business-units/update.js +12 -0
- package/dist/commands/sphere/in-store/business-units/update.js.map +1 -0
- package/dist/commands/sphere/in-store/cart-discounts/create.d.ts +3 -0
- package/dist/commands/sphere/in-store/cart-discounts/create.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/cart-discounts/create.js +11 -0
- package/dist/commands/sphere/in-store/cart-discounts/create.js.map +1 -0
- package/dist/commands/sphere/in-store/cart-discounts/delete.d.ts +3 -0
- package/dist/commands/sphere/in-store/cart-discounts/delete.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/cart-discounts/delete.js +12 -0
- package/dist/commands/sphere/in-store/cart-discounts/delete.js.map +1 -0
- package/dist/commands/sphere/in-store/cart-discounts/get.d.ts +3 -0
- package/dist/commands/sphere/in-store/cart-discounts/get.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/cart-discounts/get.js +12 -0
- package/dist/commands/sphere/in-store/cart-discounts/get.js.map +1 -0
- package/dist/commands/sphere/in-store/cart-discounts/list.d.ts +3 -0
- package/dist/commands/sphere/in-store/cart-discounts/list.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/cart-discounts/list.js +15 -0
- package/dist/commands/sphere/in-store/cart-discounts/list.js.map +1 -0
- package/dist/commands/sphere/in-store/cart-discounts/update.d.ts +3 -0
- package/dist/commands/sphere/in-store/cart-discounts/update.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/cart-discounts/update.js +12 -0
- package/dist/commands/sphere/in-store/cart-discounts/update.js.map +1 -0
- package/dist/commands/sphere/in-store/carts/create.d.ts +3 -0
- package/dist/commands/sphere/in-store/carts/create.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/carts/create.js +11 -0
- package/dist/commands/sphere/in-store/carts/create.js.map +1 -0
- package/dist/commands/sphere/in-store/carts/delete.d.ts +3 -0
- package/dist/commands/sphere/in-store/carts/delete.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/carts/delete.js +15 -0
- package/dist/commands/sphere/in-store/carts/delete.js.map +1 -0
- package/dist/commands/sphere/in-store/carts/get-by-customer-id.d.ts +3 -0
- package/dist/commands/sphere/in-store/carts/get-by-customer-id.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/carts/get-by-customer-id.js +12 -0
- package/dist/commands/sphere/in-store/carts/get-by-customer-id.js.map +1 -0
- package/dist/commands/sphere/in-store/carts/get.d.ts +3 -0
- package/dist/commands/sphere/in-store/carts/get.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/carts/get.js +12 -0
- package/dist/commands/sphere/in-store/carts/get.js.map +1 -0
- package/dist/commands/sphere/in-store/carts/list.d.ts +3 -0
- package/dist/commands/sphere/in-store/carts/list.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/carts/list.js +15 -0
- package/dist/commands/sphere/in-store/carts/list.js.map +1 -0
- package/dist/commands/sphere/in-store/carts/merge-anonymous.d.ts +3 -0
- package/dist/commands/sphere/in-store/carts/merge-anonymous.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/carts/merge-anonymous.js +12 -0
- package/dist/commands/sphere/in-store/carts/merge-anonymous.js.map +1 -0
- package/dist/commands/sphere/in-store/carts/replicate.d.ts +3 -0
- package/dist/commands/sphere/in-store/carts/replicate.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/carts/replicate.js +9 -0
- package/dist/commands/sphere/in-store/carts/replicate.js.map +1 -0
- package/dist/commands/sphere/in-store/carts/update.d.ts +3 -0
- package/dist/commands/sphere/in-store/carts/update.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/carts/update.js +12 -0
- package/dist/commands/sphere/in-store/carts/update.js.map +1 -0
- package/dist/commands/sphere/in-store/categories/create.d.ts +3 -0
- package/dist/commands/sphere/in-store/categories/create.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/categories/create.js +11 -0
- package/dist/commands/sphere/in-store/categories/create.js.map +1 -0
- package/dist/commands/sphere/in-store/categories/delete.d.ts +3 -0
- package/dist/commands/sphere/in-store/categories/delete.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/categories/delete.js +12 -0
- package/dist/commands/sphere/in-store/categories/delete.js.map +1 -0
- package/dist/commands/sphere/in-store/categories/get.d.ts +3 -0
- package/dist/commands/sphere/in-store/categories/get.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/categories/get.js +12 -0
- package/dist/commands/sphere/in-store/categories/get.js.map +1 -0
- package/dist/commands/sphere/in-store/categories/list.d.ts +3 -0
- package/dist/commands/sphere/in-store/categories/list.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/categories/list.js +15 -0
- package/dist/commands/sphere/in-store/categories/list.js.map +1 -0
- package/dist/commands/sphere/in-store/categories/update.d.ts +3 -0
- package/dist/commands/sphere/in-store/categories/update.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/categories/update.js +12 -0
- package/dist/commands/sphere/in-store/categories/update.js.map +1 -0
- package/dist/commands/sphere/in-store/customers/change-password.d.ts +3 -0
- package/dist/commands/sphere/in-store/customers/change-password.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/customers/change-password.js +9 -0
- package/dist/commands/sphere/in-store/customers/change-password.js.map +1 -0
- package/dist/commands/sphere/in-store/customers/create-email-token.d.ts +3 -0
- package/dist/commands/sphere/in-store/customers/create-email-token.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/customers/create-email-token.js +9 -0
- package/dist/commands/sphere/in-store/customers/create-email-token.js.map +1 -0
- package/dist/commands/sphere/in-store/customers/create-password-token.d.ts +3 -0
- package/dist/commands/sphere/in-store/customers/create-password-token.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/customers/create-password-token.js +9 -0
- package/dist/commands/sphere/in-store/customers/create-password-token.js.map +1 -0
- package/dist/commands/sphere/in-store/customers/create.d.ts +3 -0
- package/dist/commands/sphere/in-store/customers/create.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/customers/create.js +11 -0
- package/dist/commands/sphere/in-store/customers/create.js.map +1 -0
- package/dist/commands/sphere/in-store/customers/delete.d.ts +3 -0
- package/dist/commands/sphere/in-store/customers/delete.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/customers/delete.js +15 -0
- package/dist/commands/sphere/in-store/customers/delete.js.map +1 -0
- package/dist/commands/sphere/in-store/customers/get-by-email-token.d.ts +3 -0
- package/dist/commands/sphere/in-store/customers/get-by-email-token.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/customers/get-by-email-token.js +12 -0
- package/dist/commands/sphere/in-store/customers/get-by-email-token.js.map +1 -0
- package/dist/commands/sphere/in-store/customers/get-by-password-token.d.ts +3 -0
- package/dist/commands/sphere/in-store/customers/get-by-password-token.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/customers/get-by-password-token.js +12 -0
- package/dist/commands/sphere/in-store/customers/get-by-password-token.js.map +1 -0
- package/dist/commands/sphere/in-store/customers/get.d.ts +3 -0
- package/dist/commands/sphere/in-store/customers/get.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/customers/get.js +12 -0
- package/dist/commands/sphere/in-store/customers/get.js.map +1 -0
- package/dist/commands/sphere/in-store/customers/list.d.ts +3 -0
- package/dist/commands/sphere/in-store/customers/list.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/customers/list.js +15 -0
- package/dist/commands/sphere/in-store/customers/list.js.map +1 -0
- package/dist/commands/sphere/in-store/customers/reset-password.d.ts +3 -0
- package/dist/commands/sphere/in-store/customers/reset-password.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/customers/reset-password.js +9 -0
- package/dist/commands/sphere/in-store/customers/reset-password.js.map +1 -0
- package/dist/commands/sphere/in-store/customers/update.d.ts +3 -0
- package/dist/commands/sphere/in-store/customers/update.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/customers/update.js +12 -0
- package/dist/commands/sphere/in-store/customers/update.js.map +1 -0
- package/dist/commands/sphere/in-store/customers/verify-email.d.ts +3 -0
- package/dist/commands/sphere/in-store/customers/verify-email.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/customers/verify-email.js +9 -0
- package/dist/commands/sphere/in-store/customers/verify-email.js.map +1 -0
- package/dist/commands/sphere/in-store/discount-codes/get.d.ts +3 -0
- package/dist/commands/sphere/in-store/discount-codes/get.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/discount-codes/get.js +12 -0
- package/dist/commands/sphere/in-store/discount-codes/get.js.map +1 -0
- package/dist/commands/sphere/in-store/discount-codes/list.d.ts +3 -0
- package/dist/commands/sphere/in-store/discount-codes/list.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/discount-codes/list.js +15 -0
- package/dist/commands/sphere/in-store/discount-codes/list.js.map +1 -0
- package/dist/commands/sphere/in-store/orders/create-from-quote.d.ts +3 -0
- package/dist/commands/sphere/in-store/orders/create-from-quote.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/orders/create-from-quote.js +9 -0
- package/dist/commands/sphere/in-store/orders/create-from-quote.js.map +1 -0
- package/dist/commands/sphere/in-store/orders/create.d.ts +3 -0
- package/dist/commands/sphere/in-store/orders/create.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/orders/create.js +11 -0
- package/dist/commands/sphere/in-store/orders/create.js.map +1 -0
- package/dist/commands/sphere/in-store/orders/delete.d.ts +3 -0
- package/dist/commands/sphere/in-store/orders/delete.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/orders/delete.js +15 -0
- package/dist/commands/sphere/in-store/orders/delete.js.map +1 -0
- package/dist/commands/sphere/in-store/orders/get.d.ts +3 -0
- package/dist/commands/sphere/in-store/orders/get.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/orders/get.js +12 -0
- package/dist/commands/sphere/in-store/orders/get.js.map +1 -0
- package/dist/commands/sphere/in-store/orders/list.d.ts +3 -0
- package/dist/commands/sphere/in-store/orders/list.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/orders/list.js +15 -0
- package/dist/commands/sphere/in-store/orders/list.js.map +1 -0
- package/dist/commands/sphere/in-store/orders/update.d.ts +3 -0
- package/dist/commands/sphere/in-store/orders/update.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/orders/update.js +12 -0
- package/dist/commands/sphere/in-store/orders/update.js.map +1 -0
- package/dist/commands/sphere/in-store/product-selection-assignments/list.d.ts +3 -0
- package/dist/commands/sphere/in-store/product-selection-assignments/list.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/product-selection-assignments/list.js +15 -0
- package/dist/commands/sphere/in-store/product-selection-assignments/list.js.map +1 -0
- package/dist/commands/sphere/in-store/product-tailoring/create.d.ts +3 -0
- package/dist/commands/sphere/in-store/product-tailoring/create.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/product-tailoring/create.js +11 -0
- package/dist/commands/sphere/in-store/product-tailoring/create.js.map +1 -0
- package/dist/commands/sphere/in-store/product-tailoring/list.d.ts +3 -0
- package/dist/commands/sphere/in-store/product-tailoring/list.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/product-tailoring/list.js +15 -0
- package/dist/commands/sphere/in-store/product-tailoring/list.js.map +1 -0
- package/dist/commands/sphere/in-store/quote-requests/create.d.ts +3 -0
- package/dist/commands/sphere/in-store/quote-requests/create.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/quote-requests/create.js +11 -0
- package/dist/commands/sphere/in-store/quote-requests/create.js.map +1 -0
- package/dist/commands/sphere/in-store/quote-requests/delete.d.ts +3 -0
- package/dist/commands/sphere/in-store/quote-requests/delete.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/quote-requests/delete.js +15 -0
- package/dist/commands/sphere/in-store/quote-requests/delete.js.map +1 -0
- package/dist/commands/sphere/in-store/quote-requests/get.d.ts +3 -0
- package/dist/commands/sphere/in-store/quote-requests/get.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/quote-requests/get.js +12 -0
- package/dist/commands/sphere/in-store/quote-requests/get.js.map +1 -0
- package/dist/commands/sphere/in-store/quote-requests/list.d.ts +3 -0
- package/dist/commands/sphere/in-store/quote-requests/list.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/quote-requests/list.js +15 -0
- package/dist/commands/sphere/in-store/quote-requests/list.js.map +1 -0
- package/dist/commands/sphere/in-store/quote-requests/update.d.ts +3 -0
- package/dist/commands/sphere/in-store/quote-requests/update.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/quote-requests/update.js +12 -0
- package/dist/commands/sphere/in-store/quote-requests/update.js.map +1 -0
- package/dist/commands/sphere/in-store/quotes/create.d.ts +3 -0
- package/dist/commands/sphere/in-store/quotes/create.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/quotes/create.js +11 -0
- package/dist/commands/sphere/in-store/quotes/create.js.map +1 -0
- package/dist/commands/sphere/in-store/quotes/delete.d.ts +3 -0
- package/dist/commands/sphere/in-store/quotes/delete.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/quotes/delete.js +15 -0
- package/dist/commands/sphere/in-store/quotes/delete.js.map +1 -0
- package/dist/commands/sphere/in-store/quotes/get.d.ts +3 -0
- package/dist/commands/sphere/in-store/quotes/get.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/quotes/get.js +12 -0
- package/dist/commands/sphere/in-store/quotes/get.js.map +1 -0
- package/dist/commands/sphere/in-store/quotes/list.d.ts +3 -0
- package/dist/commands/sphere/in-store/quotes/list.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/quotes/list.js +15 -0
- package/dist/commands/sphere/in-store/quotes/list.js.map +1 -0
- package/dist/commands/sphere/in-store/quotes/update.d.ts +3 -0
- package/dist/commands/sphere/in-store/quotes/update.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/quotes/update.js +12 -0
- package/dist/commands/sphere/in-store/quotes/update.js.map +1 -0
- package/dist/commands/sphere/in-store/shopping-lists/create.d.ts +3 -0
- package/dist/commands/sphere/in-store/shopping-lists/create.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/shopping-lists/create.js +11 -0
- package/dist/commands/sphere/in-store/shopping-lists/create.js.map +1 -0
- package/dist/commands/sphere/in-store/shopping-lists/delete.d.ts +3 -0
- package/dist/commands/sphere/in-store/shopping-lists/delete.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/shopping-lists/delete.js +15 -0
- package/dist/commands/sphere/in-store/shopping-lists/delete.js.map +1 -0
- package/dist/commands/sphere/in-store/shopping-lists/get.d.ts +3 -0
- package/dist/commands/sphere/in-store/shopping-lists/get.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/shopping-lists/get.js +12 -0
- package/dist/commands/sphere/in-store/shopping-lists/get.js.map +1 -0
- package/dist/commands/sphere/in-store/shopping-lists/list.d.ts +3 -0
- package/dist/commands/sphere/in-store/shopping-lists/list.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/shopping-lists/list.js +15 -0
- package/dist/commands/sphere/in-store/shopping-lists/list.js.map +1 -0
- package/dist/commands/sphere/in-store/shopping-lists/update.d.ts +3 -0
- package/dist/commands/sphere/in-store/shopping-lists/update.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/shopping-lists/update.js +12 -0
- package/dist/commands/sphere/in-store/shopping-lists/update.js.map +1 -0
- package/dist/commands/sphere/in-store/staged-quotes/create.d.ts +3 -0
- package/dist/commands/sphere/in-store/staged-quotes/create.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/staged-quotes/create.js +11 -0
- package/dist/commands/sphere/in-store/staged-quotes/create.js.map +1 -0
- package/dist/commands/sphere/in-store/staged-quotes/delete.d.ts +3 -0
- package/dist/commands/sphere/in-store/staged-quotes/delete.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/staged-quotes/delete.js +15 -0
- package/dist/commands/sphere/in-store/staged-quotes/delete.js.map +1 -0
- package/dist/commands/sphere/in-store/staged-quotes/get.d.ts +3 -0
- package/dist/commands/sphere/in-store/staged-quotes/get.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/staged-quotes/get.js +12 -0
- package/dist/commands/sphere/in-store/staged-quotes/get.js.map +1 -0
- package/dist/commands/sphere/in-store/staged-quotes/list.d.ts +3 -0
- package/dist/commands/sphere/in-store/staged-quotes/list.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/staged-quotes/list.js +15 -0
- package/dist/commands/sphere/in-store/staged-quotes/list.js.map +1 -0
- package/dist/commands/sphere/in-store/staged-quotes/update.d.ts +3 -0
- package/dist/commands/sphere/in-store/staged-quotes/update.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/staged-quotes/update.js +12 -0
- package/dist/commands/sphere/in-store/staged-quotes/update.js.map +1 -0
- package/dist/commands/sphere/in-store/variant-projections/get.d.ts +3 -0
- package/dist/commands/sphere/in-store/variant-projections/get.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/variant-projections/get.js +23 -0
- package/dist/commands/sphere/in-store/variant-projections/get.js.map +1 -0
- package/dist/commands/sphere/in-store/variant-projections/list.d.ts +3 -0
- package/dist/commands/sphere/in-store/variant-projections/list.d.ts.map +1 -0
- package/dist/commands/sphere/in-store/variant-projections/list.js +24 -0
- package/dist/commands/sphere/in-store/variant-projections/list.js.map +1 -0
- package/dist/commands/sphere/inventory/create.d.ts.map +1 -1
- package/dist/commands/sphere/inventory/create.js +1 -0
- package/dist/commands/sphere/inventory/create.js.map +1 -1
- package/dist/commands/sphere/inventory/delete.d.ts.map +1 -1
- package/dist/commands/sphere/inventory/delete.js +2 -0
- package/dist/commands/sphere/inventory/delete.js.map +1 -1
- package/dist/commands/sphere/inventory/get.d.ts.map +1 -1
- package/dist/commands/sphere/inventory/get.js +2 -0
- package/dist/commands/sphere/inventory/get.js.map +1 -1
- package/dist/commands/sphere/inventory/list.d.ts.map +1 -1
- package/dist/commands/sphere/inventory/list.js +5 -0
- package/dist/commands/sphere/inventory/list.js.map +1 -1
- package/dist/commands/sphere/inventory/update.d.ts.map +1 -1
- package/dist/commands/sphere/inventory/update.js +2 -0
- package/dist/commands/sphere/inventory/update.js.map +1 -1
- package/dist/commands/sphere/mcp-servers/create.d.ts.map +1 -0
- package/dist/commands/sphere/{approval-flows → mcp-servers}/create.js +2 -2
- package/dist/commands/sphere/mcp-servers/create.js.map +1 -0
- package/dist/commands/sphere/mcp-servers/delete.d.ts.map +1 -0
- package/dist/commands/sphere/{approval-rules → mcp-servers}/delete.js +2 -2
- package/dist/commands/sphere/mcp-servers/delete.js.map +1 -0
- package/dist/commands/sphere/mcp-servers/get-type.d.ts +3 -0
- package/dist/commands/sphere/mcp-servers/get-type.d.ts.map +1 -0
- package/dist/commands/sphere/mcp-servers/get-type.js +9 -0
- package/dist/commands/sphere/mcp-servers/get-type.js.map +1 -0
- package/dist/commands/sphere/mcp-servers/get.d.ts.map +1 -0
- package/dist/commands/sphere/{approval-rules → mcp-servers}/get.js +2 -2
- package/dist/commands/sphere/mcp-servers/get.js.map +1 -0
- package/dist/commands/sphere/mcp-servers/list-types.d.ts +3 -0
- package/dist/commands/sphere/mcp-servers/list-types.d.ts.map +1 -0
- package/dist/commands/sphere/mcp-servers/list-types.js +7 -0
- package/dist/commands/sphere/mcp-servers/list-types.js.map +1 -0
- package/dist/commands/sphere/mcp-servers/list.d.ts.map +1 -0
- package/dist/commands/sphere/mcp-servers/list.js +7 -0
- package/dist/commands/sphere/mcp-servers/list.js.map +1 -0
- package/dist/commands/sphere/mcp-servers/update.d.ts.map +1 -0
- package/dist/commands/sphere/{approval-rules → mcp-servers}/update.js +2 -2
- package/dist/commands/sphere/mcp-servers/update.js.map +1 -0
- package/dist/commands/sphere/messages/get.d.ts.map +1 -0
- package/dist/commands/sphere/messages/get.js +7 -0
- package/dist/commands/sphere/messages/get.js.map +1 -0
- package/dist/commands/sphere/messages/list.d.ts.map +1 -0
- package/dist/commands/sphere/messages/list.js +11 -0
- package/dist/commands/sphere/messages/list.js.map +1 -0
- package/dist/commands/sphere/orders/create-from-quote.d.ts +3 -0
- package/dist/commands/sphere/orders/create-from-quote.d.ts.map +1 -0
- package/dist/commands/sphere/orders/create-from-quote.js +8 -0
- package/dist/commands/sphere/orders/create-from-quote.js.map +1 -0
- package/dist/commands/sphere/orders/create.d.ts.map +1 -1
- package/dist/commands/sphere/orders/create.js +1 -1
- package/dist/commands/sphere/orders/create.js.map +1 -1
- package/dist/commands/sphere/orders/delete.d.ts.map +1 -1
- package/dist/commands/sphere/orders/delete.js +5 -1
- package/dist/commands/sphere/orders/delete.js.map +1 -1
- package/dist/commands/sphere/orders/edits/apply.d.ts +3 -0
- package/dist/commands/sphere/orders/edits/apply.d.ts.map +1 -0
- package/dist/commands/sphere/orders/edits/apply.js +8 -0
- package/dist/commands/sphere/orders/edits/apply.js.map +1 -0
- package/dist/commands/sphere/orders/edits/create.d.ts +3 -0
- package/dist/commands/sphere/orders/edits/create.d.ts.map +1 -0
- package/dist/commands/sphere/orders/edits/create.js +7 -0
- package/dist/commands/sphere/orders/edits/create.js.map +1 -0
- package/dist/commands/sphere/orders/edits/delete.d.ts +3 -0
- package/dist/commands/sphere/orders/edits/delete.d.ts.map +1 -0
- package/dist/commands/sphere/orders/edits/delete.js +8 -0
- package/dist/commands/sphere/orders/edits/delete.js.map +1 -0
- package/dist/commands/sphere/orders/edits/get.d.ts +3 -0
- package/dist/commands/sphere/orders/edits/get.d.ts.map +1 -0
- package/dist/commands/sphere/orders/edits/get.js +8 -0
- package/dist/commands/sphere/orders/edits/get.js.map +1 -0
- package/dist/commands/sphere/orders/edits/list.d.ts +3 -0
- package/dist/commands/sphere/orders/edits/list.d.ts.map +1 -0
- package/dist/commands/sphere/orders/edits/list.js +11 -0
- package/dist/commands/sphere/orders/edits/list.js.map +1 -0
- package/dist/commands/sphere/orders/edits/update.d.ts +3 -0
- package/dist/commands/sphere/orders/edits/update.d.ts.map +1 -0
- package/dist/commands/sphere/orders/edits/update.js +8 -0
- package/dist/commands/sphere/orders/edits/update.js.map +1 -0
- package/dist/commands/sphere/orders/get.d.ts.map +1 -1
- package/dist/commands/sphere/orders/get.js +2 -1
- package/dist/commands/sphere/orders/get.js.map +1 -1
- package/dist/commands/sphere/orders/import.d.ts +3 -0
- package/dist/commands/sphere/orders/import.d.ts.map +1 -0
- package/dist/commands/sphere/orders/import.js +8 -0
- package/dist/commands/sphere/orders/import.js.map +1 -0
- package/dist/commands/sphere/orders/list.d.ts.map +1 -1
- package/dist/commands/sphere/orders/list.js +5 -1
- package/dist/commands/sphere/orders/list.js.map +1 -1
- package/dist/commands/sphere/orders/search.d.ts +3 -0
- package/dist/commands/sphere/orders/search.d.ts.map +1 -0
- package/dist/commands/sphere/orders/search.js +8 -0
- package/dist/commands/sphere/orders/search.js.map +1 -0
- package/dist/commands/sphere/orders/update.d.ts.map +1 -1
- package/dist/commands/sphere/orders/update.js +2 -1
- package/dist/commands/sphere/orders/update.js.map +1 -1
- package/dist/commands/sphere/payment-methods/create.d.ts.map +1 -1
- package/dist/commands/sphere/payment-methods/create.js +1 -1
- package/dist/commands/sphere/payment-methods/create.js.map +1 -1
- package/dist/commands/sphere/payment-methods/delete.d.ts.map +1 -1
- package/dist/commands/sphere/payment-methods/delete.js +1 -0
- package/dist/commands/sphere/payment-methods/delete.js.map +1 -1
- package/dist/commands/sphere/payment-methods/get.d.ts.map +1 -1
- package/dist/commands/sphere/payment-methods/get.js +1 -0
- package/dist/commands/sphere/payment-methods/get.js.map +1 -1
- package/dist/commands/sphere/payment-methods/list.d.ts.map +1 -1
- package/dist/commands/sphere/payment-methods/list.js +5 -1
- package/dist/commands/sphere/payment-methods/list.js.map +1 -1
- package/dist/commands/sphere/payment-methods/update.d.ts.map +1 -1
- package/dist/commands/sphere/payment-methods/update.js +1 -0
- package/dist/commands/sphere/payment-methods/update.js.map +1 -1
- package/dist/commands/sphere/payments/create.d.ts.map +1 -1
- package/dist/commands/sphere/payments/create.js +1 -1
- package/dist/commands/sphere/payments/create.js.map +1 -1
- package/dist/commands/sphere/payments/delete.d.ts.map +1 -1
- package/dist/commands/sphere/payments/delete.js +4 -0
- package/dist/commands/sphere/payments/delete.js.map +1 -1
- package/dist/commands/sphere/payments/get.d.ts.map +1 -1
- package/dist/commands/sphere/payments/get.js +1 -0
- package/dist/commands/sphere/payments/get.js.map +1 -1
- package/dist/commands/sphere/payments/list.d.ts.map +1 -1
- package/dist/commands/sphere/payments/list.js +5 -1
- package/dist/commands/sphere/payments/list.js.map +1 -1
- package/dist/commands/sphere/payments/update.d.ts.map +1 -1
- package/dist/commands/sphere/payments/update.js +1 -0
- package/dist/commands/sphere/payments/update.js.map +1 -1
- package/dist/commands/sphere/product-discounts/create.d.ts.map +1 -1
- package/dist/commands/sphere/product-discounts/create.js +1 -1
- package/dist/commands/sphere/product-discounts/create.js.map +1 -1
- package/dist/commands/sphere/product-discounts/delete.d.ts.map +1 -1
- package/dist/commands/sphere/product-discounts/delete.js +1 -0
- package/dist/commands/sphere/product-discounts/delete.js.map +1 -1
- package/dist/commands/sphere/product-discounts/get.d.ts.map +1 -1
- package/dist/commands/sphere/product-discounts/get.js +1 -0
- package/dist/commands/sphere/product-discounts/get.js.map +1 -1
- package/dist/commands/sphere/product-discounts/list.d.ts.map +1 -1
- package/dist/commands/sphere/product-discounts/list.js +5 -1
- package/dist/commands/sphere/product-discounts/list.js.map +1 -1
- package/dist/commands/sphere/product-discounts/match.d.ts +3 -0
- package/dist/commands/sphere/product-discounts/match.d.ts.map +1 -0
- package/dist/commands/sphere/product-discounts/match.js +8 -0
- package/dist/commands/sphere/product-discounts/match.js.map +1 -0
- package/dist/commands/sphere/product-discounts/update.d.ts.map +1 -1
- package/dist/commands/sphere/product-discounts/update.js +1 -0
- package/dist/commands/sphere/product-discounts/update.js.map +1 -1
- package/dist/commands/sphere/product-projections/get-variant-attributes.d.ts +3 -0
- package/dist/commands/sphere/product-projections/get-variant-attributes.d.ts.map +1 -0
- package/dist/commands/sphere/product-projections/get-variant-attributes.js +24 -0
- package/dist/commands/sphere/product-projections/get-variant-attributes.js.map +1 -0
- package/dist/commands/sphere/product-projections/get.d.ts.map +1 -1
- package/dist/commands/sphere/product-projections/get.js +13 -0
- package/dist/commands/sphere/product-projections/get.js.map +1 -1
- package/dist/commands/sphere/product-projections/list.d.ts.map +1 -1
- package/dist/commands/sphere/product-projections/list.js +15 -1
- package/dist/commands/sphere/product-projections/list.js.map +1 -1
- package/dist/commands/sphere/product-projections/search.d.ts +3 -0
- package/dist/commands/sphere/product-projections/search.d.ts.map +1 -0
- package/dist/commands/sphere/product-projections/search.js +30 -0
- package/dist/commands/sphere/product-projections/search.js.map +1 -0
- package/dist/commands/sphere/product-projections/suggest.d.ts +3 -0
- package/dist/commands/sphere/product-projections/suggest.d.ts.map +1 -0
- package/dist/commands/sphere/product-projections/suggest.js +13 -0
- package/dist/commands/sphere/product-projections/suggest.js.map +1 -0
- package/dist/commands/sphere/product-selections/create.d.ts.map +1 -1
- package/dist/commands/sphere/product-selections/create.js +1 -1
- package/dist/commands/sphere/product-selections/create.js.map +1 -1
- package/dist/commands/sphere/product-selections/delete.d.ts.map +1 -1
- package/dist/commands/sphere/product-selections/delete.js +1 -0
- package/dist/commands/sphere/product-selections/delete.js.map +1 -1
- package/dist/commands/sphere/product-selections/get.d.ts.map +1 -1
- package/dist/commands/sphere/product-selections/get.js +1 -0
- package/dist/commands/sphere/product-selections/get.js.map +1 -1
- package/dist/commands/sphere/product-selections/list-products.d.ts +3 -0
- package/dist/commands/sphere/product-selections/list-products.d.ts.map +1 -0
- package/dist/commands/sphere/product-selections/list-products.js +26 -0
- package/dist/commands/sphere/product-selections/list-products.js.map +1 -0
- package/dist/commands/sphere/product-selections/list.d.ts.map +1 -1
- package/dist/commands/sphere/product-selections/list.js +5 -1
- package/dist/commands/sphere/product-selections/list.js.map +1 -1
- package/dist/commands/sphere/product-selections/update.d.ts.map +1 -1
- package/dist/commands/sphere/product-selections/update.js +1 -0
- package/dist/commands/sphere/product-selections/update.js.map +1 -1
- package/dist/commands/sphere/product-tailoring/create.d.ts.map +1 -1
- package/dist/commands/sphere/product-tailoring/create.js +1 -1
- package/dist/commands/sphere/product-tailoring/create.js.map +1 -1
- package/dist/commands/sphere/product-tailoring/delete.d.ts.map +1 -1
- package/dist/commands/sphere/product-tailoring/delete.js +1 -0
- package/dist/commands/sphere/product-tailoring/delete.js.map +1 -1
- package/dist/commands/sphere/product-tailoring/get.d.ts.map +1 -1
- package/dist/commands/sphere/product-tailoring/get.js +1 -0
- package/dist/commands/sphere/product-tailoring/get.js.map +1 -1
- package/dist/commands/sphere/product-tailoring/list.d.ts.map +1 -1
- package/dist/commands/sphere/product-tailoring/list.js +5 -1
- package/dist/commands/sphere/product-tailoring/list.js.map +1 -1
- package/dist/commands/sphere/product-tailoring/update.d.ts.map +1 -1
- package/dist/commands/sphere/product-tailoring/update.js +1 -0
- package/dist/commands/sphere/product-tailoring/update.js.map +1 -1
- package/dist/commands/sphere/product-types/create.d.ts.map +1 -1
- package/dist/commands/sphere/product-types/create.js +1 -1
- package/dist/commands/sphere/product-types/create.js.map +1 -1
- package/dist/commands/sphere/product-types/delete.d.ts.map +1 -1
- package/dist/commands/sphere/product-types/delete.js +1 -0
- package/dist/commands/sphere/product-types/delete.js.map +1 -1
- package/dist/commands/sphere/product-types/get.d.ts.map +1 -1
- package/dist/commands/sphere/product-types/get.js +1 -0
- package/dist/commands/sphere/product-types/get.js.map +1 -1
- package/dist/commands/sphere/product-types/list.d.ts.map +1 -1
- package/dist/commands/sphere/product-types/list.js +5 -1
- package/dist/commands/sphere/product-types/list.js.map +1 -1
- package/dist/commands/sphere/product-types/update.d.ts.map +1 -1
- package/dist/commands/sphere/product-types/update.js +1 -0
- package/dist/commands/sphere/product-types/update.js.map +1 -1
- package/dist/commands/sphere/products/create.d.ts.map +1 -1
- package/dist/commands/sphere/products/create.js +9 -1
- package/dist/commands/sphere/products/create.js.map +1 -1
- package/dist/commands/sphere/products/delete.d.ts.map +1 -1
- package/dist/commands/sphere/products/delete.js +9 -0
- package/dist/commands/sphere/products/delete.js.map +1 -1
- package/dist/commands/sphere/products/get.d.ts.map +1 -1
- package/dist/commands/sphere/products/get.js +9 -0
- package/dist/commands/sphere/products/get.js.map +1 -1
- package/dist/commands/sphere/products/list-product-selections.d.ts +3 -0
- package/dist/commands/sphere/products/list-product-selections.d.ts.map +1 -0
- package/dist/commands/sphere/products/list-product-selections.js +23 -0
- package/dist/commands/sphere/products/list-product-selections.js.map +1 -0
- package/dist/commands/sphere/products/list.d.ts.map +1 -1
- package/dist/commands/sphere/products/list.js +11 -1
- package/dist/commands/sphere/products/list.js.map +1 -1
- package/dist/commands/sphere/products/search.d.ts +3 -0
- package/dist/commands/sphere/products/search.d.ts.map +1 -0
- package/dist/commands/sphere/products/search.js +8 -0
- package/dist/commands/sphere/products/search.js.map +1 -0
- package/dist/commands/sphere/products/update.d.ts.map +1 -1
- package/dist/commands/sphere/products/update.js +9 -0
- package/dist/commands/sphere/products/update.js.map +1 -1
- package/dist/commands/sphere/project/get.d.ts +3 -0
- package/dist/commands/sphere/project/get.d.ts.map +1 -0
- package/dist/commands/sphere/project/get.js +7 -0
- package/dist/commands/sphere/project/get.js.map +1 -0
- package/dist/commands/sphere/project/update.d.ts.map +1 -0
- package/dist/commands/sphere/project/update.js +8 -0
- package/dist/commands/sphere/project/update.js.map +1 -0
- package/dist/commands/sphere/quote-requests/create.d.ts.map +1 -1
- package/dist/commands/sphere/quote-requests/create.js +1 -1
- package/dist/commands/sphere/quote-requests/create.js.map +1 -1
- package/dist/commands/sphere/quote-requests/delete.d.ts.map +1 -1
- package/dist/commands/sphere/quote-requests/delete.js +4 -0
- package/dist/commands/sphere/quote-requests/delete.js.map +1 -1
- package/dist/commands/sphere/quote-requests/get.d.ts.map +1 -1
- package/dist/commands/sphere/quote-requests/get.js +1 -0
- package/dist/commands/sphere/quote-requests/get.js.map +1 -1
- package/dist/commands/sphere/quote-requests/list.d.ts.map +1 -1
- package/dist/commands/sphere/quote-requests/list.js +5 -1
- package/dist/commands/sphere/quote-requests/list.js.map +1 -1
- package/dist/commands/sphere/quote-requests/update.d.ts.map +1 -1
- package/dist/commands/sphere/quote-requests/update.js +1 -0
- package/dist/commands/sphere/quote-requests/update.js.map +1 -1
- package/dist/commands/sphere/quotes/create.d.ts.map +1 -1
- package/dist/commands/sphere/quotes/create.js +1 -1
- package/dist/commands/sphere/quotes/create.js.map +1 -1
- package/dist/commands/sphere/quotes/delete.d.ts.map +1 -1
- package/dist/commands/sphere/quotes/delete.js +4 -0
- package/dist/commands/sphere/quotes/delete.js.map +1 -1
- package/dist/commands/sphere/quotes/get.d.ts.map +1 -1
- package/dist/commands/sphere/quotes/get.js +1 -0
- package/dist/commands/sphere/quotes/get.js.map +1 -1
- package/dist/commands/sphere/quotes/list.d.ts.map +1 -1
- package/dist/commands/sphere/quotes/list.js +5 -1
- package/dist/commands/sphere/quotes/list.js.map +1 -1
- package/dist/commands/sphere/quotes/update.d.ts.map +1 -1
- package/dist/commands/sphere/quotes/update.js +1 -0
- package/dist/commands/sphere/quotes/update.js.map +1 -1
- package/dist/commands/sphere/recurrence-policies/create.d.ts.map +1 -0
- package/dist/commands/sphere/recurrence-policies/create.js +7 -0
- package/dist/commands/sphere/recurrence-policies/create.js.map +1 -0
- package/dist/commands/sphere/recurrence-policies/delete.d.ts.map +1 -0
- package/dist/commands/sphere/recurrence-policies/delete.js +8 -0
- package/dist/commands/sphere/recurrence-policies/delete.js.map +1 -0
- package/dist/commands/sphere/recurrence-policies/get.d.ts +3 -0
- package/dist/commands/sphere/recurrence-policies/get.d.ts.map +1 -0
- package/dist/commands/sphere/recurrence-policies/get.js +8 -0
- package/dist/commands/sphere/recurrence-policies/get.js.map +1 -0
- package/dist/commands/sphere/recurrence-policies/list.d.ts +3 -0
- package/dist/commands/sphere/recurrence-policies/list.d.ts.map +1 -0
- package/dist/commands/sphere/recurrence-policies/list.js +11 -0
- package/dist/commands/sphere/recurrence-policies/list.js.map +1 -0
- package/dist/commands/sphere/recurrence-policies/update.d.ts.map +1 -0
- package/dist/commands/sphere/recurrence-policies/update.js +8 -0
- package/dist/commands/sphere/recurrence-policies/update.js.map +1 -0
- package/dist/commands/sphere/recurring-orders/create.d.ts +3 -0
- package/dist/commands/sphere/recurring-orders/create.d.ts.map +1 -0
- package/dist/commands/sphere/recurring-orders/create.js +7 -0
- package/dist/commands/sphere/recurring-orders/create.js.map +1 -0
- package/dist/commands/sphere/recurring-orders/delete.d.ts +3 -0
- package/dist/commands/sphere/recurring-orders/delete.d.ts.map +1 -0
- package/dist/commands/sphere/recurring-orders/delete.js +11 -0
- package/dist/commands/sphere/recurring-orders/delete.js.map +1 -0
- package/dist/commands/sphere/recurring-orders/get.d.ts +3 -0
- package/dist/commands/sphere/recurring-orders/get.d.ts.map +1 -0
- package/dist/commands/sphere/recurring-orders/get.js +8 -0
- package/dist/commands/sphere/recurring-orders/get.js.map +1 -0
- package/dist/commands/sphere/recurring-orders/list.d.ts +3 -0
- package/dist/commands/sphere/recurring-orders/list.d.ts.map +1 -0
- package/dist/commands/sphere/recurring-orders/list.js +11 -0
- package/dist/commands/sphere/recurring-orders/list.js.map +1 -0
- package/dist/commands/sphere/recurring-orders/update.d.ts +3 -0
- package/dist/commands/sphere/recurring-orders/update.d.ts.map +1 -0
- package/dist/commands/sphere/recurring-orders/update.js +8 -0
- package/dist/commands/sphere/recurring-orders/update.js.map +1 -0
- package/dist/commands/sphere/reviews/create.d.ts.map +1 -1
- package/dist/commands/sphere/reviews/create.js +1 -0
- package/dist/commands/sphere/reviews/create.js.map +1 -1
- package/dist/commands/sphere/reviews/delete.d.ts.map +1 -1
- package/dist/commands/sphere/reviews/delete.js +5 -0
- package/dist/commands/sphere/reviews/delete.js.map +1 -1
- package/dist/commands/sphere/reviews/get.d.ts.map +1 -1
- package/dist/commands/sphere/reviews/get.js +2 -0
- package/dist/commands/sphere/reviews/get.js.map +1 -1
- package/dist/commands/sphere/reviews/list.d.ts.map +1 -1
- package/dist/commands/sphere/reviews/list.js +5 -0
- package/dist/commands/sphere/reviews/list.js.map +1 -1
- package/dist/commands/sphere/reviews/update.d.ts.map +1 -1
- package/dist/commands/sphere/reviews/update.js +2 -0
- package/dist/commands/sphere/reviews/update.js.map +1 -1
- package/dist/commands/sphere/shipping-methods/create.d.ts.map +1 -1
- package/dist/commands/sphere/shipping-methods/create.js +1 -1
- package/dist/commands/sphere/shipping-methods/create.js.map +1 -1
- package/dist/commands/sphere/shipping-methods/delete.d.ts.map +1 -1
- package/dist/commands/sphere/shipping-methods/delete.js +1 -0
- package/dist/commands/sphere/shipping-methods/delete.js.map +1 -1
- package/dist/commands/sphere/shipping-methods/get.d.ts.map +1 -1
- package/dist/commands/sphere/shipping-methods/get.js +1 -0
- package/dist/commands/sphere/shipping-methods/get.js.map +1 -1
- package/dist/commands/sphere/shipping-methods/list-matching-cart-location.d.ts +3 -0
- package/dist/commands/sphere/shipping-methods/list-matching-cart-location.d.ts.map +1 -0
- package/dist/commands/sphere/shipping-methods/list-matching-cart-location.js +13 -0
- package/dist/commands/sphere/shipping-methods/list-matching-cart-location.js.map +1 -0
- package/dist/commands/sphere/shipping-methods/list-matching-cart.d.ts +3 -0
- package/dist/commands/sphere/shipping-methods/list-matching-cart.d.ts.map +1 -0
- package/dist/commands/sphere/shipping-methods/list-matching-cart.js +11 -0
- package/dist/commands/sphere/shipping-methods/list-matching-cart.js.map +1 -0
- package/dist/commands/sphere/shipping-methods/list-matching-location.d.ts +3 -0
- package/dist/commands/sphere/shipping-methods/list-matching-location.d.ts.map +1 -0
- package/dist/commands/sphere/shipping-methods/list-matching-location.js +14 -0
- package/dist/commands/sphere/shipping-methods/list-matching-location.js.map +1 -0
- package/dist/commands/sphere/shipping-methods/list-matching-orderedit.d.ts +3 -0
- package/dist/commands/sphere/shipping-methods/list-matching-orderedit.d.ts.map +1 -0
- package/dist/commands/sphere/shipping-methods/list-matching-orderedit.js +12 -0
- package/dist/commands/sphere/shipping-methods/list-matching-orderedit.js.map +1 -0
- package/dist/commands/sphere/shipping-methods/list.d.ts.map +1 -1
- package/dist/commands/sphere/shipping-methods/list.js +5 -1
- package/dist/commands/sphere/shipping-methods/list.js.map +1 -1
- package/dist/commands/sphere/shipping-methods/update.d.ts.map +1 -1
- package/dist/commands/sphere/shipping-methods/update.js +1 -0
- package/dist/commands/sphere/shipping-methods/update.js.map +1 -1
- package/dist/commands/sphere/shopping-lists/create.d.ts.map +1 -1
- package/dist/commands/sphere/shopping-lists/create.js +1 -1
- package/dist/commands/sphere/shopping-lists/create.js.map +1 -1
- package/dist/commands/sphere/shopping-lists/delete.d.ts.map +1 -1
- package/dist/commands/sphere/shopping-lists/delete.js +4 -0
- package/dist/commands/sphere/shopping-lists/delete.js.map +1 -1
- package/dist/commands/sphere/shopping-lists/get.d.ts.map +1 -1
- package/dist/commands/sphere/shopping-lists/get.js +1 -0
- package/dist/commands/sphere/shopping-lists/get.js.map +1 -1
- package/dist/commands/sphere/shopping-lists/list.d.ts.map +1 -1
- package/dist/commands/sphere/shopping-lists/list.js +5 -1
- package/dist/commands/sphere/shopping-lists/list.js.map +1 -1
- package/dist/commands/sphere/shopping-lists/update.d.ts.map +1 -1
- package/dist/commands/sphere/shopping-lists/update.js +1 -0
- package/dist/commands/sphere/shopping-lists/update.js.map +1 -1
- package/dist/commands/sphere/staged-quotes/create.d.ts.map +1 -1
- package/dist/commands/sphere/staged-quotes/create.js +1 -1
- package/dist/commands/sphere/staged-quotes/create.js.map +1 -1
- package/dist/commands/sphere/staged-quotes/delete.d.ts.map +1 -1
- package/dist/commands/sphere/staged-quotes/delete.js +4 -0
- package/dist/commands/sphere/staged-quotes/delete.js.map +1 -1
- package/dist/commands/sphere/staged-quotes/get.d.ts.map +1 -1
- package/dist/commands/sphere/staged-quotes/get.js +1 -0
- package/dist/commands/sphere/staged-quotes/get.js.map +1 -1
- package/dist/commands/sphere/staged-quotes/list.d.ts.map +1 -1
- package/dist/commands/sphere/staged-quotes/list.js +5 -1
- package/dist/commands/sphere/staged-quotes/list.js.map +1 -1
- package/dist/commands/sphere/staged-quotes/update.d.ts.map +1 -1
- package/dist/commands/sphere/staged-quotes/update.js +1 -0
- package/dist/commands/sphere/staged-quotes/update.js.map +1 -1
- package/dist/commands/sphere/standalone-prices/create.d.ts +3 -0
- package/dist/commands/sphere/standalone-prices/create.d.ts.map +1 -0
- package/dist/commands/sphere/standalone-prices/create.js +7 -0
- package/dist/commands/sphere/standalone-prices/create.js.map +1 -0
- package/dist/commands/sphere/standalone-prices/delete.d.ts +3 -0
- package/dist/commands/sphere/standalone-prices/delete.d.ts.map +1 -0
- package/dist/commands/sphere/standalone-prices/delete.js +8 -0
- package/dist/commands/sphere/standalone-prices/delete.js.map +1 -0
- package/dist/commands/sphere/standalone-prices/get.d.ts +3 -0
- package/dist/commands/sphere/standalone-prices/get.d.ts.map +1 -0
- package/dist/commands/sphere/standalone-prices/get.js +8 -0
- package/dist/commands/sphere/standalone-prices/get.js.map +1 -0
- package/dist/commands/sphere/standalone-prices/list.d.ts +3 -0
- package/dist/commands/sphere/standalone-prices/list.d.ts.map +1 -0
- package/dist/commands/sphere/standalone-prices/list.js +11 -0
- package/dist/commands/sphere/standalone-prices/list.js.map +1 -0
- package/dist/commands/sphere/standalone-prices/update.d.ts +3 -0
- package/dist/commands/sphere/standalone-prices/update.d.ts.map +1 -0
- package/dist/commands/sphere/standalone-prices/update.js +8 -0
- package/dist/commands/sphere/standalone-prices/update.js.map +1 -0
- package/dist/commands/sphere/states/create.d.ts.map +1 -1
- package/dist/commands/sphere/states/create.js +1 -1
- package/dist/commands/sphere/states/create.js.map +1 -1
- package/dist/commands/sphere/states/delete.d.ts.map +1 -1
- package/dist/commands/sphere/states/delete.js +1 -0
- package/dist/commands/sphere/states/delete.js.map +1 -1
- package/dist/commands/sphere/states/get.d.ts.map +1 -1
- package/dist/commands/sphere/states/get.js +1 -0
- package/dist/commands/sphere/states/get.js.map +1 -1
- package/dist/commands/sphere/states/list.d.ts.map +1 -1
- package/dist/commands/sphere/states/list.js +5 -1
- package/dist/commands/sphere/states/list.js.map +1 -1
- package/dist/commands/sphere/states/update.d.ts.map +1 -1
- package/dist/commands/sphere/states/update.js +1 -0
- package/dist/commands/sphere/states/update.js.map +1 -1
- package/dist/commands/sphere/stores/create.d.ts.map +1 -1
- package/dist/commands/sphere/stores/create.js +1 -1
- package/dist/commands/sphere/stores/create.js.map +1 -1
- package/dist/commands/sphere/stores/delete.d.ts.map +1 -1
- package/dist/commands/sphere/stores/delete.js +1 -0
- package/dist/commands/sphere/stores/delete.js.map +1 -1
- package/dist/commands/sphere/stores/get.d.ts.map +1 -1
- package/dist/commands/sphere/stores/get.js +1 -0
- package/dist/commands/sphere/stores/get.js.map +1 -1
- package/dist/commands/sphere/stores/list.d.ts.map +1 -1
- package/dist/commands/sphere/stores/list.js +5 -1
- package/dist/commands/sphere/stores/list.js.map +1 -1
- package/dist/commands/sphere/stores/update.d.ts.map +1 -1
- package/dist/commands/sphere/stores/update.js +1 -0
- package/dist/commands/sphere/stores/update.js.map +1 -1
- package/dist/commands/sphere/subscriptions/create.d.ts.map +1 -1
- package/dist/commands/sphere/subscriptions/create.js +0 -1
- package/dist/commands/sphere/subscriptions/create.js.map +1 -1
- package/dist/commands/sphere/subscriptions/delete.d.ts.map +1 -1
- package/dist/commands/sphere/subscriptions/delete.js.map +1 -1
- package/dist/commands/sphere/subscriptions/get-health.d.ts +3 -0
- package/dist/commands/sphere/subscriptions/get-health.d.ts.map +1 -0
- package/dist/commands/sphere/subscriptions/get-health.js +9 -0
- package/dist/commands/sphere/subscriptions/get-health.js.map +1 -0
- package/dist/commands/sphere/subscriptions/get.d.ts.map +1 -1
- package/dist/commands/sphere/subscriptions/get.js.map +1 -1
- package/dist/commands/sphere/subscriptions/list.d.ts.map +1 -1
- package/dist/commands/sphere/subscriptions/list.js +4 -1
- package/dist/commands/sphere/subscriptions/list.js.map +1 -1
- package/dist/commands/sphere/subscriptions/update.d.ts.map +1 -1
- package/dist/commands/sphere/subscriptions/update.js.map +1 -1
- package/dist/commands/sphere/tax-categories/create.d.ts.map +1 -1
- package/dist/commands/sphere/tax-categories/create.js +1 -1
- package/dist/commands/sphere/tax-categories/create.js.map +1 -1
- package/dist/commands/sphere/tax-categories/delete.d.ts.map +1 -1
- package/dist/commands/sphere/tax-categories/delete.js +1 -0
- package/dist/commands/sphere/tax-categories/delete.js.map +1 -1
- package/dist/commands/sphere/tax-categories/get.d.ts.map +1 -1
- package/dist/commands/sphere/tax-categories/get.js +1 -0
- package/dist/commands/sphere/tax-categories/get.js.map +1 -1
- package/dist/commands/sphere/tax-categories/list.d.ts.map +1 -1
- package/dist/commands/sphere/tax-categories/list.js +5 -1
- package/dist/commands/sphere/tax-categories/list.js.map +1 -1
- package/dist/commands/sphere/tax-categories/update.d.ts.map +1 -1
- package/dist/commands/sphere/tax-categories/update.js +1 -0
- package/dist/commands/sphere/tax-categories/update.js.map +1 -1
- package/dist/commands/sphere/types/create.d.ts.map +1 -1
- package/dist/commands/sphere/types/create.js +1 -1
- package/dist/commands/sphere/types/create.js.map +1 -1
- package/dist/commands/sphere/types/delete.d.ts.map +1 -1
- package/dist/commands/sphere/types/delete.js +1 -0
- package/dist/commands/sphere/types/delete.js.map +1 -1
- package/dist/commands/sphere/types/get.d.ts.map +1 -1
- package/dist/commands/sphere/types/get.js +1 -0
- package/dist/commands/sphere/types/get.js.map +1 -1
- package/dist/commands/sphere/types/list.d.ts.map +1 -1
- package/dist/commands/sphere/types/list.js +5 -1
- package/dist/commands/sphere/types/list.js.map +1 -1
- package/dist/commands/sphere/types/update.d.ts.map +1 -1
- package/dist/commands/sphere/types/update.js +1 -0
- package/dist/commands/sphere/types/update.js.map +1 -1
- package/dist/commands/sphere/variant-projections/get.d.ts +3 -0
- package/dist/commands/sphere/variant-projections/get.d.ts.map +1 -0
- package/dist/commands/sphere/variant-projections/get.js +19 -0
- package/dist/commands/sphere/variant-projections/get.js.map +1 -0
- package/dist/commands/sphere/variant-projections/list.d.ts +3 -0
- package/dist/commands/sphere/variant-projections/list.d.ts.map +1 -0
- package/dist/commands/sphere/variant-projections/list.js +20 -0
- package/dist/commands/sphere/variant-projections/list.js.map +1 -0
- package/dist/commands/sphere/variants/bulk-update.d.ts +3 -0
- package/dist/commands/sphere/variants/bulk-update.d.ts.map +1 -0
- package/dist/commands/sphere/variants/bulk-update.js +9 -0
- package/dist/commands/sphere/variants/bulk-update.js.map +1 -0
- package/dist/commands/sphere/variants/create.d.ts +3 -0
- package/dist/commands/sphere/variants/create.d.ts.map +1 -0
- package/dist/commands/sphere/variants/create.js +7 -0
- package/dist/commands/sphere/variants/create.js.map +1 -0
- package/dist/commands/sphere/variants/delete.d.ts +3 -0
- package/dist/commands/sphere/variants/delete.d.ts.map +1 -0
- package/dist/commands/sphere/variants/delete.js +8 -0
- package/dist/commands/sphere/variants/delete.js.map +1 -0
- package/dist/commands/sphere/variants/get.d.ts +3 -0
- package/dist/commands/sphere/variants/get.d.ts.map +1 -0
- package/dist/commands/sphere/variants/get.js +8 -0
- package/dist/commands/sphere/variants/get.js.map +1 -0
- package/dist/commands/sphere/variants/list.d.ts +3 -0
- package/dist/commands/sphere/variants/list.d.ts.map +1 -0
- package/dist/commands/sphere/variants/list.js +11 -0
- package/dist/commands/sphere/variants/list.js.map +1 -0
- package/dist/commands/sphere/variants/update.d.ts +3 -0
- package/dist/commands/sphere/variants/update.d.ts.map +1 -0
- package/dist/commands/sphere/variants/update.js +8 -0
- package/dist/commands/sphere/variants/update.js.map +1 -0
- package/dist/commands/sphere/zones/create.d.ts.map +1 -1
- package/dist/commands/sphere/zones/create.js +1 -1
- package/dist/commands/sphere/zones/create.js.map +1 -1
- package/dist/commands/sphere/zones/delete.d.ts.map +1 -1
- package/dist/commands/sphere/zones/delete.js +1 -0
- package/dist/commands/sphere/zones/delete.js.map +1 -1
- package/dist/commands/sphere/zones/get.d.ts.map +1 -1
- package/dist/commands/sphere/zones/get.js +1 -0
- package/dist/commands/sphere/zones/get.js.map +1 -1
- package/dist/commands/sphere/zones/list.d.ts.map +1 -1
- package/dist/commands/sphere/zones/list.js +5 -1
- package/dist/commands/sphere/zones/list.js.map +1 -1
- package/dist/commands/sphere/zones/update.d.ts.map +1 -1
- package/dist/commands/sphere/zones/update.js +1 -0
- package/dist/commands/sphere/zones/update.js.map +1 -1
- package/dist/common/crud/create.d.ts.map +1 -1
- package/dist/common/crud/create.js +9 -4
- package/dist/common/crud/create.js.map +1 -1
- package/dist/common/crud/delete.d.ts.map +1 -1
- package/dist/common/crud/delete.js +11 -24
- package/dist/common/crud/delete.js.map +1 -1
- package/dist/common/crud/get.d.ts.map +1 -1
- package/dist/common/crud/get.js +10 -24
- package/dist/common/crud/get.js.map +1 -1
- package/dist/common/crud/list.d.ts.map +1 -1
- package/dist/common/crud/list.js +6 -1
- package/dist/common/crud/list.js.map +1 -1
- package/dist/common/crud/operation.d.ts +4 -0
- package/dist/common/crud/operation.d.ts.map +1 -0
- package/dist/common/crud/operation.js +23 -0
- package/dist/common/crud/operation.js.map +1 -0
- package/dist/common/crud/resource-config.d.ts +16 -0
- package/dist/common/crud/resource-config.d.ts.map +1 -1
- package/dist/common/crud/resource-path.d.ts +14 -0
- package/dist/common/crud/resource-path.d.ts.map +1 -0
- package/dist/common/crud/resource-path.js +59 -0
- package/dist/common/crud/resource-path.js.map +1 -0
- package/dist/common/crud/update.d.ts.map +1 -1
- package/dist/common/crud/update.js +15 -26
- package/dist/common/crud/update.js.map +1 -1
- package/package.json +3 -2
- package/dist/commands/sphere/api-clients/update.d.ts.map +0 -1
- package/dist/commands/sphere/api-clients/update.js +0 -6
- package/dist/commands/sphere/api-clients/update.js.map +0 -1
- package/dist/commands/sphere/approval-flows/create.d.ts.map +0 -1
- package/dist/commands/sphere/approval-flows/create.js.map +0 -1
- package/dist/commands/sphere/approval-flows/delete.d.ts.map +0 -1
- package/dist/commands/sphere/approval-flows/delete.js +0 -6
- package/dist/commands/sphere/approval-flows/delete.js.map +0 -1
- package/dist/commands/sphere/approval-flows/get.d.ts.map +0 -1
- package/dist/commands/sphere/approval-flows/get.js +0 -6
- package/dist/commands/sphere/approval-flows/get.js.map +0 -1
- package/dist/commands/sphere/approval-flows/list.d.ts.map +0 -1
- package/dist/commands/sphere/approval-flows/list.js +0 -6
- package/dist/commands/sphere/approval-flows/list.js.map +0 -1
- package/dist/commands/sphere/approval-flows/update.d.ts.map +0 -1
- package/dist/commands/sphere/approval-flows/update.js +0 -6
- package/dist/commands/sphere/approval-flows/update.js.map +0 -1
- package/dist/commands/sphere/approval-rules/create.d.ts.map +0 -1
- package/dist/commands/sphere/approval-rules/create.js +0 -7
- package/dist/commands/sphere/approval-rules/create.js.map +0 -1
- package/dist/commands/sphere/approval-rules/delete.d.ts.map +0 -1
- package/dist/commands/sphere/approval-rules/delete.js.map +0 -1
- package/dist/commands/sphere/approval-rules/get.d.ts.map +0 -1
- package/dist/commands/sphere/approval-rules/get.js.map +0 -1
- package/dist/commands/sphere/approval-rules/list.d.ts.map +0 -1
- package/dist/commands/sphere/approval-rules/list.js +0 -7
- package/dist/commands/sphere/approval-rules/list.js.map +0 -1
- package/dist/commands/sphere/approval-rules/update.d.ts.map +0 -1
- package/dist/commands/sphere/approval-rules/update.js.map +0 -1
- package/dist/commands/sphere/me/carts/create.d.ts.map +0 -1
- package/dist/commands/sphere/me/carts/create.js +0 -6
- package/dist/commands/sphere/me/carts/create.js.map +0 -1
- package/dist/commands/sphere/me/carts/get.d.ts.map +0 -1
- package/dist/commands/sphere/me/carts/get.js +0 -6
- package/dist/commands/sphere/me/carts/get.js.map +0 -1
- package/dist/commands/sphere/me/carts/list.d.ts.map +0 -1
- package/dist/commands/sphere/me/carts/list.js +0 -6
- package/dist/commands/sphere/me/carts/list.js.map +0 -1
- package/dist/commands/sphere/me/carts/update.d.ts.map +0 -1
- package/dist/commands/sphere/me/carts/update.js +0 -6
- package/dist/commands/sphere/me/carts/update.js.map +0 -1
- package/dist/commands/sphere/me/orders/get.d.ts.map +0 -1
- package/dist/commands/sphere/me/orders/get.js +0 -6
- package/dist/commands/sphere/me/orders/get.js.map +0 -1
- package/dist/commands/sphere/me/orders/list.d.ts.map +0 -1
- package/dist/commands/sphere/me/orders/list.js +0 -6
- package/dist/commands/sphere/me/orders/list.js.map +0 -1
- package/dist/common/crud/body-parser.d.ts +0 -2
- package/dist/common/crud/body-parser.d.ts.map +0 -1
- package/dist/common/crud/body-parser.js +0 -9
- package/dist/common/crud/body-parser.js.map +0 -1
- /package/dist/commands/sphere/{me/carts → as-associate/approval-flows}/get.d.ts +0 -0
- /package/dist/commands/sphere/{me/carts → as-associate/approval-flows}/list.d.ts +0 -0
- /package/dist/commands/sphere/{me/carts → as-associate/approval-flows}/update.d.ts +0 -0
- /package/dist/commands/sphere/{me/carts → as-associate/approval-rules}/create.d.ts +0 -0
- /package/dist/commands/sphere/{me/orders → as-associate/approval-rules}/get.d.ts +0 -0
- /package/dist/commands/sphere/{me/orders → as-associate/approval-rules}/list.d.ts +0 -0
- /package/dist/commands/sphere/{approval-flows → mcp-servers}/create.d.ts +0 -0
- /package/dist/commands/sphere/{approval-flows → mcp-servers}/delete.d.ts +0 -0
- /package/dist/commands/sphere/{approval-flows → mcp-servers}/get.d.ts +0 -0
- /package/dist/commands/sphere/{approval-flows → mcp-servers}/list.d.ts +0 -0
- /package/dist/commands/sphere/{api-clients → mcp-servers}/update.d.ts +0 -0
- /package/dist/commands/sphere/{approval-rules → messages}/get.d.ts +0 -0
- /package/dist/commands/sphere/{approval-rules → messages}/list.d.ts +0 -0
- /package/dist/commands/sphere/{approval-flows → project}/update.d.ts +0 -0
- /package/dist/commands/sphere/{approval-rules → recurrence-policies}/create.d.ts +0 -0
- /package/dist/commands/sphere/{approval-rules → recurrence-policies}/delete.d.ts +0 -0
- /package/dist/commands/sphere/{approval-rules → recurrence-policies}/update.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/variant-projections/get.ts"],"names":[],"mappings":";AAEA,wBAgBG"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { makeSphereGetCommand } from "../../../common/crud/get.js";
|
|
2
|
+
export default makeSphereGetCommand({
|
|
3
|
+
endpoint: "variant-projections",
|
|
4
|
+
displayName: "Variant Projections",
|
|
5
|
+
supportsKey: true,
|
|
6
|
+
query: [
|
|
7
|
+
{ name: "staged", type: "boolean" },
|
|
8
|
+
{ name: "priceCurrency" },
|
|
9
|
+
{ name: "priceCountry" },
|
|
10
|
+
{ name: "priceCustomerGroup" },
|
|
11
|
+
{ name: "priceCustomerGroupAssignments", multiple: true },
|
|
12
|
+
{ name: "priceChannel" },
|
|
13
|
+
{ name: "priceRecurrencePolicy" },
|
|
14
|
+
{ name: "localeProjection", multiple: true },
|
|
15
|
+
{ name: "filter[attributes]", multiple: true },
|
|
16
|
+
{ name: "expand", multiple: true },
|
|
17
|
+
],
|
|
18
|
+
});
|
|
19
|
+
//# sourceMappingURL=get.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../src/commands/sphere/variant-projections/get.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,eAAe,oBAAoB,CAAC;IAClC,QAAQ,EAAE,qBAAqB;IAC/B,WAAW,EAAE,qBAAqB;IAClC,WAAW,EAAE,IAAI;IACjB,KAAK,EAAE;QACL,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE;QACnC,EAAE,IAAI,EAAE,eAAe,EAAE;QACzB,EAAE,IAAI,EAAE,cAAc,EAAE;QACxB,EAAE,IAAI,EAAE,oBAAoB,EAAE;QAC9B,EAAE,IAAI,EAAE,+BAA+B,EAAE,QAAQ,EAAE,IAAI,EAAE;QACzD,EAAE,IAAI,EAAE,cAAc,EAAE;QACxB,EAAE,IAAI,EAAE,uBAAuB,EAAE;QACjC,EAAE,IAAI,EAAE,kBAAkB,EAAE,QAAQ,EAAE,IAAI,EAAE;QAC5C,EAAE,IAAI,EAAE,oBAAoB,EAAE,QAAQ,EAAE,IAAI,EAAE;QAC9C,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;KACnC;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/variant-projections/list.ts"],"names":[],"mappings":";AAEA,wBAiBG"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { makeSphereListCommand } from "../../../common/crud/list.js";
|
|
2
|
+
export default makeSphereListCommand({
|
|
3
|
+
endpoint: "variant-projections",
|
|
4
|
+
displayName: "Variant Projections",
|
|
5
|
+
query: [
|
|
6
|
+
{ name: "staged", type: "boolean" },
|
|
7
|
+
{ name: "priceCurrency" },
|
|
8
|
+
{ name: "priceCountry" },
|
|
9
|
+
{ name: "priceCustomerGroup" },
|
|
10
|
+
{ name: "priceCustomerGroupAssignments", multiple: true },
|
|
11
|
+
{ name: "priceChannel" },
|
|
12
|
+
{ name: "priceRecurrencePolicy" },
|
|
13
|
+
{ name: "localeProjection", multiple: true },
|
|
14
|
+
{ name: "filter[attributes]", multiple: true },
|
|
15
|
+
{ name: "expand", multiple: true },
|
|
16
|
+
{ name: "withTotal", type: "boolean" },
|
|
17
|
+
{ name: "var", type: "var" },
|
|
18
|
+
],
|
|
19
|
+
});
|
|
20
|
+
//# sourceMappingURL=list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../src/commands/sphere/variant-projections/list.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,eAAe,qBAAqB,CAAC;IACnC,QAAQ,EAAE,qBAAqB;IAC/B,WAAW,EAAE,qBAAqB;IAClC,KAAK,EAAE;QACL,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE;QACnC,EAAE,IAAI,EAAE,eAAe,EAAE;QACzB,EAAE,IAAI,EAAE,cAAc,EAAE;QACxB,EAAE,IAAI,EAAE,oBAAoB,EAAE;QAC9B,EAAE,IAAI,EAAE,+BAA+B,EAAE,QAAQ,EAAE,IAAI,EAAE;QACzD,EAAE,IAAI,EAAE,cAAc,EAAE;QACxB,EAAE,IAAI,EAAE,uBAAuB,EAAE;QACjC,EAAE,IAAI,EAAE,kBAAkB,EAAE,QAAQ,EAAE,IAAI,EAAE;QAC5C,EAAE,IAAI,EAAE,oBAAoB,EAAE,QAAQ,EAAE,IAAI,EAAE;QAC9C,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QAClC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE;QACtC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE;KAC7B;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulk-update.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/variants/bulk-update.ts"],"names":[],"mappings":";AAEA,wBAMG"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { makeSphereOperationCommand } from "../../../common/crud/operation.js";
|
|
2
|
+
export default makeSphereOperationCommand({
|
|
3
|
+
description: "Bulk update (POST /variants/bulk)",
|
|
4
|
+
method: "POST",
|
|
5
|
+
path: "/variants/bulk",
|
|
6
|
+
query: [{ name: "versionControl" }],
|
|
7
|
+
body: true,
|
|
8
|
+
});
|
|
9
|
+
//# sourceMappingURL=bulk-update.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulk-update.js","sourceRoot":"","sources":["../../../../src/commands/sphere/variants/bulk-update.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AAC/E,eAAe,0BAA0B,CAAC;IACxC,WAAW,EAAE,mCAAmC;IAChD,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,gBAAgB;IACtB,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC;IACnC,IAAI,EAAE,IAAI;CACX,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/variants/create.ts"],"names":[],"mappings":";AAEA,wBAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../src/commands/sphere/variants/create.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,eAAe,uBAAuB,CAAC;IACrC,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,UAAU;IACvB,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;CAC5C,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/variants/delete.ts"],"names":[],"mappings":";AAEA,wBAKG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { makeSphereDeleteCommand } from "../../../common/crud/delete.js";
|
|
2
|
+
export default makeSphereDeleteCommand({
|
|
3
|
+
endpoint: "variants",
|
|
4
|
+
displayName: "Variants",
|
|
5
|
+
supportsKey: true,
|
|
6
|
+
query: [{ name: "expand", multiple: true }],
|
|
7
|
+
});
|
|
8
|
+
//# sourceMappingURL=delete.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete.js","sourceRoot":"","sources":["../../../../src/commands/sphere/variants/delete.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,eAAe,uBAAuB,CAAC;IACrC,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,UAAU;IACvB,WAAW,EAAE,IAAI;IACjB,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;CAC5C,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/variants/get.ts"],"names":[],"mappings":";AAEA,wBAKG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { makeSphereGetCommand } from "../../../common/crud/get.js";
|
|
2
|
+
export default makeSphereGetCommand({
|
|
3
|
+
endpoint: "variants",
|
|
4
|
+
displayName: "Variants",
|
|
5
|
+
supportsKey: true,
|
|
6
|
+
query: [{ name: "expand", multiple: true }],
|
|
7
|
+
});
|
|
8
|
+
//# sourceMappingURL=get.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../src/commands/sphere/variants/get.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,eAAe,oBAAoB,CAAC;IAClC,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,UAAU;IACvB,WAAW,EAAE,IAAI;IACjB,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;CAC5C,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/variants/list.ts"],"names":[],"mappings":";AAEA,wBAQG"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { makeSphereListCommand } from "../../../common/crud/list.js";
|
|
2
|
+
export default makeSphereListCommand({
|
|
3
|
+
endpoint: "variants",
|
|
4
|
+
displayName: "Variants",
|
|
5
|
+
query: [
|
|
6
|
+
{ name: "expand", multiple: true },
|
|
7
|
+
{ name: "withTotal", type: "boolean" },
|
|
8
|
+
{ name: "var", type: "var" },
|
|
9
|
+
],
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../src/commands/sphere/variants/list.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,eAAe,qBAAqB,CAAC;IACnC,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,UAAU;IACvB,KAAK,EAAE;QACL,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QAClC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE;QACtC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE;KAC7B;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/variants/update.ts"],"names":[],"mappings":";AAEA,wBAKG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { makeSphereUpdateCommand } from "../../../common/crud/update.js";
|
|
2
|
+
export default makeSphereUpdateCommand({
|
|
3
|
+
endpoint: "variants",
|
|
4
|
+
displayName: "Variants",
|
|
5
|
+
supportsKey: true,
|
|
6
|
+
query: [{ name: "expand", multiple: true }],
|
|
7
|
+
});
|
|
8
|
+
//# sourceMappingURL=update.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../src/commands/sphere/variants/update.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,eAAe,uBAAuB,CAAC;IACrC,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,UAAU;IACvB,WAAW,EAAE,IAAI;IACjB,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;CAC5C,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/create.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/create.ts"],"names":[],"mappings":";AAEA,wBAIG"}
|
|
@@ -2,6 +2,6 @@ import { makeSphereCreateCommand } from "../../../common/crud/create.js";
|
|
|
2
2
|
export default makeSphereCreateCommand({
|
|
3
3
|
endpoint: "zones",
|
|
4
4
|
displayName: "Zones",
|
|
5
|
-
|
|
5
|
+
query: [{ name: "expand", multiple: true }],
|
|
6
6
|
});
|
|
7
7
|
//# sourceMappingURL=create.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/create.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/create.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,eAAe,uBAAuB,CAAC;IACrC,QAAQ,EAAE,OAAO;IACjB,WAAW,EAAE,OAAO;IACpB,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;CAC5C,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/delete.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/delete.ts"],"names":[],"mappings":";AAEA,wBAKG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete.js","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/delete.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete.js","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/delete.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,eAAe,uBAAuB,CAAC;IACrC,QAAQ,EAAE,OAAO;IACjB,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,IAAI;IACjB,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;CAC5C,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/get.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/get.ts"],"names":[],"mappings":";AAEA,wBAKG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/get.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/get.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,eAAe,oBAAoB,CAAC;IAClC,QAAQ,EAAE,OAAO;IACjB,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,IAAI;IACjB,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;CAC5C,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/list.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/list.ts"],"names":[],"mappings":";AAEA,wBAQG"}
|
|
@@ -2,6 +2,10 @@ import { makeSphereListCommand } from "../../../common/crud/list.js";
|
|
|
2
2
|
export default makeSphereListCommand({
|
|
3
3
|
endpoint: "zones",
|
|
4
4
|
displayName: "Zones",
|
|
5
|
-
|
|
5
|
+
query: [
|
|
6
|
+
{ name: "expand", multiple: true },
|
|
7
|
+
{ name: "withTotal", type: "boolean" },
|
|
8
|
+
{ name: "var", type: "var" },
|
|
9
|
+
],
|
|
6
10
|
});
|
|
7
11
|
//# sourceMappingURL=list.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/list.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/list.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,eAAe,qBAAqB,CAAC;IACnC,QAAQ,EAAE,OAAO;IACjB,WAAW,EAAE,OAAO;IACpB,KAAK,EAAE;QACL,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QAClC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE;QACtC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE;KAC7B;CACF,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/update.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/update.ts"],"names":[],"mappings":";AAEA,wBAKG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/update.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/update.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,eAAe,uBAAuB,CAAC;IACrC,QAAQ,EAAE,OAAO;IACjB,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,IAAI;IACjB,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;CAC5C,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/common/crud/create.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/common/crud/create.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAG3D,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,aAAa,CA+BpF"}
|
|
@@ -1,21 +1,26 @@
|
|
|
1
|
+
import { appendQuery, parseBodyArg, queryFlags, withQuery } from "@commercetools/cli-common";
|
|
1
2
|
import { Flags } from "@oclif/core";
|
|
2
3
|
import { SphereCommand } from "../oclif/sphere-command.js";
|
|
3
|
-
import {
|
|
4
|
+
import { collectionPath, scopeFlags, singularName } from "./resource-path.js";
|
|
4
5
|
export function makeSphereCreateCommand(config) {
|
|
5
6
|
class SphereCreateCommand extends SphereCommand {
|
|
6
|
-
static description = `Create a ${config
|
|
7
|
+
static description = `Create a ${singularName(config)}`;
|
|
7
8
|
static flags = {
|
|
8
9
|
...SphereCommand.baseFlags,
|
|
10
|
+
...scopeFlags(config),
|
|
9
11
|
body: Flags.string({
|
|
10
12
|
description: "JSON body for the resource, or @filepath to read from a file",
|
|
11
13
|
required: true,
|
|
12
14
|
}),
|
|
15
|
+
...queryFlags(config.query),
|
|
13
16
|
};
|
|
14
17
|
async run() {
|
|
15
18
|
const { flags } = await this.parse(SphereCreateCommand);
|
|
16
|
-
this.spinner.start(`Creating ${config
|
|
19
|
+
this.spinner.start(`Creating ${singularName(config)}...`);
|
|
17
20
|
const body = parseBodyArg(flags["body"]);
|
|
18
|
-
const
|
|
21
|
+
const params = new URLSearchParams();
|
|
22
|
+
appendQuery(params, config.query, flags);
|
|
23
|
+
const result = await this.request("POST", withQuery(collectionPath(config, flags), params), body);
|
|
19
24
|
this.spinner.stop();
|
|
20
25
|
this.log(JSON.stringify(result, null, 2));
|
|
21
26
|
}
|
|
@@ -1 +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;
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../src/common/crud/create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC7F,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAE9E,MAAM,UAAU,uBAAuB,CAAC,MAAsB;IAC5D,MAAM,mBAAoB,SAAQ,aAAa;QAC7C,MAAM,CAAU,WAAW,GAAG,YAAY,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC;QAEjE,MAAM,CAAU,KAAK,GAAG;YACtB,GAAG,aAAa,CAAC,SAAS;YAC1B,GAAG,UAAU,CAAC,MAAM,CAAC;YACrB,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC;gBACjB,WAAW,EAAE,8DAA8D;gBAC3E,QAAQ,EAAE,IAAI;aACf,CAAC;YACF,GAAG,UAAU,CAAC,MAAM,CAAC,KAAK,CAAC;SAC5B,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,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YAE1D,MAAM,IAAI,GAAG,YAAY,CAAC,KAAK,CAAC,MAAM,CAAW,CAAC,CAAC;YACnD,MAAM,MAAM,GAAG,IAAI,eAAe,EAAE,CAAC;YACrC,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YACzC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,OAAO,CAC/B,MAAM,EACN,SAAS,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,CAAC,EAChD,IAAI,CACL,CAAC;YACF,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../src/common/crud/delete.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../src/common/crud/delete.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAG3D,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,aAAa,CA4BpF"}
|
|
@@ -1,40 +1,27 @@
|
|
|
1
|
+
import { appendQuery, queryFlags, withQuery } from "@commercetools/cli-common";
|
|
1
2
|
import { Flags } from "@oclif/core";
|
|
2
3
|
import { SphereCommand } from "../oclif/sphere-command.js";
|
|
4
|
+
import { identifierFlags, itemPath, scopeFlags, singularName } from "./resource-path.js";
|
|
3
5
|
export function makeSphereDeleteCommand(config) {
|
|
4
6
|
class SphereDeleteCommand extends SphereCommand {
|
|
5
|
-
static description = `Delete a ${config
|
|
7
|
+
static description = `Delete a ${singularName(config)}`;
|
|
6
8
|
static flags = {
|
|
7
9
|
...SphereCommand.baseFlags,
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
: {}),
|
|
10
|
+
...scopeFlags(config),
|
|
11
|
+
...identifierFlags(config, "delete"),
|
|
20
12
|
version: Flags.integer({
|
|
21
13
|
description: "Current version of the resource",
|
|
22
14
|
required: true,
|
|
23
15
|
}),
|
|
16
|
+
...queryFlags(config.query),
|
|
24
17
|
};
|
|
25
18
|
async run() {
|
|
26
19
|
const { flags } = await this.parse(SphereDeleteCommand);
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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);
|
|
20
|
+
this.spinner.start(`Deleting ${singularName(config)}...`);
|
|
21
|
+
const params = new URLSearchParams();
|
|
22
|
+
params.set("version", String(flags["version"]));
|
|
23
|
+
appendQuery(params, config.query, flags);
|
|
24
|
+
const result = await this.request("DELETE", withQuery(itemPath(config, flags), params));
|
|
38
25
|
this.spinner.stop();
|
|
39
26
|
this.log(JSON.stringify(result, null, 2));
|
|
40
27
|
}
|
|
@@ -1 +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;
|
|
1
|
+
{"version":3,"file":"delete.js","sourceRoot":"","sources":["../../../src/common/crud/delete.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEzF,MAAM,UAAU,uBAAuB,CAAC,MAAsB;IAC5D,MAAM,mBAAoB,SAAQ,aAAa;QAC7C,MAAM,CAAU,WAAW,GAAG,YAAY,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC;QAEjE,MAAM,CAAU,KAAK,GAAG;YACtB,GAAG,aAAa,CAAC,SAAS;YAC1B,GAAG,UAAU,CAAC,MAAM,CAAC;YACrB,GAAG,eAAe,CAAC,MAAM,EAAE,QAAQ,CAAC;YACpC,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;gBACrB,WAAW,EAAE,iCAAiC;gBAC9C,QAAQ,EAAE,IAAI;aACf,CAAC;YACF,GAAG,UAAU,CAAC,MAAM,CAAC,KAAK,CAAC;SAC5B,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,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YAE1D,MAAM,MAAM,GAAG,IAAI,eAAe,EAAE,CAAC;YACrC,MAAM,CAAC,GAAG,CAAC,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;YAChD,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YACzC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;YACxF,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"}
|
|
@@ -1 +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;
|
|
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;AAS3D,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,aAAa,CAuBjF"}
|
package/dist/common/crud/get.js
CHANGED
|
@@ -1,35 +1,21 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { appendQuery, queryFlags, withQuery } from "@commercetools/cli-common";
|
|
2
2
|
import { SphereCommand } from "../oclif/sphere-command.js";
|
|
3
|
+
import { identifierDescriptionSuffix, identifierFlags, itemPath, scopeFlags, singularName, } from "./resource-path.js";
|
|
3
4
|
export function makeSphereGetCommand(config) {
|
|
4
5
|
class SphereGetCommand extends SphereCommand {
|
|
5
|
-
static description = `Get a ${config
|
|
6
|
+
static description = `Get a ${singularName(config)} by ID${identifierDescriptionSuffix(config)}`;
|
|
6
7
|
static flags = {
|
|
7
8
|
...SphereCommand.baseFlags,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
: {}),
|
|
9
|
+
...scopeFlags(config),
|
|
10
|
+
...identifierFlags(config, "retrieve"),
|
|
11
|
+
...queryFlags(config.query),
|
|
20
12
|
};
|
|
21
13
|
async run() {
|
|
22
14
|
const { flags } = await this.parse(SphereGetCommand);
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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);
|
|
15
|
+
this.spinner.start(`Fetching ${singularName(config)}...`);
|
|
16
|
+
const params = new URLSearchParams();
|
|
17
|
+
appendQuery(params, config.query, flags);
|
|
18
|
+
const result = await this.request("GET", withQuery(itemPath(config, flags), params));
|
|
33
19
|
this.spinner.stop();
|
|
34
20
|
this.log(JSON.stringify(result, null, 2));
|
|
35
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/common/crud/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/common/crud/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,OAAO,EACL,2BAA2B,EAC3B,eAAe,EACf,QAAQ,EACR,UAAU,EACV,YAAY,GACb,MAAM,oBAAoB,CAAC;AAE5B,MAAM,UAAU,oBAAoB,CAAC,MAAsB;IACzD,MAAM,gBAAiB,SAAQ,aAAa;QAC1C,MAAM,CAAU,WAAW,GAAG,SAAS,YAAY,CAAC,MAAM,CAAC,SAAS,2BAA2B,CAAC,MAAM,CAAC,EAAE,CAAC;QAE1G,MAAM,CAAU,KAAK,GAAG;YACtB,GAAG,aAAa,CAAC,SAAS;YAC1B,GAAG,UAAU,CAAC,MAAM,CAAC;YACrB,GAAG,eAAe,CAAC,MAAM,EAAE,UAAU,CAAC;YACtC,GAAG,UAAU,CAAC,MAAM,CAAC,KAAK,CAAC;SAC5B,CAAC;QAEF,KAAK,CAAC,GAAG;YACP,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;YACrD,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,YAAY,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YAE1D,MAAM,MAAM,GAAG,IAAI,eAAe,EAAE,CAAC;YACrC,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YACzC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,CAAC,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,gBAAmD,CAAC;AAC7D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/common/crud/list.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/common/crud/list.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAG3D,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,aAAa,CAiDlF"}
|
package/dist/common/crud/list.js
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
import { appendQuery, queryFlags, withQuery } from "@commercetools/cli-common";
|
|
1
2
|
import { Flags } from "@oclif/core";
|
|
2
3
|
import { SphereCommand } from "../oclif/sphere-command.js";
|
|
4
|
+
import { collectionPath, scopeFlags } from "./resource-path.js";
|
|
3
5
|
export function makeSphereListCommand(config) {
|
|
4
6
|
class SphereListCommand extends SphereCommand {
|
|
5
7
|
static description = `List ${config.displayName}`;
|
|
6
8
|
static flags = {
|
|
7
9
|
...SphereCommand.baseFlags,
|
|
10
|
+
...scopeFlags(config),
|
|
8
11
|
limit: Flags.integer({
|
|
9
12
|
description: "Maximum number of results to return",
|
|
10
13
|
default: 20,
|
|
@@ -23,6 +26,7 @@ export function makeSphereListCommand(config) {
|
|
|
23
26
|
description: "Sort expression(s)",
|
|
24
27
|
multiple: true,
|
|
25
28
|
}),
|
|
29
|
+
...queryFlags(config.query),
|
|
26
30
|
};
|
|
27
31
|
async run() {
|
|
28
32
|
const { flags } = await this.parse(SphereListCommand);
|
|
@@ -34,7 +38,8 @@ export function makeSphereListCommand(config) {
|
|
|
34
38
|
const sortFlags = flags["sort"];
|
|
35
39
|
whereFlags?.forEach((w) => params.append("where", w));
|
|
36
40
|
sortFlags?.forEach((s) => params.append("sort", s));
|
|
37
|
-
|
|
41
|
+
appendQuery(params, config.query, flags);
|
|
42
|
+
const result = await this.request("GET", withQuery(collectionPath(config, flags), params));
|
|
38
43
|
this.spinner.stop();
|
|
39
44
|
this.log(JSON.stringify(result, null, 2));
|
|
40
45
|
}
|
|
@@ -1 +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;
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../src/common/crud/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhE,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,GAAG,UAAU,CAAC,MAAM,CAAC;YACrB,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;YACF,GAAG,UAAU,CAAC,MAAM,CAAC,KAAK,CAAC;SAC5B,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;YACpD,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YAEzC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,SAAS,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;YAC3F,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":"operation.d.ts","sourceRoot":"","sources":["../../../src/common/crud/operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,KAAK,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACnG,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,aAAa,CAuBxF"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { operationFlags, operationRequest } from "@commercetools/cli-common";
|
|
2
|
+
import { SphereCommand } from "../oclif/sphere-command.js";
|
|
3
|
+
export function makeSphereOperationCommand(config) {
|
|
4
|
+
class SphereOperationCommand extends SphereCommand {
|
|
5
|
+
static description = config.description;
|
|
6
|
+
static flags = {
|
|
7
|
+
...SphereCommand.baseFlags,
|
|
8
|
+
...operationFlags(config),
|
|
9
|
+
};
|
|
10
|
+
async run() {
|
|
11
|
+
const { flags } = await this.parse(SphereOperationCommand);
|
|
12
|
+
this.spinner.start(`${config.description}...`);
|
|
13
|
+
const { method, path, body } = operationRequest(config, flags);
|
|
14
|
+
const result = body === undefined
|
|
15
|
+
? await this.request(method, path)
|
|
16
|
+
: await this.request(method, path, body);
|
|
17
|
+
this.spinner.stop();
|
|
18
|
+
this.log(JSON.stringify(result, null, 2));
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return SphereOperationCommand;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation.js","sourceRoot":"","sources":["../../../src/common/crud/operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAwB,MAAM,2BAA2B,CAAC;AACnG,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,MAAM,UAAU,0BAA0B,CAAC,MAAuB;IAChE,MAAM,sBAAuB,SAAQ,aAAa;QAChD,MAAM,CAAU,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;QAEjD,MAAM,CAAU,KAAK,GAAG;YACtB,GAAG,aAAa,CAAC,SAAS;YAC1B,GAAG,cAAc,CAAC,MAAM,CAAC;SAC1B,CAAC;QAEF,KAAK,CAAC,GAAG;YACP,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC;YAC3D,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,WAAW,KAAK,CAAC,CAAC;YAE/C,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,gBAAgB,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;YAC/D,MAAM,MAAM,GACV,IAAI,KAAK,SAAS;gBAChB,CAAC,CAAC,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC;gBAClC,CAAC,CAAC,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;YAC7C,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,sBAAyD,CAAC;AACnE,CAAC"}
|