@keystrokehq/simla_com 0.1.2 → 0.1.3
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/actions/add-customer-interaction-favorite.cjs +1 -1
- package/dist/actions/add-customer-interaction-favorite.cjs.map +1 -1
- package/dist/actions/add-customer-interaction-favorite.d.cts +1 -1
- package/dist/actions/add-customer-interaction-favorite.d.mts +1 -1
- package/dist/actions/add-customer-interaction-favorite.mjs +1 -1
- package/dist/actions/add-customer-interaction-favorite.mjs.map +1 -1
- package/dist/actions/combine-customers-corporate.cjs +2 -2
- package/dist/actions/combine-customers-corporate.cjs.map +1 -1
- package/dist/actions/combine-customers-corporate.d.cts +3 -2
- package/dist/actions/combine-customers-corporate.d.mts +3 -2
- package/dist/actions/combine-customers-corporate.mjs +2 -2
- package/dist/actions/combine-customers-corporate.mjs.map +1 -1
- package/dist/actions/combine-customers.cjs +2 -2
- package/dist/actions/combine-customers.cjs.map +1 -1
- package/dist/actions/combine-customers.d.cts +3 -2
- package/dist/actions/combine-customers.d.mts +3 -2
- package/dist/actions/combine-customers.mjs +2 -2
- package/dist/actions/combine-customers.mjs.map +1 -1
- package/dist/actions/combine-orders.cjs +2 -2
- package/dist/actions/combine-orders.cjs.map +1 -1
- package/dist/actions/combine-orders.d.cts +2 -2
- package/dist/actions/combine-orders.d.mts +2 -2
- package/dist/actions/combine-orders.mjs +2 -2
- package/dist/actions/combine-orders.mjs.map +1 -1
- package/dist/actions/create-cost.cjs +2 -2
- package/dist/actions/create-cost.cjs.map +1 -1
- package/dist/actions/create-cost.d.cts +2 -2
- package/dist/actions/create-cost.d.mts +2 -2
- package/dist/actions/create-cost.mjs +2 -2
- package/dist/actions/create-cost.mjs.map +1 -1
- package/dist/actions/create-custom-field.cjs +1 -1
- package/dist/actions/create-custom-field.cjs.map +1 -1
- package/dist/actions/create-custom-field.d.cts +4 -4
- package/dist/actions/create-custom-field.d.mts +4 -4
- package/dist/actions/create-custom-field.mjs +1 -1
- package/dist/actions/create-custom-field.mjs.map +1 -1
- package/dist/actions/create-custom-fields-dictionaries.cjs +2 -2
- package/dist/actions/create-custom-fields-dictionaries.cjs.map +1 -1
- package/dist/actions/create-custom-fields-dictionaries.d.cts +3 -2
- package/dist/actions/create-custom-fields-dictionaries.d.mts +3 -2
- package/dist/actions/create-custom-fields-dictionaries.mjs +2 -2
- package/dist/actions/create-custom-fields-dictionaries.mjs.map +1 -1
- package/dist/actions/create-customer-corporate.cjs +2 -2
- package/dist/actions/create-customer-corporate.cjs.map +1 -1
- package/dist/actions/create-customer-corporate.d.cts +3 -2
- package/dist/actions/create-customer-corporate.d.cts.map +1 -1
- package/dist/actions/create-customer-corporate.d.mts +3 -2
- package/dist/actions/create-customer-corporate.d.mts.map +1 -1
- package/dist/actions/create-customer-corporate.mjs +2 -2
- package/dist/actions/create-customer-corporate.mjs.map +1 -1
- package/dist/actions/create-customer-interaction-cart-set.cjs +2 -2
- package/dist/actions/create-customer-interaction-cart-set.cjs.map +1 -1
- package/dist/actions/create-customer-interaction-cart-set.d.cts +3 -2
- package/dist/actions/create-customer-interaction-cart-set.d.mts +3 -2
- package/dist/actions/create-customer-interaction-cart-set.mjs +2 -2
- package/dist/actions/create-customer-interaction-cart-set.mjs.map +1 -1
- package/dist/actions/create-customer.cjs +1 -1
- package/dist/actions/create-customer.cjs.map +1 -1
- package/dist/actions/create-customer.d.cts +1 -1
- package/dist/actions/create-customer.d.mts +1 -1
- package/dist/actions/create-customer.mjs +1 -1
- package/dist/actions/create-customer.mjs.map +1 -1
- package/dist/actions/create-customers-corporate-addresses.cjs +1 -1
- package/dist/actions/create-customers-corporate-addresses.cjs.map +1 -1
- package/dist/actions/create-customers-corporate-addresses.d.cts +1 -1
- package/dist/actions/create-customers-corporate-addresses.d.mts +1 -1
- package/dist/actions/create-customers-corporate-addresses.mjs +1 -1
- package/dist/actions/create-customers-corporate-addresses.mjs.map +1 -1
- package/dist/actions/create-customers-corporate-companies.cjs +1 -1
- package/dist/actions/create-customers-corporate-companies.cjs.map +1 -1
- package/dist/actions/create-customers-corporate-companies.d.cts +1 -1
- package/dist/actions/create-customers-corporate-companies.d.mts +1 -1
- package/dist/actions/create-customers-corporate-companies.mjs +1 -1
- package/dist/actions/create-customers-corporate-companies.mjs.map +1 -1
- package/dist/actions/create-customers-corporate-contacts.cjs +1 -1
- package/dist/actions/create-customers-corporate-contacts.cjs.map +1 -1
- package/dist/actions/create-customers-corporate-contacts.d.cts +1 -1
- package/dist/actions/create-customers-corporate-contacts.d.mts +1 -1
- package/dist/actions/create-customers-corporate-contacts.mjs +1 -1
- package/dist/actions/create-customers-corporate-contacts.mjs.map +1 -1
- package/dist/actions/create-customers-corporate-notes.cjs +3 -3
- package/dist/actions/create-customers-corporate-notes.cjs.map +1 -1
- package/dist/actions/create-customers-corporate-notes.d.cts +3 -3
- package/dist/actions/create-customers-corporate-notes.d.mts +3 -3
- package/dist/actions/create-customers-corporate-notes.mjs +3 -3
- package/dist/actions/create-customers-corporate-notes.mjs.map +1 -1
- package/dist/actions/create-customers-notes.cjs +1 -1
- package/dist/actions/create-customers-notes.cjs.map +1 -1
- package/dist/actions/create-customers-notes.d.cts +1 -1
- package/dist/actions/create-customers-notes.d.mts +1 -1
- package/dist/actions/create-customers-notes.mjs +1 -1
- package/dist/actions/create-customers-notes.mjs.map +1 -1
- package/dist/actions/create-loyalty-calculate.cjs +2 -2
- package/dist/actions/create-loyalty-calculate.cjs.map +1 -1
- package/dist/actions/create-loyalty-calculate.d.cts +3 -2
- package/dist/actions/create-loyalty-calculate.d.mts +3 -2
- package/dist/actions/create-loyalty-calculate.mjs +2 -2
- package/dist/actions/create-loyalty-calculate.mjs.map +1 -1
- package/dist/actions/create-order.cjs +3 -3
- package/dist/actions/create-order.cjs.map +1 -1
- package/dist/actions/create-order.d.cts +5 -4
- package/dist/actions/create-order.d.cts.map +1 -1
- package/dist/actions/create-order.d.mts +5 -4
- package/dist/actions/create-order.d.mts.map +1 -1
- package/dist/actions/create-order.mjs +3 -3
- package/dist/actions/create-order.mjs.map +1 -1
- package/dist/actions/create-orders-link.cjs +3 -3
- package/dist/actions/create-orders-link.cjs.map +1 -1
- package/dist/actions/create-orders-link.d.cts +4 -3
- package/dist/actions/create-orders-link.d.mts +4 -3
- package/dist/actions/create-orders-link.mjs +3 -3
- package/dist/actions/create-orders-link.mjs.map +1 -1
- package/dist/actions/create-orders-packs.cjs +1 -1
- package/dist/actions/create-orders-packs.cjs.map +1 -1
- package/dist/actions/create-orders-packs.d.cts +1 -1
- package/dist/actions/create-orders-packs.d.mts +1 -1
- package/dist/actions/create-orders-packs.mjs +1 -1
- package/dist/actions/create-orders-packs.mjs.map +1 -1
- package/dist/actions/create-orders-payments-create.cjs +2 -2
- package/dist/actions/create-orders-payments-create.cjs.map +1 -1
- package/dist/actions/create-orders-payments-create.d.cts +2 -2
- package/dist/actions/create-orders-payments-create.d.mts +2 -2
- package/dist/actions/create-orders-payments-create.mjs +2 -2
- package/dist/actions/create-orders-payments-create.mjs.map +1 -1
- package/dist/actions/create-store-inventories-upload.cjs +3 -3
- package/dist/actions/create-store-inventories-upload.cjs.map +1 -1
- package/dist/actions/create-store-inventories-upload.d.cts +5 -3
- package/dist/actions/create-store-inventories-upload.d.mts +5 -3
- package/dist/actions/create-store-inventories-upload.mjs +3 -3
- package/dist/actions/create-store-inventories-upload.mjs.map +1 -1
- package/dist/actions/create-store-products-batch-create.cjs +3 -3
- package/dist/actions/create-store-products-batch-create.cjs.map +1 -1
- package/dist/actions/create-store-products-batch-create.d.cts +4 -3
- package/dist/actions/create-store-products-batch-create.d.mts +4 -3
- package/dist/actions/create-store-products-batch-create.mjs +3 -3
- package/dist/actions/create-store-products-batch-create.mjs.map +1 -1
- package/dist/actions/create-web-analytics-visits-upload.cjs +2 -2
- package/dist/actions/create-web-analytics-visits-upload.cjs.map +1 -1
- package/dist/actions/create-web-analytics-visits-upload.d.cts +3 -2
- package/dist/actions/create-web-analytics-visits-upload.d.mts +3 -2
- package/dist/actions/create-web-analytics-visits-upload.mjs +2 -2
- package/dist/actions/create-web-analytics-visits-upload.mjs.map +1 -1
- package/dist/actions/delete-cost.cjs +1 -1
- package/dist/actions/delete-cost.cjs.map +1 -1
- package/dist/actions/delete-cost.d.cts +1 -1
- package/dist/actions/delete-cost.d.mts +1 -1
- package/dist/actions/delete-cost.mjs +1 -1
- package/dist/actions/delete-cost.mjs.map +1 -1
- package/dist/actions/delete-customers-corporate-note.cjs +1 -1
- package/dist/actions/delete-customers-corporate-note.cjs.map +1 -1
- package/dist/actions/delete-customers-corporate-note.d.cts +1 -1
- package/dist/actions/delete-customers-corporate-note.d.mts +1 -1
- package/dist/actions/delete-customers-corporate-note.mjs +1 -1
- package/dist/actions/delete-customers-corporate-note.mjs.map +1 -1
- package/dist/actions/delete-customers-note.cjs +1 -1
- package/dist/actions/delete-customers-note.cjs.map +1 -1
- package/dist/actions/delete-customers-note.d.cts +1 -1
- package/dist/actions/delete-customers-note.d.mts +1 -1
- package/dist/actions/delete-customers-note.mjs +1 -1
- package/dist/actions/delete-customers-note.mjs.map +1 -1
- package/dist/actions/delete-order-payment.cjs +1 -1
- package/dist/actions/delete-order-payment.cjs.map +1 -1
- package/dist/actions/delete-order-payment.d.cts +1 -1
- package/dist/actions/delete-order-payment.d.mts +1 -1
- package/dist/actions/delete-order-payment.mjs +1 -1
- package/dist/actions/delete-order-payment.mjs.map +1 -1
- package/dist/actions/edit-cost.cjs +5 -5
- package/dist/actions/edit-cost.cjs.map +1 -1
- package/dist/actions/edit-cost.d.cts +5 -5
- package/dist/actions/edit-cost.d.mts +5 -5
- package/dist/actions/edit-cost.mjs +5 -5
- package/dist/actions/edit-cost.mjs.map +1 -1
- package/dist/actions/edit-custom-field.cjs +1 -1
- package/dist/actions/edit-custom-field.cjs.map +1 -1
- package/dist/actions/edit-custom-field.d.cts +6 -6
- package/dist/actions/edit-custom-field.d.mts +6 -6
- package/dist/actions/edit-custom-field.mjs +1 -1
- package/dist/actions/edit-custom-field.mjs.map +1 -1
- package/dist/actions/edit-custom-fields-dictionary.cjs +1 -1
- package/dist/actions/edit-custom-fields-dictionary.cjs.map +1 -1
- package/dist/actions/edit-custom-fields-dictionary.d.cts +2 -1
- package/dist/actions/edit-custom-fields-dictionary.d.mts +2 -1
- package/dist/actions/edit-custom-fields-dictionary.mjs +1 -1
- package/dist/actions/edit-custom-fields-dictionary.mjs.map +1 -1
- package/dist/actions/edit-customer-corporate.cjs +1 -1
- package/dist/actions/edit-customer-corporate.cjs.map +1 -1
- package/dist/actions/edit-customer-corporate.d.cts +1 -1
- package/dist/actions/edit-customer-corporate.d.mts +1 -1
- package/dist/actions/edit-customer-corporate.mjs +1 -1
- package/dist/actions/edit-customer-corporate.mjs.map +1 -1
- package/dist/actions/edit-customer.cjs +1 -1
- package/dist/actions/edit-customer.cjs.map +1 -1
- package/dist/actions/edit-customer.d.cts +1 -1
- package/dist/actions/edit-customer.d.mts +1 -1
- package/dist/actions/edit-customer.mjs +1 -1
- package/dist/actions/edit-customer.mjs.map +1 -1
- package/dist/actions/edit-customers-corporate-address.cjs +1 -1
- package/dist/actions/edit-customers-corporate-address.cjs.map +1 -1
- package/dist/actions/edit-customers-corporate-address.d.cts +1 -1
- package/dist/actions/edit-customers-corporate-address.d.mts +1 -1
- package/dist/actions/edit-customers-corporate-address.mjs +1 -1
- package/dist/actions/edit-customers-corporate-address.mjs.map +1 -1
- package/dist/actions/edit-customers-corporate-company.cjs +3 -3
- package/dist/actions/edit-customers-corporate-company.cjs.map +1 -1
- package/dist/actions/edit-customers-corporate-company.d.cts +5 -5
- package/dist/actions/edit-customers-corporate-company.d.mts +5 -5
- package/dist/actions/edit-customers-corporate-company.mjs +3 -3
- package/dist/actions/edit-customers-corporate-company.mjs.map +1 -1
- package/dist/actions/edit-customers-corporate-contacts.cjs +1 -1
- package/dist/actions/edit-customers-corporate-contacts.cjs.map +1 -1
- package/dist/actions/edit-customers-corporate-contacts.d.cts +1 -1
- package/dist/actions/edit-customers-corporate-contacts.d.mts +1 -1
- package/dist/actions/edit-customers-corporate-contacts.mjs +1 -1
- package/dist/actions/edit-customers-corporate-contacts.mjs.map +1 -1
- package/dist/actions/edit-delivery-generic-setting.cjs +5 -5
- package/dist/actions/edit-delivery-generic-setting.cjs.map +1 -1
- package/dist/actions/edit-delivery-generic-setting.d.cts +9 -5
- package/dist/actions/edit-delivery-generic-setting.d.mts +9 -5
- package/dist/actions/edit-delivery-generic-setting.mjs +5 -5
- package/dist/actions/edit-delivery-generic-setting.mjs.map +1 -1
- package/dist/actions/edit-file.cjs +3 -3
- package/dist/actions/edit-file.cjs.map +1 -1
- package/dist/actions/edit-file.d.cts +3 -3
- package/dist/actions/edit-file.d.mts +3 -3
- package/dist/actions/edit-file.mjs +3 -3
- package/dist/actions/edit-file.mjs.map +1 -1
- package/dist/actions/edit-integration-module.cjs +2 -2
- package/dist/actions/edit-integration-module.cjs.map +1 -1
- package/dist/actions/edit-integration-module.d.cts +2 -2
- package/dist/actions/edit-integration-module.d.mts +2 -2
- package/dist/actions/edit-integration-module.mjs +2 -2
- package/dist/actions/edit-integration-module.mjs.map +1 -1
- package/dist/actions/edit-order.cjs +10 -10
- package/dist/actions/edit-order.cjs.map +1 -1
- package/dist/actions/edit-order.d.cts +12 -11
- package/dist/actions/edit-order.d.cts.map +1 -1
- package/dist/actions/edit-order.d.mts +12 -11
- package/dist/actions/edit-order.d.mts.map +1 -1
- package/dist/actions/edit-order.mjs +10 -10
- package/dist/actions/edit-order.mjs.map +1 -1
- package/dist/actions/edit-orders-payment.cjs +1 -1
- package/dist/actions/edit-orders-payment.cjs.map +1 -1
- package/dist/actions/edit-orders-payment.d.cts +1 -1
- package/dist/actions/edit-orders-payment.d.mts +1 -1
- package/dist/actions/edit-orders-payment.mjs +1 -1
- package/dist/actions/edit-orders-payment.mjs.map +1 -1
- package/dist/actions/edit-reference-cost-group.cjs +2 -2
- package/dist/actions/edit-reference-cost-group.cjs.map +1 -1
- package/dist/actions/edit-reference-cost-group.d.cts +2 -2
- package/dist/actions/edit-reference-cost-group.d.mts +2 -2
- package/dist/actions/edit-reference-cost-group.mjs +2 -2
- package/dist/actions/edit-reference-cost-group.mjs.map +1 -1
- package/dist/actions/edit-reference-cost-item.cjs +3 -3
- package/dist/actions/edit-reference-cost-item.cjs.map +1 -1
- package/dist/actions/edit-reference-cost-item.d.cts +3 -3
- package/dist/actions/edit-reference-cost-item.d.mts +3 -3
- package/dist/actions/edit-reference-cost-item.mjs +3 -3
- package/dist/actions/edit-reference-cost-item.mjs.map +1 -1
- package/dist/actions/edit-reference-courier.cjs +1 -1
- package/dist/actions/edit-reference-courier.cjs.map +1 -1
- package/dist/actions/edit-reference-courier.d.cts +1 -1
- package/dist/actions/edit-reference-courier.d.mts +1 -1
- package/dist/actions/edit-reference-courier.mjs +1 -1
- package/dist/actions/edit-reference-courier.mjs.map +1 -1
- package/dist/actions/edit-reference-currency.cjs +1 -1
- package/dist/actions/edit-reference-currency.cjs.map +1 -1
- package/dist/actions/edit-reference-currency.d.cts +1 -1
- package/dist/actions/edit-reference-currency.d.mts +1 -1
- package/dist/actions/edit-reference-currency.mjs +1 -1
- package/dist/actions/edit-reference-currency.mjs.map +1 -1
- package/dist/actions/edit-reference-delivery-service.cjs +2 -2
- package/dist/actions/edit-reference-delivery-service.cjs.map +1 -1
- package/dist/actions/edit-reference-delivery-service.d.cts +2 -2
- package/dist/actions/edit-reference-delivery-service.d.mts +2 -2
- package/dist/actions/edit-reference-delivery-service.mjs +2 -2
- package/dist/actions/edit-reference-delivery-service.mjs.map +1 -1
- package/dist/actions/edit-reference-order-method.cjs +3 -3
- package/dist/actions/edit-reference-order-method.cjs.map +1 -1
- package/dist/actions/edit-reference-order-method.d.cts +3 -3
- package/dist/actions/edit-reference-order-method.d.mts +3 -3
- package/dist/actions/edit-reference-order-method.mjs +3 -3
- package/dist/actions/edit-reference-order-method.mjs.map +1 -1
- package/dist/actions/edit-reference-order-type.cjs +2 -2
- package/dist/actions/edit-reference-order-type.cjs.map +1 -1
- package/dist/actions/edit-reference-order-type.d.cts +2 -2
- package/dist/actions/edit-reference-order-type.d.mts +2 -2
- package/dist/actions/edit-reference-order-type.mjs +2 -2
- package/dist/actions/edit-reference-order-type.mjs.map +1 -1
- package/dist/actions/edit-reference-payment-status.cjs +2 -2
- package/dist/actions/edit-reference-payment-status.cjs.map +1 -1
- package/dist/actions/edit-reference-payment-status.d.cts +2 -2
- package/dist/actions/edit-reference-payment-status.d.mts +2 -2
- package/dist/actions/edit-reference-payment-status.mjs +2 -2
- package/dist/actions/edit-reference-payment-status.mjs.map +1 -1
- package/dist/actions/edit-reference-payment-type.cjs +2 -2
- package/dist/actions/edit-reference-payment-type.cjs.map +1 -1
- package/dist/actions/edit-reference-payment-type.d.cts +2 -2
- package/dist/actions/edit-reference-payment-type.d.mts +2 -2
- package/dist/actions/edit-reference-payment-type.mjs +2 -2
- package/dist/actions/edit-reference-payment-type.mjs.map +1 -1
- package/dist/actions/edit-reference-product-status.cjs +1 -1
- package/dist/actions/edit-reference-product-status.cjs.map +1 -1
- package/dist/actions/edit-reference-product-status.d.cts +1 -1
- package/dist/actions/edit-reference-product-status.d.mts +1 -1
- package/dist/actions/edit-reference-product-status.mjs +1 -1
- package/dist/actions/edit-reference-product-status.mjs.map +1 -1
- package/dist/actions/edit-reference-statuses.cjs +2 -2
- package/dist/actions/edit-reference-statuses.cjs.map +1 -1
- package/dist/actions/edit-reference-statuses.d.cts +2 -2
- package/dist/actions/edit-reference-statuses.d.mts +2 -2
- package/dist/actions/edit-reference-statuses.mjs +2 -2
- package/dist/actions/edit-reference-statuses.mjs.map +1 -1
- package/dist/actions/edit-reference-stores.cjs +1 -1
- package/dist/actions/edit-reference-stores.cjs.map +1 -1
- package/dist/actions/edit-reference-stores.d.cts +1 -1
- package/dist/actions/edit-reference-stores.d.mts +1 -1
- package/dist/actions/edit-reference-stores.mjs +1 -1
- package/dist/actions/edit-reference-stores.mjs.map +1 -1
- package/dist/actions/edit-reference-subscription.cjs +1 -1
- package/dist/actions/edit-reference-subscription.cjs.map +1 -1
- package/dist/actions/edit-reference-subscription.d.cts +1 -1
- package/dist/actions/edit-reference-subscription.d.mts +1 -1
- package/dist/actions/edit-reference-subscription.mjs +1 -1
- package/dist/actions/edit-reference-subscription.mjs.map +1 -1
- package/dist/actions/edit-reference-unit.cjs +2 -2
- package/dist/actions/edit-reference-unit.cjs.map +1 -1
- package/dist/actions/edit-reference-unit.d.cts +2 -2
- package/dist/actions/edit-reference-unit.d.mts +2 -2
- package/dist/actions/edit-reference-unit.mjs +2 -2
- package/dist/actions/edit-reference-unit.mjs.map +1 -1
- package/dist/actions/edit-store-product-group.cjs +2 -2
- package/dist/actions/edit-store-product-group.cjs.map +1 -1
- package/dist/actions/edit-store-product-group.d.cts +2 -2
- package/dist/actions/edit-store-product-group.d.mts +2 -2
- package/dist/actions/edit-store-product-group.mjs +2 -2
- package/dist/actions/edit-store-product-group.mjs.map +1 -1
- package/dist/actions/edit-store-products-batch.cjs +3 -3
- package/dist/actions/edit-store-products-batch.cjs.map +1 -1
- package/dist/actions/edit-store-products-batch.d.cts +4 -3
- package/dist/actions/edit-store-products-batch.d.mts +4 -3
- package/dist/actions/edit-store-products-batch.mjs +3 -3
- package/dist/actions/edit-store-products-batch.mjs.map +1 -1
- package/dist/actions/edit-store-setting.cjs +1 -1
- package/dist/actions/edit-store-setting.cjs.map +1 -1
- package/dist/actions/edit-store-setting.d.cts +1 -1
- package/dist/actions/edit-store-setting.d.mts +1 -1
- package/dist/actions/edit-store-setting.mjs +1 -1
- package/dist/actions/edit-store-setting.mjs.map +1 -1
- package/dist/actions/edit-task.cjs +1 -1
- package/dist/actions/edit-task.cjs.map +1 -1
- package/dist/actions/edit-task.d.cts +1 -1
- package/dist/actions/edit-task.d.mts +1 -1
- package/dist/actions/edit-task.mjs +1 -1
- package/dist/actions/edit-task.mjs.map +1 -1
- package/dist/actions/edit-telephony-setting.cjs +4 -4
- package/dist/actions/edit-telephony-setting.cjs.map +1 -1
- package/dist/actions/edit-telephony-setting.d.cts +5 -5
- package/dist/actions/edit-telephony-setting.d.mts +5 -5
- package/dist/actions/edit-telephony-setting.mjs +4 -4
- package/dist/actions/edit-telephony-setting.mjs.map +1 -1
- package/dist/actions/fix-customers-corporate-external-ids.cjs +2 -2
- package/dist/actions/fix-customers-corporate-external-ids.cjs.map +1 -1
- package/dist/actions/fix-customers-corporate-external-ids.d.cts +3 -2
- package/dist/actions/fix-customers-corporate-external-ids.d.mts +3 -2
- package/dist/actions/fix-customers-corporate-external-ids.mjs +2 -2
- package/dist/actions/fix-customers-corporate-external-ids.mjs.map +1 -1
- package/dist/actions/fix-customers-external-ids.cjs +2 -2
- package/dist/actions/fix-customers-external-ids.cjs.map +1 -1
- package/dist/actions/fix-customers-external-ids.d.cts +3 -2
- package/dist/actions/fix-customers-external-ids.d.mts +3 -2
- package/dist/actions/fix-customers-external-ids.mjs +2 -2
- package/dist/actions/fix-customers-external-ids.mjs.map +1 -1
- package/dist/actions/fix-orders-external-ids.cjs +2 -2
- package/dist/actions/fix-orders-external-ids.cjs.map +1 -1
- package/dist/actions/fix-orders-external-ids.d.cts +3 -2
- package/dist/actions/fix-orders-external-ids.d.mts +3 -2
- package/dist/actions/fix-orders-external-ids.mjs +2 -2
- package/dist/actions/fix-orders-external-ids.mjs.map +1 -1
- package/dist/actions/get-api-credentials.cjs +1 -1
- package/dist/actions/get-api-credentials.cjs.map +1 -1
- package/dist/actions/get-api-credentials.d.cts +1 -1
- package/dist/actions/get-api-credentials.d.mts +1 -1
- package/dist/actions/get-api-credentials.mjs +1 -1
- package/dist/actions/get-api-credentials.mjs.map +1 -1
- package/dist/actions/get-cost.cjs +5 -5
- package/dist/actions/get-cost.cjs.map +1 -1
- package/dist/actions/get-cost.d.cts +5 -5
- package/dist/actions/get-cost.d.mts +5 -5
- package/dist/actions/get-cost.mjs +5 -5
- package/dist/actions/get-cost.mjs.map +1 -1
- package/dist/actions/get-custom-field.cjs +1 -1
- package/dist/actions/get-custom-field.cjs.map +1 -1
- package/dist/actions/get-custom-field.d.cts +3 -3
- package/dist/actions/get-custom-field.d.mts +3 -3
- package/dist/actions/get-custom-field.mjs +1 -1
- package/dist/actions/get-custom-field.mjs.map +1 -1
- package/dist/actions/get-custom-fields-dictionaries.cjs +3 -3
- package/dist/actions/get-custom-fields-dictionaries.cjs.map +1 -1
- package/dist/actions/get-custom-fields-dictionaries.d.cts +3 -3
- package/dist/actions/get-custom-fields-dictionaries.d.mts +3 -3
- package/dist/actions/get-custom-fields-dictionaries.mjs +3 -3
- package/dist/actions/get-custom-fields-dictionaries.mjs.map +1 -1
- package/dist/actions/get-custom-fields-dictionary.cjs +3 -3
- package/dist/actions/get-custom-fields-dictionary.cjs.map +1 -1
- package/dist/actions/get-custom-fields-dictionary.d.cts +3 -3
- package/dist/actions/get-custom-fields-dictionary.d.mts +3 -3
- package/dist/actions/get-custom-fields-dictionary.mjs +3 -3
- package/dist/actions/get-custom-fields-dictionary.mjs.map +1 -1
- package/dist/actions/get-custom-fields.cjs +2 -2
- package/dist/actions/get-custom-fields.cjs.map +1 -1
- package/dist/actions/get-custom-fields.d.cts +2 -2
- package/dist/actions/get-custom-fields.d.mts +2 -2
- package/dist/actions/get-custom-fields.mjs +2 -2
- package/dist/actions/get-custom-fields.mjs.map +1 -1
- package/dist/actions/get-customer-corporate.cjs +2 -2
- package/dist/actions/get-customer-corporate.cjs.map +1 -1
- package/dist/actions/get-customer-corporate.d.cts +2 -2
- package/dist/actions/get-customer-corporate.d.mts +2 -2
- package/dist/actions/get-customer-corporate.mjs +2 -2
- package/dist/actions/get-customer-corporate.mjs.map +1 -1
- package/dist/actions/get-customer-interaction-favorites.cjs +1 -1
- package/dist/actions/get-customer-interaction-favorites.cjs.map +1 -1
- package/dist/actions/get-customer-interaction-favorites.d.cts +1 -1
- package/dist/actions/get-customer-interaction-favorites.d.mts +1 -1
- package/dist/actions/get-customer-interaction-favorites.mjs +1 -1
- package/dist/actions/get-customer-interaction-favorites.mjs.map +1 -1
- package/dist/actions/get-customer.cjs +6 -6
- package/dist/actions/get-customer.cjs.map +1 -1
- package/dist/actions/get-customer.d.cts +6 -6
- package/dist/actions/get-customer.d.mts +6 -6
- package/dist/actions/get-customer.mjs +6 -6
- package/dist/actions/get-customer.mjs.map +1 -1
- package/dist/actions/get-customers-corporate-companies.cjs +1 -1
- package/dist/actions/get-customers-corporate-companies.cjs.map +1 -1
- package/dist/actions/get-customers-corporate-companies.d.cts +1 -1
- package/dist/actions/get-customers-corporate-companies.d.mts +1 -1
- package/dist/actions/get-customers-corporate-companies.mjs +1 -1
- package/dist/actions/get-customers-corporate-companies.mjs.map +1 -1
- package/dist/actions/get-customers-corporate-history.cjs +5 -5
- package/dist/actions/get-customers-corporate-history.cjs.map +1 -1
- package/dist/actions/get-customers-corporate-history.d.cts +5 -5
- package/dist/actions/get-customers-corporate-history.d.mts +5 -5
- package/dist/actions/get-customers-corporate-history.mjs +5 -5
- package/dist/actions/get-customers-corporate-history.mjs.map +1 -1
- package/dist/actions/get-customers-corporate-notes.cjs +3 -3
- package/dist/actions/get-customers-corporate-notes.cjs.map +1 -1
- package/dist/actions/get-customers-corporate-notes.d.cts +3 -3
- package/dist/actions/get-customers-corporate-notes.d.mts +3 -3
- package/dist/actions/get-customers-corporate-notes.mjs +3 -3
- package/dist/actions/get-customers-corporate-notes.mjs.map +1 -1
- package/dist/actions/get-customers-corporate.cjs +1 -1
- package/dist/actions/get-customers-corporate.cjs.map +1 -1
- package/dist/actions/get-customers-corporate.d.cts +1 -1
- package/dist/actions/get-customers-corporate.d.mts +1 -1
- package/dist/actions/get-customers-corporate.mjs +1 -1
- package/dist/actions/get-customers-corporate.mjs.map +1 -1
- package/dist/actions/get-customers-history.cjs +5 -5
- package/dist/actions/get-customers-history.cjs.map +1 -1
- package/dist/actions/get-customers-history.d.cts +5 -5
- package/dist/actions/get-customers-history.d.mts +5 -5
- package/dist/actions/get-customers-history.mjs +5 -5
- package/dist/actions/get-customers-history.mjs.map +1 -1
- package/dist/actions/get-customers-notes.cjs +3 -3
- package/dist/actions/get-customers-notes.cjs.map +1 -1
- package/dist/actions/get-customers-notes.d.cts +3 -3
- package/dist/actions/get-customers-notes.d.mts +3 -3
- package/dist/actions/get-customers-notes.mjs +3 -3
- package/dist/actions/get-customers-notes.mjs.map +1 -1
- package/dist/actions/get-customers.cjs +4 -4
- package/dist/actions/get-customers.cjs.map +1 -1
- package/dist/actions/get-customers.d.cts +4 -4
- package/dist/actions/get-customers.d.mts +4 -4
- package/dist/actions/get-customers.mjs +4 -4
- package/dist/actions/get-customers.mjs.map +1 -1
- package/dist/actions/get-delivery-shipments.cjs +1 -1
- package/dist/actions/get-delivery-shipments.cjs.map +1 -1
- package/dist/actions/get-delivery-shipments.d.cts +1 -1
- package/dist/actions/get-delivery-shipments.d.mts +1 -1
- package/dist/actions/get-delivery-shipments.mjs +1 -1
- package/dist/actions/get-delivery-shipments.mjs.map +1 -1
- package/dist/actions/get-files.cjs +2 -2
- package/dist/actions/get-files.cjs.map +1 -1
- package/dist/actions/get-files.d.cts +2 -2
- package/dist/actions/get-files.d.mts +2 -2
- package/dist/actions/get-files.mjs +2 -2
- package/dist/actions/get-files.mjs.map +1 -1
- package/dist/actions/get-loyalty-accounts.cjs +5 -5
- package/dist/actions/get-loyalty-accounts.cjs.map +1 -1
- package/dist/actions/get-loyalty-accounts.d.cts +5 -5
- package/dist/actions/get-loyalty-accounts.d.mts +5 -5
- package/dist/actions/get-loyalty-accounts.mjs +5 -5
- package/dist/actions/get-loyalty-accounts.mjs.map +1 -1
- package/dist/actions/get-loyalty-bonus-operations.cjs +2 -2
- package/dist/actions/get-loyalty-bonus-operations.cjs.map +1 -1
- package/dist/actions/get-loyalty-bonus-operations.d.cts +2 -2
- package/dist/actions/get-loyalty-bonus-operations.d.mts +2 -2
- package/dist/actions/get-loyalty-bonus-operations.mjs +2 -2
- package/dist/actions/get-loyalty-bonus-operations.mjs.map +1 -1
- package/dist/actions/get-loyalty-loyalties.cjs +1 -1
- package/dist/actions/get-loyalty-loyalties.cjs.map +1 -1
- package/dist/actions/get-loyalty-loyalties.d.cts +1 -1
- package/dist/actions/get-loyalty-loyalties.d.mts +1 -1
- package/dist/actions/get-loyalty-loyalties.mjs +1 -1
- package/dist/actions/get-loyalty-loyalties.mjs.map +1 -1
- package/dist/actions/get-order.cjs +8 -8
- package/dist/actions/get-order.cjs.map +1 -1
- package/dist/actions/get-order.d.cts +8 -8
- package/dist/actions/get-order.d.mts +8 -8
- package/dist/actions/get-order.mjs +8 -8
- package/dist/actions/get-order.mjs.map +1 -1
- package/dist/actions/get-orders-history.cjs +10 -10
- package/dist/actions/get-orders-history.cjs.map +1 -1
- package/dist/actions/get-orders-history.d.cts +10 -10
- package/dist/actions/get-orders-history.d.mts +10 -10
- package/dist/actions/get-orders-history.mjs +10 -10
- package/dist/actions/get-orders-history.mjs.map +1 -1
- package/dist/actions/get-orders-packs-history.cjs +1 -1
- package/dist/actions/get-orders-packs-history.cjs.map +1 -1
- package/dist/actions/get-orders-packs-history.d.cts +1 -1
- package/dist/actions/get-orders-packs-history.d.mts +1 -1
- package/dist/actions/get-orders-packs-history.mjs +1 -1
- package/dist/actions/get-orders-packs-history.mjs.map +1 -1
- package/dist/actions/get-orders.cjs +9 -9
- package/dist/actions/get-orders.cjs.map +1 -1
- package/dist/actions/get-orders.d.cts +10 -10
- package/dist/actions/get-orders.d.mts +10 -10
- package/dist/actions/get-orders.mjs +9 -9
- package/dist/actions/get-orders.mjs.map +1 -1
- package/dist/actions/get-products.cjs +2 -2
- package/dist/actions/get-products.cjs.map +1 -1
- package/dist/actions/get-products.d.cts +2 -2
- package/dist/actions/get-products.d.mts +2 -2
- package/dist/actions/get-products.mjs +2 -2
- package/dist/actions/get-products.mjs.map +1 -1
- package/dist/actions/get-reference-cost-groups.cjs +1 -1
- package/dist/actions/get-reference-cost-groups.cjs.map +1 -1
- package/dist/actions/get-reference-cost-groups.d.cts +1 -1
- package/dist/actions/get-reference-cost-groups.d.mts +1 -1
- package/dist/actions/get-reference-cost-groups.mjs +1 -1
- package/dist/actions/get-reference-cost-groups.mjs.map +1 -1
- package/dist/actions/get-reference-cost-items.cjs +1 -1
- package/dist/actions/get-reference-cost-items.cjs.map +1 -1
- package/dist/actions/get-reference-cost-items.d.cts +1 -1
- package/dist/actions/get-reference-cost-items.d.mts +1 -1
- package/dist/actions/get-reference-cost-items.mjs +1 -1
- package/dist/actions/get-reference-cost-items.mjs.map +1 -1
- package/dist/actions/get-reference-currencies.cjs +1 -1
- package/dist/actions/get-reference-currencies.cjs.map +1 -1
- package/dist/actions/get-reference-currencies.d.cts +1 -1
- package/dist/actions/get-reference-currencies.d.mts +1 -1
- package/dist/actions/get-reference-currencies.mjs +1 -1
- package/dist/actions/get-reference-currencies.mjs.map +1 -1
- package/dist/actions/get-reference-delivery-services.cjs +1 -1
- package/dist/actions/get-reference-delivery-services.cjs.map +1 -1
- package/dist/actions/get-reference-delivery-services.d.cts +1 -1
- package/dist/actions/get-reference-delivery-services.d.mts +1 -1
- package/dist/actions/get-reference-delivery-services.mjs +1 -1
- package/dist/actions/get-reference-delivery-services.mjs.map +1 -1
- package/dist/actions/get-reference-delivery-types.cjs +2 -2
- package/dist/actions/get-reference-delivery-types.cjs.map +1 -1
- package/dist/actions/get-reference-delivery-types.d.cts +2 -2
- package/dist/actions/get-reference-delivery-types.d.mts +2 -2
- package/dist/actions/get-reference-delivery-types.mjs +2 -2
- package/dist/actions/get-reference-delivery-types.mjs.map +1 -1
- package/dist/actions/get-reference-order-methods.cjs +2 -2
- package/dist/actions/get-reference-order-methods.cjs.map +1 -1
- package/dist/actions/get-reference-order-methods.d.cts +2 -2
- package/dist/actions/get-reference-order-methods.d.mts +2 -2
- package/dist/actions/get-reference-order-methods.mjs +2 -2
- package/dist/actions/get-reference-order-methods.mjs.map +1 -1
- package/dist/actions/get-reference-order-types.cjs +2 -2
- package/dist/actions/get-reference-order-types.cjs.map +1 -1
- package/dist/actions/get-reference-order-types.d.cts +2 -2
- package/dist/actions/get-reference-order-types.d.mts +2 -2
- package/dist/actions/get-reference-order-types.mjs +2 -2
- package/dist/actions/get-reference-order-types.mjs.map +1 -1
- package/dist/actions/get-reference-payment-statuses.cjs +2 -2
- package/dist/actions/get-reference-payment-statuses.cjs.map +1 -1
- package/dist/actions/get-reference-payment-statuses.d.cts +2 -2
- package/dist/actions/get-reference-payment-statuses.d.mts +2 -2
- package/dist/actions/get-reference-payment-statuses.mjs +2 -2
- package/dist/actions/get-reference-payment-statuses.mjs.map +1 -1
- package/dist/actions/get-reference-payment-types.cjs +2 -2
- package/dist/actions/get-reference-payment-types.cjs.map +1 -1
- package/dist/actions/get-reference-payment-types.d.cts +2 -2
- package/dist/actions/get-reference-payment-types.d.mts +2 -2
- package/dist/actions/get-reference-payment-types.mjs +2 -2
- package/dist/actions/get-reference-payment-types.mjs.map +1 -1
- package/dist/actions/get-reference-product-statuses.cjs +2 -2
- package/dist/actions/get-reference-product-statuses.cjs.map +1 -1
- package/dist/actions/get-reference-product-statuses.d.cts +2 -2
- package/dist/actions/get-reference-product-statuses.d.mts +2 -2
- package/dist/actions/get-reference-product-statuses.mjs +2 -2
- package/dist/actions/get-reference-product-statuses.mjs.map +1 -1
- package/dist/actions/get-reference-status-groups.cjs +2 -2
- package/dist/actions/get-reference-status-groups.cjs.map +1 -1
- package/dist/actions/get-reference-status-groups.d.cts +2 -2
- package/dist/actions/get-reference-status-groups.d.mts +2 -2
- package/dist/actions/get-reference-status-groups.mjs +2 -2
- package/dist/actions/get-reference-status-groups.mjs.map +1 -1
- package/dist/actions/get-reference-statuses.cjs +2 -2
- package/dist/actions/get-reference-statuses.cjs.map +1 -1
- package/dist/actions/get-reference-statuses.d.cts +2 -2
- package/dist/actions/get-reference-statuses.d.mts +2 -2
- package/dist/actions/get-reference-statuses.mjs +2 -2
- package/dist/actions/get-reference-statuses.mjs.map +1 -1
- package/dist/actions/get-reference-subscriptions.cjs +1 -1
- package/dist/actions/get-reference-subscriptions.cjs.map +1 -1
- package/dist/actions/get-reference-subscriptions.d.cts +1 -1
- package/dist/actions/get-reference-subscriptions.d.mts +1 -1
- package/dist/actions/get-reference-subscriptions.mjs +1 -1
- package/dist/actions/get-reference-subscriptions.mjs.map +1 -1
- package/dist/actions/get-reference-units.cjs +2 -2
- package/dist/actions/get-reference-units.cjs.map +1 -1
- package/dist/actions/get-reference-units.d.cts +2 -2
- package/dist/actions/get-reference-units.d.mts +2 -2
- package/dist/actions/get-reference-units.mjs +2 -2
- package/dist/actions/get-reference-units.mjs.map +1 -1
- package/dist/actions/get-settings.cjs +1 -1
- package/dist/actions/get-settings.cjs.map +1 -1
- package/dist/actions/get-settings.d.cts +1 -1
- package/dist/actions/get-settings.d.mts +1 -1
- package/dist/actions/get-settings.mjs +1 -1
- package/dist/actions/get-settings.mjs.map +1 -1
- package/dist/actions/get-sites.cjs +1 -1
- package/dist/actions/get-sites.cjs.map +1 -1
- package/dist/actions/get-sites.d.cts +1 -1
- package/dist/actions/get-sites.d.mts +1 -1
- package/dist/actions/get-sites.mjs +1 -1
- package/dist/actions/get-sites.mjs.map +1 -1
- package/dist/actions/get-store-inventories.cjs +1 -1
- package/dist/actions/get-store-inventories.cjs.map +1 -1
- package/dist/actions/get-store-inventories.d.cts +1 -1
- package/dist/actions/get-store-inventories.d.mts +1 -1
- package/dist/actions/get-store-inventories.mjs +1 -1
- package/dist/actions/get-store-inventories.mjs.map +1 -1
- package/dist/actions/get-store-offers.cjs +1 -1
- package/dist/actions/get-store-offers.cjs.map +1 -1
- package/dist/actions/get-store-offers.d.cts +1 -1
- package/dist/actions/get-store-offers.d.mts +1 -1
- package/dist/actions/get-store-offers.mjs +1 -1
- package/dist/actions/get-store-offers.mjs.map +1 -1
- package/dist/actions/get-store-products-properties-values.cjs +1 -1
- package/dist/actions/get-store-products-properties-values.cjs.map +1 -1
- package/dist/actions/get-store-products-properties-values.d.cts +1 -1
- package/dist/actions/get-store-products-properties-values.d.mts +1 -1
- package/dist/actions/get-store-products-properties-values.mjs +1 -1
- package/dist/actions/get-store-products-properties-values.mjs.map +1 -1
- package/dist/actions/get-store-products-properties.cjs +1 -1
- package/dist/actions/get-store-products-properties.cjs.map +1 -1
- package/dist/actions/get-store-products-properties.d.cts +1 -1
- package/dist/actions/get-store-products-properties.d.mts +1 -1
- package/dist/actions/get-store-products-properties.mjs +1 -1
- package/dist/actions/get-store-products-properties.mjs.map +1 -1
- package/dist/actions/get-stores.cjs +1 -1
- package/dist/actions/get-stores.cjs.map +1 -1
- package/dist/actions/get-stores.d.cts +1 -1
- package/dist/actions/get-stores.d.mts +1 -1
- package/dist/actions/get-stores.mjs +1 -1
- package/dist/actions/get-stores.mjs.map +1 -1
- package/dist/actions/get-tasks-comments.cjs +1 -1
- package/dist/actions/get-tasks-comments.cjs.map +1 -1
- package/dist/actions/get-tasks-comments.d.cts +1 -1
- package/dist/actions/get-tasks-comments.d.mts +1 -1
- package/dist/actions/get-tasks-comments.mjs +1 -1
- package/dist/actions/get-tasks-comments.mjs.map +1 -1
- package/dist/actions/get-tasks-history.cjs +4 -4
- package/dist/actions/get-tasks-history.cjs.map +1 -1
- package/dist/actions/get-tasks-history.d.cts +4 -4
- package/dist/actions/get-tasks-history.d.mts +4 -4
- package/dist/actions/get-tasks-history.mjs +4 -4
- package/dist/actions/get-tasks-history.mjs.map +1 -1
- package/dist/actions/get-tasks.cjs +2 -2
- package/dist/actions/get-tasks.cjs.map +1 -1
- package/dist/actions/get-tasks.d.cts +2 -2
- package/dist/actions/get-tasks.d.mts +2 -2
- package/dist/actions/get-tasks.mjs +2 -2
- package/dist/actions/get-tasks.mjs.map +1 -1
- package/dist/actions/get-user-groups.cjs +2 -2
- package/dist/actions/get-user-groups.cjs.map +1 -1
- package/dist/actions/get-user-groups.d.cts +2 -2
- package/dist/actions/get-user-groups.d.mts +2 -2
- package/dist/actions/get-user-groups.mjs +2 -2
- package/dist/actions/get-user-groups.mjs.map +1 -1
- package/dist/actions/get-user.cjs +3 -3
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +3 -3
- package/dist/actions/get-user.d.mts +3 -3
- package/dist/actions/get-user.mjs +3 -3
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/get-users.cjs +2 -2
- package/dist/actions/get-users.cjs.map +1 -1
- package/dist/actions/get-users.d.cts +2 -2
- package/dist/actions/get-users.d.mts +2 -2
- package/dist/actions/get-users.mjs +2 -2
- package/dist/actions/get-users.mjs.map +1 -1
- package/dist/actions/update-customer-subscriptions.cjs +2 -2
- package/dist/actions/update-customer-subscriptions.cjs.map +1 -1
- package/dist/actions/update-customer-subscriptions.d.cts +3 -2
- package/dist/actions/update-customer-subscriptions.d.mts +3 -2
- package/dist/actions/update-customer-subscriptions.mjs +2 -2
- package/dist/actions/update-customer-subscriptions.mjs.map +1 -1
- package/dist/actions/update-user-status.cjs +1 -1
- package/dist/actions/update-user-status.cjs.map +1 -1
- package/dist/actions/update-user-status.d.cts +1 -1
- package/dist/actions/update-user-status.d.mts +1 -1
- package/dist/actions/update-user-status.mjs +1 -1
- package/dist/actions/update-user-status.mjs.map +1 -1
- package/dist/actions/upload-costs.cjs +3 -3
- package/dist/actions/upload-costs.cjs.map +1 -1
- package/dist/actions/upload-costs.d.cts +4 -3
- package/dist/actions/upload-costs.d.mts +4 -3
- package/dist/actions/upload-costs.mjs +3 -3
- package/dist/actions/upload-costs.mjs.map +1 -1
- package/dist/actions/upload-customers-corporate.cjs +7 -7
- package/dist/actions/upload-customers-corporate.cjs.map +1 -1
- package/dist/actions/upload-customers-corporate.d.cts +12 -7
- package/dist/actions/upload-customers-corporate.d.cts.map +1 -1
- package/dist/actions/upload-customers-corporate.d.mts +12 -7
- package/dist/actions/upload-customers-corporate.d.mts.map +1 -1
- package/dist/actions/upload-customers-corporate.mjs +7 -7
- package/dist/actions/upload-customers-corporate.mjs.map +1 -1
- package/dist/actions/upload-customers.cjs +4 -4
- package/dist/actions/upload-customers.cjs.map +1 -1
- package/dist/actions/upload-customers.d.cts +6 -4
- package/dist/actions/upload-customers.d.cts.map +1 -1
- package/dist/actions/upload-customers.d.mts +6 -4
- package/dist/actions/upload-customers.d.mts.map +1 -1
- package/dist/actions/upload-customers.mjs +4 -4
- package/dist/actions/upload-customers.mjs.map +1 -1
- package/dist/actions/upload-orders.cjs +5 -5
- package/dist/actions/upload-orders.cjs.map +1 -1
- package/dist/actions/upload-orders.d.cts +8 -6
- package/dist/actions/upload-orders.d.cts.map +1 -1
- package/dist/actions/upload-orders.d.mts +8 -6
- package/dist/actions/upload-orders.d.mts.map +1 -1
- package/dist/actions/upload-orders.mjs +5 -5
- package/dist/actions/upload-orders.mjs.map +1 -1
- package/dist/actions/upload-store-prices.cjs +4 -4
- package/dist/actions/upload-store-prices.cjs.map +1 -1
- package/dist/actions/upload-store-prices.d.cts +6 -4
- package/dist/actions/upload-store-prices.d.mts +6 -4
- package/dist/actions/upload-store-prices.mjs +4 -4
- package/dist/actions/upload-store-prices.mjs.map +1 -1
- package/dist/actions/upload-web-analytics-client-ids.cjs +2 -2
- package/dist/actions/upload-web-analytics-client-ids.cjs.map +1 -1
- package/dist/actions/upload-web-analytics-client-ids.d.cts +3 -2
- package/dist/actions/upload-web-analytics-client-ids.d.mts +3 -2
- package/dist/actions/upload-web-analytics-client-ids.mjs +2 -2
- package/dist/actions/upload-web-analytics-client-ids.mjs.map +1 -1
- package/dist/actions/upload-web-analytics-sources.cjs +2 -2
- package/dist/actions/upload-web-analytics-sources.cjs.map +1 -1
- package/dist/actions/upload-web-analytics-sources.d.cts +3 -2
- package/dist/actions/upload-web-analytics-sources.d.mts +3 -2
- package/dist/actions/upload-web-analytics-sources.mjs +2 -2
- package/dist/actions/upload-web-analytics-sources.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -33,14 +33,14 @@ declare const SimlaComEditDeliveryGenericSettingInput: z.ZodObject<{
|
|
|
33
33
|
code: z.ZodString;
|
|
34
34
|
type: z.ZodString;
|
|
35
35
|
label: z.ZodString;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>>>;
|
|
37
37
|
statusList: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
38
38
|
code: z.ZodString;
|
|
39
39
|
name: z.ZodString;
|
|
40
40
|
isError: z.ZodOptional<z.ZodBoolean>;
|
|
41
41
|
isEditable: z.ZodOptional<z.ZodBoolean>;
|
|
42
42
|
isPreprocessing: z.ZodOptional<z.ZodBoolean>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>>>;
|
|
44
44
|
description: z.ZodOptional<z.ZodString>;
|
|
45
45
|
codAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
46
46
|
allowPackages: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -61,7 +61,7 @@ declare const SimlaComEditDeliveryGenericSettingInput: z.ZodObject<{
|
|
|
61
61
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
62
62
|
affectsCost: z.ZodOptional<z.ZodBoolean>;
|
|
63
63
|
autocompleteUrl: z.ZodOptional<z.ZodString>;
|
|
64
|
-
}, z.core.$
|
|
64
|
+
}, z.core.$loose>>>;
|
|
65
65
|
selfShipmentAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
66
66
|
shipmentDataFieldList: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
67
67
|
code: z.ZodString;
|
|
@@ -75,7 +75,7 @@ declare const SimlaComEditDeliveryGenericSettingInput: z.ZodObject<{
|
|
|
75
75
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
76
76
|
affectsCost: z.ZodOptional<z.ZodBoolean>;
|
|
77
77
|
autocompleteUrl: z.ZodOptional<z.ZodString>;
|
|
78
|
-
}, z.core.$
|
|
78
|
+
}, z.core.$loose>>>;
|
|
79
79
|
deliveryConfigurationUrl: z.ZodOptional<z.ZodString>;
|
|
80
80
|
availableShipmentCountries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
81
81
|
duplicateOrderProductSupported: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -86,7 +86,7 @@ declare const SimlaComEditDeliveryGenericSettingOutput: z.ZodObject<{
|
|
|
86
86
|
errors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
87
87
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
88
88
|
errorMsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
89
|
-
}, z.core.$
|
|
89
|
+
}, z.core.$loose>;
|
|
90
90
|
declare const simlaComEditDeliveryGenericSetting: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
91
91
|
subcode: string;
|
|
92
92
|
configuration: {
|
|
@@ -116,11 +116,13 @@ declare const simlaComEditDeliveryGenericSetting: import("@keystrokehq/action").
|
|
|
116
116
|
} | undefined;
|
|
117
117
|
payerType?: string[] | undefined;
|
|
118
118
|
plateList?: {
|
|
119
|
+
[x: string]: unknown;
|
|
119
120
|
code: string;
|
|
120
121
|
type: string;
|
|
121
122
|
label: string;
|
|
122
123
|
}[] | undefined;
|
|
123
124
|
statusList?: {
|
|
125
|
+
[x: string]: unknown;
|
|
124
126
|
code: string;
|
|
125
127
|
name: string;
|
|
126
128
|
isError?: boolean | undefined;
|
|
@@ -136,6 +138,7 @@ declare const simlaComEditDeliveryGenericSetting: import("@keystrokehq/action").
|
|
|
136
138
|
rateDeliveryCost?: boolean | undefined;
|
|
137
139
|
availableCountries?: string[] | undefined;
|
|
138
140
|
deliveryDataFieldList?: {
|
|
141
|
+
[x: string]: unknown;
|
|
139
142
|
code: string;
|
|
140
143
|
type: string;
|
|
141
144
|
label: string;
|
|
@@ -150,6 +153,7 @@ declare const simlaComEditDeliveryGenericSetting: import("@keystrokehq/action").
|
|
|
150
153
|
}[] | undefined;
|
|
151
154
|
selfShipmentAvailable?: boolean | undefined;
|
|
152
155
|
shipmentDataFieldList?: {
|
|
156
|
+
[x: string]: unknown;
|
|
153
157
|
code: string;
|
|
154
158
|
type: string;
|
|
155
159
|
label: string;
|
|
@@ -33,14 +33,14 @@ declare const SimlaComEditDeliveryGenericSettingInput: z.ZodObject<{
|
|
|
33
33
|
code: z.ZodString;
|
|
34
34
|
type: z.ZodString;
|
|
35
35
|
label: z.ZodString;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>>>;
|
|
37
37
|
statusList: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
38
38
|
code: z.ZodString;
|
|
39
39
|
name: z.ZodString;
|
|
40
40
|
isError: z.ZodOptional<z.ZodBoolean>;
|
|
41
41
|
isEditable: z.ZodOptional<z.ZodBoolean>;
|
|
42
42
|
isPreprocessing: z.ZodOptional<z.ZodBoolean>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>>>;
|
|
44
44
|
description: z.ZodOptional<z.ZodString>;
|
|
45
45
|
codAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
46
46
|
allowPackages: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -61,7 +61,7 @@ declare const SimlaComEditDeliveryGenericSettingInput: z.ZodObject<{
|
|
|
61
61
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
62
62
|
affectsCost: z.ZodOptional<z.ZodBoolean>;
|
|
63
63
|
autocompleteUrl: z.ZodOptional<z.ZodString>;
|
|
64
|
-
}, z.core.$
|
|
64
|
+
}, z.core.$loose>>>;
|
|
65
65
|
selfShipmentAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
66
66
|
shipmentDataFieldList: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
67
67
|
code: z.ZodString;
|
|
@@ -75,7 +75,7 @@ declare const SimlaComEditDeliveryGenericSettingInput: z.ZodObject<{
|
|
|
75
75
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
76
76
|
affectsCost: z.ZodOptional<z.ZodBoolean>;
|
|
77
77
|
autocompleteUrl: z.ZodOptional<z.ZodString>;
|
|
78
|
-
}, z.core.$
|
|
78
|
+
}, z.core.$loose>>>;
|
|
79
79
|
deliveryConfigurationUrl: z.ZodOptional<z.ZodString>;
|
|
80
80
|
availableShipmentCountries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
81
81
|
duplicateOrderProductSupported: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -86,7 +86,7 @@ declare const SimlaComEditDeliveryGenericSettingOutput: z.ZodObject<{
|
|
|
86
86
|
errors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
87
87
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
88
88
|
errorMsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
89
|
-
}, z.core.$
|
|
89
|
+
}, z.core.$loose>;
|
|
90
90
|
declare const simlaComEditDeliveryGenericSetting: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
91
91
|
subcode: string;
|
|
92
92
|
configuration: {
|
|
@@ -116,11 +116,13 @@ declare const simlaComEditDeliveryGenericSetting: import("@keystrokehq/action").
|
|
|
116
116
|
} | undefined;
|
|
117
117
|
payerType?: string[] | undefined;
|
|
118
118
|
plateList?: {
|
|
119
|
+
[x: string]: unknown;
|
|
119
120
|
code: string;
|
|
120
121
|
type: string;
|
|
121
122
|
label: string;
|
|
122
123
|
}[] | undefined;
|
|
123
124
|
statusList?: {
|
|
125
|
+
[x: string]: unknown;
|
|
124
126
|
code: string;
|
|
125
127
|
name: string;
|
|
126
128
|
isError?: boolean | undefined;
|
|
@@ -136,6 +138,7 @@ declare const simlaComEditDeliveryGenericSetting: import("@keystrokehq/action").
|
|
|
136
138
|
rateDeliveryCost?: boolean | undefined;
|
|
137
139
|
availableCountries?: string[] | undefined;
|
|
138
140
|
deliveryDataFieldList?: {
|
|
141
|
+
[x: string]: unknown;
|
|
139
142
|
code: string;
|
|
140
143
|
type: string;
|
|
141
144
|
label: string;
|
|
@@ -150,6 +153,7 @@ declare const simlaComEditDeliveryGenericSetting: import("@keystrokehq/action").
|
|
|
150
153
|
}[] | undefined;
|
|
151
154
|
selfShipmentAvailable?: boolean | undefined;
|
|
152
155
|
shipmentDataFieldList?: {
|
|
156
|
+
[x: string]: unknown;
|
|
153
157
|
code: string;
|
|
154
158
|
type: string;
|
|
155
159
|
label: string;
|
|
@@ -36,14 +36,14 @@ const simlaComEditDeliveryGenericSetting = action("SIMLA_COM_EDIT_DELIVERY_GENER
|
|
|
36
36
|
code: z.string().describe("Printing form code identifier"),
|
|
37
37
|
type: z.string().describe("Document type for printing (order or shipment)"),
|
|
38
38
|
label: z.string().describe("Display label for the printing form")
|
|
39
|
-
}).describe("Printing form configuration for delivery documents")).describe("Printing form configurations").optional(),
|
|
39
|
+
}).passthrough().describe("Printing form configuration for delivery documents")).describe("Printing form configurations").optional(),
|
|
40
40
|
statusList: z.array(z.object({
|
|
41
41
|
code: z.string().describe("Status code identifier in the delivery service"),
|
|
42
42
|
name: z.string().describe("Human-readable status name"),
|
|
43
43
|
isError: z.boolean().describe("Whether this status indicates a delivery problem/error").optional(),
|
|
44
44
|
isEditable: z.boolean().describe("Whether delivery data can be edited in this status").optional(),
|
|
45
45
|
isPreprocessing: z.boolean().describe("Whether this status indicates registration is in progress").optional()
|
|
46
|
-
}).describe("Delivery service status configuration")).describe("Delivery service status definitions").optional(),
|
|
46
|
+
}).passthrough().describe("Delivery service status configuration")).describe("Delivery service status definitions").optional(),
|
|
47
47
|
description: z.string().describe("Integration description text").optional(),
|
|
48
48
|
codAvailable: z.boolean().describe("Whether cash on delivery is available").optional(),
|
|
49
49
|
allowPackages: z.boolean().describe("Whether package usage is enabled").optional(),
|
|
@@ -64,7 +64,7 @@ const simlaComEditDeliveryGenericSetting = action("SIMLA_COM_EDIT_DELIVERY_GENER
|
|
|
64
64
|
required: z.boolean().describe("Whether field is mandatory").optional(),
|
|
65
65
|
affectsCost: z.boolean().describe("Whether field influences delivery cost calculation").optional(),
|
|
66
66
|
autocompleteUrl: z.string().describe("URL for autocomplete data source").optional()
|
|
67
|
-
}).describe("Additional field definition for delivery or shipment data")).describe("Additional delivery-specific field definitions").optional(),
|
|
67
|
+
}).passthrough().describe("Additional field definition for delivery or shipment data")).describe("Additional delivery-specific field definitions").optional(),
|
|
68
68
|
selfShipmentAvailable: z.boolean().describe("Whether terminal self-shipment is supported").optional(),
|
|
69
69
|
shipmentDataFieldList: z.array(z.object({
|
|
70
70
|
code: z.string().describe("Field code identifier"),
|
|
@@ -78,7 +78,7 @@ const simlaComEditDeliveryGenericSetting = action("SIMLA_COM_EDIT_DELIVERY_GENER
|
|
|
78
78
|
required: z.boolean().describe("Whether field is mandatory").optional(),
|
|
79
79
|
affectsCost: z.boolean().describe("Whether field influences delivery cost calculation").optional(),
|
|
80
80
|
autocompleteUrl: z.string().describe("URL for autocomplete data source").optional()
|
|
81
|
-
}).describe("Additional field definition for delivery or shipment data")).describe("Additional shipment-specific field definitions").optional(),
|
|
81
|
+
}).passthrough().describe("Additional field definition for delivery or shipment data")).describe("Additional shipment-specific field definitions").optional(),
|
|
82
82
|
deliveryConfigurationUrl: z.string().describe("URL for integration setup page").optional(),
|
|
83
83
|
availableShipmentCountries: z.array(z.string()).describe("ISO 3166-1 alpha-2 country codes for shipment origin").optional(),
|
|
84
84
|
duplicateOrderProductSupported: z.boolean().describe("Whether orders with duplicate SKUs are supported").optional()
|
|
@@ -89,7 +89,7 @@ const simlaComEditDeliveryGenericSetting = action("SIMLA_COM_EDIT_DELIVERY_GENER
|
|
|
89
89
|
errors: z.record(z.string(), z.unknown()).describe("Detailed validation errors if the operation failed").nullable().optional(),
|
|
90
90
|
success: z.boolean().describe("Indicates whether the operation was successful").nullable(),
|
|
91
91
|
errorMsg: z.string().describe("Error message if the operation failed").nullable().optional()
|
|
92
|
-
}).describe("Response model after registering or editing delivery service configuration")
|
|
92
|
+
}).passthrough().describe("Response model after registering or editing delivery service configuration")
|
|
93
93
|
});
|
|
94
94
|
//#endregion
|
|
95
95
|
export { simlaComEditDeliveryGenericSetting };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-delivery-generic-setting.mjs","names":[],"sources":["../../src/actions/edit-delivery-generic-setting.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComEditDeliveryGenericSettingInput = z.object({\n subcode: z.string().describe(\"Delivery service integration subcode identifier (used in URL path)\"),\n configuration: z.object({\n code: z.string().describe(\"Unique delivery service code identifier\"),\n logo: z.string().describe(\"URL to delivery service SVG logo\").optional(),\n name: z.string().describe(\"Delivery service name displayed to users\"),\n actions: z.object({\n get: z.string().describe(\"Relative URL path for retrieving delivery data endpoint\").optional(),\n save: z.string().describe(\"Relative URL path for saving delivery order endpoint\").optional(),\n print: z.string().describe(\"Relative URL path for printing delivery documents endpoint\").optional(),\n \"delete\": z.string().describe(\"Relative URL path for deleting delivery order endpoint\").optional(),\n calculate: z.string().describe(\"Relative URL path for delivery cost calculation endpoint\").optional(),\n tariffList: z.string().describe(\"Relative URL path for fetching tariff list endpoint\").optional(),\n shipmentPointList: z.string().describe(\"Relative URL path for fetching shipment points endpoint\").optional(),\n}).describe(\"API action paths for delivery service methods\").optional(),\n baseUrl: z.string().describe(\"Base URL for API requests to the delivery service\"),\n settings: z.object({\n statuses: z.array(z.record(z.string(), z.unknown())).describe(\"Status mapping between system and delivery service\").optional(),\n paymentTypes: z.array(z.record(z.string(), z.unknown())).describe(\"Payment type configuration mappings\").optional(),\n shipmentPoints: z.array(z.record(z.string(), z.unknown())).describe(\"Default warehouse/terminal configurations\").optional(),\n costCalculateBy: z.string().describe(\"Cost calculation method (auto or manual)\").optional(),\n lockedByDefault: z.boolean().describe(\"Whether to skip service synchronization by default\").optional(),\n defaultPayerType: z.string().describe(\"Default payer type (receiver or sender)\").optional(),\n deliveryExtraData: z.array(z.record(z.string(), z.unknown())).describe(\"Default values for delivery extra fields\").optional(),\n nullDeclaredValue: z.boolean().describe(\"Whether to use zero declared value by default\").optional(),\n shipmentExtraData: z.array(z.record(z.string(), z.unknown())).describe(\"Default values for shipment extra fields\").optional(),\n}).describe(\"Default settings for delivery integration\").optional(),\n payerType: z.array(z.string()).describe(\"Allowed payer types: 'receiver' (customer pays) or 'sender' (store manages payment)\").optional(),\n plateList: z.array(z.object({\n code: z.string().describe(\"Printing form code identifier\"),\n type: z.string().describe(\"Document type for printing (order or shipment)\"),\n label: z.string().describe(\"Display label for the printing form\"),\n}).describe(\"Printing form configuration for delivery documents\")).describe(\"Printing form configurations\").optional(),\n statusList: z.array(z.object({\n code: z.string().describe(\"Status code identifier in the delivery service\"),\n name: z.string().describe(\"Human-readable status name\"),\n isError: z.boolean().describe(\"Whether this status indicates a delivery problem/error\").optional(),\n isEditable: z.boolean().describe(\"Whether delivery data can be edited in this status\").optional(),\n isPreprocessing: z.boolean().describe(\"Whether this status indicates registration is in progress\").optional(),\n}).describe(\"Delivery service status configuration\")).describe(\"Delivery service status definitions\").optional(),\n description: z.string().describe(\"Integration description text\").optional(),\n codAvailable: z.boolean().describe(\"Whether cash on delivery is available\").optional(),\n allowPackages: z.boolean().describe(\"Whether package usage is enabled\").optional(),\n requiredFields: z.array(z.string()).describe(\"List of mandatory order fields\").optional(),\n platePrintLimit: z.number().int().describe(\"Maximum number of orders per print request\").optional(),\n allowTrackNumber: z.boolean().describe(\"Whether track numbers different from delivery ID are allowed\").optional(),\n rateDeliveryCost: z.boolean().describe(\"Whether integration calculates delivery costs\").optional(),\n availableCountries: z.array(z.string()).describe(\"List of supported countries (empty = no restrictions)\").optional(),\n deliveryDataFieldList: z.array(z.object({\n code: z.string().describe(\"Field code identifier\"),\n hint: z.string().describe(\"Hint text displayed to user\").optional(),\n type: z.string().describe(\"Field data type (integer, text, autocomplete, checkbox, choice, date)\"),\n label: z.string().describe(\"Field display label\"),\n choices: z.array(z.string()).describe(\"Available options for choice type fields\").optional(),\n visible: z.boolean().describe(\"Whether field is visible in order card\").optional(),\n editable: z.boolean().describe(\"Whether field is editable (false = read-only information)\").optional(),\n multiple: z.boolean().describe(\"Whether multiple selections allowed (for choice type fields)\").optional(),\n required: z.boolean().describe(\"Whether field is mandatory\").optional(),\n affectsCost: z.boolean().describe(\"Whether field influences delivery cost calculation\").optional(),\n autocompleteUrl: z.string().describe(\"URL for autocomplete data source\").optional(),\n}).describe(\"Additional field definition for delivery or shipment data\")).describe(\"Additional delivery-specific field definitions\").optional(),\n selfShipmentAvailable: z.boolean().describe(\"Whether terminal self-shipment is supported\").optional(),\n shipmentDataFieldList: z.array(z.object({\n code: z.string().describe(\"Field code identifier\"),\n hint: z.string().describe(\"Hint text displayed to user\").optional(),\n type: z.string().describe(\"Field data type (integer, text, autocomplete, checkbox, choice, date)\"),\n label: z.string().describe(\"Field display label\"),\n choices: z.array(z.string()).describe(\"Available options for choice type fields\").optional(),\n visible: z.boolean().describe(\"Whether field is visible in order card\").optional(),\n editable: z.boolean().describe(\"Whether field is editable (false = read-only information)\").optional(),\n multiple: z.boolean().describe(\"Whether multiple selections allowed (for choice type fields)\").optional(),\n required: z.boolean().describe(\"Whether field is mandatory\").optional(),\n affectsCost: z.boolean().describe(\"Whether field influences delivery cost calculation\").optional(),\n autocompleteUrl: z.string().describe(\"URL for autocomplete data source\").optional(),\n}).describe(\"Additional field definition for delivery or shipment data\")).describe(\"Additional shipment-specific field definitions\").optional(),\n deliveryConfigurationUrl: z.string().describe(\"URL for integration setup page\").optional(),\n availableShipmentCountries: z.array(z.string()).describe(\"ISO 3166-1 alpha-2 country codes for shipment origin\").optional(),\n duplicateOrderProductSupported: z.boolean().describe(\"Whether orders with duplicate SKUs are supported\").optional(),\n}).describe(\"Complete delivery service configuration including name, URLs, actions, statuses, and settings\"),\n}).describe(\"Request model for registering or editing a delivery service integration\");\nexport const SimlaComEditDeliveryGenericSettingOutput = z.object({\n code: z.string().describe(\"Integration code assigned by the system (format: generic.{subcode})\").nullable().optional(),\n errors: z.record(z.string(), z.unknown()).describe(\"Detailed validation errors if the operation failed\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the operation was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n}).describe(\"Response model after registering or editing delivery service configuration\");\n\nexport const simlaComEditDeliveryGenericSetting = action(\"SIMLA_COM_EDIT_DELIVERY_GENERIC_SETTING\", {\n slug: \"simla_com-edit-delivery-generic-setting\",\n name: \"Edit Delivery Generic Setting\",\n description: \"Tool to register or edit a delivery service integration configuration. Use when you need to create a new delivery service integration or update existing delivery settings including API endpoints, statuses, custom fields, and integration metadata.\",\n input: SimlaComEditDeliveryGenericSettingInput,\n output: SimlaComEditDeliveryGenericSettingOutput,\n});\n"],"mappings":";;AA2FA,MAAa,qCAAqC,OAAO,2CAA2C;CAClG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3FqD,EAAE,OAAO;EAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;EACjG,eAAe,EAAE,OAAO;GACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;GACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;GACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;GACpE,SAAS,EAAE,OAAO;IAClB,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;IAC7F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;IAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;IAClG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;IACjG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;IACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;IAChG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;GAC7G,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SA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S,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,SAAS,4EAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"edit-delivery-generic-setting.mjs","names":[],"sources":["../../src/actions/edit-delivery-generic-setting.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComEditDeliveryGenericSettingInput = z.object({\n subcode: z.string().describe(\"Delivery service integration subcode identifier (used in URL path)\"),\n configuration: z.object({\n code: z.string().describe(\"Unique delivery service code identifier\"),\n logo: z.string().describe(\"URL to delivery service SVG logo\").optional(),\n name: z.string().describe(\"Delivery service name displayed to users\"),\n actions: z.object({\n get: z.string().describe(\"Relative URL path for retrieving delivery data endpoint\").optional(),\n save: z.string().describe(\"Relative URL path for saving delivery order endpoint\").optional(),\n print: z.string().describe(\"Relative URL path for printing delivery documents endpoint\").optional(),\n \"delete\": z.string().describe(\"Relative URL path for deleting delivery order endpoint\").optional(),\n calculate: z.string().describe(\"Relative URL path for delivery cost calculation endpoint\").optional(),\n tariffList: z.string().describe(\"Relative URL path for fetching tariff list endpoint\").optional(),\n shipmentPointList: z.string().describe(\"Relative URL path for fetching shipment points endpoint\").optional(),\n}).describe(\"API action paths for delivery service methods\").optional(),\n baseUrl: z.string().describe(\"Base URL for API requests to the delivery service\"),\n settings: z.object({\n statuses: z.array(z.record(z.string(), z.unknown())).describe(\"Status mapping between system and delivery service\").optional(),\n paymentTypes: z.array(z.record(z.string(), z.unknown())).describe(\"Payment type configuration mappings\").optional(),\n shipmentPoints: z.array(z.record(z.string(), z.unknown())).describe(\"Default warehouse/terminal configurations\").optional(),\n costCalculateBy: z.string().describe(\"Cost calculation method (auto or manual)\").optional(),\n lockedByDefault: z.boolean().describe(\"Whether to skip service synchronization by default\").optional(),\n defaultPayerType: z.string().describe(\"Default payer type (receiver or sender)\").optional(),\n deliveryExtraData: z.array(z.record(z.string(), z.unknown())).describe(\"Default values for delivery extra fields\").optional(),\n nullDeclaredValue: z.boolean().describe(\"Whether to use zero declared value by default\").optional(),\n shipmentExtraData: z.array(z.record(z.string(), z.unknown())).describe(\"Default values for shipment extra fields\").optional(),\n}).describe(\"Default settings for delivery integration\").optional(),\n payerType: z.array(z.string()).describe(\"Allowed payer types: 'receiver' (customer pays) or 'sender' (store manages payment)\").optional(),\n plateList: z.array(z.object({\n code: z.string().describe(\"Printing form code identifier\"),\n type: z.string().describe(\"Document type for printing (order or shipment)\"),\n label: z.string().describe(\"Display label for the printing form\"),\n}).passthrough().describe(\"Printing form configuration for delivery documents\")).describe(\"Printing form configurations\").optional(),\n statusList: z.array(z.object({\n code: z.string().describe(\"Status code identifier in the delivery service\"),\n name: z.string().describe(\"Human-readable status name\"),\n isError: z.boolean().describe(\"Whether this status indicates a delivery problem/error\").optional(),\n isEditable: z.boolean().describe(\"Whether delivery data can be edited in this status\").optional(),\n isPreprocessing: z.boolean().describe(\"Whether this status indicates registration is in progress\").optional(),\n}).passthrough().describe(\"Delivery service status configuration\")).describe(\"Delivery service status definitions\").optional(),\n description: z.string().describe(\"Integration description text\").optional(),\n codAvailable: z.boolean().describe(\"Whether cash on delivery is available\").optional(),\n allowPackages: z.boolean().describe(\"Whether package usage is enabled\").optional(),\n requiredFields: z.array(z.string()).describe(\"List of mandatory order fields\").optional(),\n platePrintLimit: z.number().int().describe(\"Maximum number of orders per print request\").optional(),\n allowTrackNumber: z.boolean().describe(\"Whether track numbers different from delivery ID are allowed\").optional(),\n rateDeliveryCost: z.boolean().describe(\"Whether integration calculates delivery costs\").optional(),\n availableCountries: z.array(z.string()).describe(\"List of supported countries (empty = no restrictions)\").optional(),\n deliveryDataFieldList: z.array(z.object({\n code: z.string().describe(\"Field code identifier\"),\n hint: z.string().describe(\"Hint text displayed to user\").optional(),\n type: z.string().describe(\"Field data type (integer, text, autocomplete, checkbox, choice, date)\"),\n label: z.string().describe(\"Field display label\"),\n choices: z.array(z.string()).describe(\"Available options for choice type fields\").optional(),\n visible: z.boolean().describe(\"Whether field is visible in order card\").optional(),\n editable: z.boolean().describe(\"Whether field is editable (false = read-only information)\").optional(),\n multiple: z.boolean().describe(\"Whether multiple selections allowed (for choice type fields)\").optional(),\n required: z.boolean().describe(\"Whether field is mandatory\").optional(),\n affectsCost: z.boolean().describe(\"Whether field influences delivery cost calculation\").optional(),\n autocompleteUrl: z.string().describe(\"URL for autocomplete data source\").optional(),\n}).passthrough().describe(\"Additional field definition for delivery or shipment data\")).describe(\"Additional delivery-specific field definitions\").optional(),\n selfShipmentAvailable: z.boolean().describe(\"Whether terminal self-shipment is supported\").optional(),\n shipmentDataFieldList: z.array(z.object({\n code: z.string().describe(\"Field code identifier\"),\n hint: z.string().describe(\"Hint text displayed to user\").optional(),\n type: z.string().describe(\"Field data type (integer, text, autocomplete, checkbox, choice, date)\"),\n label: z.string().describe(\"Field display label\"),\n choices: z.array(z.string()).describe(\"Available options for choice type fields\").optional(),\n visible: z.boolean().describe(\"Whether field is visible in order card\").optional(),\n editable: z.boolean().describe(\"Whether field is editable (false = read-only information)\").optional(),\n multiple: z.boolean().describe(\"Whether multiple selections allowed (for choice type fields)\").optional(),\n required: z.boolean().describe(\"Whether field is mandatory\").optional(),\n affectsCost: z.boolean().describe(\"Whether field influences delivery cost calculation\").optional(),\n autocompleteUrl: z.string().describe(\"URL for autocomplete data source\").optional(),\n}).passthrough().describe(\"Additional field definition for delivery or shipment data\")).describe(\"Additional shipment-specific field definitions\").optional(),\n deliveryConfigurationUrl: z.string().describe(\"URL for integration setup page\").optional(),\n availableShipmentCountries: z.array(z.string()).describe(\"ISO 3166-1 alpha-2 country codes for shipment origin\").optional(),\n duplicateOrderProductSupported: z.boolean().describe(\"Whether orders with duplicate SKUs are supported\").optional(),\n}).describe(\"Complete delivery service configuration including name, URLs, actions, statuses, and settings\"),\n}).describe(\"Request model for registering or editing a delivery service integration\");\nexport const SimlaComEditDeliveryGenericSettingOutput = z.object({\n code: z.string().describe(\"Integration code assigned by the system (format: generic.{subcode})\").nullable().optional(),\n errors: z.record(z.string(), z.unknown()).describe(\"Detailed validation errors if the operation failed\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the operation was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n}).passthrough().describe(\"Response model after registering or editing delivery service configuration\");\n\nexport const simlaComEditDeliveryGenericSetting = action(\"SIMLA_COM_EDIT_DELIVERY_GENERIC_SETTING\", {\n slug: \"simla_com-edit-delivery-generic-setting\",\n name: \"Edit Delivery Generic Setting\",\n description: \"Tool to register or edit a delivery service integration configuration. Use when you need to create a new delivery service integration or update existing delivery settings including API endpoints, statuses, custom fields, and integration metadata.\",\n input: SimlaComEditDeliveryGenericSettingInput,\n output: SimlaComEditDeliveryGenericSettingOutput,\n});\n"],"mappings":";;AA2FA,MAAa,qCAAqC,OAAO,2CAA2C;CAClG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3FqD,EAAE,OAAO;EAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;EACjG,eAAe,EAAE,OAAO;GACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;GACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;GACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;GACpE,SAAS,EAAE,OAAO;IAClB,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;IAC7F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;IAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;IAClG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;IACjG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;IACpG,YAAY,EAAE,OAAO,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SAAS;EACrH,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACzF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAOhB;AACV,CAAC"}
|
|
@@ -12,17 +12,17 @@ const SimlaComEditFile_FileResultSchema = zod.z.object({
|
|
|
12
12
|
type: zod.z.string().describe("MIME type of the file").nullable().optional(),
|
|
13
13
|
filename: zod.z.string().describe("Name of the file").nullable().optional(),
|
|
14
14
|
createdAt: zod.z.string().describe("Creation datetime in ISO8601 format").nullable().optional()
|
|
15
|
-
}).describe("Represents the updated file data in the response");
|
|
15
|
+
}).passthrough().describe("Represents the updated file data in the response");
|
|
16
16
|
const SimlaComEditFile_ErrorItemSchema = zod.z.object({
|
|
17
17
|
code: zod.z.string().describe("Error code identifier").nullable().optional(),
|
|
18
18
|
message: zod.z.string().describe("Error message description").nullable().optional()
|
|
19
|
-
}).describe("Error item returned by the API");
|
|
19
|
+
}).passthrough().describe("Error item returned by the API");
|
|
20
20
|
const SimlaComEditFileOutput = zod.z.object({
|
|
21
21
|
file: SimlaComEditFile_FileResultSchema.nullable().optional(),
|
|
22
22
|
errors: zod.z.array(SimlaComEditFile_ErrorItemSchema).describe("List of validation errors if any").nullable().optional(),
|
|
23
23
|
success: zod.z.boolean().describe("Indicates whether the update was successful").nullable(),
|
|
24
24
|
errorMsg: zod.z.string().describe("Error message if the update failed").nullable().optional()
|
|
25
|
-
}).describe("Response model after editing a file");
|
|
25
|
+
}).passthrough().describe("Response model after editing a file");
|
|
26
26
|
const simlaComEditFile = require_action.action("SIMLA_COM_EDIT_FILE", {
|
|
27
27
|
slug: "simla_com-edit-file",
|
|
28
28
|
name: "Edit File",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-file.cjs","names":["z","action"],"sources":["../../src/actions/edit-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComEditFileInput = z.object({\n id: z.number().int().describe(\"The ID of the file to edit. Must be a positive integer.\"),\n file: z.object({\n filename: z.string().describe(\"New filename to assign to the file\").optional(),\n}).describe(\"File object with fields to update (e.g., filename)\"),\n}).describe(\"Request model for editing a file by ID\");\nconst SimlaComEditFile_FileResultSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the file\").nullable(),\n file: z.string().describe(\"File URL or path\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n type: z.string().describe(\"MIME type of the file\").nullable().optional(),\n filename: z.string().describe(\"Name of the file\").nullable().optional(),\n createdAt: z.string().describe(\"Creation datetime in ISO8601 format\").nullable().optional(),\n}).describe(\"Represents the updated file data in the response\");\nconst SimlaComEditFile_ErrorItemSchema = z.object({\n code: z.string().describe(\"Error code identifier\").nullable().optional(),\n message: z.string().describe(\"Error message description\").nullable().optional(),\n}).describe(\"Error item returned by the API\");\nexport const SimlaComEditFileOutput = z.object({\n file: SimlaComEditFile_FileResultSchema.nullable().optional(),\n errors: z.array(SimlaComEditFile_ErrorItemSchema).describe(\"List of validation errors if any\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the update was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if the update failed\").nullable().optional(),\n}).describe(\"Response model after editing a file\");\n\nexport const simlaComEditFile = action(\"SIMLA_COM_EDIT_FILE\", {\n slug: \"simla_com-edit-file\",\n name: \"Edit File\",\n description: \"Tool to edit an existing file by ID. Use when you need to update file properties such as filename.\",\n input: SimlaComEditFileInput,\n output: SimlaComEditFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CACvF,MAAMA,IAAAA,EAAE,OAAO,EACf,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,EAC/E,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,kDAAkD;
|
|
1
|
+
{"version":3,"file":"edit-file.cjs","names":["z","action"],"sources":["../../src/actions/edit-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComEditFileInput = z.object({\n id: z.number().int().describe(\"The ID of the file to edit. Must be a positive integer.\"),\n file: z.object({\n filename: z.string().describe(\"New filename to assign to the file\").optional(),\n}).describe(\"File object with fields to update (e.g., filename)\"),\n}).describe(\"Request model for editing a file by ID\");\nconst SimlaComEditFile_FileResultSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the file\").nullable(),\n file: z.string().describe(\"File URL or path\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n type: z.string().describe(\"MIME type of the file\").nullable().optional(),\n filename: z.string().describe(\"Name of the file\").nullable().optional(),\n createdAt: z.string().describe(\"Creation datetime in ISO8601 format\").nullable().optional(),\n}).passthrough().describe(\"Represents the updated file data in the response\");\nconst SimlaComEditFile_ErrorItemSchema = z.object({\n code: z.string().describe(\"Error code identifier\").nullable().optional(),\n message: z.string().describe(\"Error message description\").nullable().optional(),\n}).passthrough().describe(\"Error item returned by the API\");\nexport const SimlaComEditFileOutput = z.object({\n file: SimlaComEditFile_FileResultSchema.nullable().optional(),\n errors: z.array(SimlaComEditFile_ErrorItemSchema).describe(\"List of validation errors if any\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the update was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if the update failed\").nullable().optional(),\n}).passthrough().describe(\"Response model after editing a file\");\n\nexport const simlaComEditFile = action(\"SIMLA_COM_EDIT_FILE\", {\n slug: \"simla_com-edit-file\",\n name: \"Edit File\",\n description: \"Tool to edit an existing file by ID. Use when you need to update file properties such as filename.\",\n input: SimlaComEditFileInput,\n output: SimlaComEditFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CACvF,MAAMA,IAAAA,EAAE,OAAO,EACf,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,EAC/E,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,C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AC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,mBAAmBC,eAAAA,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,14 +15,14 @@ declare const SimlaComEditFileOutput: z.ZodObject<{
|
|
|
15
15
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
19
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
20
20
|
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>>>;
|
|
23
23
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
24
24
|
errorMsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const simlaComEditFile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
id: number;
|
|
28
28
|
file: {
|
|
@@ -15,14 +15,14 @@ declare const SimlaComEditFileOutput: z.ZodObject<{
|
|
|
15
15
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
19
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
20
20
|
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>>>;
|
|
23
23
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
24
24
|
errorMsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const simlaComEditFile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
id: number;
|
|
28
28
|
file: {
|
|
@@ -12,11 +12,11 @@ const SimlaComEditFile_FileResultSchema = z.object({
|
|
|
12
12
|
type: z.string().describe("MIME type of the file").nullable().optional(),
|
|
13
13
|
filename: z.string().describe("Name of the file").nullable().optional(),
|
|
14
14
|
createdAt: z.string().describe("Creation datetime in ISO8601 format").nullable().optional()
|
|
15
|
-
}).describe("Represents the updated file data in the response");
|
|
15
|
+
}).passthrough().describe("Represents the updated file data in the response");
|
|
16
16
|
const SimlaComEditFile_ErrorItemSchema = z.object({
|
|
17
17
|
code: z.string().describe("Error code identifier").nullable().optional(),
|
|
18
18
|
message: z.string().describe("Error message description").nullable().optional()
|
|
19
|
-
}).describe("Error item returned by the API");
|
|
19
|
+
}).passthrough().describe("Error item returned by the API");
|
|
20
20
|
const simlaComEditFile = action("SIMLA_COM_EDIT_FILE", {
|
|
21
21
|
slug: "simla_com-edit-file",
|
|
22
22
|
name: "Edit File",
|
|
@@ -27,7 +27,7 @@ const simlaComEditFile = action("SIMLA_COM_EDIT_FILE", {
|
|
|
27
27
|
errors: z.array(SimlaComEditFile_ErrorItemSchema).describe("List of validation errors if any").nullable().optional(),
|
|
28
28
|
success: z.boolean().describe("Indicates whether the update was successful").nullable(),
|
|
29
29
|
errorMsg: z.string().describe("Error message if the update failed").nullable().optional()
|
|
30
|
-
}).describe("Response model after editing a file")
|
|
30
|
+
}).passthrough().describe("Response model after editing a file")
|
|
31
31
|
});
|
|
32
32
|
//#endregion
|
|
33
33
|
export { simlaComEditFile };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-file.mjs","names":[],"sources":["../../src/actions/edit-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComEditFileInput = z.object({\n id: z.number().int().describe(\"The ID of the file to edit. Must be a positive integer.\"),\n file: z.object({\n filename: z.string().describe(\"New filename to assign to the file\").optional(),\n}).describe(\"File object with fields to update (e.g., filename)\"),\n}).describe(\"Request model for editing a file by ID\");\nconst SimlaComEditFile_FileResultSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the file\").nullable(),\n file: z.string().describe(\"File URL or path\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n type: z.string().describe(\"MIME type of the file\").nullable().optional(),\n filename: z.string().describe(\"Name of the file\").nullable().optional(),\n createdAt: z.string().describe(\"Creation datetime in ISO8601 format\").nullable().optional(),\n}).describe(\"Represents the updated file data in the response\");\nconst SimlaComEditFile_ErrorItemSchema = z.object({\n code: z.string().describe(\"Error code identifier\").nullable().optional(),\n message: z.string().describe(\"Error message description\").nullable().optional(),\n}).describe(\"Error item returned by the API\");\nexport const SimlaComEditFileOutput = z.object({\n file: SimlaComEditFile_FileResultSchema.nullable().optional(),\n errors: z.array(SimlaComEditFile_ErrorItemSchema).describe(\"List of validation errors if any\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the update was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if the update failed\").nullable().optional(),\n}).describe(\"Response model after editing a file\");\n\nexport const simlaComEditFile = action(\"SIMLA_COM_EDIT_FILE\", {\n slug: \"simla_com-edit-file\",\n name: \"Edit File\",\n description: \"Tool to edit an existing file by ID. Use when you need to update file properties such as filename.\",\n input: SimlaComEditFileInput,\n output: SimlaComEditFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CACvF,MAAM,EAAE,OAAO,EACf,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,EAC/E,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,oCAAoC,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,kDAAkD;
|
|
1
|
+
{"version":3,"file":"edit-file.mjs","names":[],"sources":["../../src/actions/edit-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComEditFileInput = z.object({\n id: z.number().int().describe(\"The ID of the file to edit. Must be a positive integer.\"),\n file: z.object({\n filename: z.string().describe(\"New filename to assign to the file\").optional(),\n}).describe(\"File object with fields to update (e.g., filename)\"),\n}).describe(\"Request model for editing a file by ID\");\nconst SimlaComEditFile_FileResultSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the file\").nullable(),\n file: z.string().describe(\"File URL or path\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n type: z.string().describe(\"MIME type of the file\").nullable().optional(),\n filename: z.string().describe(\"Name of the file\").nullable().optional(),\n createdAt: z.string().describe(\"Creation datetime in ISO8601 format\").nullable().optional(),\n}).passthrough().describe(\"Represents the updated file data in the response\");\nconst SimlaComEditFile_ErrorItemSchema = z.object({\n code: z.string().describe(\"Error code identifier\").nullable().optional(),\n message: z.string().describe(\"Error message description\").nullable().optional(),\n}).passthrough().describe(\"Error item returned by the API\");\nexport const SimlaComEditFileOutput = z.object({\n file: SimlaComEditFile_FileResultSchema.nullable().optional(),\n errors: z.array(SimlaComEditFile_ErrorItemSchema).describe(\"List of validation errors if any\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the update was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if the update failed\").nullable().optional(),\n}).passthrough().describe(\"Response model after editing a file\");\n\nexport const simlaComEditFile = action(\"SIMLA_COM_EDIT_FILE\", {\n slug: \"simla_com-edit-file\",\n name: \"Edit File\",\n description: \"Tool to edit an existing file by ID. Use when you need to update file properties such as filename.\",\n input: SimlaComEditFileInput,\n output: SimlaComEditFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CACvF,MAAM,EAAE,OAAO,EACf,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,EAC/E,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,oCAAoC,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,C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request model for editing an integration module");
|
|
14
14
|
const SimlaComEditIntegrationModuleOutput = zod.z.object({
|
|
15
|
-
errors: zod.z.
|
|
15
|
+
errors: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Detailed error information if the operation failed").nullable().optional(),
|
|
16
16
|
success: zod.z.boolean().describe("Indicates whether the operation was successful").nullable(),
|
|
17
17
|
errorMsg: zod.z.string().describe("Error message if the operation failed").nullable().optional()
|
|
18
|
-
}).describe("Response model after editing an integration module");
|
|
18
|
+
}).passthrough().describe("Response model after editing an integration module");
|
|
19
19
|
const simlaComEditIntegrationModule = require_action.action("SIMLA_COM_EDIT_INTEGRATION_MODULE", {
|
|
20
20
|
slug: "simla_com-edit-integration-module",
|
|
21
21
|
name: "Edit Integration Module",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-integration-module.cjs","names":["z","action"],"sources":["../../src/actions/edit-integration-module.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComEditIntegrationModuleInput = z.object({\n code: z.string().describe(\"Code identifier of the integration module to edit\"),\n integrationModule: z.object({\n code: z.string().describe(\"Unique code identifier for the integration module\"),\n logo: z.string().describe(\"Logo URL for the integration module displayed in marketplace\").optional(),\n name: z.string().describe(\"Display name of the integration module\"),\n baseUrl: z.string().describe(\"Base URL endpoint for the integration service\"),\n clientId: z.string().describe(\"Client ID used for user identification and authentication\"),\n}).describe(\"Integration module configuration data to update\"),\n}).describe(\"Request model for editing an integration module\");\nexport const SimlaComEditIntegrationModuleOutput = z.object({\n errors: z.
|
|
1
|
+
{"version":3,"file":"edit-integration-module.cjs","names":["z","action"],"sources":["../../src/actions/edit-integration-module.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComEditIntegrationModuleInput = z.object({\n code: z.string().describe(\"Code identifier of the integration module to edit\"),\n integrationModule: z.object({\n code: z.string().describe(\"Unique code identifier for the integration module\"),\n logo: z.string().describe(\"Logo URL for the integration module displayed in marketplace\").optional(),\n name: z.string().describe(\"Display name of the integration module\"),\n baseUrl: z.string().describe(\"Base URL endpoint for the integration service\"),\n clientId: z.string().describe(\"Client ID used for user identification and authentication\"),\n}).describe(\"Integration module configuration data to update\"),\n}).describe(\"Request model for editing an integration module\");\nexport const SimlaComEditIntegrationModuleOutput = z.object({\n errors: z.record(z.string(), z.unknown()).describe(\"Detailed error information if the operation failed\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the operation was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n}).passthrough().describe(\"Response model after editing an integration module\");\n\nexport const simlaComEditIntegrationModule = action(\"SIMLA_COM_EDIT_INTEGRATION_MODULE\", {\n slug: \"simla_com-edit-integration-module\",\n name: \"Edit Integration Module\",\n description: \"Tool to create or edit an integration module configuration. Use when you need to register or update an integration module with its base URL, client ID, and display settings.\",\n input: SimlaComEditIntegrationModuleInput,\n output: SimlaComEditIntegrationModuleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAC7E,mBAAmBA,IAAAA,EAAE,OAAO;EAC5B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACnG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC3F,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACzF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,10 +12,10 @@ declare const SimlaComEditIntegrationModuleInput: z.ZodObject<{
|
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
declare const SimlaComEditIntegrationModuleOutput: z.ZodObject<{
|
|
15
|
-
errors: z.ZodOptional<z.ZodNullable<z.
|
|
15
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
16
16
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
17
17
|
errorMsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const simlaComEditIntegrationModule: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
code: string;
|
|
21
21
|
integrationModule: {
|
|
@@ -12,10 +12,10 @@ declare const SimlaComEditIntegrationModuleInput: z.ZodObject<{
|
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
declare const SimlaComEditIntegrationModuleOutput: z.ZodObject<{
|
|
15
|
-
errors: z.ZodOptional<z.ZodNullable<z.
|
|
15
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
16
16
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
17
17
|
errorMsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const simlaComEditIntegrationModule: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
code: string;
|
|
21
21
|
integrationModule: {
|
|
@@ -15,10 +15,10 @@ const simlaComEditIntegrationModule = action("SIMLA_COM_EDIT_INTEGRATION_MODULE"
|
|
|
15
15
|
}).describe("Integration module configuration data to update")
|
|
16
16
|
}).describe("Request model for editing an integration module"),
|
|
17
17
|
output: z.object({
|
|
18
|
-
errors: z.
|
|
18
|
+
errors: z.record(z.string(), z.unknown()).describe("Detailed error information if the operation failed").nullable().optional(),
|
|
19
19
|
success: z.boolean().describe("Indicates whether the operation was successful").nullable(),
|
|
20
20
|
errorMsg: z.string().describe("Error message if the operation failed").nullable().optional()
|
|
21
|
-
}).describe("Response model after editing an integration module")
|
|
21
|
+
}).passthrough().describe("Response model after editing an integration module")
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { simlaComEditIntegrationModule };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-integration-module.mjs","names":[],"sources":["../../src/actions/edit-integration-module.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComEditIntegrationModuleInput = z.object({\n code: z.string().describe(\"Code identifier of the integration module to edit\"),\n integrationModule: z.object({\n code: z.string().describe(\"Unique code identifier for the integration module\"),\n logo: z.string().describe(\"Logo URL for the integration module displayed in marketplace\").optional(),\n name: z.string().describe(\"Display name of the integration module\"),\n baseUrl: z.string().describe(\"Base URL endpoint for the integration service\"),\n clientId: z.string().describe(\"Client ID used for user identification and authentication\"),\n}).describe(\"Integration module configuration data to update\"),\n}).describe(\"Request model for editing an integration module\");\nexport const SimlaComEditIntegrationModuleOutput = z.object({\n errors: z.
|
|
1
|
+
{"version":3,"file":"edit-integration-module.mjs","names":[],"sources":["../../src/actions/edit-integration-module.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComEditIntegrationModuleInput = z.object({\n code: z.string().describe(\"Code identifier of the integration module to edit\"),\n integrationModule: z.object({\n code: z.string().describe(\"Unique code identifier for the integration module\"),\n logo: z.string().describe(\"Logo URL for the integration module displayed in marketplace\").optional(),\n name: z.string().describe(\"Display name of the integration module\"),\n baseUrl: z.string().describe(\"Base URL endpoint for the integration service\"),\n clientId: z.string().describe(\"Client ID used for user identification and authentication\"),\n}).describe(\"Integration module configuration data to update\"),\n}).describe(\"Request model for editing an integration module\");\nexport const SimlaComEditIntegrationModuleOutput = z.object({\n errors: z.record(z.string(), z.unknown()).describe(\"Detailed error information if the operation failed\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the operation was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n}).passthrough().describe(\"Response model after editing an integration module\");\n\nexport const simlaComEditIntegrationModule = action(\"SIMLA_COM_EDIT_INTEGRATION_MODULE\", {\n slug: \"simla_com-edit-integration-module\",\n name: \"Edit Integration Module\",\n description: \"Tool to create or edit an integration module configuration. Use when you need to register or update an integration module with its base URL, client ID, and display settings.\",\n input: SimlaComEditIntegrationModuleInput,\n output: SimlaComEditIntegrationModuleOutput,\n});\n"],"mappings":";;AAoBA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAC7E,mBAAmB,EAAE,OAAO;GAC5B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;GAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;GACnG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;GAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;GAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EAC3F,CAAC,CAAC,CAAC,SAAS,iDAAiD;CAC7D,CAAC,CAAC,CAAC,SAAS,iDAWH;CACP,QAXiD,EAAE,OAAO;EAC1D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACzF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const SimlaComEditOrderInput = zod.z.object({
|
|
|
9
9
|
offer: zod.z.object({ id: zod.z.number().int().describe("Offer ID") }).describe("Offer details for the item"),
|
|
10
10
|
quantity: zod.z.number().describe("Quantity of the product, must be greater than 0").optional(),
|
|
11
11
|
productName: zod.z.string().describe("Product name").optional()
|
|
12
|
-
}).describe("Item in the order to update")).describe("List of items to include in the order").optional(),
|
|
12
|
+
}).passthrough().describe("Item in the order to update")).describe("List of items to include in the order").optional(),
|
|
13
13
|
phone: zod.z.string().describe("Customer phone number in international format").optional(),
|
|
14
14
|
status: zod.z.string().describe("Order status").optional(),
|
|
15
15
|
delivery: zod.z.object({ address: zod.z.object({ text: zod.z.string().describe("Full delivery address text").optional() }).describe("Delivery address details").optional() }).describe("Delivery information for the order").optional(),
|
|
@@ -18,19 +18,19 @@ const SimlaComEditOrderInput = zod.z.object({
|
|
|
18
18
|
orderType: zod.z.string().describe("Type of the order").optional(),
|
|
19
19
|
patronymic: zod.z.string().describe("Customer patronymic (middle name)").optional(),
|
|
20
20
|
orderMethod: zod.z.string().describe("Method by which the order was placed").optional(),
|
|
21
|
-
customFields: zod.z.
|
|
21
|
+
customFields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom key-value fields for the order").optional(),
|
|
22
22
|
customerComment: zod.z.string().describe("Comment left by the customer").optional()
|
|
23
23
|
}).describe("Order object with fields to update"),
|
|
24
24
|
externalId: zod.z.string().describe("External ID of the order to edit")
|
|
25
25
|
}).describe("Request model for editing an order by external ID");
|
|
26
|
-
const SimlaComEditOrder_OfferSchema = zod.z.object({ id: zod.z.number().int().describe("Offer ID").nullable() }).describe("Offer details for an order item");
|
|
26
|
+
const SimlaComEditOrder_OfferSchema = zod.z.object({ id: zod.z.number().int().describe("Offer ID").nullable() }).passthrough().describe("Offer details for an order item");
|
|
27
27
|
const SimlaComEditOrder_OrderItemSchema = zod.z.object({
|
|
28
28
|
offer: SimlaComEditOrder_OfferSchema.nullable(),
|
|
29
29
|
quantity: zod.z.number().describe("Quantity of the product, must be greater than 0").nullable().optional(),
|
|
30
30
|
productName: zod.z.string().describe("Product name").nullable().optional()
|
|
31
|
-
}).describe("Item in the order to update");
|
|
32
|
-
const SimlaComEditOrder_AddressSchema = zod.z.object({ text: zod.z.string().describe("Full delivery address text").nullable().optional() }).describe("Delivery address details");
|
|
33
|
-
const SimlaComEditOrder_DeliverySchema = zod.z.object({ address: SimlaComEditOrder_AddressSchema.nullable().optional() }).describe("Delivery information for the order");
|
|
31
|
+
}).passthrough().describe("Item in the order to update");
|
|
32
|
+
const SimlaComEditOrder_AddressSchema = zod.z.object({ text: zod.z.string().describe("Full delivery address text").nullable().optional() }).passthrough().describe("Delivery address details");
|
|
33
|
+
const SimlaComEditOrder_DeliverySchema = zod.z.object({ address: SimlaComEditOrder_AddressSchema.nullable().optional() }).passthrough().describe("Delivery information for the order");
|
|
34
34
|
const SimlaComEditOrder_OrderResultSchema = zod.z.object({
|
|
35
35
|
id: zod.z.number().int().describe("Internal order ID").nullable(),
|
|
36
36
|
email: zod.z.string().describe("Customer email address").nullable().optional(),
|
|
@@ -45,19 +45,19 @@ const SimlaComEditOrder_OrderResultSchema = zod.z.object({
|
|
|
45
45
|
externalId: zod.z.string().describe("External order ID").nullable(),
|
|
46
46
|
patronymic: zod.z.string().describe("Customer patronymic (middle name)").nullable().optional(),
|
|
47
47
|
orderMethod: zod.z.string().describe("Method by which the order was placed").nullable().optional(),
|
|
48
|
-
customFields: zod.z.
|
|
48
|
+
customFields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom key-value fields for the order").nullable().optional(),
|
|
49
49
|
customerComment: zod.z.string().describe("Comment left by the customer").nullable().optional()
|
|
50
|
-
}).describe("Represents the updated order data in the response");
|
|
50
|
+
}).passthrough().describe("Represents the updated order data in the response");
|
|
51
51
|
const SimlaComEditOrder_ErrorItemSchema = zod.z.object({
|
|
52
52
|
code: zod.z.string().describe("Error code identifier").nullable().optional(),
|
|
53
53
|
message: zod.z.string().describe("Error message description").nullable().optional()
|
|
54
|
-
}).describe("Error item returned by the API");
|
|
54
|
+
}).passthrough().describe("Error item returned by the API");
|
|
55
55
|
const SimlaComEditOrderOutput = zod.z.object({
|
|
56
56
|
order: SimlaComEditOrder_OrderResultSchema.nullable().optional(),
|
|
57
57
|
errors: zod.z.array(SimlaComEditOrder_ErrorItemSchema).describe("List of validation errors if any").nullable().optional(),
|
|
58
58
|
success: zod.z.boolean().describe("Indicates whether the update was successful").nullable(),
|
|
59
59
|
errorMsg: zod.z.string().describe("Error message if the update failed").nullable().optional()
|
|
60
|
-
}).describe("Response model after editing an order");
|
|
60
|
+
}).passthrough().describe("Response model after editing an order");
|
|
61
61
|
const simlaComEditOrder = require_action.action("SIMLA_COM_EDIT_ORDER", {
|
|
62
62
|
slug: "simla_com-edit-order",
|
|
63
63
|
name: "Edit Order",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-order.cjs","names":["z","action"],"sources":["../../src/actions/edit-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComEditOrderInput = z.object({\n site: z.string().describe(\"Code of the site where the order belongs\").optional(),\n order: z.object({\n email: z.string().describe(\"Customer email address\").optional(),\n items: z.array(z.object({\n offer: z.object({\n id: z.number().int().describe(\"Offer ID\"),\n}).describe(\"Offer details for the item\"),\n quantity: z.number().describe(\"Quantity of the product, must be greater than 0\").optional(),\n productName: z.string().describe(\"Product name\").optional(),\n}).describe(\"Item in the order to update\")).describe(\"List of items to include in the order\").optional(),\n phone: z.string().describe(\"Customer phone number in international format\").optional(),\n status: z.string().describe(\"Order status\").optional(),\n delivery: z.object({\n address: z.object({\n text: z.string().describe(\"Full delivery address text\").optional(),\n}).describe(\"Delivery address details\").optional(),\n}).describe(\"Delivery information for the order\").optional(),\n lastName: z.string().describe(\"Customer last name\").optional(),\n firstName: z.string().describe(\"Customer first name\").optional(),\n orderType: z.string().describe(\"Type of the order\").optional(),\n patronymic: z.string().describe(\"Customer patronymic (middle name)\").optional(),\n orderMethod: z.string().describe(\"Method by which the order was placed\").optional(),\n customFields: z.
|
|
1
|
+
{"version":3,"file":"edit-order.cjs","names":["z","action"],"sources":["../../src/actions/edit-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComEditOrderInput = z.object({\n site: z.string().describe(\"Code of the site where the order belongs\").optional(),\n order: z.object({\n email: z.string().describe(\"Customer email address\").optional(),\n items: z.array(z.object({\n offer: z.object({\n id: z.number().int().describe(\"Offer ID\"),\n}).describe(\"Offer details for the item\"),\n quantity: z.number().describe(\"Quantity of the product, must be greater than 0\").optional(),\n productName: z.string().describe(\"Product name\").optional(),\n}).passthrough().describe(\"Item in the order to update\")).describe(\"List of items to include in the order\").optional(),\n phone: z.string().describe(\"Customer phone number in international format\").optional(),\n status: z.string().describe(\"Order status\").optional(),\n delivery: z.object({\n address: z.object({\n text: z.string().describe(\"Full delivery address text\").optional(),\n}).describe(\"Delivery address details\").optional(),\n}).describe(\"Delivery information for the order\").optional(),\n lastName: z.string().describe(\"Customer last name\").optional(),\n firstName: z.string().describe(\"Customer first name\").optional(),\n orderType: z.string().describe(\"Type of the order\").optional(),\n patronymic: z.string().describe(\"Customer patronymic (middle name)\").optional(),\n orderMethod: z.string().describe(\"Method by which the order was placed\").optional(),\n customFields: z.record(z.string(), z.unknown()).describe(\"Custom key-value fields for the order\").optional(),\n customerComment: z.string().describe(\"Comment left by the customer\").optional(),\n}).describe(\"Order object with fields to update\"),\n externalId: z.string().describe(\"External ID of the order to edit\"),\n}).describe(\"Request model for editing an order by external ID\");\nconst SimlaComEditOrder_OfferSchema = z.object({\n id: z.number().int().describe(\"Offer ID\").nullable(),\n}).passthrough().describe(\"Offer details for an order item\");\nconst SimlaComEditOrder_OrderItemSchema = z.object({\n offer: SimlaComEditOrder_OfferSchema.nullable(),\n quantity: z.number().describe(\"Quantity of the product, must be greater than 0\").nullable().optional(),\n productName: z.string().describe(\"Product name\").nullable().optional(),\n}).passthrough().describe(\"Item in the order to update\");\nconst SimlaComEditOrder_AddressSchema = z.object({\n text: z.string().describe(\"Full delivery address text\").nullable().optional(),\n}).passthrough().describe(\"Delivery address details\");\nconst SimlaComEditOrder_DeliverySchema = z.object({\n address: SimlaComEditOrder_AddressSchema.nullable().optional(),\n}).passthrough().describe(\"Delivery information for the order\");\nconst SimlaComEditOrder_OrderResultSchema = z.object({\n id: z.number().int().describe(\"Internal order ID\").nullable(),\n email: z.string().describe(\"Customer email address\").nullable().optional(),\n items: z.array(SimlaComEditOrder_OrderItemSchema).describe(\"List of items to include in the order\").nullable().optional(),\n phone: z.string().describe(\"Customer phone number in international format\").nullable().optional(),\n number: z.string().describe(\"Order number\").nullable().optional(),\n status: z.string().describe(\"Order status\").nullable().optional(),\n delivery: SimlaComEditOrder_DeliverySchema.nullable().optional(),\n lastName: z.string().describe(\"Customer last name\").nullable().optional(),\n firstName: z.string().describe(\"Customer first name\").nullable().optional(),\n orderType: z.string().describe(\"Type of the order\").nullable().optional(),\n externalId: z.string().describe(\"External order ID\").nullable(),\n patronymic: z.string().describe(\"Customer patronymic (middle name)\").nullable().optional(),\n orderMethod: z.string().describe(\"Method by which the order was placed\").nullable().optional(),\n customFields: z.record(z.string(), z.unknown()).describe(\"Custom key-value fields for the order\").nullable().optional(),\n customerComment: z.string().describe(\"Comment left by the customer\").nullable().optional(),\n}).passthrough().describe(\"Represents the updated order data in the response\");\nconst SimlaComEditOrder_ErrorItemSchema = z.object({\n code: z.string().describe(\"Error code identifier\").nullable().optional(),\n message: z.string().describe(\"Error message description\").nullable().optional(),\n}).passthrough().describe(\"Error item returned by the API\");\nexport const SimlaComEditOrderOutput = z.object({\n order: SimlaComEditOrder_OrderResultSchema.nullable().optional(),\n errors: z.array(SimlaComEditOrder_ErrorItemSchema).describe(\"List of validation errors if any\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the update was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if the update failed\").nullable().optional(),\n}).passthrough().describe(\"Response model after editing an order\");\n\nexport const simlaComEditOrder = action(\"SIMLA_COM_EDIT_ORDER\", {\n slug: \"simla_com-edit-order\",\n name: \"Edit Order\",\n description: \"Tool to edit an existing order by external ID. Use when you need to update order details by external ID.\",\n input: SimlaComEditOrderInput,\n output: SimlaComEditOrderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO;EAChB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC9D,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;GACxB,OAAOA,IAAAA,EAAE,OAAO,EAChB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAA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