import{z as e}from"./index.cf4c23b9.js";import"./outputWidgets.65314838.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="087849a5-cd33-4b33-8b5b-dccb871293db",t._sentryDebugIdIdentifier="sentry-dbid-087849a5-cd33-4b33-8b5b-dccb871293db")}catch{}})();const p=e.boolean(),b=e.boolean(),S=e.boolean(),u=e.boolean();e.object({PROJECT_LIVE:p.optional(),ALLOW_RELEASE:b.optional(),CONNECTORS_CONSOLE:S.optional(),DUPLICATE_PROJECTS:u.optional()});const C=e.string();e.object({plan:C.optional()});const h=e.string(),A=e.string(),d=e.string(),R=e.string(),L=e.null(),y=e.string(),P=e.union([L,y]),E=e.string().regex(new RegExp("^[0-9]+m$")),O=e.string().regex(new RegExp("^[0-9]+m$")),j=e.string().regex(new RegExp("^[0-9]+Mi$")),M=e.string().regex(new RegExp("^[0-9]+Mi$")),x=e.string().regex(new RegExp("^[0-9]+$")),I=e.string().regex(new RegExp("^[0-9]+$")),D=e.enum(["shared","clickbus","test"]),w=e.object({requestsCPU:E.optional(),limitsCPU:O.optional(),requestsMemory:j.optional(),limitsMemory:M.optional(),minReplicas:x.optional(),timeoutSeconds:I.optional(),workerType:D.optional()});e.object({id:h,name:A,subdomain:d,organizationId:R,customDomain:P.optional(),deploymentResources:w.optional()});const T=e.string().regex(new RegExp("^[0-9]+m$")),z=e.string().regex(new RegExp("^[0-9]+m$")),U=e.string().regex(new RegExp("^[0-9]+Mi$")),_=e.string().regex(new RegExp("^[0-9]+Mi$")),f=e.string().regex(new RegExp("^[0-9]+$")),F=e.string().regex(new RegExp("^[0-9]+$")),N=e.enum(["shared","clickbus","test"]);e.object({requestsCPU:T.optional(),limitsCPU:z.optional(),requestsMemory:U.optional(),limitsMemory:_.optional(),minReplicas:f.optional(),timeoutSeconds:F.optional(),workerType:N.optional()});const q=e.string(),s=e.string(),$=e.literal("workflow_viewer"),Pt=["workflow_viewer"],o=e.array($),k=e.string(),V=e.string(),W=e.object({id:q,email:s,roles:o,projectId:k,createdAt:V}),i=e.string(),r=e.string(),K=e.boolean(),J=e.boolean(),B=e.boolean(),v=e.boolean(),m=e.object({PROJECT_LIVE:K,ALLOW_RELEASE:J,CONNECTORS_CONSOLE:B,DUPLICATE_PROJECTS:v}),G=e.string(),c=e.object({plan:G.optional()}),Q=e.string().regex(new RegExp("^[0-9]+m$")),H=e.string().regex(new RegExp("^[0-9]+m$")),X=e.string().regex(new RegExp("^[0-9]+Mi$")),Y=e.string().regex(new RegExp("^[0-9]+Mi$")),Z=e.string().regex(new RegExp("^[0-9]+$")),ee=e.string().regex(new RegExp("^[0-9]+$")),te=e.enum(["shared","clickbus","test"]),oe=e.object({requestsCPU:Q.optional(),limitsCPU:H.optional(),requestsMemory:X.optional(),limitsMemory:Y.optional(),minReplicas:Z.optional(),timeoutSeconds:ee.optional(),workerType:te.optional()}),ae=e.string(),ne=e.array(ae),se=e.object({whitelistPatterns:ne.optional()});e.object({id:i,name:r,featureFlags:m,billingMetadata:c,deploymentResources:oe.optional(),membershipsMetadata:se.optional()});const ie=e.string(),re=e.array(ie);e.object({whitelistPatterns:re.optional()});const me=i,ce=r,le=m,ge=c;e.object({id:me,name:ce,featureFlags:le,billingMetadata:ge});const pe=o;e.object({roles:pe});const be=e.number(),Se=e.number();e.object({offset:be.optional(),limit:Se.optional()});const ue=W;e.array(ue);const Ce=s,he=o;e.object({email:Ce,roles:he});const Ae=e.boolean();e.object({shouldBeOnboarded:Ae.optional()});const de=e.string(),Re=e.string(),Le=e.string(),ye=e.string();e.object({name:de.optional(),companyName:Re.optional(),source:Le.optional(),authorEmail:ye.optional()});const Pe=e.string(),Ee=e.record(e.any()),Oe=e.string(),je=e.object({key:Pe,value:Ee,type:Oe}),Me=je,xe=e.array(Me),Ie=e.string(),De=e.enum(["text","image","table","progress-bar"]),we=e.object({name:Ie,type:De}),Te=e.string(),ze=e.string(),Ue=e.record(e.any()),l=e.enum(["waiting","running","finished","failed","abandoned"]),Et=["waiting","running","finished","failed","abandoned"],_e=e.string(),fe=e.string(),Fe=e.string(),Ne=e.object({id:Te,stage:ze,data:Ue,status:l,created_at:_e,parent_id:fe.optional(),execution_id:Fe.optional()}),qe=e.string(),$e=e.string(),ke=e.string(),Ve=l,We=xe,Ke=e.object({id:qe,created_at:$e,assignee:ke.optional(),status:Ve,content:We}),Je=Ke,Be=e.array(Je),ve=e.string(),Ge=e.enum(["form","hook","job","script","iterator","condition"]),Qe=e.string(),He=e.string(),Xe=e.boolean(),a=e.object({id:ve,type:Ge,title:Qe,path:He.optional(),can_be_started:Xe}),Ye=a,Ze=Be,et=a,g=e.array(et),tt=g,ot=e.number(),at=e.object({selected_stage:Ye,stage_run_cards:Ze,stages:tt,total_count:ot}),nt=at,st=e.array(nt),it=st,rt=g;e.object({columns:it,next_stage_options:rt});const mt=e.string(),ct=e.string(),lt=e.record(e.string()),gt=e.string(),pt=e.string(),bt=e.number(),St=e.object({event:mt,executionId:ct,payload:lt,runtimeType:gt,runtimeName:pt,createdAt:bt}),ut=Ne,Ct=St,ht=e.array(Ct),At=a;e.object({stage_run:ut,logs:ht,stage:At});const dt=we;e.array(dt);export{Et as A,Pt as C};
//# sourceMappingURL=contracts.generated.032de5f6.js.map
