@keystrokehq/simla_com 0.1.2 → 0.1.4

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.
Files changed (763) hide show
  1. package/dist/actions/add-customer-interaction-favorite.cjs +1 -1
  2. package/dist/actions/add-customer-interaction-favorite.cjs.map +1 -1
  3. package/dist/actions/add-customer-interaction-favorite.d.cts +1 -1
  4. package/dist/actions/add-customer-interaction-favorite.d.mts +1 -1
  5. package/dist/actions/add-customer-interaction-favorite.mjs +1 -1
  6. package/dist/actions/add-customer-interaction-favorite.mjs.map +1 -1
  7. package/dist/actions/combine-customers-corporate.cjs +2 -2
  8. package/dist/actions/combine-customers-corporate.cjs.map +1 -1
  9. package/dist/actions/combine-customers-corporate.d.cts +3 -2
  10. package/dist/actions/combine-customers-corporate.d.mts +3 -2
  11. package/dist/actions/combine-customers-corporate.mjs +2 -2
  12. package/dist/actions/combine-customers-corporate.mjs.map +1 -1
  13. package/dist/actions/combine-customers.cjs +2 -2
  14. package/dist/actions/combine-customers.cjs.map +1 -1
  15. package/dist/actions/combine-customers.d.cts +3 -2
  16. package/dist/actions/combine-customers.d.mts +3 -2
  17. package/dist/actions/combine-customers.mjs +2 -2
  18. package/dist/actions/combine-customers.mjs.map +1 -1
  19. package/dist/actions/combine-orders.cjs +2 -2
  20. package/dist/actions/combine-orders.cjs.map +1 -1
  21. package/dist/actions/combine-orders.d.cts +2 -2
  22. package/dist/actions/combine-orders.d.mts +2 -2
  23. package/dist/actions/combine-orders.mjs +2 -2
  24. package/dist/actions/combine-orders.mjs.map +1 -1
  25. package/dist/actions/create-cost.cjs +2 -2
  26. package/dist/actions/create-cost.cjs.map +1 -1
  27. package/dist/actions/create-cost.d.cts +2 -2
  28. package/dist/actions/create-cost.d.mts +2 -2
  29. package/dist/actions/create-cost.mjs +2 -2
  30. package/dist/actions/create-cost.mjs.map +1 -1
  31. package/dist/actions/create-custom-field.cjs +1 -1
  32. package/dist/actions/create-custom-field.cjs.map +1 -1
  33. package/dist/actions/create-custom-field.d.cts +4 -4
  34. package/dist/actions/create-custom-field.d.mts +4 -4
  35. package/dist/actions/create-custom-field.mjs +1 -1
  36. package/dist/actions/create-custom-field.mjs.map +1 -1
  37. package/dist/actions/create-custom-fields-dictionaries.cjs +2 -2
  38. package/dist/actions/create-custom-fields-dictionaries.cjs.map +1 -1
  39. package/dist/actions/create-custom-fields-dictionaries.d.cts +3 -2
  40. package/dist/actions/create-custom-fields-dictionaries.d.mts +3 -2
  41. package/dist/actions/create-custom-fields-dictionaries.mjs +2 -2
  42. package/dist/actions/create-custom-fields-dictionaries.mjs.map +1 -1
  43. package/dist/actions/create-customer-corporate.cjs +2 -2
  44. package/dist/actions/create-customer-corporate.cjs.map +1 -1
  45. package/dist/actions/create-customer-corporate.d.cts +3 -2
  46. package/dist/actions/create-customer-corporate.d.cts.map +1 -1
  47. package/dist/actions/create-customer-corporate.d.mts +3 -2
  48. package/dist/actions/create-customer-corporate.d.mts.map +1 -1
  49. package/dist/actions/create-customer-corporate.mjs +2 -2
  50. package/dist/actions/create-customer-corporate.mjs.map +1 -1
  51. package/dist/actions/create-customer-interaction-cart-set.cjs +2 -2
  52. package/dist/actions/create-customer-interaction-cart-set.cjs.map +1 -1
  53. package/dist/actions/create-customer-interaction-cart-set.d.cts +3 -2
  54. package/dist/actions/create-customer-interaction-cart-set.d.mts +3 -2
  55. package/dist/actions/create-customer-interaction-cart-set.mjs +2 -2
  56. package/dist/actions/create-customer-interaction-cart-set.mjs.map +1 -1
  57. package/dist/actions/create-customer.cjs +1 -1
  58. package/dist/actions/create-customer.cjs.map +1 -1
  59. package/dist/actions/create-customer.d.cts +1 -1
  60. package/dist/actions/create-customer.d.mts +1 -1
  61. package/dist/actions/create-customer.mjs +1 -1
  62. package/dist/actions/create-customer.mjs.map +1 -1
  63. package/dist/actions/create-customers-corporate-addresses.cjs +1 -1
  64. package/dist/actions/create-customers-corporate-addresses.cjs.map +1 -1
  65. package/dist/actions/create-customers-corporate-addresses.d.cts +1 -1
  66. package/dist/actions/create-customers-corporate-addresses.d.mts +1 -1
  67. package/dist/actions/create-customers-corporate-addresses.mjs +1 -1
  68. package/dist/actions/create-customers-corporate-addresses.mjs.map +1 -1
  69. package/dist/actions/create-customers-corporate-companies.cjs +1 -1
  70. package/dist/actions/create-customers-corporate-companies.cjs.map +1 -1
  71. package/dist/actions/create-customers-corporate-companies.d.cts +1 -1
  72. package/dist/actions/create-customers-corporate-companies.d.mts +1 -1
  73. package/dist/actions/create-customers-corporate-companies.mjs +1 -1
  74. package/dist/actions/create-customers-corporate-companies.mjs.map +1 -1
  75. package/dist/actions/create-customers-corporate-contacts.cjs +1 -1
  76. package/dist/actions/create-customers-corporate-contacts.cjs.map +1 -1
  77. package/dist/actions/create-customers-corporate-contacts.d.cts +1 -1
  78. package/dist/actions/create-customers-corporate-contacts.d.mts +1 -1
  79. package/dist/actions/create-customers-corporate-contacts.mjs +1 -1
  80. package/dist/actions/create-customers-corporate-contacts.mjs.map +1 -1
  81. package/dist/actions/create-customers-corporate-notes.cjs +3 -3
  82. package/dist/actions/create-customers-corporate-notes.cjs.map +1 -1
  83. package/dist/actions/create-customers-corporate-notes.d.cts +3 -3
  84. package/dist/actions/create-customers-corporate-notes.d.mts +3 -3
  85. package/dist/actions/create-customers-corporate-notes.mjs +3 -3
  86. package/dist/actions/create-customers-corporate-notes.mjs.map +1 -1
  87. package/dist/actions/create-customers-notes.cjs +1 -1
  88. package/dist/actions/create-customers-notes.cjs.map +1 -1
  89. package/dist/actions/create-customers-notes.d.cts +1 -1
  90. package/dist/actions/create-customers-notes.d.mts +1 -1
  91. package/dist/actions/create-customers-notes.mjs +1 -1
  92. package/dist/actions/create-customers-notes.mjs.map +1 -1
  93. package/dist/actions/create-loyalty-calculate.cjs +2 -2
  94. package/dist/actions/create-loyalty-calculate.cjs.map +1 -1
  95. package/dist/actions/create-loyalty-calculate.d.cts +3 -2
  96. package/dist/actions/create-loyalty-calculate.d.mts +3 -2
  97. package/dist/actions/create-loyalty-calculate.mjs +2 -2
  98. package/dist/actions/create-loyalty-calculate.mjs.map +1 -1
  99. package/dist/actions/create-order.cjs +3 -3
  100. package/dist/actions/create-order.cjs.map +1 -1
  101. package/dist/actions/create-order.d.cts +5 -4
  102. package/dist/actions/create-order.d.cts.map +1 -1
  103. package/dist/actions/create-order.d.mts +5 -4
  104. package/dist/actions/create-order.d.mts.map +1 -1
  105. package/dist/actions/create-order.mjs +3 -3
  106. package/dist/actions/create-order.mjs.map +1 -1
  107. package/dist/actions/create-orders-link.cjs +3 -3
  108. package/dist/actions/create-orders-link.cjs.map +1 -1
  109. package/dist/actions/create-orders-link.d.cts +4 -3
  110. package/dist/actions/create-orders-link.d.mts +4 -3
  111. package/dist/actions/create-orders-link.mjs +3 -3
  112. package/dist/actions/create-orders-link.mjs.map +1 -1
  113. package/dist/actions/create-orders-packs.cjs +1 -1
  114. package/dist/actions/create-orders-packs.cjs.map +1 -1
  115. package/dist/actions/create-orders-packs.d.cts +1 -1
  116. package/dist/actions/create-orders-packs.d.mts +1 -1
  117. package/dist/actions/create-orders-packs.mjs +1 -1
  118. package/dist/actions/create-orders-packs.mjs.map +1 -1
  119. package/dist/actions/create-orders-payments-create.cjs +2 -2
  120. package/dist/actions/create-orders-payments-create.cjs.map +1 -1
  121. package/dist/actions/create-orders-payments-create.d.cts +2 -2
  122. package/dist/actions/create-orders-payments-create.d.mts +2 -2
  123. package/dist/actions/create-orders-payments-create.mjs +2 -2
  124. package/dist/actions/create-orders-payments-create.mjs.map +1 -1
  125. package/dist/actions/create-store-inventories-upload.cjs +3 -3
  126. package/dist/actions/create-store-inventories-upload.cjs.map +1 -1
  127. package/dist/actions/create-store-inventories-upload.d.cts +5 -3
  128. package/dist/actions/create-store-inventories-upload.d.mts +5 -3
  129. package/dist/actions/create-store-inventories-upload.mjs +3 -3
  130. package/dist/actions/create-store-inventories-upload.mjs.map +1 -1
  131. package/dist/actions/create-store-products-batch-create.cjs +3 -3
  132. package/dist/actions/create-store-products-batch-create.cjs.map +1 -1
  133. package/dist/actions/create-store-products-batch-create.d.cts +4 -3
  134. package/dist/actions/create-store-products-batch-create.d.mts +4 -3
  135. package/dist/actions/create-store-products-batch-create.mjs +3 -3
  136. package/dist/actions/create-store-products-batch-create.mjs.map +1 -1
  137. package/dist/actions/create-web-analytics-visits-upload.cjs +2 -2
  138. package/dist/actions/create-web-analytics-visits-upload.cjs.map +1 -1
  139. package/dist/actions/create-web-analytics-visits-upload.d.cts +3 -2
  140. package/dist/actions/create-web-analytics-visits-upload.d.mts +3 -2
  141. package/dist/actions/create-web-analytics-visits-upload.mjs +2 -2
  142. package/dist/actions/create-web-analytics-visits-upload.mjs.map +1 -1
  143. package/dist/actions/delete-cost.cjs +1 -1
  144. package/dist/actions/delete-cost.cjs.map +1 -1
  145. package/dist/actions/delete-cost.d.cts +1 -1
  146. package/dist/actions/delete-cost.d.mts +1 -1
  147. package/dist/actions/delete-cost.mjs +1 -1
  148. package/dist/actions/delete-cost.mjs.map +1 -1
  149. package/dist/actions/delete-customers-corporate-note.cjs +1 -1
  150. package/dist/actions/delete-customers-corporate-note.cjs.map +1 -1
  151. package/dist/actions/delete-customers-corporate-note.d.cts +1 -1
  152. package/dist/actions/delete-customers-corporate-note.d.mts +1 -1
  153. package/dist/actions/delete-customers-corporate-note.mjs +1 -1
  154. package/dist/actions/delete-customers-corporate-note.mjs.map +1 -1
  155. package/dist/actions/delete-customers-note.cjs +1 -1
  156. package/dist/actions/delete-customers-note.cjs.map +1 -1
  157. package/dist/actions/delete-customers-note.d.cts +1 -1
  158. package/dist/actions/delete-customers-note.d.mts +1 -1
  159. package/dist/actions/delete-customers-note.mjs +1 -1
  160. package/dist/actions/delete-customers-note.mjs.map +1 -1
  161. package/dist/actions/delete-order-payment.cjs +1 -1
  162. package/dist/actions/delete-order-payment.cjs.map +1 -1
  163. package/dist/actions/delete-order-payment.d.cts +1 -1
  164. package/dist/actions/delete-order-payment.d.mts +1 -1
  165. package/dist/actions/delete-order-payment.mjs +1 -1
  166. package/dist/actions/delete-order-payment.mjs.map +1 -1
  167. package/dist/actions/edit-cost.cjs +5 -5
  168. package/dist/actions/edit-cost.cjs.map +1 -1
  169. package/dist/actions/edit-cost.d.cts +5 -5
  170. package/dist/actions/edit-cost.d.mts +5 -5
  171. package/dist/actions/edit-cost.mjs +5 -5
  172. package/dist/actions/edit-cost.mjs.map +1 -1
  173. package/dist/actions/edit-custom-field.cjs +1 -1
  174. package/dist/actions/edit-custom-field.cjs.map +1 -1
  175. package/dist/actions/edit-custom-field.d.cts +4 -4
  176. package/dist/actions/edit-custom-field.d.mts +4 -4
  177. package/dist/actions/edit-custom-field.mjs +1 -1
  178. package/dist/actions/edit-custom-field.mjs.map +1 -1
  179. package/dist/actions/edit-custom-fields-dictionary.cjs +1 -1
  180. package/dist/actions/edit-custom-fields-dictionary.cjs.map +1 -1
  181. package/dist/actions/edit-custom-fields-dictionary.d.cts +2 -1
  182. package/dist/actions/edit-custom-fields-dictionary.d.mts +2 -1
  183. package/dist/actions/edit-custom-fields-dictionary.mjs +1 -1
  184. package/dist/actions/edit-custom-fields-dictionary.mjs.map +1 -1
  185. package/dist/actions/edit-customer-corporate.cjs +1 -1
  186. package/dist/actions/edit-customer-corporate.cjs.map +1 -1
  187. package/dist/actions/edit-customer-corporate.d.cts +1 -1
  188. package/dist/actions/edit-customer-corporate.d.mts +1 -1
  189. package/dist/actions/edit-customer-corporate.mjs +1 -1
  190. package/dist/actions/edit-customer-corporate.mjs.map +1 -1
  191. package/dist/actions/edit-customer.cjs +1 -1
  192. package/dist/actions/edit-customer.cjs.map +1 -1
  193. package/dist/actions/edit-customer.d.cts +1 -1
  194. package/dist/actions/edit-customer.d.mts +1 -1
  195. package/dist/actions/edit-customer.mjs +1 -1
  196. package/dist/actions/edit-customer.mjs.map +1 -1
  197. package/dist/actions/edit-customers-corporate-address.cjs +1 -1
  198. package/dist/actions/edit-customers-corporate-address.cjs.map +1 -1
  199. package/dist/actions/edit-customers-corporate-address.d.cts +1 -1
  200. package/dist/actions/edit-customers-corporate-address.d.mts +1 -1
  201. package/dist/actions/edit-customers-corporate-address.mjs +1 -1
  202. package/dist/actions/edit-customers-corporate-address.mjs.map +1 -1
  203. package/dist/actions/edit-customers-corporate-company.cjs +3 -3
  204. package/dist/actions/edit-customers-corporate-company.cjs.map +1 -1
  205. package/dist/actions/edit-customers-corporate-company.d.cts +5 -5
  206. package/dist/actions/edit-customers-corporate-company.d.mts +5 -5
  207. package/dist/actions/edit-customers-corporate-company.mjs +3 -3
  208. package/dist/actions/edit-customers-corporate-company.mjs.map +1 -1
  209. package/dist/actions/edit-customers-corporate-contacts.cjs +1 -1
  210. package/dist/actions/edit-customers-corporate-contacts.cjs.map +1 -1
  211. package/dist/actions/edit-customers-corporate-contacts.d.cts +1 -1
  212. package/dist/actions/edit-customers-corporate-contacts.d.mts +1 -1
  213. package/dist/actions/edit-customers-corporate-contacts.mjs +1 -1
  214. package/dist/actions/edit-customers-corporate-contacts.mjs.map +1 -1
  215. package/dist/actions/edit-delivery-generic-setting.cjs +5 -5
  216. package/dist/actions/edit-delivery-generic-setting.cjs.map +1 -1
  217. package/dist/actions/edit-delivery-generic-setting.d.cts +9 -5
  218. package/dist/actions/edit-delivery-generic-setting.d.mts +9 -5
  219. package/dist/actions/edit-delivery-generic-setting.mjs +5 -5
  220. package/dist/actions/edit-delivery-generic-setting.mjs.map +1 -1
  221. package/dist/actions/edit-file.cjs +3 -3
  222. package/dist/actions/edit-file.cjs.map +1 -1
  223. package/dist/actions/edit-file.d.cts +3 -3
  224. package/dist/actions/edit-file.d.mts +3 -3
  225. package/dist/actions/edit-file.mjs +3 -3
  226. package/dist/actions/edit-file.mjs.map +1 -1
  227. package/dist/actions/edit-integration-module.cjs +2 -2
  228. package/dist/actions/edit-integration-module.cjs.map +1 -1
  229. package/dist/actions/edit-integration-module.d.cts +2 -2
  230. package/dist/actions/edit-integration-module.d.mts +2 -2
  231. package/dist/actions/edit-integration-module.mjs +2 -2
  232. package/dist/actions/edit-integration-module.mjs.map +1 -1
  233. package/dist/actions/edit-order.cjs +10 -10
  234. package/dist/actions/edit-order.cjs.map +1 -1
  235. package/dist/actions/edit-order.d.cts +12 -11
  236. package/dist/actions/edit-order.d.cts.map +1 -1
  237. package/dist/actions/edit-order.d.mts +12 -11
  238. package/dist/actions/edit-order.d.mts.map +1 -1
  239. package/dist/actions/edit-order.mjs +10 -10
  240. package/dist/actions/edit-order.mjs.map +1 -1
  241. package/dist/actions/edit-orders-payment.cjs +1 -1
  242. package/dist/actions/edit-orders-payment.cjs.map +1 -1
  243. package/dist/actions/edit-orders-payment.d.cts +1 -1
  244. package/dist/actions/edit-orders-payment.d.mts +1 -1
  245. package/dist/actions/edit-orders-payment.mjs +1 -1
  246. package/dist/actions/edit-orders-payment.mjs.map +1 -1
  247. package/dist/actions/edit-reference-cost-group.cjs +2 -2
  248. package/dist/actions/edit-reference-cost-group.cjs.map +1 -1
  249. package/dist/actions/edit-reference-cost-group.d.cts +2 -2
  250. package/dist/actions/edit-reference-cost-group.d.mts +2 -2
  251. package/dist/actions/edit-reference-cost-group.mjs +2 -2
  252. package/dist/actions/edit-reference-cost-group.mjs.map +1 -1
  253. package/dist/actions/edit-reference-cost-item.cjs +3 -3
  254. package/dist/actions/edit-reference-cost-item.cjs.map +1 -1
  255. package/dist/actions/edit-reference-cost-item.d.cts +3 -3
  256. package/dist/actions/edit-reference-cost-item.d.mts +3 -3
  257. package/dist/actions/edit-reference-cost-item.mjs +3 -3
  258. package/dist/actions/edit-reference-cost-item.mjs.map +1 -1
  259. package/dist/actions/edit-reference-courier.cjs +1 -1
  260. package/dist/actions/edit-reference-courier.cjs.map +1 -1
  261. package/dist/actions/edit-reference-courier.d.cts +1 -1
  262. package/dist/actions/edit-reference-courier.d.mts +1 -1
  263. package/dist/actions/edit-reference-courier.mjs +1 -1
  264. package/dist/actions/edit-reference-courier.mjs.map +1 -1
  265. package/dist/actions/edit-reference-currency.cjs +1 -1
  266. package/dist/actions/edit-reference-currency.cjs.map +1 -1
  267. package/dist/actions/edit-reference-currency.d.cts +1 -1
  268. package/dist/actions/edit-reference-currency.d.mts +1 -1
  269. package/dist/actions/edit-reference-currency.mjs +1 -1
  270. package/dist/actions/edit-reference-currency.mjs.map +1 -1
  271. package/dist/actions/edit-reference-delivery-service.cjs +2 -2
  272. package/dist/actions/edit-reference-delivery-service.cjs.map +1 -1
  273. package/dist/actions/edit-reference-delivery-service.d.cts +2 -2
  274. package/dist/actions/edit-reference-delivery-service.d.mts +2 -2
  275. package/dist/actions/edit-reference-delivery-service.mjs +2 -2
  276. package/dist/actions/edit-reference-delivery-service.mjs.map +1 -1
  277. package/dist/actions/edit-reference-order-method.cjs +3 -3
  278. package/dist/actions/edit-reference-order-method.cjs.map +1 -1
  279. package/dist/actions/edit-reference-order-method.d.cts +3 -3
  280. package/dist/actions/edit-reference-order-method.d.mts +3 -3
  281. package/dist/actions/edit-reference-order-method.mjs +3 -3
  282. package/dist/actions/edit-reference-order-method.mjs.map +1 -1
  283. package/dist/actions/edit-reference-order-type.cjs +2 -2
  284. package/dist/actions/edit-reference-order-type.cjs.map +1 -1
  285. package/dist/actions/edit-reference-order-type.d.cts +2 -2
  286. package/dist/actions/edit-reference-order-type.d.mts +2 -2
  287. package/dist/actions/edit-reference-order-type.mjs +2 -2
  288. package/dist/actions/edit-reference-order-type.mjs.map +1 -1
  289. package/dist/actions/edit-reference-payment-status.cjs +2 -2
  290. package/dist/actions/edit-reference-payment-status.cjs.map +1 -1
  291. package/dist/actions/edit-reference-payment-status.d.cts +2 -2
  292. package/dist/actions/edit-reference-payment-status.d.mts +2 -2
  293. package/dist/actions/edit-reference-payment-status.mjs +2 -2
  294. package/dist/actions/edit-reference-payment-status.mjs.map +1 -1
  295. package/dist/actions/edit-reference-payment-type.cjs +2 -2
  296. package/dist/actions/edit-reference-payment-type.cjs.map +1 -1
  297. package/dist/actions/edit-reference-payment-type.d.cts +2 -2
  298. package/dist/actions/edit-reference-payment-type.d.mts +2 -2
  299. package/dist/actions/edit-reference-payment-type.mjs +2 -2
  300. package/dist/actions/edit-reference-payment-type.mjs.map +1 -1
  301. package/dist/actions/edit-reference-product-status.cjs +1 -1
  302. package/dist/actions/edit-reference-product-status.cjs.map +1 -1
  303. package/dist/actions/edit-reference-product-status.d.cts +1 -1
  304. package/dist/actions/edit-reference-product-status.d.mts +1 -1
  305. package/dist/actions/edit-reference-product-status.mjs +1 -1
  306. package/dist/actions/edit-reference-product-status.mjs.map +1 -1
  307. package/dist/actions/edit-reference-statuses.cjs +2 -2
  308. package/dist/actions/edit-reference-statuses.cjs.map +1 -1
  309. package/dist/actions/edit-reference-statuses.d.cts +2 -2
  310. package/dist/actions/edit-reference-statuses.d.mts +2 -2
  311. package/dist/actions/edit-reference-statuses.mjs +2 -2
  312. package/dist/actions/edit-reference-statuses.mjs.map +1 -1
  313. package/dist/actions/edit-reference-stores.cjs +1 -1
  314. package/dist/actions/edit-reference-stores.cjs.map +1 -1
  315. package/dist/actions/edit-reference-stores.d.cts +1 -1
  316. package/dist/actions/edit-reference-stores.d.mts +1 -1
  317. package/dist/actions/edit-reference-stores.mjs +1 -1
  318. package/dist/actions/edit-reference-stores.mjs.map +1 -1
  319. package/dist/actions/edit-reference-subscription.cjs +1 -1
  320. package/dist/actions/edit-reference-subscription.cjs.map +1 -1
  321. package/dist/actions/edit-reference-subscription.d.cts +1 -1
  322. package/dist/actions/edit-reference-subscription.d.mts +1 -1
  323. package/dist/actions/edit-reference-subscription.mjs +1 -1
  324. package/dist/actions/edit-reference-subscription.mjs.map +1 -1
  325. package/dist/actions/edit-reference-unit.cjs +2 -2
  326. package/dist/actions/edit-reference-unit.cjs.map +1 -1
  327. package/dist/actions/edit-reference-unit.d.cts +2 -2
  328. package/dist/actions/edit-reference-unit.d.mts +2 -2
  329. package/dist/actions/edit-reference-unit.mjs +2 -2
  330. package/dist/actions/edit-reference-unit.mjs.map +1 -1
  331. package/dist/actions/edit-store-product-group.cjs +2 -2
  332. package/dist/actions/edit-store-product-group.cjs.map +1 -1
  333. package/dist/actions/edit-store-product-group.d.cts +2 -2
  334. package/dist/actions/edit-store-product-group.d.mts +2 -2
  335. package/dist/actions/edit-store-product-group.mjs +2 -2
  336. package/dist/actions/edit-store-product-group.mjs.map +1 -1
  337. package/dist/actions/edit-store-products-batch.cjs +3 -3
  338. package/dist/actions/edit-store-products-batch.cjs.map +1 -1
  339. package/dist/actions/edit-store-products-batch.d.cts +4 -3
  340. package/dist/actions/edit-store-products-batch.d.mts +4 -3
  341. package/dist/actions/edit-store-products-batch.mjs +3 -3
  342. package/dist/actions/edit-store-products-batch.mjs.map +1 -1
  343. package/dist/actions/edit-store-setting.cjs +1 -1
  344. package/dist/actions/edit-store-setting.cjs.map +1 -1
  345. package/dist/actions/edit-store-setting.d.cts +1 -1
  346. package/dist/actions/edit-store-setting.d.mts +1 -1
  347. package/dist/actions/edit-store-setting.mjs +1 -1
  348. package/dist/actions/edit-store-setting.mjs.map +1 -1
  349. package/dist/actions/edit-task.cjs +1 -1
  350. package/dist/actions/edit-task.cjs.map +1 -1
  351. package/dist/actions/edit-task.d.cts +1 -1
  352. package/dist/actions/edit-task.d.mts +1 -1
  353. package/dist/actions/edit-task.mjs +1 -1
  354. package/dist/actions/edit-task.mjs.map +1 -1
  355. package/dist/actions/edit-telephony-setting.cjs +4 -4
  356. package/dist/actions/edit-telephony-setting.cjs.map +1 -1
  357. package/dist/actions/edit-telephony-setting.d.cts +5 -5
  358. package/dist/actions/edit-telephony-setting.d.mts +5 -5
  359. package/dist/actions/edit-telephony-setting.mjs +4 -4
  360. package/dist/actions/edit-telephony-setting.mjs.map +1 -1
  361. package/dist/actions/fix-customers-corporate-external-ids.cjs +2 -2
  362. package/dist/actions/fix-customers-corporate-external-ids.cjs.map +1 -1
  363. package/dist/actions/fix-customers-corporate-external-ids.d.cts +3 -2
  364. package/dist/actions/fix-customers-corporate-external-ids.d.mts +3 -2
  365. package/dist/actions/fix-customers-corporate-external-ids.mjs +2 -2
  366. package/dist/actions/fix-customers-corporate-external-ids.mjs.map +1 -1
  367. package/dist/actions/fix-customers-external-ids.cjs +2 -2
  368. package/dist/actions/fix-customers-external-ids.cjs.map +1 -1
  369. package/dist/actions/fix-customers-external-ids.d.cts +3 -2
  370. package/dist/actions/fix-customers-external-ids.d.mts +3 -2
  371. package/dist/actions/fix-customers-external-ids.mjs +2 -2
  372. package/dist/actions/fix-customers-external-ids.mjs.map +1 -1
  373. package/dist/actions/fix-orders-external-ids.cjs +2 -2
  374. package/dist/actions/fix-orders-external-ids.cjs.map +1 -1
  375. package/dist/actions/fix-orders-external-ids.d.cts +3 -2
  376. package/dist/actions/fix-orders-external-ids.d.mts +3 -2
  377. package/dist/actions/fix-orders-external-ids.mjs +2 -2
  378. package/dist/actions/fix-orders-external-ids.mjs.map +1 -1
  379. package/dist/actions/get-api-credentials.cjs +1 -1
  380. package/dist/actions/get-api-credentials.cjs.map +1 -1
  381. package/dist/actions/get-api-credentials.d.cts +1 -1
  382. package/dist/actions/get-api-credentials.d.mts +1 -1
  383. package/dist/actions/get-api-credentials.mjs +1 -1
  384. package/dist/actions/get-api-credentials.mjs.map +1 -1
  385. package/dist/actions/get-cost.cjs +5 -5
  386. package/dist/actions/get-cost.cjs.map +1 -1
  387. package/dist/actions/get-cost.d.cts +5 -5
  388. package/dist/actions/get-cost.d.mts +5 -5
  389. package/dist/actions/get-cost.mjs +5 -5
  390. package/dist/actions/get-cost.mjs.map +1 -1
  391. package/dist/actions/get-custom-field.cjs +1 -1
  392. package/dist/actions/get-custom-field.cjs.map +1 -1
  393. package/dist/actions/get-custom-field.d.cts +3 -3
  394. package/dist/actions/get-custom-field.d.mts +3 -3
  395. package/dist/actions/get-custom-field.mjs +1 -1
  396. package/dist/actions/get-custom-field.mjs.map +1 -1
  397. package/dist/actions/get-custom-fields-dictionaries.cjs +3 -3
  398. package/dist/actions/get-custom-fields-dictionaries.cjs.map +1 -1
  399. package/dist/actions/get-custom-fields-dictionaries.d.cts +3 -3
  400. package/dist/actions/get-custom-fields-dictionaries.d.mts +3 -3
  401. package/dist/actions/get-custom-fields-dictionaries.mjs +3 -3
  402. package/dist/actions/get-custom-fields-dictionaries.mjs.map +1 -1
  403. package/dist/actions/get-custom-fields-dictionary.cjs +3 -3
  404. package/dist/actions/get-custom-fields-dictionary.cjs.map +1 -1
  405. package/dist/actions/get-custom-fields-dictionary.d.cts +3 -3
  406. package/dist/actions/get-custom-fields-dictionary.d.mts +3 -3
  407. package/dist/actions/get-custom-fields-dictionary.mjs +3 -3
  408. package/dist/actions/get-custom-fields-dictionary.mjs.map +1 -1
  409. package/dist/actions/get-custom-fields.cjs +2 -2
  410. package/dist/actions/get-custom-fields.cjs.map +1 -1
  411. package/dist/actions/get-custom-fields.d.cts +2 -2
  412. package/dist/actions/get-custom-fields.d.mts +2 -2
  413. package/dist/actions/get-custom-fields.mjs +2 -2
  414. package/dist/actions/get-custom-fields.mjs.map +1 -1
  415. package/dist/actions/get-customer-corporate.cjs +2 -2
  416. package/dist/actions/get-customer-corporate.cjs.map +1 -1
  417. package/dist/actions/get-customer-corporate.d.cts +2 -2
  418. package/dist/actions/get-customer-corporate.d.mts +2 -2
  419. package/dist/actions/get-customer-corporate.mjs +2 -2
  420. package/dist/actions/get-customer-corporate.mjs.map +1 -1
  421. package/dist/actions/get-customer-interaction-favorites.cjs +1 -1
  422. package/dist/actions/get-customer-interaction-favorites.cjs.map +1 -1
  423. package/dist/actions/get-customer-interaction-favorites.d.cts +1 -1
  424. package/dist/actions/get-customer-interaction-favorites.d.mts +1 -1
  425. package/dist/actions/get-customer-interaction-favorites.mjs +1 -1
  426. package/dist/actions/get-customer-interaction-favorites.mjs.map +1 -1
  427. package/dist/actions/get-customer.cjs +6 -6
  428. package/dist/actions/get-customer.cjs.map +1 -1
  429. package/dist/actions/get-customer.d.cts +6 -6
  430. package/dist/actions/get-customer.d.mts +6 -6
  431. package/dist/actions/get-customer.mjs +6 -6
  432. package/dist/actions/get-customer.mjs.map +1 -1
  433. package/dist/actions/get-customers-corporate-companies.cjs +1 -1
  434. package/dist/actions/get-customers-corporate-companies.cjs.map +1 -1
  435. package/dist/actions/get-customers-corporate-companies.d.cts +1 -1
  436. package/dist/actions/get-customers-corporate-companies.d.mts +1 -1
  437. package/dist/actions/get-customers-corporate-companies.mjs +1 -1
  438. package/dist/actions/get-customers-corporate-companies.mjs.map +1 -1
  439. package/dist/actions/get-customers-corporate-history.cjs +5 -5
  440. package/dist/actions/get-customers-corporate-history.cjs.map +1 -1
  441. package/dist/actions/get-customers-corporate-history.d.cts +5 -5
  442. package/dist/actions/get-customers-corporate-history.d.mts +5 -5
  443. package/dist/actions/get-customers-corporate-history.mjs +5 -5
  444. package/dist/actions/get-customers-corporate-history.mjs.map +1 -1
  445. package/dist/actions/get-customers-corporate-notes.cjs +3 -3
  446. package/dist/actions/get-customers-corporate-notes.cjs.map +1 -1
  447. package/dist/actions/get-customers-corporate-notes.d.cts +3 -3
  448. package/dist/actions/get-customers-corporate-notes.d.mts +3 -3
  449. package/dist/actions/get-customers-corporate-notes.mjs +3 -3
  450. package/dist/actions/get-customers-corporate-notes.mjs.map +1 -1
  451. package/dist/actions/get-customers-corporate.cjs +1 -1
  452. package/dist/actions/get-customers-corporate.cjs.map +1 -1
  453. package/dist/actions/get-customers-corporate.d.cts +1 -1
  454. package/dist/actions/get-customers-corporate.d.mts +1 -1
  455. package/dist/actions/get-customers-corporate.mjs +1 -1
  456. package/dist/actions/get-customers-corporate.mjs.map +1 -1
  457. package/dist/actions/get-customers-history.cjs +5 -5
  458. package/dist/actions/get-customers-history.cjs.map +1 -1
  459. package/dist/actions/get-customers-history.d.cts +5 -5
  460. package/dist/actions/get-customers-history.d.mts +5 -5
  461. package/dist/actions/get-customers-history.mjs +5 -5
  462. package/dist/actions/get-customers-history.mjs.map +1 -1
  463. package/dist/actions/get-customers-notes.cjs +3 -3
  464. package/dist/actions/get-customers-notes.cjs.map +1 -1
  465. package/dist/actions/get-customers-notes.d.cts +3 -3
  466. package/dist/actions/get-customers-notes.d.mts +3 -3
  467. package/dist/actions/get-customers-notes.mjs +3 -3
  468. package/dist/actions/get-customers-notes.mjs.map +1 -1
  469. package/dist/actions/get-customers.cjs +4 -4
  470. package/dist/actions/get-customers.cjs.map +1 -1
  471. package/dist/actions/get-customers.d.cts +4 -4
  472. package/dist/actions/get-customers.d.mts +4 -4
  473. package/dist/actions/get-customers.mjs +4 -4
  474. package/dist/actions/get-customers.mjs.map +1 -1
  475. package/dist/actions/get-delivery-shipments.cjs +1 -1
  476. package/dist/actions/get-delivery-shipments.cjs.map +1 -1
  477. package/dist/actions/get-delivery-shipments.d.cts +1 -1
  478. package/dist/actions/get-delivery-shipments.d.mts +1 -1
  479. package/dist/actions/get-delivery-shipments.mjs +1 -1
  480. package/dist/actions/get-delivery-shipments.mjs.map +1 -1
  481. package/dist/actions/get-files.cjs +2 -2
  482. package/dist/actions/get-files.cjs.map +1 -1
  483. package/dist/actions/get-files.d.cts +2 -2
  484. package/dist/actions/get-files.d.mts +2 -2
  485. package/dist/actions/get-files.mjs +2 -2
  486. package/dist/actions/get-files.mjs.map +1 -1
  487. package/dist/actions/get-loyalty-accounts.cjs +5 -5
  488. package/dist/actions/get-loyalty-accounts.cjs.map +1 -1
  489. package/dist/actions/get-loyalty-accounts.d.cts +5 -5
  490. package/dist/actions/get-loyalty-accounts.d.mts +5 -5
  491. package/dist/actions/get-loyalty-accounts.mjs +5 -5
  492. package/dist/actions/get-loyalty-accounts.mjs.map +1 -1
  493. package/dist/actions/get-loyalty-bonus-operations.cjs +2 -2
  494. package/dist/actions/get-loyalty-bonus-operations.cjs.map +1 -1
  495. package/dist/actions/get-loyalty-bonus-operations.d.cts +2 -2
  496. package/dist/actions/get-loyalty-bonus-operations.d.mts +2 -2
  497. package/dist/actions/get-loyalty-bonus-operations.mjs +2 -2
  498. package/dist/actions/get-loyalty-bonus-operations.mjs.map +1 -1
  499. package/dist/actions/get-loyalty-loyalties.cjs +1 -1
  500. package/dist/actions/get-loyalty-loyalties.cjs.map +1 -1
  501. package/dist/actions/get-loyalty-loyalties.d.cts +1 -1
  502. package/dist/actions/get-loyalty-loyalties.d.mts +1 -1
  503. package/dist/actions/get-loyalty-loyalties.mjs +1 -1
  504. package/dist/actions/get-loyalty-loyalties.mjs.map +1 -1
  505. package/dist/actions/get-order.cjs +8 -8
  506. package/dist/actions/get-order.cjs.map +1 -1
  507. package/dist/actions/get-order.d.cts +8 -8
  508. package/dist/actions/get-order.d.mts +8 -8
  509. package/dist/actions/get-order.mjs +8 -8
  510. package/dist/actions/get-order.mjs.map +1 -1
  511. package/dist/actions/get-orders-history.cjs +10 -10
  512. package/dist/actions/get-orders-history.cjs.map +1 -1
  513. package/dist/actions/get-orders-history.d.cts +10 -10
  514. package/dist/actions/get-orders-history.d.mts +10 -10
  515. package/dist/actions/get-orders-history.mjs +10 -10
  516. package/dist/actions/get-orders-history.mjs.map +1 -1
  517. package/dist/actions/get-orders-packs-history.cjs +1 -1
  518. package/dist/actions/get-orders-packs-history.cjs.map +1 -1
  519. package/dist/actions/get-orders-packs-history.d.cts +1 -1
  520. package/dist/actions/get-orders-packs-history.d.mts +1 -1
  521. package/dist/actions/get-orders-packs-history.mjs +1 -1
  522. package/dist/actions/get-orders-packs-history.mjs.map +1 -1
  523. package/dist/actions/get-orders.cjs +9 -9
  524. package/dist/actions/get-orders.cjs.map +1 -1
  525. package/dist/actions/get-orders.d.cts +10 -10
  526. package/dist/actions/get-orders.d.mts +10 -10
  527. package/dist/actions/get-orders.mjs +9 -9
  528. package/dist/actions/get-orders.mjs.map +1 -1
  529. package/dist/actions/get-products.cjs +2 -2
  530. package/dist/actions/get-products.cjs.map +1 -1
  531. package/dist/actions/get-products.d.cts +2 -2
  532. package/dist/actions/get-products.d.mts +2 -2
  533. package/dist/actions/get-products.mjs +2 -2
  534. package/dist/actions/get-products.mjs.map +1 -1
  535. package/dist/actions/get-reference-cost-groups.cjs +1 -1
  536. package/dist/actions/get-reference-cost-groups.cjs.map +1 -1
  537. package/dist/actions/get-reference-cost-groups.d.cts +1 -1
  538. package/dist/actions/get-reference-cost-groups.d.mts +1 -1
  539. package/dist/actions/get-reference-cost-groups.mjs +1 -1
  540. package/dist/actions/get-reference-cost-groups.mjs.map +1 -1
  541. package/dist/actions/get-reference-cost-items.cjs +1 -1
  542. package/dist/actions/get-reference-cost-items.cjs.map +1 -1
  543. package/dist/actions/get-reference-cost-items.d.cts +1 -1
  544. package/dist/actions/get-reference-cost-items.d.mts +1 -1
  545. package/dist/actions/get-reference-cost-items.mjs +1 -1
  546. package/dist/actions/get-reference-cost-items.mjs.map +1 -1
  547. package/dist/actions/get-reference-currencies.cjs +1 -1
  548. package/dist/actions/get-reference-currencies.cjs.map +1 -1
  549. package/dist/actions/get-reference-currencies.d.cts +1 -1
  550. package/dist/actions/get-reference-currencies.d.mts +1 -1
  551. package/dist/actions/get-reference-currencies.mjs +1 -1
  552. package/dist/actions/get-reference-currencies.mjs.map +1 -1
  553. package/dist/actions/get-reference-delivery-services.cjs +1 -1
  554. package/dist/actions/get-reference-delivery-services.cjs.map +1 -1
  555. package/dist/actions/get-reference-delivery-services.d.cts +1 -1
  556. package/dist/actions/get-reference-delivery-services.d.mts +1 -1
  557. package/dist/actions/get-reference-delivery-services.mjs +1 -1
  558. package/dist/actions/get-reference-delivery-services.mjs.map +1 -1
  559. package/dist/actions/get-reference-delivery-types.cjs +2 -2
  560. package/dist/actions/get-reference-delivery-types.cjs.map +1 -1
  561. package/dist/actions/get-reference-delivery-types.d.cts +2 -2
  562. package/dist/actions/get-reference-delivery-types.d.mts +2 -2
  563. package/dist/actions/get-reference-delivery-types.mjs +2 -2
  564. package/dist/actions/get-reference-delivery-types.mjs.map +1 -1
  565. package/dist/actions/get-reference-order-methods.cjs +2 -2
  566. package/dist/actions/get-reference-order-methods.cjs.map +1 -1
  567. package/dist/actions/get-reference-order-methods.d.cts +2 -2
  568. package/dist/actions/get-reference-order-methods.d.mts +2 -2
  569. package/dist/actions/get-reference-order-methods.mjs +2 -2
  570. package/dist/actions/get-reference-order-methods.mjs.map +1 -1
  571. package/dist/actions/get-reference-order-types.cjs +2 -2
  572. package/dist/actions/get-reference-order-types.cjs.map +1 -1
  573. package/dist/actions/get-reference-order-types.d.cts +2 -2
  574. package/dist/actions/get-reference-order-types.d.mts +2 -2
  575. package/dist/actions/get-reference-order-types.mjs +2 -2
  576. package/dist/actions/get-reference-order-types.mjs.map +1 -1
  577. package/dist/actions/get-reference-payment-statuses.cjs +2 -2
  578. package/dist/actions/get-reference-payment-statuses.cjs.map +1 -1
  579. package/dist/actions/get-reference-payment-statuses.d.cts +2 -2
  580. package/dist/actions/get-reference-payment-statuses.d.mts +2 -2
  581. package/dist/actions/get-reference-payment-statuses.mjs +2 -2
  582. package/dist/actions/get-reference-payment-statuses.mjs.map +1 -1
  583. package/dist/actions/get-reference-payment-types.cjs +2 -2
  584. package/dist/actions/get-reference-payment-types.cjs.map +1 -1
  585. package/dist/actions/get-reference-payment-types.d.cts +2 -2
  586. package/dist/actions/get-reference-payment-types.d.mts +2 -2
  587. package/dist/actions/get-reference-payment-types.mjs +2 -2
  588. package/dist/actions/get-reference-payment-types.mjs.map +1 -1
  589. package/dist/actions/get-reference-product-statuses.cjs +2 -2
  590. package/dist/actions/get-reference-product-statuses.cjs.map +1 -1
  591. package/dist/actions/get-reference-product-statuses.d.cts +2 -2
  592. package/dist/actions/get-reference-product-statuses.d.mts +2 -2
  593. package/dist/actions/get-reference-product-statuses.mjs +2 -2
  594. package/dist/actions/get-reference-product-statuses.mjs.map +1 -1
  595. package/dist/actions/get-reference-status-groups.cjs +2 -2
  596. package/dist/actions/get-reference-status-groups.cjs.map +1 -1
  597. package/dist/actions/get-reference-status-groups.d.cts +2 -2
  598. package/dist/actions/get-reference-status-groups.d.mts +2 -2
  599. package/dist/actions/get-reference-status-groups.mjs +2 -2
  600. package/dist/actions/get-reference-status-groups.mjs.map +1 -1
  601. package/dist/actions/get-reference-statuses.cjs +2 -2
  602. package/dist/actions/get-reference-statuses.cjs.map +1 -1
  603. package/dist/actions/get-reference-statuses.d.cts +2 -2
  604. package/dist/actions/get-reference-statuses.d.mts +2 -2
  605. package/dist/actions/get-reference-statuses.mjs +2 -2
  606. package/dist/actions/get-reference-statuses.mjs.map +1 -1
  607. package/dist/actions/get-reference-subscriptions.cjs +1 -1
  608. package/dist/actions/get-reference-subscriptions.cjs.map +1 -1
  609. package/dist/actions/get-reference-subscriptions.d.cts +1 -1
  610. package/dist/actions/get-reference-subscriptions.d.mts +1 -1
  611. package/dist/actions/get-reference-subscriptions.mjs +1 -1
  612. package/dist/actions/get-reference-subscriptions.mjs.map +1 -1
  613. package/dist/actions/get-reference-units.cjs +2 -2
  614. package/dist/actions/get-reference-units.cjs.map +1 -1
  615. package/dist/actions/get-reference-units.d.cts +2 -2
  616. package/dist/actions/get-reference-units.d.mts +2 -2
  617. package/dist/actions/get-reference-units.mjs +2 -2
  618. package/dist/actions/get-reference-units.mjs.map +1 -1
  619. package/dist/actions/get-settings.cjs +1 -1
  620. package/dist/actions/get-settings.cjs.map +1 -1
  621. package/dist/actions/get-settings.d.cts +1 -1
  622. package/dist/actions/get-settings.d.mts +1 -1
  623. package/dist/actions/get-settings.mjs +1 -1
  624. package/dist/actions/get-settings.mjs.map +1 -1
  625. package/dist/actions/get-sites.cjs +1 -1
  626. package/dist/actions/get-sites.cjs.map +1 -1
  627. package/dist/actions/get-sites.d.cts +1 -1
  628. package/dist/actions/get-sites.d.mts +1 -1
  629. package/dist/actions/get-sites.mjs +1 -1
  630. package/dist/actions/get-sites.mjs.map +1 -1
  631. package/dist/actions/get-store-inventories.cjs +1 -1
  632. package/dist/actions/get-store-inventories.cjs.map +1 -1
  633. package/dist/actions/get-store-inventories.d.cts +1 -1
  634. package/dist/actions/get-store-inventories.d.mts +1 -1
  635. package/dist/actions/get-store-inventories.mjs +1 -1
  636. package/dist/actions/get-store-inventories.mjs.map +1 -1
  637. package/dist/actions/get-store-offers.cjs +1 -1
  638. package/dist/actions/get-store-offers.cjs.map +1 -1
  639. package/dist/actions/get-store-offers.d.cts +1 -1
  640. package/dist/actions/get-store-offers.d.mts +1 -1
  641. package/dist/actions/get-store-offers.mjs +1 -1
  642. package/dist/actions/get-store-offers.mjs.map +1 -1
  643. package/dist/actions/get-store-products-properties-values.cjs +1 -1
  644. package/dist/actions/get-store-products-properties-values.cjs.map +1 -1
  645. package/dist/actions/get-store-products-properties-values.d.cts +1 -1
  646. package/dist/actions/get-store-products-properties-values.d.mts +1 -1
  647. package/dist/actions/get-store-products-properties-values.mjs +1 -1
  648. package/dist/actions/get-store-products-properties-values.mjs.map +1 -1
  649. package/dist/actions/get-store-products-properties.cjs +1 -1
  650. package/dist/actions/get-store-products-properties.cjs.map +1 -1
  651. package/dist/actions/get-store-products-properties.d.cts +1 -1
  652. package/dist/actions/get-store-products-properties.d.mts +1 -1
  653. package/dist/actions/get-store-products-properties.mjs +1 -1
  654. package/dist/actions/get-store-products-properties.mjs.map +1 -1
  655. package/dist/actions/get-stores.cjs +1 -1
  656. package/dist/actions/get-stores.cjs.map +1 -1
  657. package/dist/actions/get-stores.d.cts +1 -1
  658. package/dist/actions/get-stores.d.mts +1 -1
  659. package/dist/actions/get-stores.mjs +1 -1
  660. package/dist/actions/get-stores.mjs.map +1 -1
  661. package/dist/actions/get-tasks-comments.cjs +1 -1
  662. package/dist/actions/get-tasks-comments.cjs.map +1 -1
  663. package/dist/actions/get-tasks-comments.d.cts +1 -1
  664. package/dist/actions/get-tasks-comments.d.mts +1 -1
  665. package/dist/actions/get-tasks-comments.mjs +1 -1
  666. package/dist/actions/get-tasks-comments.mjs.map +1 -1
  667. package/dist/actions/get-tasks-history.cjs +4 -4
  668. package/dist/actions/get-tasks-history.cjs.map +1 -1
  669. package/dist/actions/get-tasks-history.d.cts +4 -4
  670. package/dist/actions/get-tasks-history.d.mts +4 -4
  671. package/dist/actions/get-tasks-history.mjs +4 -4
  672. package/dist/actions/get-tasks-history.mjs.map +1 -1
  673. package/dist/actions/get-tasks.cjs +2 -2
  674. package/dist/actions/get-tasks.cjs.map +1 -1
  675. package/dist/actions/get-tasks.d.cts +2 -2
  676. package/dist/actions/get-tasks.d.mts +2 -2
  677. package/dist/actions/get-tasks.mjs +2 -2
  678. package/dist/actions/get-tasks.mjs.map +1 -1
  679. package/dist/actions/get-user-groups.cjs +2 -2
  680. package/dist/actions/get-user-groups.cjs.map +1 -1
  681. package/dist/actions/get-user-groups.d.cts +2 -2
  682. package/dist/actions/get-user-groups.d.mts +2 -2
  683. package/dist/actions/get-user-groups.mjs +2 -2
  684. package/dist/actions/get-user-groups.mjs.map +1 -1
  685. package/dist/actions/get-user.cjs +3 -3
  686. package/dist/actions/get-user.cjs.map +1 -1
  687. package/dist/actions/get-user.d.cts +3 -3
  688. package/dist/actions/get-user.d.mts +3 -3
  689. package/dist/actions/get-user.mjs +3 -3
  690. package/dist/actions/get-user.mjs.map +1 -1
  691. package/dist/actions/get-users.cjs +2 -2
  692. package/dist/actions/get-users.cjs.map +1 -1
  693. package/dist/actions/get-users.d.cts +2 -2
  694. package/dist/actions/get-users.d.mts +2 -2
  695. package/dist/actions/get-users.mjs +2 -2
  696. package/dist/actions/get-users.mjs.map +1 -1
  697. package/dist/actions/update-customer-subscriptions.cjs +2 -2
  698. package/dist/actions/update-customer-subscriptions.cjs.map +1 -1
  699. package/dist/actions/update-customer-subscriptions.d.cts +3 -2
  700. package/dist/actions/update-customer-subscriptions.d.mts +3 -2
  701. package/dist/actions/update-customer-subscriptions.mjs +2 -2
  702. package/dist/actions/update-customer-subscriptions.mjs.map +1 -1
  703. package/dist/actions/update-user-status.cjs +1 -1
  704. package/dist/actions/update-user-status.cjs.map +1 -1
  705. package/dist/actions/update-user-status.d.cts +1 -1
  706. package/dist/actions/update-user-status.d.mts +1 -1
  707. package/dist/actions/update-user-status.mjs +1 -1
  708. package/dist/actions/update-user-status.mjs.map +1 -1
  709. package/dist/actions/upload-costs.cjs +3 -3
  710. package/dist/actions/upload-costs.cjs.map +1 -1
  711. package/dist/actions/upload-costs.d.cts +4 -3
  712. package/dist/actions/upload-costs.d.mts +4 -3
  713. package/dist/actions/upload-costs.mjs +3 -3
  714. package/dist/actions/upload-costs.mjs.map +1 -1
  715. package/dist/actions/upload-customers-corporate.cjs +7 -7
  716. package/dist/actions/upload-customers-corporate.cjs.map +1 -1
  717. package/dist/actions/upload-customers-corporate.d.cts +12 -7
  718. package/dist/actions/upload-customers-corporate.d.cts.map +1 -1
  719. package/dist/actions/upload-customers-corporate.d.mts +12 -7
  720. package/dist/actions/upload-customers-corporate.d.mts.map +1 -1
  721. package/dist/actions/upload-customers-corporate.mjs +7 -7
  722. package/dist/actions/upload-customers-corporate.mjs.map +1 -1
  723. package/dist/actions/upload-customers.cjs +4 -4
  724. package/dist/actions/upload-customers.cjs.map +1 -1
  725. package/dist/actions/upload-customers.d.cts +6 -4
  726. package/dist/actions/upload-customers.d.cts.map +1 -1
  727. package/dist/actions/upload-customers.d.mts +6 -4
  728. package/dist/actions/upload-customers.d.mts.map +1 -1
  729. package/dist/actions/upload-customers.mjs +4 -4
  730. package/dist/actions/upload-customers.mjs.map +1 -1
  731. package/dist/actions/upload-orders.cjs +5 -5
  732. package/dist/actions/upload-orders.cjs.map +1 -1
  733. package/dist/actions/upload-orders.d.cts +8 -6
  734. package/dist/actions/upload-orders.d.cts.map +1 -1
  735. package/dist/actions/upload-orders.d.mts +8 -6
  736. package/dist/actions/upload-orders.d.mts.map +1 -1
  737. package/dist/actions/upload-orders.mjs +5 -5
  738. package/dist/actions/upload-orders.mjs.map +1 -1
  739. package/dist/actions/upload-store-prices.cjs +4 -4
  740. package/dist/actions/upload-store-prices.cjs.map +1 -1
  741. package/dist/actions/upload-store-prices.d.cts +6 -4
  742. package/dist/actions/upload-store-prices.d.mts +6 -4
  743. package/dist/actions/upload-store-prices.mjs +4 -4
  744. package/dist/actions/upload-store-prices.mjs.map +1 -1
  745. package/dist/actions/upload-web-analytics-client-ids.cjs +2 -2
  746. package/dist/actions/upload-web-analytics-client-ids.cjs.map +1 -1
  747. package/dist/actions/upload-web-analytics-client-ids.d.cts +3 -2
  748. package/dist/actions/upload-web-analytics-client-ids.d.mts +3 -2
  749. package/dist/actions/upload-web-analytics-client-ids.mjs +2 -2
  750. package/dist/actions/upload-web-analytics-client-ids.mjs.map +1 -1
  751. package/dist/actions/upload-web-analytics-sources.cjs +2 -2
  752. package/dist/actions/upload-web-analytics-sources.cjs.map +1 -1
  753. package/dist/actions/upload-web-analytics-sources.d.cts +3 -2
  754. package/dist/actions/upload-web-analytics-sources.d.mts +3 -2
  755. package/dist/actions/upload-web-analytics-sources.mjs +2 -2
  756. package/dist/actions/upload-web-analytics-sources.mjs.map +1 -1
  757. package/dist/catalog.cjs +1 -1
  758. package/dist/catalog.cjs.map +1 -1
  759. package/dist/catalog.d.cts +1 -1
  760. package/dist/catalog.d.mts +1 -1
  761. package/dist/catalog.mjs +1 -1
  762. package/dist/catalog.mjs.map +1 -1
  763. package/package.json +1 -1
