@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
|
@@ -6,7 +6,7 @@ const SimlaComAddCustomerInteractionFavoriteInput = zod.z.object({
|
|
|
6
6
|
favorite: zod.z.object({ offer: zod.z.object({ id: zod.z.number().int().describe("Internal offer/product ID in Simla system") }).describe("Offer identifier specifying which product to add to favorites") }).describe("Favorite object containing the offer information to add"),
|
|
7
7
|
customerId: zod.z.string().describe("Customer identifier (external ID or internal ID depending on usage)")
|
|
8
8
|
}).describe("Request model for adding a product offer to customer's favorites list");
|
|
9
|
-
const SimlaComAddCustomerInteractionFavoriteOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates if the operation was successful").nullable() }).describe("Response model for adding customer interaction favorite");
|
|
9
|
+
const SimlaComAddCustomerInteractionFavoriteOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates if the operation was successful").nullable() }).passthrough().describe("Response model for adding customer interaction favorite");
|
|
10
10
|
const simlaComAddCustomerInteractionFavorite = require_action.action("SIMLA_COM_ADD_CUSTOMER_INTERACTION_FAVORITE", {
|
|
11
11
|
slug: "simla_com-add-customer-interaction-favorite",
|
|
12
12
|
name: "Add Customer Interaction Favorite",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-customer-interaction-favorite.cjs","names":["z","action"],"sources":["../../src/actions/add-customer-interaction-favorite.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComAddCustomerInteractionFavoriteInput = z.object({\n site: z.string().describe(\"Site code identifier where the customer is registered (e.g., 'composio')\"),\n favorite: z.object({\n offer: z.object({\n id: z.number().int().describe(\"Internal offer/product ID in Simla system\"),\n}).describe(\"Offer identifier specifying which product to add to favorites\"),\n}).describe(\"Favorite object containing the offer information to add\"),\n customerId: z.string().describe(\"Customer identifier (external ID or internal ID depending on usage)\"),\n}).describe(\"Request model for adding a product offer to customer's favorites list\");\nexport const SimlaComAddCustomerInteractionFavoriteOutput = z.object({\n success: z.boolean().describe(\"Indicates if the operation was successful\").nullable(),\n}).describe(\"Response model for adding customer interaction favorite\");\n\nexport const simlaComAddCustomerInteractionFavorite = action(\"SIMLA_COM_ADD_CUSTOMER_INTERACTION_FAVORITE\", {\n slug: \"simla_com-add-customer-interaction-favorite\",\n name: \"Add Customer Interaction Favorite\",\n description: \"Tool to add a product offer to a customer's list of favorites. Use when you need to save a specific product to a customer's favorites on a particular site.\",\n input: SimlaComAddCustomerInteractionFavoriteInput,\n output: SimlaComAddCustomerInteractionFavoriteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACpG,UAAUA,IAAAA,EAAE,OAAO,EACnB,OAAOA,IAAAA,EAAE,OAAO,EAChB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,EAC3E,CAAC,CAAC,CAAC,SAAS,+DAA+D,EAC3E,CAAC,CAAC,CAAC,SAAS,yDAAyD;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AACvG,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAa,+CAA+CA,IAAAA,EAAE,OAAO,EACnE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EACtF,CAAC,CAAC,CAAC,SAAS,yDAAyD;
|
|
1
|
+
{"version":3,"file":"add-customer-interaction-favorite.cjs","names":["z","action"],"sources":["../../src/actions/add-customer-interaction-favorite.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComAddCustomerInteractionFavoriteInput = z.object({\n site: z.string().describe(\"Site code identifier where the customer is registered (e.g., 'composio')\"),\n favorite: z.object({\n offer: z.object({\n id: z.number().int().describe(\"Internal offer/product ID in Simla system\"),\n}).describe(\"Offer identifier specifying which product to add to favorites\"),\n}).describe(\"Favorite object containing the offer information to add\"),\n customerId: z.string().describe(\"Customer identifier (external ID or internal ID depending on usage)\"),\n}).describe(\"Request model for adding a product offer to customer's favorites list\");\nexport const SimlaComAddCustomerInteractionFavoriteOutput = z.object({\n success: z.boolean().describe(\"Indicates if the operation was successful\").nullable(),\n}).passthrough().describe(\"Response model for adding customer interaction favorite\");\n\nexport const simlaComAddCustomerInteractionFavorite = action(\"SIMLA_COM_ADD_CUSTOMER_INTERACTION_FAVORITE\", {\n slug: \"simla_com-add-customer-interaction-favorite\",\n name: \"Add Customer Interaction Favorite\",\n description: \"Tool to add a product offer to a customer's list of favorites. Use when you need to save a specific product to a customer's favorites on a particular site.\",\n input: SimlaComAddCustomerInteractionFavoriteInput,\n output: SimlaComAddCustomerInteractionFavoriteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACpG,UAAUA,IAAAA,EAAE,OAAO,EACnB,OAAOA,IAAAA,EAAE,OAAO,EAChB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,EAC3E,CAAC,CAAC,CAAC,SAAS,+DAA+D,EAC3E,CAAC,CAAC,CAAC,SAAS,yDAAyD;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AACvG,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAa,+CAA+CA,IAAAA,EAAE,OAAO,EACnE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,yCAAyCC,eAAAA,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,7 +12,7 @@ declare const SimlaComAddCustomerInteractionFavoriteInput: z.ZodObject<{
|
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
declare const SimlaComAddCustomerInteractionFavoriteOutput: z.ZodObject<{
|
|
14
14
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const simlaComAddCustomerInteractionFavorite: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
site: string;
|
|
18
18
|
favorite: {
|
|
@@ -12,7 +12,7 @@ declare const SimlaComAddCustomerInteractionFavoriteInput: z.ZodObject<{
|
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
declare const SimlaComAddCustomerInteractionFavoriteOutput: z.ZodObject<{
|
|
14
14
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const simlaComAddCustomerInteractionFavorite: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
site: string;
|
|
18
18
|
favorite: {
|
|
@@ -9,7 +9,7 @@ const simlaComAddCustomerInteractionFavorite = action("SIMLA_COM_ADD_CUSTOMER_IN
|
|
|
9
9
|
favorite: z.object({ offer: z.object({ id: z.number().int().describe("Internal offer/product ID in Simla system") }).describe("Offer identifier specifying which product to add to favorites") }).describe("Favorite object containing the offer information to add"),
|
|
10
10
|
customerId: z.string().describe("Customer identifier (external ID or internal ID depending on usage)")
|
|
11
11
|
}).describe("Request model for adding a product offer to customer's favorites list"),
|
|
12
|
-
output: z.object({ success: z.boolean().describe("Indicates if the operation was successful").nullable() }).describe("Response model for adding customer interaction favorite")
|
|
12
|
+
output: z.object({ success: z.boolean().describe("Indicates if the operation was successful").nullable() }).passthrough().describe("Response model for adding customer interaction favorite")
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
15
15
|
export { simlaComAddCustomerInteractionFavorite };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-customer-interaction-favorite.mjs","names":[],"sources":["../../src/actions/add-customer-interaction-favorite.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComAddCustomerInteractionFavoriteInput = z.object({\n site: z.string().describe(\"Site code identifier where the customer is registered (e.g., 'composio')\"),\n favorite: z.object({\n offer: z.object({\n id: z.number().int().describe(\"Internal offer/product ID in Simla system\"),\n}).describe(\"Offer identifier specifying which product to add to favorites\"),\n}).describe(\"Favorite object containing the offer information to add\"),\n customerId: z.string().describe(\"Customer identifier (external ID or internal ID depending on usage)\"),\n}).describe(\"Request model for adding a product offer to customer's favorites list\");\nexport const SimlaComAddCustomerInteractionFavoriteOutput = z.object({\n success: z.boolean().describe(\"Indicates if the operation was successful\").nullable(),\n}).describe(\"Response model for adding customer interaction favorite\");\n\nexport const simlaComAddCustomerInteractionFavorite = action(\"SIMLA_COM_ADD_CUSTOMER_INTERACTION_FAVORITE\", {\n slug: \"simla_com-add-customer-interaction-favorite\",\n name: \"Add Customer Interaction Favorite\",\n description: \"Tool to add a product offer to a customer's list of favorites. Use when you need to save a specific product to a customer's favorites on a particular site.\",\n input: SimlaComAddCustomerInteractionFavoriteInput,\n output: SimlaComAddCustomerInteractionFavoriteOutput,\n});\n"],"mappings":";;AAiBA,MAAa,yCAAyC,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjByD,EAAE,OAAO;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;EACpG,UAAU,EAAE,OAAO,EACnB,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,EAC3E,CAAC,CAAC,CAAC,SAAS,+DAA+D,EAC3E,CAAC,CAAC,CAAC,SAAS,yDAAyD;EACnE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACvG,CAAC,CAAC,CAAC,SAAS,uEASH;CACP,QAT0D,EAAE,OAAO,EACnE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EACtF,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"add-customer-interaction-favorite.mjs","names":[],"sources":["../../src/actions/add-customer-interaction-favorite.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComAddCustomerInteractionFavoriteInput = z.object({\n site: z.string().describe(\"Site code identifier where the customer is registered (e.g., 'composio')\"),\n favorite: z.object({\n offer: z.object({\n id: z.number().int().describe(\"Internal offer/product ID in Simla system\"),\n}).describe(\"Offer identifier specifying which product to add to favorites\"),\n}).describe(\"Favorite object containing the offer information to add\"),\n customerId: z.string().describe(\"Customer identifier (external ID or internal ID depending on usage)\"),\n}).describe(\"Request model for adding a product offer to customer's favorites list\");\nexport const SimlaComAddCustomerInteractionFavoriteOutput = z.object({\n success: z.boolean().describe(\"Indicates if the operation was successful\").nullable(),\n}).passthrough().describe(\"Response model for adding customer interaction favorite\");\n\nexport const simlaComAddCustomerInteractionFavorite = action(\"SIMLA_COM_ADD_CUSTOMER_INTERACTION_FAVORITE\", {\n slug: \"simla_com-add-customer-interaction-favorite\",\n name: \"Add Customer Interaction Favorite\",\n description: \"Tool to add a product offer to a customer's list of favorites. Use when you need to save a specific product to a customer's favorites on a particular site.\",\n input: SimlaComAddCustomerInteractionFavoriteInput,\n output: SimlaComAddCustomerInteractionFavoriteOutput,\n});\n"],"mappings":";;AAiBA,MAAa,yCAAyC,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjByD,EAAE,OAAO;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;EACpG,UAAU,EAAE,OAAO,EACnB,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,EAC3E,CAAC,CAAC,CAAC,SAAS,+DAA+D,EAC3E,CAAC,CAAC,CAAC,SAAS,yDAAyD;EACnE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACvG,CAAC,CAAC,CAAC,SAAS,uEASH;CACP,QAT0D,EAAE,OAAO,EACnE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
|
|
@@ -2,10 +2,10 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/combine-customers-corporate.ts
|
|
4
4
|
const SimlaComCombineCustomersCorporateInput = zod.z.object({
|
|
5
|
-
customers: zod.z.array(zod.z.object({ id: zod.z.number().int().describe("Corporate customer ID to merge (this customer will be deleted after combining)") }).describe("Object containing a customer ID to be merged")).describe("List of corporate customer objects to be merged into the result customer. These customers will be deleted after the combine operation."),
|
|
5
|
+
customers: zod.z.array(zod.z.object({ id: zod.z.number().int().describe("Corporate customer ID to merge (this customer will be deleted after combining)") }).passthrough().describe("Object containing a customer ID to be merged")).describe("List of corporate customer objects to be merged into the result customer. These customers will be deleted after the combine operation."),
|
|
6
6
|
resultCustomer: zod.z.object({ id: zod.z.number().int().describe("Corporate customer ID that will remain after combining (target customer)") }).describe("Corporate customer that will remain after combining. All data from the merged customers will be transferred to this customer.")
|
|
7
7
|
}).describe("Request model for combining corporate customers");
|
|
8
|
-
const SimlaComCombineCustomersCorporateOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates whether the combine operation was initiated successfully. Note: success=true means the operation will be executed asynchronously, not that it has completed.").nullable() }).describe("Response model after combining corporate customers");
|
|
8
|
+
const SimlaComCombineCustomersCorporateOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates whether the combine operation was initiated successfully. Note: success=true means the operation will be executed asynchronously, not that it has completed.").nullable() }).passthrough().describe("Response model after combining corporate customers");
|
|
9
9
|
const simlaComCombineCustomersCorporate = require_action.action("SIMLA_COM_COMBINE_CUSTOMERS_CORPORATE", {
|
|
10
10
|
slug: "simla_com-combine-customers-corporate",
|
|
11
11
|
name: "Combine Corporate Customers",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combine-customers-corporate.cjs","names":["z","action"],"sources":["../../src/actions/combine-customers-corporate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCombineCustomersCorporateInput = z.object({\n customers: z.array(z.object({\n id: z.number().int().describe(\"Corporate customer ID to merge (this customer will be deleted after combining)\"),\n}).describe(\"Object containing a customer ID to be merged\")).describe(\"List of corporate customer objects to be merged into the result customer. These customers will be deleted after the combine operation.\"),\n resultCustomer: z.object({\n id: z.number().int().describe(\"Corporate customer ID that will remain after combining (target customer)\"),\n}).describe(\"Corporate customer that will remain after combining. All data from the merged customers will be transferred to this customer.\"),\n}).describe(\"Request model for combining corporate customers\");\nexport const SimlaComCombineCustomersCorporateOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the combine operation was initiated successfully. Note: success=true means the operation will be executed asynchronously, not that it has completed.\").nullable(),\n}).describe(\"Response model after combining corporate customers\");\n\nexport const simlaComCombineCustomersCorporate = action(\"SIMLA_COM_COMBINE_CUSTOMERS_CORPORATE\", {\n slug: \"simla_com-combine-customers-corporate\",\n name: \"Combine Corporate Customers\",\n description: \"Tool to combine multiple corporate customers into one. The specified customers will be merged into the result customer and then deleted. Use when you need to consolidate multiple corporate customer records. Note: This operation is performed asynchronously - use /api/v5/customers-corporate/history to track the result.\",\n input: SimlaComCombineCustomersCorporateInput,\n output: SimlaComCombineCustomersCorporateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EAC5B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,EAChH,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,CAAC,SAAS,wIAAwI;
|
|
1
|
+
{"version":3,"file":"combine-customers-corporate.cjs","names":["z","action"],"sources":["../../src/actions/combine-customers-corporate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCombineCustomersCorporateInput = z.object({\n customers: z.array(z.object({\n id: z.number().int().describe(\"Corporate customer ID to merge (this customer will be deleted after combining)\"),\n}).passthrough().describe(\"Object containing a customer ID to be merged\")).describe(\"List of corporate customer objects to be merged into the result customer. These customers will be deleted after the combine operation.\"),\n resultCustomer: z.object({\n id: z.number().int().describe(\"Corporate customer ID that will remain after combining (target customer)\"),\n}).describe(\"Corporate customer that will remain after combining. All data from the merged customers will be transferred to this customer.\"),\n}).describe(\"Request model for combining corporate customers\");\nexport const SimlaComCombineCustomersCorporateOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the combine operation was initiated successfully. Note: success=true means the operation will be executed asynchronously, not that it has completed.\").nullable(),\n}).passthrough().describe(\"Response model after combining corporate customers\");\n\nexport const simlaComCombineCustomersCorporate = action(\"SIMLA_COM_COMBINE_CUSTOMERS_CORPORATE\", {\n slug: \"simla_com-combine-customers-corporate\",\n name: \"Combine Corporate Customers\",\n description: \"Tool to combine multiple corporate customers into one. The specified customers will be merged into the result customer and then deleted. Use when you need to consolidate multiple corporate customer records. Note: This operation is performed asynchronously - use /api/v5/customers-corporate/history to track the result.\",\n input: SimlaComCombineCustomersCorporateInput,\n output: SimlaComCombineCustomersCorporateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EAC5B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,EAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,CAAC,SAAS,wIAAwI;CAC1N,gBAAgBA,IAAAA,EAAE,OAAO,EACzB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,EAC1G,CAAC,CAAC,CAAC,SAAS,+HAA+H;AAC3I,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS,EACnN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,16 +4,17 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SimlaComCombineCustomersCorporateInput: z.ZodObject<{
|
|
5
5
|
customers: z.ZodArray<z.ZodObject<{
|
|
6
6
|
id: z.ZodNumber;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$loose>>;
|
|
8
8
|
resultCustomer: z.ZodObject<{
|
|
9
9
|
id: z.ZodNumber;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const SimlaComCombineCustomersCorporateOutput: z.ZodObject<{
|
|
13
13
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const simlaComCombineCustomersCorporate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
customers: {
|
|
17
|
+
[x: string]: unknown;
|
|
17
18
|
id: number;
|
|
18
19
|
}[];
|
|
19
20
|
resultCustomer: {
|
|
@@ -4,16 +4,17 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SimlaComCombineCustomersCorporateInput: z.ZodObject<{
|
|
5
5
|
customers: z.ZodArray<z.ZodObject<{
|
|
6
6
|
id: z.ZodNumber;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$loose>>;
|
|
8
8
|
resultCustomer: z.ZodObject<{
|
|
9
9
|
id: z.ZodNumber;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const SimlaComCombineCustomersCorporateOutput: z.ZodObject<{
|
|
13
13
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const simlaComCombineCustomersCorporate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
customers: {
|
|
17
|
+
[x: string]: unknown;
|
|
17
18
|
id: number;
|
|
18
19
|
}[];
|
|
19
20
|
resultCustomer: {
|
|
@@ -5,10 +5,10 @@ const simlaComCombineCustomersCorporate = action("SIMLA_COM_COMBINE_CUSTOMERS_CO
|
|
|
5
5
|
name: "Combine Corporate Customers",
|
|
6
6
|
description: "Tool to combine multiple corporate customers into one. The specified customers will be merged into the result customer and then deleted. Use when you need to consolidate multiple corporate customer records. Note: This operation is performed asynchronously - use /api/v5/customers-corporate/history to track the result.",
|
|
7
7
|
input: z.object({
|
|
8
|
-
customers: z.array(z.object({ id: z.number().int().describe("Corporate customer ID to merge (this customer will be deleted after combining)") }).describe("Object containing a customer ID to be merged")).describe("List of corporate customer objects to be merged into the result customer. These customers will be deleted after the combine operation."),
|
|
8
|
+
customers: z.array(z.object({ id: z.number().int().describe("Corporate customer ID to merge (this customer will be deleted after combining)") }).passthrough().describe("Object containing a customer ID to be merged")).describe("List of corporate customer objects to be merged into the result customer. These customers will be deleted after the combine operation."),
|
|
9
9
|
resultCustomer: z.object({ id: z.number().int().describe("Corporate customer ID that will remain after combining (target customer)") }).describe("Corporate customer that will remain after combining. All data from the merged customers will be transferred to this customer.")
|
|
10
10
|
}).describe("Request model for combining corporate customers"),
|
|
11
|
-
output: z.object({ success: z.boolean().describe("Indicates whether the combine operation was initiated successfully. Note: success=true means the operation will be executed asynchronously, not that it has completed.").nullable() }).describe("Response model after combining corporate customers")
|
|
11
|
+
output: z.object({ success: z.boolean().describe("Indicates whether the combine operation was initiated successfully. Note: success=true means the operation will be executed asynchronously, not that it has completed.").nullable() }).passthrough().describe("Response model after combining corporate customers")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { simlaComCombineCustomersCorporate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combine-customers-corporate.mjs","names":[],"sources":["../../src/actions/combine-customers-corporate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCombineCustomersCorporateInput = z.object({\n customers: z.array(z.object({\n id: z.number().int().describe(\"Corporate customer ID to merge (this customer will be deleted after combining)\"),\n}).describe(\"Object containing a customer ID to be merged\")).describe(\"List of corporate customer objects to be merged into the result customer. These customers will be deleted after the combine operation.\"),\n resultCustomer: z.object({\n id: z.number().int().describe(\"Corporate customer ID that will remain after combining (target customer)\"),\n}).describe(\"Corporate customer that will remain after combining. All data from the merged customers will be transferred to this customer.\"),\n}).describe(\"Request model for combining corporate customers\");\nexport const SimlaComCombineCustomersCorporateOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the combine operation was initiated successfully. Note: success=true means the operation will be executed asynchronously, not that it has completed.\").nullable(),\n}).describe(\"Response model after combining corporate customers\");\n\nexport const simlaComCombineCustomersCorporate = action(\"SIMLA_COM_COMBINE_CUSTOMERS_CORPORATE\", {\n slug: \"simla_com-combine-customers-corporate\",\n name: \"Combine Corporate Customers\",\n description: \"Tool to combine multiple corporate customers into one. The specified customers will be merged into the result customer and then deleted. Use when you need to consolidate multiple corporate customer records. Note: This operation is performed asynchronously - use /api/v5/customers-corporate/history to track the result.\",\n input: SimlaComCombineCustomersCorporateInput,\n output: SimlaComCombineCustomersCorporateOutput,\n});\n"],"mappings":";;AAgBA,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBoD,EAAE,OAAO;EAC7D,WAAW,EAAE,MAAM,EAAE,OAAO,EAC5B,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,EAChH,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,CAAC,SAAS,wIAAwI;
|
|
1
|
+
{"version":3,"file":"combine-customers-corporate.mjs","names":[],"sources":["../../src/actions/combine-customers-corporate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCombineCustomersCorporateInput = z.object({\n customers: z.array(z.object({\n id: z.number().int().describe(\"Corporate customer ID to merge (this customer will be deleted after combining)\"),\n}).passthrough().describe(\"Object containing a customer ID to be merged\")).describe(\"List of corporate customer objects to be merged into the result customer. These customers will be deleted after the combine operation.\"),\n resultCustomer: z.object({\n id: z.number().int().describe(\"Corporate customer ID that will remain after combining (target customer)\"),\n}).describe(\"Corporate customer that will remain after combining. All data from the merged customers will be transferred to this customer.\"),\n}).describe(\"Request model for combining corporate customers\");\nexport const SimlaComCombineCustomersCorporateOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the combine operation was initiated successfully. Note: success=true means the operation will be executed asynchronously, not that it has completed.\").nullable(),\n}).passthrough().describe(\"Response model after combining corporate customers\");\n\nexport const simlaComCombineCustomersCorporate = action(\"SIMLA_COM_COMBINE_CUSTOMERS_CORPORATE\", {\n slug: \"simla_com-combine-customers-corporate\",\n name: \"Combine Corporate Customers\",\n description: \"Tool to combine multiple corporate customers into one. The specified customers will be merged into the result customer and then deleted. Use when you need to consolidate multiple corporate customer records. Note: This operation is performed asynchronously - use /api/v5/customers-corporate/history to track the result.\",\n input: SimlaComCombineCustomersCorporateInput,\n output: SimlaComCombineCustomersCorporateOutput,\n});\n"],"mappings":";;AAgBA,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBoD,EAAE,OAAO;EAC7D,WAAW,EAAE,MAAM,EAAE,OAAO,EAC5B,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,EAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,CAAC,SAAS,wIAAwI;EAC1N,gBAAgB,EAAE,OAAO,EACzB,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,EAC1G,CAAC,CAAC,CAAC,SAAS,+HAA+H;CAC3I,CAAC,CAAC,CAAC,SAAS,iDASH;CACP,QATqD,EAAE,OAAO,EAC9D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS,EACnN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -2,10 +2,10 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/combine-customers.ts
|
|
4
4
|
const SimlaComCombineCustomersInput = zod.z.object({
|
|
5
|
-
customers: zod.z.array(zod.z.object({ id: zod.z.number().int().describe("Customer ID to merge (this customer will be deleted after combining)") }).describe("Object containing a customer ID to be merged")).describe("List of customer objects to be merged into the result customer (up to 50 customers). These customers will be deleted after the combine operation."),
|
|
5
|
+
customers: zod.z.array(zod.z.object({ id: zod.z.number().int().describe("Customer ID to merge (this customer will be deleted after combining)") }).passthrough().describe("Object containing a customer ID to be merged")).describe("List of customer objects to be merged into the result customer (up to 50 customers). These customers will be deleted after the combine operation."),
|
|
6
6
|
resultCustomer: zod.z.object({ id: zod.z.number().int().describe("Customer ID that will remain after combining (target customer)") }).describe("Customer that will remain after combining. All data from the merged customers will be transferred to this customer.")
|
|
7
7
|
}).describe("Request model for combining customers");
|
|
8
|
-
const SimlaComCombineCustomersOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates whether the combine operation was initiated successfully. Note: success=true means the operation will be executed asynchronously, not that it has completed.").nullable() }).describe("Response model after combining customers");
|
|
8
|
+
const SimlaComCombineCustomersOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates whether the combine operation was initiated successfully. Note: success=true means the operation will be executed asynchronously, not that it has completed.").nullable() }).passthrough().describe("Response model after combining customers");
|
|
9
9
|
const simlaComCombineCustomers = require_action.action("SIMLA_COM_COMBINE_CUSTOMERS", {
|
|
10
10
|
slug: "simla_com-combine-customers",
|
|
11
11
|
name: "Combine Customers",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combine-customers.cjs","names":["z","action"],"sources":["../../src/actions/combine-customers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCombineCustomersInput = z.object({\n customers: z.array(z.object({\n id: z.number().int().describe(\"Customer ID to merge (this customer will be deleted after combining)\"),\n}).describe(\"Object containing a customer ID to be merged\")).describe(\"List of customer objects to be merged into the result customer (up to 50 customers). These customers will be deleted after the combine operation.\"),\n resultCustomer: z.object({\n id: z.number().int().describe(\"Customer ID that will remain after combining (target customer)\"),\n}).describe(\"Customer that will remain after combining. All data from the merged customers will be transferred to this customer.\"),\n}).describe(\"Request model for combining customers\");\nexport const SimlaComCombineCustomersOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the combine operation was initiated successfully. Note: success=true means the operation will be executed asynchronously, not that it has completed.\").nullable(),\n}).describe(\"Response model after combining customers\");\n\nexport const simlaComCombineCustomers = action(\"SIMLA_COM_COMBINE_CUSTOMERS\", {\n slug: \"simla_com-combine-customers\",\n name: \"Combine Customers\",\n description: \"Tool to combine multiple customers into one. The specified customers will be merged into the result customer and then deleted. Use when you need to consolidate multiple customer records. Note: This operation is performed asynchronously - use /api/v5/customers/history to track the result.\",\n input: SimlaComCombineCustomersInput,\n output: SimlaComCombineCustomersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EAC5B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,EACtG,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,CAAC,SAAS,mJAAmJ;
|
|
1
|
+
{"version":3,"file":"combine-customers.cjs","names":["z","action"],"sources":["../../src/actions/combine-customers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCombineCustomersInput = z.object({\n customers: z.array(z.object({\n id: z.number().int().describe(\"Customer ID to merge (this customer will be deleted after combining)\"),\n}).passthrough().describe(\"Object containing a customer ID to be merged\")).describe(\"List of customer objects to be merged into the result customer (up to 50 customers). These customers will be deleted after the combine operation.\"),\n resultCustomer: z.object({\n id: z.number().int().describe(\"Customer ID that will remain after combining (target customer)\"),\n}).describe(\"Customer that will remain after combining. All data from the merged customers will be transferred to this customer.\"),\n}).describe(\"Request model for combining customers\");\nexport const SimlaComCombineCustomersOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the combine operation was initiated successfully. Note: success=true means the operation will be executed asynchronously, not that it has completed.\").nullable(),\n}).passthrough().describe(\"Response model after combining customers\");\n\nexport const simlaComCombineCustomers = action(\"SIMLA_COM_COMBINE_CUSTOMERS\", {\n slug: \"simla_com-combine-customers\",\n name: \"Combine Customers\",\n description: \"Tool to combine multiple customers into one. The specified customers will be merged into the result customer and then deleted. Use when you need to consolidate multiple customer records. Note: This operation is performed asynchronously - use /api/v5/customers/history to track the result.\",\n input: SimlaComCombineCustomersInput,\n output: SimlaComCombineCustomersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EAC5B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,CAAC,SAAS,mJAAmJ;CACrO,gBAAgBA,IAAAA,EAAE,OAAO,EACzB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,EAChG,CAAC,CAAC,CAAC,SAAS,qHAAqH;AACjI,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS,EACnN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,16 +4,17 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SimlaComCombineCustomersInput: z.ZodObject<{
|
|
5
5
|
customers: z.ZodArray<z.ZodObject<{
|
|
6
6
|
id: z.ZodNumber;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$loose>>;
|
|
8
8
|
resultCustomer: z.ZodObject<{
|
|
9
9
|
id: z.ZodNumber;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const SimlaComCombineCustomersOutput: z.ZodObject<{
|
|
13
13
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const simlaComCombineCustomers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
customers: {
|
|
17
|
+
[x: string]: unknown;
|
|
17
18
|
id: number;
|
|
18
19
|
}[];
|
|
19
20
|
resultCustomer: {
|
|
@@ -4,16 +4,17 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SimlaComCombineCustomersInput: z.ZodObject<{
|
|
5
5
|
customers: z.ZodArray<z.ZodObject<{
|
|
6
6
|
id: z.ZodNumber;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$loose>>;
|
|
8
8
|
resultCustomer: z.ZodObject<{
|
|
9
9
|
id: z.ZodNumber;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const SimlaComCombineCustomersOutput: z.ZodObject<{
|
|
13
13
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const simlaComCombineCustomers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
customers: {
|
|
17
|
+
[x: string]: unknown;
|
|
17
18
|
id: number;
|
|
18
19
|
}[];
|
|
19
20
|
resultCustomer: {
|
|
@@ -5,10 +5,10 @@ const simlaComCombineCustomers = action("SIMLA_COM_COMBINE_CUSTOMERS", {
|
|
|
5
5
|
name: "Combine Customers",
|
|
6
6
|
description: "Tool to combine multiple customers into one. The specified customers will be merged into the result customer and then deleted. Use when you need to consolidate multiple customer records. Note: This operation is performed asynchronously - use /api/v5/customers/history to track the result.",
|
|
7
7
|
input: z.object({
|
|
8
|
-
customers: z.array(z.object({ id: z.number().int().describe("Customer ID to merge (this customer will be deleted after combining)") }).describe("Object containing a customer ID to be merged")).describe("List of customer objects to be merged into the result customer (up to 50 customers). These customers will be deleted after the combine operation."),
|
|
8
|
+
customers: z.array(z.object({ id: z.number().int().describe("Customer ID to merge (this customer will be deleted after combining)") }).passthrough().describe("Object containing a customer ID to be merged")).describe("List of customer objects to be merged into the result customer (up to 50 customers). These customers will be deleted after the combine operation."),
|
|
9
9
|
resultCustomer: z.object({ id: z.number().int().describe("Customer ID that will remain after combining (target customer)") }).describe("Customer that will remain after combining. All data from the merged customers will be transferred to this customer.")
|
|
10
10
|
}).describe("Request model for combining customers"),
|
|
11
|
-
output: z.object({ success: z.boolean().describe("Indicates whether the combine operation was initiated successfully. Note: success=true means the operation will be executed asynchronously, not that it has completed.").nullable() }).describe("Response model after combining customers")
|
|
11
|
+
output: z.object({ success: z.boolean().describe("Indicates whether the combine operation was initiated successfully. Note: success=true means the operation will be executed asynchronously, not that it has completed.").nullable() }).passthrough().describe("Response model after combining customers")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { simlaComCombineCustomers };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combine-customers.mjs","names":[],"sources":["../../src/actions/combine-customers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCombineCustomersInput = z.object({\n customers: z.array(z.object({\n id: z.number().int().describe(\"Customer ID to merge (this customer will be deleted after combining)\"),\n}).describe(\"Object containing a customer ID to be merged\")).describe(\"List of customer objects to be merged into the result customer (up to 50 customers). These customers will be deleted after the combine operation.\"),\n resultCustomer: z.object({\n id: z.number().int().describe(\"Customer ID that will remain after combining (target customer)\"),\n}).describe(\"Customer that will remain after combining. All data from the merged customers will be transferred to this customer.\"),\n}).describe(\"Request model for combining customers\");\nexport const SimlaComCombineCustomersOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the combine operation was initiated successfully. Note: success=true means the operation will be executed asynchronously, not that it has completed.\").nullable(),\n}).describe(\"Response model after combining customers\");\n\nexport const simlaComCombineCustomers = action(\"SIMLA_COM_COMBINE_CUSTOMERS\", {\n slug: \"simla_com-combine-customers\",\n name: \"Combine Customers\",\n description: \"Tool to combine multiple customers into one. The specified customers will be merged into the result customer and then deleted. Use when you need to consolidate multiple customer records. Note: This operation is performed asynchronously - use /api/v5/customers/history to track the result.\",\n input: SimlaComCombineCustomersInput,\n output: SimlaComCombineCustomersOutput,\n});\n"],"mappings":";;AAgBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB2C,EAAE,OAAO;EACpD,WAAW,EAAE,MAAM,EAAE,OAAO,EAC5B,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,EACtG,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,CAAC,SAAS,mJAAmJ;
|
|
1
|
+
{"version":3,"file":"combine-customers.mjs","names":[],"sources":["../../src/actions/combine-customers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCombineCustomersInput = z.object({\n customers: z.array(z.object({\n id: z.number().int().describe(\"Customer ID to merge (this customer will be deleted after combining)\"),\n}).passthrough().describe(\"Object containing a customer ID to be merged\")).describe(\"List of customer objects to be merged into the result customer (up to 50 customers). These customers will be deleted after the combine operation.\"),\n resultCustomer: z.object({\n id: z.number().int().describe(\"Customer ID that will remain after combining (target customer)\"),\n}).describe(\"Customer that will remain after combining. All data from the merged customers will be transferred to this customer.\"),\n}).describe(\"Request model for combining customers\");\nexport const SimlaComCombineCustomersOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the combine operation was initiated successfully. Note: success=true means the operation will be executed asynchronously, not that it has completed.\").nullable(),\n}).passthrough().describe(\"Response model after combining customers\");\n\nexport const simlaComCombineCustomers = action(\"SIMLA_COM_COMBINE_CUSTOMERS\", {\n slug: \"simla_com-combine-customers\",\n name: \"Combine Customers\",\n description: \"Tool to combine multiple customers into one. The specified customers will be merged into the result customer and then deleted. Use when you need to consolidate multiple customer records. Note: This operation is performed asynchronously - use /api/v5/customers/history to track the result.\",\n input: SimlaComCombineCustomersInput,\n output: SimlaComCombineCustomersOutput,\n});\n"],"mappings":";;AAgBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB2C,EAAE,OAAO;EACpD,WAAW,EAAE,MAAM,EAAE,OAAO,EAC5B,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,CAAC,SAAS,mJAAmJ;EACrO,gBAAgB,EAAE,OAAO,EACzB,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,EAChG,CAAC,CAAC,CAAC,SAAS,qHAAqH;CACjI,CAAC,CAAC,CAAC,SAAS,uCASH;CACP,QAT4C,EAAE,OAAO,EACrD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS,EACnN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
|
|
@@ -7,10 +7,10 @@ const SimlaComCombineOrdersInput = zod.z.object({
|
|
|
7
7
|
resultOrder: zod.z.object({ id: zod.z.number().int().describe("Internal order ID in Simla") }).describe("Target order that will receive the combined data (destination order)")
|
|
8
8
|
}).describe("Request model for combining orders");
|
|
9
9
|
const SimlaComCombineOrdersOutput = zod.z.object({
|
|
10
|
-
errors: zod.z.
|
|
10
|
+
errors: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Detailed error information if the operation failed").nullable().optional(),
|
|
11
11
|
success: zod.z.boolean().describe("Indicates whether the combine operation was successful").nullable(),
|
|
12
12
|
errorMsg: zod.z.string().describe("Error message if the operation failed").nullable().optional()
|
|
13
|
-
}).describe("Response model after combining orders");
|
|
13
|
+
}).passthrough().describe("Response model after combining orders");
|
|
14
14
|
const simlaComCombineOrders = require_action.action("SIMLA_COM_COMBINE_ORDERS", {
|
|
15
15
|
slug: "simla_com-combine-orders",
|
|
16
16
|
name: "Combine Orders",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combine-orders.cjs","names":["z","action"],"sources":["../../src/actions/combine-orders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCombineOrdersInput = z.object({\n order: z.object({\n id: z.number().int().describe(\"Internal order ID in Simla\"),\n}).describe(\"Source order to be combined (this order will be merged into the result order)\"),\n technique: z.string().describe(\"Technique for combining orders. Use 'summ' to sum up the orders' data.\"),\n resultOrder: z.object({\n id: z.number().int().describe(\"Internal order ID in Simla\"),\n}).describe(\"Target order that will receive the combined data (destination order)\"),\n}).describe(\"Request model for combining orders\");\nexport const SimlaComCombineOrdersOutput = z.object({\n errors: z.
|
|
1
|
+
{"version":3,"file":"combine-orders.cjs","names":["z","action"],"sources":["../../src/actions/combine-orders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCombineOrdersInput = z.object({\n order: z.object({\n id: z.number().int().describe(\"Internal order ID in Simla\"),\n}).describe(\"Source order to be combined (this order will be merged into the result order)\"),\n technique: z.string().describe(\"Technique for combining orders. Use 'summ' to sum up the orders' data.\"),\n resultOrder: z.object({\n id: z.number().int().describe(\"Internal order ID in Simla\"),\n}).describe(\"Target order that will receive the combined data (destination order)\"),\n}).describe(\"Request model for combining orders\");\nexport const SimlaComCombineOrdersOutput = 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 combine operation was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n}).passthrough().describe(\"Response model after combining orders\");\n\nexport const simlaComCombineOrders = action(\"SIMLA_COM_COMBINE_ORDERS\", {\n slug: \"simla_com-combine-orders\",\n name: \"Combine Orders\",\n description: \"Tool to combine two orders into one. The source order will be merged into the result order using the specified technique. Use when you need to consolidate order data from one order into another.\",\n input: SimlaComCombineOrdersInput,\n output: SimlaComCombineOrdersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,OAAOA,IAAAA,EAAE,OAAO,EAChB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,EAC5D,CAAC,CAAC,CAAC,SAAS,+EAA+E;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACvG,aAAaA,IAAAA,EAAE,OAAO,EACtB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,EAC5D,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,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,wDAAwD,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,10 +11,10 @@ declare const SimlaComCombineOrdersInput: z.ZodObject<{
|
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
declare const SimlaComCombineOrdersOutput: z.ZodObject<{
|
|
14
|
-
errors: z.ZodOptional<z.ZodNullable<z.
|
|
14
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
15
15
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
16
16
|
errorMsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const simlaComCombineOrders: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
order: {
|
|
20
20
|
id: number;
|
|
@@ -11,10 +11,10 @@ declare const SimlaComCombineOrdersInput: z.ZodObject<{
|
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
declare const SimlaComCombineOrdersOutput: z.ZodObject<{
|
|
14
|
-
errors: z.ZodOptional<z.ZodNullable<z.
|
|
14
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
15
15
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
16
16
|
errorMsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const simlaComCombineOrders: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
order: {
|
|
20
20
|
id: number;
|
|
@@ -10,10 +10,10 @@ const simlaComCombineOrders = action("SIMLA_COM_COMBINE_ORDERS", {
|
|
|
10
10
|
resultOrder: z.object({ id: z.number().int().describe("Internal order ID in Simla") }).describe("Target order that will receive the combined data (destination order)")
|
|
11
11
|
}).describe("Request model for combining orders"),
|
|
12
12
|
output: z.object({
|
|
13
|
-
errors: z.
|
|
13
|
+
errors: z.record(z.string(), z.unknown()).describe("Detailed error information if the operation failed").nullable().optional(),
|
|
14
14
|
success: z.boolean().describe("Indicates whether the combine operation was successful").nullable(),
|
|
15
15
|
errorMsg: z.string().describe("Error message if the operation failed").nullable().optional()
|
|
16
|
-
}).describe("Response model after combining orders")
|
|
16
|
+
}).passthrough().describe("Response model after combining orders")
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { simlaComCombineOrders };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combine-orders.mjs","names":[],"sources":["../../src/actions/combine-orders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCombineOrdersInput = z.object({\n order: z.object({\n id: z.number().int().describe(\"Internal order ID in Simla\"),\n}).describe(\"Source order to be combined (this order will be merged into the result order)\"),\n technique: z.string().describe(\"Technique for combining orders. Use 'summ' to sum up the orders' data.\"),\n resultOrder: z.object({\n id: z.number().int().describe(\"Internal order ID in Simla\"),\n}).describe(\"Target order that will receive the combined data (destination order)\"),\n}).describe(\"Request model for combining orders\");\nexport const SimlaComCombineOrdersOutput = z.object({\n errors: z.
|
|
1
|
+
{"version":3,"file":"combine-orders.mjs","names":[],"sources":["../../src/actions/combine-orders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCombineOrdersInput = z.object({\n order: z.object({\n id: z.number().int().describe(\"Internal order ID in Simla\"),\n}).describe(\"Source order to be combined (this order will be merged into the result order)\"),\n technique: z.string().describe(\"Technique for combining orders. Use 'summ' to sum up the orders' data.\"),\n resultOrder: z.object({\n id: z.number().int().describe(\"Internal order ID in Simla\"),\n}).describe(\"Target order that will receive the combined data (destination order)\"),\n}).describe(\"Request model for combining orders\");\nexport const SimlaComCombineOrdersOutput = 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 combine operation was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n}).passthrough().describe(\"Response model after combining orders\");\n\nexport const simlaComCombineOrders = action(\"SIMLA_COM_COMBINE_ORDERS\", {\n slug: \"simla_com-combine-orders\",\n name: \"Combine Orders\",\n description: \"Tool to combine two orders into one. The source order will be merged into the result order using the specified technique. Use when you need to consolidate order data from one order into another.\",\n input: SimlaComCombineOrdersInput,\n output: SimlaComCombineOrdersOutput,\n});\n"],"mappings":";;AAmBA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBwC,EAAE,OAAO;EACjD,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,EAC5D,CAAC,CAAC,CAAC,SAAS,+EAA+E;EACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;EACvG,aAAa,EAAE,OAAO,EACtB,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,EAC5D,CAAC,CAAC,CAAC,SAAS,sEAAsE;CAClF,CAAC,CAAC,CAAC,SAAS,oCAWH;CACP,QAXyC,EAAE,OAAO;EAClD,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,wDAAwD,CAAC,CAAC,SAAS;EACjG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
|
|
@@ -24,10 +24,10 @@ const SimlaComCreateCost_CostDetailSchema = zod.z.object({
|
|
|
24
24
|
const SimlaComCreateCostOutput = zod.z.object({
|
|
25
25
|
id: zod.z.number().int().describe("Unique ID of the newly created cost record").nullable().optional(),
|
|
26
26
|
cost: SimlaComCreateCost_CostDetailSchema.nullable().optional(),
|
|
27
|
-
errors: zod.z.
|
|
27
|
+
errors: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Detailed field errors if validation failed").nullable().optional(),
|
|
28
28
|
success: zod.z.boolean().describe("Indicates if the cost creation was successful").nullable(),
|
|
29
29
|
errorMsg: zod.z.string().describe("Error message if the operation failed").nullable().optional()
|
|
30
|
-
}).describe("Response model for CreateCost action");
|
|
30
|
+
}).passthrough().describe("Response model for CreateCost action");
|
|
31
31
|
const simlaComCreateCost = require_action.action("SIMLA_COM_CREATE_COST", {
|
|
32
32
|
slug: "simla_com-create-cost",
|
|
33
33
|
name: "Create Cost",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-cost.cjs","names":["z","action"],"sources":["../../src/actions/create-cost.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCreateCostInput = z.object({\n cost: z.object({\n summ: z.number().describe(\"Cost amount in base currency. Must be greater than 0 (supports decimals like 100.50).\"),\n sites: z.array(z.string()).describe(\"Array of store symbolic codes for which this cost applies (e.g., ['store-1', 'store-2'])\").optional(),\n dateTo: z.string().describe(\"End date of the cost period in YYYY-MM-DD format (e.g., '2026-02-16')\"),\n userId: z.number().int().describe(\"ID of the user associated with this expense. If omitted, defaults to the API user.\").optional(),\n comment: z.string().describe(\"Optional comment or note about the cost (max 1000 characters)\").optional(),\n costItem: z.string().describe(\"Cost item symbolic code (e.g., 'office-expenses', 'marketing', 'utilities'). Must match an existing cost item in the system.\"),\n dateFrom: z.string().describe(\"Start date of the cost period in YYYY-MM-DD format (e.g., '2026-02-16')\"),\n}).describe(\"Cost details including period dates, amount, cost item, and optional comment\"),\n}).describe(\"Request model for CreateCost action\");\nconst SimlaComCreateCost_CostDetailSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the created cost record\").nullable().optional(),\n summ: z.number().describe(\"Cost amount in base currency\").nullable().optional(),\n sites: z.array(z.string()).describe(\"List of store codes associated with this cost\").nullable().optional(),\n dateTo: z.string().describe(\"End date of the cost period in YYYY-MM-DD format\").nullable().optional(),\n userId: z.number().int().describe(\"ID of the user who created the cost record\").nullable().optional(),\n comment: z.string().describe(\"Comment or note about the cost\").nullable().optional(),\n costItem: z.string().describe(\"Cost item code/identifier\").nullable().optional(),\n dateFrom: z.string().describe(\"Start date of the cost period in YYYY-MM-DD format\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp in ISO8601 format\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about the created cost record\");\nexport const SimlaComCreateCostOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the newly created cost record\").nullable().optional(),\n cost: SimlaComCreateCost_CostDetailSchema.nullable().optional(),\n errors: z.
|
|
1
|
+
{"version":3,"file":"create-cost.cjs","names":["z","action"],"sources":["../../src/actions/create-cost.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCreateCostInput = z.object({\n cost: z.object({\n summ: z.number().describe(\"Cost amount in base currency. Must be greater than 0 (supports decimals like 100.50).\"),\n sites: z.array(z.string()).describe(\"Array of store symbolic codes for which this cost applies (e.g., ['store-1', 'store-2'])\").optional(),\n dateTo: z.string().describe(\"End date of the cost period in YYYY-MM-DD format (e.g., '2026-02-16')\"),\n userId: z.number().int().describe(\"ID of the user associated with this expense. If omitted, defaults to the API user.\").optional(),\n comment: z.string().describe(\"Optional comment or note about the cost (max 1000 characters)\").optional(),\n costItem: z.string().describe(\"Cost item symbolic code (e.g., 'office-expenses', 'marketing', 'utilities'). Must match an existing cost item in the system.\"),\n dateFrom: z.string().describe(\"Start date of the cost period in YYYY-MM-DD format (e.g., '2026-02-16')\"),\n}).describe(\"Cost details including period dates, amount, cost item, and optional comment\"),\n}).describe(\"Request model for CreateCost action\");\nconst SimlaComCreateCost_CostDetailSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the created cost record\").nullable().optional(),\n summ: z.number().describe(\"Cost amount in base currency\").nullable().optional(),\n sites: z.array(z.string()).describe(\"List of store codes associated with this cost\").nullable().optional(),\n dateTo: z.string().describe(\"End date of the cost period in YYYY-MM-DD format\").nullable().optional(),\n userId: z.number().int().describe(\"ID of the user who created the cost record\").nullable().optional(),\n comment: z.string().describe(\"Comment or note about the cost\").nullable().optional(),\n costItem: z.string().describe(\"Cost item code/identifier\").nullable().optional(),\n dateFrom: z.string().describe(\"Start date of the cost period in YYYY-MM-DD format\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp in ISO8601 format\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about the created cost record\");\nexport const SimlaComCreateCostOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the newly created cost record\").nullable().optional(),\n cost: SimlaComCreateCost_CostDetailSchema.nullable().optional(),\n errors: z.record(z.string(), z.unknown()).describe(\"Detailed field errors if validation failed\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the cost creation was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n}).passthrough().describe(\"Response model for CreateCost action\");\n\nexport const simlaComCreateCost = action(\"SIMLA_COM_CREATE_COST\", {\n slug: \"simla_com-create-cost\",\n name: \"Create Cost\",\n description: \"Create a new cost record in Simla CRM. Use this to track business expenses with period dates, amounts, and cost categories. Required fields: dateFrom (start date), dateTo (end date), summ (amount), and costItem (category code). The cost amount must be positive and costItem must match an existing cost item in the system. Optionally associate the cost with specific stores or users.\",\n input: SimlaComCreateCostInput,\n output: SimlaComCreateCostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAMA,IAAAA,EAAE,OAAO;CACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;CACjH,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACzI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACnG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACjI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACvG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;CAC5J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;AACzG,CAAC,CAAC,CAAC,SAAS,8EAA8E,EAC1F,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAM,oCAAoC,SAAS,CAAC,CAAC,SAAS;CAC9D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -25,10 +25,10 @@ declare const SimlaComCreateCostOutput: z.ZodObject<{
|
|
|
25
25
|
dateFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
}, z.core.$loose>>>;
|
|
28
|
-
errors: z.ZodOptional<z.ZodNullable<z.
|
|
28
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
29
29
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
30
30
|
errorMsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>;
|
|
32
32
|
declare const simlaComCreateCost: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
33
|
cost: {
|
|
34
34
|
summ: number;
|
|
@@ -25,10 +25,10 @@ declare const SimlaComCreateCostOutput: z.ZodObject<{
|
|
|
25
25
|
dateFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
}, z.core.$loose>>>;
|
|
28
|
-
errors: z.ZodOptional<z.ZodNullable<z.
|
|
28
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
29
29
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
30
30
|
errorMsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>;
|
|
32
32
|
declare const simlaComCreateCost: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
33
|
cost: {
|
|
34
34
|
summ: number;
|
|
@@ -29,10 +29,10 @@ const simlaComCreateCost = action("SIMLA_COM_CREATE_COST", {
|
|
|
29
29
|
output: z.object({
|
|
30
30
|
id: z.number().int().describe("Unique ID of the newly created cost record").nullable().optional(),
|
|
31
31
|
cost: SimlaComCreateCost_CostDetailSchema.nullable().optional(),
|
|
32
|
-
errors: z.
|
|
32
|
+
errors: z.record(z.string(), z.unknown()).describe("Detailed field errors if validation failed").nullable().optional(),
|
|
33
33
|
success: z.boolean().describe("Indicates if the cost creation was successful").nullable(),
|
|
34
34
|
errorMsg: z.string().describe("Error message if the operation failed").nullable().optional()
|
|
35
|
-
}).describe("Response model for CreateCost action")
|
|
35
|
+
}).passthrough().describe("Response model for CreateCost action")
|
|
36
36
|
});
|
|
37
37
|
//#endregion
|
|
38
38
|
export { simlaComCreateCost };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-cost.mjs","names":[],"sources":["../../src/actions/create-cost.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCreateCostInput = z.object({\n cost: z.object({\n summ: z.number().describe(\"Cost amount in base currency. Must be greater than 0 (supports decimals like 100.50).\"),\n sites: z.array(z.string()).describe(\"Array of store symbolic codes for which this cost applies (e.g., ['store-1', 'store-2'])\").optional(),\n dateTo: z.string().describe(\"End date of the cost period in YYYY-MM-DD format (e.g., '2026-02-16')\"),\n userId: z.number().int().describe(\"ID of the user associated with this expense. If omitted, defaults to the API user.\").optional(),\n comment: z.string().describe(\"Optional comment or note about the cost (max 1000 characters)\").optional(),\n costItem: z.string().describe(\"Cost item symbolic code (e.g., 'office-expenses', 'marketing', 'utilities'). Must match an existing cost item in the system.\"),\n dateFrom: z.string().describe(\"Start date of the cost period in YYYY-MM-DD format (e.g., '2026-02-16')\"),\n}).describe(\"Cost details including period dates, amount, cost item, and optional comment\"),\n}).describe(\"Request model for CreateCost action\");\nconst SimlaComCreateCost_CostDetailSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the created cost record\").nullable().optional(),\n summ: z.number().describe(\"Cost amount in base currency\").nullable().optional(),\n sites: z.array(z.string()).describe(\"List of store codes associated with this cost\").nullable().optional(),\n dateTo: z.string().describe(\"End date of the cost period in YYYY-MM-DD format\").nullable().optional(),\n userId: z.number().int().describe(\"ID of the user who created the cost record\").nullable().optional(),\n comment: z.string().describe(\"Comment or note about the cost\").nullable().optional(),\n costItem: z.string().describe(\"Cost item code/identifier\").nullable().optional(),\n dateFrom: z.string().describe(\"Start date of the cost period in YYYY-MM-DD format\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp in ISO8601 format\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about the created cost record\");\nexport const SimlaComCreateCostOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the newly created cost record\").nullable().optional(),\n cost: SimlaComCreateCost_CostDetailSchema.nullable().optional(),\n errors: z.
|
|
1
|
+
{"version":3,"file":"create-cost.mjs","names":[],"sources":["../../src/actions/create-cost.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCreateCostInput = z.object({\n cost: z.object({\n summ: z.number().describe(\"Cost amount in base currency. Must be greater than 0 (supports decimals like 100.50).\"),\n sites: z.array(z.string()).describe(\"Array of store symbolic codes for which this cost applies (e.g., ['store-1', 'store-2'])\").optional(),\n dateTo: z.string().describe(\"End date of the cost period in YYYY-MM-DD format (e.g., '2026-02-16')\"),\n userId: z.number().int().describe(\"ID of the user associated with this expense. If omitted, defaults to the API user.\").optional(),\n comment: z.string().describe(\"Optional comment or note about the cost (max 1000 characters)\").optional(),\n costItem: z.string().describe(\"Cost item symbolic code (e.g., 'office-expenses', 'marketing', 'utilities'). Must match an existing cost item in the system.\"),\n dateFrom: z.string().describe(\"Start date of the cost period in YYYY-MM-DD format (e.g., '2026-02-16')\"),\n}).describe(\"Cost details including period dates, amount, cost item, and optional comment\"),\n}).describe(\"Request model for CreateCost action\");\nconst SimlaComCreateCost_CostDetailSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the created cost record\").nullable().optional(),\n summ: z.number().describe(\"Cost amount in base currency\").nullable().optional(),\n sites: z.array(z.string()).describe(\"List of store codes associated with this cost\").nullable().optional(),\n dateTo: z.string().describe(\"End date of the cost period in YYYY-MM-DD format\").nullable().optional(),\n userId: z.number().int().describe(\"ID of the user who created the cost record\").nullable().optional(),\n comment: z.string().describe(\"Comment or note about the cost\").nullable().optional(),\n costItem: z.string().describe(\"Cost item code/identifier\").nullable().optional(),\n dateFrom: z.string().describe(\"Start date of the cost period in YYYY-MM-DD format\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp in ISO8601 format\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about the created cost record\");\nexport const SimlaComCreateCostOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the newly created cost record\").nullable().optional(),\n cost: SimlaComCreateCost_CostDetailSchema.nullable().optional(),\n errors: z.record(z.string(), z.unknown()).describe(\"Detailed field errors if validation failed\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the cost creation was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n}).passthrough().describe(\"Response model for CreateCost action\");\n\nexport const simlaComCreateCost = action(\"SIMLA_COM_CREATE_COST\", {\n slug: \"simla_com-create-cost\",\n name: \"Create Cost\",\n description: \"Create a new cost record in Simla CRM. Use this to track business expenses with period dates, amounts, and cost categories. Required fields: dateFrom (start date), dateTo (end date), summ (amount), and costItem (category code). The cost amount must be positive and costItem must match an existing cost item in the system. Optionally associate the cost with specific stores or users.\",\n input: SimlaComCreateCostInput,\n output: SimlaComCreateCostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,MAAM,EAAE,OAAO;CACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;CACjH,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACzI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACjI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACvG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;CAC5J,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;AACzG,CAAC,CAAC,CAAC,SAAS,8EAA8E,EAC1F,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAS9E,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,MAAM,oCAAoC,SAAS,CAAC,CAAC,SAAS;EAC9D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
|
|
@@ -44,7 +44,7 @@ const SimlaComCreateCustomFieldOutput = zod.z.object({
|
|
|
44
44
|
errors: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Detailed errors if the request failed.").nullable().optional(),
|
|
45
45
|
success: zod.z.boolean().describe("Indicates whether the request was successful.").nullable(),
|
|
46
46
|
errorMsg: zod.z.string().describe("Error message if the request failed.").nullable().optional()
|
|
47
|
-
}).describe("Response schema after creating a custom field in Simla.");
|
|
47
|
+
}).passthrough().describe("Response schema after creating a custom field in Simla.");
|
|
48
48
|
const simlaComCreateCustomField = require_action.action("SIMLA_COM_CREATE_CUSTOM_FIELD", {
|
|
49
49
|
slug: "simla_com-create-custom-field",
|
|
50
50
|
name: "Create Custom Field",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-custom-field.cjs","names":["z","action"],"sources":["../../src/actions/create-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCreateCustomFieldInput = z.object({\n code: z.string().describe(\"Symbolic code for the field (lowercase letters, numbers, underscores, must start with letter). Automatically generated if omitted.\").optional(),\n name: z.string().describe(\"Display name of the custom field.\"),\n type: z.enum([\"string\", \"text\", \"integer\", \"numeric\", \"boolean\", \"dictionary\", \"date\", \"datetime\", \"email\", \"multiselect_dictionary\"]).describe(\"Data type of the custom field.\"),\n entity: z.enum([\"order\", \"customer\", \"loyalty_account\"]).describe(\"The entity to which the custom field will be added.\"),\n inList: z.boolean().default(true).describe(\"Whether the field is shown in list views.\").optional(),\n inFilter: z.boolean().default(true).describe(\"Whether the field is available in filtering UI.\").optional(),\n ordering: z.number().int().describe(\"Display order of the field (defaults to 50).\").optional(),\n required: z.boolean().default(false).describe(\"Whether this field is mandatory.\").optional(),\n viewMode: z.enum([\"editable\", \"not_editable\", \"miss\"]).describe(\"Form visibility mode (defaults to editable).\").optional(),\n dictionary: z.string().describe(\"Related directory code (required if type is dictionary or multiselect_dictionary).\").optional(),\n displayArea: z.string().describe(\"UI area where the field is displayed. Depends on entity type.\").optional(),\n inGroupActions: z.boolean().default(false).describe(\"Whether the field can be used in bulk actions.\").optional(),\n viewModeMobile: z.enum([\"editable\", \"not_editable\", \"miss\"]).describe(\"Mobile app visibility mode (defaults to editable).\").optional(),\n}).describe(\"Request parameters for creating a custom field in Simla.\");\nexport const SimlaComCreateCustomFieldOutput = z.object({\n code: z.string().describe(\"Symbolic code of the created custom field (present on success).\").nullable().optional(),\n errors: z.record(z.string(), z.unknown()).describe(\"Detailed errors if the request failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the request was successful.\").nullable(),\n errorMsg: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n}).describe(\"Response schema after creating a custom field in Simla.\");\n\nexport const simlaComCreateCustomField = action(\"SIMLA_COM_CREATE_CUSTOM_FIELD\", {\n slug: \"simla_com-create-custom-field\",\n name: \"Create Custom Field\",\n description: \"Tool to create a custom field for a specified entity in Simla. Use when you need to extend orders, customers, corporate customers, or companies with custom metadata fields.\",\n input: SimlaComCreateCustomFieldInput,\n output: SimlaComCreateCustomFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;CACzK,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAW;EAAW;EAAW;EAAc;EAAQ;EAAY;EAAS;CAAwB,CAAC,CAAC,CAAC,SAAS,gCAAgC;CAChL,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAY;CAAiB,CAAC,CAAC,CAAC,SAAS,qDAAqD;CACvH,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAgB;CAAM,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC/H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC3G,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC/G,gBAAgBA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAgB;CAAM,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,yDAAyD;
|
|
1
|
+
{"version":3,"file":"create-custom-field.cjs","names":["z","action"],"sources":["../../src/actions/create-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCreateCustomFieldInput = z.object({\n code: z.string().describe(\"Symbolic code for the field (lowercase letters, numbers, underscores, must start with letter). Automatically generated if omitted.\").optional(),\n name: z.string().describe(\"Display name of the custom field.\"),\n type: z.enum([\"string\", \"text\", \"integer\", \"numeric\", \"boolean\", \"dictionary\", \"date\", \"datetime\", \"email\", \"multiselect_dictionary\"]).describe(\"Data type of the custom field.\"),\n entity: z.enum([\"order\", \"customer\", \"loyalty_account\"]).describe(\"The entity to which the custom field will be added.\"),\n inList: z.boolean().default(true).describe(\"Whether the field is shown in list views.\").optional(),\n inFilter: z.boolean().default(true).describe(\"Whether the field is available in filtering UI.\").optional(),\n ordering: z.number().int().describe(\"Display order of the field (defaults to 50).\").optional(),\n required: z.boolean().default(false).describe(\"Whether this field is mandatory.\").optional(),\n viewMode: z.enum([\"editable\", \"not_editable\", \"miss\"]).describe(\"Form visibility mode (defaults to editable).\").optional(),\n dictionary: z.string().describe(\"Related directory code (required if type is dictionary or multiselect_dictionary).\").optional(),\n displayArea: z.string().describe(\"UI area where the field is displayed. Depends on entity type.\").optional(),\n inGroupActions: z.boolean().default(false).describe(\"Whether the field can be used in bulk actions.\").optional(),\n viewModeMobile: z.enum([\"editable\", \"not_editable\", \"miss\"]).describe(\"Mobile app visibility mode (defaults to editable).\").optional(),\n}).describe(\"Request parameters for creating a custom field in Simla.\");\nexport const SimlaComCreateCustomFieldOutput = z.object({\n code: z.string().describe(\"Symbolic code of the created custom field (present on success).\").nullable().optional(),\n errors: z.record(z.string(), z.unknown()).describe(\"Detailed errors if the request failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the request was successful.\").nullable(),\n errorMsg: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n}).passthrough().describe(\"Response schema after creating a custom field in Simla.\");\n\nexport const simlaComCreateCustomField = action(\"SIMLA_COM_CREATE_CUSTOM_FIELD\", {\n slug: \"simla_com-create-custom-field\",\n name: \"Create Custom Field\",\n description: \"Tool to create a custom field for a specified entity in Simla. Use when you need to extend orders, customers, corporate customers, or companies with custom metadata fields.\",\n input: SimlaComCreateCustomFieldInput,\n output: SimlaComCreateCustomFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;CACzK,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAW;EAAW;EAAW;EAAc;EAAQ;EAAY;EAAS;CAAwB,CAAC,CAAC,CAAC,SAAS,gCAAgC;CAChL,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAY;CAAiB,CAAC,CAAC,CAAC,SAAS,qDAAqD;CACvH,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAgB;CAAM,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC/H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC3G,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC/G,gBAAgBA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAgB;CAAM,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,12 +8,12 @@ declare const SimlaComCreateCustomFieldInput: z.ZodObject<{
|
|
|
8
8
|
string: "string";
|
|
9
9
|
boolean: "boolean";
|
|
10
10
|
date: "date";
|
|
11
|
-
email: "email";
|
|
12
11
|
text: "text";
|
|
12
|
+
email: "email";
|
|
13
13
|
integer: "integer";
|
|
14
|
-
numeric: "numeric";
|
|
15
14
|
dictionary: "dictionary";
|
|
16
15
|
datetime: "datetime";
|
|
16
|
+
numeric: "numeric";
|
|
17
17
|
multiselect_dictionary: "multiselect_dictionary";
|
|
18
18
|
}>;
|
|
19
19
|
entity: z.ZodEnum<{
|
|
@@ -44,10 +44,10 @@ declare const SimlaComCreateCustomFieldOutput: z.ZodObject<{
|
|
|
44
44
|
errors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
45
45
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
46
46
|
errorMsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
-
}, z.core.$
|
|
47
|
+
}, z.core.$loose>;
|
|
48
48
|
declare const simlaComCreateCustomField: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
49
49
|
name: string;
|
|
50
|
-
type: "string" | "boolean" | "date" | "
|
|
50
|
+
type: "string" | "boolean" | "date" | "text" | "email" | "integer" | "dictionary" | "datetime" | "numeric" | "multiselect_dictionary";
|
|
51
51
|
entity: "order" | "customer" | "loyalty_account";
|
|
52
52
|
code?: string | undefined;
|
|
53
53
|
inList?: boolean | undefined;
|
|
@@ -8,12 +8,12 @@ declare const SimlaComCreateCustomFieldInput: z.ZodObject<{
|
|
|
8
8
|
string: "string";
|
|
9
9
|
boolean: "boolean";
|
|
10
10
|
date: "date";
|
|
11
|
-
email: "email";
|
|
12
11
|
text: "text";
|
|
12
|
+
email: "email";
|
|
13
13
|
integer: "integer";
|
|
14
|
-
numeric: "numeric";
|
|
15
14
|
dictionary: "dictionary";
|
|
16
15
|
datetime: "datetime";
|
|
16
|
+
numeric: "numeric";
|
|
17
17
|
multiselect_dictionary: "multiselect_dictionary";
|
|
18
18
|
}>;
|
|
19
19
|
entity: z.ZodEnum<{
|
|
@@ -44,10 +44,10 @@ declare const SimlaComCreateCustomFieldOutput: z.ZodObject<{
|
|
|
44
44
|
errors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
45
45
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
46
46
|
errorMsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
-
}, z.core.$
|
|
47
|
+
}, z.core.$loose>;
|
|
48
48
|
declare const simlaComCreateCustomField: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
49
49
|
name: string;
|
|
50
|
-
type: "string" | "boolean" | "date" | "
|
|
50
|
+
type: "string" | "boolean" | "date" | "text" | "email" | "integer" | "dictionary" | "datetime" | "numeric" | "multiselect_dictionary";
|
|
51
51
|
entity: "order" | "customer" | "loyalty_account";
|
|
52
52
|
code?: string | undefined;
|
|
53
53
|
inList?: boolean | undefined;
|