@keystrokehq/simla_com 0.1.5 → 0.1.6
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-customer-interaction-favorite.cjs +1 -0
- package/dist/actions/add-customer-interaction-favorite.cjs.map +1 -1
- package/dist/actions/add-customer-interaction-favorite.d.cts +3 -23
- package/dist/actions/add-customer-interaction-favorite.d.cts.map +1 -1
- package/dist/actions/add-customer-interaction-favorite.d.mts +3 -23
- package/dist/actions/add-customer-interaction-favorite.d.mts.map +1 -1
- package/dist/actions/add-customer-interaction-favorite.mjs +1 -0
- package/dist/actions/add-customer-interaction-favorite.mjs.map +1 -1
- package/dist/actions/combine-customers-corporate.cjs +1 -0
- package/dist/actions/combine-customers-corporate.cjs.map +1 -1
- package/dist/actions/combine-customers-corporate.d.cts +3 -23
- package/dist/actions/combine-customers-corporate.d.cts.map +1 -1
- package/dist/actions/combine-customers-corporate.d.mts +3 -23
- package/dist/actions/combine-customers-corporate.d.mts.map +1 -1
- package/dist/actions/combine-customers-corporate.mjs +1 -0
- package/dist/actions/combine-customers-corporate.mjs.map +1 -1
- package/dist/actions/combine-customers.cjs +1 -0
- package/dist/actions/combine-customers.cjs.map +1 -1
- package/dist/actions/combine-customers.d.cts +3 -23
- package/dist/actions/combine-customers.d.cts.map +1 -1
- package/dist/actions/combine-customers.d.mts +3 -23
- package/dist/actions/combine-customers.d.mts.map +1 -1
- package/dist/actions/combine-customers.mjs +1 -0
- package/dist/actions/combine-customers.mjs.map +1 -1
- package/dist/actions/combine-orders.cjs +1 -0
- package/dist/actions/combine-orders.cjs.map +1 -1
- package/dist/actions/combine-orders.d.cts +3 -23
- package/dist/actions/combine-orders.d.cts.map +1 -1
- package/dist/actions/combine-orders.d.mts +3 -23
- package/dist/actions/combine-orders.d.mts.map +1 -1
- package/dist/actions/combine-orders.mjs +1 -0
- package/dist/actions/combine-orders.mjs.map +1 -1
- package/dist/actions/create-cost.cjs +1 -0
- package/dist/actions/create-cost.cjs.map +1 -1
- package/dist/actions/create-cost.d.cts +3 -25
- package/dist/actions/create-cost.d.cts.map +1 -1
- package/dist/actions/create-cost.d.mts +3 -25
- package/dist/actions/create-cost.d.mts.map +1 -1
- package/dist/actions/create-cost.mjs +1 -0
- package/dist/actions/create-cost.mjs.map +1 -1
- package/dist/actions/create-custom-field.cjs +1 -0
- package/dist/actions/create-custom-field.cjs.map +1 -1
- package/dist/actions/create-custom-field.d.cts +3 -29
- package/dist/actions/create-custom-field.d.cts.map +1 -1
- package/dist/actions/create-custom-field.d.mts +3 -29
- package/dist/actions/create-custom-field.d.mts.map +1 -1
- package/dist/actions/create-custom-field.mjs +1 -0
- package/dist/actions/create-custom-field.mjs.map +1 -1
- package/dist/actions/create-custom-fields-dictionaries.cjs +1 -0
- package/dist/actions/create-custom-fields-dictionaries.cjs.map +1 -1
- package/dist/actions/create-custom-fields-dictionaries.d.cts +3 -24
- package/dist/actions/create-custom-fields-dictionaries.d.cts.map +1 -1
- package/dist/actions/create-custom-fields-dictionaries.d.mts +3 -24
- package/dist/actions/create-custom-fields-dictionaries.d.mts.map +1 -1
- package/dist/actions/create-custom-fields-dictionaries.mjs +1 -0
- package/dist/actions/create-custom-fields-dictionaries.mjs.map +1 -1
- package/dist/actions/create-customer-corporate.cjs +1 -0
- package/dist/actions/create-customer-corporate.cjs.map +1 -1
- package/dist/actions/create-customer-corporate.d.cts +3 -43
- package/dist/actions/create-customer-corporate.d.cts.map +1 -1
- package/dist/actions/create-customer-corporate.d.mts +3 -43
- package/dist/actions/create-customer-corporate.d.mts.map +1 -1
- package/dist/actions/create-customer-corporate.mjs +1 -0
- package/dist/actions/create-customer-corporate.mjs.map +1 -1
- package/dist/actions/create-customer-interaction-cart-set.cjs +1 -0
- package/dist/actions/create-customer-interaction-cart-set.cjs.map +1 -1
- package/dist/actions/create-customer-interaction-cart-set.d.cts +3 -29
- package/dist/actions/create-customer-interaction-cart-set.d.cts.map +1 -1
- package/dist/actions/create-customer-interaction-cart-set.d.mts +3 -29
- package/dist/actions/create-customer-interaction-cart-set.d.mts.map +1 -1
- package/dist/actions/create-customer-interaction-cart-set.mjs +1 -0
- package/dist/actions/create-customer-interaction-cart-set.mjs.map +1 -1
- package/dist/actions/create-customer.cjs +1 -0
- package/dist/actions/create-customer.cjs.map +1 -1
- package/dist/actions/create-customer.d.cts +3 -42
- package/dist/actions/create-customer.d.cts.map +1 -1
- package/dist/actions/create-customer.d.mts +3 -42
- package/dist/actions/create-customer.d.mts.map +1 -1
- package/dist/actions/create-customer.mjs +1 -0
- package/dist/actions/create-customer.mjs.map +1 -1
- package/dist/actions/create-customers-corporate-addresses.cjs +1 -0
- package/dist/actions/create-customers-corporate-addresses.cjs.map +1 -1
- package/dist/actions/create-customers-corporate-addresses.d.cts +3 -39
- package/dist/actions/create-customers-corporate-addresses.d.cts.map +1 -1
- package/dist/actions/create-customers-corporate-addresses.d.mts +3 -39
- package/dist/actions/create-customers-corporate-addresses.d.mts.map +1 -1
- package/dist/actions/create-customers-corporate-addresses.mjs +1 -0
- package/dist/actions/create-customers-corporate-addresses.mjs.map +1 -1
- package/dist/actions/create-customers-corporate-companies.cjs +1 -0
- package/dist/actions/create-customers-corporate-companies.cjs.map +1 -1
- package/dist/actions/create-customers-corporate-companies.d.cts +3 -21
- package/dist/actions/create-customers-corporate-companies.d.cts.map +1 -1
- package/dist/actions/create-customers-corporate-companies.d.mts +3 -21
- package/dist/actions/create-customers-corporate-companies.d.mts.map +1 -1
- package/dist/actions/create-customers-corporate-companies.mjs +1 -0
- package/dist/actions/create-customers-corporate-companies.mjs.map +1 -1
- package/dist/actions/create-customers-corporate-contacts.cjs +1 -0
- package/dist/actions/create-customers-corporate-contacts.cjs.map +1 -1
- package/dist/actions/create-customers-corporate-contacts.d.cts +3 -26
- package/dist/actions/create-customers-corporate-contacts.d.cts.map +1 -1
- package/dist/actions/create-customers-corporate-contacts.d.mts +3 -26
- package/dist/actions/create-customers-corporate-contacts.d.mts.map +1 -1
- package/dist/actions/create-customers-corporate-contacts.mjs +1 -0
- package/dist/actions/create-customers-corporate-contacts.mjs.map +1 -1
- package/dist/actions/create-customers-corporate-notes.cjs +1 -0
- package/dist/actions/create-customers-corporate-notes.cjs.map +1 -1
- package/dist/actions/create-customers-corporate-notes.d.cts +3 -24
- package/dist/actions/create-customers-corporate-notes.d.cts.map +1 -1
- package/dist/actions/create-customers-corporate-notes.d.mts +3 -24
- package/dist/actions/create-customers-corporate-notes.d.mts.map +1 -1
- package/dist/actions/create-customers-corporate-notes.mjs +1 -0
- package/dist/actions/create-customers-corporate-notes.mjs.map +1 -1
- package/dist/actions/create-customers-notes.cjs +1 -0
- package/dist/actions/create-customers-notes.cjs.map +1 -1
- package/dist/actions/create-customers-notes.d.cts +3 -25
- package/dist/actions/create-customers-notes.d.cts.map +1 -1
- package/dist/actions/create-customers-notes.d.mts +3 -25
- package/dist/actions/create-customers-notes.d.mts.map +1 -1
- package/dist/actions/create-customers-notes.mjs +1 -0
- package/dist/actions/create-customers-notes.mjs.map +1 -1
- package/dist/actions/create-loyalty-calculate.cjs +1 -0
- package/dist/actions/create-loyalty-calculate.cjs.map +1 -1
- package/dist/actions/create-loyalty-calculate.d.cts +3 -37
- package/dist/actions/create-loyalty-calculate.d.cts.map +1 -1
- package/dist/actions/create-loyalty-calculate.d.mts +3 -37
- package/dist/actions/create-loyalty-calculate.d.mts.map +1 -1
- package/dist/actions/create-loyalty-calculate.mjs +1 -0
- package/dist/actions/create-loyalty-calculate.mjs.map +1 -1
- package/dist/actions/create-order.cjs +1 -0
- package/dist/actions/create-order.cjs.map +1 -1
- package/dist/actions/create-order.d.cts +3 -45
- package/dist/actions/create-order.d.cts.map +1 -1
- package/dist/actions/create-order.d.mts +3 -45
- package/dist/actions/create-order.d.mts.map +1 -1
- package/dist/actions/create-order.mjs +1 -0
- package/dist/actions/create-order.mjs.map +1 -1
- package/dist/actions/create-orders-link.cjs +1 -0
- package/dist/actions/create-orders-link.cjs.map +1 -1
- package/dist/actions/create-orders-link.d.cts +3 -24
- package/dist/actions/create-orders-link.d.cts.map +1 -1
- package/dist/actions/create-orders-link.d.mts +3 -24
- package/dist/actions/create-orders-link.d.mts.map +1 -1
- package/dist/actions/create-orders-link.mjs +1 -0
- package/dist/actions/create-orders-link.mjs.map +1 -1
- package/dist/actions/create-orders-packs.cjs +1 -0
- package/dist/actions/create-orders-packs.cjs.map +1 -1
- package/dist/actions/create-orders-packs.d.cts +3 -25
- package/dist/actions/create-orders-packs.d.cts.map +1 -1
- package/dist/actions/create-orders-packs.d.mts +3 -25
- package/dist/actions/create-orders-packs.d.mts.map +1 -1
- package/dist/actions/create-orders-packs.mjs +1 -0
- package/dist/actions/create-orders-packs.mjs.map +1 -1
- package/dist/actions/create-orders-payments-create.cjs +1 -0
- package/dist/actions/create-orders-payments-create.cjs.map +1 -1
- package/dist/actions/create-orders-payments-create.d.cts +3 -26
- package/dist/actions/create-orders-payments-create.d.cts.map +1 -1
- package/dist/actions/create-orders-payments-create.d.mts +3 -26
- package/dist/actions/create-orders-payments-create.d.mts.map +1 -1
- package/dist/actions/create-orders-payments-create.mjs +1 -0
- package/dist/actions/create-orders-payments-create.mjs.map +1 -1
- package/dist/actions/create-reference-courier.cjs +1 -0
- package/dist/actions/create-reference-courier.cjs.map +1 -1
- package/dist/actions/create-reference-courier.d.cts +3 -23
- package/dist/actions/create-reference-courier.d.cts.map +1 -1
- package/dist/actions/create-reference-courier.d.mts +3 -23
- package/dist/actions/create-reference-courier.d.mts.map +1 -1
- package/dist/actions/create-reference-courier.mjs +1 -0
- package/dist/actions/create-reference-courier.mjs.map +1 -1
- package/dist/actions/create-reference-currencies.cjs +1 -0
- package/dist/actions/create-reference-currencies.cjs.map +1 -1
- package/dist/actions/create-reference-currencies.d.cts +3 -24
- package/dist/actions/create-reference-currencies.d.cts.map +1 -1
- package/dist/actions/create-reference-currencies.d.mts +3 -24
- package/dist/actions/create-reference-currencies.d.mts.map +1 -1
- package/dist/actions/create-reference-currencies.mjs +1 -0
- package/dist/actions/create-reference-currencies.mjs.map +1 -1
- package/dist/actions/create-store-inventories-upload.cjs +1 -0
- package/dist/actions/create-store-inventories-upload.cjs.map +1 -1
- package/dist/actions/create-store-inventories-upload.d.cts +3 -28
- package/dist/actions/create-store-inventories-upload.d.cts.map +1 -1
- package/dist/actions/create-store-inventories-upload.d.mts +3 -28
- package/dist/actions/create-store-inventories-upload.d.mts.map +1 -1
- package/dist/actions/create-store-inventories-upload.mjs +1 -0
- package/dist/actions/create-store-inventories-upload.mjs.map +1 -1
- package/dist/actions/create-store-product-groups.cjs +1 -0
- package/dist/actions/create-store-product-groups.cjs.map +1 -1
- package/dist/actions/create-store-product-groups.d.cts +3 -20
- package/dist/actions/create-store-product-groups.d.cts.map +1 -1
- package/dist/actions/create-store-product-groups.d.mts +3 -20
- package/dist/actions/create-store-product-groups.d.mts.map +1 -1
- package/dist/actions/create-store-product-groups.mjs +1 -0
- package/dist/actions/create-store-product-groups.mjs.map +1 -1
- package/dist/actions/create-store-products-batch-create.cjs +1 -0
- package/dist/actions/create-store-products-batch-create.cjs.map +1 -1
- package/dist/actions/create-store-products-batch-create.d.cts +3 -24
- package/dist/actions/create-store-products-batch-create.d.cts.map +1 -1
- package/dist/actions/create-store-products-batch-create.d.mts +3 -24
- package/dist/actions/create-store-products-batch-create.d.mts.map +1 -1
- package/dist/actions/create-store-products-batch-create.mjs +1 -0
- package/dist/actions/create-store-products-batch-create.mjs.map +1 -1
- package/dist/actions/create-task.cjs +1 -0
- package/dist/actions/create-task.cjs.map +1 -1
- package/dist/actions/create-task.d.cts +3 -29
- package/dist/actions/create-task.d.cts.map +1 -1
- package/dist/actions/create-task.d.mts +3 -29
- package/dist/actions/create-task.d.mts.map +1 -1
- package/dist/actions/create-task.mjs +1 -0
- package/dist/actions/create-task.mjs.map +1 -1
- package/dist/actions/create-web-analytics-visits-upload.cjs +1 -0
- package/dist/actions/create-web-analytics-visits-upload.cjs.map +1 -1
- package/dist/actions/create-web-analytics-visits-upload.d.cts +3 -29
- package/dist/actions/create-web-analytics-visits-upload.d.cts.map +1 -1
- package/dist/actions/create-web-analytics-visits-upload.d.mts +3 -29
- package/dist/actions/create-web-analytics-visits-upload.d.mts.map +1 -1
- package/dist/actions/create-web-analytics-visits-upload.mjs +1 -0
- package/dist/actions/create-web-analytics-visits-upload.mjs.map +1 -1
- package/dist/actions/delete-cost.cjs +1 -0
- package/dist/actions/delete-cost.cjs.map +1 -1
- package/dist/actions/delete-cost.d.cts +3 -17
- package/dist/actions/delete-cost.d.cts.map +1 -1
- package/dist/actions/delete-cost.d.mts +3 -17
- package/dist/actions/delete-cost.d.mts.map +1 -1
- package/dist/actions/delete-cost.mjs +1 -0
- package/dist/actions/delete-cost.mjs.map +1 -1
- package/dist/actions/delete-customers-corporate-note.cjs +1 -0
- package/dist/actions/delete-customers-corporate-note.cjs.map +1 -1
- package/dist/actions/delete-customers-corporate-note.d.cts +3 -17
- package/dist/actions/delete-customers-corporate-note.d.cts.map +1 -1
- package/dist/actions/delete-customers-corporate-note.d.mts +3 -17
- package/dist/actions/delete-customers-corporate-note.d.mts.map +1 -1
- package/dist/actions/delete-customers-corporate-note.mjs +1 -0
- package/dist/actions/delete-customers-corporate-note.mjs.map +1 -1
- package/dist/actions/delete-customers-note.cjs +1 -0
- package/dist/actions/delete-customers-note.cjs.map +1 -1
- package/dist/actions/delete-customers-note.d.cts +3 -17
- package/dist/actions/delete-customers-note.d.cts.map +1 -1
- package/dist/actions/delete-customers-note.d.mts +3 -17
- package/dist/actions/delete-customers-note.d.mts.map +1 -1
- package/dist/actions/delete-customers-note.mjs +1 -0
- package/dist/actions/delete-customers-note.mjs.map +1 -1
- package/dist/actions/delete-order-payment.cjs +1 -0
- package/dist/actions/delete-order-payment.cjs.map +1 -1
- package/dist/actions/delete-order-payment.d.cts +3 -17
- package/dist/actions/delete-order-payment.d.cts.map +1 -1
- package/dist/actions/delete-order-payment.d.mts +3 -17
- package/dist/actions/delete-order-payment.d.mts.map +1 -1
- package/dist/actions/delete-order-payment.mjs +1 -0
- package/dist/actions/delete-order-payment.mjs.map +1 -1
- package/dist/actions/edit-cost.cjs +1 -0
- package/dist/actions/edit-cost.cjs.map +1 -1
- package/dist/actions/edit-cost.d.cts +3 -39
- package/dist/actions/edit-cost.d.cts.map +1 -1
- package/dist/actions/edit-cost.d.mts +3 -39
- package/dist/actions/edit-cost.d.mts.map +1 -1
- package/dist/actions/edit-cost.mjs +1 -0
- package/dist/actions/edit-cost.mjs.map +1 -1
- package/dist/actions/edit-custom-field.cjs +1 -0
- package/dist/actions/edit-custom-field.cjs.map +1 -1
- package/dist/actions/edit-custom-field.d.cts +4 -29
- package/dist/actions/edit-custom-field.d.cts.map +1 -1
- package/dist/actions/edit-custom-field.d.mts +4 -29
- package/dist/actions/edit-custom-field.d.mts.map +1 -1
- package/dist/actions/edit-custom-field.mjs +1 -0
- package/dist/actions/edit-custom-field.mjs.map +1 -1
- package/dist/actions/edit-custom-fields-dictionary.cjs +1 -0
- package/dist/actions/edit-custom-fields-dictionary.cjs.map +1 -1
- package/dist/actions/edit-custom-fields-dictionary.d.cts +3 -24
- package/dist/actions/edit-custom-fields-dictionary.d.cts.map +1 -1
- package/dist/actions/edit-custom-fields-dictionary.d.mts +3 -24
- package/dist/actions/edit-custom-fields-dictionary.d.mts.map +1 -1
- package/dist/actions/edit-custom-fields-dictionary.mjs +1 -0
- package/dist/actions/edit-custom-fields-dictionary.mjs.map +1 -1
- package/dist/actions/edit-customer-corporate.cjs +1 -0
- package/dist/actions/edit-customer-corporate.cjs.map +1 -1
- package/dist/actions/edit-customer-corporate.d.cts +3 -27
- package/dist/actions/edit-customer-corporate.d.cts.map +1 -1
- package/dist/actions/edit-customer-corporate.d.mts +3 -27
- package/dist/actions/edit-customer-corporate.d.mts.map +1 -1
- package/dist/actions/edit-customer-corporate.mjs +1 -0
- package/dist/actions/edit-customer-corporate.mjs.map +1 -1
- package/dist/actions/edit-customer.cjs +1 -0
- package/dist/actions/edit-customer.cjs.map +1 -1
- package/dist/actions/edit-customer.d.cts +3 -40
- package/dist/actions/edit-customer.d.cts.map +1 -1
- package/dist/actions/edit-customer.d.mts +3 -40
- package/dist/actions/edit-customer.d.mts.map +1 -1
- package/dist/actions/edit-customer.mjs +1 -0
- package/dist/actions/edit-customer.mjs.map +1 -1
- package/dist/actions/edit-customers-corporate-address.cjs +1 -0
- package/dist/actions/edit-customers-corporate-address.cjs.map +1 -1
- package/dist/actions/edit-customers-corporate-address.d.cts +3 -37
- package/dist/actions/edit-customers-corporate-address.d.cts.map +1 -1
- package/dist/actions/edit-customers-corporate-address.d.mts +3 -37
- package/dist/actions/edit-customers-corporate-address.d.mts.map +1 -1
- package/dist/actions/edit-customers-corporate-address.mjs +1 -0
- package/dist/actions/edit-customers-corporate-address.mjs.map +1 -1
- package/dist/actions/edit-customers-corporate-company.cjs +1 -0
- package/dist/actions/edit-customers-corporate-company.cjs.map +1 -1
- package/dist/actions/edit-customers-corporate-company.d.cts +3 -27
- package/dist/actions/edit-customers-corporate-company.d.cts.map +1 -1
- package/dist/actions/edit-customers-corporate-company.d.mts +3 -27
- package/dist/actions/edit-customers-corporate-company.d.mts.map +1 -1
- package/dist/actions/edit-customers-corporate-company.mjs +1 -0
- package/dist/actions/edit-customers-corporate-company.mjs.map +1 -1
- package/dist/actions/edit-customers-corporate-contacts.cjs +1 -0
- package/dist/actions/edit-customers-corporate-contacts.cjs.map +1 -1
- package/dist/actions/edit-customers-corporate-contacts.d.cts +3 -24
- package/dist/actions/edit-customers-corporate-contacts.d.cts.map +1 -1
- package/dist/actions/edit-customers-corporate-contacts.d.mts +3 -24
- package/dist/actions/edit-customers-corporate-contacts.d.mts.map +1 -1
- package/dist/actions/edit-customers-corporate-contacts.mjs +1 -0
- package/dist/actions/edit-customers-corporate-contacts.mjs.map +1 -1
- package/dist/actions/edit-delivery-generic-setting.cjs +1 -0
- package/dist/actions/edit-delivery-generic-setting.cjs.map +1 -1
- package/dist/actions/edit-delivery-generic-setting.d.cts +3 -98
- package/dist/actions/edit-delivery-generic-setting.d.cts.map +1 -1
- package/dist/actions/edit-delivery-generic-setting.d.mts +3 -98
- package/dist/actions/edit-delivery-generic-setting.d.mts.map +1 -1
- package/dist/actions/edit-delivery-generic-setting.mjs +1 -0
- package/dist/actions/edit-delivery-generic-setting.mjs.map +1 -1
- package/dist/actions/edit-file.cjs +1 -0
- package/dist/actions/edit-file.cjs.map +1 -1
- package/dist/actions/edit-file.d.cts +3 -20
- package/dist/actions/edit-file.d.cts.map +1 -1
- package/dist/actions/edit-file.d.mts +3 -20
- package/dist/actions/edit-file.d.mts.map +1 -1
- package/dist/actions/edit-file.mjs +1 -0
- package/dist/actions/edit-file.mjs.map +1 -1
- package/dist/actions/edit-integration-module.cjs +1 -0
- package/dist/actions/edit-integration-module.cjs.map +1 -1
- package/dist/actions/edit-integration-module.d.cts +3 -24
- package/dist/actions/edit-integration-module.d.cts.map +1 -1
- package/dist/actions/edit-integration-module.d.mts +3 -24
- package/dist/actions/edit-integration-module.d.mts.map +1 -1
- package/dist/actions/edit-integration-module.mjs +1 -0
- package/dist/actions/edit-integration-module.mjs.map +1 -1
- package/dist/actions/edit-order.cjs +1 -0
- package/dist/actions/edit-order.cjs.map +1 -1
- package/dist/actions/edit-order.d.cts +3 -43
- package/dist/actions/edit-order.d.cts.map +1 -1
- package/dist/actions/edit-order.d.mts +3 -43
- package/dist/actions/edit-order.d.mts.map +1 -1
- package/dist/actions/edit-order.mjs +1 -0
- package/dist/actions/edit-order.mjs.map +1 -1
- package/dist/actions/edit-orders-payment.cjs +1 -0
- package/dist/actions/edit-orders-payment.cjs.map +1 -1
- package/dist/actions/edit-orders-payment.d.cts +3 -23
- package/dist/actions/edit-orders-payment.d.cts.map +1 -1
- package/dist/actions/edit-orders-payment.d.mts +3 -23
- package/dist/actions/edit-orders-payment.d.mts.map +1 -1
- package/dist/actions/edit-orders-payment.mjs +1 -0
- package/dist/actions/edit-orders-payment.mjs.map +1 -1
- package/dist/actions/edit-reference-cost-group.cjs +1 -0
- package/dist/actions/edit-reference-cost-group.cjs.map +1 -1
- package/dist/actions/edit-reference-cost-group.d.cts +3 -23
- package/dist/actions/edit-reference-cost-group.d.cts.map +1 -1
- package/dist/actions/edit-reference-cost-group.d.mts +3 -23
- package/dist/actions/edit-reference-cost-group.d.mts.map +1 -1
- package/dist/actions/edit-reference-cost-group.mjs +1 -0
- package/dist/actions/edit-reference-cost-group.mjs.map +1 -1
- package/dist/actions/edit-reference-cost-item.cjs +1 -0
- package/dist/actions/edit-reference-cost-item.cjs.map +1 -1
- package/dist/actions/edit-reference-cost-item.d.cts +3 -27
- package/dist/actions/edit-reference-cost-item.d.cts.map +1 -1
- package/dist/actions/edit-reference-cost-item.d.mts +3 -27
- package/dist/actions/edit-reference-cost-item.d.mts.map +1 -1
- package/dist/actions/edit-reference-cost-item.mjs +1 -0
- package/dist/actions/edit-reference-cost-item.mjs.map +1 -1
- package/dist/actions/edit-reference-courier.cjs +1 -0
- package/dist/actions/edit-reference-courier.cjs.map +1 -1
- package/dist/actions/edit-reference-courier.d.cts +3 -28
- package/dist/actions/edit-reference-courier.d.cts.map +1 -1
- package/dist/actions/edit-reference-courier.d.mts +3 -28
- package/dist/actions/edit-reference-courier.d.mts.map +1 -1
- package/dist/actions/edit-reference-courier.mjs +1 -0
- package/dist/actions/edit-reference-courier.mjs.map +1 -1
- package/dist/actions/edit-reference-currency.cjs +1 -0
- package/dist/actions/edit-reference-currency.cjs.map +1 -1
- package/dist/actions/edit-reference-currency.d.cts +3 -25
- package/dist/actions/edit-reference-currency.d.cts.map +1 -1
- package/dist/actions/edit-reference-currency.d.mts +3 -25
- package/dist/actions/edit-reference-currency.d.mts.map +1 -1
- package/dist/actions/edit-reference-currency.mjs +1 -0
- package/dist/actions/edit-reference-currency.mjs.map +1 -1
- package/dist/actions/edit-reference-delivery-service.cjs +1 -0
- package/dist/actions/edit-reference-delivery-service.cjs.map +1 -1
- package/dist/actions/edit-reference-delivery-service.d.cts +3 -22
- package/dist/actions/edit-reference-delivery-service.d.cts.map +1 -1
- package/dist/actions/edit-reference-delivery-service.d.mts +3 -22
- package/dist/actions/edit-reference-delivery-service.d.mts.map +1 -1
- package/dist/actions/edit-reference-delivery-service.mjs +1 -0
- package/dist/actions/edit-reference-delivery-service.mjs.map +1 -1
- package/dist/actions/edit-reference-delivery-types.cjs +1 -0
- package/dist/actions/edit-reference-delivery-types.cjs.map +1 -1
- package/dist/actions/edit-reference-delivery-types.d.cts +3 -34
- package/dist/actions/edit-reference-delivery-types.d.cts.map +1 -1
- package/dist/actions/edit-reference-delivery-types.d.mts +3 -34
- package/dist/actions/edit-reference-delivery-types.d.mts.map +1 -1
- package/dist/actions/edit-reference-delivery-types.mjs +1 -0
- package/dist/actions/edit-reference-delivery-types.mjs.map +1 -1
- package/dist/actions/edit-reference-order-method.cjs +1 -0
- package/dist/actions/edit-reference-order-method.cjs.map +1 -1
- package/dist/actions/edit-reference-order-method.d.cts +3 -24
- package/dist/actions/edit-reference-order-method.d.cts.map +1 -1
- package/dist/actions/edit-reference-order-method.d.mts +3 -24
- package/dist/actions/edit-reference-order-method.d.mts.map +1 -1
- package/dist/actions/edit-reference-order-method.mjs +1 -0
- package/dist/actions/edit-reference-order-method.mjs.map +1 -1
- package/dist/actions/edit-reference-order-type.cjs +1 -0
- package/dist/actions/edit-reference-order-type.cjs.map +1 -1
- package/dist/actions/edit-reference-order-type.d.cts +3 -23
- package/dist/actions/edit-reference-order-type.d.cts.map +1 -1
- package/dist/actions/edit-reference-order-type.d.mts +3 -23
- package/dist/actions/edit-reference-order-type.d.mts.map +1 -1
- package/dist/actions/edit-reference-order-type.mjs +1 -0
- package/dist/actions/edit-reference-order-type.mjs.map +1 -1
- package/dist/actions/edit-reference-payment-status.cjs +1 -0
- package/dist/actions/edit-reference-payment-status.cjs.map +1 -1
- package/dist/actions/edit-reference-payment-status.d.cts +3 -28
- package/dist/actions/edit-reference-payment-status.d.cts.map +1 -1
- package/dist/actions/edit-reference-payment-status.d.mts +3 -28
- package/dist/actions/edit-reference-payment-status.d.mts.map +1 -1
- package/dist/actions/edit-reference-payment-status.mjs +1 -0
- package/dist/actions/edit-reference-payment-status.mjs.map +1 -1
- package/dist/actions/edit-reference-payment-type.cjs +1 -0
- package/dist/actions/edit-reference-payment-type.cjs.map +1 -1
- package/dist/actions/edit-reference-payment-type.d.cts +3 -27
- package/dist/actions/edit-reference-payment-type.d.cts.map +1 -1
- package/dist/actions/edit-reference-payment-type.d.mts +3 -27
- package/dist/actions/edit-reference-payment-type.d.mts.map +1 -1
- package/dist/actions/edit-reference-payment-type.mjs +1 -0
- package/dist/actions/edit-reference-payment-type.mjs.map +1 -1
- package/dist/actions/edit-reference-price-type.cjs +1 -0
- package/dist/actions/edit-reference-price-type.cjs.map +1 -1
- package/dist/actions/edit-reference-price-type.d.cts +3 -25
- package/dist/actions/edit-reference-price-type.d.cts.map +1 -1
- package/dist/actions/edit-reference-price-type.d.mts +3 -25
- package/dist/actions/edit-reference-price-type.d.mts.map +1 -1
- package/dist/actions/edit-reference-price-type.mjs +1 -0
- package/dist/actions/edit-reference-price-type.mjs.map +1 -1
- package/dist/actions/edit-reference-product-status.cjs +1 -0
- package/dist/actions/edit-reference-product-status.cjs.map +1 -1
- package/dist/actions/edit-reference-product-status.d.cts +3 -25
- package/dist/actions/edit-reference-product-status.d.cts.map +1 -1
- package/dist/actions/edit-reference-product-status.d.mts +3 -25
- package/dist/actions/edit-reference-product-status.d.mts.map +1 -1
- package/dist/actions/edit-reference-product-status.mjs +1 -0
- package/dist/actions/edit-reference-product-status.mjs.map +1 -1
- package/dist/actions/edit-reference-statuses.cjs +1 -0
- package/dist/actions/edit-reference-statuses.cjs.map +1 -1
- package/dist/actions/edit-reference-statuses.d.cts +3 -24
- package/dist/actions/edit-reference-statuses.d.cts.map +1 -1
- package/dist/actions/edit-reference-statuses.d.mts +3 -24
- package/dist/actions/edit-reference-statuses.d.mts.map +1 -1
- package/dist/actions/edit-reference-statuses.mjs +1 -0
- package/dist/actions/edit-reference-statuses.mjs.map +1 -1
- package/dist/actions/edit-reference-stores.cjs +1 -0
- package/dist/actions/edit-reference-stores.cjs.map +1 -1
- package/dist/actions/edit-reference-stores.d.cts +3 -54
- package/dist/actions/edit-reference-stores.d.cts.map +1 -1
- package/dist/actions/edit-reference-stores.d.mts +3 -54
- package/dist/actions/edit-reference-stores.d.mts.map +1 -1
- package/dist/actions/edit-reference-stores.mjs +1 -0
- package/dist/actions/edit-reference-stores.mjs.map +1 -1
- package/dist/actions/edit-reference-subscription.cjs +1 -0
- package/dist/actions/edit-reference-subscription.cjs.map +1 -1
- package/dist/actions/edit-reference-subscription.d.cts +3 -24
- package/dist/actions/edit-reference-subscription.d.cts.map +1 -1
- package/dist/actions/edit-reference-subscription.d.mts +3 -24
- package/dist/actions/edit-reference-subscription.d.mts.map +1 -1
- package/dist/actions/edit-reference-subscription.mjs +1 -0
- package/dist/actions/edit-reference-subscription.mjs.map +1 -1
- package/dist/actions/edit-reference-unit.cjs +1 -0
- package/dist/actions/edit-reference-unit.cjs.map +1 -1
- package/dist/actions/edit-reference-unit.d.cts +3 -21
- package/dist/actions/edit-reference-unit.d.cts.map +1 -1
- package/dist/actions/edit-reference-unit.d.mts +3 -21
- package/dist/actions/edit-reference-unit.d.mts.map +1 -1
- package/dist/actions/edit-reference-unit.mjs +1 -0
- package/dist/actions/edit-reference-unit.mjs.map +1 -1
- package/dist/actions/edit-store-product-group.cjs +1 -0
- package/dist/actions/edit-store-product-group.cjs.map +1 -1
- package/dist/actions/edit-store-product-group.d.cts +3 -22
- package/dist/actions/edit-store-product-group.d.cts.map +1 -1
- package/dist/actions/edit-store-product-group.d.mts +3 -22
- package/dist/actions/edit-store-product-group.d.mts.map +1 -1
- package/dist/actions/edit-store-product-group.mjs +1 -0
- package/dist/actions/edit-store-product-group.mjs.map +1 -1
- package/dist/actions/edit-store-products-batch.cjs +1 -0
- package/dist/actions/edit-store-products-batch.cjs.map +1 -1
- package/dist/actions/edit-store-products-batch.d.cts +3 -26
- package/dist/actions/edit-store-products-batch.d.cts.map +1 -1
- package/dist/actions/edit-store-products-batch.d.mts +3 -26
- package/dist/actions/edit-store-products-batch.d.mts.map +1 -1
- package/dist/actions/edit-store-products-batch.mjs +1 -0
- package/dist/actions/edit-store-products-batch.mjs.map +1 -1
- package/dist/actions/edit-store-setting.cjs +1 -0
- package/dist/actions/edit-store-setting.cjs.map +1 -1
- package/dist/actions/edit-store-setting.d.cts +3 -22
- package/dist/actions/edit-store-setting.d.cts.map +1 -1
- package/dist/actions/edit-store-setting.d.mts +3 -22
- package/dist/actions/edit-store-setting.d.mts.map +1 -1
- package/dist/actions/edit-store-setting.mjs +1 -0
- package/dist/actions/edit-store-setting.mjs.map +1 -1
- package/dist/actions/edit-task.cjs +1 -0
- package/dist/actions/edit-task.cjs.map +1 -1
- package/dist/actions/edit-task.d.cts +3 -24
- package/dist/actions/edit-task.d.cts.map +1 -1
- package/dist/actions/edit-task.d.mts +3 -24
- package/dist/actions/edit-task.d.mts.map +1 -1
- package/dist/actions/edit-task.mjs +1 -0
- package/dist/actions/edit-task.mjs.map +1 -1
- package/dist/actions/edit-telephony-setting.cjs +1 -0
- package/dist/actions/edit-telephony-setting.cjs.map +1 -1
- package/dist/actions/edit-telephony-setting.d.cts +3 -30
- package/dist/actions/edit-telephony-setting.d.cts.map +1 -1
- package/dist/actions/edit-telephony-setting.d.mts +3 -30
- package/dist/actions/edit-telephony-setting.d.mts.map +1 -1
- package/dist/actions/edit-telephony-setting.mjs +1 -0
- package/dist/actions/edit-telephony-setting.mjs.map +1 -1
- package/dist/actions/fix-customers-corporate-external-ids.cjs +1 -0
- package/dist/actions/fix-customers-corporate-external-ids.cjs.map +1 -1
- package/dist/actions/fix-customers-corporate-external-ids.d.cts +3 -21
- package/dist/actions/fix-customers-corporate-external-ids.d.cts.map +1 -1
- package/dist/actions/fix-customers-corporate-external-ids.d.mts +3 -21
- package/dist/actions/fix-customers-corporate-external-ids.d.mts.map +1 -1
- package/dist/actions/fix-customers-corporate-external-ids.mjs +1 -0
- package/dist/actions/fix-customers-corporate-external-ids.mjs.map +1 -1
- package/dist/actions/fix-customers-external-ids.cjs +1 -0
- package/dist/actions/fix-customers-external-ids.cjs.map +1 -1
- package/dist/actions/fix-customers-external-ids.d.cts +3 -21
- package/dist/actions/fix-customers-external-ids.d.cts.map +1 -1
- package/dist/actions/fix-customers-external-ids.d.mts +3 -21
- package/dist/actions/fix-customers-external-ids.d.mts.map +1 -1
- package/dist/actions/fix-customers-external-ids.mjs +1 -0
- package/dist/actions/fix-customers-external-ids.mjs.map +1 -1
- package/dist/actions/fix-orders-external-ids.cjs +1 -0
- package/dist/actions/fix-orders-external-ids.cjs.map +1 -1
- package/dist/actions/fix-orders-external-ids.d.cts +3 -21
- package/dist/actions/fix-orders-external-ids.d.cts.map +1 -1
- package/dist/actions/fix-orders-external-ids.d.mts +3 -21
- package/dist/actions/fix-orders-external-ids.d.mts.map +1 -1
- package/dist/actions/fix-orders-external-ids.mjs +1 -0
- package/dist/actions/fix-orders-external-ids.mjs.map +1 -1
- package/dist/actions/get-api-credentials.cjs +1 -0
- package/dist/actions/get-api-credentials.cjs.map +1 -1
- package/dist/actions/get-api-credentials.d.cts +3 -15
- package/dist/actions/get-api-credentials.d.cts.map +1 -1
- package/dist/actions/get-api-credentials.d.mts +3 -15
- package/dist/actions/get-api-credentials.d.mts.map +1 -1
- package/dist/actions/get-api-credentials.mjs +1 -0
- package/dist/actions/get-api-credentials.mjs.map +1 -1
- package/dist/actions/get-api-versions.cjs +1 -0
- package/dist/actions/get-api-versions.cjs.map +1 -1
- package/dist/actions/get-api-versions.d.cts +3 -15
- package/dist/actions/get-api-versions.d.cts.map +1 -1
- package/dist/actions/get-api-versions.d.mts +3 -15
- package/dist/actions/get-api-versions.d.mts.map +1 -1
- package/dist/actions/get-api-versions.mjs +1 -0
- package/dist/actions/get-api-versions.mjs.map +1 -1
- package/dist/actions/get-cost.cjs +1 -0
- package/dist/actions/get-cost.cjs.map +1 -1
- package/dist/actions/get-cost.d.cts +3 -17
- package/dist/actions/get-cost.d.cts.map +1 -1
- package/dist/actions/get-cost.d.mts +3 -17
- package/dist/actions/get-cost.d.mts.map +1 -1
- package/dist/actions/get-cost.mjs +1 -0
- package/dist/actions/get-cost.mjs.map +1 -1
- package/dist/actions/get-custom-field.cjs +1 -0
- package/dist/actions/get-custom-field.cjs.map +1 -1
- package/dist/actions/get-custom-field.d.cts +3 -18
- package/dist/actions/get-custom-field.d.cts.map +1 -1
- package/dist/actions/get-custom-field.d.mts +3 -18
- package/dist/actions/get-custom-field.d.mts.map +1 -1
- package/dist/actions/get-custom-field.mjs +1 -0
- package/dist/actions/get-custom-field.mjs.map +1 -1
- package/dist/actions/get-custom-fields-dictionaries.cjs +1 -0
- package/dist/actions/get-custom-fields-dictionaries.cjs.map +1 -1
- package/dist/actions/get-custom-fields-dictionaries.d.cts +3 -20
- package/dist/actions/get-custom-fields-dictionaries.d.cts.map +1 -1
- package/dist/actions/get-custom-fields-dictionaries.d.mts +3 -20
- package/dist/actions/get-custom-fields-dictionaries.d.mts.map +1 -1
- package/dist/actions/get-custom-fields-dictionaries.mjs +1 -0
- package/dist/actions/get-custom-fields-dictionaries.mjs.map +1 -1
- package/dist/actions/get-custom-fields-dictionary.cjs +1 -0
- package/dist/actions/get-custom-fields-dictionary.cjs.map +1 -1
- package/dist/actions/get-custom-fields-dictionary.d.cts +3 -17
- package/dist/actions/get-custom-fields-dictionary.d.cts.map +1 -1
- package/dist/actions/get-custom-fields-dictionary.d.mts +3 -17
- package/dist/actions/get-custom-fields-dictionary.d.mts.map +1 -1
- package/dist/actions/get-custom-fields-dictionary.mjs +1 -0
- package/dist/actions/get-custom-fields-dictionary.mjs.map +1 -1
- package/dist/actions/get-custom-fields.cjs +1 -0
- package/dist/actions/get-custom-fields.cjs.map +1 -1
- package/dist/actions/get-custom-fields.d.cts +3 -21
- package/dist/actions/get-custom-fields.d.cts.map +1 -1
- package/dist/actions/get-custom-fields.d.mts +3 -21
- package/dist/actions/get-custom-fields.d.mts.map +1 -1
- package/dist/actions/get-custom-fields.mjs +1 -0
- package/dist/actions/get-custom-fields.mjs.map +1 -1
- package/dist/actions/get-customer-corporate.cjs +1 -0
- package/dist/actions/get-customer-corporate.cjs.map +1 -1
- package/dist/actions/get-customer-corporate.d.cts +3 -17
- package/dist/actions/get-customer-corporate.d.cts.map +1 -1
- package/dist/actions/get-customer-corporate.d.mts +3 -17
- package/dist/actions/get-customer-corporate.d.mts.map +1 -1
- package/dist/actions/get-customer-corporate.mjs +1 -0
- package/dist/actions/get-customer-corporate.mjs.map +1 -1
- package/dist/actions/get-customer-interaction-favorites.cjs +1 -0
- package/dist/actions/get-customer-interaction-favorites.cjs.map +1 -1
- package/dist/actions/get-customer-interaction-favorites.d.cts +3 -19
- package/dist/actions/get-customer-interaction-favorites.d.cts.map +1 -1
- package/dist/actions/get-customer-interaction-favorites.d.mts +3 -19
- package/dist/actions/get-customer-interaction-favorites.d.mts.map +1 -1
- package/dist/actions/get-customer-interaction-favorites.mjs +1 -0
- package/dist/actions/get-customer-interaction-favorites.mjs.map +1 -1
- package/dist/actions/get-customer.cjs +1 -0
- package/dist/actions/get-customer.cjs.map +1 -1
- package/dist/actions/get-customer.d.cts +3 -19
- package/dist/actions/get-customer.d.cts.map +1 -1
- package/dist/actions/get-customer.d.mts +3 -19
- package/dist/actions/get-customer.d.mts.map +1 -1
- package/dist/actions/get-customer.mjs +1 -0
- package/dist/actions/get-customer.mjs.map +1 -1
- package/dist/actions/get-customers-corporate-companies.cjs +1 -0
- package/dist/actions/get-customers-corporate-companies.cjs.map +1 -1
- package/dist/actions/get-customers-corporate-companies.d.cts +3 -19
- package/dist/actions/get-customers-corporate-companies.d.cts.map +1 -1
- package/dist/actions/get-customers-corporate-companies.d.mts +3 -19
- package/dist/actions/get-customers-corporate-companies.d.mts.map +1 -1
- package/dist/actions/get-customers-corporate-companies.mjs +1 -0
- package/dist/actions/get-customers-corporate-companies.mjs.map +1 -1
- package/dist/actions/get-customers-corporate-history.cjs +1 -0
- package/dist/actions/get-customers-corporate-history.cjs.map +1 -1
- package/dist/actions/get-customers-corporate-history.d.cts +3 -23
- package/dist/actions/get-customers-corporate-history.d.cts.map +1 -1
- package/dist/actions/get-customers-corporate-history.d.mts +3 -23
- package/dist/actions/get-customers-corporate-history.d.mts.map +1 -1
- package/dist/actions/get-customers-corporate-history.mjs +1 -0
- package/dist/actions/get-customers-corporate-history.mjs.map +1 -1
- package/dist/actions/get-customers-corporate-notes.cjs +1 -0
- package/dist/actions/get-customers-corporate-notes.cjs.map +1 -1
- package/dist/actions/get-customers-corporate-notes.d.cts +3 -25
- package/dist/actions/get-customers-corporate-notes.d.cts.map +1 -1
- package/dist/actions/get-customers-corporate-notes.d.mts +3 -25
- package/dist/actions/get-customers-corporate-notes.d.mts.map +1 -1
- package/dist/actions/get-customers-corporate-notes.mjs +1 -0
- package/dist/actions/get-customers-corporate-notes.mjs.map +1 -1
- package/dist/actions/get-customers-corporate.cjs +1 -0
- package/dist/actions/get-customers-corporate.cjs.map +1 -1
- package/dist/actions/get-customers-corporate.d.cts +3 -23
- package/dist/actions/get-customers-corporate.d.cts.map +1 -1
- package/dist/actions/get-customers-corporate.d.mts +3 -23
- package/dist/actions/get-customers-corporate.d.mts.map +1 -1
- package/dist/actions/get-customers-corporate.mjs +1 -0
- package/dist/actions/get-customers-corporate.mjs.map +1 -1
- package/dist/actions/get-customers-history.cjs +1 -0
- package/dist/actions/get-customers-history.cjs.map +1 -1
- package/dist/actions/get-customers-history.d.cts +3 -23
- package/dist/actions/get-customers-history.d.cts.map +1 -1
- package/dist/actions/get-customers-history.d.mts +3 -23
- package/dist/actions/get-customers-history.d.mts.map +1 -1
- package/dist/actions/get-customers-history.mjs +1 -0
- package/dist/actions/get-customers-history.mjs.map +1 -1
- package/dist/actions/get-customers-notes.cjs +1 -0
- package/dist/actions/get-customers-notes.cjs.map +1 -1
- package/dist/actions/get-customers-notes.d.cts +3 -25
- package/dist/actions/get-customers-notes.d.cts.map +1 -1
- package/dist/actions/get-customers-notes.d.mts +3 -25
- package/dist/actions/get-customers-notes.d.mts.map +1 -1
- package/dist/actions/get-customers-notes.mjs +1 -0
- package/dist/actions/get-customers-notes.mjs.map +1 -1
- package/dist/actions/get-customers.cjs +1 -0
- package/dist/actions/get-customers.cjs.map +1 -1
- package/dist/actions/get-customers.d.cts +3 -21
- package/dist/actions/get-customers.d.cts.map +1 -1
- package/dist/actions/get-customers.d.mts +3 -21
- package/dist/actions/get-customers.d.mts.map +1 -1
- package/dist/actions/get-customers.mjs +1 -0
- package/dist/actions/get-customers.mjs.map +1 -1
- package/dist/actions/get-delivery-generic-setting.cjs +1 -0
- package/dist/actions/get-delivery-generic-setting.cjs.map +1 -1
- package/dist/actions/get-delivery-generic-setting.d.cts +3 -17
- package/dist/actions/get-delivery-generic-setting.d.cts.map +1 -1
- package/dist/actions/get-delivery-generic-setting.d.mts +3 -17
- package/dist/actions/get-delivery-generic-setting.d.mts.map +1 -1
- package/dist/actions/get-delivery-generic-setting.mjs +1 -0
- package/dist/actions/get-delivery-generic-setting.mjs.map +1 -1
- package/dist/actions/get-delivery-shipments.cjs +1 -0
- package/dist/actions/get-delivery-shipments.cjs.map +1 -1
- package/dist/actions/get-delivery-shipments.d.cts +3 -20
- package/dist/actions/get-delivery-shipments.d.cts.map +1 -1
- package/dist/actions/get-delivery-shipments.d.mts +3 -20
- package/dist/actions/get-delivery-shipments.d.mts.map +1 -1
- package/dist/actions/get-delivery-shipments.mjs +1 -0
- package/dist/actions/get-delivery-shipments.mjs.map +1 -1
- package/dist/actions/get-files.cjs +1 -0
- package/dist/actions/get-files.cjs.map +1 -1
- package/dist/actions/get-files.d.cts +3 -19
- package/dist/actions/get-files.d.cts.map +1 -1
- package/dist/actions/get-files.d.mts +3 -19
- package/dist/actions/get-files.d.mts.map +1 -1
- package/dist/actions/get-files.mjs +1 -0
- package/dist/actions/get-files.mjs.map +1 -1
- package/dist/actions/get-loyalty-accounts.cjs +1 -0
- package/dist/actions/get-loyalty-accounts.cjs.map +1 -1
- package/dist/actions/get-loyalty-accounts.d.cts +3 -20
- package/dist/actions/get-loyalty-accounts.d.cts.map +1 -1
- package/dist/actions/get-loyalty-accounts.d.mts +3 -20
- package/dist/actions/get-loyalty-accounts.d.mts.map +1 -1
- package/dist/actions/get-loyalty-accounts.mjs +1 -0
- package/dist/actions/get-loyalty-accounts.mjs.map +1 -1
- package/dist/actions/get-loyalty-bonus-operations.cjs +1 -0
- package/dist/actions/get-loyalty-bonus-operations.cjs.map +1 -1
- package/dist/actions/get-loyalty-bonus-operations.d.cts +3 -18
- package/dist/actions/get-loyalty-bonus-operations.d.cts.map +1 -1
- package/dist/actions/get-loyalty-bonus-operations.d.mts +3 -18
- package/dist/actions/get-loyalty-bonus-operations.d.mts.map +1 -1
- package/dist/actions/get-loyalty-bonus-operations.mjs +1 -0
- package/dist/actions/get-loyalty-bonus-operations.mjs.map +1 -1
- package/dist/actions/get-loyalty-loyalties.cjs +1 -0
- package/dist/actions/get-loyalty-loyalties.cjs.map +1 -1
- package/dist/actions/get-loyalty-loyalties.d.cts +3 -18
- package/dist/actions/get-loyalty-loyalties.d.cts.map +1 -1
- package/dist/actions/get-loyalty-loyalties.d.mts +3 -18
- package/dist/actions/get-loyalty-loyalties.d.mts.map +1 -1
- package/dist/actions/get-loyalty-loyalties.mjs +1 -0
- package/dist/actions/get-loyalty-loyalties.mjs.map +1 -1
- package/dist/actions/get-order.cjs +1 -0
- package/dist/actions/get-order.cjs.map +1 -1
- package/dist/actions/get-order.d.cts +3 -17
- package/dist/actions/get-order.d.cts.map +1 -1
- package/dist/actions/get-order.d.mts +3 -17
- package/dist/actions/get-order.d.mts.map +1 -1
- package/dist/actions/get-order.mjs +1 -0
- package/dist/actions/get-order.mjs.map +1 -1
- package/dist/actions/get-orders-history.cjs +1 -0
- package/dist/actions/get-orders-history.cjs.map +1 -1
- package/dist/actions/get-orders-history.d.cts +3 -20
- package/dist/actions/get-orders-history.d.cts.map +1 -1
- package/dist/actions/get-orders-history.d.mts +3 -20
- package/dist/actions/get-orders-history.d.mts.map +1 -1
- package/dist/actions/get-orders-history.mjs +1 -0
- package/dist/actions/get-orders-history.mjs.map +1 -1
- package/dist/actions/get-orders-packs-history.cjs +1 -0
- package/dist/actions/get-orders-packs-history.cjs.map +1 -1
- package/dist/actions/get-orders-packs-history.d.cts +3 -18
- package/dist/actions/get-orders-packs-history.d.cts.map +1 -1
- package/dist/actions/get-orders-packs-history.d.mts +3 -18
- package/dist/actions/get-orders-packs-history.d.mts.map +1 -1
- package/dist/actions/get-orders-packs-history.mjs +1 -0
- package/dist/actions/get-orders-packs-history.mjs.map +1 -1
- package/dist/actions/get-orders.cjs +1 -0
- package/dist/actions/get-orders.cjs.map +1 -1
- package/dist/actions/get-orders.d.cts +3 -20
- package/dist/actions/get-orders.d.cts.map +1 -1
- package/dist/actions/get-orders.d.mts +3 -20
- package/dist/actions/get-orders.d.mts.map +1 -1
- package/dist/actions/get-orders.mjs +1 -0
- package/dist/actions/get-orders.mjs.map +1 -1
- package/dist/actions/get-products.cjs +1 -0
- package/dist/actions/get-products.cjs.map +1 -1
- package/dist/actions/get-products.d.cts +3 -29
- package/dist/actions/get-products.d.cts.map +1 -1
- package/dist/actions/get-products.d.mts +3 -29
- package/dist/actions/get-products.d.mts.map +1 -1
- package/dist/actions/get-products.mjs +1 -0
- package/dist/actions/get-products.mjs.map +1 -1
- package/dist/actions/get-reference-cost-groups.cjs +1 -0
- package/dist/actions/get-reference-cost-groups.cjs.map +1 -1
- package/dist/actions/get-reference-cost-groups.d.cts +3 -15
- package/dist/actions/get-reference-cost-groups.d.cts.map +1 -1
- package/dist/actions/get-reference-cost-groups.d.mts +3 -15
- package/dist/actions/get-reference-cost-groups.d.mts.map +1 -1
- package/dist/actions/get-reference-cost-groups.mjs +1 -0
- package/dist/actions/get-reference-cost-groups.mjs.map +1 -1
- package/dist/actions/get-reference-cost-items.cjs +1 -0
- package/dist/actions/get-reference-cost-items.cjs.map +1 -1
- package/dist/actions/get-reference-cost-items.d.cts +3 -15
- package/dist/actions/get-reference-cost-items.d.cts.map +1 -1
- package/dist/actions/get-reference-cost-items.d.mts +3 -15
- package/dist/actions/get-reference-cost-items.d.mts.map +1 -1
- package/dist/actions/get-reference-cost-items.mjs +1 -0
- package/dist/actions/get-reference-cost-items.mjs.map +1 -1
- package/dist/actions/get-reference-countries.cjs +1 -0
- package/dist/actions/get-reference-countries.cjs.map +1 -1
- package/dist/actions/get-reference-countries.d.cts +3 -15
- package/dist/actions/get-reference-countries.d.cts.map +1 -1
- package/dist/actions/get-reference-countries.d.mts +3 -15
- package/dist/actions/get-reference-countries.d.mts.map +1 -1
- package/dist/actions/get-reference-countries.mjs +1 -0
- package/dist/actions/get-reference-countries.mjs.map +1 -1
- package/dist/actions/get-reference-couriers.cjs +1 -0
- package/dist/actions/get-reference-couriers.cjs.map +1 -1
- package/dist/actions/get-reference-couriers.d.cts +3 -18
- package/dist/actions/get-reference-couriers.d.cts.map +1 -1
- package/dist/actions/get-reference-couriers.d.mts +3 -18
- package/dist/actions/get-reference-couriers.d.mts.map +1 -1
- package/dist/actions/get-reference-couriers.mjs +1 -0
- package/dist/actions/get-reference-couriers.mjs.map +1 -1
- package/dist/actions/get-reference-currencies.cjs +1 -0
- package/dist/actions/get-reference-currencies.cjs.map +1 -1
- package/dist/actions/get-reference-currencies.d.cts +3 -15
- package/dist/actions/get-reference-currencies.d.cts.map +1 -1
- package/dist/actions/get-reference-currencies.d.mts +3 -15
- package/dist/actions/get-reference-currencies.d.mts.map +1 -1
- package/dist/actions/get-reference-currencies.mjs +1 -0
- package/dist/actions/get-reference-currencies.mjs.map +1 -1
- package/dist/actions/get-reference-delivery-services.cjs +1 -0
- package/dist/actions/get-reference-delivery-services.cjs.map +1 -1
- package/dist/actions/get-reference-delivery-services.d.cts +3 -15
- package/dist/actions/get-reference-delivery-services.d.cts.map +1 -1
- package/dist/actions/get-reference-delivery-services.d.mts +3 -15
- package/dist/actions/get-reference-delivery-services.d.mts.map +1 -1
- package/dist/actions/get-reference-delivery-services.mjs +1 -0
- package/dist/actions/get-reference-delivery-services.mjs.map +1 -1
- package/dist/actions/get-reference-delivery-types.cjs +1 -0
- package/dist/actions/get-reference-delivery-types.cjs.map +1 -1
- package/dist/actions/get-reference-delivery-types.d.cts +3 -15
- package/dist/actions/get-reference-delivery-types.d.cts.map +1 -1
- package/dist/actions/get-reference-delivery-types.d.mts +3 -15
- package/dist/actions/get-reference-delivery-types.d.mts.map +1 -1
- package/dist/actions/get-reference-delivery-types.mjs +1 -0
- package/dist/actions/get-reference-delivery-types.mjs.map +1 -1
- package/dist/actions/get-reference-legal-entities.cjs +1 -0
- package/dist/actions/get-reference-legal-entities.cjs.map +1 -1
- package/dist/actions/get-reference-legal-entities.d.cts +3 -15
- package/dist/actions/get-reference-legal-entities.d.cts.map +1 -1
- package/dist/actions/get-reference-legal-entities.d.mts +3 -15
- package/dist/actions/get-reference-legal-entities.d.mts.map +1 -1
- package/dist/actions/get-reference-legal-entities.mjs +1 -0
- package/dist/actions/get-reference-legal-entities.mjs.map +1 -1
- package/dist/actions/get-reference-mg-channels.cjs +1 -0
- package/dist/actions/get-reference-mg-channels.cjs.map +1 -1
- package/dist/actions/get-reference-mg-channels.d.cts +3 -15
- package/dist/actions/get-reference-mg-channels.d.cts.map +1 -1
- package/dist/actions/get-reference-mg-channels.d.mts +3 -15
- package/dist/actions/get-reference-mg-channels.d.mts.map +1 -1
- package/dist/actions/get-reference-mg-channels.mjs +1 -0
- package/dist/actions/get-reference-mg-channels.mjs.map +1 -1
- package/dist/actions/get-reference-order-methods.cjs +1 -0
- package/dist/actions/get-reference-order-methods.cjs.map +1 -1
- package/dist/actions/get-reference-order-methods.d.cts +3 -15
- package/dist/actions/get-reference-order-methods.d.cts.map +1 -1
- package/dist/actions/get-reference-order-methods.d.mts +3 -15
- package/dist/actions/get-reference-order-methods.d.mts.map +1 -1
- package/dist/actions/get-reference-order-methods.mjs +1 -0
- package/dist/actions/get-reference-order-methods.mjs.map +1 -1
- package/dist/actions/get-reference-order-types.cjs +1 -0
- package/dist/actions/get-reference-order-types.cjs.map +1 -1
- package/dist/actions/get-reference-order-types.d.cts +3 -15
- package/dist/actions/get-reference-order-types.d.cts.map +1 -1
- package/dist/actions/get-reference-order-types.d.mts +3 -15
- package/dist/actions/get-reference-order-types.d.mts.map +1 -1
- package/dist/actions/get-reference-order-types.mjs +1 -0
- package/dist/actions/get-reference-order-types.mjs.map +1 -1
- package/dist/actions/get-reference-payment-statuses.cjs +1 -0
- package/dist/actions/get-reference-payment-statuses.cjs.map +1 -1
- package/dist/actions/get-reference-payment-statuses.d.cts +3 -15
- package/dist/actions/get-reference-payment-statuses.d.cts.map +1 -1
- package/dist/actions/get-reference-payment-statuses.d.mts +3 -15
- package/dist/actions/get-reference-payment-statuses.d.mts.map +1 -1
- package/dist/actions/get-reference-payment-statuses.mjs +1 -0
- package/dist/actions/get-reference-payment-statuses.mjs.map +1 -1
- package/dist/actions/get-reference-payment-types.cjs +1 -0
- package/dist/actions/get-reference-payment-types.cjs.map +1 -1
- package/dist/actions/get-reference-payment-types.d.cts +3 -15
- package/dist/actions/get-reference-payment-types.d.cts.map +1 -1
- package/dist/actions/get-reference-payment-types.d.mts +3 -15
- package/dist/actions/get-reference-payment-types.d.mts.map +1 -1
- package/dist/actions/get-reference-payment-types.mjs +1 -0
- package/dist/actions/get-reference-payment-types.mjs.map +1 -1
- package/dist/actions/get-reference-price-types.cjs +1 -0
- package/dist/actions/get-reference-price-types.cjs.map +1 -1
- package/dist/actions/get-reference-price-types.d.cts +3 -15
- package/dist/actions/get-reference-price-types.d.cts.map +1 -1
- package/dist/actions/get-reference-price-types.d.mts +3 -15
- package/dist/actions/get-reference-price-types.d.mts.map +1 -1
- package/dist/actions/get-reference-price-types.mjs +1 -0
- package/dist/actions/get-reference-price-types.mjs.map +1 -1
- package/dist/actions/get-reference-product-statuses.cjs +1 -0
- package/dist/actions/get-reference-product-statuses.cjs.map +1 -1
- package/dist/actions/get-reference-product-statuses.d.cts +3 -15
- package/dist/actions/get-reference-product-statuses.d.cts.map +1 -1
- package/dist/actions/get-reference-product-statuses.d.mts +3 -15
- package/dist/actions/get-reference-product-statuses.d.mts.map +1 -1
- package/dist/actions/get-reference-product-statuses.mjs +1 -0
- package/dist/actions/get-reference-product-statuses.mjs.map +1 -1
- package/dist/actions/get-reference-status-groups.cjs +1 -0
- package/dist/actions/get-reference-status-groups.cjs.map +1 -1
- package/dist/actions/get-reference-status-groups.d.cts +3 -15
- package/dist/actions/get-reference-status-groups.d.cts.map +1 -1
- package/dist/actions/get-reference-status-groups.d.mts +3 -15
- package/dist/actions/get-reference-status-groups.d.mts.map +1 -1
- package/dist/actions/get-reference-status-groups.mjs +1 -0
- package/dist/actions/get-reference-status-groups.mjs.map +1 -1
- package/dist/actions/get-reference-statuses.cjs +1 -0
- package/dist/actions/get-reference-statuses.cjs.map +1 -1
- package/dist/actions/get-reference-statuses.d.cts +3 -15
- package/dist/actions/get-reference-statuses.d.cts.map +1 -1
- package/dist/actions/get-reference-statuses.d.mts +3 -15
- package/dist/actions/get-reference-statuses.d.mts.map +1 -1
- package/dist/actions/get-reference-statuses.mjs +1 -0
- package/dist/actions/get-reference-statuses.mjs.map +1 -1
- package/dist/actions/get-reference-subscriptions.cjs +1 -0
- package/dist/actions/get-reference-subscriptions.cjs.map +1 -1
- package/dist/actions/get-reference-subscriptions.d.cts +3 -15
- package/dist/actions/get-reference-subscriptions.d.cts.map +1 -1
- package/dist/actions/get-reference-subscriptions.d.mts +3 -15
- package/dist/actions/get-reference-subscriptions.d.mts.map +1 -1
- package/dist/actions/get-reference-subscriptions.mjs +1 -0
- package/dist/actions/get-reference-subscriptions.mjs.map +1 -1
- package/dist/actions/get-reference-units.cjs +1 -0
- package/dist/actions/get-reference-units.cjs.map +1 -1
- package/dist/actions/get-reference-units.d.cts +3 -15
- package/dist/actions/get-reference-units.d.cts.map +1 -1
- package/dist/actions/get-reference-units.d.mts +3 -15
- package/dist/actions/get-reference-units.d.mts.map +1 -1
- package/dist/actions/get-reference-units.mjs +1 -0
- package/dist/actions/get-reference-units.mjs.map +1 -1
- package/dist/actions/get-segments.cjs +1 -0
- package/dist/actions/get-segments.cjs.map +1 -1
- package/dist/actions/get-segments.d.cts +3 -21
- package/dist/actions/get-segments.d.cts.map +1 -1
- package/dist/actions/get-segments.d.mts +3 -21
- package/dist/actions/get-segments.d.mts.map +1 -1
- package/dist/actions/get-segments.mjs +1 -0
- package/dist/actions/get-segments.mjs.map +1 -1
- package/dist/actions/get-settings.cjs +1 -0
- package/dist/actions/get-settings.cjs.map +1 -1
- package/dist/actions/get-settings.d.cts +3 -15
- package/dist/actions/get-settings.d.cts.map +1 -1
- package/dist/actions/get-settings.d.mts +3 -15
- package/dist/actions/get-settings.d.mts.map +1 -1
- package/dist/actions/get-settings.mjs +1 -0
- package/dist/actions/get-settings.mjs.map +1 -1
- package/dist/actions/get-sites.cjs +1 -0
- package/dist/actions/get-sites.cjs.map +1 -1
- package/dist/actions/get-sites.d.cts +3 -15
- package/dist/actions/get-sites.d.cts.map +1 -1
- package/dist/actions/get-sites.d.mts +3 -15
- package/dist/actions/get-sites.d.mts.map +1 -1
- package/dist/actions/get-sites.mjs +1 -0
- package/dist/actions/get-sites.mjs.map +1 -1
- package/dist/actions/get-statistic-update.cjs +1 -0
- package/dist/actions/get-statistic-update.cjs.map +1 -1
- package/dist/actions/get-statistic-update.d.cts +3 -15
- package/dist/actions/get-statistic-update.d.cts.map +1 -1
- package/dist/actions/get-statistic-update.d.mts +3 -15
- package/dist/actions/get-statistic-update.d.mts.map +1 -1
- package/dist/actions/get-statistic-update.mjs +1 -0
- package/dist/actions/get-statistic-update.mjs.map +1 -1
- package/dist/actions/get-store-inventories.cjs +1 -0
- package/dist/actions/get-store-inventories.cjs.map +1 -1
- package/dist/actions/get-store-inventories.d.cts +3 -21
- package/dist/actions/get-store-inventories.d.cts.map +1 -1
- package/dist/actions/get-store-inventories.d.mts +3 -21
- package/dist/actions/get-store-inventories.d.mts.map +1 -1
- package/dist/actions/get-store-inventories.mjs +1 -0
- package/dist/actions/get-store-inventories.mjs.map +1 -1
- package/dist/actions/get-store-offers.cjs +1 -0
- package/dist/actions/get-store-offers.cjs.map +1 -1
- package/dist/actions/get-store-offers.d.cts +3 -18
- package/dist/actions/get-store-offers.d.cts.map +1 -1
- package/dist/actions/get-store-offers.d.mts +3 -18
- package/dist/actions/get-store-offers.d.mts.map +1 -1
- package/dist/actions/get-store-offers.mjs +1 -0
- package/dist/actions/get-store-offers.mjs.map +1 -1
- package/dist/actions/get-store-products-properties-values.cjs +1 -0
- package/dist/actions/get-store-products-properties-values.cjs.map +1 -1
- package/dist/actions/get-store-products-properties-values.d.cts +3 -18
- package/dist/actions/get-store-products-properties-values.d.cts.map +1 -1
- package/dist/actions/get-store-products-properties-values.d.mts +3 -18
- package/dist/actions/get-store-products-properties-values.d.mts.map +1 -1
- package/dist/actions/get-store-products-properties-values.mjs +1 -0
- package/dist/actions/get-store-products-properties-values.mjs.map +1 -1
- package/dist/actions/get-store-products-properties.cjs +1 -0
- package/dist/actions/get-store-products-properties.cjs.map +1 -1
- package/dist/actions/get-store-products-properties.d.cts +3 -18
- package/dist/actions/get-store-products-properties.d.cts.map +1 -1
- package/dist/actions/get-store-products-properties.d.mts +3 -18
- package/dist/actions/get-store-products-properties.d.mts.map +1 -1
- package/dist/actions/get-store-products-properties.mjs +1 -0
- package/dist/actions/get-store-products-properties.mjs.map +1 -1
- package/dist/actions/get-stores.cjs +1 -0
- package/dist/actions/get-stores.cjs.map +1 -1
- package/dist/actions/get-stores.d.cts +3 -15
- package/dist/actions/get-stores.d.cts.map +1 -1
- package/dist/actions/get-stores.d.mts +3 -15
- package/dist/actions/get-stores.d.mts.map +1 -1
- package/dist/actions/get-stores.mjs +1 -0
- package/dist/actions/get-stores.mjs.map +1 -1
- package/dist/actions/get-task.cjs +1 -0
- package/dist/actions/get-task.cjs.map +1 -1
- package/dist/actions/get-task.d.cts +3 -17
- package/dist/actions/get-task.d.cts.map +1 -1
- package/dist/actions/get-task.d.mts +3 -17
- package/dist/actions/get-task.d.mts.map +1 -1
- package/dist/actions/get-task.mjs +1 -0
- package/dist/actions/get-task.mjs.map +1 -1
- package/dist/actions/get-tasks-comments.cjs +1 -0
- package/dist/actions/get-tasks-comments.cjs.map +1 -1
- package/dist/actions/get-tasks-comments.d.cts +3 -17
- package/dist/actions/get-tasks-comments.d.cts.map +1 -1
- package/dist/actions/get-tasks-comments.d.mts +3 -17
- package/dist/actions/get-tasks-comments.d.mts.map +1 -1
- package/dist/actions/get-tasks-comments.mjs +1 -0
- package/dist/actions/get-tasks-comments.mjs.map +1 -1
- package/dist/actions/get-tasks-history.cjs +1 -0
- package/dist/actions/get-tasks-history.cjs.map +1 -1
- package/dist/actions/get-tasks-history.d.cts +3 -17
- package/dist/actions/get-tasks-history.d.cts.map +1 -1
- package/dist/actions/get-tasks-history.d.mts +3 -17
- package/dist/actions/get-tasks-history.d.mts.map +1 -1
- package/dist/actions/get-tasks-history.mjs +1 -0
- package/dist/actions/get-tasks-history.mjs.map +1 -1
- package/dist/actions/get-tasks.cjs +1 -0
- package/dist/actions/get-tasks.cjs.map +1 -1
- package/dist/actions/get-tasks.d.cts +3 -26
- package/dist/actions/get-tasks.d.cts.map +1 -1
- package/dist/actions/get-tasks.d.mts +3 -26
- package/dist/actions/get-tasks.d.mts.map +1 -1
- package/dist/actions/get-tasks.mjs +1 -0
- package/dist/actions/get-tasks.mjs.map +1 -1
- package/dist/actions/get-telephony-setting.cjs +1 -0
- package/dist/actions/get-telephony-setting.cjs.map +1 -1
- package/dist/actions/get-telephony-setting.d.cts +3 -17
- package/dist/actions/get-telephony-setting.d.cts.map +1 -1
- package/dist/actions/get-telephony-setting.d.mts +3 -17
- package/dist/actions/get-telephony-setting.d.mts.map +1 -1
- package/dist/actions/get-telephony-setting.mjs +1 -0
- package/dist/actions/get-telephony-setting.mjs.map +1 -1
- package/dist/actions/get-user-groups.cjs +1 -0
- package/dist/actions/get-user-groups.cjs.map +1 -1
- package/dist/actions/get-user-groups.d.cts +3 -18
- package/dist/actions/get-user-groups.d.cts.map +1 -1
- package/dist/actions/get-user-groups.d.mts +3 -18
- package/dist/actions/get-user-groups.d.mts.map +1 -1
- package/dist/actions/get-user-groups.mjs +1 -0
- package/dist/actions/get-user-groups.mjs.map +1 -1
- package/dist/actions/get-user.cjs +1 -0
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +3 -17
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +3 -17
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +1 -0
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/get-users.cjs +1 -0
- package/dist/actions/get-users.cjs.map +1 -1
- package/dist/actions/get-users.d.cts +3 -24
- package/dist/actions/get-users.d.cts.map +1 -1
- package/dist/actions/get-users.d.mts +3 -24
- package/dist/actions/get-users.d.mts.map +1 -1
- package/dist/actions/get-users.mjs +1 -0
- package/dist/actions/get-users.mjs.map +1 -1
- package/dist/actions/update-customer-subscriptions.cjs +1 -0
- package/dist/actions/update-customer-subscriptions.cjs.map +1 -1
- package/dist/actions/update-customer-subscriptions.d.cts +3 -22
- package/dist/actions/update-customer-subscriptions.d.cts.map +1 -1
- package/dist/actions/update-customer-subscriptions.d.mts +3 -22
- package/dist/actions/update-customer-subscriptions.d.mts.map +1 -1
- package/dist/actions/update-customer-subscriptions.mjs +1 -0
- package/dist/actions/update-customer-subscriptions.mjs.map +1 -1
- package/dist/actions/update-user-status.cjs +1 -0
- package/dist/actions/update-user-status.cjs.map +1 -1
- package/dist/actions/update-user-status.d.cts +3 -18
- package/dist/actions/update-user-status.d.cts.map +1 -1
- package/dist/actions/update-user-status.d.mts +3 -18
- package/dist/actions/update-user-status.d.mts.map +1 -1
- package/dist/actions/update-user-status.mjs +1 -0
- package/dist/actions/update-user-status.mjs.map +1 -1
- package/dist/actions/upload-costs.cjs +1 -0
- package/dist/actions/upload-costs.cjs.map +1 -1
- package/dist/actions/upload-costs.d.cts +3 -38
- package/dist/actions/upload-costs.d.cts.map +1 -1
- package/dist/actions/upload-costs.d.mts +3 -38
- package/dist/actions/upload-costs.d.mts.map +1 -1
- package/dist/actions/upload-costs.mjs +1 -0
- package/dist/actions/upload-costs.mjs.map +1 -1
- package/dist/actions/upload-customers-corporate.cjs +1 -0
- package/dist/actions/upload-customers-corporate.cjs.map +1 -1
- package/dist/actions/upload-customers-corporate.d.cts +3 -109
- package/dist/actions/upload-customers-corporate.d.cts.map +1 -1
- package/dist/actions/upload-customers-corporate.d.mts +3 -109
- package/dist/actions/upload-customers-corporate.d.mts.map +1 -1
- package/dist/actions/upload-customers-corporate.mjs +1 -0
- package/dist/actions/upload-customers-corporate.mjs.map +1 -1
- package/dist/actions/upload-customers.cjs +1 -0
- package/dist/actions/upload-customers.cjs.map +1 -1
- package/dist/actions/upload-customers.d.cts +3 -53
- package/dist/actions/upload-customers.d.cts.map +1 -1
- package/dist/actions/upload-customers.d.mts +3 -53
- package/dist/actions/upload-customers.d.mts.map +1 -1
- package/dist/actions/upload-customers.mjs +1 -0
- package/dist/actions/upload-customers.mjs.map +1 -1
- package/dist/actions/upload-orders.cjs +1 -0
- package/dist/actions/upload-orders.cjs.map +1 -1
- package/dist/actions/upload-orders.d.cts +3 -55
- package/dist/actions/upload-orders.d.cts.map +1 -1
- package/dist/actions/upload-orders.d.mts +3 -55
- package/dist/actions/upload-orders.d.mts.map +1 -1
- package/dist/actions/upload-orders.mjs +1 -0
- package/dist/actions/upload-orders.mjs.map +1 -1
- package/dist/actions/upload-store-prices.cjs +1 -0
- package/dist/actions/upload-store-prices.cjs.map +1 -1
- package/dist/actions/upload-store-prices.d.cts +3 -27
- package/dist/actions/upload-store-prices.d.cts.map +1 -1
- package/dist/actions/upload-store-prices.d.mts +3 -27
- package/dist/actions/upload-store-prices.d.mts.map +1 -1
- package/dist/actions/upload-store-prices.mjs +1 -0
- package/dist/actions/upload-store-prices.mjs.map +1 -1
- package/dist/actions/upload-web-analytics-client-ids.cjs +1 -0
- package/dist/actions/upload-web-analytics-client-ids.cjs.map +1 -1
- package/dist/actions/upload-web-analytics-client-ids.d.cts +3 -32
- package/dist/actions/upload-web-analytics-client-ids.d.cts.map +1 -1
- package/dist/actions/upload-web-analytics-client-ids.d.mts +3 -32
- package/dist/actions/upload-web-analytics-client-ids.d.mts.map +1 -1
- package/dist/actions/upload-web-analytics-client-ids.mjs +1 -0
- package/dist/actions/upload-web-analytics-client-ids.mjs.map +1 -1
- package/dist/actions/upload-web-analytics-sources.cjs +1 -0
- package/dist/actions/upload-web-analytics-sources.cjs.map +1 -1
- package/dist/actions/upload-web-analytics-sources.d.cts +3 -31
- package/dist/actions/upload-web-analytics-sources.d.cts.map +1 -1
- package/dist/actions/upload-web-analytics-sources.d.mts +3 -31
- package/dist/actions/upload-web-analytics-sources.d.mts.map +1 -1
- package/dist/actions/upload-web-analytics-sources.mjs +1 -0
- package/dist/actions/upload-web-analytics-sources.mjs.map +1 -1
- package/dist/app.cjs +5 -4
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-loyalty-loyalties.cjs","names":["z","action"],"sources":["../../src/actions/get-loyalty-loyalties.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComGetLoyaltyLoyaltiesInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (default: 1)\").optional(),\n limit: z.number().int().describe(\"Number of loyalty programs per page (default: 20)\").optional(),\n}).describe(\"Parameters for retrieving loyalty programs with optional pagination\");\nconst SimlaComGetLoyaltyLoyalties_LoyaltyProgramSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the loyalty program\").nullable(),\n name: z.string().describe(\"Name of the loyalty program\").nullable(),\n active: z.boolean().describe(\"Whether the loyalty program is active\").nullable(),\n blocked: z.boolean().describe(\"Whether the loyalty program is blocked\").nullable(),\n createdAt: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Details of a loyalty program\");\nconst SimlaComGetLoyaltyLoyalties_PaginationSchema = z.object({\n limit: z.number().int().describe(\"Number of items per page\").nullable(),\n totalCount: z.number().int().describe(\"Total number of loyalty programs available\").nullable(),\n currentPage: z.number().int().describe(\"Current page number\").nullable(),\n totalPageCount: z.number().int().describe(\"Total number of pages\").nullable(),\n}).passthrough().describe(\"Pagination details for list responses\");\nexport const SimlaComGetLoyaltyLoyaltiesOutput = z.object({\n errors: z.record(z.string(), z.unknown()).describe(\"Detailed errors if the request failed\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n loyalties: z.array(SimlaComGetLoyaltyLoyalties_LoyaltyProgramSchema).describe(\"List of loyalty program objects\").nullable().optional(),\n pagination: SimlaComGetLoyaltyLoyalties_PaginationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing loyalty programs\");\n\nexport const simlaComGetLoyaltyLoyalties = action(\"SIMLA_COM_GET_LOYALTY_LOYALTIES\", {\n slug: \"simla_com-get-loyalty-loyalties\",\n name: \"Get Loyalty Loyalties\",\n description: \"Tool to retrieve a list of loyalty programs. Use when you need to fetch available loyalty programs with optional pagination.\",\n input: SimlaComGetLoyaltyLoyaltiesInput,\n output: SimlaComGetLoyaltyLoyaltiesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-loyalty-loyalties.cjs","names":["z","action"],"sources":["../../src/actions/get-loyalty-loyalties.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simlaCom } from \"../app\";\n\nexport const SimlaComGetLoyaltyLoyaltiesInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (default: 1)\").optional(),\n limit: z.number().int().describe(\"Number of loyalty programs per page (default: 20)\").optional(),\n}).describe(\"Parameters for retrieving loyalty programs with optional pagination\");\nconst SimlaComGetLoyaltyLoyalties_LoyaltyProgramSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the loyalty program\").nullable(),\n name: z.string().describe(\"Name of the loyalty program\").nullable(),\n active: z.boolean().describe(\"Whether the loyalty program is active\").nullable(),\n blocked: z.boolean().describe(\"Whether the loyalty program is blocked\").nullable(),\n createdAt: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Details of a loyalty program\");\nconst SimlaComGetLoyaltyLoyalties_PaginationSchema = z.object({\n limit: z.number().int().describe(\"Number of items per page\").nullable(),\n totalCount: z.number().int().describe(\"Total number of loyalty programs available\").nullable(),\n currentPage: z.number().int().describe(\"Current page number\").nullable(),\n totalPageCount: z.number().int().describe(\"Total number of pages\").nullable(),\n}).passthrough().describe(\"Pagination details for list responses\");\nexport const SimlaComGetLoyaltyLoyaltiesOutput = z.object({\n errors: z.record(z.string(), z.unknown()).describe(\"Detailed errors if the request failed\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n loyalties: z.array(SimlaComGetLoyaltyLoyalties_LoyaltyProgramSchema).describe(\"List of loyalty program objects\").nullable().optional(),\n pagination: SimlaComGetLoyaltyLoyalties_PaginationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing loyalty programs\");\n\nexport const simlaComGetLoyaltyLoyalties: AppAction<\n typeof SimlaComGetLoyaltyLoyaltiesInput,\n typeof SimlaComGetLoyaltyLoyaltiesOutput,\n typeof simlaCom.credential\n> = action(\"SIMLA_COM_GET_LOYALTY_LOYALTIES\", {\n slug: \"simla_com-get-loyalty-loyalties\",\n name: \"Get Loyalty Loyalties\",\n description: \"Tool to retrieve a list of loyalty programs. Use when you need to fetch available loyalty programs with optional pagination.\",\n input: SimlaComGetLoyaltyLoyaltiesInput,\n output: SimlaComGetLoyaltyLoyaltiesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACvE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,YAAY,6CAA6C,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,8BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simlaCom } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-loyalty-loyalties.d.ts
|
|
@@ -23,24 +25,7 @@ declare const SimlaComGetLoyaltyLoyaltiesOutput: z.ZodObject<{
|
|
|
23
25
|
totalPageCount: z.ZodNullable<z.ZodNumber>;
|
|
24
26
|
}, z.core.$loose>>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const simlaComGetLoyaltyLoyalties:
|
|
27
|
-
page?: number | undefined;
|
|
28
|
-
limit?: number | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simla_com", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
subdomain: z.ZodString;
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simla_com", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
subdomain: z.ZodString;
|
|
42
|
-
generic_api_key: z.ZodString;
|
|
43
|
-
}, z.core.$strip>>]>;
|
|
28
|
+
declare const simlaComGetLoyaltyLoyalties: AppAction<typeof SimlaComGetLoyaltyLoyaltiesInput, typeof SimlaComGetLoyaltyLoyaltiesOutput, typeof simlaCom.credential>;
|
|
44
29
|
//#endregion
|
|
45
30
|
export { simlaComGetLoyaltyLoyalties };
|
|
46
31
|
//# sourceMappingURL=get-loyalty-loyalties.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-loyalty-loyalties.d.cts","names":[],"sources":["../../src/actions/get-loyalty-loyalties.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-loyalty-loyalties.d.cts","names":[],"sources":["../../src/actions/get-loyalty-loyalties.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAiBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAQjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simlaCom } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-loyalty-loyalties.d.ts
|
|
@@ -23,24 +25,7 @@ declare const SimlaComGetLoyaltyLoyaltiesOutput: z.ZodObject<{
|
|
|
23
25
|
totalPageCount: z.ZodNullable<z.ZodNumber>;
|
|
24
26
|
}, z.core.$loose>>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const simlaComGetLoyaltyLoyalties:
|
|
27
|
-
page?: number | undefined;
|
|
28
|
-
limit?: number | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simla_com", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
subdomain: z.ZodString;
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simla_com", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
subdomain: z.ZodString;
|
|
42
|
-
generic_api_key: z.ZodString;
|
|
43
|
-
}, z.core.$strip>>]>;
|
|
28
|
+
declare const simlaComGetLoyaltyLoyalties: AppAction<typeof SimlaComGetLoyaltyLoyaltiesInput, typeof SimlaComGetLoyaltyLoyaltiesOutput, typeof simlaCom.credential>;
|
|
44
29
|
//#endregion
|
|
45
30
|
export { simlaComGetLoyaltyLoyalties };
|
|
46
31
|
//# sourceMappingURL=get-loyalty-loyalties.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-loyalty-loyalties.d.mts","names":[],"sources":["../../src/actions/get-loyalty-loyalties.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-loyalty-loyalties.d.mts","names":[],"sources":["../../src/actions/get-loyalty-loyalties.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAiBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAQjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-loyalty-loyalties.mjs","names":[],"sources":["../../src/actions/get-loyalty-loyalties.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComGetLoyaltyLoyaltiesInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (default: 1)\").optional(),\n limit: z.number().int().describe(\"Number of loyalty programs per page (default: 20)\").optional(),\n}).describe(\"Parameters for retrieving loyalty programs with optional pagination\");\nconst SimlaComGetLoyaltyLoyalties_LoyaltyProgramSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the loyalty program\").nullable(),\n name: z.string().describe(\"Name of the loyalty program\").nullable(),\n active: z.boolean().describe(\"Whether the loyalty program is active\").nullable(),\n blocked: z.boolean().describe(\"Whether the loyalty program is blocked\").nullable(),\n createdAt: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Details of a loyalty program\");\nconst SimlaComGetLoyaltyLoyalties_PaginationSchema = z.object({\n limit: z.number().int().describe(\"Number of items per page\").nullable(),\n totalCount: z.number().int().describe(\"Total number of loyalty programs available\").nullable(),\n currentPage: z.number().int().describe(\"Current page number\").nullable(),\n totalPageCount: z.number().int().describe(\"Total number of pages\").nullable(),\n}).passthrough().describe(\"Pagination details for list responses\");\nexport const SimlaComGetLoyaltyLoyaltiesOutput = z.object({\n errors: z.record(z.string(), z.unknown()).describe(\"Detailed errors if the request failed\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n loyalties: z.array(SimlaComGetLoyaltyLoyalties_LoyaltyProgramSchema).describe(\"List of loyalty program objects\").nullable().optional(),\n pagination: SimlaComGetLoyaltyLoyalties_PaginationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing loyalty programs\");\n\nexport const simlaComGetLoyaltyLoyalties = action(\"SIMLA_COM_GET_LOYALTY_LOYALTIES\", {\n slug: \"simla_com-get-loyalty-loyalties\",\n name: \"Get Loyalty Loyalties\",\n description: \"Tool to retrieve a list of loyalty programs. Use when you need to fetch available loyalty programs with optional pagination.\",\n input: SimlaComGetLoyaltyLoyaltiesInput,\n output: SimlaComGetLoyaltyLoyaltiesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-loyalty-loyalties.mjs","names":[],"sources":["../../src/actions/get-loyalty-loyalties.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simlaCom } from \"../app\";\n\nexport const SimlaComGetLoyaltyLoyaltiesInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (default: 1)\").optional(),\n limit: z.number().int().describe(\"Number of loyalty programs per page (default: 20)\").optional(),\n}).describe(\"Parameters for retrieving loyalty programs with optional pagination\");\nconst SimlaComGetLoyaltyLoyalties_LoyaltyProgramSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the loyalty program\").nullable(),\n name: z.string().describe(\"Name of the loyalty program\").nullable(),\n active: z.boolean().describe(\"Whether the loyalty program is active\").nullable(),\n blocked: z.boolean().describe(\"Whether the loyalty program is blocked\").nullable(),\n createdAt: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Details of a loyalty program\");\nconst SimlaComGetLoyaltyLoyalties_PaginationSchema = z.object({\n limit: z.number().int().describe(\"Number of items per page\").nullable(),\n totalCount: z.number().int().describe(\"Total number of loyalty programs available\").nullable(),\n currentPage: z.number().int().describe(\"Current page number\").nullable(),\n totalPageCount: z.number().int().describe(\"Total number of pages\").nullable(),\n}).passthrough().describe(\"Pagination details for list responses\");\nexport const SimlaComGetLoyaltyLoyaltiesOutput = z.object({\n errors: z.record(z.string(), z.unknown()).describe(\"Detailed errors if the request failed\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n loyalties: z.array(SimlaComGetLoyaltyLoyalties_LoyaltyProgramSchema).describe(\"List of loyalty program objects\").nullable().optional(),\n pagination: SimlaComGetLoyaltyLoyalties_PaginationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing loyalty programs\");\n\nexport const simlaComGetLoyaltyLoyalties: AppAction<\n typeof SimlaComGetLoyaltyLoyaltiesInput,\n typeof SimlaComGetLoyaltyLoyaltiesOutput,\n typeof simlaCom.credential\n> = action(\"SIMLA_COM_GET_LOYALTY_LOYALTIES\", {\n slug: \"simla_com-get-loyalty-loyalties\",\n name: \"Get Loyalty Loyalties\",\n description: \"Tool to retrieve a list of loyalty programs. Use when you need to fetch available loyalty programs with optional pagination.\",\n input: SimlaComGetLoyaltyLoyaltiesInput,\n output: SimlaComGetLoyaltyLoyaltiesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,m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,yCAAyC,CAAC,CAAC,SAAS;EAClF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,WAAW,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,YAAY,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-order.cjs","names":["z","action"],"sources":["../../src/actions/get-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComGetOrderInput = z.object({\n external_id: z.string().describe(\"External identifier of the order to retrieve\"),\n}).describe(\"Request model for retrieving a specific order by external ID\");\nconst SimlaComGetOrder_ErrorDetailSchema = z.object({\n code: z.string().describe(\"Error code identifier\").nullable().optional(),\n message: z.string().describe(\"Error message description\").nullable().optional(),\n}).passthrough().describe(\"Error details returned when a request fails\");\nconst SimlaComGetOrder_OfferDetailSchema = z.object({\n id: z.number().int().describe(\"Offer ID\").nullable(),\n}).passthrough().describe(\"Offer details for an order item\");\nconst SimlaComGetOrder_OrderItemDetailSchema = z.object({\n offer: SimlaComGetOrder_OfferDetailSchema.nullable(),\n quantity: z.number().describe(\"Quantity of the product ordered\").nullable(),\n productName: z.string().describe(\"Name of the product\").nullable().optional(),\n}).passthrough().describe(\"Details of an item in the order\");\nconst SimlaComGetOrder_AddressDetailSchema = z.object({\n text: z.string().describe(\"Full delivery address text\").nullable().optional(),\n}).passthrough().describe(\"Delivery address details\");\nconst SimlaComGetOrder_DeliveryDetailSchema = z.object({\n address: SimlaComGetOrder_AddressDetailSchema.nullable().optional(),\n}).passthrough().describe(\"Delivery information for the order\");\nconst SimlaComGetOrder_OrderDetailSchema = z.object({\n id: z.number().int().describe(\"Internal order ID\").nullable(),\n email: z.string().describe(\"Customer email address\").nullable().optional(),\n items: z.array(SimlaComGetOrder_OrderItemDetailSchema).describe(\"List of items included in the order\").nullable().optional(),\n phone: z.string().describe(\"Customer phone number\").nullable().optional(),\n status: z.string().describe(\"Current status of the order\").nullable(),\n delivery: SimlaComGetOrder_DeliveryDetailSchema.nullable().optional(),\n lastName: z.string().describe(\"Customer last name\").nullable().optional(),\n createdAt: z.string().describe(\"Order creation time in ISO8601 format\").nullable(),\n firstName: z.string().describe(\"Customer first name\").nullable().optional(),\n orderType: z.string().describe(\"Type of the order\").nullable().optional(),\n updatedAt: z.string().describe(\"Order last update time in ISO8601 format\").nullable(),\n externalId: z.string().describe(\"External order identifier\").nullable(),\n patronymic: z.string().describe(\"Customer patronymic (middle name)\").nullable().optional(),\n orderMethod: z.string().describe(\"Method by which the order was placed\").nullable().optional(),\n customFields: z.record(z.string(), z.unknown()).describe(\"Custom key-value fields for the order\").nullable().optional(),\n customerComment: z.string().describe(\"Comment left by the customer\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about the order\");\nexport const SimlaComGetOrderOutput = z.object({\n error: SimlaComGetOrder_ErrorDetailSchema.nullable().optional(),\n order: SimlaComGetOrder_OrderDetailSchema.nullable().optional(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n}).passthrough().describe(\"Response model for GetOrder action\");\n\nexport const simlaComGetOrder = action(\"SIMLA_COM_GET_ORDER\", {\n slug: \"simla_com-get-order\",\n name: \"Get Order\",\n description: \"Tool to retrieve detailed information about a specific order. Use when you need to fetch full order data by external ID before further processing.\",\n input: SimlaComGetOrderInput,\n output: SimlaComGetOrderOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-order.cjs","names":["z","action"],"sources":["../../src/actions/get-order.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simlaCom } from \"../app\";\n\nexport const SimlaComGetOrderInput = z.object({\n external_id: z.string().describe(\"External identifier of the order to retrieve\"),\n}).describe(\"Request model for retrieving a specific order by external ID\");\nconst SimlaComGetOrder_ErrorDetailSchema = z.object({\n code: z.string().describe(\"Error code identifier\").nullable().optional(),\n message: z.string().describe(\"Error message description\").nullable().optional(),\n}).passthrough().describe(\"Error details returned when a request fails\");\nconst SimlaComGetOrder_OfferDetailSchema = z.object({\n id: z.number().int().describe(\"Offer ID\").nullable(),\n}).passthrough().describe(\"Offer details for an order item\");\nconst SimlaComGetOrder_OrderItemDetailSchema = z.object({\n offer: SimlaComGetOrder_OfferDetailSchema.nullable(),\n quantity: z.number().describe(\"Quantity of the product ordered\").nullable(),\n productName: z.string().describe(\"Name of the product\").nullable().optional(),\n}).passthrough().describe(\"Details of an item in the order\");\nconst SimlaComGetOrder_AddressDetailSchema = z.object({\n text: z.string().describe(\"Full delivery address text\").nullable().optional(),\n}).passthrough().describe(\"Delivery address details\");\nconst SimlaComGetOrder_DeliveryDetailSchema = z.object({\n address: SimlaComGetOrder_AddressDetailSchema.nullable().optional(),\n}).passthrough().describe(\"Delivery information for the order\");\nconst SimlaComGetOrder_OrderDetailSchema = z.object({\n id: z.number().int().describe(\"Internal order ID\").nullable(),\n email: z.string().describe(\"Customer email address\").nullable().optional(),\n items: z.array(SimlaComGetOrder_OrderItemDetailSchema).describe(\"List of items included in the order\").nullable().optional(),\n phone: z.string().describe(\"Customer phone number\").nullable().optional(),\n status: z.string().describe(\"Current status of the order\").nullable(),\n delivery: SimlaComGetOrder_DeliveryDetailSchema.nullable().optional(),\n lastName: z.string().describe(\"Customer last name\").nullable().optional(),\n createdAt: z.string().describe(\"Order creation time in ISO8601 format\").nullable(),\n firstName: z.string().describe(\"Customer first name\").nullable().optional(),\n orderType: z.string().describe(\"Type of the order\").nullable().optional(),\n updatedAt: z.string().describe(\"Order last update time in ISO8601 format\").nullable(),\n externalId: z.string().describe(\"External order identifier\").nullable(),\n patronymic: z.string().describe(\"Customer patronymic (middle name)\").nullable().optional(),\n orderMethod: z.string().describe(\"Method by which the order was placed\").nullable().optional(),\n customFields: z.record(z.string(), z.unknown()).describe(\"Custom key-value fields for the order\").nullable().optional(),\n customerComment: z.string().describe(\"Comment left by the customer\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about the order\");\nexport const SimlaComGetOrderOutput = z.object({\n error: SimlaComGetOrder_ErrorDetailSchema.nullable().optional(),\n order: SimlaComGetOrder_OrderDetailSchema.nullable().optional(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n}).passthrough().describe(\"Response model for GetOrder action\");\n\nexport const simlaComGetOrder: AppAction<\n typeof SimlaComGetOrderInput,\n typeof SimlaComGetOrderOutput,\n typeof simlaCom.credential\n> = action(\"SIMLA_COM_GET_ORDER\", {\n slug: \"simla_com-get-order\",\n name: \"Get Order\",\n description: \"Tool to retrieve detailed information about a specific order. Use when you need to fetch full order data by external ID before further processing.\",\n input: SimlaComGetOrderInput,\n output: SimlaComGetOrderOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EACjF,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,qCAAqCA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCA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AS,oCAAoC;AAE9D,MAAa,mBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simlaCom } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-order.d.ts
|
|
@@ -39,23 +41,7 @@ declare const SimlaComGetOrderOutput: z.ZodObject<{
|
|
|
39
41
|
}, z.core.$loose>>>;
|
|
40
42
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
41
43
|
}, z.core.$loose>;
|
|
42
|
-
declare const simlaComGetOrder:
|
|
43
|
-
external_id: string;
|
|
44
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simla_com", z.ZodObject<{
|
|
45
|
-
connectionId: z.ZodString;
|
|
46
|
-
entityId: z.ZodString;
|
|
47
|
-
instanceId: z.ZodString;
|
|
48
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
-
subdomain: z.ZodString;
|
|
50
|
-
generic_api_key: z.ZodString;
|
|
51
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simla_com", z.ZodObject<{
|
|
52
|
-
connectionId: z.ZodString;
|
|
53
|
-
entityId: z.ZodString;
|
|
54
|
-
instanceId: z.ZodString;
|
|
55
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
-
subdomain: z.ZodString;
|
|
57
|
-
generic_api_key: z.ZodString;
|
|
58
|
-
}, z.core.$strip>>]>;
|
|
44
|
+
declare const simlaComGetOrder: AppAction<typeof SimlaComGetOrderInput, typeof SimlaComGetOrderOutput, typeof simlaCom.credential>;
|
|
59
45
|
//#endregion
|
|
60
46
|
export { simlaComGetOrder };
|
|
61
47
|
//# sourceMappingURL=get-order.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-order.d.cts","names":[],"sources":["../../src/actions/get-order.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-order.d.cts","names":[],"sources":["../../src/actions/get-order.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAuCrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simlaCom } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-order.d.ts
|
|
@@ -39,23 +41,7 @@ declare const SimlaComGetOrderOutput: z.ZodObject<{
|
|
|
39
41
|
}, z.core.$loose>>>;
|
|
40
42
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
41
43
|
}, z.core.$loose>;
|
|
42
|
-
declare const simlaComGetOrder:
|
|
43
|
-
external_id: string;
|
|
44
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simla_com", z.ZodObject<{
|
|
45
|
-
connectionId: z.ZodString;
|
|
46
|
-
entityId: z.ZodString;
|
|
47
|
-
instanceId: z.ZodString;
|
|
48
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
-
subdomain: z.ZodString;
|
|
50
|
-
generic_api_key: z.ZodString;
|
|
51
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simla_com", z.ZodObject<{
|
|
52
|
-
connectionId: z.ZodString;
|
|
53
|
-
entityId: z.ZodString;
|
|
54
|
-
instanceId: z.ZodString;
|
|
55
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
-
subdomain: z.ZodString;
|
|
57
|
-
generic_api_key: z.ZodString;
|
|
58
|
-
}, z.core.$strip>>]>;
|
|
44
|
+
declare const simlaComGetOrder: AppAction<typeof SimlaComGetOrderInput, typeof SimlaComGetOrderOutput, typeof simlaCom.credential>;
|
|
59
45
|
//#endregion
|
|
60
46
|
export { simlaComGetOrder };
|
|
61
47
|
//# sourceMappingURL=get-order.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-order.d.mts","names":[],"sources":["../../src/actions/get-order.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-order.d.mts","names":[],"sources":["../../src/actions/get-order.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAuCrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-order.mjs","names":[],"sources":["../../src/actions/get-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComGetOrderInput = z.object({\n external_id: z.string().describe(\"External identifier of the order to retrieve\"),\n}).describe(\"Request model for retrieving a specific order by external ID\");\nconst SimlaComGetOrder_ErrorDetailSchema = z.object({\n code: z.string().describe(\"Error code identifier\").nullable().optional(),\n message: z.string().describe(\"Error message description\").nullable().optional(),\n}).passthrough().describe(\"Error details returned when a request fails\");\nconst SimlaComGetOrder_OfferDetailSchema = z.object({\n id: z.number().int().describe(\"Offer ID\").nullable(),\n}).passthrough().describe(\"Offer details for an order item\");\nconst SimlaComGetOrder_OrderItemDetailSchema = z.object({\n offer: SimlaComGetOrder_OfferDetailSchema.nullable(),\n quantity: z.number().describe(\"Quantity of the product ordered\").nullable(),\n productName: z.string().describe(\"Name of the product\").nullable().optional(),\n}).passthrough().describe(\"Details of an item in the order\");\nconst SimlaComGetOrder_AddressDetailSchema = z.object({\n text: z.string().describe(\"Full delivery address text\").nullable().optional(),\n}).passthrough().describe(\"Delivery address details\");\nconst SimlaComGetOrder_DeliveryDetailSchema = z.object({\n address: SimlaComGetOrder_AddressDetailSchema.nullable().optional(),\n}).passthrough().describe(\"Delivery information for the order\");\nconst SimlaComGetOrder_OrderDetailSchema = z.object({\n id: z.number().int().describe(\"Internal order ID\").nullable(),\n email: z.string().describe(\"Customer email address\").nullable().optional(),\n items: z.array(SimlaComGetOrder_OrderItemDetailSchema).describe(\"List of items included in the order\").nullable().optional(),\n phone: z.string().describe(\"Customer phone number\").nullable().optional(),\n status: z.string().describe(\"Current status of the order\").nullable(),\n delivery: SimlaComGetOrder_DeliveryDetailSchema.nullable().optional(),\n lastName: z.string().describe(\"Customer last name\").nullable().optional(),\n createdAt: z.string().describe(\"Order creation time in ISO8601 format\").nullable(),\n firstName: z.string().describe(\"Customer first name\").nullable().optional(),\n orderType: z.string().describe(\"Type of the order\").nullable().optional(),\n updatedAt: z.string().describe(\"Order last update time in ISO8601 format\").nullable(),\n externalId: z.string().describe(\"External order identifier\").nullable(),\n patronymic: z.string().describe(\"Customer patronymic (middle name)\").nullable().optional(),\n orderMethod: z.string().describe(\"Method by which the order was placed\").nullable().optional(),\n customFields: z.record(z.string(), z.unknown()).describe(\"Custom key-value fields for the order\").nullable().optional(),\n customerComment: z.string().describe(\"Comment left by the customer\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about the order\");\nexport const SimlaComGetOrderOutput = z.object({\n error: SimlaComGetOrder_ErrorDetailSchema.nullable().optional(),\n order: SimlaComGetOrder_OrderDetailSchema.nullable().optional(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n}).passthrough().describe(\"Response model for GetOrder action\");\n\nexport const simlaComGetOrder = action(\"SIMLA_COM_GET_ORDER\", {\n slug: \"simla_com-get-order\",\n name: \"Get Order\",\n description: \"Tool to retrieve detailed information about a specific order. Use when you need to fetch full order data by external ID before further processing.\",\n input: SimlaComGetOrderInput,\n output: SimlaComGetOrderOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-order.mjs","names":[],"sources":["../../src/actions/get-order.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simlaCom } from \"../app\";\n\nexport const SimlaComGetOrderInput = z.object({\n external_id: z.string().describe(\"External identifier of the order to retrieve\"),\n}).describe(\"Request model for retrieving a specific order by external ID\");\nconst SimlaComGetOrder_ErrorDetailSchema = z.object({\n code: z.string().describe(\"Error code identifier\").nullable().optional(),\n message: z.string().describe(\"Error message description\").nullable().optional(),\n}).passthrough().describe(\"Error details returned when a request fails\");\nconst SimlaComGetOrder_OfferDetailSchema = z.object({\n id: z.number().int().describe(\"Offer ID\").nullable(),\n}).passthrough().describe(\"Offer details for an order item\");\nconst SimlaComGetOrder_OrderItemDetailSchema = z.object({\n offer: SimlaComGetOrder_OfferDetailSchema.nullable(),\n quantity: z.number().describe(\"Quantity of the product ordered\").nullable(),\n productName: z.string().describe(\"Name of the product\").nullable().optional(),\n}).passthrough().describe(\"Details of an item in the order\");\nconst SimlaComGetOrder_AddressDetailSchema = z.object({\n text: z.string().describe(\"Full delivery address text\").nullable().optional(),\n}).passthrough().describe(\"Delivery address details\");\nconst SimlaComGetOrder_DeliveryDetailSchema = z.object({\n address: SimlaComGetOrder_AddressDetailSchema.nullable().optional(),\n}).passthrough().describe(\"Delivery information for the order\");\nconst SimlaComGetOrder_OrderDetailSchema = z.object({\n id: z.number().int().describe(\"Internal order ID\").nullable(),\n email: z.string().describe(\"Customer email address\").nullable().optional(),\n items: z.array(SimlaComGetOrder_OrderItemDetailSchema).describe(\"List of items included in the order\").nullable().optional(),\n phone: z.string().describe(\"Customer phone number\").nullable().optional(),\n status: z.string().describe(\"Current status of the order\").nullable(),\n delivery: SimlaComGetOrder_DeliveryDetailSchema.nullable().optional(),\n lastName: z.string().describe(\"Customer last name\").nullable().optional(),\n createdAt: z.string().describe(\"Order creation time in ISO8601 format\").nullable(),\n firstName: z.string().describe(\"Customer first name\").nullable().optional(),\n orderType: z.string().describe(\"Type of the order\").nullable().optional(),\n updatedAt: z.string().describe(\"Order last update time in ISO8601 format\").nullable(),\n externalId: z.string().describe(\"External order identifier\").nullable(),\n patronymic: z.string().describe(\"Customer patronymic (middle name)\").nullable().optional(),\n orderMethod: z.string().describe(\"Method by which the order was placed\").nullable().optional(),\n customFields: z.record(z.string(), z.unknown()).describe(\"Custom key-value fields for the order\").nullable().optional(),\n customerComment: z.string().describe(\"Comment left by the customer\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about the order\");\nexport const SimlaComGetOrderOutput = z.object({\n error: SimlaComGetOrder_ErrorDetailSchema.nullable().optional(),\n order: SimlaComGetOrder_OrderDetailSchema.nullable().optional(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n}).passthrough().describe(\"Response model for GetOrder action\");\n\nexport const simlaComGetOrder: AppAction<\n typeof SimlaComGetOrderInput,\n typeof SimlaComGetOrderOutput,\n typeof simlaCom.credential\n> = action(\"SIMLA_COM_GET_ORDER\", {\n slug: \"simla_com-get-order\",\n name: \"Get Order\",\n description: \"Tool to retrieve detailed information about a specific order. Use when you need to fetch full order data by external ID before further processing.\",\n input: SimlaComGetOrderInput,\n output: SimlaComGetOrderOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EACjF,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,qCAAqC,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,C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AC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-orders-history.cjs","names":["z","action"],"sources":["../../src/actions/get-orders-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComGetOrdersHistoryInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Note: Since May 15, 2023, using both page and filter[sinceId] together returns HTTP 400 error. Recommended to use filter[sinceId] instead of page for pagination.\").optional(),\n limit: z.number().int().describe(\"Pagination limit for number of records returned. Default and maximum is 100.\").optional(),\n filter_sinceId: z.number().int().describe(\"Filter to get records starting from a specific history ID. Used for pagination in subsequent calls. Should contain the last history record ID from previous call.\").optional(),\n filter_startDate: z.string().describe(\"Filter history by start date (e.g., history for 1 month). Format: YYYY-MM-DD HH:MM:SS\").optional(),\n}).describe(\"Request parameters for retrieving order change history\");\nconst SimlaComGetOrdersHistory_OfferInfoSchema = z.object({\n id: z.number().int().describe(\"Offer ID\").nullable(),\n name: z.string().describe(\"Offer name\").nullable().optional(),\n externalId: z.string().describe(\"External offer ID\").nullable().optional(),\n}).passthrough().describe(\"Offer information for order items\");\nconst SimlaComGetOrdersHistory_ItemInfoSchema = z.object({\n id: z.number().int().describe(\"Item ID\").nullable(),\n offer: SimlaComGetOrdersHistory_OfferInfoSchema.nullable().optional(),\n price: z.number().describe(\"Price per unit\").nullable().optional(),\n total: z.number().describe(\"Total price for this item\").nullable().optional(),\n discount: z.number().describe(\"Discount applied\").nullable().optional(),\n quantity: z.number().describe(\"Quantity ordered\").nullable().optional(),\n}).passthrough().describe(\"Item information in order\");\nconst SimlaComGetOrdersHistory_PhoneSchema = z.object({\n number: z.string().describe(\"Phone number\").nullable(),\n}).passthrough().describe(\"Phone number object\");\nconst SimlaComGetOrdersHistory_CustomerInfoSchema = z.object({\n id: z.number().int().describe(\"Customer ID\").nullable(),\n email: z.string().describe(\"Customer's email address\").nullable().optional(),\n phones: z.array(SimlaComGetOrdersHistory_PhoneSchema).describe(\"List of phone numbers\").nullable().optional(),\n lastName: z.string().describe(\"Customer's last name\").nullable().optional(),\n firstName: z.string().describe(\"Customer's first name\").nullable().optional(),\n externalId: z.string().describe(\"External customer ID\").nullable().optional(),\n}).passthrough().describe(\"Customer information in order history\");\nconst SimlaComGetOrdersHistory_AddressInfoSchema = z.object({\n city: z.string().describe(\"City name\").nullable().optional(),\n flat: z.string().describe(\"Flat or apartment number\").nullable().optional(),\n index: z.string().describe(\"Postal code\").nullable().optional(),\n street: z.string().describe(\"Street name\").nullable().optional(),\n building: z.string().describe(\"Building number\").nullable().optional(),\n}).passthrough().describe(\"Address information in delivery details\");\nconst SimlaComGetOrdersHistory_DeliveryInfoSchema = z.object({\n code: z.string().describe(\"Delivery type code\").nullable().optional(),\n cost: z.number().describe(\"Cost of delivery\").nullable().optional(),\n address: SimlaComGetOrdersHistory_AddressInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Delivery information in order\");\nconst SimlaComGetOrdersHistory_OrderInfoSchema = z.object({\n id: z.number().int().describe(\"Order ID\").nullable(),\n items: z.array(SimlaComGetOrdersHistory_ItemInfoSchema).describe(\"List of items in the order\").nullable().optional(),\n number: z.string().describe(\"Order number\").nullable().optional(),\n status: z.string().describe(\"Order status\").nullable().optional(),\n customer: SimlaComGetOrdersHistory_CustomerInfoSchema.nullable().optional(),\n delivery: SimlaComGetOrdersHistory_DeliveryInfoSchema.nullable().optional(),\n createdAt: z.string().describe(\"Order creation timestamp\").nullable().optional(),\n externalId: z.string().describe(\"External order ID\").nullable().optional(),\n customFields: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n}).passthrough().describe(\"Complete order object with all details\");\nconst SimlaComGetOrdersHistory_ApiKeyInfoSchema = z.object({\n current: z.boolean().describe(\"Whether this is the current API key\").nullable().optional(),\n}).passthrough().describe(\"API key information if source is 'api'\");\nconst SimlaComGetOrdersHistory_HistoryRecordSchema = z.object({\n id: z.number().int().describe(\"History record ID (use this value in filter[sinceId] for next call)\").nullable(),\n field: z.string().describe(\"The field that was changed\").nullable().optional(),\n order: SimlaComGetOrdersHistory_OrderInfoSchema.nullable().optional(),\n apiKey: SimlaComGetOrdersHistory_ApiKeyInfoSchema.nullable().optional(),\n source: z.string().describe(\"Source of the change (api, code, user, rule, combine, split)\").nullable().optional(),\n created: z.boolean().describe(\"Whether this was a creation event\").nullable().optional(),\n newValue: z.unknown().describe(\"New value of the field\").nullable().optional(),\n oldValue: z.unknown().describe(\"Previous value of the field\").nullable().optional(),\n createdAt: z.string().describe(\"When the history record was created\").nullable(),\n}).passthrough().describe(\"Individual history record representing a change event\");\nconst SimlaComGetOrdersHistory_PaginationSchema = z.object({\n limit: z.number().int().describe(\"Number of records per page\").nullable(),\n totalCount: z.number().int().describe(\"Total number of history records\").nullable(),\n currentPage: z.number().int().describe(\"Current page number\").nullable(),\n totalPageCount: z.number().int().describe(\"Total number of pages\").nullable(),\n}).passthrough().describe(\"Pagination details for history list responses\");\nexport const SimlaComGetOrdersHistoryOutput = z.object({\n errors: z.record(z.string(), z.unknown()).describe(\"Detailed errors if the request failed\").nullable().optional(),\n history: z.array(SimlaComGetOrdersHistory_HistoryRecordSchema).describe(\"Array of order history records\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n pagination: SimlaComGetOrdersHistory_PaginationSchema.nullable().optional(),\n generatedAt: z.string().describe(\"Timestamp when the response was generated\").nullable().optional(),\n}).passthrough().describe(\"Response model for GetOrdersHistory action\");\n\nexport const simlaComGetOrdersHistory = action(\"SIMLA_COM_GET_ORDERS_HISTORY\", {\n slug: \"simla_com-get-orders-history\",\n name: \"Get Orders History\",\n description: \"Tool to retrieve order change history. Use when you need to track changes to orders over time with optional date filters and pagination via sinceId.\",\n input: SimlaComGetOrdersHistoryInput,\n output: Sim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qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAY,0CAA0C,SAAS,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-orders-history.cjs","names":["z","action"],"sources":["../../src/actions/get-orders-history.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simlaCom } from \"../app\";\n\nexport const SimlaComGetOrdersHistoryInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Note: Since May 15, 2023, using both page and filter[sinceId] together returns HTTP 400 error. Recommended to use filter[sinceId] instead of page for pagination.\").optional(),\n limit: z.number().int().describe(\"Pagination limit for number of records returned. Default and maximum is 100.\").optional(),\n filter_sinceId: z.number().int().describe(\"Filter to get records starting from a specific history ID. Used for pagination in subsequent calls. Should contain the last history record ID from previous call.\").optional(),\n filter_startDate: z.string().describe(\"Filter history by start date (e.g., history for 1 month). Format: YYYY-MM-DD HH:MM:SS\").optional(),\n}).describe(\"Request parameters for retrieving order change history\");\nconst SimlaComGetOrdersHistory_OfferInfoSchema = z.object({\n id: z.number().int().describe(\"Offer ID\").nullable(),\n name: z.string().describe(\"Offer name\").nullable().optional(),\n externalId: z.string().describe(\"External offer ID\").nullable().optional(),\n}).passthrough().describe(\"Offer information for order items\");\nconst SimlaComGetOrdersHistory_ItemInfoSchema = z.object({\n id: z.number().int().describe(\"Item ID\").nullable(),\n offer: SimlaComGetOrdersHistory_OfferInfoSchema.nullable().optional(),\n price: z.number().describe(\"Price per unit\").nullable().optional(),\n total: z.number().describe(\"Total price for this item\").nullable().optional(),\n discount: z.number().describe(\"Discount applied\").nullable().optional(),\n quantity: z.number().describe(\"Quantity ordered\").nullable().optional(),\n}).passthrough().describe(\"Item information in order\");\nconst SimlaComGetOrdersHistory_PhoneSchema = z.object({\n number: z.string().describe(\"Phone number\").nullable(),\n}).passthrough().describe(\"Phone number object\");\nconst SimlaComGetOrdersHistory_CustomerInfoSchema = z.object({\n id: z.number().int().describe(\"Customer ID\").nullable(),\n email: z.string().describe(\"Customer's email address\").nullable().optional(),\n phones: z.array(SimlaComGetOrdersHistory_PhoneSchema).describe(\"List of phone numbers\").nullable().optional(),\n lastName: z.string().describe(\"Customer's last name\").nullable().optional(),\n firstName: z.string().describe(\"Customer's first name\").nullable().optional(),\n externalId: z.string().describe(\"External customer ID\").nullable().optional(),\n}).passthrough().describe(\"Customer information in order history\");\nconst SimlaComGetOrdersHistory_AddressInfoSchema = z.object({\n city: z.string().describe(\"City name\").nullable().optional(),\n flat: z.string().describe(\"Flat or apartment number\").nullable().optional(),\n index: z.string().describe(\"Postal code\").nullable().optional(),\n street: z.string().describe(\"Street name\").nullable().optional(),\n building: z.string().describe(\"Building number\").nullable().optional(),\n}).passthrough().describe(\"Address information in delivery details\");\nconst SimlaComGetOrdersHistory_DeliveryInfoSchema = z.object({\n code: z.string().describe(\"Delivery type code\").nullable().optional(),\n cost: z.number().describe(\"Cost of delivery\").nullable().optional(),\n address: SimlaComGetOrdersHistory_AddressInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Delivery information in order\");\nconst SimlaComGetOrdersHistory_OrderInfoSchema = z.object({\n id: z.number().int().describe(\"Order ID\").nullable(),\n items: z.array(SimlaComGetOrdersHistory_ItemInfoSchema).describe(\"List of items in the order\").nullable().optional(),\n number: z.string().describe(\"Order number\").nullable().optional(),\n status: z.string().describe(\"Order status\").nullable().optional(),\n customer: SimlaComGetOrdersHistory_CustomerInfoSchema.nullable().optional(),\n delivery: SimlaComGetOrdersHistory_DeliveryInfoSchema.nullable().optional(),\n createdAt: z.string().describe(\"Order creation timestamp\").nullable().optional(),\n externalId: z.string().describe(\"External order ID\").nullable().optional(),\n customFields: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n}).passthrough().describe(\"Complete order object with all details\");\nconst SimlaComGetOrdersHistory_ApiKeyInfoSchema = z.object({\n current: z.boolean().describe(\"Whether this is the current API key\").nullable().optional(),\n}).passthrough().describe(\"API key information if source is 'api'\");\nconst SimlaComGetOrdersHistory_HistoryRecordSchema = z.object({\n id: z.number().int().describe(\"History record ID (use this value in filter[sinceId] for next call)\").nullable(),\n field: z.string().describe(\"The field that was changed\").nullable().optional(),\n order: SimlaComGetOrdersHistory_OrderInfoSchema.nullable().optional(),\n apiKey: SimlaComGetOrdersHistory_ApiKeyInfoSchema.nullable().optional(),\n source: z.string().describe(\"Source of the change (api, code, user, rule, combine, split)\").nullable().optional(),\n created: z.boolean().describe(\"Whether this was a creation event\").nullable().optional(),\n newValue: z.unknown().describe(\"New value of the field\").nullable().optional(),\n oldValue: z.unknown().describe(\"Previous value of the field\").nullable().optional(),\n createdAt: z.string().describe(\"When the history record was created\").nullable(),\n}).passthrough().describe(\"Individual history record representing a change event\");\nconst SimlaComGetOrdersHistory_PaginationSchema = z.object({\n limit: z.number().int().describe(\"Number of records per page\").nullable(),\n totalCount: z.number().int().describe(\"Total number of history records\").nullable(),\n currentPage: z.number().int().describe(\"Current page number\").nullable(),\n totalPageCount: z.number().int().describe(\"Total number of pages\").nullable(),\n}).passthrough().describe(\"Pagination details for history list responses\");\nexport const SimlaComGetOrdersHistoryOutput = z.object({\n errors: z.record(z.string(), z.unknown()).describe(\"Detailed errors if the request failed\").nullable().optional(),\n history: z.array(SimlaComGetOrdersHistory_HistoryRecordSchema).describe(\"Array of order history records\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n pagination: SimlaComGetOrdersHistory_PaginationSchema.nullable().optional(),\n generatedAt: z.string().describe(\"Timestamp when the response was generated\").nullable().optional(),\n}).passthrough().describe(\"Response model for GetOrdersHistory action\");\n\nexport const simlaComGetOrdersHistory: AppAction<\n typeof SimlaComGetOrdersHistoryInput,\n typeof SimlaComGetOrdersHistoryOutput,\n typeof simlaCom.credential\n> = action(\"SIMLA_COM_GET_ORDERS_HISTORY\", {\n slug: \"simla_com-get-orders-history\",\n name: \"Get Orders History\",\n description: \"Tool to retrieve order change history. Use when you need to track changes to orders over time with optional date filters and pagination via sinceId.\",\n input: SimlaComGetOrdersHistoryInput,\n output: SimlaComGetOrdersHistoryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+LAA+L,CAAC,CAAC,SAAS;CAC1O,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC1H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CACxN,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAA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EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,SAASA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAY,0CAA0C,SAAS,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,2BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simlaCom } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-orders-history.d.ts
|
|
@@ -72,26 +74,7 @@ declare const SimlaComGetOrdersHistoryOutput: z.ZodObject<{
|
|
|
72
74
|
}, z.core.$loose>>>;
|
|
73
75
|
generatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
76
|
}, z.core.$loose>;
|
|
75
|
-
declare const simlaComGetOrdersHistory:
|
|
76
|
-
page?: number | undefined;
|
|
77
|
-
limit?: number | undefined;
|
|
78
|
-
filter_sinceId?: number | undefined;
|
|
79
|
-
filter_startDate?: string | undefined;
|
|
80
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simla_com", z.ZodObject<{
|
|
81
|
-
connectionId: z.ZodString;
|
|
82
|
-
entityId: z.ZodString;
|
|
83
|
-
instanceId: z.ZodString;
|
|
84
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
85
|
-
subdomain: z.ZodString;
|
|
86
|
-
generic_api_key: z.ZodString;
|
|
87
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simla_com", z.ZodObject<{
|
|
88
|
-
connectionId: z.ZodString;
|
|
89
|
-
entityId: z.ZodString;
|
|
90
|
-
instanceId: z.ZodString;
|
|
91
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
92
|
-
subdomain: z.ZodString;
|
|
93
|
-
generic_api_key: z.ZodString;
|
|
94
|
-
}, z.core.$strip>>]>;
|
|
77
|
+
declare const simlaComGetOrdersHistory: AppAction<typeof SimlaComGetOrdersHistoryInput, typeof SimlaComGetOrdersHistoryOutput, typeof simlaCom.credential>;
|
|
95
78
|
//#endregion
|
|
96
79
|
export { simlaComGetOrdersHistory };
|
|
97
80
|
//# sourceMappingURL=get-orders-history.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-orders-history.d.cts","names":[],"sources":["../../src/actions/get-orders-history.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-orders-history.d.cts","names":[],"sources":["../../src/actions/get-orders-history.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAyE7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAS9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simlaCom } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-orders-history.d.ts
|
|
@@ -72,26 +74,7 @@ declare const SimlaComGetOrdersHistoryOutput: z.ZodObject<{
|
|
|
72
74
|
}, z.core.$loose>>>;
|
|
73
75
|
generatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
76
|
}, z.core.$loose>;
|
|
75
|
-
declare const simlaComGetOrdersHistory:
|
|
76
|
-
page?: number | undefined;
|
|
77
|
-
limit?: number | undefined;
|
|
78
|
-
filter_sinceId?: number | undefined;
|
|
79
|
-
filter_startDate?: string | undefined;
|
|
80
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simla_com", z.ZodObject<{
|
|
81
|
-
connectionId: z.ZodString;
|
|
82
|
-
entityId: z.ZodString;
|
|
83
|
-
instanceId: z.ZodString;
|
|
84
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
85
|
-
subdomain: z.ZodString;
|
|
86
|
-
generic_api_key: z.ZodString;
|
|
87
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simla_com", z.ZodObject<{
|
|
88
|
-
connectionId: z.ZodString;
|
|
89
|
-
entityId: z.ZodString;
|
|
90
|
-
instanceId: z.ZodString;
|
|
91
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
92
|
-
subdomain: z.ZodString;
|
|
93
|
-
generic_api_key: z.ZodString;
|
|
94
|
-
}, z.core.$strip>>]>;
|
|
77
|
+
declare const simlaComGetOrdersHistory: AppAction<typeof SimlaComGetOrdersHistoryInput, typeof SimlaComGetOrdersHistoryOutput, typeof simlaCom.credential>;
|
|
95
78
|
//#endregion
|
|
96
79
|
export { simlaComGetOrdersHistory };
|
|
97
80
|
//# sourceMappingURL=get-orders-history.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-orders-history.d.mts","names":[],"sources":["../../src/actions/get-orders-history.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-orders-history.d.mts","names":[],"sources":["../../src/actions/get-orders-history.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAyE7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAS9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-orders-history.mjs","names":[],"sources":["../../src/actions/get-orders-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComGetOrdersHistoryInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Note: Since May 15, 2023, using both page and filter[sinceId] together returns HTTP 400 error. Recommended to use filter[sinceId] instead of page for pagination.\").optional(),\n limit: z.number().int().describe(\"Pagination limit for number of records returned. Default and maximum is 100.\").optional(),\n filter_sinceId: z.number().int().describe(\"Filter to get records starting from a specific history ID. Used for pagination in subsequent calls. Should contain the last history record ID from previous call.\").optional(),\n filter_startDate: z.string().describe(\"Filter history by start date (e.g., history for 1 month). Format: YYYY-MM-DD HH:MM:SS\").optional(),\n}).describe(\"Request parameters for retrieving order change history\");\nconst SimlaComGetOrdersHistory_OfferInfoSchema = z.object({\n id: z.number().int().describe(\"Offer ID\").nullable(),\n name: z.string().describe(\"Offer name\").nullable().optional(),\n externalId: z.string().describe(\"External offer ID\").nullable().optional(),\n}).passthrough().describe(\"Offer information for order items\");\nconst SimlaComGetOrdersHistory_ItemInfoSchema = z.object({\n id: z.number().int().describe(\"Item ID\").nullable(),\n offer: SimlaComGetOrdersHistory_OfferInfoSchema.nullable().optional(),\n price: z.number().describe(\"Price per unit\").nullable().optional(),\n total: z.number().describe(\"Total price for this item\").nullable().optional(),\n discount: z.number().describe(\"Discount applied\").nullable().optional(),\n quantity: z.number().describe(\"Quantity ordered\").nullable().optional(),\n}).passthrough().describe(\"Item information in order\");\nconst SimlaComGetOrdersHistory_PhoneSchema = z.object({\n number: z.string().describe(\"Phone number\").nullable(),\n}).passthrough().describe(\"Phone number object\");\nconst SimlaComGetOrdersHistory_CustomerInfoSchema = z.object({\n id: z.number().int().describe(\"Customer ID\").nullable(),\n email: z.string().describe(\"Customer's email address\").nullable().optional(),\n phones: z.array(SimlaComGetOrdersHistory_PhoneSchema).describe(\"List of phone numbers\").nullable().optional(),\n lastName: z.string().describe(\"Customer's last name\").nullable().optional(),\n firstName: z.string().describe(\"Customer's first name\").nullable().optional(),\n externalId: z.string().describe(\"External customer ID\").nullable().optional(),\n}).passthrough().describe(\"Customer information in order history\");\nconst SimlaComGetOrdersHistory_AddressInfoSchema = z.object({\n city: z.string().describe(\"City name\").nullable().optional(),\n flat: z.string().describe(\"Flat or apartment number\").nullable().optional(),\n index: z.string().describe(\"Postal code\").nullable().optional(),\n street: z.string().describe(\"Street name\").nullable().optional(),\n building: z.string().describe(\"Building number\").nullable().optional(),\n}).passthrough().describe(\"Address information in delivery details\");\nconst SimlaComGetOrdersHistory_DeliveryInfoSchema = z.object({\n code: z.string().describe(\"Delivery type code\").nullable().optional(),\n cost: z.number().describe(\"Cost of delivery\").nullable().optional(),\n address: SimlaComGetOrdersHistory_AddressInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Delivery information in order\");\nconst SimlaComGetOrdersHistory_OrderInfoSchema = z.object({\n id: z.number().int().describe(\"Order ID\").nullable(),\n items: z.array(SimlaComGetOrdersHistory_ItemInfoSchema).describe(\"List of items in the order\").nullable().optional(),\n number: z.string().describe(\"Order number\").nullable().optional(),\n status: z.string().describe(\"Order status\").nullable().optional(),\n customer: SimlaComGetOrdersHistory_CustomerInfoSchema.nullable().optional(),\n delivery: SimlaComGetOrdersHistory_DeliveryInfoSchema.nullable().optional(),\n createdAt: z.string().describe(\"Order creation timestamp\").nullable().optional(),\n externalId: z.string().describe(\"External order ID\").nullable().optional(),\n customFields: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n}).passthrough().describe(\"Complete order object with all details\");\nconst SimlaComGetOrdersHistory_ApiKeyInfoSchema = z.object({\n current: z.boolean().describe(\"Whether this is the current API key\").nullable().optional(),\n}).passthrough().describe(\"API key information if source is 'api'\");\nconst SimlaComGetOrdersHistory_HistoryRecordSchema = z.object({\n id: z.number().int().describe(\"History record ID (use this value in filter[sinceId] for next call)\").nullable(),\n field: z.string().describe(\"The field that was changed\").nullable().optional(),\n order: SimlaComGetOrdersHistory_OrderInfoSchema.nullable().optional(),\n apiKey: SimlaComGetOrdersHistory_ApiKeyInfoSchema.nullable().optional(),\n source: z.string().describe(\"Source of the change (api, code, user, rule, combine, split)\").nullable().optional(),\n created: z.boolean().describe(\"Whether this was a creation event\").nullable().optional(),\n newValue: z.unknown().describe(\"New value of the field\").nullable().optional(),\n oldValue: z.unknown().describe(\"Previous value of the field\").nullable().optional(),\n createdAt: z.string().describe(\"When the history record was created\").nullable(),\n}).passthrough().describe(\"Individual history record representing a change event\");\nconst SimlaComGetOrdersHistory_PaginationSchema = z.object({\n limit: z.number().int().describe(\"Number of records per page\").nullable(),\n totalCount: z.number().int().describe(\"Total number of history records\").nullable(),\n currentPage: z.number().int().describe(\"Current page number\").nullable(),\n totalPageCount: z.number().int().describe(\"Total number of pages\").nullable(),\n}).passthrough().describe(\"Pagination details for history list responses\");\nexport const SimlaComGetOrdersHistoryOutput = z.object({\n errors: z.record(z.string(), z.unknown()).describe(\"Detailed errors if the request failed\").nullable().optional(),\n history: z.array(SimlaComGetOrdersHistory_HistoryRecordSchema).describe(\"Array of order history records\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n pagination: SimlaComGetOrdersHistory_PaginationSchema.nullable().optional(),\n generatedAt: z.string().describe(\"Timestamp when the response was generated\").nullable().optional(),\n}).passthrough().describe(\"Response model for GetOrdersHistory action\");\n\nexport const simlaComGetOrdersHistory = action(\"SIMLA_COM_GET_ORDERS_HISTORY\", {\n slug: \"simla_com-get-orders-history\",\n name: \"Get Orders History\",\n description: \"Tool to retrieve order change history. Use when you need to track changes to orders over time with optional date filters and pagination via sinceId.\",\n input: SimlaComGetOrdersHistoryInput,\n output: SimlaComGetOrdersHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+LAA+L,CAAC,CAAC,SAAS;CAC1O,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC1H,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CACxN,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;CAClD,OAAO,yCAAyC,SAAS,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AAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-orders-history.mjs","names":[],"sources":["../../src/actions/get-orders-history.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simlaCom } from \"../app\";\n\nexport const SimlaComGetOrdersHistoryInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Note: Since May 15, 2023, using both page and filter[sinceId] together returns HTTP 400 error. Recommended to use filter[sinceId] instead of page for pagination.\").optional(),\n limit: z.number().int().describe(\"Pagination limit for number of records returned. Default and maximum is 100.\").optional(),\n filter_sinceId: z.number().int().describe(\"Filter to get records starting from a specific history ID. Used for pagination in subsequent calls. Should contain the last history record ID from previous call.\").optional(),\n filter_startDate: z.string().describe(\"Filter history by start date (e.g., history for 1 month). Format: YYYY-MM-DD HH:MM:SS\").optional(),\n}).describe(\"Request parameters for retrieving order change history\");\nconst SimlaComGetOrdersHistory_OfferInfoSchema = z.object({\n id: z.number().int().describe(\"Offer ID\").nullable(),\n name: z.string().describe(\"Offer name\").nullable().optional(),\n externalId: z.string().describe(\"External offer ID\").nullable().optional(),\n}).passthrough().describe(\"Offer information for order items\");\nconst SimlaComGetOrdersHistory_ItemInfoSchema = z.object({\n id: z.number().int().describe(\"Item ID\").nullable(),\n offer: SimlaComGetOrdersHistory_OfferInfoSchema.nullable().optional(),\n price: z.number().describe(\"Price per unit\").nullable().optional(),\n total: z.number().describe(\"Total price for this item\").nullable().optional(),\n discount: z.number().describe(\"Discount applied\").nullable().optional(),\n quantity: z.number().describe(\"Quantity ordered\").nullable().optional(),\n}).passthrough().describe(\"Item information in order\");\nconst SimlaComGetOrdersHistory_PhoneSchema = z.object({\n number: z.string().describe(\"Phone number\").nullable(),\n}).passthrough().describe(\"Phone number object\");\nconst SimlaComGetOrdersHistory_CustomerInfoSchema = z.object({\n id: z.number().int().describe(\"Customer ID\").nullable(),\n email: z.string().describe(\"Customer's email address\").nullable().optional(),\n phones: z.array(SimlaComGetOrdersHistory_PhoneSchema).describe(\"List of phone numbers\").nullable().optional(),\n lastName: z.string().describe(\"Customer's last name\").nullable().optional(),\n firstName: z.string().describe(\"Customer's first name\").nullable().optional(),\n externalId: z.string().describe(\"External customer ID\").nullable().optional(),\n}).passthrough().describe(\"Customer information in order history\");\nconst SimlaComGetOrdersHistory_AddressInfoSchema = z.object({\n city: z.string().describe(\"City name\").nullable().optional(),\n flat: z.string().describe(\"Flat or apartment number\").nullable().optional(),\n index: z.string().describe(\"Postal code\").nullable().optional(),\n street: z.string().describe(\"Street name\").nullable().optional(),\n building: z.string().describe(\"Building number\").nullable().optional(),\n}).passthrough().describe(\"Address information in delivery details\");\nconst SimlaComGetOrdersHistory_DeliveryInfoSchema = z.object({\n code: z.string().describe(\"Delivery type code\").nullable().optional(),\n cost: z.number().describe(\"Cost of delivery\").nullable().optional(),\n address: SimlaComGetOrdersHistory_AddressInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Delivery information in order\");\nconst SimlaComGetOrdersHistory_OrderInfoSchema = z.object({\n id: z.number().int().describe(\"Order ID\").nullable(),\n items: z.array(SimlaComGetOrdersHistory_ItemInfoSchema).describe(\"List of items in the order\").nullable().optional(),\n number: z.string().describe(\"Order number\").nullable().optional(),\n status: z.string().describe(\"Order status\").nullable().optional(),\n customer: SimlaComGetOrdersHistory_CustomerInfoSchema.nullable().optional(),\n delivery: SimlaComGetOrdersHistory_DeliveryInfoSchema.nullable().optional(),\n createdAt: z.string().describe(\"Order creation timestamp\").nullable().optional(),\n externalId: z.string().describe(\"External order ID\").nullable().optional(),\n customFields: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n}).passthrough().describe(\"Complete order object with all details\");\nconst SimlaComGetOrdersHistory_ApiKeyInfoSchema = z.object({\n current: z.boolean().describe(\"Whether this is the current API key\").nullable().optional(),\n}).passthrough().describe(\"API key information if source is 'api'\");\nconst SimlaComGetOrdersHistory_HistoryRecordSchema = z.object({\n id: z.number().int().describe(\"History record ID (use this value in filter[sinceId] for next call)\").nullable(),\n field: z.string().describe(\"The field that was changed\").nullable().optional(),\n order: SimlaComGetOrdersHistory_OrderInfoSchema.nullable().optional(),\n apiKey: SimlaComGetOrdersHistory_ApiKeyInfoSchema.nullable().optional(),\n source: z.string().describe(\"Source of the change (api, code, user, rule, combine, split)\").nullable().optional(),\n created: z.boolean().describe(\"Whether this was a creation event\").nullable().optional(),\n newValue: z.unknown().describe(\"New value of the field\").nullable().optional(),\n oldValue: z.unknown().describe(\"Previous value of the field\").nullable().optional(),\n createdAt: z.string().describe(\"When the history record was created\").nullable(),\n}).passthrough().describe(\"Individual history record representing a change event\");\nconst SimlaComGetOrdersHistory_PaginationSchema = z.object({\n limit: z.number().int().describe(\"Number of records per page\").nullable(),\n totalCount: z.number().int().describe(\"Total number of history records\").nullable(),\n currentPage: z.number().int().describe(\"Current page number\").nullable(),\n totalPageCount: z.number().int().describe(\"Total number of pages\").nullable(),\n}).passthrough().describe(\"Pagination details for history list responses\");\nexport const SimlaComGetOrdersHistoryOutput = z.object({\n errors: z.record(z.string(), z.unknown()).describe(\"Detailed errors if the request failed\").nullable().optional(),\n history: z.array(SimlaComGetOrdersHistory_HistoryRecordSchema).describe(\"Array of order history records\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n pagination: SimlaComGetOrdersHistory_PaginationSchema.nullable().optional(),\n generatedAt: z.string().describe(\"Timestamp when the response was generated\").nullable().optional(),\n}).passthrough().describe(\"Response model for GetOrdersHistory action\");\n\nexport const simlaComGetOrdersHistory: AppAction<\n typeof SimlaComGetOrdersHistoryInput,\n typeof SimlaComGetOrdersHistoryOutput,\n typeof simlaCom.credential\n> = action(\"SIMLA_COM_GET_ORDERS_HISTORY\", {\n slug: \"simla_com-get-orders-history\",\n name: \"Get Orders History\",\n description: \"Tool to retrieve order change history. Use when you need to track changes to orders over time with optional date filters and pagination via sinceId.\",\n input: SimlaComGetOrdersHistoryInput,\n output: SimlaComGetOrdersHistoryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+LAA+L,CAAC,CAAC,SAAS;CAC1O,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC1H,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CACxN,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;CAClD,OAAO,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,UAAU,EAA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EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACvE,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAUzE,MAAa,2BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlB4C,EAAE,OAAO;EACrD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,SAAS,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAClF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,YAAY,0CAA0C,SAAS,CAAC,CAAC,SAAS;EAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-orders-packs-history.cjs","names":["z","action"],"sources":["../../src/actions/get-orders-packs-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComGetOrdersPacksHistoryInput = z.object({\n page: z.number().int().describe(\"Page number for pagination when totalPageCount > 1\").optional(),\n sinceId: z.number().int().describe(\"ID from the last processed history record. Use this in subsequent calls to get only new changes.\").optional(),\n}).describe(\"Request parameters for retrieving order packs history\");\nconst SimlaComGetOrdersPacksHistory_PackHistoryItemSchema = z.object({\n id: z.number().int().describe(\"History record ID\").nullable(),\n pack: z.record(z.string(), z.unknown()).describe(\"Pack details for this history record\").nullable().optional(),\n user: z.record(z.string(), z.unknown()).describe(\"User who made the change (if source is user)\").nullable().optional(),\n field: z.string().describe(\"The specific attribute that changed\").nullable().optional(),\n order: z.record(z.string(), z.unknown()).describe(\"Order information associated with the pack\").nullable().optional(),\n source: z.string().describe(\"Change origin code (api, code, user, rule, combine, split)\").nullable().optional(),\n newValue: z.unknown().describe(\"Updated value (may be absent if field was removed)\").nullable().optional(),\n oldValue: z.unknown().describe(\"Previous value (may be absent if field was empty)\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the change occurred in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Individual pack history record\");\nconst SimlaComGetOrdersPacksHistory_PaginationSchema = z.object({\n limit: z.number().int().describe(\"Number of items per page\").nullable(),\n totalCount: z.number().int().describe(\"Total number of history records available\").nullable(),\n currentPage: z.number().int().describe(\"Current page number\").nullable(),\n totalPageCount: z.number().int().describe(\"Total number of pages\").nullable(),\n}).passthrough().describe(\"Pagination details for history responses\");\nexport const SimlaComGetOrdersPacksHistoryOutput = z.object({\n errors: z.record(z.string(), z.unknown()).describe(\"Detailed errors if the request failed\").nullable().optional(),\n history: z.array(SimlaComGetOrdersPacksHistory_PackHistoryItemSchema).describe(\"List of pack history records\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n pagination: SimlaComGetOrdersPacksHistory_PaginationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for getting orders packs history\");\n\nexport const simlaComGetOrdersPacksHistory = action(\"SIMLA_COM_GET_ORDERS_PACKS_HISTORY\", {\n slug: \"simla_com-get-orders-packs-history\",\n name: \"Get Orders Packs History\",\n description: \"Tool to retrieve the history of order packing changes. Use when you need to track pack status updates, modifications, or apply warehouse system synchronization. Call without parameters initially, then use sinceId for incremental updates.\",\n input: SimlaComGetOrdersPacksHistoryInput,\n output: SimlaComGetOrdersPacksHistoryOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-orders-packs-history.cjs","names":["z","action"],"sources":["../../src/actions/get-orders-packs-history.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simlaCom } from \"../app\";\n\nexport const SimlaComGetOrdersPacksHistoryInput = z.object({\n page: z.number().int().describe(\"Page number for pagination when totalPageCount > 1\").optional(),\n sinceId: z.number().int().describe(\"ID from the last processed history record. Use this in subsequent calls to get only new changes.\").optional(),\n}).describe(\"Request parameters for retrieving order packs history\");\nconst SimlaComGetOrdersPacksHistory_PackHistoryItemSchema = z.object({\n id: z.number().int().describe(\"History record ID\").nullable(),\n pack: z.record(z.string(), z.unknown()).describe(\"Pack details for this history record\").nullable().optional(),\n user: z.record(z.string(), z.unknown()).describe(\"User who made the change (if source is user)\").nullable().optional(),\n field: z.string().describe(\"The specific attribute that changed\").nullable().optional(),\n order: z.record(z.string(), z.unknown()).describe(\"Order information associated with the pack\").nullable().optional(),\n source: z.string().describe(\"Change origin code (api, code, user, rule, combine, split)\").nullable().optional(),\n newValue: z.unknown().describe(\"Updated value (may be absent if field was removed)\").nullable().optional(),\n oldValue: z.unknown().describe(\"Previous value (may be absent if field was empty)\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the change occurred in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Individual pack history record\");\nconst SimlaComGetOrdersPacksHistory_PaginationSchema = z.object({\n limit: z.number().int().describe(\"Number of items per page\").nullable(),\n totalCount: z.number().int().describe(\"Total number of history records available\").nullable(),\n currentPage: z.number().int().describe(\"Current page number\").nullable(),\n totalPageCount: z.number().int().describe(\"Total number of pages\").nullable(),\n}).passthrough().describe(\"Pagination details for history responses\");\nexport const SimlaComGetOrdersPacksHistoryOutput = z.object({\n errors: z.record(z.string(), z.unknown()).describe(\"Detailed errors if the request failed\").nullable().optional(),\n history: z.array(SimlaComGetOrdersPacksHistory_PackHistoryItemSchema).describe(\"List of pack history records\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n pagination: SimlaComGetOrdersPacksHistory_PaginationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for getting orders packs history\");\n\nexport const simlaComGetOrdersPacksHistory: AppAction<\n typeof SimlaComGetOrdersPacksHistoryInput,\n typeof SimlaComGetOrdersPacksHistoryOutput,\n typeof simlaCom.credential\n> = action(\"SIMLA_COM_GET_ORDERS_PACKS_HISTORY\", {\n slug: \"simla_com-get-orders-packs-history\",\n name: \"Get Orders Packs History\",\n description: \"Tool to retrieve the history of order packing changes. Use when you need to track pack status updates, modifications, or apply warehouse system synchronization. Call without parameters initially, then use sinceId for incremental updates.\",\n input: SimlaComGetOrdersPacksHistoryInput,\n output: SimlaComGetOrdersPacksHistoryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC/F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAA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AaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACvE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,SAASA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAY,+CAA+C,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,gCAITC,eAAAA,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simlaCom } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-orders-packs-history.d.ts
|
|
@@ -27,24 +29,7 @@ declare const SimlaComGetOrdersPacksHistoryOutput: z.ZodObject<{
|
|
|
27
29
|
totalPageCount: z.ZodNullable<z.ZodNumber>;
|
|
28
30
|
}, z.core.$loose>>>;
|
|
29
31
|
}, z.core.$loose>;
|
|
30
|
-
declare const simlaComGetOrdersPacksHistory:
|
|
31
|
-
page?: number | undefined;
|
|
32
|
-
sinceId?: number | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simla_com", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
subdomain: z.ZodString;
|
|
39
|
-
generic_api_key: z.ZodString;
|
|
40
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simla_com", z.ZodObject<{
|
|
41
|
-
connectionId: z.ZodString;
|
|
42
|
-
entityId: z.ZodString;
|
|
43
|
-
instanceId: z.ZodString;
|
|
44
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
45
|
-
subdomain: z.ZodString;
|
|
46
|
-
generic_api_key: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>;
|
|
32
|
+
declare const simlaComGetOrdersPacksHistory: AppAction<typeof SimlaComGetOrdersPacksHistoryInput, typeof SimlaComGetOrdersPacksHistoryOutput, typeof simlaCom.credential>;
|
|
48
33
|
//#endregion
|
|
49
34
|
export { simlaComGetOrdersPacksHistory };
|
|
50
35
|
//# sourceMappingURL=get-orders-packs-history.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-orders-packs-history.d.cts","names":[],"sources":["../../src/actions/get-orders-packs-history.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-orders-packs-history.d.cts","names":[],"sources":["../../src/actions/get-orders-packs-history.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAqBlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAQnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,QAAA,CAAS,UAAA"}
|