@@ -47,7 +47,7 @@ const simlaComCreateCustomField = action("SIMLA_COM_CREATE_CUSTOM_FIELD", {
47
47
  errors: z.record(z.string(), z.unknown()).describe("Detailed errors if the request failed.").nullable().optional(),
48
48
  success: z.boolean().describe("Indicates whether the request was successful.").nullable(),
49
49
  errorMsg: z.string().describe("Error message if the request failed.").nullable().optional()
50
- }).describe("Response schema after creating a custom field in Simla.")
50
+ }).passthrough().describe("Response schema after creating a custom field in Simla.")
51
51
  });
52
52
  //#endregion
53
53
  export { simlaComCreateCustomField };
@@ -1 +1 @@
1
- {"version":3,"file":"create-custom-field.mjs","names":[],"sources":["../../src/actions/create-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCreateCustomFieldInput = z.object({\n code: z.string().describe(\"Symbolic code for the field (lowercase letters, numbers, underscores, must start with letter). Automatically generated if omitted.\").optional(),\n name: z.string().describe(\"Display name of the custom field.\"),\n type: z.enum([\"string\", \"text\", \"integer\", \"numeric\", \"boolean\", \"dictionary\", \"date\", \"datetime\", \"email\", \"multiselect_dictionary\"]).describe(\"Data type of the custom field.\"),\n entity: z.enum([\"order\", \"customer\", \"loyalty_account\"]).describe(\"The entity to which the custom field will be added.\"),\n inList: z.boolean().default(true).describe(\"Whether the field is shown in list views.\").optional(),\n inFilter: z.boolean().default(true).describe(\"Whether the field is available in filtering UI.\").optional(),\n ordering: z.number().int().describe(\"Display order of the field (defaults to 50).\").optional(),\n required: z.boolean().default(false).describe(\"Whether this field is mandatory.\").optional(),\n viewMode: z.enum([\"editable\", \"not_editable\", \"miss\"]).describe(\"Form visibility mode (defaults to editable).\").optional(),\n dictionary: z.string().describe(\"Related directory code (required if type is dictionary or multiselect_dictionary).\").optional(),\n displayArea: z.string().describe(\"UI area where the field is displayed. Depends on entity type.\").optional(),\n inGroupActions: z.boolean().default(false).describe(\"Whether the field can be used in bulk actions.\").optional(),\n viewModeMobile: z.enum([\"editable\", \"not_editable\", \"miss\"]).describe(\"Mobile app visibility mode (defaults to editable).\").optional(),\n}).describe(\"Request parameters for creating a custom field in Simla.\");\nexport const SimlaComCreateCustomFieldOutput = z.object({\n code: z.string().describe(\"Symbolic code of the created custom field (present on success).\").nullable().optional(),\n errors: z.record(z.string(), z.unknown()).describe(\"Detailed errors if the request failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the request was successful.\").nullable(),\n errorMsg: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n}).describe(\"Response schema after creating a custom field in Simla.\");\n\nexport const simlaComCreateCustomField = action(\"SIMLA_COM_CREATE_CUSTOM_FIELD\", {\n slug: \"simla_com-create-custom-field\",\n name: \"Create Custom Field\",\n description: \"Tool to create a custom field for a specified entity in Simla. Use when you need to extend orders, customers, corporate customers, or companies with custom metadata fields.\",\n input: SimlaComCreateCustomFieldInput,\n output: SimlaComCreateCustomFieldOutput,\n});\n"],"mappings":";;AA0BA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM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ACP,QAZ6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-custom-field.mjs","names":[],"sources":["../../src/actions/create-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCreateCustomFieldInput = z.object({\n code: z.string().describe(\"Symbolic code for the field (lowercase letters, numbers, underscores, must start with letter). Automatically generated if omitted.\").optional(),\n name: z.string().describe(\"Display name of the custom field.\"),\n type: z.enum([\"string\", \"text\", \"integer\", \"numeric\", \"boolean\", \"dictionary\", \"date\", \"datetime\", \"email\", \"multiselect_dictionary\"]).describe(\"Data type of the custom field.\"),\n entity: z.enum([\"order\", \"customer\", \"loyalty_account\"]).describe(\"The entity to which the custom field will be added.\"),\n inList: z.boolean().default(true).describe(\"Whether the field is shown in list views.\").optional(),\n inFilter: z.boolean().default(true).describe(\"Whether the field is available in filtering UI.\").optional(),\n ordering: z.number().int().describe(\"Display order of the field (defaults to 50).\").optional(),\n required: z.boolean().default(false).describe(\"Whether this field is mandatory.\").optional(),\n viewMode: z.enum([\"editable\", \"not_editable\", \"miss\"]).describe(\"Form visibility mode (defaults to editable).\").optional(),\n dictionary: z.string().describe(\"Related directory code (required if type is dictionary or multiselect_dictionary).\").optional(),\n displayArea: z.string().describe(\"UI area where the field is displayed. Depends on entity type.\").optional(),\n inGroupActions: z.boolean().default(false).describe(\"Whether the field can be used in bulk actions.\").optional(),\n viewModeMobile: z.enum([\"editable\", \"not_editable\", \"miss\"]).describe(\"Mobile app visibility mode (defaults to editable).\").optional(),\n}).describe(\"Request parameters for creating a custom field in Simla.\");\nexport const SimlaComCreateCustomFieldOutput = z.object({\n code: z.string().describe(\"Symbolic code of the created custom field (present on success).\").nullable().optional(),\n errors: z.record(z.string(), z.unknown()).describe(\"Detailed errors if the request failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the request was successful.\").nullable(),\n errorMsg: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n}).passthrough().describe(\"Response schema after creating a custom field in Simla.\");\n\nexport const simlaComCreateCustomField = action(\"SIMLA_COM_CREATE_CUSTOM_FIELD\", {\n slug: \"simla_com-create-custom-field\",\n name: \"Create Custom Field\",\n description: \"Tool to create a custom field for a specified entity in Simla. Use when you need to extend orders, customers, corporate customers, or companies with custom metadata fields.\",\n input: SimlaComCreateCustomFieldInput,\n output: SimlaComCreateCustomFieldOutput,\n});\n"],"mappings":";;AA0BA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1B4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;EACzK,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC7D,MAAM,EAAE,KAAK;GAAC;GAAU;GAAQ;GAAW;GAAW;GAAW;GAAc;GAAQ;GAAY;GAAS;EAAwB,CAAC,CAAC,CAAC,SAAS,gCAAgC;EAChL,QAAQ,EAAE,KAAK;GAAC;GAAS;GAAY;EAAiB,CAAC,CAAC,CAAC,SAAS,qDAAqD;EACvH,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACjG,UAAU,EAAE,QAAQ,CAAC,CAAC,QA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.z.object({
8
8
  code: zod.z.string().describe("Symbolic code for the element (only at creation)").optional(),
9
9
  name: zod.z.string().describe("Name of the dictionary element"),
10
10
  ordering: zod.z.number().int().describe("Sort order of the element (defaults to 50 if not specified)").optional()
11
- }).describe("Element within a custom dictionary")).describe("List of dictionary elements (at least one element is required)")
11
+ }).passthrough().describe("Element within a custom dictionary")).describe("List of dictionary elements (at least one element is required)")
12
12
  }).describe("Request parameters for creating a custom fields dictionary in Simla.");
