@frankieone/workflow-api 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +2358 -0
- package/dist/workflow-api.js +911 -0
- package/dist/workflow-api.js.map +1 -0
- package/package.json +49 -0
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("axios"),w="http://localhost:8080".replace(/\/+$/,"");class I{constructor(e,o=w,n=h){this.basePath=o,this.axios=n,e&&(this.configuration=e,this.basePath=e.basePath??o)}configuration}class L extends Error{constructor(e,o){super(o),this.field=e,this.name="RequiredError"}}const W={},O="https://example.com",x=function(t,e,o){if(o==null)throw new L(e,`Required parameter ${e} was null or undefined when calling ${t}.`)},A=async function(t,e){if(e&&e.accessToken){const o=typeof e.accessToken=="function"?await e.accessToken():await e.accessToken;t.Authorization="Bearer "+o}};function C(t,e,o=""){e!=null&&(typeof e=="object"?Array.isArray(e)?e.forEach(n=>C(t,n,o)):Object.keys(e).forEach(n=>C(t,e[n],`${o}${o!==""?".":""}${n}`)):t.has(o)?t.append(o,e):t.set(o,e))}const D=function(t,...e){const o=new URLSearchParams(t.search);C(o,e),t.search=o.toString()},V=function(t,e,o){const n=typeof t!="string";return(n&&o&&o.isJsonMime?o.isJsonMime(e.headers["Content-Type"]):n)?JSON.stringify(t!==void 0?t:{}):t||""},T=function(t){return t.pathname+t.search+t.hash},S=function(t,e,o,n){return(i=e,a=o)=>{const r={...t.options,url:(i.defaults.baseURL?"":n?.basePath??a)+t.url};return i.request(r)}},N={Openai:"OPENAI",Claude:"CLAUDE",Frankieone:"FRANKIEONE"},b={Http:"HTTP",Branch:"BRANCH",Loop:"LOOP",Log:"LOG",Wait:"WAIT",SetState:"SET_STATE",Step:"STEP",Parallel:"PARALLEL",RunWorkflow:"RUN_WORKFLOW",Notification:"NOTIFICATION",Agent:"AGENT",Subflow:"SUBFLOW",Form:"FORM"},g={Simple:"SIMPLE",Complex:"COMPLEX"},F={Eq:"EQ",Neq:"NEQ",Gt:"GT",Gte:"GTE",Lt:"LT",Lte:"LTE",Exists:"EXISTS",NotExists:"NOT_EXISTS"},U={Left:"left",Center:"center",Right:"right"},B={Text:"TEXT",Email:"EMAIL",Phone:"PHONE",Number:"NUMBER",Date:"DATE",Select:"SELECT",Checkbox:"CHECKBOX",Textarea:"TEXTAREA",File:"FILE",Country:"COUNTRY",Address:"ADDRESS",Checklist:"CHECKLIST",Header:"HEADER",Textblock:"TEXTBLOCK",Image:"IMAGE",Consent:"CONSENT"},j={Welcome:"WELCOME",Consent:"CONSENT",PersonalInfo:"PERSONAL_INFO",Address:"ADDRESS",DocumentUpload:"DOCUMENT_UPLOAD",Review:"REVIEW",Custom:"CUSTOM"},H={Get:"GET",Post:"POST",Put:"PUT",Delete:"DELETE",Patch:"PATCH",Head:"HEAD",Options:"OPTIONS"},M={Info:"INFO",Warn:"WARN",Error:"ERROR",Debug:"DEBUG"},G={Email:"EMAIL",Slack:"SLACK"},X={Text:"text",Html:"html"},q={Individuals:"individuals",Organizations:"organizations"},Q={Pending:"PENDING",Running:"RUNNING",Completed:"COMPLETED",Failed:"FAILED",Paused:"PAUSED",Skipped:"SKIPPED"},$={String:"STRING",Number:"NUMBER",Boolean:"BOOLEAN",Object:"OBJECT",Array:"ARRAY"},K={Pending:"PENDING",Running:"RUNNING",Completed:"COMPLETED",Failed:"FAILED",Paused:"PAUSED",Cancelled:"CANCELLED"},_={Pending:"PENDING",Running:"RUNNING",Completed:"COMPLETED",Failed:"FAILED",Paused:"PAUSED",Cancelled:"CANCELLED"},y=function(t){return{createWorkflowDefinition:async(e,o={})=>{x("createWorkflowDefinition","newWorkflowDefinition",e);const n="/v2/definitions",i=new URL(n,O);let a;t&&(a=t.baseOptions);const r={method:"POST",...a,...o},s={},l={};await A(s,t),s["Content-Type"]="application/json",s.Accept="application/json",D(i,l);let c=a&&a.headers?a.headers:{};return r.headers={...s,...c,...o.headers},r.data=V(e,r,t),{url:T(i),options:r}},deleteWorkflowDefinition:async(e,o,n={})=>{x("deleteWorkflowDefinition","workflowDefinitionId",e);const i="/v2/definitions/{workflowDefinitionId}".replace("{workflowDefinitionId}",encodeURIComponent(String(e))),a=new URL(i,O);let r;t&&(r=t.baseOptions);const s={method:"DELETE",...r,...n},l={},c={};await A(l,t),l.Accept="application/json",o!=null&&(l["X-Frankie-RequestID"]=String(o)),D(a,c);let f=r&&r.headers?r.headers:{};return s.headers={...l,...f,...n.headers},{url:T(a),options:s}},getWorkflowDefinition:async(e,o,n,i={})=>{x("getWorkflowDefinition","workflowDefinitionId",e);const a="/v2/definitions/{workflowDefinitionId}".replace("{workflowDefinitionId}",encodeURIComponent(String(e))),r=new URL(a,O);let s;t&&(s=t.baseOptions);const l={method:"GET",...s,...i},c={},f={};await A(c,t),n!==void 0&&(f.version=n),c.Accept="application/json",o!=null&&(c["X-Frankie-RequestID"]=String(o)),D(r,f);let d=s&&s.headers?s.headers:{};return l.headers={...c,...d,...i.headers},{url:T(r),options:l}},listWorkflowDefinitions:async(e,o,n,i,a,r,s={})=>{const l="/v2/definitions",c=new URL(l,O);let f;t&&(f=t.baseOptions);const d={method:"GET",...f,...s},u={},p={};await A(u,t),o!==void 0&&(p.isTemplate=o),n!==void 0&&(p.owner=n),i!==void 0&&(p.page=i),a!==void 0&&(p.limit=a),r!==void 0&&(p.isDraft=r),u.Accept="application/json",e!=null&&(u["X-Frankie-RequestID"]=String(e)),D(c,p);let E=f&&f.headers?f.headers:{};return d.headers={...u,...E,...s.headers},{url:T(c),options:d}},updateWorkflowDefinition:async(e,o,n,i={})=>{x("updateWorkflowDefinition","workflowDefinitionId",e),x("updateWorkflowDefinition","workflowDefinition",o);const a="/v2/definitions/{workflowDefinitionId}".replace("{workflowDefinitionId}",encodeURIComponent(String(e))),r=new URL(a,O);let s;t&&(s=t.baseOptions);const l={method:"PUT",...s,...i},c={},f={};await A(c,t),c["Content-Type"]="application/json",c.Accept="application/json",n!=null&&(c["X-Frankie-RequestID"]=String(n)),D(r,f);let d=s&&s.headers?s.headers:{};return l.headers={...c,...d,...i.headers},l.data=V(o,l,t),{url:T(r),options:l}}}},P=function(t){const e=y(t);return{async createWorkflowDefinition(o,n){const i=await e.createWorkflowDefinition(o,n),a=t?.serverIndex??0,r=W["WorkflowDefinitionsApi.createWorkflowDefinition"]?.[a]?.url;return(s,l)=>S(i,h,w,t)(s,r||l)},async deleteWorkflowDefinition(o,n,i){const a=await e.deleteWorkflowDefinition(o,n,i),r=t?.serverIndex??0,s=W["WorkflowDefinitionsApi.deleteWorkflowDefinition"]?.[r]?.url;return(l,c)=>S(a,h,w,t)(l,s||c)},async getWorkflowDefinition(o,n,i,a){const r=await e.getWorkflowDefinition(o,n,i,a),s=t?.serverIndex??0,l=W["WorkflowDefinitionsApi.getWorkflowDefinition"]?.[s]?.url;return(c,f)=>S(r,h,w,t)(c,l||f)},async listWorkflowDefinitions(o,n,i,a,r,s,l){const c=await e.listWorkflowDefinitions(o,n,i,a,r,s,l),f=t?.serverIndex??0,d=W["WorkflowDefinitionsApi.listWorkflowDefinitions"]?.[f]?.url;return(u,p)=>S(c,h,w,t)(u,d||p)},async updateWorkflowDefinition(o,n,i,a){const r=await e.updateWorkflowDefinition(o,n,i,a),s=t?.serverIndex??0,l=W["WorkflowDefinitionsApi.updateWorkflowDefinition"]?.[s]?.url;return(c,f)=>S(r,h,w,t)(c,l||f)}}},z=function(t,e,o){const n=P(t);return{createWorkflowDefinition(i,a){return n.createWorkflowDefinition(i,a).then(r=>r(o,e))},deleteWorkflowDefinition(i,a,r){return n.deleteWorkflowDefinition(i,a,r).then(s=>s(o,e))},getWorkflowDefinition(i,a,r,s){return n.getWorkflowDefinition(i,a,r,s).then(l=>l(o,e))},listWorkflowDefinitions(i,a,r,s,l,c,f){return n.listWorkflowDefinitions(i,a,r,s,l,c,f).then(d=>d(o,e))},updateWorkflowDefinition(i,a,r,s){return n.updateWorkflowDefinition(i,a,r,s).then(l=>l(o,e))}}};class J extends I{createWorkflowDefinition(e,o){return P(this.configuration).createWorkflowDefinition(e,o).then(n=>n(this.axios,this.basePath))}deleteWorkflowDefinition(e,o,n){return P(this.configuration).deleteWorkflowDefinition(e,o,n).then(i=>i(this.axios,this.basePath))}getWorkflowDefinition(e,o,n,i){return P(this.configuration).getWorkflowDefinition(e,o,n,i).then(a=>a(this.axios,this.basePath))}listWorkflowDefinitions(e,o,n,i,a,r,s){return P(this.configuration).listWorkflowDefinitions(e,o,n,i,a,r,s).then(l=>l(this.axios,this.basePath))}updateWorkflowDefinition(e,o,n,i){return P(this.configuration).updateWorkflowDefinition(e,o,n,i).then(a=>a(this.axios,this.basePath))}}const R=function(t){return{cancelWorkflowExecution:async(e,o,n={})=>{x("cancelWorkflowExecution","executionId",e);const i="/v2/executions/{executionId}/cancel".replace("{executionId}",encodeURIComponent(String(e))),a=new URL(i,O);let r;t&&(r=t.baseOptions);const s={method:"POST",...r,...n},l={},c={};await A(l,t),l.Accept="application/json",o!=null&&(l["X-Frankie-RequestID"]=String(o)),D(a,c);let f=r&&r.headers?r.headers:{};return s.headers={...l,...f,...n.headers},{url:T(a),options:s}},createWorkflowExecution:async(e,o,n,i,a,r,s={})=>{x("createWorkflowExecution","workflowExecutionRequest",e);const l="/v2/executions",c=new URL(l,O);let f;t&&(f=t.baseOptions);const d={method:"POST",...f,...s},u={},p={};await A(u,t),u["Content-Type"]="application/json",u.Accept="application/json",o!=null&&(u["X-Async-Execution"]=typeof o=="string"?o:JSON.stringify(o)),n!=null&&(u["X-Frankie-RequestID"]=String(n)),i!=null&&(u["X-Frankie-CustomerID"]=String(i)),a!=null&&(u["X-Frankie-CustomerChildID"]=String(a)),r!=null&&(u["X-Frankie-Channel"]=String(r)),D(c,p);let E=f&&f.headers?f.headers:{};return d.headers={...u,...E,...s.headers},d.data=V(e,d,t),{url:T(c),options:d}},getWorkflowExecution:async(e,o,n={})=>{x("getWorkflowExecution","executionId",e);const i="/v2/executions/{executionId}".replace("{executionId}",encodeURIComponent(String(e))),a=new URL(i,O);let r;t&&(r=t.baseOptions);const s={method:"GET",...r,...n},l={},c={};await A(l,t),l.Accept="application/json",o!=null&&(l["X-Frankie-RequestID"]=String(o)),D(a,c);let f=r&&r.headers?r.headers:{};return s.headers={...l,...f,...n.headers},{url:T(a),options:s}},listWorkflowExecutions:async(e,o,n,i,a,r,s,l,c={})=>{const f="/v2/executions",d=new URL(f,O);let u;t&&(u=t.baseOptions);const p={method:"GET",...u,...c},E={},k={};await A(E,t),o!==void 0&&(k.workflowDefinitionId=o),n!==void 0&&(k.owner=n),i!==void 0&&(k.status=i),a!==void 0&&(k.page=a),r!==void 0&&(k.limit=r),s!==void 0&&(k.startTimeBefore=s instanceof Date?s.toISOString():s),l!==void 0&&(k.startTimeAfter=l instanceof Date?l.toISOString():l),E.Accept="application/json",e!=null&&(E["X-Frankie-RequestID"]=String(e)),D(d,k);let v=u&&u.headers?u.headers:{};return p.headers={...E,...v,...c.headers},{url:T(d),options:p}},resumeWorkflowExecution:async(e,o,n,i,a,r,s={})=>{x("resumeWorkflowExecution","executionId",e),x("resumeWorkflowExecution","resumeWorkflowExecution",o);const l="/v2/executions/{executionId}/resume".replace("{executionId}",encodeURIComponent(String(e))),c=new URL(l,O);let f;t&&(f=t.baseOptions);const d={method:"POST",...f,...s},u={},p={};await A(u,t),u["Content-Type"]="application/json",u.Accept="application/json",n!=null&&(u["X-Frankie-RequestID"]=String(n)),i!=null&&(u["X-Frankie-CustomerID"]=String(i)),a!=null&&(u["X-Frankie-CustomerChildID"]=String(a)),r!=null&&(u["X-Frankie-Channel"]=String(r)),D(c,p);let E=f&&f.headers?f.headers:{};return d.headers={...u,...E,...s.headers},d.data=V(o,d,t),{url:T(c),options:d}}}},m=function(t){const e=R(t);return{async cancelWorkflowExecution(o,n,i){const a=await e.cancelWorkflowExecution(o,n,i),r=t?.serverIndex??0,s=W["WorkflowExecutionsApi.cancelWorkflowExecution"]?.[r]?.url;return(l,c)=>S(a,h,w,t)(l,s||c)},async createWorkflowExecution(o,n,i,a,r,s,l){const c=await e.createWorkflowExecution(o,n,i,a,r,s,l),f=t?.serverIndex??0,d=W["WorkflowExecutionsApi.createWorkflowExecution"]?.[f]?.url;return(u,p)=>S(c,h,w,t)(u,d||p)},async getWorkflowExecution(o,n,i){const a=await e.getWorkflowExecution(o,n,i),r=t?.serverIndex??0,s=W["WorkflowExecutionsApi.getWorkflowExecution"]?.[r]?.url;return(l,c)=>S(a,h,w,t)(l,s||c)},async listWorkflowExecutions(o,n,i,a,r,s,l,c,f){const d=await e.listWorkflowExecutions(o,n,i,a,r,s,l,c,f),u=t?.serverIndex??0,p=W["WorkflowExecutionsApi.listWorkflowExecutions"]?.[u]?.url;return(E,k)=>S(d,h,w,t)(E,p||k)},async resumeWorkflowExecution(o,n,i,a,r,s,l){const c=await e.resumeWorkflowExecution(o,n,i,a,r,s,l),f=t?.serverIndex??0,d=W["WorkflowExecutionsApi.resumeWorkflowExecution"]?.[f]?.url;return(u,p)=>S(c,h,w,t)(u,d||p)}}},Y=function(t,e,o){const n=m(t);return{cancelWorkflowExecution(i,a,r){return n.cancelWorkflowExecution(i,a,r).then(s=>s(o,e))},createWorkflowExecution(i,a,r,s,l,c,f){return n.createWorkflowExecution(i,a,r,s,l,c,f).then(d=>d(o,e))},getWorkflowExecution(i,a,r){return n.getWorkflowExecution(i,a,r).then(s=>s(o,e))},listWorkflowExecutions(i,a,r,s,l,c,f,d,u){return n.listWorkflowExecutions(i,a,r,s,l,c,f,d,u).then(p=>p(o,e))},resumeWorkflowExecution(i,a,r,s,l,c,f){return n.resumeWorkflowExecution(i,a,r,s,l,c,f).then(d=>d(o,e))}}};class Z extends I{cancelWorkflowExecution(e,o,n){return m(this.configuration).cancelWorkflowExecution(e,o,n).then(i=>i(this.axios,this.basePath))}createWorkflowExecution(e,o,n,i,a,r,s){return m(this.configuration).createWorkflowExecution(e,o,n,i,a,r,s).then(l=>l(this.axios,this.basePath))}getWorkflowExecution(e,o,n){return m(this.configuration).getWorkflowExecution(e,o,n).then(i=>i(this.axios,this.basePath))}listWorkflowExecutions(e,o,n,i,a,r,s,l,c){return m(this.configuration).listWorkflowExecutions(e,o,n,i,a,r,s,l,c).then(f=>f(this.axios,this.basePath))}resumeWorkflowExecution(e,o,n,i,a,r,s){return m(this.configuration).resumeWorkflowExecution(e,o,n,i,a,r,s).then(l=>l(this.axios,this.basePath))}}const ee={Pending:"PENDING",Running:"RUNNING",Completed:"COMPLETED",Failed:"FAILED",Paused:"PAUSED",Cancelled:"CANCELLED"};class oe{apiKey;username;password;accessToken;awsv4;basePath;serverIndex;baseOptions;formDataCtor;constructor(e={}){this.apiKey=e.apiKey,this.username=e.username,this.password=e.password,this.accessToken=e.accessToken,this.awsv4=e.awsv4,this.basePath=e.basePath,this.serverIndex=e.serverIndex,this.baseOptions={...e.baseOptions,headers:{...e.baseOptions?.headers}},this.formDataCtor=e.formDataCtor}isJsonMime(e){const o=new RegExp("^(application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(;.*)?$","i");return e!==null&&(o.test(e)||e.toLowerCase()==="application/json-patch+json")}}exports.AgentTaskConfigAgentTypeEnum=N;exports.BaseTaskConfigType=b;exports.BranchTaskExpressionBaseType=g;exports.BranchTaskExpressionSimpleOperatorEnum=F;exports.Configuration=oe;exports.FormFieldTextblockAlignmentEnum=U;exports.FormFieldType=B;exports.FormType=j;exports.HttpTaskConfigMethod=H;exports.ListWorkflowExecutionsStatusEnum=ee;exports.LogTaskConfigLevel=M;exports.NotificationTaskConfigBodyTypeEnum=X;exports.NotificationTaskConfigNotificationTypeEnum=G;exports.RunWorkflowTaskConfigEntityTypeEnum=q;exports.TaskExecutionDetailsStatus=Q;exports.WorkflowDefinitionVariableTypeEnum=$;exports.WorkflowDefinitionsApi=J;exports.WorkflowDefinitionsApiAxiosParamCreator=y;exports.WorkflowDefinitionsApiFactory=z;exports.WorkflowDefinitionsApiFp=P;exports.WorkflowExecutionDetailsStatusEnum=K;exports.WorkflowExecutionSummaryStatusEnum=_;exports.WorkflowExecutionsApi=Z;exports.WorkflowExecutionsApiAxiosParamCreator=R;exports.WorkflowExecutionsApiFactory=Y;exports.WorkflowExecutionsApiFp=m;
|
|
2
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../base.ts","../common.ts","../api.ts","../configuration.ts"],"sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Workflow Engine API\n * API for creating and managing workflow definitions and executions\n *\n * The version of the OpenAPI document: 2.0.0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from './configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n\nexport const BASE_PATH = \"http://localhost:8080\".replace(/\\/+$/, \"\");\n\nexport const COLLECTION_FORMATS = {\n csv: \",\",\n ssv: \" \",\n tsv: \"\\t\",\n pipes: \"|\",\n};\n\nexport interface RequestArgs {\n url: string;\n options: RawAxiosRequestConfig;\n}\n\nexport class BaseAPI {\n protected configuration: Configuration | undefined;\n\n constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {\n if (configuration) {\n this.configuration = configuration;\n this.basePath = configuration.basePath ?? basePath;\n }\n }\n};\n\nexport class RequiredError extends Error {\n constructor(public field: string, msg?: string) {\n super(msg);\n this.name = \"RequiredError\"\n }\n}\n\ninterface ServerMap {\n [key: string]: {\n url: string,\n description: string,\n }[];\n}\n\nexport const operationServerMap: ServerMap = {\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Workflow Engine API\n * API for creating and managing workflow definitions and executions\n *\n * The version of the OpenAPI document: 2.0.0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport type { Configuration } from \"./configuration\";\nimport type { RequestArgs } from \"./base\";\nimport type { AxiosInstance, AxiosResponse } from 'axios';\nimport { RequiredError } from \"./base\";\n\nexport const DUMMY_BASE_URL = 'https://example.com'\n\n/**\n *\n * @throws {RequiredError}\n */\nexport const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {\n if (paramValue === null || paramValue === undefined) {\n throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);\n }\n}\n\nexport const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(keyParamName)\n : await configuration.apiKey;\n object[keyParamName] = localVarApiKeyValue;\n }\n}\n\nexport const setBasicAuthToObject = function (object: any, configuration?: Configuration) {\n if (configuration && (configuration.username || configuration.password)) {\n object[\"auth\"] = { username: configuration.username, password: configuration.password };\n }\n}\n\nexport const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const accessToken = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken()\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + accessToken;\n }\n}\n\nexport const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const localVarAccessTokenValue = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken(name, scopes)\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + localVarAccessTokenValue;\n }\n}\n\n\nfunction setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = \"\"): void {\n if (parameter == null) return;\n if (typeof parameter === \"object\") {\n if (Array.isArray(parameter)) {\n (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));\n }\n else {\n Object.keys(parameter).forEach(currentKey =>\n setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)\n );\n }\n }\n else {\n if (urlSearchParams.has(key)) {\n urlSearchParams.append(key, parameter);\n }\n else {\n urlSearchParams.set(key, parameter);\n }\n }\n}\n\nexport const setSearchParams = function (url: URL, ...objects: any[]) {\n const searchParams = new URLSearchParams(url.search);\n setFlattenedQueryParams(searchParams, objects);\n url.search = searchParams.toString();\n}\n\nexport const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {\n const nonString = typeof value !== 'string';\n const needsSerialization = nonString && configuration && configuration.isJsonMime\n ? configuration.isJsonMime(requestOptions.headers['Content-Type'])\n : nonString;\n return needsSerialization\n ? JSON.stringify(value !== undefined ? value : {})\n : (value || \"\");\n}\n\nexport const toPathString = function (url: URL) {\n return url.pathname + url.search + url.hash\n}\n\nexport const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {\n return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url};\n return axios.request<T, R>(axiosRequestArgs);\n };\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Workflow Engine API\n * API for creating and managing workflow definitions and executions\n *\n * The version of the OpenAPI document: 2.0.0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from './configuration';\nimport type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';\nimport type { RequestArgs } from './base';\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';\n\n/**\n * Configuration for an agent task that sends requests to LLM providers (OpenAI, Claude, FrankieOne).\n */\nexport interface AgentTaskConfig {\n 'type': BaseTaskConfigType;\n /**\n * The LLM provider to use\n */\n 'agentType': AgentTaskConfigAgentTypeEnum;\n /**\n * The prompt to send to the agent. Supports template syntax.\n */\n 'prompt'?: string;\n /**\n * System prompt/instructions for the agent\n */\n 'systemPrompt'?: string;\n /**\n * The model to use (e.g., gpt-4, claude-3-opus)\n */\n 'model'?: string;\n /**\n * Temperature for response randomness (0-2, lower is more deterministic)\n */\n 'temperature'?: number;\n /**\n * Maximum tokens in response\n */\n 'maxTokens'?: number;\n /**\n * Path in workflow state to store the response\n */\n 'outputPath'?: string;\n /**\n * Reference to OpenAI API key (environment variable or secret name)\n */\n 'apiKeyRef'?: string;\n /**\n * Reference to Anthropic API key (environment variable or secret name)\n */\n 'anthropicApiKeyRef'?: string;\n /**\n * FrankieOne Agent ID for internal agent service\n */\n 'agentId'?: string;\n}\n\nexport const AgentTaskConfigAgentTypeEnum = {\n Openai: 'OPENAI',\n Claude: 'CLAUDE',\n Frankieone: 'FRANKIEONE'\n} as const;\n\nexport type AgentTaskConfigAgentTypeEnum = typeof AgentTaskConfigAgentTypeEnum[keyof typeof AgentTaskConfigAgentTypeEnum];\n\n/**\n * Base configuration for a task\n */\nexport interface BaseTaskConfig {\n 'type': BaseTaskConfigType;\n}\n\n\n/**\n * Type of task: - HTTP - sends an HTTP request and stores the response - BRANCH - branching node, conditionally execute a set of tasks - LOOP - execute a set of tasks multiple times based on a source field - LOG - log a message - WAIT - wait for a condition to be met - SET_STATE - set values in the workflow state - STEP - run a custom step - PARALLEL - execute a set of tasks in parallel - RUN_WORKFLOW - execute a workflow - NOTIFICATION - send notifications via email or Slack - AGENT - send requests to LLM providers (OpenAI, Claude, FrankieOne) - SUBFLOW - execute another workflow definition as a subflow - FORM - pause workflow to collect user input via a form \n */\n\nexport const BaseTaskConfigType = {\n Http: 'HTTP',\n Branch: 'BRANCH',\n Loop: 'LOOP',\n Log: 'LOG',\n Wait: 'WAIT',\n SetState: 'SET_STATE',\n Step: 'STEP',\n Parallel: 'PARALLEL',\n RunWorkflow: 'RUN_WORKFLOW',\n Notification: 'NOTIFICATION',\n Agent: 'AGENT',\n Subflow: 'SUBFLOW',\n Form: 'FORM'\n} as const;\n\nexport type BaseTaskConfigType = typeof BaseTaskConfigType[keyof typeof BaseTaskConfigType];\n\n\n/**\n * A branch on a branching node, contains the configuration about what is the name of the branch, the expression to evaluate for whether this branch is executed and the tasks associated with the branch, if the branch is evaluated as true then list of tasks will be used executed. field will be used to determine the next task to execute. \n */\nexport interface BranchTaskBranch {\n /**\n * The name of the branch.\n */\n 'name': string;\n 'expression'?: BranchTaskExpression;\n /**\n * List of tasks associated with the branch\n */\n 'tasks': Array<Task>;\n}\nexport interface BranchTaskConfig {\n 'type': BaseTaskConfigType;\n /**\n * A map of branch names to their corresponding expression objects.\n */\n 'branches': Array<BranchTaskBranch>;\n /**\n * The default next task ID if no branches match.\n */\n 'defaultBranch': string;\n}\n\n\n/**\n * @type BranchTaskExpression\n */\nexport type BranchTaskExpression = { type: 'COMPLEX' } & BranchTaskExpressionComplex | { type: 'SIMPLE' } & BranchTaskExpressionSimple;\n\nexport interface BranchTaskExpressionBase {\n 'type': BranchTaskExpressionBaseType;\n}\n\n\n/**\n * The type of the branch task expression. - `SIMPLE`: A simple comparison expression. - `COMPLEX`: A complex expression using AND and OR. \n */\n\nexport const BranchTaskExpressionBaseType = {\n Simple: 'SIMPLE',\n Complex: 'COMPLEX'\n} as const;\n\nexport type BranchTaskExpressionBaseType = typeof BranchTaskExpressionBaseType[keyof typeof BranchTaskExpressionBaseType];\n\n\nexport interface BranchTaskExpressionComplex {\n 'type': BranchTaskExpressionBaseType;\n 'and'?: Array<BranchTaskExpression>;\n 'or'?: Array<BranchTaskExpression>;\n}\n\n\nexport interface BranchTaskExpressionSimple {\n 'type': BranchTaskExpressionBaseType;\n /**\n * The path to the value in the state to use in the comparison.\n */\n 'sourcePath': string;\n /**\n * The comparison operator. - `EQ` - path value is equal to the expression value - `NEQ` - path value is not equal to the expression value - `GT` - path value is greater than the expression value - `GTE` - path value is greater than or equal to the expression value - `LT` - path value is less than the expression value - `LTE` - path value is less than or equal to the expression value - `EXISTS` - check if the path value exists - `NOT_EXISTS` - check if the path value does not exist \n */\n 'operator': BranchTaskExpressionSimpleOperatorEnum;\n /**\n * The value to compare against. Can be a string, number, or boolean or an array of strings, numbers, or booleans.\n */\n 'value': any;\n}\n\nexport const BranchTaskExpressionSimpleOperatorEnum = {\n Eq: 'EQ',\n Neq: 'NEQ',\n Gt: 'GT',\n Gte: 'GTE',\n Lt: 'LT',\n Lte: 'LTE',\n Exists: 'EXISTS',\n NotExists: 'NOT_EXISTS'\n} as const;\n\nexport type BranchTaskExpressionSimpleOperatorEnum = typeof BranchTaskExpressionSimpleOperatorEnum[keyof typeof BranchTaskExpressionSimpleOperatorEnum];\n\nexport interface DefinitionSummariesResponse {\n 'tags': Array<string>;\n 'owners': Array<string>;\n 'workflowDefinitions': Array<WorkflowDefinitionSummary>;\n 'meta'?: Meta;\n}\n/**\n * Configuration for how task errors should be handled\n */\nexport interface ErrorHandlingConfig {\n /**\n * Determines if task errors should be ignored, the task will be marked as ERROR if this is false, and the workflow will be marked as FAILED if this is true\n */\n 'ignoreErrors'?: boolean;\n /**\n * Optional state to use if the task fails (only used if ignoreErrors is true)\n */\n 'fallbackState'?: object;\n 'retryConfig'?: RetryConfig;\n}\nexport interface ErrorResponse {\n /**\n * Error message\n */\n 'error': string;\n /**\n * Additional error details\n */\n 'details'?: object;\n}\n/**\n * @type FormField\n */\nexport type FormField = { type: 'ADDRESS' } & FormFieldAddress | { type: 'CHECKBOX' } & FormFieldCheckbox | { type: 'CHECKLIST' } & FormFieldChecklist | { type: 'CONSENT' } & FormFieldConsent | { type: 'COUNTRY' } & FormFieldCountry | { type: 'DATE' } & FormFieldDate | { type: 'EMAIL' } & FormFieldEmail | { type: 'FILE' } & FormFieldFile | { type: 'HEADER' } & FormFieldHeader | { type: 'IMAGE' } & FormFieldImage | { type: 'NUMBER' } & FormFieldNumber | { type: 'PHONE' } & FormFieldPhone | { type: 'SELECT' } & FormFieldSelect | { type: 'TEXT' } & FormFieldText | { type: 'TEXTAREA' } & FormFieldTextarea | { type: 'TEXTBLOCK' } & FormFieldTextblock;\n\nexport interface FormFieldAddress {\n /**\n * Unique identifier for the field, used as the key in form data\n */\n 'id': string;\n 'type': FormFieldType;\n /**\n * Reference to the field in the form data\n */\n 'reference'?: string;\n /**\n * Displayed label for the field\n */\n 'label': string;\n /**\n * Placeholder text for the field\n */\n 'placeholder'?: string;\n /**\n * Whether the field is required\n */\n 'required'?: boolean;\n /**\n * Default value for the field. Supports template syntax.\n */\n 'defaultValue'?: string;\n 'validation'?: FormFieldBaseValidation;\n}\n\n\nexport interface FormFieldBase {\n /**\n * Unique identifier for the field, used as the key in form data\n */\n 'id': string;\n 'type': FormFieldType;\n /**\n * Reference to the field in the form data\n */\n 'reference'?: string;\n /**\n * Displayed label for the field\n */\n 'label': string;\n /**\n * Placeholder text for the field\n */\n 'placeholder'?: string;\n /**\n * Whether the field is required\n */\n 'required'?: boolean;\n /**\n * Default value for the field. Supports template syntax.\n */\n 'defaultValue'?: string;\n 'validation'?: FormFieldBaseValidation;\n}\n\n\n/**\n * Validation rules for the field\n */\nexport interface FormFieldBaseValidation {\n 'minLength'?: number;\n 'maxLength'?: number;\n /**\n * Regex pattern for validation\n */\n 'pattern'?: string;\n 'min'?: number;\n 'max'?: number;\n}\nexport interface FormFieldCheckbox {\n /**\n * Unique identifier for the field, used as the key in form data\n */\n 'id': string;\n 'type': FormFieldType;\n /**\n * Reference to the field in the form data\n */\n 'reference'?: string;\n /**\n * Displayed label for the field\n */\n 'label': string;\n /**\n * Placeholder text for the field\n */\n 'placeholder'?: string;\n /**\n * Whether the field is required\n */\n 'required'?: boolean;\n /**\n * Default value for the field. Supports template syntax.\n */\n 'defaultValue'?: string;\n 'validation'?: FormFieldBaseValidation;\n}\n\n\nexport interface FormFieldChecklist {\n /**\n * Unique identifier for the field, used as the key in form data\n */\n 'id': string;\n 'type': FormFieldType;\n /**\n * Reference to the field in the form data\n */\n 'reference'?: string;\n /**\n * Displayed label for the field\n */\n 'label': string;\n /**\n * Placeholder text for the field\n */\n 'placeholder'?: string;\n /**\n * Whether the field is required\n */\n 'required'?: boolean;\n /**\n * Default value for the field. Supports template syntax.\n */\n 'defaultValue'?: string;\n 'validation'?: FormFieldBaseValidation;\n 'description'?: string;\n /**\n * Items for checklist fields\n */\n 'items'?: Array<FormFieldChecklistAllOfItems>;\n}\n\n\nexport interface FormFieldChecklistAllOfItems {\n 'description'?: string;\n 'icon'?: string;\n}\nexport interface FormFieldConsent {\n /**\n * Unique identifier for the field, used as the key in form data\n */\n 'id': string;\n 'type': FormFieldType;\n /**\n * Reference to the field in the form data\n */\n 'reference'?: string;\n /**\n * Displayed label for the field\n */\n 'label': string;\n /**\n * Placeholder text for the field\n */\n 'placeholder'?: string;\n /**\n * Whether the field is required\n */\n 'required'?: boolean;\n /**\n * Default value for the field. Supports template syntax.\n */\n 'defaultValue'?: string;\n 'validation'?: FormFieldBaseValidation;\n /**\n * Header text for the consent section\n */\n 'header'?: string;\n /**\n * Terms text for the consent\n */\n 'content'?: string;\n 'consents'?: Array<FormFieldConsentAllOfConsents>;\n}\n\n\nexport interface FormFieldConsentAllOfConsents {\n /**\n * The name to store when the consent is given\n */\n 'name'?: string;\n /**\n * Whether this consent is required\n */\n 'required'?: boolean;\n /**\n * The value to store when the consent is given\n */\n 'value'?: string;\n}\nexport interface FormFieldCountry {\n /**\n * Unique identifier for the field, used as the key in form data\n */\n 'id': string;\n 'type': FormFieldType;\n /**\n * Reference to the field in the form data\n */\n 'reference'?: string;\n /**\n * Displayed label for the field\n */\n 'label': string;\n /**\n * Placeholder text for the field\n */\n 'placeholder'?: string;\n /**\n * Whether the field is required\n */\n 'required'?: boolean;\n /**\n * Default value for the field. Supports template syntax.\n */\n 'defaultValue'?: string;\n 'validation'?: FormFieldBaseValidation;\n}\n\n\nexport interface FormFieldDate {\n /**\n * Unique identifier for the field, used as the key in form data\n */\n 'id': string;\n 'type': FormFieldType;\n /**\n * Reference to the field in the form data\n */\n 'reference'?: string;\n /**\n * Displayed label for the field\n */\n 'label': string;\n /**\n * Placeholder text for the field\n */\n 'placeholder'?: string;\n /**\n * Whether the field is required\n */\n 'required'?: boolean;\n /**\n * Default value for the field. Supports template syntax.\n */\n 'defaultValue'?: string;\n 'validation'?: FormFieldBaseValidation;\n}\n\n\nexport interface FormFieldEmail {\n /**\n * Unique identifier for the field, used as the key in form data\n */\n 'id': string;\n 'type': FormFieldType;\n /**\n * Reference to the field in the form data\n */\n 'reference'?: string;\n /**\n * Displayed label for the field\n */\n 'label': string;\n /**\n * Placeholder text for the field\n */\n 'placeholder'?: string;\n /**\n * Whether the field is required\n */\n 'required'?: boolean;\n /**\n * Default value for the field. Supports template syntax.\n */\n 'defaultValue'?: string;\n 'validation'?: FormFieldBaseValidation;\n}\n\n\nexport interface FormFieldFile {\n /**\n * Unique identifier for the field, used as the key in form data\n */\n 'id': string;\n 'type': FormFieldType;\n /**\n * Reference to the field in the form data\n */\n 'reference'?: string;\n /**\n * Displayed label for the field\n */\n 'label': string;\n /**\n * Placeholder text for the field\n */\n 'placeholder'?: string;\n /**\n * Whether the field is required\n */\n 'required'?: boolean;\n /**\n * Default value for the field. Supports template syntax.\n */\n 'defaultValue'?: string;\n 'validation'?: FormFieldBaseValidation;\n}\n\n\nexport interface FormFieldHeader {\n /**\n * Unique identifier for the field, used as the key in form data\n */\n 'id': string;\n 'type': FormFieldType;\n /**\n * Reference to the field in the form data\n */\n 'reference'?: string;\n /**\n * Displayed label for the field\n */\n 'label': string;\n /**\n * Placeholder text for the field\n */\n 'placeholder'?: string;\n /**\n * Whether the field is required\n */\n 'required'?: boolean;\n /**\n * Default value for the field. Supports template syntax.\n */\n 'defaultValue'?: string;\n 'validation'?: FormFieldBaseValidation;\n /**\n * Header level (1-6)\n */\n 'level'?: number;\n}\n\n\nexport interface FormFieldImage {\n /**\n * Unique identifier for the field, used as the key in form data\n */\n 'id': string;\n 'type': FormFieldType;\n /**\n * Reference to the field in the form data\n */\n 'reference'?: string;\n /**\n * Displayed label for the field\n */\n 'label': string;\n /**\n * Placeholder text for the field\n */\n 'placeholder'?: string;\n /**\n * Whether the field is required\n */\n 'required'?: boolean;\n /**\n * Default value for the field. Supports template syntax.\n */\n 'defaultValue'?: string;\n 'validation'?: FormFieldBaseValidation;\n /**\n * Image source URL or path\n */\n 'src'?: string;\n /**\n * Alternative text for the image\n */\n 'alt'?: string;\n /**\n * Image width (CSS value)\n */\n 'width'?: string;\n /**\n * Image height (CSS value)\n */\n 'height'?: string;\n}\n\n\nexport interface FormFieldNumber {\n /**\n * Unique identifier for the field, used as the key in form data\n */\n 'id': string;\n 'type': FormFieldType;\n /**\n * Reference to the field in the form data\n */\n 'reference'?: string;\n /**\n * Displayed label for the field\n */\n 'label': string;\n /**\n * Placeholder text for the field\n */\n 'placeholder'?: string;\n /**\n * Whether the field is required\n */\n 'required'?: boolean;\n /**\n * Default value for the field. Supports template syntax.\n */\n 'defaultValue'?: string;\n 'validation'?: FormFieldBaseValidation;\n}\n\n\nexport interface FormFieldPhone {\n /**\n * Unique identifier for the field, used as the key in form data\n */\n 'id': string;\n 'type': FormFieldType;\n /**\n * Reference to the field in the form data\n */\n 'reference'?: string;\n /**\n * Displayed label for the field\n */\n 'label': string;\n /**\n * Placeholder text for the field\n */\n 'placeholder'?: string;\n /**\n * Whether the field is required\n */\n 'required'?: boolean;\n /**\n * Default value for the field. Supports template syntax.\n */\n 'defaultValue'?: string;\n 'validation'?: FormFieldBaseValidation;\n}\n\n\nexport interface FormFieldSelect {\n /**\n * Unique identifier for the field, used as the key in form data\n */\n 'id': string;\n 'type': FormFieldType;\n /**\n * Reference to the field in the form data\n */\n 'reference'?: string;\n /**\n * Displayed label for the field\n */\n 'label': string;\n /**\n * Placeholder text for the field\n */\n 'placeholder'?: string;\n /**\n * Whether the field is required\n */\n 'required'?: boolean;\n /**\n * Default value for the field. Supports template syntax.\n */\n 'defaultValue'?: string;\n 'validation'?: FormFieldBaseValidation;\n /**\n * Options for select fields\n */\n 'options'?: Array<FormFieldSelectAllOfOptions>;\n}\n\n\nexport interface FormFieldSelectAllOfOptions {\n 'value'?: string;\n 'label'?: string;\n}\nexport interface FormFieldText {\n /**\n * Unique identifier for the field, used as the key in form data\n */\n 'id': string;\n 'type': FormFieldType;\n /**\n * Reference to the field in the form data\n */\n 'reference'?: string;\n /**\n * Displayed label for the field\n */\n 'label': string;\n /**\n * Placeholder text for the field\n */\n 'placeholder'?: string;\n /**\n * Whether the field is required\n */\n 'required'?: boolean;\n /**\n * Default value for the field. Supports template syntax.\n */\n 'defaultValue'?: string;\n 'validation'?: FormFieldBaseValidation;\n}\n\n\nexport interface FormFieldTextarea {\n /**\n * Unique identifier for the field, used as the key in form data\n */\n 'id': string;\n 'type': FormFieldType;\n /**\n * Reference to the field in the form data\n */\n 'reference'?: string;\n /**\n * Displayed label for the field\n */\n 'label': string;\n /**\n * Placeholder text for the field\n */\n 'placeholder'?: string;\n /**\n * Whether the field is required\n */\n 'required'?: boolean;\n /**\n * Default value for the field. Supports template syntax.\n */\n 'defaultValue'?: string;\n 'validation'?: FormFieldBaseValidation;\n}\n\n\nexport interface FormFieldTextblock {\n /**\n * Unique identifier for the field, used as the key in form data\n */\n 'id': string;\n 'type': FormFieldType;\n /**\n * Reference to the field in the form data\n */\n 'reference'?: string;\n /**\n * Displayed label for the field\n */\n 'label': string;\n /**\n * Placeholder text for the field\n */\n 'placeholder'?: string;\n /**\n * Whether the field is required\n */\n 'required'?: boolean;\n /**\n * Default value for the field. Supports template syntax.\n */\n 'defaultValue'?: string;\n 'validation'?: FormFieldBaseValidation;\n /**\n * Text alignment\n */\n 'alignment'?: FormFieldTextblockAlignmentEnum;\n /**\n * Text content to display\n */\n 'content'?: string;\n}\n\nexport const FormFieldTextblockAlignmentEnum = {\n Left: 'left',\n Center: 'center',\n Right: 'right'\n} as const;\n\nexport type FormFieldTextblockAlignmentEnum = typeof FormFieldTextblockAlignmentEnum[keyof typeof FormFieldTextblockAlignmentEnum];\n\n/**\n * The type of form field\n */\n\nexport const FormFieldType = {\n Text: 'TEXT',\n Email: 'EMAIL',\n Phone: 'PHONE',\n Number: 'NUMBER',\n Date: 'DATE',\n Select: 'SELECT',\n Checkbox: 'CHECKBOX',\n Textarea: 'TEXTAREA',\n File: 'FILE',\n Country: 'COUNTRY',\n Address: 'ADDRESS',\n Checklist: 'CHECKLIST',\n Header: 'HEADER',\n Textblock: 'TEXTBLOCK',\n Image: 'IMAGE',\n Consent: 'CONSENT'\n} as const;\n\nexport type FormFieldType = typeof FormFieldType[keyof typeof FormFieldType];\n\n\n/**\n * Configuration for a form task that pauses workflow execution to collect user input via a form. The workflow resumes when the form is submitted.\n */\nexport interface FormTaskConfig {\n 'type': BaseTaskConfigType;\n 'formType': FormType;\n /**\n * Form title displayed to the user. Supports template syntax.\n */\n 'title'?: string;\n /**\n * Form description or instructions. Supports template syntax.\n */\n 'description'?: string;\n /**\n * Text for the submit button\n */\n 'buttonText'?: string;\n /**\n * List of form fields to display\n */\n 'fields'?: Array<FormField>;\n /**\n * Path in workflow state to store the form submission data\n */\n 'outputPath'?: string;\n /**\n * Maximum time in seconds to wait for form submission before timing out\n */\n 'timeoutSeconds'?: number;\n /**\n * Unique key to identify this form wait, used for resuming the workflow\n */\n 'waitKey'?: string;\n}\n\n\n/**\n * The type of form to display\n */\n\nexport const FormType = {\n Welcome: 'WELCOME',\n Consent: 'CONSENT',\n PersonalInfo: 'PERSONAL_INFO',\n Address: 'ADDRESS',\n DocumentUpload: 'DOCUMENT_UPLOAD',\n Review: 'REVIEW',\n Custom: 'CUSTOM'\n} as const;\n\nexport type FormType = typeof FormType[keyof typeof FormType];\n\n\nexport interface HttpTaskConfig {\n 'type': BaseTaskConfigType;\n /**\n * URL to send the HTTP request to\n */\n 'url': string;\n 'method': HttpTaskConfigMethod;\n /**\n * HTTP headers to include in the request\n */\n 'headers'?: { [key: string]: string; };\n /**\n * HTTP request body\n */\n 'body'?: string;\n /**\n * Path to value in state to use as request body\n */\n 'bodyFromState'?: string;\n /**\n * Timeout for the HTTP request in seconds\n */\n 'timeoutSeconds'?: number;\n /**\n * Mapping of response fields to state paths\n */\n 'responseMapping'?: { [key: string]: string; };\n /**\n * Mapping of error fields to state paths\n */\n 'errorMapping'?: { [key: string]: string; };\n}\n\n\n/**\n * HTTP method to use for the request\n */\n\nexport const HttpTaskConfigMethod = {\n Get: 'GET',\n Post: 'POST',\n Put: 'PUT',\n Delete: 'DELETE',\n Patch: 'PATCH',\n Head: 'HEAD',\n Options: 'OPTIONS'\n} as const;\n\nexport type HttpTaskConfigMethod = typeof HttpTaskConfigMethod[keyof typeof HttpTaskConfigMethod];\n\n\nexport interface LogTaskConfig {\n 'type': BaseTaskConfigType;\n /**\n * Template string for the log message\n */\n 'template': string;\n 'level': LogTaskConfigLevel;\n /**\n * Optional prefix for the log message\n */\n 'prefix'?: string;\n /**\n * Whether to store the log in the workflow state\n */\n 'storeInState'?: boolean;\n}\n\n\n/**\n * Log level (INFO, WARN, ERROR, DEBUG)\n */\n\nexport const LogTaskConfigLevel = {\n Info: 'INFO',\n Warn: 'WARN',\n Error: 'ERROR',\n Debug: 'DEBUG'\n} as const;\n\nexport type LogTaskConfigLevel = typeof LogTaskConfigLevel[keyof typeof LogTaskConfigLevel];\n\n\nexport interface LoopTaskConfig {\n 'type': BaseTaskConfigType;\n /**\n * Path to the list value in the state to iterate over\n */\n 'sourcePath': string;\n /**\n * Name of the variable to store the current item in the state\n */\n 'itemVariable': string;\n /**\n * Name of the variable to store the current index in the state\n */\n 'indexVariable'?: string;\n /**\n * List of tasks to execute for each item in the list\n */\n 'tasks': Array<Task>;\n /**\n * Path in the state where the results of all iterations will be stored\n */\n 'resultPath'?: string;\n}\n\n\nexport interface Meta {\n /**\n * Current page number (1-based)\n */\n 'page'?: number;\n /**\n * Number of items per page\n */\n 'pageSize'?: number;\n /**\n * Total number of items matching the filters\n */\n 'totalCount'?: number;\n /**\n * Total number of pages available\n */\n 'totalPages'?: number;\n}\nexport interface NewWorkflowDefinition {\n /**\n * Whether the workflow is a template\n */\n 'isTemplate'?: boolean;\n /**\n * Whether the workflow is a draft\n */\n 'isDraft'?: boolean;\n /**\n * Human-readable name for the workflow\n */\n 'name': string;\n /**\n * Owner of the workflow\n */\n 'owner'?: string;\n /**\n * Optional detailed description of the workflow\n */\n 'description'?: string;\n /**\n * Schema for the initial state of the workflow\n */\n 'initialState'?: object;\n 'defaultErrorHandling'?: ErrorHandlingConfig;\n /**\n * Map of tasks where the key is the task ID\n */\n 'tasks'?: Array<Task>;\n /**\n * Tags associated with the workflow\n */\n 'tags'?: Array<string>;\n /**\n * Workflow-level variables that can be referenced in task configurations using template syntax, these would be validated into the initial state on workflow execution\n */\n 'variables'?: Array<WorkflowDefinitionVariable>;\n}\n/**\n * Configuration for a notification task that sends notifications via email or Slack.\n */\nexport interface NotificationTaskConfig {\n 'type': BaseTaskConfigType;\n /**\n * The notification channel to use\n */\n 'notificationType': NotificationTaskConfigNotificationTypeEnum;\n /**\n * Email recipients (for EMAIL type)\n */\n 'recipients'?: Array<string>;\n /**\n * Email subject line (for EMAIL type). Supports template syntax.\n */\n 'subject'?: string;\n /**\n * Email body content (for EMAIL type). Supports template syntax.\n */\n 'body'?: string;\n /**\n * Email body format (for EMAIL type)\n */\n 'bodyType'?: NotificationTaskConfigBodyTypeEnum;\n /**\n * CC recipients (for EMAIL type)\n */\n 'cc'?: Array<string>;\n /**\n * BCC recipients (for EMAIL type)\n */\n 'bcc'?: Array<string>;\n /**\n * Slack webhook URL (for SLACK type). Supports template syntax for secrets.\n */\n 'webhookUrl'?: string;\n /**\n * Slack channel override (for SLACK type)\n */\n 'channel'?: string;\n /**\n * Slack message content (for SLACK type). Supports template syntax.\n */\n 'message'?: string;\n /**\n * Slack bot username override (for SLACK type)\n */\n 'username'?: string;\n /**\n * Slack bot icon emoji (for SLACK type)\n */\n 'iconEmoji'?: string;\n}\n\nexport const NotificationTaskConfigNotificationTypeEnum = {\n Email: 'EMAIL',\n Slack: 'SLACK'\n} as const;\n\nexport type NotificationTaskConfigNotificationTypeEnum = typeof NotificationTaskConfigNotificationTypeEnum[keyof typeof NotificationTaskConfigNotificationTypeEnum];\nexport const NotificationTaskConfigBodyTypeEnum = {\n Text: 'text',\n Html: 'html'\n} as const;\n\nexport type NotificationTaskConfigBodyTypeEnum = typeof NotificationTaskConfigBodyTypeEnum[keyof typeof NotificationTaskConfigBodyTypeEnum];\n\nexport interface ParallelTaskConfig {\n 'type': BaseTaskConfigType;\n /**\n * A group of tasks that should be executed in parallel\n */\n 'groups': Array<ParallelTaskGroup>;\n}\n\n\n/**\n * A group of tasks that should be executed in parallel, each group contains potentially one or more tasks that would be executed in sequence. But each group is executed in parallel. \n */\nexport interface ParallelTaskGroup {\n /**\n * The name of the group.\n */\n 'name': string;\n /**\n * List of tasks associated with the branch\n */\n 'tasks': Array<Task>;\n}\nexport interface ResumeWorkflowExecution {\n /**\n * Additional state for the workflow execution to append to the existing state\n */\n 'additionalState'?: object;\n}\n/**\n * Configuration for task retry behavior\n */\nexport interface RetryConfig {\n /**\n * Maximum number of retry attempts\n */\n 'maxAttempts'?: number;\n /**\n * Delay in milliseconds between retry attempts\n */\n 'delayMs'?: number;\n /**\n * Backoff factor for exponential backoff\n */\n 'backoffFactor'?: number;\n}\nexport interface RunWorkflowTaskConfig {\n 'type': BaseTaskConfigType;\n /**\n * Type of entity (supports templating)\n */\n 'entityType': RunWorkflowTaskConfigEntityTypeEnum;\n /**\n * Entity ID to execute workflow against (supports templating)\n */\n 'entityId': string;\n /**\n * Service profile name (supports templating, typically from state)\n */\n 'serviceName': string;\n /**\n * Name of the workflow to execute (supports templating)\n */\n 'workflowName': string;\n /**\n * Request timeout in seconds\n */\n 'timeoutSeconds'?: number;\n /**\n * If true, only the entityId and workflowExecutionId are returned, otherwise the full result is returned\n */\n 'returnIdsOnly'?: boolean;\n}\n\nexport const RunWorkflowTaskConfigEntityTypeEnum = {\n Individuals: 'individuals',\n Organizations: 'organizations'\n} as const;\n\nexport type RunWorkflowTaskConfigEntityTypeEnum = typeof RunWorkflowTaskConfigEntityTypeEnum[keyof typeof RunWorkflowTaskConfigEntityTypeEnum];\n\nexport interface SetStateTaskConfig {\n 'type': BaseTaskConfigType;\n /**\n * Key-value pairs to set in the workflow state\n */\n 'state': { [key: string]: any; };\n}\n\n\nexport interface StepTaskConfig {\n 'type': BaseTaskConfigType;\n /**\n * The name of the step.\n */\n 'name': string;\n /**\n * Additional parameters for the step.\n */\n 'parameters'?: { [key: string]: any; };\n}\n\n\n/**\n * Configuration for a subflow task that executes another workflow definition as part of the parent workflow. The subflow inherits the parent workflow\\'s state.\n */\nexport interface SubflowTaskConfig {\n 'type': BaseTaskConfigType;\n /**\n * The ID of the workflow definition to execute as a subflow\n */\n 'workflowDefinitionId': string;\n /**\n * The specific version of the workflow to use (locked at design time)\n */\n 'workflowVersion': number;\n /**\n * Display name of the referenced workflow (for UI purposes only)\n */\n 'workflowName'?: string;\n /**\n * Whether the subflow should inherit the parent workflow\\'s state\n */\n 'inheritState'?: boolean;\n /**\n * Optional mapping of parent state keys to subflow state keys\n */\n 'stateMapping'?: { [key: string]: string; };\n /**\n * Optional mapping of subflow output keys to parent state keys\n */\n 'outputMapping'?: { [key: string]: string; };\n /**\n * Maximum time in seconds to wait for subflow completion\n */\n 'timeoutSeconds'?: number;\n}\n\n\nexport interface Task {\n /**\n * The ID of the task.\n */\n 'id': string;\n /**\n * The name of the task.\n */\n 'name': string;\n /**\n * Human-readable description of the task\n */\n 'description'?: string;\n 'errorHandling'?: ErrorHandlingConfig;\n 'configuration': TaskConfig;\n}\n/**\n * @type TaskConfig\n */\nexport type TaskConfig = { type: 'AGENT' } & AgentTaskConfig | { type: 'BRANCH' } & BranchTaskConfig | { type: 'FORM' } & FormTaskConfig | { type: 'HTTP' } & HttpTaskConfig | { type: 'LOG' } & LogTaskConfig | { type: 'LOOP' } & LoopTaskConfig | { type: 'NOTIFICATION' } & NotificationTaskConfig | { type: 'PARALLEL' } & ParallelTaskConfig | { type: 'RUN_WORKFLOW' } & RunWorkflowTaskConfig | { type: 'SET_STATE' } & SetStateTaskConfig | { type: 'STEP' } & StepTaskConfig | { type: 'SUBFLOW' } & SubflowTaskConfig | { type: 'WAIT' } & WaitTaskConfig;\n\nexport interface TaskExecutionDetails {\n /**\n * ID of the task\n */\n 'taskId': string;\n /**\n * Owner of the task\n */\n 'owner'?: string;\n 'status': TaskExecutionDetailsStatus;\n /**\n * Timestamp when the task execution started\n */\n 'startTime'?: string;\n /**\n * Timestamp when the task execution ended (if completed, failed, or skipped)\n */\n 'endTime'?: string;\n /**\n * Error message if the task execution failed\n */\n 'error'?: string;\n /**\n * Result of the task execution\n */\n 'result'?: object;\n}\n\n\n/**\n * Status of a task execution\n */\n\nexport const TaskExecutionDetailsStatus = {\n Pending: 'PENDING',\n Running: 'RUNNING',\n Completed: 'COMPLETED',\n Failed: 'FAILED',\n Paused: 'PAUSED',\n Skipped: 'SKIPPED'\n} as const;\n\nexport type TaskExecutionDetailsStatus = typeof TaskExecutionDetailsStatus[keyof typeof TaskExecutionDetailsStatus];\n\n\n/**\n * Configuration for a wait task, this task will wait for a specified amount of time before resuming the workflow or until a specific time is reached.\n */\nexport interface WaitTaskConfig {\n 'type': BaseTaskConfigType;\n /**\n * ISO-8601 timestamp when the task should automatically resume\n */\n 'resumeTime'?: string;\n /**\n * Duration string (e.g., \\\"24h\\\", \\\"30m\\\") to wait before resuming\n */\n 'resumeAfter'?: string;\n /**\n * Optional custom key to use for storing wait status in state\n */\n 'waitKey'?: string;\n /**\n * Optional reason for waiting, for documentation purposes\n */\n 'reason': string;\n /**\n * Number of seconds to wait before resuming (alternative to resumeAfter)\n */\n 'waitSeconds'?: number;\n}\n\n\nexport interface WorkflowDefinition {\n /**\n * Unique identifier for the workflow\n */\n 'id': string;\n /**\n * Human-readable name for the workflow\n */\n 'name': string;\n /**\n * Owner of the workflow\n */\n 'owner'?: string;\n /**\n * Workflow-level variables that can be referenced in task configurations using template syntax, these would be validated into the initial state on workflow execution\n */\n 'variables'?: Array<WorkflowDefinitionVariable>;\n /**\n * Whether the workflow is a template\n */\n 'isTemplate'?: boolean;\n /**\n * Tags associated with the workflow\n */\n 'tags'?: Array<string>;\n /**\n * Optional detailed description of the workflow\n */\n 'description'?: string;\n /**\n * List of available versions for this workflow definition\n */\n 'versions': Array<number>;\n /**\n * The version number of this workflow definition\n */\n 'version': number;\n /**\n * Version Identifier to refer to\n */\n 'versionId'?: string;\n /**\n * Timestamp when the workflow definition was first created\n */\n 'createdAt': string;\n /**\n * Timestamp when the workflow definition was last updated\n */\n 'updatedAt': string;\n /**\n * User who created the workflow definition\n */\n 'createdBy'?: string;\n /**\n * User who last updated the workflow definition\n */\n 'updatedBy'?: string;\n 'defaultErrorHandling'?: ErrorHandlingConfig;\n /**\n * Whether the workflow definition is a draft\n */\n 'isDraft'?: boolean;\n /**\n * Initial state for the workflow execution\n */\n 'initialState'?: object;\n /**\n * Map of tasks where the key is the task ID\n */\n 'tasks': Array<Task>;\n}\nexport interface WorkflowDefinitionResponse {\n 'workflowDefinition': WorkflowDefinition;\n}\nexport interface WorkflowDefinitionSummary {\n /**\n * Unique identifier for the workflow\n */\n 'id': string;\n /**\n * Human-readable name for the workflow\n */\n 'name': string;\n /**\n * Owner of the workflow\n */\n 'owner'?: string;\n /**\n * Workflow-level variables that can be referenced in task configurations using template syntax, these would be validated into the initial state on workflow execution\n */\n 'variables'?: Array<WorkflowDefinitionVariable>;\n /**\n * Whether the workflow is a template\n */\n 'isTemplate'?: boolean;\n /**\n * Tags associated with the workflow\n */\n 'tags'?: Array<string>;\n /**\n * Optional detailed description of the workflow\n */\n 'description'?: string;\n /**\n * List of available versions for this workflow definition\n */\n 'versions': Array<number>;\n /**\n * The version number of this workflow definition\n */\n 'version': number;\n /**\n * Version Identifier to refer to\n */\n 'versionId'?: string;\n /**\n * Timestamp when the workflow definition was first created\n */\n 'createdAt': string;\n /**\n * Timestamp when the workflow definition was last updated\n */\n 'updatedAt': string;\n /**\n * User who created the workflow definition\n */\n 'createdBy'?: string;\n /**\n * User who last updated the workflow definition\n */\n 'updatedBy'?: string;\n}\nexport interface WorkflowDefinitionVariable {\n /**\n * Name of the variable\n */\n 'name': string;\n /**\n * Example value of the variable\n */\n 'example'?: string;\n /**\n * Default value of the variable if not provided\n */\n 'default'?: string;\n /**\n * Type of the variable\n */\n 'type': WorkflowDefinitionVariableTypeEnum;\n /**\n * Description of the variable\n */\n 'description'?: string;\n}\n\nexport const WorkflowDefinitionVariableTypeEnum = {\n String: 'STRING',\n Number: 'NUMBER',\n Boolean: 'BOOLEAN',\n Object: 'OBJECT',\n Array: 'ARRAY'\n} as const;\n\nexport type WorkflowDefinitionVariableTypeEnum = typeof WorkflowDefinitionVariableTypeEnum[keyof typeof WorkflowDefinitionVariableTypeEnum];\n\nexport interface WorkflowExecutionDetails {\n /**\n * Unique identifier for the workflow execution\n */\n 'id': string;\n /**\n * ID of the workflow definition being executed\n */\n 'workflowDefinitionId': string;\n /**\n * Owner of the workflow execution\n */\n 'owner': string;\n /**\n * Version of the workflow definition\n */\n 'workflowVersion': number;\n /**\n * Current status of the workflow execution\n */\n 'status': WorkflowExecutionDetailsStatusEnum;\n /**\n * Tags associated with the workflow execution\n */\n 'tags'?: Array<string>;\n /**\n * Timestamp when the workflow execution started\n */\n 'startTime': string;\n /**\n * Timestamp when the workflow execution ended (if completed or failed)\n */\n 'endTime'?: string;\n /**\n * Current state of the workflow execution\n */\n 'state': object;\n /**\n * Error message if the workflow execution failed\n */\n 'error'?: string;\n /**\n * ID of the currently executing task (if status is RUNNING)\n */\n 'currentTaskId'?: string;\n /**\n * ID of the task that caused the workflow to pause (if status is PAUSED)\n */\n 'pausedTaskId'?: string;\n /**\n * Map of task executions where the key is the task ID\n */\n 'taskExecutions'?: { [key: string]: TaskExecutionDetails; };\n /**\n * List of logs for the workflow execution\n */\n 'logs'?: Array<WorkflowExecutionLog>;\n}\n\nexport const WorkflowExecutionDetailsStatusEnum = {\n Pending: 'PENDING',\n Running: 'RUNNING',\n Completed: 'COMPLETED',\n Failed: 'FAILED',\n Paused: 'PAUSED',\n Cancelled: 'CANCELLED'\n} as const;\n\nexport type WorkflowExecutionDetailsStatusEnum = typeof WorkflowExecutionDetailsStatusEnum[keyof typeof WorkflowExecutionDetailsStatusEnum];\n\nexport interface WorkflowExecutionLog {\n /**\n * Unique identifier for the log\n */\n 'id': string;\n /**\n * ID of the workflow definition\n */\n 'workflowDefinitionId': string;\n /**\n * ID of the workflow execution\n */\n 'workflowExecutionId': string;\n /**\n * Log level\n */\n 'level': string;\n /**\n * Log message\n */\n 'message': string;\n /**\n * Timestamp when the log was created\n */\n 'createdAt': string;\n /**\n * Source of the log\n */\n 'source': string;\n}\nexport interface WorkflowExecutionRequest {\n /**\n * ID of the workflow definition to execute\n */\n 'workflowDefinitionId': string;\n /**\n * Version of the workflow definition to execute. If not provided, the latest version will be used.\n */\n 'version'?: number;\n /**\n * Owner of the workflow execution\n */\n 'owner'?: string;\n /**\n * Initial state for the workflow execution\n */\n 'initialState': object;\n /**\n * Optional custom execution ID\n */\n 'executionId'?: string;\n}\nexport interface WorkflowExecutionResponse {\n 'workflowExecution': WorkflowExecutionDetails;\n}\nexport interface WorkflowExecutionSummariesResponse {\n 'workflowExecutions': Array<WorkflowExecutionSummary>;\n 'meta': Meta;\n}\nexport interface WorkflowExecutionSummary {\n /**\n * Unique identifier for the workflow execution\n */\n 'id': string;\n /**\n * ID of the workflow definition being executed\n */\n 'workflowDefinitionId': string;\n /**\n * Version of the workflow definition\n */\n 'workflowVersion': number;\n /**\n * Current status of the workflow execution\n */\n 'status': WorkflowExecutionSummaryStatusEnum;\n /**\n * Owner of the workflow execution\n */\n 'owner': string;\n /**\n * Timestamp when the workflow execution started\n */\n 'startTime': string;\n /**\n * Timestamp when the workflow execution ended (if completed or failed)\n */\n 'endTime'?: string;\n /**\n * ID of the currently executing task (if status is RUNNING)\n */\n 'currentTaskId'?: string;\n}\n\nexport const WorkflowExecutionSummaryStatusEnum = {\n Pending: 'PENDING',\n Running: 'RUNNING',\n Completed: 'COMPLETED',\n Failed: 'FAILED',\n Paused: 'PAUSED',\n Cancelled: 'CANCELLED'\n} as const;\n\nexport type WorkflowExecutionSummaryStatusEnum = typeof WorkflowExecutionSummaryStatusEnum[keyof typeof WorkflowExecutionSummaryStatusEnum];\n\n\n/**\n * WorkflowDefinitionsApi - axios parameter creator\n */\nexport const WorkflowDefinitionsApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * Creates a new workflow definition with tasks and their dependencies\n * @summary Create a new workflow definition\n * @param {NewWorkflowDefinition} newWorkflowDefinition Workflow definition to create\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createWorkflowDefinition: async (newWorkflowDefinition: NewWorkflowDefinition, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'newWorkflowDefinition' is not null or undefined\n assertParamExists('createWorkflowDefinition', 'newWorkflowDefinition', newWorkflowDefinition)\n const localVarPath = `/v2/definitions`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication bearerAuth required\n // http bearer authentication required\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\n\n localVarHeaderParameter['Content-Type'] = 'application/json';\n localVarHeaderParameter['Accept'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(newWorkflowDefinition, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Deletes a workflow definition by its ID\n * @summary Delete a workflow definition\n * @param {string} workflowDefinitionId ID of the workflow definition\n * @param {string} [xFrankieRequestID] Request ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n deleteWorkflowDefinition: async (workflowDefinitionId: string, xFrankieRequestID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'workflowDefinitionId' is not null or undefined\n assertParamExists('deleteWorkflowDefinition', 'workflowDefinitionId', workflowDefinitionId)\n const localVarPath = `/v2/definitions/{workflowDefinitionId}`\n .replace(`{${\"workflowDefinitionId\"}}`, encodeURIComponent(String(workflowDefinitionId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication bearerAuth required\n // http bearer authentication required\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\n\n localVarHeaderParameter['Accept'] = 'application/json';\n\n if (xFrankieRequestID != null) {\n localVarHeaderParameter['X-Frankie-RequestID'] = String(xFrankieRequestID);\n }\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Returns a workflow definition by its ID\n * @summary Get a workflow definition by ID\n * @param {string} workflowDefinitionId ID of the workflow definition\n * @param {string} [xFrankieRequestID] Request ID\n * @param {number} [version] Version of the workflow definition to retrieve. If not provided, the latest version will be returned.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getWorkflowDefinition: async (workflowDefinitionId: string, xFrankieRequestID?: string, version?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'workflowDefinitionId' is not null or undefined\n assertParamExists('getWorkflowDefinition', 'workflowDefinitionId', workflowDefinitionId)\n const localVarPath = `/v2/definitions/{workflowDefinitionId}`\n .replace(`{${\"workflowDefinitionId\"}}`, encodeURIComponent(String(workflowDefinitionId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication bearerAuth required\n // http bearer authentication required\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\n\n if (version !== undefined) {\n localVarQueryParameter['version'] = version;\n }\n\n localVarHeaderParameter['Accept'] = 'application/json';\n\n if (xFrankieRequestID != null) {\n localVarHeaderParameter['X-Frankie-RequestID'] = String(xFrankieRequestID);\n }\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Returns a list of all workflow definitions\n * @summary List all workflow definitions\n * @param {string} [xFrankieRequestID] Request ID\n * @param {boolean} [isTemplate] Include template workflow definitions in the response\n * @param {string} [owner] Filter workflow definitions by owner\n * @param {number} [page] Page number to retrieve (1-based)\n * @param {number} [limit] Number of items per page (page size)\n * @param {boolean} [isDraft] Include draft workflow definitions in the response\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listWorkflowDefinitions: async (xFrankieRequestID?: string, isTemplate?: boolean, owner?: string, page?: number, limit?: number, isDraft?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/v2/definitions`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication bearerAuth required\n // http bearer authentication required\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\n\n if (isTemplate !== undefined) {\n localVarQueryParameter['isTemplate'] = isTemplate;\n }\n\n if (owner !== undefined) {\n localVarQueryParameter['owner'] = owner;\n }\n\n if (page !== undefined) {\n localVarQueryParameter['page'] = page;\n }\n\n if (limit !== undefined) {\n localVarQueryParameter['limit'] = limit;\n }\n\n if (isDraft !== undefined) {\n localVarQueryParameter['isDraft'] = isDraft;\n }\n\n localVarHeaderParameter['Accept'] = 'application/json';\n\n if (xFrankieRequestID != null) {\n localVarHeaderParameter['X-Frankie-RequestID'] = String(xFrankieRequestID);\n }\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Updates an existing workflow definition\n * @summary Update a workflow definition\n * @param {string} workflowDefinitionId ID of the workflow definition\n * @param {WorkflowDefinition} workflowDefinition \n * @param {string} [xFrankieRequestID] Request ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n updateWorkflowDefinition: async (workflowDefinitionId: string, workflowDefinition: WorkflowDefinition, xFrankieRequestID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'workflowDefinitionId' is not null or undefined\n assertParamExists('updateWorkflowDefinition', 'workflowDefinitionId', workflowDefinitionId)\n // verify required parameter 'workflowDefinition' is not null or undefined\n assertParamExists('updateWorkflowDefinition', 'workflowDefinition', workflowDefinition)\n const localVarPath = `/v2/definitions/{workflowDefinitionId}`\n .replace(`{${\"workflowDefinitionId\"}}`, encodeURIComponent(String(workflowDefinitionId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication bearerAuth required\n // http bearer authentication required\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\n\n localVarHeaderParameter['Content-Type'] = 'application/json';\n localVarHeaderParameter['Accept'] = 'application/json';\n\n if (xFrankieRequestID != null) {\n localVarHeaderParameter['X-Frankie-RequestID'] = String(xFrankieRequestID);\n }\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(workflowDefinition, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * WorkflowDefinitionsApi - functional programming interface\n */\nexport const WorkflowDefinitionsApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = WorkflowDefinitionsApiAxiosParamCreator(configuration)\n return {\n /**\n * Creates a new workflow definition with tasks and their dependencies\n * @summary Create a new workflow definition\n * @param {NewWorkflowDefinition} newWorkflowDefinition Workflow definition to create\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async createWorkflowDefinition(newWorkflowDefinition: NewWorkflowDefinition, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkflowDefinitionResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.createWorkflowDefinition(newWorkflowDefinition, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['WorkflowDefinitionsApi.createWorkflowDefinition']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Deletes a workflow definition by its ID\n * @summary Delete a workflow definition\n * @param {string} workflowDefinitionId ID of the workflow definition\n * @param {string} [xFrankieRequestID] Request ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async deleteWorkflowDefinition(workflowDefinitionId: string, xFrankieRequestID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.deleteWorkflowDefinition(workflowDefinitionId, xFrankieRequestID, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['WorkflowDefinitionsApi.deleteWorkflowDefinition']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Returns a workflow definition by its ID\n * @summary Get a workflow definition by ID\n * @param {string} workflowDefinitionId ID of the workflow definition\n * @param {string} [xFrankieRequestID] Request ID\n * @param {number} [version] Version of the workflow definition to retrieve. If not provided, the latest version will be returned.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getWorkflowDefinition(workflowDefinitionId: string, xFrankieRequestID?: string, version?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkflowDefinitionResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getWorkflowDefinition(workflowDefinitionId, xFrankieRequestID, version, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['WorkflowDefinitionsApi.getWorkflowDefinition']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Returns a list of all workflow definitions\n * @summary List all workflow definitions\n * @param {string} [xFrankieRequestID] Request ID\n * @param {boolean} [isTemplate] Include template workflow definitions in the response\n * @param {string} [owner] Filter workflow definitions by owner\n * @param {number} [page] Page number to retrieve (1-based)\n * @param {number} [limit] Number of items per page (page size)\n * @param {boolean} [isDraft] Include draft workflow definitions in the response\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async listWorkflowDefinitions(xFrankieRequestID?: string, isTemplate?: boolean, owner?: string, page?: number, limit?: number, isDraft?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DefinitionSummariesResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.listWorkflowDefinitions(xFrankieRequestID, isTemplate, owner, page, limit, isDraft, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['WorkflowDefinitionsApi.listWorkflowDefinitions']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Updates an existing workflow definition\n * @summary Update a workflow definition\n * @param {string} workflowDefinitionId ID of the workflow definition\n * @param {WorkflowDefinition} workflowDefinition \n * @param {string} [xFrankieRequestID] Request ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async updateWorkflowDefinition(workflowDefinitionId: string, workflowDefinition: WorkflowDefinition, xFrankieRequestID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkflowDefinitionResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.updateWorkflowDefinition(workflowDefinitionId, workflowDefinition, xFrankieRequestID, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['WorkflowDefinitionsApi.updateWorkflowDefinition']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * WorkflowDefinitionsApi - factory interface\n */\nexport const WorkflowDefinitionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = WorkflowDefinitionsApiFp(configuration)\n return {\n /**\n * Creates a new workflow definition with tasks and their dependencies\n * @summary Create a new workflow definition\n * @param {NewWorkflowDefinition} newWorkflowDefinition Workflow definition to create\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createWorkflowDefinition(newWorkflowDefinition: NewWorkflowDefinition, options?: RawAxiosRequestConfig): AxiosPromise<WorkflowDefinitionResponse> {\n return localVarFp.createWorkflowDefinition(newWorkflowDefinition, options).then((request) => request(axios, basePath));\n },\n /**\n * Deletes a workflow definition by its ID\n * @summary Delete a workflow definition\n * @param {string} workflowDefinitionId ID of the workflow definition\n * @param {string} [xFrankieRequestID] Request ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n deleteWorkflowDefinition(workflowDefinitionId: string, xFrankieRequestID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {\n return localVarFp.deleteWorkflowDefinition(workflowDefinitionId, xFrankieRequestID, options).then((request) => request(axios, basePath));\n },\n /**\n * Returns a workflow definition by its ID\n * @summary Get a workflow definition by ID\n * @param {string} workflowDefinitionId ID of the workflow definition\n * @param {string} [xFrankieRequestID] Request ID\n * @param {number} [version] Version of the workflow definition to retrieve. If not provided, the latest version will be returned.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getWorkflowDefinition(workflowDefinitionId: string, xFrankieRequestID?: string, version?: number, options?: RawAxiosRequestConfig): AxiosPromise<WorkflowDefinitionResponse> {\n return localVarFp.getWorkflowDefinition(workflowDefinitionId, xFrankieRequestID, version, options).then((request) => request(axios, basePath));\n },\n /**\n * Returns a list of all workflow definitions\n * @summary List all workflow definitions\n * @param {string} [xFrankieRequestID] Request ID\n * @param {boolean} [isTemplate] Include template workflow definitions in the response\n * @param {string} [owner] Filter workflow definitions by owner\n * @param {number} [page] Page number to retrieve (1-based)\n * @param {number} [limit] Number of items per page (page size)\n * @param {boolean} [isDraft] Include draft workflow definitions in the response\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listWorkflowDefinitions(xFrankieRequestID?: string, isTemplate?: boolean, owner?: string, page?: number, limit?: number, isDraft?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<DefinitionSummariesResponse> {\n return localVarFp.listWorkflowDefinitions(xFrankieRequestID, isTemplate, owner, page, limit, isDraft, options).then((request) => request(axios, basePath));\n },\n /**\n * Updates an existing workflow definition\n * @summary Update a workflow definition\n * @param {string} workflowDefinitionId ID of the workflow definition\n * @param {WorkflowDefinition} workflowDefinition \n * @param {string} [xFrankieRequestID] Request ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n updateWorkflowDefinition(workflowDefinitionId: string, workflowDefinition: WorkflowDefinition, xFrankieRequestID?: string, options?: RawAxiosRequestConfig): AxiosPromise<WorkflowDefinitionResponse> {\n return localVarFp.updateWorkflowDefinition(workflowDefinitionId, workflowDefinition, xFrankieRequestID, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * WorkflowDefinitionsApi - object-oriented interface\n */\nexport class WorkflowDefinitionsApi extends BaseAPI {\n /**\n * Creates a new workflow definition with tasks and their dependencies\n * @summary Create a new workflow definition\n * @param {NewWorkflowDefinition} newWorkflowDefinition Workflow definition to create\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public createWorkflowDefinition(newWorkflowDefinition: NewWorkflowDefinition, options?: RawAxiosRequestConfig) {\n return WorkflowDefinitionsApiFp(this.configuration).createWorkflowDefinition(newWorkflowDefinition, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Deletes a workflow definition by its ID\n * @summary Delete a workflow definition\n * @param {string} workflowDefinitionId ID of the workflow definition\n * @param {string} [xFrankieRequestID] Request ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public deleteWorkflowDefinition(workflowDefinitionId: string, xFrankieRequestID?: string, options?: RawAxiosRequestConfig) {\n return WorkflowDefinitionsApiFp(this.configuration).deleteWorkflowDefinition(workflowDefinitionId, xFrankieRequestID, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Returns a workflow definition by its ID\n * @summary Get a workflow definition by ID\n * @param {string} workflowDefinitionId ID of the workflow definition\n * @param {string} [xFrankieRequestID] Request ID\n * @param {number} [version] Version of the workflow definition to retrieve. If not provided, the latest version will be returned.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public getWorkflowDefinition(workflowDefinitionId: string, xFrankieRequestID?: string, version?: number, options?: RawAxiosRequestConfig) {\n return WorkflowDefinitionsApiFp(this.configuration).getWorkflowDefinition(workflowDefinitionId, xFrankieRequestID, version, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Returns a list of all workflow definitions\n * @summary List all workflow definitions\n * @param {string} [xFrankieRequestID] Request ID\n * @param {boolean} [isTemplate] Include template workflow definitions in the response\n * @param {string} [owner] Filter workflow definitions by owner\n * @param {number} [page] Page number to retrieve (1-based)\n * @param {number} [limit] Number of items per page (page size)\n * @param {boolean} [isDraft] Include draft workflow definitions in the response\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public listWorkflowDefinitions(xFrankieRequestID?: string, isTemplate?: boolean, owner?: string, page?: number, limit?: number, isDraft?: boolean, options?: RawAxiosRequestConfig) {\n return WorkflowDefinitionsApiFp(this.configuration).listWorkflowDefinitions(xFrankieRequestID, isTemplate, owner, page, limit, isDraft, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Updates an existing workflow definition\n * @summary Update a workflow definition\n * @param {string} workflowDefinitionId ID of the workflow definition\n * @param {WorkflowDefinition} workflowDefinition \n * @param {string} [xFrankieRequestID] Request ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public updateWorkflowDefinition(workflowDefinitionId: string, workflowDefinition: WorkflowDefinition, xFrankieRequestID?: string, options?: RawAxiosRequestConfig) {\n return WorkflowDefinitionsApiFp(this.configuration).updateWorkflowDefinition(workflowDefinitionId, workflowDefinition, xFrankieRequestID, options).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n/**\n * WorkflowExecutionsApi - axios parameter creator\n */\nexport const WorkflowExecutionsApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * Cancels a running or paused workflow execution\n * @summary Cancel a workflow execution\n * @param {string} executionId ID of the workflow execution\n * @param {string} [xFrankieRequestID] Request ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n cancelWorkflowExecution: async (executionId: string, xFrankieRequestID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'executionId' is not null or undefined\n assertParamExists('cancelWorkflowExecution', 'executionId', executionId)\n const localVarPath = `/v2/executions/{executionId}/cancel`\n .replace(`{${\"executionId\"}}`, encodeURIComponent(String(executionId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication bearerAuth required\n // http bearer authentication required\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\n\n localVarHeaderParameter['Accept'] = 'application/json';\n\n if (xFrankieRequestID != null) {\n localVarHeaderParameter['X-Frankie-RequestID'] = String(xFrankieRequestID);\n }\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Starts execution of a workflow definition\n * @summary Create a new workflow execution\n * @param {WorkflowExecutionRequest} workflowExecutionRequest \n * @param {boolean} [xAsyncExecution] Set to true to execute the workflow asynchronously\n * @param {string} [xFrankieRequestID] Request ID\n * @param {string} [xFrankieCustomerID] FrankieOne Customer Identifier\n * @param {string} [xFrankieCustomerChildID] FrankieOne Customer Child Identifier\n * @param {string} [xFrankieChannel] Channel that the request is coming from\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createWorkflowExecution: async (workflowExecutionRequest: WorkflowExecutionRequest, xAsyncExecution?: boolean, xFrankieRequestID?: string, xFrankieCustomerID?: string, xFrankieCustomerChildID?: string, xFrankieChannel?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'workflowExecutionRequest' is not null or undefined\n assertParamExists('createWorkflowExecution', 'workflowExecutionRequest', workflowExecutionRequest)\n const localVarPath = `/v2/executions`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication bearerAuth required\n // http bearer authentication required\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\n\n localVarHeaderParameter['Content-Type'] = 'application/json';\n localVarHeaderParameter['Accept'] = 'application/json';\n\n if (xAsyncExecution != null) {\n localVarHeaderParameter['X-Async-Execution'] = typeof xAsyncExecution === 'string'\n ? xAsyncExecution\n : JSON.stringify(xAsyncExecution);\n }\n if (xFrankieRequestID != null) {\n localVarHeaderParameter['X-Frankie-RequestID'] = String(xFrankieRequestID);\n }\n if (xFrankieCustomerID != null) {\n localVarHeaderParameter['X-Frankie-CustomerID'] = String(xFrankieCustomerID);\n }\n if (xFrankieCustomerChildID != null) {\n localVarHeaderParameter['X-Frankie-CustomerChildID'] = String(xFrankieCustomerChildID);\n }\n if (xFrankieChannel != null) {\n localVarHeaderParameter['X-Frankie-Channel'] = String(xFrankieChannel);\n }\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(workflowExecutionRequest, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Returns a workflow execution by its ID\n * @summary Get a workflow execution by ID\n * @param {string} executionId ID of the workflow execution\n * @param {string} [xFrankieRequestID] Request ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getWorkflowExecution: async (executionId: string, xFrankieRequestID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'executionId' is not null or undefined\n assertParamExists('getWorkflowExecution', 'executionId', executionId)\n const localVarPath = `/v2/executions/{executionId}`\n .replace(`{${\"executionId\"}}`, encodeURIComponent(String(executionId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication bearerAuth required\n // http bearer authentication required\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\n\n localVarHeaderParameter['Accept'] = 'application/json';\n\n if (xFrankieRequestID != null) {\n localVarHeaderParameter['X-Frankie-RequestID'] = String(xFrankieRequestID);\n }\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Returns a paginated list of workflow executions. Pagination is applied by default.\n * @summary List workflow executions\n * @param {string} [xFrankieRequestID] Request ID\n * @param {string} [workflowDefinitionId] Filter by workflow definition ID\n * @param {string} [owner] Filter by workflow definition owner\n * @param {ListWorkflowExecutionsStatusEnum} [status] Filter by execution status\n * @param {number} [page] Page number to retrieve (1-based)\n * @param {number} [limit] Number of items per page (page size)\n * @param {string} [startTimeBefore] Filter by execution start time before a specific date and time\n * @param {string} [startTimeAfter] Filter by execution start time after a specific date and time\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listWorkflowExecutions: async (xFrankieRequestID?: string, workflowDefinitionId?: string, owner?: string, status?: ListWorkflowExecutionsStatusEnum, page?: number, limit?: number, startTimeBefore?: string, startTimeAfter?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/v2/executions`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication bearerAuth required\n // http bearer authentication required\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\n\n if (workflowDefinitionId !== undefined) {\n localVarQueryParameter['workflowDefinitionId'] = workflowDefinitionId;\n }\n\n if (owner !== undefined) {\n localVarQueryParameter['owner'] = owner;\n }\n\n if (status !== undefined) {\n localVarQueryParameter['status'] = status;\n }\n\n if (page !== undefined) {\n localVarQueryParameter['page'] = page;\n }\n\n if (limit !== undefined) {\n localVarQueryParameter['limit'] = limit;\n }\n\n if (startTimeBefore !== undefined) {\n localVarQueryParameter['startTimeBefore'] = (startTimeBefore as any instanceof Date) ?\n (startTimeBefore as any).toISOString() :\n startTimeBefore;\n }\n\n if (startTimeAfter !== undefined) {\n localVarQueryParameter['startTimeAfter'] = (startTimeAfter as any instanceof Date) ?\n (startTimeAfter as any).toISOString() :\n startTimeAfter;\n }\n\n localVarHeaderParameter['Accept'] = 'application/json';\n\n if (xFrankieRequestID != null) {\n localVarHeaderParameter['X-Frankie-RequestID'] = String(xFrankieRequestID);\n }\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Resumes a workflow execution that was paused\n * @summary Resume a paused workflow execution\n * @param {string} executionId ID of the workflow execution\n * @param {ResumeWorkflowExecution} resumeWorkflowExecution Resume data for the workflow execution\n * @param {string} [xFrankieRequestID] Request ID\n * @param {string} [xFrankieCustomerID] FrankieOne Customer Identifier\n * @param {string} [xFrankieCustomerChildID] FrankieOne Customer Child Identifier\n * @param {string} [xFrankieChannel] Channel that the request is coming from\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n resumeWorkflowExecution: async (executionId: string, resumeWorkflowExecution: ResumeWorkflowExecution, xFrankieRequestID?: string, xFrankieCustomerID?: string, xFrankieCustomerChildID?: string, xFrankieChannel?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'executionId' is not null or undefined\n assertParamExists('resumeWorkflowExecution', 'executionId', executionId)\n // verify required parameter 'resumeWorkflowExecution' is not null or undefined\n assertParamExists('resumeWorkflowExecution', 'resumeWorkflowExecution', resumeWorkflowExecution)\n const localVarPath = `/v2/executions/{executionId}/resume`\n .replace(`{${\"executionId\"}}`, encodeURIComponent(String(executionId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication bearerAuth required\n // http bearer authentication required\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\n\n localVarHeaderParameter['Content-Type'] = 'application/json';\n localVarHeaderParameter['Accept'] = 'application/json';\n\n if (xFrankieRequestID != null) {\n localVarHeaderParameter['X-Frankie-RequestID'] = String(xFrankieRequestID);\n }\n if (xFrankieCustomerID != null) {\n localVarHeaderParameter['X-Frankie-CustomerID'] = String(xFrankieCustomerID);\n }\n if (xFrankieCustomerChildID != null) {\n localVarHeaderParameter['X-Frankie-CustomerChildID'] = String(xFrankieCustomerChildID);\n }\n if (xFrankieChannel != null) {\n localVarHeaderParameter['X-Frankie-Channel'] = String(xFrankieChannel);\n }\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(resumeWorkflowExecution, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * WorkflowExecutionsApi - functional programming interface\n */\nexport const WorkflowExecutionsApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = WorkflowExecutionsApiAxiosParamCreator(configuration)\n return {\n /**\n * Cancels a running or paused workflow execution\n * @summary Cancel a workflow execution\n * @param {string} executionId ID of the workflow execution\n * @param {string} [xFrankieRequestID] Request ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async cancelWorkflowExecution(executionId: string, xFrankieRequestID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkflowExecutionResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.cancelWorkflowExecution(executionId, xFrankieRequestID, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['WorkflowExecutionsApi.cancelWorkflowExecution']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Starts execution of a workflow definition\n * @summary Create a new workflow execution\n * @param {WorkflowExecutionRequest} workflowExecutionRequest \n * @param {boolean} [xAsyncExecution] Set to true to execute the workflow asynchronously\n * @param {string} [xFrankieRequestID] Request ID\n * @param {string} [xFrankieCustomerID] FrankieOne Customer Identifier\n * @param {string} [xFrankieCustomerChildID] FrankieOne Customer Child Identifier\n * @param {string} [xFrankieChannel] Channel that the request is coming from\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async createWorkflowExecution(workflowExecutionRequest: WorkflowExecutionRequest, xAsyncExecution?: boolean, xFrankieRequestID?: string, xFrankieCustomerID?: string, xFrankieCustomerChildID?: string, xFrankieChannel?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkflowExecutionResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.createWorkflowExecution(workflowExecutionRequest, xAsyncExecution, xFrankieRequestID, xFrankieCustomerID, xFrankieCustomerChildID, xFrankieChannel, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['WorkflowExecutionsApi.createWorkflowExecution']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Returns a workflow execution by its ID\n * @summary Get a workflow execution by ID\n * @param {string} executionId ID of the workflow execution\n * @param {string} [xFrankieRequestID] Request ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getWorkflowExecution(executionId: string, xFrankieRequestID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkflowExecutionResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getWorkflowExecution(executionId, xFrankieRequestID, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['WorkflowExecutionsApi.getWorkflowExecution']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Returns a paginated list of workflow executions. Pagination is applied by default.\n * @summary List workflow executions\n * @param {string} [xFrankieRequestID] Request ID\n * @param {string} [workflowDefinitionId] Filter by workflow definition ID\n * @param {string} [owner] Filter by workflow definition owner\n * @param {ListWorkflowExecutionsStatusEnum} [status] Filter by execution status\n * @param {number} [page] Page number to retrieve (1-based)\n * @param {number} [limit] Number of items per page (page size)\n * @param {string} [startTimeBefore] Filter by execution start time before a specific date and time\n * @param {string} [startTimeAfter] Filter by execution start time after a specific date and time\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async listWorkflowExecutions(xFrankieRequestID?: string, workflowDefinitionId?: string, owner?: string, status?: ListWorkflowExecutionsStatusEnum, page?: number, limit?: number, startTimeBefore?: string, startTimeAfter?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkflowExecutionSummariesResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.listWorkflowExecutions(xFrankieRequestID, workflowDefinitionId, owner, status, page, limit, startTimeBefore, startTimeAfter, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['WorkflowExecutionsApi.listWorkflowExecutions']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Resumes a workflow execution that was paused\n * @summary Resume a paused workflow execution\n * @param {string} executionId ID of the workflow execution\n * @param {ResumeWorkflowExecution} resumeWorkflowExecution Resume data for the workflow execution\n * @param {string} [xFrankieRequestID] Request ID\n * @param {string} [xFrankieCustomerID] FrankieOne Customer Identifier\n * @param {string} [xFrankieCustomerChildID] FrankieOne Customer Child Identifier\n * @param {string} [xFrankieChannel] Channel that the request is coming from\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async resumeWorkflowExecution(executionId: string, resumeWorkflowExecution: ResumeWorkflowExecution, xFrankieRequestID?: string, xFrankieCustomerID?: string, xFrankieCustomerChildID?: string, xFrankieChannel?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkflowExecutionResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.resumeWorkflowExecution(executionId, resumeWorkflowExecution, xFrankieRequestID, xFrankieCustomerID, xFrankieCustomerChildID, xFrankieChannel, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['WorkflowExecutionsApi.resumeWorkflowExecution']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * WorkflowExecutionsApi - factory interface\n */\nexport const WorkflowExecutionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = WorkflowExecutionsApiFp(configuration)\n return {\n /**\n * Cancels a running or paused workflow execution\n * @summary Cancel a workflow execution\n * @param {string} executionId ID of the workflow execution\n * @param {string} [xFrankieRequestID] Request ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n cancelWorkflowExecution(executionId: string, xFrankieRequestID?: string, options?: RawAxiosRequestConfig): AxiosPromise<WorkflowExecutionResponse> {\n return localVarFp.cancelWorkflowExecution(executionId, xFrankieRequestID, options).then((request) => request(axios, basePath));\n },\n /**\n * Starts execution of a workflow definition\n * @summary Create a new workflow execution\n * @param {WorkflowExecutionRequest} workflowExecutionRequest \n * @param {boolean} [xAsyncExecution] Set to true to execute the workflow asynchronously\n * @param {string} [xFrankieRequestID] Request ID\n * @param {string} [xFrankieCustomerID] FrankieOne Customer Identifier\n * @param {string} [xFrankieCustomerChildID] FrankieOne Customer Child Identifier\n * @param {string} [xFrankieChannel] Channel that the request is coming from\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createWorkflowExecution(workflowExecutionRequest: WorkflowExecutionRequest, xAsyncExecution?: boolean, xFrankieRequestID?: string, xFrankieCustomerID?: string, xFrankieCustomerChildID?: string, xFrankieChannel?: string, options?: RawAxiosRequestConfig): AxiosPromise<WorkflowExecutionResponse> {\n return localVarFp.createWorkflowExecution(workflowExecutionRequest, xAsyncExecution, xFrankieRequestID, xFrankieCustomerID, xFrankieCustomerChildID, xFrankieChannel, options).then((request) => request(axios, basePath));\n },\n /**\n * Returns a workflow execution by its ID\n * @summary Get a workflow execution by ID\n * @param {string} executionId ID of the workflow execution\n * @param {string} [xFrankieRequestID] Request ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getWorkflowExecution(executionId: string, xFrankieRequestID?: string, options?: RawAxiosRequestConfig): AxiosPromise<WorkflowExecutionResponse> {\n return localVarFp.getWorkflowExecution(executionId, xFrankieRequestID, options).then((request) => request(axios, basePath));\n },\n /**\n * Returns a paginated list of workflow executions. Pagination is applied by default.\n * @summary List workflow executions\n * @param {string} [xFrankieRequestID] Request ID\n * @param {string} [workflowDefinitionId] Filter by workflow definition ID\n * @param {string} [owner] Filter by workflow definition owner\n * @param {ListWorkflowExecutionsStatusEnum} [status] Filter by execution status\n * @param {number} [page] Page number to retrieve (1-based)\n * @param {number} [limit] Number of items per page (page size)\n * @param {string} [startTimeBefore] Filter by execution start time before a specific date and time\n * @param {string} [startTimeAfter] Filter by execution start time after a specific date and time\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listWorkflowExecutions(xFrankieRequestID?: string, workflowDefinitionId?: string, owner?: string, status?: ListWorkflowExecutionsStatusEnum, page?: number, limit?: number, startTimeBefore?: string, startTimeAfter?: string, options?: RawAxiosRequestConfig): AxiosPromise<WorkflowExecutionSummariesResponse> {\n return localVarFp.listWorkflowExecutions(xFrankieRequestID, workflowDefinitionId, owner, status, page, limit, startTimeBefore, startTimeAfter, options).then((request) => request(axios, basePath));\n },\n /**\n * Resumes a workflow execution that was paused\n * @summary Resume a paused workflow execution\n * @param {string} executionId ID of the workflow execution\n * @param {ResumeWorkflowExecution} resumeWorkflowExecution Resume data for the workflow execution\n * @param {string} [xFrankieRequestID] Request ID\n * @param {string} [xFrankieCustomerID] FrankieOne Customer Identifier\n * @param {string} [xFrankieCustomerChildID] FrankieOne Customer Child Identifier\n * @param {string} [xFrankieChannel] Channel that the request is coming from\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n resumeWorkflowExecution(executionId: string, resumeWorkflowExecution: ResumeWorkflowExecution, xFrankieRequestID?: string, xFrankieCustomerID?: string, xFrankieCustomerChildID?: string, xFrankieChannel?: string, options?: RawAxiosRequestConfig): AxiosPromise<WorkflowExecutionResponse> {\n return localVarFp.resumeWorkflowExecution(executionId, resumeWorkflowExecution, xFrankieRequestID, xFrankieCustomerID, xFrankieCustomerChildID, xFrankieChannel, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * WorkflowExecutionsApi - object-oriented interface\n */\nexport class WorkflowExecutionsApi extends BaseAPI {\n /**\n * Cancels a running or paused workflow execution\n * @summary Cancel a workflow execution\n * @param {string} executionId ID of the workflow execution\n * @param {string} [xFrankieRequestID] Request ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public cancelWorkflowExecution(executionId: string, xFrankieRequestID?: string, options?: RawAxiosRequestConfig) {\n return WorkflowExecutionsApiFp(this.configuration).cancelWorkflowExecution(executionId, xFrankieRequestID, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Starts execution of a workflow definition\n * @summary Create a new workflow execution\n * @param {WorkflowExecutionRequest} workflowExecutionRequest \n * @param {boolean} [xAsyncExecution] Set to true to execute the workflow asynchronously\n * @param {string} [xFrankieRequestID] Request ID\n * @param {string} [xFrankieCustomerID] FrankieOne Customer Identifier\n * @param {string} [xFrankieCustomerChildID] FrankieOne Customer Child Identifier\n * @param {string} [xFrankieChannel] Channel that the request is coming from\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public createWorkflowExecution(workflowExecutionRequest: WorkflowExecutionRequest, xAsyncExecution?: boolean, xFrankieRequestID?: string, xFrankieCustomerID?: string, xFrankieCustomerChildID?: string, xFrankieChannel?: string, options?: RawAxiosRequestConfig) {\n return WorkflowExecutionsApiFp(this.configuration).createWorkflowExecution(workflowExecutionRequest, xAsyncExecution, xFrankieRequestID, xFrankieCustomerID, xFrankieCustomerChildID, xFrankieChannel, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Returns a workflow execution by its ID\n * @summary Get a workflow execution by ID\n * @param {string} executionId ID of the workflow execution\n * @param {string} [xFrankieRequestID] Request ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public getWorkflowExecution(executionId: string, xFrankieRequestID?: string, options?: RawAxiosRequestConfig) {\n return WorkflowExecutionsApiFp(this.configuration).getWorkflowExecution(executionId, xFrankieRequestID, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Returns a paginated list of workflow executions. Pagination is applied by default.\n * @summary List workflow executions\n * @param {string} [xFrankieRequestID] Request ID\n * @param {string} [workflowDefinitionId] Filter by workflow definition ID\n * @param {string} [owner] Filter by workflow definition owner\n * @param {ListWorkflowExecutionsStatusEnum} [status] Filter by execution status\n * @param {number} [page] Page number to retrieve (1-based)\n * @param {number} [limit] Number of items per page (page size)\n * @param {string} [startTimeBefore] Filter by execution start time before a specific date and time\n * @param {string} [startTimeAfter] Filter by execution start time after a specific date and time\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public listWorkflowExecutions(xFrankieRequestID?: string, workflowDefinitionId?: string, owner?: string, status?: ListWorkflowExecutionsStatusEnum, page?: number, limit?: number, startTimeBefore?: string, startTimeAfter?: string, options?: RawAxiosRequestConfig) {\n return WorkflowExecutionsApiFp(this.configuration).listWorkflowExecutions(xFrankieRequestID, workflowDefinitionId, owner, status, page, limit, startTimeBefore, startTimeAfter, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Resumes a workflow execution that was paused\n * @summary Resume a paused workflow execution\n * @param {string} executionId ID of the workflow execution\n * @param {ResumeWorkflowExecution} resumeWorkflowExecution Resume data for the workflow execution\n * @param {string} [xFrankieRequestID] Request ID\n * @param {string} [xFrankieCustomerID] FrankieOne Customer Identifier\n * @param {string} [xFrankieCustomerChildID] FrankieOne Customer Child Identifier\n * @param {string} [xFrankieChannel] Channel that the request is coming from\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public resumeWorkflowExecution(executionId: string, resumeWorkflowExecution: ResumeWorkflowExecution, xFrankieRequestID?: string, xFrankieCustomerID?: string, xFrankieCustomerChildID?: string, xFrankieChannel?: string, options?: RawAxiosRequestConfig) {\n return WorkflowExecutionsApiFp(this.configuration).resumeWorkflowExecution(executionId, resumeWorkflowExecution, xFrankieRequestID, xFrankieCustomerID, xFrankieCustomerChildID, xFrankieChannel, options).then((request) => request(this.axios, this.basePath));\n }\n}\n\nexport const ListWorkflowExecutionsStatusEnum = {\n Pending: 'PENDING',\n Running: 'RUNNING',\n Completed: 'COMPLETED',\n Failed: 'FAILED',\n Paused: 'PAUSED',\n Cancelled: 'CANCELLED'\n} as const;\nexport type ListWorkflowExecutionsStatusEnum = typeof ListWorkflowExecutionsStatusEnum[keyof typeof ListWorkflowExecutionsStatusEnum];\n\n\n","/* tslint:disable */\n/**\n * Workflow Engine API\n * API for creating and managing workflow definitions and executions\n *\n * The version of the OpenAPI document: 2.0.0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\ninterface AWSv4Configuration {\n options?: {\n region?: string\n service?: string\n }\n credentials?: {\n accessKeyId?: string\n secretAccessKey?: string,\n sessionToken?: string\n }\n}\n\nexport interface ConfigurationParameters {\n apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);\n username?: string;\n password?: string;\n accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);\n awsv4?: AWSv4Configuration;\n basePath?: string;\n serverIndex?: number;\n baseOptions?: any;\n formDataCtor?: new () => any;\n}\n\nexport class Configuration {\n /**\n * parameter for apiKey security\n * @param name security name\n */\n apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);\n /**\n * parameter for basic security\n */\n username?: string;\n /**\n * parameter for basic security\n */\n password?: string;\n /**\n * parameter for oauth2 security\n * @param name security name\n * @param scopes oauth2 scope\n */\n accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);\n /**\n * parameter for aws4 signature security\n * @param {Object} AWS4Signature - AWS4 Signature security\n * @param {string} options.region - aws region\n * @param {string} options.service - name of the service.\n * @param {string} credentials.accessKeyId - aws access key id\n * @param {string} credentials.secretAccessKey - aws access key\n * @param {string} credentials.sessionToken - aws session token\n * @memberof Configuration\n */\n awsv4?: AWSv4Configuration;\n /**\n * override base path\n */\n basePath?: string;\n /**\n * override server index\n */\n serverIndex?: number;\n /**\n * base options for axios calls\n */\n baseOptions?: any;\n /**\n * The FormData constructor that will be used to create multipart form data\n * requests. You can inject this here so that execution environments that\n * do not support the FormData class can still run the generated client.\n *\n * @type {new () => FormData}\n */\n formDataCtor?: new () => any;\n\n constructor(param: ConfigurationParameters = {}) {\n this.apiKey = param.apiKey;\n this.username = param.username;\n this.password = param.password;\n this.accessToken = param.accessToken;\n this.awsv4 = param.awsv4;\n this.basePath = param.basePath;\n this.serverIndex = param.serverIndex;\n this.baseOptions = {\n ...param.baseOptions,\n headers: {\n ...param.baseOptions?.headers,\n },\n };\n this.formDataCtor = param.formDataCtor;\n }\n\n /**\n * Check if the given MIME is a JSON MIME.\n * JSON MIME examples:\n * application/json\n * application/json; charset=UTF8\n * APPLICATION/JSON\n * application/vnd.company+json\n * @param mime - MIME (Multipurpose Internet Mail Extensions)\n * @return True if the given MIME is JSON, false otherwise.\n */\n public isJsonMime(mime: string): boolean {\n const jsonMime: RegExp = new RegExp('^(application\\/json|[^;/ \\t]+\\/[^;/ \\t]+[+]json)[ \\t]*(;.*)?$', 'i');\n return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');\n }\n}\n"],"names":["BASE_PATH","BaseAPI","configuration","basePath","axios","globalAxios","RequiredError","field","msg","operationServerMap","DUMMY_BASE_URL","assertParamExists","functionName","paramName","paramValue","setBearerAuthToObject","object","accessToken","setFlattenedQueryParams","urlSearchParams","parameter","key","item","currentKey","setSearchParams","url","objects","searchParams","serializeDataIfNeeded","value","requestOptions","nonString","toPathString","createRequestFunction","axiosArgs","axiosRequestArgs","AgentTaskConfigAgentTypeEnum","BaseTaskConfigType","BranchTaskExpressionBaseType","BranchTaskExpressionSimpleOperatorEnum","FormFieldTextblockAlignmentEnum","FormFieldType","FormType","HttpTaskConfigMethod","LogTaskConfigLevel","NotificationTaskConfigNotificationTypeEnum","NotificationTaskConfigBodyTypeEnum","RunWorkflowTaskConfigEntityTypeEnum","TaskExecutionDetailsStatus","WorkflowDefinitionVariableTypeEnum","WorkflowExecutionDetailsStatusEnum","WorkflowExecutionSummaryStatusEnum","WorkflowDefinitionsApiAxiosParamCreator","newWorkflowDefinition","options","localVarPath","localVarUrlObj","baseOptions","localVarRequestOptions","localVarHeaderParameter","localVarQueryParameter","headersFromBaseOptions","workflowDefinitionId","xFrankieRequestID","version","isTemplate","owner","page","limit","isDraft","workflowDefinition","WorkflowDefinitionsApiFp","localVarAxiosParamCreator","localVarAxiosArgs","localVarOperationServerIndex","localVarOperationServerBasePath","WorkflowDefinitionsApiFactory","localVarFp","request","WorkflowDefinitionsApi","WorkflowExecutionsApiAxiosParamCreator","executionId","workflowExecutionRequest","xAsyncExecution","xFrankieCustomerID","xFrankieCustomerChildID","xFrankieChannel","status","startTimeBefore","startTimeAfter","resumeWorkflowExecution","WorkflowExecutionsApiFp","WorkflowExecutionsApiFactory","WorkflowExecutionsApi","ListWorkflowExecutionsStatusEnum","Configuration","param","mime","jsonMime"],"mappings":"yGAqBaA,EAAY,wBAAwB,QAAQ,OAAQ,EAAE,EAc5D,MAAMC,CAAQ,CAGjB,YAAYC,EAAyCC,EAAmBH,EAAqBI,EAAuBC,EAAa,CAA5E,KAAA,SAAAF,EAAwC,KAAA,MAAAC,EACrFF,IACA,KAAK,cAAgBA,EACrB,KAAK,SAAWA,EAAc,UAAYC,EAElD,CAPU,aAQd,CAEO,MAAMG,UAAsB,KAAM,CACrC,YAAmBC,EAAeC,EAAc,CAC5C,MAAMA,CAAG,EADM,KAAA,MAAAD,EAEf,KAAK,KAAO,eAChB,CACJ,CASO,MAAME,EAAgC,CAAA,ECzChCC,EAAiB,sBAMjBC,EAAoB,SAAUC,EAAsBC,EAAmBC,EAAqB,CACrG,GAAIA,GAAe,KACf,MAAM,IAAIR,EAAcO,EAAW,sBAAsBA,CAAS,uCAAuCD,CAAY,GAAG,CAEhI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