import{aa as a}from"./_applist-tangy-colts-beg-36.js";import{_ as t}from"./main-tangy-colts-beg.js";import{h as n,s as c}from"./machine.-tangy-colts-beg-869.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(o,e){return this.cache.has(o)?this.cache.get(o):(this.cache.set(o,e),e)}};const r=a(({helpers:o})=>({states:{components:[{componentName:o.componentName.mixInput,helperText:t("id of the coupon to update."),id:"coupon-id",label:t("Coupon Id"),onChange:"HANDLE_ID",path:"coupon_id",render:!0,required:!0,value:void 0},{componentName:o.componentName.mixInput,helperText:t("Code to use for the coupon (e.g. SUMMER_FUN)."),id:"coupon-code",label:t("Coupon Code"),onChange:"HANDLE_COUPON_CODE",path:"coupon_code",render:!0,required:!0,value:void 0}]},actions:{HANDLE_COUPON_CODE:n("couponCode"),HANDLE_ID:n("couponId"),ON_MACHINE_LOAD:({$:e})=>{c(e,[{db:"couponId",id:"coupon-id"},{db:"couponCode",id:"coupon-code"}])}}}));export{r as default};