13
13
  const SimlaComCreateCustomFieldsDictionariesOutput = zod.z.object({
14
14
  code: zod.z.string().describe("Symbolic code of the created custom dictionary (present on success)").nullable().optional(),
15
15
  errors: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Detailed errors if the request failed").nullable().optional(),
16
16
  success: zod.z.boolean().describe("Indicates whether the request was successful").nullable(),
17
17
  errorMsg: zod.z.string().describe("Error message if the request failed").nullable().optional()
18
- }).describe("Response schema after creating a custom fields dictionary in Simla.");
18
+ }).passthrough().describe("Response schema after creating a custom fields dictionary in Simla.");
19
19
  const simlaComCreateCustomFieldsDictionaries = require_action.action("SIMLA_COM_CREATE_CUSTOM_FIELDS_DICTIONARIES", {
20
20
  slug: "simla_com-create-custom-fields-dictionaries",
21
21
  name: "Create Custom Fields Dictionary",
@@ -1 +1 @@
1
- {"version":3,"file":"create-custom-fields-dictionaries.cjs","names":["z","action"],"sources":["../../src/actions/create-custom-fields-dictionaries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCreateCustomFieldsDictionariesInput = z.object({\n code: z.string().describe(\"Symbolic code for the dictionary (only at creation), must match pattern ^[a-z][\\\\w_-]+$\").optional(),\n name: z.string().describe(\"Name of the custom dictionary\"),\n elements: z.array(z.object({\n code: z.string().describe(\"Symbolic code for the element (only at creation)\").optional(),\n name: z.string().describe(\"Name of the dictionary element\"),\n ordering: z.number().int().describe(\"Sort order of the element (defaults to 50 if not specified)\").optional(),\n}).describe(\"Element within a custom dictionary\")).describe(\"List of dictionary elements (at least one element is required)\"),\n}).describe(\"Request parameters for creating a custom fields dictionary in Simla.\");\nexport const SimlaComCreateCustomFieldsDictionariesOutput = z.object({\n code: z.string().describe(\"Symbolic code of the created custom dictionary (present on success)\").nullable().optional(),\n errors: z.record(z.string(), z.unknown()).describe(\"Detailed errors if the request failed\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the request was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n}).describe(\"Response schema after creating a custom fields dictionary in Simla.\");\n\nexport const simlaComCreateCustomFieldsDictionaries = action(\"SIMLA_COM_CREATE_CUSTOM_FIELDS_DICTIONARIES\", {\n slug: \"simla_com-create-custom-fields-dictionaries\",\n name: \"Create Custom Fields Dictionary\",\n description: \"Tool to create a custom fields dictionary with elements. Use when you need to create a new directory for dictionary-type or multiselect_dictionary-type custom fields.\",\n input: SimlaComCreateCustomFieldsDictionariesInput,\n output: SimlaComCreateCustomFieldsDictionariesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC9H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACzD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5H,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAa,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,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,8CAA8C,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAEjF,MAAa,yCAAyCC,eAAAA,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-custom-fields-dictionaries.cjs","names":["z","action"],"sources":["../../src/actions/create-custom-fields-dictionaries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCreateCustomFieldsDictionariesInput = z.object({\n code: z.string().describe(\"Symbolic code for the dictionary (only at creation), must match pattern ^[a-z][\\\\w_-]+$\").optional(),\n name: z.string().describe(\"Name of the custom dictionary\"),\n elements: z.array(z.object({\n code: z.string().describe(\"Symbolic code for the element (only at creation)\").optional(),\n name: z.string().describe(\"Name of the dictionary element\"),\n ordering: z.number().int().describe(\"Sort order of the element (defaults to 50 if not specified)\").optional(),\n}).passthrough().describe(\"Element within a custom dictionary\")).describe(\"List of dictionary elements (at least one element is required)\"),\n}).describe(\"Request parameters for creating a custom fields dictionary in Simla.\");\nexport const SimlaComCreateCustomFieldsDictionariesOutput = z.object({\n code: z.string().describe(\"Symbolic code of the created custom dictionary (present on success)\").nullable().optional(),\n errors: z.record(z.string(), z.unknown()).describe(\"Detailed errors if the request failed\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the request was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n}).passthrough().describe(\"Response schema after creating a custom fields dictionary in Simla.\");\n\nexport const simlaComCreateCustomFieldsDictionaries = action(\"SIMLA_COM_CREATE_CUSTOM_FIELDS_DICTIONARIES\", {\n slug: \"simla_com-create-custom-fields-dictionaries\",\n name: \"Create Custom Fields Dictionary\",\n description: \"Tool to create a custom fields dictionary with elements. Use when you need to create a new directory for dictionary-type or multiselect_dictionary-type custom fields.\",\n input: SimlaComCreateCustomFieldsDictionariesInput,\n output: SimlaComCreateCustomFieldsDictionariesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC9H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACzD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC1I,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAa,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,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,8CAA8C,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAE/F,MAAa,yCAAyCC,eAAAA,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,17 +8,18 @@ declare const SimlaComCreateCustomFieldsDictionariesInput: z.ZodObject<{
8
8
  code: z.ZodOptional<z.ZodString>;
9
9
  name: z.ZodString;
10
10
  ordering: z.ZodOptional<z.ZodNumber>;
11
- }, z.core.$strip>>;
11
+ }, z.core.$loose>>;
12
12
  }, z.core.$strip>;
13
13
  declare const SimlaComCreateCustomFieldsDictionariesOutput: z.ZodObject<{
14
14
  code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  errors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16
16
  success: z.ZodNullable<z.ZodBoolean>;
17
17
  errorMsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- }, z.core.$strip>;
18
+ }, z.core.$loose>;
19
19
  declare const simlaComCreateCustomFieldsDictionaries: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  name: string;
21
21
  elements: {
22
+ [x: string]: unknown;
22
23
  name: string;
23
24
  code?: string | undefined;
24
25
  ordering?: number | undefined;
@@ -8,17 +8,18 @@ declare const SimlaComCreateCustomFieldsDictionariesInput: z.ZodObject<{
8
8
  code: z.ZodOptional<z.ZodString>;
9
9
  name: z.ZodString;
10
10
  ordering: z.ZodOptional<z.ZodNumber>;
11
- }, z.core.$strip>>;
11
+ }, z.core.$loose>>;
12
12
  }, z.core.$strip>;
13
13
  declare const SimlaComCreateCustomFieldsDictionariesOutput: z.ZodObject<{
14
14
  code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  errors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16
16
  success: z.ZodNullable<z.ZodBoolean>;
17
17
  errorMsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- }, z.core.$strip>;
18
+ }, z.core.$loose>;
19
19
  declare const simlaComCreateCustomFieldsDictionaries: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  name: string;
21
21
  elements: {
22
+ [x: string]: unknown;
22
23
  name: string;
23
24
  code?: string | undefined;
24
25
  ordering?: number | undefined;
@@ -11,14 +11,14 @@ const simlaComCreateCustomFieldsDictionaries = action("SIMLA_COM_CREATE_CUSTOM_F
11
11
  code: z.string().describe("Symbolic code for the element (only at creation)").optional(),
12
12
  name: z.string().describe("Name of the dictionary element"),
13
13
  ordering: z.number().int().describe("Sort order of the element (defaults to 50 if not specified)").optional()
14
- }).describe("Element within a custom dictionary")).describe("List of dictionary elements (at least one element is required)")
14
+ }).passthrough().describe("Element within a custom dictionary")).describe("List of dictionary elements (at least one element is required)")
15
15
  }).describe("Request parameters for creating a custom fields dictionary in Simla."),
16
16
  output: z.object({
17
17
  code: z.string().describe("Symbolic code of the created custom dictionary (present on success)").nullable().optional(),
18
18
  errors: z.record(z.string(), z.unknown()).describe("Detailed errors if the request failed").nullable().optional(),
19
19
  success: z.boolean().describe("Indicates whether the request was successful").nullable(),
20
20
  errorMsg: z.string().describe("Error message if the request failed").nullable().optional()
21
- }).describe("Response schema after creating a custom fields dictionary in Simla.")
21
+ }).passthrough().describe("Response schema after creating a custom fields dictionary in Simla.")
22
22
  });
23
23
  //#endregion
24
24
  export { simlaComCreateCustomFieldsDictionaries };
@@ -1 +1 @@
1
- {"version":3,"file":"create-custom-fields-dictionaries.mjs","names":[],"sources":["../../src/actions/create-custom-fields-dictionaries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCreateCustomFieldsDictionariesInput = z.object({\n code: z.string().describe(\"Symbolic code for the dictionary (only at creation), must match pattern ^[a-z][\\\\w_-]+$\").optional(),\n name: z.string().describe(\"Name of the custom dictionary\"),\n elements: z.array(z.object({\n code: z.string().describe(\"Symbolic code for the element (only at creation)\").optional(),\n name: z.string().describe(\"Name of the dictionary element\"),\n ordering: z.number().int().describe(\"Sort order of the element (defaults to 50 if not specified)\").optional(),\n}).describe(\"Element within a custom dictionary\")).describe(\"List of dictionary elements (at least one element is required)\"),\n}).describe(\"Request parameters for creating a custom fields dictionary in Simla.\");\nexport const SimlaComCreateCustomFieldsDictionariesOutput = z.object({\n code: z.string().describe(\"Symbolic code of the created custom dictionary (present on success)\").nullable().optional(),\n errors: z.record(z.string(), z.unknown()).describe(\"Detailed errors if the request failed\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the request was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n}).describe(\"Response schema after creating a custom fields dictionary in Simla.\");\n\nexport const simlaComCreateCustomFieldsDictionaries = action(\"SIMLA_COM_CREATE_CUSTOM_FIELDS_DICTIONARIES\", {\n slug: \"simla_com-create-custom-fields-dictionaries\",\n name: \"Create Custom Fields Dictionary\",\n description: \"Tool to create a custom fields dictionary with elements. Use when you need to create a new directory for dictionary-type or multiselect_dictionary-type custom fields.\",\n input: SimlaComCreateCustomFieldsDictionariesInput,\n output: SimlaComCreateCustomFieldsDictionariesOutput,\n});\n"],"mappings":";;AAoBA,MAAa,yCAAyC,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApByD,EAAE,OAAO;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EAC9H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EACzD,UAAU,EAAE,MAAM,EAAE,OAAO;GAC3B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;GACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;GAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAC9G,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,CAAC,SAAS,gEAAgE;CAC5H,CAAC,CAAC,CAAC,SAAS,sEAYH;CACP,QAZ0D,EAAE,OAAO;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,SAAS,qEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-custom-fields-dictionaries.mjs","names":[],"sources":["../../src/actions/create-custom-fields-dictionaries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCreateCustomFieldsDictionariesInput = z.object({\n code: z.string().describe(\"Symbolic code for the dictionary (only at creation), must match pattern ^[a-z][\\\\w_-]+$\").optional(),\n name: z.string().describe(\"Name of the custom dictionary\"),\n elements: z.array(z.object({\n code: z.string().describe(\"Symbolic code for the element (only at creation)\").optional(),\n name: z.string().describe(\"Name of the dictionary element\"),\n ordering: z.number().int().describe(\"Sort order of the element (defaults to 50 if not specified)\").optional(),\n}).passthrough().describe(\"Element within a custom dictionary\")).describe(\"List of dictionary elements (at least one element is required)\"),\n}).describe(\"Request parameters for creating a custom fields dictionary in Simla.\");\nexport const SimlaComCreateCustomFieldsDictionariesOutput = z.object({\n code: z.string().describe(\"Symbolic code of the created custom dictionary (present on success)\").nullable().optional(),\n errors: z.record(z.string(), z.unknown()).describe(\"Detailed errors if the request failed\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the request was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n}).passthrough().describe(\"Response schema after creating a custom fields dictionary in Simla.\");\n\nexport const simlaComCreateCustomFieldsDictionaries = action(\"SIMLA_COM_CREATE_CUSTOM_FIELDS_DICTIONARIES\", {\n slug: \"simla_com-create-custom-fields-dictionaries\",\n name: \"Create Custom Fields Dictionary\",\n description: \"Tool to create a custom fields dictionary with elements. Use when you need to create a new directory for dictionary-type or multiselect_dictionary-type custom fields.\",\n input: SimlaComCreateCustomFieldsDictionariesInput,\n output: SimlaComCreateCustomFieldsDictionariesOutput,\n});\n"],"mappings":";;AAoBA,MAAa,yCAAyC,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApByD,EAAE,OAAO;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EAC9H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EACzD,UAAU,EAAE,MAAM,EAAE,OAAO;GAC3B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;GACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;GAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,CAAC,SAAS,gEAAgE;CAC1I,CAAC,CAAC,CAAC,SAAS,sEAYH;CACP,QAZ0D,EAAE,OAAO;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAOhB;AACV,CAAC"}
@@ -22,7 +22,7 @@ const SimlaComCreateCustomerCorporateInput = zod.z.object({ customerCorporate: z
22
22
  building: zod.z.string().describe("Building number").optional(),
23
23
  countryIso: zod.z.string().describe("Country ISO code - must be a valid code accepted by the API (e.g., 'US', 'GB', 'DE'). Note: Not all ISO codes may be supported.").optional(),
24
24
  intercomCode: zod.z.string().describe("Intercom code").optional()
25
- }).describe("Address details for a corporate customer")).describe("List of addresses associated with the corporate customer").optional(),
25
+ }).passthrough().describe("Address details for a corporate customer")).describe("List of addresses associated with the corporate customer").optional(),
26
26
  externalId: zod.z.string().describe("External identifier for the corporate customer").optional(),
27
27
  customFields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom fields associated with the corporate customer").optional(),
28
28
  personalDiscount: zod.z.number().describe("Personal discount percentage for this corporate customer").optional()
@@ -31,7 +31,7 @@ const SimlaComCreateCustomerCorporateOutput = zod.z.object({
31
31
  id: zod.z.number().int().describe("Internal ID of the created corporate customer").nullable(),
32
32
  success: zod.z.boolean().describe("Indicates if the request was successful").nullable(),
33
33
  externalId: zod.z.string().describe("External identifier of the created corporate customer").nullable().optional()
34
- }).describe("Response model after creating a corporate customer");
34
+ }).passthrough().describe("Response model after creating a corporate customer");
35
35
  const simlaComCreateCustomerCorporate = require_action.action("SIMLA_COM_CREATE_CUSTOMER_CORPORATE", {
36
36
  slug: "simla_com-create-customer-corporate",
37
37
  name: "Create Corporate Customer",
@@ -1 +1 @@
1
- {"version":3,"file":"create-customer-corporate.cjs","names":["z","action"],"sources":["../../src/actions/create-customer-corporate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCreateCustomerCorporateInput = z.object({\n customerCorporate: z.object({\n bad: z.boolean().describe(\"Indicates if customer is marked as problematic\").optional(),\n vip: z.boolean().describe(\"Indicates if customer is marked as VIP\").optional(),\n site: z.string().describe(\"Store code from which the customer originated\").optional(),\n tags: z.array(z.string()).describe(\"List of tags associated with the corporate customer\").optional(),\n nickName: z.string().describe(\"Nickname or display name of the corporate customer (company name)\").optional(),\n addresses: z.array(z.object({\n city: z.string().describe(\"City\").optional(),\n flat: z.string().describe(\"Apartment or suite number\").optional(),\n block: z.string().describe(\"Block or section\").optional(),\n floor: z.string().describe(\"Floor number\").optional(),\n house: z.string().describe(\"House number\").optional(),\n index: z.string().describe(\"Postal code\").optional(),\n metro: z.string().describe(\"Nearest metro station\").optional(),\n notes: z.string().describe(\"Additional notes\").optional(),\n region: z.string().describe(\"Region or state\").optional(),\n street: z.string().describe(\"Street name\").optional(),\n housing: z.string().describe(\"Housing information\").optional(),\n building: z.string().describe(\"Building number\").optional(),\n countryIso: z.string().describe(\"Country ISO code - must be a valid code accepted by the API (e.g., 'US', 'GB', 'DE'). Note: Not all ISO codes may be supported.\").optional(),\n intercomCode: z.string().describe(\"Intercom code\").optional(),\n}).describe(\"Address details for a corporate customer\")).describe(\"List of addresses associated with the corporate customer\").optional(),\n externalId: z.string().describe(\"External identifier for the corporate customer\").optional(),\n customFields: z.record(z.string(), z.unknown()).describe(\"Custom fields associated with the corporate customer\").optional(),\n personalDiscount: z.number().describe(\"Personal discount percentage for this corporate customer\").optional(),\n}).describe(\"The corporate customer object to create\"),\n}).describe(\"Request model for creating a corporate customer\");\nexport const SimlaComCreateCustomerCorporateOutput = z.object({\n id: z.number().int().describe(\"Internal ID of the created corporate customer\").nullable(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n externalId: z.string().describe(\"External identifier of the created corporate customer\").nullable().optional(),\n}).describe(\"Response model after creating a corporate customer\");\n\nexport const simlaComCreateCustomerCorporate = action(\"SIMLA_COM_CREATE_CUSTOMER_CORPORATE\", {\n slug: \"simla_com-create-customer-corporate\",\n name: \"Create Corporate Customer\",\n description: \"Creates a new corporate customer in Simla.com. Use when you need to add a new business or organization as a customer. At least one field (typically nickName or externalId) should be provided. Returns the corporate customer ID upon successful creation.\",\n input: SimlaComCreateCustomerCorporateInput,\n output: SimlaComCreateCustomerCorporateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,mBAAmBA,IAAAA,EAAE,OAAO;CAC5B,KAAKA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,KAAKA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACnG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC5B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,MAAM,CAAC,CAAC,SAAS;EAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,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,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,yCAAyC,EACrD,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-customer-corporate.cjs","names":["z","action"],"sources":["../../src/actions/create-customer-corporate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCreateCustomerCorporateInput = z.object({\n customerCorporate: z.object({\n bad: z.boolean().describe(\"Indicates if customer is marked as problematic\").optional(),\n vip: z.boolean().describe(\"Indicates if customer is marked as VIP\").optional(),\n site: z.string().describe(\"Store code from which the customer originated\").optional(),\n tags: z.array(z.string()).describe(\"List of tags associated with the corporate customer\").optional(),\n nickName: z.string().describe(\"Nickname or display name of the corporate customer (company name)\").optional(),\n addresses: z.array(z.object({\n city: z.string().describe(\"City\").optional(),\n flat: z.string().describe(\"Apartment or suite number\").optional(),\n block: z.string().describe(\"Block or section\").optional(),\n floor: z.string().describe(\"Floor number\").optional(),\n house: z.string().describe(\"House number\").optional(),\n index: z.string().describe(\"Postal code\").optional(),\n metro: z.string().describe(\"Nearest metro station\").optional(),\n notes: z.string().describe(\"Additional notes\").optional(),\n region: z.string().describe(\"Region or state\").optional(),\n street: z.string().describe(\"Street name\").optional(),\n housing: z.string().describe(\"Housing information\").optional(),\n building: z.string().describe(\"Building number\").optional(),\n countryIso: z.string().describe(\"Country ISO code - must be a valid code accepted by the API (e.g., 'US', 'GB', 'DE'). Note: Not all ISO codes may be supported.\").optional(),\n intercomCode: z.string().describe(\"Intercom code\").optional(),\n}).passthrough().describe(\"Address details for a corporate customer\")).describe(\"List of addresses associated with the corporate customer\").optional(),\n externalId: z.string().describe(\"External identifier for the corporate customer\").optional(),\n customFields: z.record(z.string(), z.unknown()).describe(\"Custom fields associated with the corporate customer\").optional(),\n personalDiscount: z.number().describe(\"Personal discount percentage for this corporate customer\").optional(),\n}).describe(\"The corporate customer object to create\"),\n}).describe(\"Request model for creating a corporate customer\");\nexport const SimlaComCreateCustomerCorporateOutput = z.object({\n id: z.number().int().describe(\"Internal ID of the created corporate customer\").nullable(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n externalId: z.string().describe(\"External identifier of the created corporate customer\").nullable().optional(),\n}).passthrough().describe(\"Response model after creating a corporate customer\");\n\nexport const simlaComCreateCustomerCorporate = action(\"SIMLA_COM_CREATE_CUSTOMER_CORPORATE\", {\n slug: \"simla_com-create-customer-corporate\",\n name: \"Create Corporate Customer\",\n description: \"Creates a new corporate customer in Simla.com. Use when you need to add a new business or organization as a customer. At least one field (typically nickName or externalId) should be provided. Returns the corporate customer ID upon successful creation.\",\n input: SimlaComCreateCustomerCorporateInput,\n output: SimlaComCreateCustomerCorporateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,mBAAmBA,IAAAA,EAAE,OAAO;CAC5B,KAAKA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,KAAKA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CA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CAAC,SAAS;EAC5K,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACnJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,cAAcA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC1H,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,yCAAyC,EACrD,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -23,7 +23,7 @@ declare const SimlaComCreateCustomerCorporateInput: z.ZodObject<{
23
23
  building: z.ZodOptional<z.ZodString>;
24
24
  countryIso: z.ZodOptional<z.ZodString>;
25
25
  intercomCode: z.ZodOptional<z.ZodString>;
26
- }, z.core.$strip>>>;
26
+ }, z.core.$loose>>>;
27
27
  externalId: z.ZodOptional<z.ZodString>;
28
28
  customFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
29
29
  personalDiscount: z.ZodOptional<z.ZodNumber>;
@@ -33,7 +33,7 @@ declare const SimlaComCreateCustomerCorporateOutput: z.ZodObject<{
33
33
  id: z.ZodNullable<z.ZodNumber>;
34
34
  success: z.ZodNullable<z.ZodBoolean>;
35
35
  externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
- }, z.core.$strip>;
36
+ }, z.core.$loose>;
37
37
  declare const simlaComCreateCustomerCorporate: import("@keystrokehq/action").WorkflowActionDefinition<{
38
38
  customerCorporate: {
39
39
  bad?: boolean | undefined;
@@ -42,6 +42,7 @@ declare const simlaComCreateCustomerCorporate: import("@keystrokehq/action").Wor
42
42
  tags?: string[] | undefined;
43
43
  nickName?: string | undefined;
44
44
  addresses?: {
45
+ [x: string]: unknown;
45
46
  city?: string | undefined;
46
47
  flat?: string | undefined;
47
48
  block?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"create-customer-corporate.d.cts","names":[],"sources":["../../src/actions/create-customer-corporate.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAMrC,+BAAA,gCAA+B,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;mBAM1C,MAAA"}
1
+ {"version":3,"file":"create-customer-corporate.d.cts","names":[],"sources":["../../src/actions/create-customer-corporate.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAMrC,+BAAA,gCAA+B,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;;mBAM1C,MAAA"}
@@ -23,7 +23,7 @@ declare const SimlaComCreateCustomerCorporateInput: z.ZodObject<{
23
23
  building: z.ZodOptional<z.ZodString>;
24
24
  countryIso: z.ZodOptional<z.ZodString>;
25
25
  intercomCode: z.ZodOptional<z.ZodString>;
26
- }, z.core.$strip>>>;
26
+ }, z.core.$loose>>>;
27
27
  externalId: z.ZodOptional<z.ZodString>;
28
28
  customFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
29
29
  personalDiscount: z.ZodOptional<z.ZodNumber>;
@@ -33,7 +33,7 @@ declare const SimlaComCreateCustomerCorporateOutput: z.ZodObject<{
33
33
  id: z.ZodNullable<z.ZodNumber>;
34
34
  success: z.ZodNullable<z.ZodBoolean>;
35
35
  externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
- }, z.core.$strip>;
36
+ }, z.core.$loose>;
37
37
  declare const simlaComCreateCustomerCorporate: import("@keystrokehq/action").WorkflowActionDefinition<{
38
38
  customerCorporate: {
39
39
  bad?: boolean | undefined;
@@ -42,6 +42,7 @@ declare const simlaComCreateCustomerCorporate: import("@keystrokehq/action").Wor
42
42
  tags?: string[] | undefined;
43
43
  nickName?: string | undefined;
44
44
  addresses?: {
45
+ [x: string]: unknown;
45
46
  city?: string | undefined;
46
47
  flat?: string | undefined;
47
48
  block?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"create-customer-corporate.d.mts","names":[],"sources":["../../src/actions/create-customer-corporate.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAMrC,+BAAA,gCAA+B,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;mBAM1C,MAAA"}
1
+ {"version":3,"file":"create-customer-corporate.d.mts","names":[],"sources":["../../src/actions/create-customer-corporate.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAMrC,+BAAA,gCAA+B,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;;mBAM1C,MAAA"}
@@ -25,7 +25,7 @@ const simlaComCreateCustomerCorporate = action("SIMLA_COM_CREATE_CUSTOMER_CORPOR
25
25
  building: z.string().describe("Building number").optional(),
26
26
  countryIso: z.string().describe("Country ISO code - must be a valid code accepted by the API (e.g., 'US', 'GB', 'DE'). Note: Not all ISO codes may be supported.").optional(),
27
27
  intercomCode: z.string().describe("Intercom code").optional()
28
- }).describe("Address details for a corporate customer")).describe("List of addresses associated with the corporate customer").optional(),
28
+ }).passthrough().describe("Address details for a corporate customer")).describe("List of addresses associated with the corporate customer").optional(),
29
29
  externalId: z.string().describe("External identifier for the corporate customer").optional(),
30
30
  customFields: z.record(z.string(), z.unknown()).describe("Custom fields associated with the corporate customer").optional(),
31
31
  personalDiscount: z.number().describe("Personal discount percentage for this corporate customer").optional()
@@ -34,7 +34,7 @@ const simlaComCreateCustomerCorporate = action("SIMLA_COM_CREATE_CUSTOMER_CORPOR
34
34
  id: z.number().int().describe("Internal ID of the created corporate customer").nullable(),
35
35
  success: z.boolean().describe("Indicates if the request was successful").nullable(),
36
36
  externalId: z.string().describe("External identifier of the created corporate customer").nullable().optional()
37
- }).describe("Response model after creating a corporate customer")
37
+ }).passthrough().describe("Response model after creating a corporate customer")
38
38
  });
39
39
  //#endregion
40
40
  export { simlaComCreateCustomerCorporate };
@@ -1 +1 @@
1
- {"version":3,"file":"create-customer-corporate.mjs","names":[],"sources":["../../src/actions/create-customer-corporate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCreateCustomerCorporateInput = z.object({\n customerCorporate: z.object({\n bad: z.boolean().describe(\"Indicates if customer is marked as problematic\").optional(),\n vip: z.boolean().describe(\"Indicates if customer is marked as VIP\").optional(),\n site: z.string().describe(\"Store code from which the customer originated\").optional(),\n tags: z.array(z.string()).describe(\"List of tags associated with the corporate customer\").optional(),\n nickName: z.string().describe(\"Nickname or display name of the corporate customer (company name)\").optional(),\n addresses: z.array(z.object({\n city: z.string().describe(\"City\").optional(),\n flat: z.string().describe(\"Apartment or suite number\").optional(),\n block: z.string().describe(\"Block or section\").optional(),\n floor: z.string().describe(\"Floor number\").optional(),\n house: z.string().describe(\"House number\").optional(),\n index: z.string().describe(\"Postal code\").optional(),\n metro: z.string().describe(\"Nearest metro station\").optional(),\n notes: z.string().describe(\"Additional notes\").optional(),\n region: z.string().describe(\"Region or state\").optional(),\n street: z.string().describe(\"Street name\").optional(),\n housing: z.string().describe(\"Housing information\").optional(),\n building: z.string().describe(\"Building number\").optional(),\n countryIso: z.string().describe(\"Country ISO code - must be a valid code accepted by the API (e.g., 'US', 'GB', 'DE'). Note: Not all ISO codes may be supported.\").optional(),\n intercomCode: z.string().describe(\"Intercom code\").optional(),\n}).describe(\"Address details for a corporate customer\")).describe(\"List of addresses associated with the corporate customer\").optional(),\n externalId: z.string().describe(\"External identifier for the corporate customer\").optional(),\n customFields: z.record(z.string(), z.unknown()).describe(\"Custom fields associated with the corporate customer\").optional(),\n personalDiscount: z.number().describe(\"Personal discount percentage for this corporate customer\").optional(),\n}).describe(\"The corporate customer object to create\"),\n}).describe(\"Request model for creating a corporate customer\");\nexport const SimlaComCreateCustomerCorporateOutput = z.object({\n id: z.number().int().describe(\"Internal ID of the created corporate customer\").nullable(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n externalId: z.string().describe(\"External identifier of the created corporate customer\").nullable().optional(),\n}).describe(\"Response model after creating a corporate customer\");\n\nexport const simlaComCreateCustomerCorporate = action(\"SIMLA_COM_CREATE_CUSTOMER_CORPORATE\", {\n slug: \"simla_com-create-customer-corporate\",\n name: \"Create Corporate Customer\",\n description: \"Creates a new corporate customer in Simla.com. Use when you need to add a new business or organization as a customer. At least one field (typically nickName or externalId) should be provided. Returns the corporate customer ID upon successful creation.\",\n input: SimlaComCreateCustomerCorporateInput,\n output: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AC,CAAC,SAAS;GACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;GAC7D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;GAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;GAC5K,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;EAC9D,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACrI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC3F,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC1H,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,SAAS,yCAAyC,EACrD,CAAC,CAAC,CAAC,SAAS,iDAWH;CACP,QAXmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-customer-corporate.mjs","names":[],"sources":["../../src/actions/create-customer-corporate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCreateCustomerCorporateInput = z.object({\n customerCorporate: z.object({\n bad: z.boolean().describe(\"Indicates if customer is marked as problematic\").optional(),\n vip: z.boolean().describe(\"Indicates if customer is marked as VIP\").optional(),\n site: z.string().describe(\"Store code from which the customer originated\").optional(),\n tags: z.array(z.string()).describe(\"List of tags associated with the corporate customer\").optional(),\n nickName: z.string().describe(\"Nickname or display name of the corporate customer (company name)\").optional(),\n addresses: z.array(z.object({\n city: z.string().describe(\"City\").optional(),\n flat: z.string().describe(\"Apartment or suite number\").optional(),\n block: z.string().describe(\"Block or section\").optional(),\n floor: z.string().describe(\"Floor number\").optional(),\n house: z.string().describe(\"House number\").optional(),\n index: z.string().describe(\"Postal code\").optional(),\n metro: z.string().describe(\"Nearest metro station\").optional(),\n notes: z.string().describe(\"Additional notes\").optional(),\n region: z.string().describe(\"Region or state\").optional(),\n street: z.string().describe(\"Street name\").optional(),\n housing: z.string().describe(\"Housing information\").optional(),\n building: z.string().describe(\"Building number\").optional(),\n countryIso: z.string().describe(\"Country ISO code - must be a valid code accepted by the API (e.g., 'US', 'GB', 'DE'). Note: Not all ISO codes may be supported.\").optional(),\n intercomCode: z.string().describe(\"Intercom code\").optional(),\n}).passthrough().describe(\"Address details for a corporate customer\")).describe(\"List of addresses associated with the corporate customer\").optional(),\n externalId: z.string().describe(\"External identifier for the corporate customer\").optional(),\n customFields: z.record(z.string(), z.unknown()).describe(\"Custom fields associated with the corporate customer\").optional(),\n personalDiscount: z.number().describe(\"Personal discount percentage for this corporate customer\").optional(),\n}).describe(\"The corporate customer object to create\"),\n}).describe(\"Request model for creating a corporate customer\");\nexport const SimlaComCreateCustomerCorporateOutput = z.object({\n id: z.number().int().describe(\"Internal ID of the created corporate customer\").nullable(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n externalId: z.string().describe(\"External identifier of the created corporate customer\").nullable().optional(),\n}).passthrough().describe(\"Response model after creating a corporate customer\");\n\nexport const simlaComCreateCustomerCorporate = action(\"SIMLA_COM_CREATE_CUSTOMER_CORPORATE\", {\n slug: \"simla_com-create-customer-corporate\",\n name: \"Create Corporate Customer\",\n description: \"Creates a new corporate customer in Simla.com. Use when you need to add a new business or organization as a customer. At least one field (typically nickName or externalId) should be provided. Returns the corporate customer ID upon successful creation.\",\n input: SimlaComCreateCustomerCorporateInput,\n output: SimlaComCreateCustomerCorporateOutput,\n});\n"],"mappings":";;AAsCA,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtCkD,EAAE,OAAO,EAC3D,mBAAmB,EAAE,OAAO;EAC5B,KAAK,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACrF,KAAK,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACpF,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACnG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EAC5G,WAAW,EAAE,MAAM,EAAE,OAAO;GAC5B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,MAAM,CAAC,CAAC,SAAS;GAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;GAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;GACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;GACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;GACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;GACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;GAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;GAC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zod.z.object({
6
6
  items: zod.z.array(zod.z.object({
7
7
  offer: zod.z.object({ externalId: zod.z.string().describe("External product/offer identifier from your system") }).describe("Product offer identifier for this cart item"),
8
8
  quantity: zod.z.number().describe("Item quantity, must be greater than 0 (supports decimals like 1.5)")
9
- }).describe("Item to include in the shopping cart")).describe("List of items in the shopping cart (at least one item required)"),
9
+ }).passthrough().describe("Item to include in the shopping cart")).describe("List of items in the shopping cart (at least one item required)"),
10
10
  customer: zod.z.object({ externalId: zod.z.string().describe("External customer identifier from your system") }).describe("Customer information associated with this cart")
11
11
  }).describe("Shopping cart data including customer and items"),
12
12
  site: zod.z.string().describe("Site code identifier where the cart belongs")
@@ -14,7 +14,7 @@ const SimlaComCreateCustomerInteractionCartSetInput = zod.z.object({
14
14
  const SimlaComCreateCustomerInteractionCartSetOutput = zod.z.object({
15
15
  success: zod.z.boolean().describe("Indicates if the cart operation was successful").nullable(),
16
16
  errorMsg: zod.z.string().describe("Error message if operation failed").nullable().optional()
17
- }).describe("Response model for cart set operation");
17
+ }).passthrough().describe("Response model for cart set operation");
18
18
  const simlaComCreateCustomerInteractionCartSet = require_action.action("SIMLA_COM_CREATE_CUSTOMER_INTERACTION_CART_SET", {
19
19
  slug: "simla_com-create-customer-interaction-cart-set",
20
20
  name: "Create Customer Interaction Cart Set",
@@ -1 +1 @@
1
- {"version":3,"file":"create-customer-interaction-cart-set.cjs","names":["z","action"],"sources":["../../src/actions/create-customer-interaction-cart-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCreateCustomerInteractionCartSetInput = z.object({\n cart: z.object({\n items: z.array(z.object({\n offer: z.object({\n externalId: z.string().describe(\"External product/offer identifier from your system\"),\n}).describe(\"Product offer identifier for this cart item\"),\n quantity: z.number().describe(\"Item quantity, must be greater than 0 (supports decimals like 1.5)\"),\n}).describe(\"Item to include in the shopping cart\")).describe(\"List of items in the shopping cart (at least one item required)\"),\n customer: z.object({\n externalId: z.string().describe(\"External customer identifier from your system\"),\n}).describe(\"Customer information associated with this cart\"),\n}).describe(\"Shopping cart data including customer and items\"),\n site: z.string().describe(\"Site code identifier where the cart belongs\"),\n}).describe(\"Request model for creating or overwriting cart data\");\nexport const SimlaComCreateCustomerInteractionCartSetOutput = z.object({\n success: z.boolean().describe(\"Indicates if the cart operation was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if operation failed\").nullable().optional(),\n}).describe(\"Response model for cart set operation\");\n\nexport const simlaComCreateCustomerInteractionCartSet = action(\"SIMLA_COM_CREATE_CUSTOMER_INTERACTION_CART_SET\", {\n slug: \"simla_com-create-customer-interaction-cart-set\",\n name: \"Create Customer Interaction Cart Set\",\n description: \"Tool to create or overwrite shopping cart data for a customer. Use when you need to set cart contents for customer interaction tracking. This overwrites any existing cart data for the specified customer.\",\n input: SimlaComCreateCustomerInteractionCartSetInput,\n output: SimlaComCreateCustomerInteractionCartSetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gDAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO;EACf,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;GACxB,OAAOA,IAAAA,EAAE,OAAO,EAChB,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EACtF,CAAC,CAAC,CAAC,SAAS,6CAA6C;GACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;EACpG,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,CAAC,SAAS,iEAAiE;EAC7H,UAAUA,IAAAA,EAAE,OAAO,EACnB,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EACjF,CAAC,CAAC,CAAC,SAAS,gDAAgD;CAC5D,CAAC,CAAC,CAAC,SAAS,iDAAiD;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;AACzE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,iDAAiDA,IAAAA,EAAE,OAAO;CACrE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACzF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,2CAA2CC,eAAAA,OAAO,kDAAkD;CAC/G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-customer-interaction-cart-set.cjs","names":["z","action"],"sources":["../../src/actions/create-customer-interaction-cart-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCreateCustomerInteractionCartSetInput = z.object({\n cart: z.object({\n items: z.array(z.object({\n offer: z.object({\n externalId: z.string().describe(\"External product/offer identifier from your system\"),\n}).describe(\"Product offer identifier for this cart item\"),\n quantity: z.number().describe(\"Item quantity, must be greater than 0 (supports decimals like 1.5)\"),\n}).passthrough().describe(\"Item to include in the shopping cart\")).describe(\"List of items in the shopping cart (at least one item required)\"),\n customer: z.object({\n externalId: z.string().describe(\"External customer identifier from your system\"),\n}).describe(\"Customer information associated with this cart\"),\n}).describe(\"Shopping cart data including customer and items\"),\n site: z.string().describe(\"Site code identifier where the cart belongs\"),\n}).describe(\"Request model for creating or overwriting cart data\");\nexport const SimlaComCreateCustomerInteractionCartSetOutput = z.object({\n success: z.boolean().describe(\"Indicates if the cart operation was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if operation failed\").nullable().optional(),\n}).passthrough().describe(\"Response model for cart set operation\");\n\nexport const simlaComCreateCustomerInteractionCartSet = action(\"SIMLA_COM_CREATE_CUSTOMER_INTERACTION_CART_SET\", {\n slug: \"simla_com-create-customer-interaction-cart-set\",\n name: \"Create Customer Interaction Cart Set\",\n description: \"Tool to create or overwrite shopping cart data for a customer. Use when you need to set cart contents for customer interaction tracking. This overwrites any existing cart data for the specified customer.\",\n input: SimlaComCreateCustomerInteractionCartSetInput,\n output: SimlaComCreateCustomerInteractionCartSetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gDAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO;EACf,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;GACxB,OAAOA,IAAAA,EAAE,OAAO,EAChB,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EACtF,CAAC,CAAC,CAAC,SAAS,6CAA6C;GACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;EACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,CAAC,SAAS,iEAAiE;EAC3I,UAAUA,IAAAA,EAAE,OAAO,EACnB,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EACjF,CAAC,CAAC,CAAC,SAAS,gDAAgD;CAC5D,CAAC,CAAC,CAAC,SAAS,iDAAiD;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;AACzE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,iDAAiDA,IAAAA,EAAE,OAAO;CACrE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACzF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,2CAA2CC,eAAAA,OAAO,kDAAkD;CAC/G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,7 +8,7 @@ declare const SimlaComCreateCustomerInteractionCartSetInput: z.ZodObject<{
8
8
  externalId: z.ZodString;
9
9
  }, z.core.$strip>;
10
10
  quantity: z.ZodNumber;
11
- }, z.core.$strip>>;
11
+ }, z.core.$loose>>;
12
12
  customer: z.ZodObject<{
13
13
  externalId: z.ZodString;
14
14
  }, z.core.$strip>;
@@ -18,10 +18,11 @@ declare const SimlaComCreateCustomerInteractionCartSetInput: z.ZodObject<{
18
18
  declare const SimlaComCreateCustomerInteractionCartSetOutput: z.ZodObject<{
19
19
  success: z.ZodNullable<z.ZodBoolean>;
20
20
  errorMsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
- }, z.core.$strip>;
21
+ }, z.core.$loose>;
22
22
  declare const simlaComCreateCustomerInteractionCartSet: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  cart: {
24
24
  items: {
25
+ [x: string]: unknown;
25
26
  offer: {
26
27
  externalId: string;
27
28
  };
@@ -8,7 +8,7 @@ declare const SimlaComCreateCustomerInteractionCartSetInput: z.ZodObject<{
8
8
  externalId: z.ZodString;
9
9
  }, z.core.$strip>;
10
10
  quantity: z.ZodNumber;
11
- }, z.core.$strip>>;
11
+ }, z.core.$loose>>;
12
12
  customer: z.ZodObject<{
13
13
  externalId: z.ZodString;
14
14
  }, z.core.$strip>;
@@ -18,10 +18,11 @@ declare const SimlaComCreateCustomerInteractionCartSetInput: z.ZodObject<{
18
18
  declare const SimlaComCreateCustomerInteractionCartSetOutput: z.ZodObject<{
19
19
  success: z.ZodNullable<z.ZodBoolean>;
20
20
  errorMsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
- }, z.core.$strip>;
21
+ }, z.core.$loose>;
22
22
  declare const simlaComCreateCustomerInteractionCartSet: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  cart: {
24
24
  items: {
25
+ [x: string]: unknown;
25
26
  offer: {
26
27
  externalId: string;
27
28
  };
@@ -9,7 +9,7 @@ const simlaComCreateCustomerInteractionCartSet = action("SIMLA_COM_CREATE_CUSTOM
9
9
  items: z.array(z.object({
10
10
  offer: z.object({ externalId: z.string().describe("External product/offer identifier from your system") }).describe("Product offer identifier for this cart item"),
11
11
  quantity: z.number().describe("Item quantity, must be greater than 0 (supports decimals like 1.5)")
12
- }).describe("Item to include in the shopping cart")).describe("List of items in the shopping cart (at least one item required)"),
12
+ }).passthrough().describe("Item to include in the shopping cart")).describe("List of items in the shopping cart (at least one item required)"),
13
13
  customer: z.object({ externalId: z.string().describe("External customer identifier from your system") }).describe("Customer information associated with this cart")
14
14
  }).describe("Shopping cart data including customer and items"),
15
15
  site: z.string().describe("Site code identifier where the cart belongs")
@@ -17,7 +17,7 @@ const simlaComCreateCustomerInteractionCartSet = action("SIMLA_COM_CREATE_CUSTOM
17
17
  output: z.object({
18
18
  success: z.boolean().describe("Indicates if the cart operation was successful").nullable(),
19
19
  errorMsg: z.string().describe("Error message if operation failed").nullable().optional()
20
- }).describe("Response model for cart set operation")
20
+ }).passthrough().describe("Response model for cart set operation")
21
21
  });
22
22
  //#endregion
23
23
  export { simlaComCreateCustomerInteractionCartSet };
@@ -1 +1 @@
1
- {"version":3,"file":"create-customer-interaction-cart-set.mjs","names":[],"sources":["../../src/actions/create-customer-interaction-cart-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCreateCustomerInteractionCartSetInput = z.object({\n cart: z.object({\n items: z.array(z.object({\n offer: z.object({\n externalId: z.string().describe(\"External product/offer identifier from your system\"),\n}).describe(\"Product offer identifier for this cart item\"),\n quantity: z.number().describe(\"Item quantity, must be greater than 0 (supports decimals like 1.5)\"),\n}).describe(\"Item to include in the shopping cart\")).describe(\"List of items in the shopping cart (at least one item required)\"),\n customer: z.object({\n externalId: z.string().describe(\"External customer identifier from your system\"),\n}).describe(\"Customer information associated with this cart\"),\n}).describe(\"Shopping cart data including customer and items\"),\n site: z.string().describe(\"Site code identifier where the cart belongs\"),\n}).describe(\"Request model for creating or overwriting cart data\");\nexport const SimlaComCreateCustomerInteractionCartSetOutput = z.object({\n success: z.boolean().describe(\"Indicates if the cart operation was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if operation failed\").nullable().optional(),\n}).describe(\"Response model for cart set operation\");\n\nexport const simlaComCreateCustomerInteractionCartSet = action(\"SIMLA_COM_CREATE_CUSTOMER_INTERACTION_CART_SET\", {\n slug: \"simla_com-create-customer-interaction-cart-set\",\n name: \"Create Customer Interaction Cart Set\",\n description: \"Tool to create or overwrite shopping cart data for a customer. Use when you need to set cart contents for customer interaction tracking. This overwrites any existing cart data for the specified customer.\",\n input: SimlaComCreateCustomerInteractionCartSetInput,\n output: SimlaComCreateCustomerInteractionCartSetOutput,\n});\n"],"mappings":";;AAuBA,MAAa,2CAA2C,OAAO,kDAAkD;CAC/G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvB2D,EAAE,OAAO;EACpE,MAAM,EAAE,OAAO;GACf,OAAO,EAAE,MAAM,EAAE,OAAO;IACxB,OAAO,EAAE,OAAO,EAChB,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EACtF,CAAC,CAAC,CAAC,SAAS,6CAA6C;IACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;GACpG,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,CAAC,SAAS,iEAAiE;GAC7H,UAAU,EAAE,OAAO,EACnB,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EACjF,CAAC,CAAC,CAAC,SAAS,gDAAgD;EAC5D,CAAC,CAAC,CAAC,SAAS,iDAAiD;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACzE,CAAC,CAAC,CAAC,SAAS,qDAUH;CACP,QAV4D,EAAE,OAAO;EACrE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACzF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-customer-interaction-cart-set.mjs","names":[],"sources":["../../src/actions/create-customer-interaction-cart-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCreateCustomerInteractionCartSetInput = z.object({\n cart: z.object({\n items: z.array(z.object({\n offer: z.object({\n externalId: z.string().describe(\"External product/offer identifier from your system\"),\n}).describe(\"Product offer identifier for this cart item\"),\n quantity: z.number().describe(\"Item quantity, must be greater than 0 (supports decimals like 1.5)\"),\n}).passthrough().describe(\"Item to include in the shopping cart\")).describe(\"List of items in the shopping cart (at least one item required)\"),\n customer: z.object({\n externalId: z.string().describe(\"External customer identifier from your system\"),\n}).describe(\"Customer information associated with this cart\"),\n}).describe(\"Shopping cart data including customer and items\"),\n site: z.string().describe(\"Site code identifier where the cart belongs\"),\n}).describe(\"Request model for creating or overwriting cart data\");\nexport const SimlaComCreateCustomerInteractionCartSetOutput = z.object({\n success: z.boolean().describe(\"Indicates if the cart operation was successful\").nullable(),\n errorMsg: z.string().describe(\"Error message if operation failed\").nullable().optional(),\n}).passthrough().describe(\"Response model for cart set operation\");\n\nexport const simlaComCreateCustomerInteractionCartSet = action(\"SIMLA_COM_CREATE_CUSTOMER_INTERACTION_CART_SET\", {\n slug: \"simla_com-create-customer-interaction-cart-set\",\n name: \"Create Customer Interaction Cart Set\",\n description: \"Tool to create or overwrite shopping cart data for a customer. Use when you need to set cart contents for customer interaction tracking. This overwrites any existing cart data for the specified customer.\",\n input: SimlaComCreateCustomerInteractionCartSetInput,\n output: SimlaComCreateCustomerInteractionCartSetOutput,\n});\n"],"mappings":";;AAuBA,MAAa,2CAA2C,OAAO,kDAAkD;CAC/G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvB2D,EAAE,OAAO;EACpE,MAAM,EAAE,OAAO;GACf,OAAO,EAAE,MAAM,EAAE,OAAO;IACxB,OAAO,EAAE,OAAO,EAChB,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EACtF,CAAC,CAAC,CAAC,SAAS,6CAA6C;IACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;GACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,CAAC,SAAS,iEAAiE;GAC3I,UAAU,EAAE,OAAO,EACnB,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EACjF,CAAC,CAAC,CAAC,SAAS,gDAAgD;EAC5D,CAAC,CAAC,CAAC,SAAS,iDAAiD;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACzE,CAAC,CAAC,CAAC,SAAS,qDAUH;CACP,QAV4D,EAAE,OAAO;EACrE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACzF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
@@ -33,7 +33,7 @@ const SimlaComCreateCustomerOutput = zod.z.object({
33
33
  success: zod.z.boolean().describe("Indicates if the request was successful").nullable(),
34
34
  externalId: zod.z.string().describe("External identifier of the created customer, if provided").nullable().optional(),
35
35
  successfull: zod.z.boolean().describe("Legacy success indicator (note: API has typo in field name)").nullable().optional()
36
- });
36
+ }).passthrough();
37
37
  const simlaComCreateCustomer = require_action.action("SIMLA_COM_CREATE_CUSTOMER", {
38
38
  slug: "simla_com-create-customer",
39
39
  name: "Create Customer",
@@ -1 +1 @@
1
- {"version":3,"file":"create-customer.cjs","names":["z","action"],"sources":["../../src/actions/create-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCreateCustomerInput = z.object({\n customer: z.object({\n sex: z.enum([\"male\", \"female\"]).describe(\"Customer's gender; 'male' or 'female'\").optional(),\n email: z.string().describe(\"Customer's email address\").optional(),\n phone: z.string().describe(\"Customer's phone number\").optional(),\n address: z.object({\n city: z.string().describe(\"City\").optional(),\n flat: z.string().describe(\"Apartment or suite number\").optional(),\n block: z.string().describe(\"Block or section\").optional(),\n floor: z.string().describe(\"Floor number\").optional(),\n house: z.string().describe(\"House number\").optional(),\n index: z.string().describe(\"Postal code\").optional(),\n metro: z.string().describe(\"Nearest metro station\").optional(),\n notes: z.string().describe(\"Additional notes\").optional(),\n region: z.string().describe(\"Region or state\").optional(),\n street: z.string().describe(\"Street name\").optional(),\n housing: z.string().describe(\"Housing information\").optional(),\n building: z.string().describe(\"Building number\").optional(),\n countryIso: z.string().describe(\"Country ISO code - must be a valid code accepted by the API (e.g., 'US', 'GB', 'DE'). Note: Not all ISO codes may be supported.\").optional(),\n intercomCode: z.string().describe(\"Intercom code\").optional(),\n}).describe(\"Customer's address details\").optional(),\n birthday: z.string().describe(\"Customer's date of birth in 'Y-m-d' format\").optional(),\n lastName: z.string().describe(\"Customer's last name\").optional(),\n firstName: z.string().describe(\"Customer's first name\").optional(),\n externalId: z.string().describe(\"External identifier for the customer\").optional(),\n customFields: z.record(z.string(), z.unknown()).describe(\"Custom fields associated with the customer\").optional(),\n}).describe(\"The customer object to create\"),\n});\nexport const SimlaComCreateCustomerOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created customer\").nullable(),\n error: z.unknown().describe(\"Error information if the request failed\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n externalId: z.string().describe(\"External identifier of the created customer, if provided\").nullable().optional(),\n successfull: z.boolean().describe(\"Legacy success indicator (note: API has typo in field name)\").nullable().optional(),\n});\n\nexport const simlaComCreateCustomer = action(\"SIMLA_COM_CREATE_CUSTOMER\", {\n slug: \"simla_com-create-customer\",\n name: \"Create Customer\",\n description: \"Creates a new customer in Simla.com. All customer fields are optional - provide at least one field (e.g., firstName, email, or phone) to create a customer. Returns the customer ID upon successful creation.\",\n input: SimlaComCreateCustomerInput,\n output: SimlaComCreateCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,UAAUA,IAAAA,EAAE,OAAO;CACnB,KAAKA,IAAAA,EAAE,KAAK,CAAC,QAAQ,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,SAASA,IAAAA,EAAE,OAAO;EAClB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,MAAM,CAAC,CAAC,SAAS;EAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;EACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;EACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;EACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aA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,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC;AAED,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-customer.cjs","names":["z","action"],"sources":["../../src/actions/create-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCreateCustomerInput = z.object({\n customer: z.object({\n sex: z.enum([\"male\", \"female\"]).describe(\"Customer's gender; 'male' or 'female'\").optional(),\n email: z.string().describe(\"Customer's email address\").optional(),\n phone: z.string().describe(\"Customer's phone number\").optional(),\n address: z.object({\n city: z.string().describe(\"City\").optional(),\n flat: z.string().describe(\"Apartment or suite number\").optional(),\n block: z.string().describe(\"Block or section\").optional(),\n floor: z.string().describe(\"Floor number\").optional(),\n house: z.string().describe(\"House number\").optional(),\n index: z.string().describe(\"Postal code\").optional(),\n metro: z.string().describe(\"Nearest metro station\").optional(),\n notes: z.string().describe(\"Additional notes\").optional(),\n region: z.string().describe(\"Region or state\").optional(),\n street: z.string().describe(\"Street name\").optional(),\n housing: z.string().describe(\"Housing information\").optional(),\n building: z.string().describe(\"Building number\").optional(),\n countryIso: z.string().describe(\"Country ISO code - must be a valid code accepted by the API (e.g., 'US', 'GB', 'DE'). Note: Not all ISO codes may be supported.\").optional(),\n intercomCode: z.string().describe(\"Intercom code\").optional(),\n}).describe(\"Customer's address details\").optional(),\n birthday: z.string().describe(\"Customer's date of birth in 'Y-m-d' format\").optional(),\n lastName: z.string().describe(\"Customer's last name\").optional(),\n firstName: z.string().describe(\"Customer's first name\").optional(),\n externalId: z.string().describe(\"External identifier for the customer\").optional(),\n customFields: z.record(z.string(), z.unknown()).describe(\"Custom fields associated with the customer\").optional(),\n}).describe(\"The customer object to create\"),\n});\nexport const SimlaComCreateCustomerOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created customer\").nullable(),\n error: z.unknown().describe(\"Error information if the request failed\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n externalId: z.string().describe(\"External identifier of the created customer, if provided\").nullable().optional(),\n successfull: z.boolean().describe(\"Legacy success indicator (note: API has typo in field name)\").nullable().optional(),\n}).passthrough();\n\nexport const simlaComCreateCustomer = action(\"SIMLA_COM_CREATE_CUSTOMER\", {\n slug: \"simla_com-create-customer\",\n name: \"Create Customer\",\n description: \"Creates a new customer in Simla.com. All customer fields are optional - provide at least one field (e.g., firstName, email, or phone) to create a customer. Returns the customer ID upon successful creation.\",\n input: SimlaComCreateCustomerInput,\n output: SimlaComCreateCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,UAAUA,IAAAA,EAAE,OAAO;CACnB,KAAKA,IAAAA,EAAE,KAAK,CAAC,QAAQ,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,SAASA,IAAAA,EAAE,OAAO;EAClB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,MAAM,CAAC,CAAC,SAAS;EAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;EACpD,OAAOA,IAAAA,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AC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,+BAA+B,EAC3C,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -38,7 +38,7 @@ declare const SimlaComCreateCustomerOutput: z.ZodObject<{
38
38
  success: z.ZodNullable<z.ZodBoolean>;
39
39
  externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
40
  successfull: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
41
- }, z.core.$strip>;
41
+ }, z.core.$loose>;
42
42
  declare const simlaComCreateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
43
43
  customer: {
44
44
  sex?: "male" | "female" | undefined;
@@ -38,7 +38,7 @@ declare const SimlaComCreateCustomerOutput: z.ZodObject<{
38
38
  success: z.ZodNullable<z.ZodBoolean>;
39
39
  externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
40
  successfull: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
41
- }, z.core.$strip>;
41
+ }, z.core.$loose>;
42
42
  declare const simlaComCreateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
43
43
  customer: {
44
44
  sex?: "male" | "female" | undefined;
@@ -36,7 +36,7 @@ const simlaComCreateCustomer = action("SIMLA_COM_CREATE_CUSTOMER", {
36
36
  success: z.boolean().describe("Indicates if the request was successful").nullable(),
37
37
  externalId: z.string().describe("External identifier of the created customer, if provided").nullable().optional(),
38
38
  successfull: z.boolean().describe("Legacy success indicator (note: API has typo in field name)").nullable().optional()
39
- })
39
+ }).passthrough()
40
40
  });
41
41
  //#endregion
42
42
  export { simlaComCreateCustomer };
@@ -1 +1 @@
1
- {"version":3,"file":"create-customer.mjs","names":[],"sources":["../../src/actions/create-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCreateCustomerInput = z.object({\n customer: z.object({\n sex: z.enum([\"male\", \"female\"]).describe(\"Customer's gender; 'male' or 'female'\").optional(),\n email: z.string().describe(\"Customer's email address\").optional(),\n phone: z.string().describe(\"Customer's phone number\").optional(),\n address: z.object({\n city: z.string().describe(\"City\").optional(),\n flat: z.string().describe(\"Apartment or suite number\").optional(),\n block: z.string().describe(\"Block or section\").optional(),\n floor: z.string().describe(\"Floor number\").optional(),\n house: z.string().describe(\"House number\").optional(),\n index: z.string().describe(\"Postal code\").optional(),\n metro: z.string().describe(\"Nearest metro station\").optional(),\n notes: z.string().describe(\"Additional notes\").optional(),\n region: z.string().describe(\"Region or state\").optional(),\n street: z.string().describe(\"Street name\").optional(),\n housing: z.string().describe(\"Housing information\").optional(),\n building: z.string().describe(\"Building number\").optional(),\n countryIso: z.string().describe(\"Country ISO code - must be a valid code accepted by the API (e.g., 'US', 'GB', 'DE'). Note: Not all ISO codes may be supported.\").optional(),\n intercomCode: z.string().describe(\"Intercom code\").optional(),\n}).describe(\"Customer's address details\").optional(),\n birthday: z.string().describe(\"Customer's date of birth in 'Y-m-d' format\").optional(),\n lastName: z.string().describe(\"Customer's last name\").optional(),\n firstName: z.string().describe(\"Customer's first name\").optional(),\n externalId: z.string().describe(\"External identifier for the customer\").optional(),\n customFields: z.record(z.string(), z.unknown()).describe(\"Custom fields associated with the customer\").optional(),\n}).describe(\"The customer object to create\"),\n});\nexport const SimlaComCreateCustomerOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created customer\").nullable(),\n error: z.unknown().describe(\"Error information if the request failed\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n externalId: z.string().describe(\"External identifier of the created customer, if provided\").nullable().optional(),\n successfull: z.boolean().describe(\"Legacy success indicator (note: API has typo in field name)\").nullable().optional(),\n});\n\nexport const simlaComCreateCustomer = action(\"SIMLA_COM_CREATE_CUSTOMER\", {\n slug: \"simla_com-create-customer\",\n name: \"Create Customer\",\n description: \"Creates a new customer in Simla.com. All customer fields are optional - provide at least one field (e.g., firstName, email, or phone) to create a customer. Returns the customer ID upon successful creation.\",\n input: SimlaComCreateCustomerInput,\n output: SimlaComCreateCustomerOutput,\n});\n"],"mappings":";;AAwCA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxCyC,EAAE,OAAO,EAClD,UAAU,EAAE,OAAO;EACnB,KAAK,EAAE,KAAK,CAAC,QAAQ,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC/D,SAAS,EAAE,OAAO;GAClB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,MAAM,CAAC,CAAC,SAAS;GAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;GAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;GACxD,OA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CACP,QAb0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACpF,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"create-customer.mjs","names":[],"sources":["../../src/actions/create-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCreateCustomerInput = z.object({\n customer: z.object({\n sex: z.enum([\"male\", \"female\"]).describe(\"Customer's gender; 'male' or 'female'\").optional(),\n email: z.string().describe(\"Customer's email address\").optional(),\n phone: z.string().describe(\"Customer's phone number\").optional(),\n address: z.object({\n city: z.string().describe(\"City\").optional(),\n flat: z.string().describe(\"Apartment or suite number\").optional(),\n block: z.string().describe(\"Block or section\").optional(),\n floor: z.string().describe(\"Floor number\").optional(),\n house: z.string().describe(\"House number\").optional(),\n index: z.string().describe(\"Postal code\").optional(),\n metro: z.string().describe(\"Nearest metro station\").optional(),\n notes: z.string().describe(\"Additional notes\").optional(),\n region: z.string().describe(\"Region or state\").optional(),\n street: z.string().describe(\"Street name\").optional(),\n housing: z.string().describe(\"Housing information\").optional(),\n building: z.string().describe(\"Building number\").optional(),\n countryIso: z.string().describe(\"Country ISO code - must be a valid code accepted by the API (e.g., 'US', 'GB', 'DE'). Note: Not all ISO codes may be supported.\").optional(),\n intercomCode: z.string().describe(\"Intercom code\").optional(),\n}).describe(\"Customer's address details\").optional(),\n birthday: z.string().describe(\"Customer's date of birth in 'Y-m-d' format\").optional(),\n lastName: z.string().describe(\"Customer's last name\").optional(),\n firstName: z.string().describe(\"Customer's first name\").optional(),\n externalId: z.string().describe(\"External identifier for the customer\").optional(),\n customFields: z.record(z.string(), z.unknown()).describe(\"Custom fields associated with the customer\").optional(),\n}).describe(\"The customer object to create\"),\n});\nexport const SimlaComCreateCustomerOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created customer\").nullable(),\n error: z.unknown().describe(\"Error information if the request failed\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n externalId: z.string().describe(\"External identifier of the created customer, if provided\").nullable().optional(),\n successfull: z.boolean().describe(\"Legacy success indicator (note: API has typo in field name)\").nullable().optional(),\n}).passthrough();\n\nexport const simlaComCreateCustomer = action(\"SIMLA_COM_CREATE_CUSTOMER\", {\n slug: \"simla_com-create-customer\",\n name: \"Create Customer\",\n description: \"Creates a new customer in Simla.com. All customer fields are optional - provide at least one field (e.g., firstName, email, or phone) to create a customer. Returns the customer ID upon successful creation.\",\n input: SimlaComCreateCustomerInput,\n output: SimlaComCreateCustomerOutput,\n});\n"],"mappings":";;AAwCA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxCyC,EAAE,OAAO,EAClD,UAAU,EAAE,OAAO;EACnB,KAAK,EAAE,KAAK,CAAC,QAAQ,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC/D,SAAS,EAAE,OAAO;GAClB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,MAAM,CAAC,CAAC,SAAS;GAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CA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C,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,SAAS,+BAA+B,EAC3C,CAaS;CACP,QAb0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACpF,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -29,7 +29,7 @@ const SimlaComCreateCustomersCorporateAddressesInput = zod.z.object({
29
29
  const SimlaComCreateCustomersCorporateAddressesOutput = zod.z.object({
30
30
  id: zod.z.number().int().describe("The ID of the newly created address").nullable().optional(),
31
31
  success: zod.z.boolean().describe("Indicates if the address creation was successful").nullable()
32
- }).describe("Response model after creating a corporate customer address");
32
+ }).passthrough().describe("Response model after creating a corporate customer address");
33
33
  const simlaComCreateCustomersCorporateAddresses = require_action.action("SIMLA_COM_CREATE_CUSTOMERS_CORPORATE_ADDRESSES", {
34
34
  slug: "simla_com-create-customers-corporate-addresses",
35
35
  name: "Create Corporate Customer Address",
@@ -1 +1 @@
1
- {"version":3,"file":"create-customers-corporate-addresses.cjs","names":["z","action"],"sources":["../../src/actions/create-customers-corporate-addresses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCreateCustomersCorporateAddressesInput = z.object({\n site: z.string().describe(\"Site code if managing multiple sites (optional)\").optional(),\n address: z.object({\n city: z.string().describe(\"City name\").optional(),\n flat: z.string().describe(\"Apartment or flat number\").optional(),\n text: z.string().describe(\"Simple text representation of the address (e.g., '123 Main Street, New York, NY 10001')\").optional(),\n block: z.string().describe(\"Block or section identifier\").optional(),\n floor: z.number().int().describe(\"Floor number\").optional(),\n house: z.string().describe(\"House number\").optional(),\n index: z.string().describe(\"Postal code\").optional(),\n metro: z.string().describe(\"Nearest metro/subway station\").optional(),\n notes: z.string().describe(\"Additional notes about the address\").optional(),\n cityId: z.number().int().describe(\"City ID in the system\").optional(),\n region: z.string().describe(\"Region or state\").optional(),\n street: z.string().describe(\"Street name\").optional(),\n building: z.string().describe(\"Building number\").optional(),\n cityType: z.string().describe(\"City type designation\").optional(),\n regionId: z.number().int().describe(\"Region ID in the system\").optional(),\n streetId: z.number().int().describe(\"Street ID in the system\").optional(),\n countryIso: z.string().describe(\"Country ISO code (e.g., 'US', 'GB', 'RU')\").optional(),\n externalId: z.string().describe(\"External ID for the address - used to reference this address in edit operations\").optional(),\n streetType: z.string().describe(\"Street type designation\").optional(),\n}).describe(\"Address object to create. Provide either 'text' for a simple address or detailed components\"),\n externalId: z.string().describe(\"External ID or internal ID of the corporate customer\"),\n}).describe(\"Request model for creating a corporate customer address\");\nexport const SimlaComCreateCustomersCorporateAddressesOutput = z.object({\n id: z.number().int().describe(\"The ID of the newly created address\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the address creation was successful\").nullable(),\n}).describe(\"Response model after creating a corporate customer address\");\n\nexport const simlaComCreateCustomersCorporateAddresses = action(\"SIMLA_COM_CREATE_CUSTOMERS_CORPORATE_ADDRESSES\", {\n slug: \"simla_com-create-customers-corporate-addresses\",\n name: \"Create Corporate Customer Address\",\n description: \"Creates a new address for a corporate customer in Simla.com. Use when adding a delivery or billing address to an existing corporate customer account. The address can be specified as simple text or with detailed components (street, city, region, etc.).\",\n input: SimlaComCreateCustomersCorporateAddressesInput,\n output: SimlaComCreateCustomersCorporateAddressesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iD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AAC,SAAS;EAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC5H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACtE,CAAC,CAAC,CAAC,SAAS,6FAA6F;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AACxF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,4CAA4CC,eAAAA,OAAO,kDAAkD;CAChH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-customers-corporate-addresses.cjs","names":["z","action"],"sources":["../../src/actions/create-customers-corporate-addresses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimlaComCreateCustomersCorporateAddressesInput = z.object({\n site: z.string().describe(\"Site code if managing multiple sites (optional)\").optional(),\n address: z.object({\n city: z.string().describe(\"City name\").optional(),\n flat: z.string().describe(\"Apartment or flat number\").optional(),\n text: z.string().describe(\"Simple text representation of the address (e.g., '123 Main Street, New York, NY 10001')\").optional(),\n block: z.string().describe(\"Block or section identifier\").optional(),\n floor: z.number().int().describe(\"Floor number\").optional(),\n house: z.string().describe(\"House number\").optional(),\n index: z.string().describe(\"Postal code\").optional(),\n metro: z.string().describe(\"Nearest metro/subway station\").optional(),\n notes: z.string().describe(\"Additional notes about the address\").optional(),\n cityId: z.number().int().describe(\"City ID in the system\").optional(),\n region: z.string().describe(\"Region or state\").optional(),\n street: z.string().describe(\"Street name\").optional(),\n building: z.string().describe(\"Building number\").optional(),\n cityType: z.string().describe(\"City type designation\").optional(),\n regionId: z.number().int().describe(\"Region ID in the system\").optional(),\n streetId: z.number().int().describe(\"Street ID in the system\").optional(),\n countryIso: z.string().describe(\"Country ISO code (e.g., 'US', 'GB', 'RU')\").optional(),\n externalId: z.string().describe(\"External ID for the address - used to reference this address in edit operations\").optional(),\n streetType: z.string().describe(\"Street type designation\").optional(),\n}).describe(\"Address object to create. Provide either 'text' for a simple address or detailed components\"),\n externalId: z.string().describe(\"External ID or internal ID of the corporate customer\"),\n}).describe(\"Request model for creating a corporate customer address\");\nexport const SimlaComCreateCustomersCorporateAddressesOutput = z.object({\n id: z.number().int().describe(\"The ID of the newly created address\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the address creation was successful\").nullable(),\n}).passthrough().describe(\"Response model after creating a corporate customer address\");\n\nexport const simlaComCreateCustomersCorporateAddresses = action(\"SIMLA_COM_CREATE_CUSTOMERS_CORPORATE_ADDRESSES\", {\n slug: \"simla_com-create-customers-corporate-addresses\",\n name: \"Create Corporate Customer Address\",\n description: \"Creates a new address for a corporate customer in Simla.com. Use when adding a delivery or billing address to an existing corporate customer account. The address can be specified as simple text or with detailed components (street, city, region, etc.).\",\n input: SimlaComCreateCustomersCorporateAddressesInput,\n output: SimlaComCreateCustomersCorporateAddressesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iDAAiDA,IAAAA,EAAE,OAAO;CACrE,MAA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,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC5H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACtE,CAAC,CAAC,CAAC,SAAS,6FAA6F;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AACxF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,4CAA4CC,eAAAA,OAAO,kDAAkD;CAChH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -29,7 +29,7 @@ declare const SimlaComCreateCustomersCorporateAddressesInput: z.ZodObject<{
29
29
  declare const SimlaComCreateCustomersCorporateAddressesOutput: z.ZodObject<{
30
30
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
31
  success: z.ZodNullable<z.ZodBoolean>;
32
- }, z.core.$strip>;
32
+ }, z.core.$loose>;
33
33
  declare const simlaComCreateCustomersCorporateAddresses: import("@keystrokehq/action").WorkflowActionDefinition<{
34
34
  address: {
35
35
  city?: string | undefined;