@action-intelligence/cli 0.3.2 → 0.3.3
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/action.mjs +3 -3
- package/bin/darwin-arm64/action-api +0 -0
- package/bin/darwin-x64/action-api +0 -0
- package/bin/linux-arm64/action-api +0 -0
- package/bin/linux-arm64/dependencies.json +29 -29
- package/bin/linux-x64/action-api +0 -0
- package/bin/linux-x64/dependencies.json +20 -20
- package/bin/windows-arm64/action-api.exe +0 -0
- package/bin/windows-x64/action-api.exe +0 -0
- package/package.json +1 -1
package/action.mjs
CHANGED
|
@@ -31,7 +31,7 @@ Expecting one of '${r.join("', '")}'`);let n=`${e}Help`;return this.on(n,(a)=>{l
|
|
|
31
31
|
|| ${o} === "boolean" || ${a} === null`).assign(s,C._`[${a}]`)}}}function Ib({gen:e,parentData:t,parentDataProperty:r},n){e.if(C._`${t} !== undefined`,()=>e.assign(C._`${t}[${r}]`,n))}function Zo(e,t,r,n=Sr.Correct){let a=n===Sr.Correct?C.operators.EQ:C.operators.NEQ,i;switch(e){case"null":return C._`${t} ${a} null`;case"array":i=C._`Array.isArray(${t})`;break;case"object":i=C._`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":i=o(C._`!(${t} % 1) && !isNaN(${t})`);break;case"number":i=o();break;default:return C._`typeof ${t} ${a} ${e}`}return n===Sr.Correct?i:C.not(i);function o(s=C.nil){return C.and(C._`typeof ${t} == "number"`,s,r?C._`isFinite(${t})`:C.nil)}}Gl.checkDataType=Zo;function Go(e,t,r,n){if(e.length===1)return Zo(e[0],t,r,n);let a,i=Oa.toHash(e);if(i.array&&i.object){let o=C._`typeof ${t} != "object"`;a=i.null?o:C._`!${t} || ${o}`,delete i.null,delete i.array,delete i.object}else a=C.nil;if(i.number)delete i.integer;for(let o in i)a=C.and(a,Zo(o,t,r,n));return a}Gl.checkDataTypes=Go;var qb={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>typeof e=="string"?C._`{type: ${e}}`:C._`{type: ${t}}`};function Ko(e){let t=wb(e);Ul.reportError(t,qb)}Gl.reportTypeError=Ko;function wb(e){let{gen:t,data:r,schema:n}=e,a=Oa.schemaRefOrVal(e,n,"type");return{gen:t,keyword:"type",data:r,schema:n.type,schemaCode:a,schemaValue:a,parentSchema:n,params:{},it:e}}});var eu=w(function(Yl){Object.defineProperty(Yl,"__esModule",{value:!0});Yl.assignDefaults=void 0;var Ne=X(),Jl=D();function xb(e,t){let{properties:r,items:n}=e.schema;if(t==="object"&&r)for(let a in r)Hl(e,a,r[a].default);else if(t==="array"&&Array.isArray(n))n.forEach((a,i)=>Hl(e,i,a.default))}Yl.assignDefaults=xb;function Hl(e,t,r){let{gen:n,compositeRule:a,data:i,opts:o}=e;if(r===void 0)return;let s=Ne._`${i}${Ne.getProperty(t)}`;if(a){Jl.checkStrictMode(e,`default is ignored for: ${s}`);return}let d=Ne._`${s} === undefined`;if(o.useDefaults==="empty")d=Ne._`${d} || ${s} === null || ${s} === ""`;n.if(d,Ne._`${s} = ${Ne.stringify(r)}`)}});var We=w(function(au){Object.defineProperty(au,"__esModule",{value:!0});au.validateUnion=au.validateArray=au.usePattern=au.callValidateCode=au.schemaProperties=au.allSchemaProperties=au.noPropertyInData=au.propertyInData=au.isOwnProperty=au.hasPropFunc=au.reportMissingProp=au.checkMissingProp=au.checkReportMissingProp=void 0;var E=X(),Rr=D(),St=Xe(),tu=D();function Pb(e,t){let{gen:r,data:n,it:a}=e;r.if(Jo(r,n,t,a.opts.ownProperties),()=>{e.setParams({missingProperty:E._`${t}`},!0),e.error()})}au.checkReportMissingProp=Pb;function Lb({gen:e,data:t,it:{opts:r}},n,a){return E.or(...n.map((i)=>E.and(Jo(e,t,i,r.ownProperties),E._`${a} = ${i}`)))}au.checkMissingProp=Lb;function $b(e,t){e.setParams({missingProperty:t},!0),e.error()}au.reportMissingProp=$b;function ru(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:E._`Object.prototype.hasOwnProperty`})}au.hasPropFunc=ru;function Ho(e,t,r){return E._`${ru(e)}.call(${t}, ${r})`}au.isOwnProperty=Ho;function Sb(e,t,r,n){let a=E._`${t}${E.getProperty(r)} !== undefined`;return n?E._`${a} && ${Ho(e,t,r)}`:a}au.propertyInData=Sb;function Jo(e,t,r,n){let a=E._`${t}${E.getProperty(r)} === undefined`;return n?E.or(a,E.not(Ho(e,t,r))):a}au.noPropertyInData=Jo;function nu(e){return e?Object.keys(e).filter((t)=>t!=="__proto__"):[]}au.allSchemaProperties=nu;function Rb(e,t){return nu(t).filter((r)=>!Rr.alwaysValidSchema(e,t[r]))}au.schemaProperties=Rb;function Ob({schemaCode:e,data:t,it:{gen:r,topSchemaRef:n,schemaPath:a,errorPath:i},it:o},s,d,c){let l=c?E._`${e}, ${t}, ${n}${a}`:t,u=[[St.default.instancePath,E.strConcat(St.default.instancePath,i)],[St.default.parentData,o.parentData],[St.default.parentDataProperty,o.parentDataProperty],[St.default.rootData,St.default.rootData]];if(o.opts.dynamicRef)u.push([St.default.dynamicAnchors,St.default.dynamicAnchors]);let m=E._`${l}, ${r.object(...u)}`;return d!==E.nil?E._`${s}.call(${d}, ${m})`:E._`${s}(${m})`}au.callValidateCode=Ob;var zb=E._`new RegExp`;function jb({gen:e,it:{opts:t}},r){let n=t.unicodeRegExp?"u":"",{regExp:a}=t.code,i=a(r,n);return e.scopeValue("pattern",{key:i.toString(),ref:i,code:E._`${a.code==="new RegExp"?zb:tu.useFunc(e,a)}(${r}, ${n})`})}au.usePattern=jb;function Eb(e){let{gen:t,data:r,keyword:n,it:a}=e,i=t.name("valid");if(a.allErrors){let s=t.let("valid",!0);return o(()=>t.assign(s,!1)),s}return t.var(i,!0),o(()=>t.break()),i;function o(s){let d=t.const("len",E._`${r}.length`);t.forRange("i",0,d,(c)=>{e.subschema({keyword:n,dataProp:c,dataPropType:Rr.Type.Num},i),t.if(E.not(i),s)})}}au.validateArray=Eb;function Tb(e){let{gen:t,schema:r,keyword:n,it:a}=e;if(!Array.isArray(r))throw Error("ajv implementation error");if(r.some((d)=>Rr.alwaysValidSchema(a,d))&&!a.opts.unevaluated)return;let o=t.let("valid",!1),s=t.name("_valid");t.block(()=>r.forEach((d,c)=>{let l=e.subschema({keyword:n,schemaProp:c,compositeRule:!0},s);if(t.assign(o,E._`${o} || ${s}`),!e.mergeValidEvaluated(l,s))t.if(E.not(o))})),e.result(o,()=>e.reset(),()=>e.error(!0))}au.validateUnion=Tb});var pu=w(function(lu){Object.defineProperty(lu,"__esModule",{value:!0});lu.validateKeywordUsage=lu.validSchemaType=lu.funcKeywordCode=lu.macroKeywordCode=void 0;var U=X(),sr=Xe(),su=We(),du=Cn();function Hb(e,t){let{gen:r,keyword:n,schema:a,parentSchema:i,it:o}=e,s=t.macro.call(o.self,a,i,o),d=cu(r,n,s);if(o.opts.validateSchema!==!1)o.self.validateSchema(s,!0);let c=r.name("valid");e.subschema({schema:s,schemaPath:U.nil,errSchemaPath:`${o.errSchemaPath}/${n}`,topSchemaRef:d,compositeRule:!0},c),e.pass(c,()=>e.error(!0))}lu.macroKeywordCode=Hb;function Jb(e,t){var r;let{gen:n,keyword:a,schema:i,parentSchema:o,$data:s,it:d}=e;Qb(d,t);let c=!s&&t.compile?t.compile.call(d.self,i,o,d):t.validate,l=cu(n,a,c),u=n.let("valid");e.block$data(u,m),e.ok((r=t.valid)!==null&&r!==void 0?r:u);function m(){if(t.errors===!1){if(p(),t.modifying)ou(e);g(()=>e.error())}else{let y=t.async?h():f();if(t.modifying)ou(e);g(()=>Yb(e,y))}}function h(){let y=n.let("ruleErrs",null);return n.try(()=>p(U._`await `),(b)=>n.assign(u,!1).if(U._`${b} instanceof ${d.ValidationError}`,()=>n.assign(y,U._`${b}.errors`),()=>n.throw(b))),y}function f(){let y=U._`${l}.errors`;return n.assign(y,null),p(U.nil),y}function p(y=t.async?U._`await `:U.nil){let b=d.opts.passContext?sr.default.this:sr.default.self,q=!(("compile"in t)&&!s||t.schema===!1);n.assign(u,U._`${y}${su.callValidateCode(e,l,b,q)}`,t.modifying)}function g(y){var b;n.if(U.not((b=t.valid)!==null&&b!==void 0?b:u),y)}}lu.funcKeywordCode=Jb;function ou(e){let{gen:t,data:r,it:n}=e;t.if(n.parentData,()=>t.assign(r,U._`${n.parentData}[${n.parentDataProperty}]`))}function Yb(e,t){let{gen:r}=e;r.if(U._`Array.isArray(${t})`,()=>{r.assign(sr.default.vErrors,U._`${sr.default.vErrors} === null ? ${t} : ${sr.default.vErrors}.concat(${t})`).assign(sr.default.errors,U._`${sr.default.vErrors}.length`),du.extendErrors(e)},()=>e.error())}function Qb({schemaEnv:e},t){if(t.async&&!e.$async)throw Error("async keyword in sync schema")}function cu(e,t,r){if(r===void 0)throw Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword",typeof r=="function"?{ref:r}:{ref:r,code:U.stringify(r)})}function ev(e,t,r=!1){return!t.length||t.some((n)=>n==="array"?Array.isArray(e):n==="object"?e&&typeof e=="object"&&!Array.isArray(e):typeof e==n||r&&typeof e>"u")}lu.validSchemaType=ev;function tv({schema:e,opts:t,self:r,errSchemaPath:n},a,i){if(Array.isArray(a.keyword)?!a.keyword.includes(i):a.keyword!==i)throw Error("ajv implementation error");let o=a.dependencies;if(o===null||o===void 0?void 0:o.some((s)=>!Object.prototype.hasOwnProperty.call(e,s)))throw Error(`parent schema must have dependencies of ${i}: ${o.join(",")}`);if(a.validateSchema){if(!a.validateSchema(e[i])){let d=`keyword "${i}" value is invalid at path "${n}": `+r.errorsText(a.validateSchema.errors);if(t.validateSchema==="log")r.logger.error(d);else throw Error(d)}}}lu.validateKeywordUsage=tv});var hu=w(function(mu){Object.defineProperty(mu,"__esModule",{value:!0});mu.extendSubschemaMode=mu.extendSubschemaData=mu.getSubschema=void 0;var te=X(),za=D();function iv(e,{keyword:t,schemaProp:r,schema:n,schemaPath:a,errSchemaPath:i,topSchemaRef:o}){if(t!==void 0&&n!==void 0)throw Error('both "keyword" and "schema" passed, only one allowed');if(t!==void 0){let s=e.schema[t];return r===void 0?{schema:s,schemaPath:te._`${e.schemaPath}${te.getProperty(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:s[r],schemaPath:te._`${e.schemaPath}${te.getProperty(t)}${te.getProperty(r)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${za.escapeFragment(r)}`}}if(n!==void 0){if(a===void 0||i===void 0||o===void 0)throw Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:n,schemaPath:a,topSchemaRef:o,errSchemaPath:i}}throw Error('either "keyword" or "schema" must be passed')}mu.getSubschema=iv;function ov(e,t,{dataProp:r,dataPropType:n,data:a,dataTypes:i,propertyName:o}){if(a!==void 0&&r!==void 0)throw Error('both "data" and "dataProp" passed, only one allowed');let{gen:s}=t;if(r!==void 0){let{errorPath:c,dataPathArr:l,opts:u}=t,m=s.let("data",te._`${t.data}${te.getProperty(r)}`,!0);d(m),e.errorPath=te.str`${c}${za.getErrorPath(r,n,u.jsPropertySyntax)}`,e.parentDataProperty=te._`${r}`,e.dataPathArr=[...l,e.parentDataProperty]}if(a!==void 0){let c=a instanceof te.Name?a:s.let("data",a,!0);if(d(c),o!==void 0)e.propertyName=o}if(i)e.dataTypes=i;function d(c){e.data=c,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,c]}}mu.extendSubschemaData=ov;function sv(e,{jtdDiscriminator:t,jtdMetadata:r,compositeRule:n,createErrors:a,allErrors:i}){if(n!==void 0)e.compositeRule=n;if(a!==void 0)e.createErrors=a;if(i!==void 0)e.allErrors=i;e.jtdDiscriminator=t,e.jtdMetadata=r}mu.extendSubschemaMode=sv});var Yo=w(function(IR,gu){gu.exports=function e(t,r){if(t===r)return!0;if(t&&r&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;var n,a,i;if(Array.isArray(t)){if(n=t.length,n!=r.length)return!1;for(a=n;a--!==0;)if(!e(t[a],r[a]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if(i=Object.keys(t),n=i.length,n!==Object.keys(r).length)return!1;for(a=n;a--!==0;)if(!Object.prototype.hasOwnProperty.call(r,i[a]))return!1;for(a=n;a--!==0;){var o=i[a];if(!e(t[o],r[o]))return!1}return!0}return t!==t&&r!==r}});var Iu=w(function(qR,yu){var Rt=yu.exports=function(e,t,r){if(typeof t=="function")r=t,t={};r=t.cb||r;var n=typeof r=="function"?r:r.pre||function(){},a=r.post||function(){};ja(t,n,a,e,"",e)};Rt.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};Rt.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};Rt.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};Rt.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function ja(e,t,r,n,a,i,o,s,d,c){if(n&&typeof n=="object"&&!Array.isArray(n)){t(n,a,i,o,s,d,c);for(var l in n){var u=n[l];if(Array.isArray(u)){if(l in Rt.arrayKeywords)for(var m=0;m<u.length;m++)ja(e,t,r,u[m],a+"/"+l+"/"+m,i,a,l,n,m)}else if(l in Rt.propsKeywords){if(u&&typeof u=="object")for(var h in u)ja(e,t,r,u[h],a+"/"+l+"/"+lv(h),i,a,l,n,h)}else if(l in Rt.keywords||e.allKeys&&!(l in Rt.skipKeywords))ja(e,t,r,u,a+"/"+l,i,a,l,n)}r(n,a,i,o,s,d,c)}}function lv(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}});var _n=w(function(Au){Object.defineProperty(Au,"__esModule",{value:!0});Au.getSchemaRefs=Au.resolveUrl=Au.normalizeId=Au._getFullPath=Au.getFullPath=Au.inlineRef=void 0;var qu=D(),uv=Yo(),pv=Iu(),mv=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function fv(e,t=!0){if(typeof e=="boolean")return!0;if(t===!0)return!Qo(e);if(!t)return!1;return wu(e)<=t}Au.inlineRef=fv;var hv=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function Qo(e){for(let t in e){if(hv.has(t))return!0;let r=e[t];if(Array.isArray(r)&&r.some(Qo))return!0;if(typeof r=="object"&&Qo(r))return!0}return!1}function wu(e){let t=0;for(let r in e){if(r==="$ref")return 1/0;if(t++,mv.has(r))continue;if(typeof e[r]=="object")qu.eachItem(e[r],(n)=>t+=wu(n));if(t===1/0)return 1/0}return t}function bu(e,t="",r){if(r!==!1)t=Or(t);let n=e.parse(t);return vu(e,n)}Au.getFullPath=bu;function vu(e,t){return e.serialize(t).split("#")[0]+"#"}Au._getFullPath=vu;var gv=/#\/?$/;function Or(e){return e?e.replace(gv,""):""}Au.normalizeId=Or;function yv(e,t,r){return r=Or(r),e.resolve(t,r)}Au.resolveUrl=yv;var Iv=/^[a-z_][-a-z0-9._]*$/i;function qv(e,t){if(typeof e=="boolean")return{};let{schemaId:r,uriResolver:n}=this.opts,a=Or(e[r]||t),i={"":a},o=bu(n,a,!1),s={},d=new Set;return pv(e,{allKeys:!0},(u,m,h,f)=>{if(f===void 0)return;let p=o+m,g=i[f];if(typeof u[r]=="string")g=y.call(this,u[r]);b.call(this,u.$anchor),b.call(this,u.$dynamicAnchor),i[m]=g;function y(q){let O=this.opts.uriResolver.resolve;if(q=Or(g?O(g,q):q),d.has(q))throw l(q);d.add(q);let x=this.refs[q];if(typeof x=="string")x=this.refs[x];if(typeof x=="object")c(u,x.schema,q);else if(q!==Or(p))if(q[0]==="#")c(u,s[q],q),s[q]=u;else this.refs[q]=p;return q}function b(q){if(typeof q=="string"){if(!Iv.test(q))throw Error(`invalid anchor "${q}"`);y.call(this,`#${q}`)}}}),s;function c(u,m,h){if(m!==void 0&&!uv(u,m))throw l(h)}function l(u){return Error(`reference "${u}" resolves to more than one schema`)}}Au.getSchemaRefs=qv});var Er=w(function(Nu){Object.defineProperty(Nu,"__esModule",{value:!0});Nu.getData=Nu.KeywordCxt=Nu.validateFunctionCode=void 0;var Ta=El(),Ea=kn(),jr=Fo(),Ot=kn(),Pu=eu(),rt=pu(),zr=hu(),I=X(),T=Xe(),Lu=_n(),se=D(),tt=Cn();function kv(e){if(Ru(e)){if(Ou(e),Su(e)){Pv(e);return}}$u(e,()=>Ta.topBoolOrEmptySchema(e))}Nu.validateFunctionCode=kv;function $u({gen:e,validateName:t,schema:r,schemaEnv:n,opts:a},i){if(a.code.es5)e.func(t,I._`${T.default.data}, ${T.default.valCxt}`,n.$async,()=>{e.code(I._`"use strict"; ${ku(r,a)}`),xv(e,a),e.code(i)});else e.func(t,I._`${T.default.data}, ${_v(a)}`,n.$async,()=>e.code(ku(r,a)).code(i))}function _v(e){return I._`{${T.default.instancePath}="", ${T.default.parentData}, ${T.default.parentDataProperty}, ${T.default.rootData}=${T.default.data}${e.dynamicRef?I._`, ${T.default.dynamicAnchors}={}`:I.nil}}={}`}function xv(e,t){e.if(T.default.valCxt,()=>{if(e.var(T.default.instancePath,I._`${T.default.valCxt}.${T.default.instancePath}`),e.var(T.default.parentData,I._`${T.default.valCxt}.${T.default.parentData}`),e.var(T.default.parentDataProperty,I._`${T.default.valCxt}.${T.default.parentDataProperty}`),e.var(T.default.rootData,I._`${T.default.valCxt}.${T.default.rootData}`),t.dynamicRef)e.var(T.default.dynamicAnchors,I._`${T.default.valCxt}.${T.default.dynamicAnchors}`)},()=>{if(e.var(T.default.instancePath,I._`""`),e.var(T.default.parentData,I._`undefined`),e.var(T.default.parentDataProperty,I._`undefined`),e.var(T.default.rootData,T.default.data),t.dynamicRef)e.var(T.default.dynamicAnchors,I._`{}`)})}function Pv(e){let{schema:t,opts:r,gen:n}=e;$u(e,()=>{if(r.$comment&&t.$comment)ju(e);if(Ov(e),n.let(T.default.vErrors,null),n.let(T.default.errors,0),r.unevaluated)Lv(e);zu(e),Ev(e)});return}function Lv(e){let{gen:t,validateName:r}=e;e.evaluated=t.const("evaluated",I._`${r}.evaluated`),t.if(I._`${e.evaluated}.dynamicProps`,()=>t.assign(I._`${e.evaluated}.props`,I._`undefined`)),t.if(I._`${e.evaluated}.dynamicItems`,()=>t.assign(I._`${e.evaluated}.items`,I._`undefined`))}function ku(e,t){let r=typeof e=="object"&&e[t.schemaId];return r&&(t.code.source||t.code.process)?I._`/*# sourceURL=${r} */`:I.nil}function $v(e,t){if(Ru(e)){if(Ou(e),Su(e)){Sv(e,t);return}}Ta.boolOrEmptySchema(e,t)}function Su({schema:e,self:t}){if(typeof e=="boolean")return!e;for(let r in e)if(t.RULES.all[r])return!0;return!1}function Ru(e){return typeof e.schema!="boolean"}function Sv(e,t){let{schema:r,gen:n,opts:a}=e;if(a.$comment&&r.$comment)ju(e);zv(e),jv(e);let i=n.const("_errs",T.default.errors);zu(e,i),n.var(t,I._`${i} === ${T.default.errors}`)}function Ou(e){se.checkUnknownRules(e),Rv(e)}function zu(e,t){if(e.opts.jtd)return _u(e,[],!1,t);let r=Ea.getSchemaTypes(e.schema),n=Ea.coerceAndCheckDataType(e,r);_u(e,r,!n,t)}function Rv(e){let{schema:t,errSchemaPath:r,opts:n,self:a}=e;if(t.$ref&&n.ignoreKeywordsWithRef&&se.schemaHasRulesButRef(t,a.RULES))a.logger.warn(`$ref: keywords ignored in schema at path "${r}"`)}function Ov(e){let{schema:t,opts:r}=e;if(t.default!==void 0&&r.useDefaults&&r.strictSchema)se.checkStrictMode(e,"default is ignored in the schema root")}function zv(e){let t=e.schema[e.opts.schemaId];if(t)e.baseId=Lu.resolveUrl(e.opts.uriResolver,e.baseId,t)}function jv(e){if(e.schema.$async&&!e.schemaEnv.$async)throw Error("async schema in sync schema")}function ju({gen:e,schemaEnv:t,schema:r,errSchemaPath:n,opts:a}){let i=r.$comment;if(a.$comment===!0)e.code(I._`${T.default.self}.logger.log(${i})`);else if(typeof a.$comment=="function"){let o=I.str`${n}/$comment`,s=e.scopeValue("root",{ref:t.root});e.code(I._`${T.default.self}.opts.$comment(${i}, ${o}, ${s}.schema)`)}}function Ev(e){let{gen:t,schemaEnv:r,validateName:n,ValidationError:a,opts:i}=e;if(r.$async)t.if(I._`${T.default.errors} === 0`,()=>t.return(T.default.data),()=>t.throw(I._`new ${a}(${T.default.vErrors})`));else{if(t.assign(I._`${n}.errors`,T.default.vErrors),i.unevaluated)Tv(e);t.return(I._`${T.default.errors} === 0`)}}function Tv({gen:e,evaluated:t,props:r,items:n}){if(r instanceof I.Name)e.assign(I._`${t}.props`,r);if(n instanceof I.Name)e.assign(I._`${t}.items`,n)}function _u(e,t,r,n){let{gen:a,schema:i,data:o,allErrors:s,opts:d,self:c}=e,{RULES:l}=c;if(i.$ref&&(d.ignoreKeywordsWithRef||!se.schemaHasRulesButRef(i,l))){a.block(()=>Tu(e,"$ref",l.all.$ref.definition));return}if(!d.jtd)Xv(e,t);a.block(()=>{for(let m of l.rules)u(m);u(l.post)});function u(m){if(!jr.shouldUseGroup(i,m))return;if(m.type){if(a.if(Ot.checkDataType(m.type,o,d.strictNumbers)),xu(e,m),t.length===1&&t[0]===m.type&&r)a.else(),Ot.reportTypeError(e);a.endIf()}else xu(e,m);if(!s)a.if(I._`${T.default.errors} === ${n||0}`)}}function xu(e,t){let{gen:r,schema:n,opts:{useDefaults:a}}=e;if(a)Pu.assignDefaults(e,t.type);r.block(()=>{for(let i of t.rules)if(jr.shouldUseRule(n,i))Tu(e,i.keyword,i.definition,t.type)})}function Xv(e,t){if(e.schemaEnv.meta||!e.opts.strictTypes)return;if(Nv(e,t),!e.opts.allowUnionTypes)Wv(e,t);Dv(e,e.dataTypes)}function Nv(e,t){if(!t.length)return;if(!e.dataTypes.length){e.dataTypes=t;return}t.forEach((r)=>{if(!Eu(e.dataTypes,r))es(e,`type "${r}" not allowed by context "${e.dataTypes.join(",")}"`)}),Mv(e,t)}function Wv(e,t){if(t.length>1&&!(t.length===2&&t.includes("null")))es(e,"use allowUnionTypes to allow union type keyword")}function Dv(e,t){let r=e.self.RULES.all;for(let n in r){let a=r[n];if(typeof a=="object"&&jr.shouldUseRule(e.schema,a)){let{type:i}=a.definition;if(i.length&&!i.some((o)=>Vv(t,o)))es(e,`missing type "${i.join(",")}" for keyword "${n}"`)}}}function Vv(e,t){return e.includes(t)||t==="number"&&e.includes("integer")}function Eu(e,t){return e.includes(t)||t==="integer"&&e.includes("number")}function Mv(e,t){let r=[];for(let n of e.dataTypes)if(Eu(t,n))r.push(n);else if(t.includes("integer")&&n==="number")r.push("integer");e.dataTypes=r}function es(e,t){let r=e.schemaEnv.baseId+e.errSchemaPath;t+=` at "${r}" (strictTypes)`,se.checkStrictMode(e,t,e.opts.strictTypes)}class ts{constructor(e,t,r){if(rt.validateKeywordUsage(e,t,r),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=r,this.data=e.data,this.schema=e.schema[r],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=se.schemaRefOrVal(e,this.schema,r,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const("vSchema",Xu(this.$data,e));else if(this.schemaCode=this.schemaValue,!rt.validSchemaType(this.schema,t.schemaType,t.allowUndefined))throw Error(`${r} value must be ${JSON.stringify(t.schemaType)}`);if("code"in t?t.trackErrors:t.errors!==!1)this.errsCount=e.gen.const("_errs",T.default.errors)}result(e,t,r){this.failResult(I.not(e),t,r)}failResult(e,t,r){if(this.gen.if(e),r)r();else this.error();if(t){if(this.gen.else(),t(),this.allErrors)this.gen.endIf()}else if(this.allErrors)this.gen.endIf();else this.gen.else()}pass(e,t){this.failResult(I.not(e),void 0,t)}fail(e){if(e===void 0){if(this.error(),!this.allErrors)this.gen.if(!1);return}if(this.gen.if(e),this.error(),this.allErrors)this.gen.endIf();else this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);let{schemaCode:t}=this;this.fail(I._`${t} !== undefined && (${I.or(this.invalid$data(),e)})`)}error(e,t,r){if(t){this.setParams(t),this._error(e,r),this.setParams({});return}this._error(e,r)}_error(e,t){(e?tt.reportExtraError:tt.reportError)(this,this.def.error,t)}$dataError(){tt.reportError(this,this.def.$dataError||tt.keyword$DataError)}reset(){if(this.errsCount===void 0)throw Error('add "trackErrors" to keyword definition');tt.resetErrorsCount(this.gen,this.errsCount)}ok(e){if(!this.allErrors)this.gen.if(e)}setParams(e,t){if(t)Object.assign(this.params,e);else this.params=e}block$data(e,t,r=I.nil){this.gen.block(()=>{this.check$data(e,r),t()})}check$data(e=I.nil,t=I.nil){if(!this.$data)return;let{gen:r,schemaCode:n,schemaType:a,def:i}=this;if(r.if(I.or(I._`${n} === undefined`,t)),e!==I.nil)r.assign(e,!0);if(a.length||i.validateSchema){if(r.elseIf(this.invalid$data()),this.$dataError(),e!==I.nil)r.assign(e,!1)}r.else()}invalid$data(){let{gen:e,schemaCode:t,schemaType:r,def:n,it:a}=this;return I.or(i(),o());function i(){if(r.length){if(!(t instanceof I.Name))throw Error("ajv implementation error");let s=Array.isArray(r)?r:[r];return I._`${Ot.checkDataTypes(s,t,a.opts.strictNumbers,Ot.DataType.Wrong)}`}return I.nil}function o(){if(n.validateSchema){let s=e.scopeValue("validate$data",{ref:n.validateSchema});return I._`!${s}(${t})`}return I.nil}}subschema(e,t){let r=zr.getSubschema(this.it,e);zr.extendSubschemaData(r,this.it,e),zr.extendSubschemaMode(r,e);let n={...this.it,...r,items:void 0,props:void 0};return $v(n,t),n}mergeEvaluated(e,t){let{it:r,gen:n}=this;if(!r.opts.unevaluated)return;if(r.props!==!0&&e.props!==void 0)r.props=se.mergeEvaluated.props(n,e.props,r.props,t);if(r.items!==!0&&e.items!==void 0)r.items=se.mergeEvaluated.items(n,e.items,r.items,t)}mergeValidEvaluated(e,t){let{it:r,gen:n}=this;if(r.opts.unevaluated&&(r.props!==!0||r.items!==!0))return n.if(t,()=>this.mergeEvaluated(e,I.Name)),!0}}Nu.KeywordCxt=ts;function Tu(e,t,r,n){let a=new ts(e,r,t);if("code"in r)r.code(a,n);else if(a.$data&&r.validate)rt.funcKeywordCode(a,r);else if("macro"in r)rt.macroKeywordCode(a,r);else if(r.compile||r.validate)rt.funcKeywordCode(a,r)}var Bv=/^\/(?:[^~]|~0|~1)*$/,Uv=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Xu(e,{dataLevel:t,dataNames:r,dataPathArr:n}){let a,i;if(e==="")return T.default.rootData;if(e[0]==="/"){if(!Bv.test(e))throw Error(`Invalid JSON-pointer: ${e}`);a=e,i=T.default.rootData}else{let c=Uv.exec(e);if(!c)throw Error(`Invalid JSON-pointer: ${e}`);let l=+c[1];if(a=c[2],a==="#"){if(l>=t)throw Error(d("property/index",l));return n[t-l]}if(l>t)throw Error(d("data",l));if(i=r[t-l],!a)return i}let o=i,s=a.split("/");for(let c of s)if(c)i=I._`${i}${I.getProperty(se.unescapeJsonPointer(c))}`,o=I._`${o} && ${i}`;return o;function d(c,l){return`Cannot access ${c} ${l} levels up, current level is ${t}`}}Nu.getData=Xu});var xn=w(function(Vu){Object.defineProperty(Vu,"__esModule",{value:!0});class Du extends Error{constructor(e){super("validation failed");this.errors=e,this.ajv=this.validation=!0}}Vu.default=Du});var Xr=w(function(Bu){Object.defineProperty(Bu,"__esModule",{value:!0});var Tr=_n();class Mu extends Error{constructor(e,t,r,n){super(n||`can't resolve reference ${r} from id ${t}`);this.missingRef=Tr.resolveUrl(e,t,r),this.missingSchema=Tr.normalizeId(Tr.getFullPath(e,this.missingRef))}}Bu.default=Mu});var Ln=w(function(Zu){Object.defineProperty(Zu,"__esModule",{value:!0});Zu.resolveSchema=Zu.getCompilingSchema=Zu.resolveRef=Zu.compileSchema=Zu.SchemaEnv=void 0;var Y=X(),Hv=xn(),dr=Xe(),Q=_n(),Xa=D(),Uu=Er();class Pn{constructor(e){var t;this.refs={},this.dynamicAnchors={};let r;if(typeof e.schema=="object")r=e.schema;this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=(t=e.baseId)!==null&&t!==void 0?t:Q.normalizeId(r===null||r===void 0?void 0:r[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=r===null||r===void 0?void 0:r.$async,this.refs={}}}Zu.SchemaEnv=Pn;function ns(e){let t=Fu.call(this,e);if(t)return t;let r=Q.getFullPath(this.opts.uriResolver,e.root.baseId),{es5:n,lines:a}=this.opts.code,{ownProperties:i}=this.opts,o=new Y.CodeGen(this.scope,{es5:n,lines:a,ownProperties:i}),s;if(e.$async)s=o.scopeValue("Error",{ref:Hv.default,code:Y._`require("ajv/dist/runtime/validation_error").default`});let d=o.scopeName("validate");e.validateName=d;let c={gen:o,allErrors:this.opts.allErrors,data:dr.default.data,parentData:dr.default.parentData,parentDataProperty:dr.default.parentDataProperty,dataNames:[dr.default.data],dataPathArr:[Y.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:o.scopeValue("schema",this.opts.code.source===!0?{ref:e.schema,code:Y.stringify(e.schema)}:{ref:e.schema}),validateName:d,ValidationError:s,schema:e.schema,schemaEnv:e,rootId:r,baseId:e.baseId||r,schemaPath:Y.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:Y._`""`,opts:this.opts,self:this},l;try{this._compilations.add(e),Uu.validateFunctionCode(c),o.optimize(this.opts.code.optimize);let u=o.toString();if(l=`${o.scopeRefs(dr.default.scope)}return ${u}`,this.opts.code.process)l=this.opts.code.process(l,e);let h=Function(`${dr.default.self}`,`${dr.default.scope}`,l)(this,this.scope.get());if(this.scope.value(d,{ref:h}),h.errors=null,h.schema=e.schema,h.schemaEnv=e,e.$async)h.$async=!0;if(this.opts.code.source===!0)h.source={validateName:d,validateCode:u,scopeValues:o._values};if(this.opts.unevaluated){let{props:f,items:p}=c;if(h.evaluated={props:f instanceof Y.Name?void 0:f,items:p instanceof Y.Name?void 0:p,dynamicProps:f instanceof Y.Name,dynamicItems:p instanceof Y.Name},h.source)h.source.evaluated=Y.stringify(h.evaluated)}return e.validate=h,e}catch(u){if(delete e.validate,delete e.validateName,l)this.logger.error("Error compiling schema, function code:",l);throw u}finally{this._compilations.delete(e)}}Zu.compileSchema=ns;function Jv(e,t,r){var n;r=Q.resolveUrl(this.opts.uriResolver,t,r);let a=e.refs[r];if(a)return a;let i=eA.call(this,e,r);if(i===void 0){let o=(n=e.localRefs)===null||n===void 0?void 0:n[r],{schemaId:s}=this.opts;if(o)i=new Pn({schema:o,schemaId:s,root:e,baseId:t})}if(i===void 0)return;return e.refs[r]=Yv.call(this,i)}Zu.resolveRef=Jv;function Yv(e){if(Q.inlineRef(e.schema,this.opts.inlineRefs))return e.schema;return e.validate?e:ns.call(this,e)}function Fu(e){for(let t of this._compilations)if(Qv(t,e))return t}Zu.getCompilingSchema=Fu;function Qv(e,t){return e.schema===t.schema&&e.root===t.root&&e.baseId===t.baseId}function eA(e,t){let r;while(typeof(r=this.refs[t])=="string")t=r;return r||this.schemas[t]||Na.call(this,e,t)}function Na(e,t){let r=this.opts.uriResolver.parse(t),n=Q._getFullPath(this.opts.uriResolver,r),a=Q.getFullPath(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&n===a)return rs.call(this,r,e);let i=Q.normalizeId(n),o=this.refs[i]||this.schemas[i];if(typeof o=="string"){let s=Na.call(this,e,o);if(typeof(s===null||s===void 0?void 0:s.schema)!=="object")return;return rs.call(this,r,s)}if(typeof(o===null||o===void 0?void 0:o.schema)!=="object")return;if(!o.validate)ns.call(this,o);if(i===Q.normalizeId(t)){let{schema:s}=o,{schemaId:d}=this.opts,c=s[d];if(c)a=Q.resolveUrl(this.opts.uriResolver,a,c);return new Pn({schema:s,schemaId:d,root:e,baseId:a})}return rs.call(this,r,o)}Zu.resolveSchema=Na;var tA=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function rs(e,{baseId:t,schema:r,root:n}){var a;if(((a=e.fragment)===null||a===void 0?void 0:a[0])!=="/")return;for(let s of e.fragment.slice(1).split("/")){if(typeof r==="boolean")return;let d=r[Xa.unescapeFragment(s)];if(d===void 0)return;r=d;let c=typeof r==="object"&&r[this.opts.schemaId];if(!tA.has(s)&&c)t=Q.resolveUrl(this.opts.uriResolver,t,c)}let i;if(typeof r!="boolean"&&r.$ref&&!Xa.schemaHasRulesButRef(r,this.RULES)){let s=Q.resolveUrl(this.opts.uriResolver,t,r.$ref);i=Na.call(this,n,s)}let{schemaId:o}=this.opts;if(i=i||new Pn({schema:r,schemaId:o,root:n,baseId:t}),i.schema!==i.root.schema)return i;return}});var Ku=w(function(kR,oA){oA.exports={$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON AnySchema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1}});var cs=w(function(_R,np){var sA=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),is=RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u),dA=RegExp.prototype.test.bind(/^\d*$/u),cr=RegExp.prototype.test.bind(/^[\da-f]{2}$/iu),os=RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu),Ju=RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/]$/u),ss=RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/?]$/u),cA=RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:]$/u),be=Array(256);for(let t=0;t<256;t++)be[t]="%"+"0123456789ABCDEF"[t>>4]+"0123456789ABCDEF"[t&15];function pe(e){if(e<2048)return be[192|e>>6]+be[128|e&63];if(e<65536)return be[224|e>>12]+be[128|e>>6&63]+be[128|e&63];return be[240|e>>18]+be[128|e>>12&63]+be[128|e>>6&63]+be[128|e&63]}function lA(e){let t="",r=0,n=0;for(n=0;n<e.length;n++){if(r=e[n].charCodeAt(0),r===48)continue;if(!(r>=48&&r<=57||r>=65&&r<=70||r>=97&&r<=102))return"";t+=e[n];break}for(n+=1;n<e.length;n++){if(r=e[n].charCodeAt(0),!(r>=48&&r<=57||r>=65&&r<=70||r>=97&&r<=102))return"";t+=e[n]}return t}var uA=RegExp.prototype.test.bind(/^[\dA-Fa-f]{1,4}$/),pA=RegExp.prototype.test.bind(/^[vV][\dA-Fa-f]+\.[A-Za-z\d\-._~!$&'()*+,;=:]+$/),mA=RegExp.prototype.test.bind(/^[A-Za-z\d\-._~]$/),fA=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function hA(e){if(e.length===0)return!1;for(let t=0;t<e.length;t++){if(mA(e[t]))continue;if(e[t]==="%"&&t+2<e.length&&cr(e.slice(t+1,t+3))){t+=2;continue}return!1}return!0}function Hu(e){let t=-1,r=0,n=-1,a=0;for(let s=0;s<e.length;s++)if(e[s]==="0"){if(n===-1)n=s;if(a++,a>r)r=a,t=n}else n=-1,a=0;if(r<2)return e.join(":");let i=e.slice(0,t).join(":"),o=e.slice(t+r).join(":");return i+"::"+o}function gA(e){let t=e.indexOf("::");if(t!==-1&&e.indexOf("::",t+1)!==-1)return;let r=t===-1?e.split(":"):e.slice(0,t).split(":"),n=t===-1?[]:e.slice(t+2).split(":");if(t!==-1){if(r.length===1&&r[0]==="")r.length=0;if(n.length===1&&n[0]==="")n.length=0}let a=r.concat(n),i=0;for(let s=0;s<a.length;s++){let d=a[s];if(d==="")return;if(d.indexOf(".")!==-1){if(s!==a.length-1||t!==-1&&n.length===0||!is(d))return;i+=2;continue}if(!uA(d))return;a[s]=parseInt(d,16).toString(16),i++}if(t===-1){if(i!==8)return;return Hu(a)}if(i>=8)return;let o=a.slice(0,r.length);for(let s=i;s<8;s++)o.push("0");for(let s=r.length;s<a.length;s++)o.push(a[s]);return Hu(o)}function as(e){let t=e[0]==="["&&e[e.length-1]==="]";if((e[0]==="["||e[e.length-1]==="]")&&!t)return{host:e,isIPV6:!1,error:!0};let n=t?e.slice(1,-1):e;if(t&&pA(n))return n=n.toLowerCase(),{host:`[${n}]`,escapedHost:n,isIPV6:!1,isIPVFuture:!0};if(yA(n,":")<2)return{host:e,isIPV6:!1,error:t};let a="",i=n.indexOf("%");if(i!==-1){let s=n.slice(i,i+3).toLowerCase()==="%25"?3:1;if(a=n.slice(i+s),!hA(a))return{host:e,isIPV6:!1,error:!0};n=n.slice(0,i)}let o=gA(n);if(o===void 0)return{host:e,isIPV6:!1,error:!0};return{host:o+(a?"%"+a:""),escapedHost:o+(a?"%25"+a:""),isIPV6:!0}}function yA(e,t){let r=0;for(let n=0;n<e.length;n++)if(e[n]===t)r++;return r}function Yu(e){let t=e,r=[],n=-1,a=0;while(a=t.length){if(a===1)if(t===".")break;else if(t==="/"){r.push("/");break}else{r.push(t);break}else if(a===2){if(t[0]==="."){if(t[1]===".")break;else if(t[1]==="/"){t=t.slice(2);continue}}else if(t[0]==="/"){if(t[1]==="."||t[1]==="/"){r.push("/");break}}}else if(a===3){if(t==="/.."){if(r.length!==0)r.pop();r.push("/");break}}if(t[0]==="."){if(t[1]==="."){if(t[2]==="/"){t=t.slice(3);continue}}else if(t[1]==="/"){t=t.slice(2);continue}}else if(t[0]==="/"){if(t[1]==="."){if(t[2]==="/"){t=t.slice(2);continue}else if(t[2]==="."){if(t[3]==="/"){if(t=t.slice(3),r.length!==0)r.pop();continue}}}}if((n=t.indexOf("/",1))===-1){r.push(t);break}else r.push(t.slice(0,n)),t=t.slice(n)}return r.join("")}function IA(e){if(e===""||e[0]==="/")return Yu(e);let t=e.split("/"),r=t.length-1,n=[],a=!1;for(let i=0;i<=r;i++){let o=t[i];if(o==="."||o===".."){if(o==="..")if(n.length!==0&&n[n.length-1]!=="..")n.pop();else n.push("..");a=i===r}else n.push(o)}if(a&&n[n.length-1]!=="..")n.push("");if(n.length===0||n[0]===""||n[0].includes(":"))n.unshift(".");return n.join("/")}var qA={"@":"%40","/":"%2F","?":"%3F","#":"%23",":":"%3A"},wA=/[@/?#:]/g,bA=/[@/?#]/g;function Qu(e,t){let r=t?bA:wA;return r.lastIndex=0,e.replace(r,(n)=>qA[n])}function ep(e,t=!1){if(e.indexOf("%")===-1)return e;let r="";for(let n=0;n<e.length;n++){if(e[n]==="%"&&n+2<e.length){let a=e.slice(n+1,n+3);if(cr(a)){let i=a.toUpperCase(),o=String.fromCharCode(parseInt(i,16));if(t&&os(o))r+=o;else r+="%"+i;n+=2;continue}}r+=e[n]}return r}function vA(e){let t="";for(let r=0;r<e.length;r++){let n=e[r];if(n==="%"&&r+2<e.length){let a=e.slice(r+1,r+3);if(cr(a)){let i=a.toUpperCase(),o=String.fromCharCode(parseInt(i,16));if(o!=="."&&os(o))t+=o;else t+="%"+i;r+=2;continue}}if(Ju(n))t+=n;else{let a=e.charCodeAt(r);if(a<128)t+=rp(a)?n:be[a];else if(a<55296||a>57343)t+=pe(a);else if(a<=56319&&r+1<e.length){let i=e.charCodeAt(r+1);if(i>=56320&&i<=57343)t+=pe(65536+(a-55296<<10)+(i-56320)),r++;else t+=pe(65533)}else t+=pe(65533)}}return t}function AA(e,t=!1){let r="",n=t&&e[0]!=="/";for(let a=0;a<e.length;a++){let i=e[a];if(i==="%"&&a+2<e.length){let o=e.slice(a+1,a+3);if(cr(o)){r+="%"+o.toUpperCase(),a+=2;continue}}if(i==="/")n=!1;if(Ju(i)&&(i!==":"||!n))r+=i;else{let o=e.charCodeAt(a);if(o<128)r+=be[o];else if(o<55296||o>57343)r+=pe(o);else if(o<=56319&&a+1<e.length){let s=e.charCodeAt(a+1);if(s>=56320&&s<=57343)r+=pe(65536+(o-55296<<10)+(s-56320)),a++;else r+=pe(65533)}else r+=pe(65533)}}return r}function ds(e,t){let r="";for(let n=0;n<e.length;n++){let a=e[n];if(a==="%"&&n+2<e.length){let i=e.slice(n+1,n+3);if(cr(i)){r+="%"+i.toUpperCase(),n+=2;continue}}if(t(a))r+=a;else{let i=e.charCodeAt(n);if(i<128)r+=be[i];else if(i<55296||i>57343)r+=pe(i);else if(i<=56319&&n+1<e.length){let o=e.charCodeAt(n+1);if(o>=56320&&o<=57343)r+=pe(65536+(i-55296<<10)+(o-56320)),n++;else r+=pe(65533)}else r+=pe(65533)}}return r}function tp(e){return ds(e,cA)}function CA(e){return ds(e,ss)}function kA(e){return ds(e,ss)}function rp(e){return e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122||e===42||e===43||e===45||e===46||e===47||e===64||e===95}function _A(e){let t="";for(let r=0;r<e.length;r++){let n=e[r];if(n==="%"&&r+2<e.length){let a=e.slice(r+1,r+3);if(cr(a)){let i=a.toUpperCase(),o=String.fromCharCode(parseInt(i,16));if(os(o))t+=o;else t+="%"+i;r+=2;continue}}if(ss(n))t+=n;else{let a=e.charCodeAt(r);if(a<128)t+=rp(a)?n:be[a];else if(a<55296||a>57343)t+=pe(a);else if(a<=56319&&r+1<e.length){let i=e.charCodeAt(r+1);if(i>=56320&&i<=57343)t+=pe(65536+(a-55296<<10)+(i-56320)),r++;else t+=pe(65533)}else t+=pe(65533)}}return t}function xA(e){let t="";for(let r=0;r<e.length;r++){if(e[r]==="%"&&r+2<e.length){let n=e.slice(r+1,r+3);if(cr(n)){t+="%"+n.toUpperCase(),r+=2;continue}}t+=escape(e[r])}return t}function PA(e){let t=[];if(e.userinfo!==void 0)t.push(tp(e.userinfo)),t.push("@");if(e.host!==void 0){let r=e.host;if(!is(r)){let n=as(r);if(n.isIPV6!==!0&&n.isIPVFuture!==!0)r=ep(r,!0),n=as(r);if(n.isIPV6===!0||n.isIPVFuture===!0)r=`[${n.escapedHost}]`;else r=Qu(r,!1)}t.push(r)}if(typeof e.port==="number"||typeof e.port==="string"){let r=String(e.port);if(!dA(r))throw TypeError("URI port is malformed.");t.push(":"),t.push(r)}return t.length?t.join(""):void 0}np.exports={nonSimpleDomain:fA,recomposeAuthority:PA,reescapeHostDelimiters:Qu,normalizePercentEncoding:ep,normalizePathEncoding:vA,serializePathEncoding:AA,normalizeQueryFragmentEncoding:_A,encodeUserinfo:tp,encodeQuery:CA,encodeFragment:kA,escapePreservingEscapes:xA,removeDotSegments:Yu,removeDotSegmentsRelative:IA,isIPv4:is,isUUID:sA,normalizeIPv6:as,stringArrayToHexStripped:lA}});var dp=w(function(xR,sp){var{isUUID:LA}=cs(),$A=/^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu,SA=["http","https","ws","wss","urn","urn:uuid"];function RA(e){return SA.indexOf(e)!==-1}function ls(e){if(e.secure===!0)return!0;else if(e.secure===!1)return!1;else if(e.scheme)return e.scheme.length===3&&(e.scheme[0]==="w"||e.scheme[0]==="W")&&(e.scheme[1]==="s"||e.scheme[1]==="S")&&(e.scheme[2]==="s"||e.scheme[2]==="S");else return!1}function ap(e){if(!e.host)e.error=e.error||"HTTP URIs must have a host.";return e}function ip(e){let t=String(e.scheme).toLowerCase()==="https";if(e.port===(t?443:80)||e.port==="")e.port=void 0;if(!e.path)e.path="/";return e}function OA(e){return e.secure=ls(e),e.resourceName=(e.path||"/")+(e.query?"?"+e.query:""),e.path=void 0,e.query=void 0,e}function zA(e){if(e.port===(ls(e)?443:80)||e.port==="")e.port=void 0;if(typeof e.secure==="boolean")e.scheme=e.secure?"wss":"ws",e.secure=void 0;if(e.resourceName){let t=e.resourceName.indexOf("?"),r=t===-1?e.resourceName:e.resourceName.slice(0,t);e.path=r&&r!=="/"?r:void 0,e.query=t===-1?void 0:e.resourceName.slice(t+1),e.resourceName=void 0}return e.fragment=void 0,e}function jA(e,t){if(!e.path)return e.error="URN can not be parsed",e;let r=e.path.match($A);if(r&&r[0]===e.path){let n=t.scheme||e.scheme||"urn";e.nid=r[1].toLowerCase(),e.nss=r[2];let a=`${n}:${t.nid||e.nid}`,i=us(a);if(e.path=void 0,i)e=i.parse(e,t)}else e.error=e.error||"URN can not be parsed.";return e}function EA(e,t){if(e.nid===void 0)throw Error("URN without nid cannot be serialized");let r=t.scheme||e.scheme||"urn",n=e.nid.toLowerCase(),a=`${r}:${t.nid||n}`,i=us(a);if(i)e=i.serialize(e,t);let o=e,s=e.nss;return o.path=`${n||t.nid}:${s}`,t.skipEscape=!0,o}function TA(e,t){let r=e;if(r.uuid=r.nss,r.nss=void 0,!t.tolerant&&(!r.uuid||!LA(r.uuid)))r.error=r.error||"UUID is not valid.";return r}function XA(e){let t=e;return t.nss=(e.uuid||"").toLowerCase(),t}var op={scheme:"http",domainHost:!0,parse:ap,serialize:ip},NA={scheme:"https",domainHost:op.domainHost,parse:ap,serialize:ip},Wa={scheme:"ws",domainHost:!0,parse:OA,serialize:zA},WA={scheme:"wss",domainHost:Wa.domainHost,parse:Wa.parse,serialize:Wa.serialize},DA={scheme:"urn",parse:jA,serialize:EA,skipNormalize:!0},VA={scheme:"urn:uuid",parse:TA,serialize:XA,skipNormalize:!0},Da={http:op,https:NA,ws:Wa,wss:WA,urn:DA,"urn:uuid":VA};Object.setPrototypeOf(Da,null);function us(e){return e&&(Da[e]||Da[e.toLowerCase()])||void 0}sp.exports={wsIsSecure:ls,SCHEMES:Da,isValidSchemeName:RA,getSchemeHandler:us}});var vp=w(function(PR,Ua){var{normalizeIPv6:mp,removeDotSegments:Sn,removeDotSegmentsRelative:fp,recomposeAuthority:MA,normalizePercentEncoding:ps,normalizePathEncoding:BA,serializePathEncoding:cp,normalizeQueryFragmentEncoding:lp,encodeQuery:UA,encodeFragment:FA,reescapeHostDelimiters:ZA,isIPv4:hp,nonSimpleDomain:GA}=cs(),{SCHEMES:gp,getSchemeHandler:ms}=dp(),yp=/^[A-Za-z][A-Za-z0-9+.-]*$/u,KA=/[\0-\x20"#/:<>?@[\\\]^`{|}\x7F]/u;function up(e){let t=String(e);if(!yp.test(t))throw TypeError("URI scheme is malformed.");return t}function HA(e,t){if(typeof e==="string")e=iC(e,t);else if(typeof e==="object")e=Ma(lr(e,t),t);return e}function JA(e,t,r){let n=r?Object.assign({scheme:"null"},r):{scheme:"null"},{parsed:a,malformedAuthorityOrPort:i,malformedPercentEncoding:o,malformedSchemeSpecific:s,malformedHost:d,malformedScheme:c}=Va(e,n),{parsed:l,malformedAuthorityOrPort:u,malformedPercentEncoding:m,malformedSchemeSpecific:h,malformedHost:f,malformedScheme:p}=Va(t,n);if(i||u||o||m||s||h||d||f||c||p)throw Error(a.error||l.error||"URI is malformed.");let g=Ip(a,l,n,!0),y=ms(r&&r.scheme||g.scheme),b=g.host,q=b!==void 0&&b!==""&&(hp(b)||mp(b).isIPV6);if(wp(g,r||{},y,q))throw Error("URI host is malformed.");qp(g,r||{},y,q);let O=b&&b.indexOf("%")!==-1&&!/\P{ASCII}/u.test(b);if(g.error&&!O)throw Error(g.error);return n.skipEscape=!0,lr(g,n)}function Ip(e,t,r,n){let a={};if(!n)e=Ma(lr(e,r),r),t=Ma(lr(t,r),r);if(r=r||{},!r.tolerant&&t.scheme)a.scheme=t.scheme,a.userinfo=t.userinfo,a.host=t.host,a.port=t.port,a.path=Sn(t.path||""),a.query=t.query;else{if(t.userinfo!==void 0||t.host!==void 0||t.port!==void 0)a.userinfo=t.userinfo,a.host=t.host,a.port=t.port,a.path=Sn(t.path||""),a.query=t.query;else{if(!t.path)if(a.path=e.path,t.query!==void 0)a.query=t.query;else a.query=e.query;else{if(t.path[0]==="/")a.path=Sn(t.path);else{let i=e.userinfo!==void 0||e.host!==void 0||e.port!==void 0;if(i&&!e.path)a.path="/"+t.path;else if(!e.path)a.path=t.path;else a.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path;a.path=e.scheme===void 0&&!i&&a.path[0]!=="/"?fp(a.path):Sn(a.path)}a.query=t.query}a.userinfo=e.userinfo,a.host=e.host,a.port=e.port}a.scheme=e.scheme}return a.fragment=t.fragment,a}function YA(e,t,r){let n=pp(e,r),a=pp(t,r);return n!==void 0&&a!==void 0&&n===a}function lr(e,t){let r={host:e.host,scheme:e.scheme,userinfo:e.userinfo,port:e.port,path:e.path,query:e.query,nid:e.nid,nss:e.nss,uuid:e.uuid,fragment:e.fragment,reference:e.reference,resourceName:e.resourceName,secure:e.secure,error:""},n=Object.assign({},t),a=[];if(r.scheme)r.scheme=up(r.scheme);let i=ms(n.scheme||r.scheme);if(i&&i.serialize)i.serialize(r,n);let o=r.userinfo!==void 0||r.host!==void 0||r.port!==void 0,s=(r.scheme===void 0||n.reference==="suffix")&&!o,d=!n.skipEscape&&s;if(r.path!==void 0)if(!n.skipEscape)r.path=cp(r.path,d);else r.path=ps(r.path);if(n.reference!=="suffix"&&r.scheme)r.scheme=up(r.scheme),a.push(r.scheme,":");let c=MA(r);if(c!==void 0){if(n.reference!=="suffix")a.push("//");if(a.push(c),r.path&&r.path[0]!=="/")a.push("/")}if(r.path!==void 0){let l=r.path;if(!n.absolutePath&&(!i||!i.absolutePath))l=s&&l[0]!=="/"?fp(l):Sn(l);if(s)l=cp(l,!0);if(c===void 0&&l[0]==="/"&&l[1]==="/")l="/%2F"+l.slice(2);a.push(l)}if(r.query!==void 0)a.push("?",UA(r.query));if(r.fragment!==void 0)a.push("#",FA(r.fragment));return a.join("")}var QA=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u,eC=/^(?:[^#/:?]+:)?\/\/([^/?#]*)/,tC=/^(?:[^#/:?]+:)?([/\\\t\n\r]*)/;function rC(e,t){if(t[2]!==void 0&&e.path&&e.path[0]!=="/")return'URI path must start with "/" when authority is present.';if(typeof e.port==="number"&&(e.port<0||e.port>65535))return"URI port is malformed.";return}function $n(e){if(e===void 0)return!1;let t=e.indexOf("%");while(t!==-1){if(t+2>=e.length||!/^[\da-f]{2}$/iu.test(e.slice(t+1,t+3)))return!0;t=e.indexOf("%",t+3)}return!1}function Ba(e){return e[0]==="["&&e[e.length-1]==="]"}function nC(e){let t=e[4];return $n(e[3])||t!==void 0&&!Ba(t)&&$n(t)||$n(e[6])||$n(e[7])||$n(e[8])}function qp(e,t,r,n){if(wp(e,t,r,n))return e.error=e.error||"URI host is malformed.",!0;if(!t.unicodeSupport&&(!r||!r.unicodeSupport)&&e.host&&!Ba(e.host)&&(t.domainHost||r&&r.domainHost)&&n===!1&&GA(e.host)){let a;try{a=new URL("http://"+e.host)}catch(i){return e.error=e.error||"Host's domain name can not be converted to ASCII: "+i,!0}if(!aC(a))return e.error=e.error||"URI host is malformed.",!0;e.host=a.hostname}return!1}function wp(e,t,r,n){return Boolean(e.host&&n===!1&&!Ba(e.host)&&(t.domainHost||r&&r.domainHost)&&KA.test(e.host))}function aC(e){return e.username===""&&e.password===""&&e.port===""&&e.pathname==="/"&&e.search===""&&e.hash===""&&e.hostname!==""}function Va(e,t){let r=Object.assign({},t),n={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},a=!1,i=!1,o=!1,s=!1,d=!1,c=!1,l=!1;if(r.reference==="suffix")if(r.scheme)e=r.scheme+":"+e;else e="//"+e;let u=e.match(eC);if(u!==null&&u[1].indexOf("\\")!==-1)n.error="URI authority must not contain a literal backslash.",a=!0;let m=e.match(tC);if(m!==null){let f=m[1],p=f.replace(/[\t\n\r]/g,"");if(p.length>=2){if(p.slice(0,2)!=="//")n.error=n.error||"URI authority must not contain a literal backslash.",a=!0;else if(f.length!==p.length)n.error=n.error||"URI authority introducer must not contain whitespace.",a=!0}}let h=e.match(QA);if(h){if(n.scheme=h[1],n.userinfo=h[3],n.host=h[4],n.port=parseInt(h[5],10),n.path=h[6]||"",n.query=h[7],n.fragment=h[8],n.scheme!==void 0)if(yp.test(n.scheme))n.scheme=n.scheme.toLowerCase();else n.error=n.error||"URI scheme is malformed.",c=!0;if(i=nC(h),i)n.error=n.error||"URI contains malformed percent-encoding.";if(isNaN(n.port))n.port=h[5];let f=rC(n,h);if(f!==void 0)n.error=n.error||f,a=!0;if(n.host)if(hp(n.host)===!1){let y=Ba(n.host),b=n.host.indexOf("[")!==-1||n.host.indexOf("]")!==-1,q=mp(n.host);if(l=q.isIPV6||q.isIPVFuture===!0,d=b&&(!y||q.error===!0),n.host=l?q.host:q.host.toLowerCase(),d)n.error=n.error||"URI host is malformed.",a=!0}else l=!0;if(n.scheme===void 0&&n.userinfo===void 0&&n.host===void 0&&n.port===void 0&&n.query===void 0&&!n.path)n.reference="same-document";else if(n.scheme===void 0)n.reference="relative";else if(n.fragment===void 0)n.reference="absolute";else n.reference="uri";if(r.reference&&r.reference!=="suffix"&&r.reference!==n.reference)n.error=n.error||"URI is not a "+r.reference+" reference.";let p=ms(r.scheme||n.scheme);if(!d)s=qp(n,r,p,l);if(e.indexOf("%")!==-1&&n.host!==void 0&&!d){let g=l?n.host:ps(n.host,!0);if(!l)g=ps(g.toLowerCase());n.host=l||r.scheme!=="null"?ZA(g,l):g}if(!p||p&&!p.skipNormalize){if(n.path)n.path=BA(n.path);if(n.query)n.query=lp(n.query);if(n.fragment)n.fragment=lp(n.fragment)}if(p&&p.parse){if(p.parse(n,r),p===gp.urn&&n.nid===void 0)o=!0}}else n.error=n.error||"URI can not be parsed.";return{parsed:n,malformedAuthorityOrPort:a,malformedPercentEncoding:i,malformedSchemeSpecific:o,malformedHost:s,malformedScheme:c}}function Ma(e,t){return Va(e,t).parsed}function iC(e,t){return bp(e,t).normalized}function bp(e,t){let{parsed:r,malformedAuthorityOrPort:n,malformedPercentEncoding:a,malformedSchemeSpecific:i,malformedHost:o,malformedScheme:s}=Va(e,t);return{normalized:n||a||i||o||s?e:lr(r,t),malformedAuthorityOrPort:n,malformedPercentEncoding:a,malformedSchemeSpecific:i,malformedHost:o,malformedScheme:s}}function pp(e,t){if(typeof e!=="string"&&typeof e!=="object")return;let r;try{r=typeof e==="string"?e:lr(e,t)}catch{return}let{normalized:n,malformedAuthorityOrPort:a,malformedPercentEncoding:i,malformedSchemeSpecific:o,malformedHost:s,malformedScheme:d}=bp(r,t);return a||i||o||s||d?void 0:n}var fs={SCHEMES:gp,normalize:HA,resolve:JA,resolveComponent:Ip,equal:YA,serialize:lr,parse:Ma};Ua.exports=fs;Ua.exports.default=fs;Ua.exports.fastUri=fs});var kp=w(function(Cp){Object.defineProperty(Cp,"__esModule",{value:!0});var Ap=vp();Ap.code='require("ajv/dist/runtime/uri").default';Cp.default=Ap});var gs=w(function(qt){Object.defineProperty(qt,"__esModule",{value:!0});qt.CodeGen=qt.Name=qt.nil=qt.stringify=qt.str=qt._=qt.KeywordCxt=void 0;var sC=Er();Object.defineProperty(qt,"KeywordCxt",{enumerable:!0,get:function(){return sC.KeywordCxt}});var Wr=X();Object.defineProperty(qt,"_",{enumerable:!0,get:function(){return Wr._}});Object.defineProperty(qt,"str",{enumerable:!0,get:function(){return Wr.str}});Object.defineProperty(qt,"stringify",{enumerable:!0,get:function(){return Wr.stringify}});Object.defineProperty(qt,"nil",{enumerable:!0,get:function(){return Wr.nil}});Object.defineProperty(qt,"Name",{enumerable:!0,get:function(){return Wr.Name}});Object.defineProperty(qt,"CodeGen",{enumerable:!0,get:function(){return Wr.CodeGen}});var dC=xn(),$p=Xr(),Sp=Uo(),nt=Ln(),Rp=X(),at=_n(),zt=kn(),Nr=D(),_p=Ku(),cC=kp(),Op=(e,t)=>new RegExp(e,t);Op.code="new RegExp";var lC=["removeAdditional","useDefaults","coerceTypes"],uC=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),pC={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},mC={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},xp=200;function fC(e){var t,r,n,a,i,o,s,d,c,l,u,m,h,f,p,g,y,b,q,O,x,H,A,M,ne;let v=e.strict,N=(t=e.code)===null||t===void 0?void 0:t.optimize,he=N===!0||N===void 0?1:N||0,Oe=(n=(r=e.code)===null||r===void 0?void 0:r.regExp)!==null&&n!==void 0?n:Op,zi=(a=e.uriResolver)!==null&&a!==void 0?a:cC.default;return{strictSchema:(o=(i=e.strictSchema)!==null&&i!==void 0?i:v)!==null&&o!==void 0?o:!0,strictNumbers:(d=(s=e.strictNumbers)!==null&&s!==void 0?s:v)!==null&&d!==void 0?d:!0,strictTypes:(l=(c=e.strictTypes)!==null&&c!==void 0?c:v)!==null&&l!==void 0?l:"log",strictTuples:(m=(u=e.strictTuples)!==null&&u!==void 0?u:v)!==null&&m!==void 0?m:"log",strictRequired:(f=(h=e.strictRequired)!==null&&h!==void 0?h:v)!==null&&f!==void 0?f:!1,code:e.code?{...e.code,optimize:he,regExp:Oe}:{optimize:he,regExp:Oe},loopRequired:(p=e.loopRequired)!==null&&p!==void 0?p:xp,loopEnum:(g=e.loopEnum)!==null&&g!==void 0?g:xp,meta:(y=e.meta)!==null&&y!==void 0?y:!0,messages:(b=e.messages)!==null&&b!==void 0?b:!0,inlineRefs:(q=e.inlineRefs)!==null&&q!==void 0?q:!0,schemaId:(O=e.schemaId)!==null&&O!==void 0?O:"$id",addUsedSchema:(x=e.addUsedSchema)!==null&&x!==void 0?x:!0,validateSchema:(H=e.validateSchema)!==null&&H!==void 0?H:!0,validateFormats:(A=e.validateFormats)!==null&&A!==void 0?A:!0,unicodeRegExp:(M=e.unicodeRegExp)!==null&&M!==void 0?M:!0,int32range:(ne=e.int32range)!==null&&ne!==void 0?ne:!0,uriResolver:zi}}class Fa{constructor(e={}){this.schemas={},this.refs={},this.formats=Object.create(null),this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...fC(e)};let{es5:t,lines:r}=this.opts.code;this.scope=new Rp.ValueScope({scope:{},prefixes:uC,es5:t,lines:r}),this.logger=wC(e.logger);let n=e.validateFormats;if(e.validateFormats=!1,this.RULES=Sp.getRules(),Pp.call(this,pC,e,"NOT SUPPORTED"),Pp.call(this,mC,e,"DEPRECATED","warn"),this._metaOpts=IC.call(this),e.formats)gC.call(this);if(this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords)yC.call(this,e.keywords);if(typeof e.meta=="object")this.addMetaSchema(e.meta);hC.call(this),e.validateFormats=n}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:e,meta:t,schemaId:r}=this.opts,n=_p;if(r==="id")n={..._p},n.id=n.$id,delete n.$id;if(t&&e)this.addMetaSchema(n,n[r],!1)}defaultMeta(){let{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta=typeof e=="object"?e[t]||e:void 0}validate(e,t){let r;if(typeof e=="string"){if(r=this.getSchema(e),!r)throw Error(`no schema with key or ref "${e}"`)}else r=this.compile(e);let n=r(t);if(!("$async"in r))this.errors=r.errors;return n}compile(e,t){let r=this._addSchema(e,t);return r.validate||this._compileSchemaEnv(r)}compileAsync(e,t){if(typeof this.opts.loadSchema!="function")throw Error("options.loadSchema should be a function");let{loadSchema:r}=this.opts;return n.call(this,e,t);async function n(c,l){await a.call(this,c.$schema);let u=this._addSchema(c,l);return u.validate||i.call(this,u)}async function a(c){if(c&&!this.getSchema(c))await n.call(this,{$ref:c},!0)}async function i(c){try{return this._compileSchemaEnv(c)}catch(l){if(!(l instanceof $p.default))throw l;return o.call(this,l),await s.call(this,l.missingSchema),i.call(this,c)}}function o({missingSchema:c,missingRef:l}){if(this.refs[c])throw Error(`AnySchema ${c} is loaded but ${l} cannot be resolved`)}async function s(c){let l=await d.call(this,c);if(!this.refs[c])await a.call(this,l.$schema);if(!this.refs[c])this.addSchema(l,c,t)}async function d(c){let l=this._loading[c];if(l)return l;try{return await(this._loading[c]=r(c))}finally{delete this._loading[c]}}}addSchema(e,t,r,n=this.opts.validateSchema){if(Array.isArray(e)){for(let i of e)this.addSchema(i,void 0,r,n);return this}let a;if(typeof e==="object"){let{schemaId:i}=this.opts;if(a=e[i],a!==void 0&&typeof a!="string")throw Error(`schema ${i} must be string`)}return t=at.normalizeId(t||a),this._checkUnique(t),this.schemas[t]=this._addSchema(e,r,t,n,!0),this}addMetaSchema(e,t,r=this.opts.validateSchema){return this.addSchema(e,t,!0,r),this}validateSchema(e,t){if(typeof e=="boolean")return!0;let r;if(r=e.$schema,r!==void 0&&typeof r!="string")throw Error("$schema must be a string");if(r=r||this.opts.defaultMeta||this.defaultMeta(),!r)return this.logger.warn("meta-schema not available"),this.errors=null,!0;let n=this.validate(r,e);if(!n&&t){let a="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(a);else throw Error(a)}return n}getSchema(e){let t;while(typeof(t=Lp.call(this,e))=="string")e=t;if(t===void 0){let{schemaId:r}=this.opts,n=new nt.SchemaEnv({schema:{},schemaId:r});if(t=nt.resolveSchema.call(this,n,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{let t=Lp.call(this,e);if(typeof t=="object")this._cache.delete(t.schema);return delete this.schemas[e],delete this.refs[e],this}case"object":{let t=e;this._cache.delete(t);let r=e[this.opts.schemaId];if(r)r=at.normalizeId(r),delete this.schemas[r],delete this.refs[r];return this}default:throw Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(let t of e)this.addKeyword(t);return this}addKeyword(e,t){let r;if(typeof e=="string"){if(r=e,typeof t=="object")this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=r}else if(typeof e=="object"&&t===void 0){if(t=e,r=t.keyword,Array.isArray(r)&&!r.length)throw Error("addKeywords: keyword must be string or non-empty array")}else throw Error("invalid addKeywords parameters");if(vC.call(this,r,t),!t)return Nr.eachItem(r,(a)=>hs.call(this,a)),this;CC.call(this,t);let n={...t,type:zt.getJSONTypes(t.type),schemaType:zt.getJSONTypes(t.schemaType)};return Nr.eachItem(r,n.type.length===0?(a)=>hs.call(this,a,n):(a)=>n.type.forEach((i)=>hs.call(this,a,n,i))),this}getKeyword(e){let t=this.RULES.all[e];return typeof t=="object"?t.definition:!!t}removeKeyword(e){let{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(let r of t.rules){let n=r.rules.findIndex((a)=>a.keyword===e);if(n>=0)r.rules.splice(n,1)}return this}addFormat(e,t){if(typeof t=="string")t=new RegExp(t);return this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=", ",dataVar:r="data"}={}){if(!e||e.length===0)return"No errors";return e.map((n)=>`${r}${n.instancePath} ${n.message}`).reduce((n,a)=>n+t+a)}$dataMetaSchema(e,t){let r=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(let n of t){let a=n.split("/").slice(1),i=e;for(let o of a)i=i[o];for(let o in r){let s=r[o];if(typeof s!="object")continue;let{$data:d}=s.definition,c=i[o];if(d&&c)i[o]=zp(c)}}return e}_removeAllSchemas(e,t){for(let r in e){let n=e[r];if(!t||t.test(r)){if(typeof n=="string")delete e[r];else if(n&&!n.meta)this._cache.delete(n.schema),delete e[r]}}}_addSchema(e,t,r,n=this.opts.validateSchema,a=this.opts.addUsedSchema){let i,{schemaId:o}=this.opts;if(typeof e=="object")i=e[o];else if(this.opts.jtd)throw Error("schema must be object");else if(typeof e!="boolean")throw Error("schema must be object or boolean");let s=this._cache.get(e);if(s!==void 0)return s;r=at.normalizeId(i||r);let d=at.getSchemaRefs.call(this,e,r);if(s=new nt.SchemaEnv({schema:e,schemaId:o,meta:t,baseId:r,localRefs:d}),this._cache.set(s.schema,s),a&&!r.startsWith("#")){if(r)this._checkUnique(r);this.refs[r]=s}if(n)this.validateSchema(e,!0);return s}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta)this._compileMetaSchema(e);else nt.compileSchema.call(this,e);if(!e.validate)throw Error("ajv implementation error");return e.validate}_compileMetaSchema(e){let t=this.opts;this.opts=this._metaOpts;try{nt.compileSchema.call(this,e)}finally{this.opts=t}}}Fa.ValidationError=dC.default;Fa.MissingRefError=$p.default;qt.default=Fa;function Pp(e,t,r,n="error"){for(let a in e){let i=a;if(i in t)this.logger[n](`${r}: option ${a}. ${e[i]}`)}}function Lp(e){return e=at.normalizeId(e),this.schemas[e]||this.refs[e]}function hC(){let e=this.opts.schemas;if(!e)return;if(Array.isArray(e))this.addSchema(e);else for(let t in e)this.addSchema(e[t],t)}function gC(){for(let e in this.opts.formats){let t=this.opts.formats[e];if(t)this.addFormat(e,t)}}function yC(e){if(Array.isArray(e)){this.addVocabulary(e);return}this.logger.warn("keywords option as map is deprecated, pass array");for(let t in e){let r=e[t];if(!r.keyword)r.keyword=t;this.addKeyword(r)}}function IC(){let e={...this.opts};for(let t of lC)delete e[t];return e}var qC={log(){},warn(){},error(){}};function wC(e){if(e===!1)return qC;if(e===void 0)return console;if(e.log&&e.warn&&e.error)return e;throw Error("logger must implement log, warn and error methods")}var bC=/^[a-z_$][a-z0-9_$:-]*$/i;function vC(e,t){let{RULES:r}=this;if(Nr.eachItem(e,(n)=>{if(r.keywords[n])throw Error(`Keyword ${n} is already defined`);if(!bC.test(n))throw Error(`Keyword ${n} has invalid name`)}),!t)return;if(t.$data&&!(("code"in t)||("validate"in t)))throw Error('$data keyword must have "code" or "validate" function')}function hs(e,t,r){var n;let a=t===null||t===void 0?void 0:t.post;if(r&&a)throw Error('keyword with "post" flag cannot have "type"');let{RULES:i}=this,o=a?i.post:i.rules.find(({type:d})=>d===r);if(!o)o={type:r,rules:[]},i.rules.push(o);if(i.keywords[e]=!0,!t)return;let s={keyword:e,definition:{...t,type:zt.getJSONTypes(t.type),schemaType:zt.getJSONTypes(t.schemaType)}};if(t.before)AC.call(this,o,s,t.before);else o.rules.push(s);i.all[e]=s,(n=t.implements)===null||n===void 0||n.forEach((d)=>this.addKeyword(d))}function AC(e,t,r){let n=e.rules.findIndex((a)=>a.keyword===r);if(n>=0)e.rules.splice(n,0,t);else e.rules.push(t),this.logger.warn(`rule ${r} is not defined`)}function CC(e){let{metaSchema:t}=e;if(t===void 0)return;if(e.$data&&this.opts.$data)t=zp(t);e.validateSchema=this.compile(t,!0)}var kC={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function zp(e){return{anyOf:[e,kC]}}});var Ep=w(function(jp){Object.defineProperty(jp,"__esModule",{value:!0});var PC={keyword:"id",code(){throw Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};jp.default=PC});var Ha=w(function(Xp){Object.defineProperty(Xp,"__esModule",{value:!0});Xp.callRef=Xp.getValidate=void 0;var $C=Xr(),Ga=We(),Z=X(),Dr=Xe(),Ka=Ln(),jt=D(),SC={keyword:"$ref",schemaType:"string",code(e){let{gen:t,schema:r,it:n}=e,{baseId:a,schemaEnv:i,validateName:o,opts:s,self:d}=n,{root:c}=i;if((r==="#"||r==="#/")&&a===c.baseId)return u();let l=Ka.resolveRef.call(d,c,a,r);if(l===void 0)throw new $C.default(n.opts.uriResolver,a,r);if(l instanceof Ka.SchemaEnv)return m(l);return h(l);function u(){if(i===c)return Za(e,o,i,i.$async);let f=t.scopeValue("root",{ref:c});return Za(e,Z._`${f}.validate`,c,c.$async)}function m(f){let p=Tp(e,f);Za(e,p,f,f.$async)}function h(f){let p=t.scopeValue("schema",s.code.source===!0?{ref:f,code:Z.stringify(f)}:{ref:f}),g=t.name("valid"),y=e.subschema({schema:f,dataTypes:[],schemaPath:Z.nil,topSchemaRef:p,errSchemaPath:r},g);e.mergeEvaluated(y),e.ok(g)}}};function Tp(e,t){let{gen:r}=e;return t.validate?r.scopeValue("validate",{ref:t.validate}):Z._`${r.scopeValue("wrapper",{ref:t})}.validate`}Xp.getValidate=Tp;function Za(e,t,r,n){let{gen:a,it:i}=e,{allErrors:o,schemaEnv:s,opts:d}=i,c=d.passContext?Dr.default.this:Z.nil;if(n)l();else u();function l(){if(!s.$async)throw Error("async schema referenced by sync schema");let f=a.let("valid");a.try(()=>{if(a.code(Z._`await ${Ga.callValidateCode(e,t,c)}`),h(t),!o)a.assign(f,!0)},(p)=>{if(a.if(Z._`!(${p} instanceof ${i.ValidationError})`,()=>a.throw(p)),m(p),!o)a.assign(f,!1)}),e.ok(f)}function u(){e.result(Ga.callValidateCode(e,t,c),()=>h(t),()=>m(t))}function m(f){let p=Z._`${f}.errors`;a.assign(Dr.default.vErrors,Z._`${Dr.default.vErrors} === null ? ${p} : ${Dr.default.vErrors}.concat(${p})`),a.assign(Dr.default.errors,Z._`${Dr.default.vErrors}.length`)}function h(f){var p;if(!i.opts.unevaluated)return;let g=(p=r===null||r===void 0?void 0:r.validate)===null||p===void 0?void 0:p.evaluated;if(i.props!==!0)if(g&&!g.dynamicProps){if(g.props!==void 0)i.props=jt.mergeEvaluated.props(a,g.props,i.props)}else{let y=a.var("props",Z._`${f}.evaluated.props`);i.props=jt.mergeEvaluated.props(a,y,i.props,Z.Name)}if(i.items!==!0)if(g&&!g.dynamicItems){if(g.items!==void 0)i.items=jt.mergeEvaluated.items(a,g.items,i.items)}else{let y=a.var("items",Z._`${f}.evaluated.items`);i.items=jt.mergeEvaluated.items(a,y,i.items,Z.Name)}}}Xp.callRef=Za;Xp.default=SC});var ys=w(function(Wp){Object.defineProperty(Wp,"__esModule",{value:!0});var zC=Ep(),jC=Ha(),EC=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",zC.default,jC.default];Wp.default=EC});var Vp=w(function(Dp){Object.defineProperty(Dp,"__esModule",{value:!0});var Tt=X(),Et=Tt.operators,Ja={maximum:{okStr:"<=",ok:Et.LTE,fail:Et.GT},minimum:{okStr:">=",ok:Et.GTE,fail:Et.LT},exclusiveMaximum:{okStr:"<",ok:Et.LT,fail:Et.GTE},exclusiveMinimum:{okStr:">",ok:Et.GT,fail:Et.LTE}},XC={message:({keyword:e,schemaCode:t})=>Tt.str`must be ${Ja[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>Tt._`{comparison: ${Ja[e].okStr}, limit: ${t}}`},NC={keyword:Object.keys(Ja),type:"number",schemaType:"number",$data:!0,error:XC,code(e){let{keyword:t,data:r,schemaCode:n}=e;e.fail$data(Tt._`${r} ${Ja[t].fail} ${n} || isNaN(${r})`)}};Dp.default=NC});var Bp=w(function(Mp){Object.defineProperty(Mp,"__esModule",{value:!0});var it=X(),DC={message:({schemaCode:e})=>it.str`must be multiple of ${e}`,params:({schemaCode:e})=>it._`{multipleOf: ${e}}`},VC={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:DC,code(e){let{gen:t,data:r,schemaCode:n,it:a}=e,i=a.opts.multipleOfPrecision,o=t.let("res"),s=i?it._`Math.abs(Math.round(${o}) - ${o}) > 1e-${i}`:it._`${o} !== parseInt(${o})`;e.fail$data(it._`(${n} === 0 || (${o} = ${r}/${n}, ${s}))`)}};Mp.default=VC});var Zp=w(function(Fp){Object.defineProperty(Fp,"__esModule",{value:!0});function Up(e){let t=e.length,r=0,n=0,a;while(n<t)if(r++,a=e.charCodeAt(n++),a>=55296&&a<=56319&&n<t){if(a=e.charCodeAt(n),(a&64512)===56320)n++}return r}Fp.default=Up;Up.code='require("ajv/dist/runtime/ucs2length").default'});var Hp=w(function(Kp){Object.defineProperty(Kp,"__esModule",{value:!0});var ve=X(),Gp=D(),UC=Zp(),FC={message({keyword:e,schemaCode:t}){return ve.str`must NOT have ${e==="maxLength"?"more":"fewer"} than ${t} characters`},params:({schemaCode:e})=>ve._`{limit: ${e}}`},ZC={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:FC,code(e){let{keyword:t,data:r,schemaCode:n,it:a}=e,i=t==="maxLength"?ve.operators.GT:ve.operators.LT,o=a.opts.unicode===!1?ve._`${r}.length`:ve._`${Gp.useFunc(e.gen,UC.default)}(${r})`;e.fail$data(ve._`${o} ${i} ${n}`)}};Kp.default=ZC});var em=w(function(Qp){Object.defineProperty(Qp,"__esModule",{value:!0});var Jp=We(),Yp=D(),De=X(),KC={message:({schemaCode:e})=>De.str`must match pattern "${e}"`,params:({schemaCode:e})=>De._`{pattern: ${e}}`},HC={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:KC,code(e){let{gen:t,data:r,$data:n,schema:a,schemaCode:i,it:o}=e,s=o.opts.unicodeRegExp?"u":"";if(n){let{regExp:d}=o.opts.code,c=d.code==="new RegExp"?De._`new RegExp`:Yp.useFunc(t,d),l=t.let("valid");t.try(()=>t.assign(l,De._`${c}(${i}, ${s}).test(${r})`),()=>t.assign(l,!1)),e.fail$data(De._`!${l}`)}else{let d=Jp.usePattern(e,a);e.fail$data(De._`!${d}.test(${r})`)}}};Qp.default=HC});var rm=w(function(tm){Object.defineProperty(tm,"__esModule",{value:!0});var ot=X(),YC={message({keyword:e,schemaCode:t}){return ot.str`must NOT have ${e==="maxProperties"?"more":"fewer"} than ${t} properties`},params:({schemaCode:e})=>ot._`{limit: ${e}}`},QC={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:YC,code(e){let{keyword:t,data:r,schemaCode:n}=e,a=t==="maxProperties"?ot.operators.GT:ot.operators.LT;e.fail$data(ot._`Object.keys(${r}).length ${a} ${n}`)}};tm.default=QC});var im=w(function(am){Object.defineProperty(am,"__esModule",{value:!0});var st=We(),dt=X(),nm=D(),t0={message:({params:{missingProperty:e}})=>dt.str`must have required property '${e}'`,params:({params:{missingProperty:e}})=>dt._`{missingProperty: ${e}}`},r0={keyword:"required",type:"object",schemaType:"array",$data:!0,error:t0,code(e){let{gen:t,schema:r,schemaCode:n,data:a,$data:i,it:o}=e,{opts:s}=o;if(!i&&r.length===0)return;let d=r.length>=s.loopRequired;if(o.allErrors)c();else l();if(s.strictRequired){let h=e.parentSchema.properties,{definedProperties:f}=e.it;for(let p of r)if((h===null||h===void 0?void 0:h[p])===void 0&&!f.has(p)){let g=o.schemaEnv.baseId+o.errSchemaPath,y=`required property "${p}" is not defined at "${g}" (strictRequired)`;nm.checkStrictMode(o,y,o.opts.strictRequired)}}function c(){if(d||i)e.block$data(dt.nil,u);else for(let h of r)st.checkReportMissingProp(e,h)}function l(){let h=t.let("missing");if(d||i){let f=t.let("valid",!0);e.block$data(f,()=>m(h,f)),e.ok(f)}else t.if(st.checkMissingProp(e,r,h)),st.reportMissingProp(e,h),t.else()}function u(){t.forOf("prop",n,(h)=>{e.setParams({missingProperty:h}),t.if(st.noPropertyInData(t,a,h,s.ownProperties),()=>e.error())})}function m(h,f){e.setParams({missingProperty:h}),t.forOf(h,n,()=>{t.assign(f,st.propertyInData(t,a,h,s.ownProperties)),t.if(dt.not(f),()=>{e.error(),t.break()})},dt.nil)}}};am.default=r0});var sm=w(function(om){Object.defineProperty(om,"__esModule",{value:!0});var ct=X(),a0={message({keyword:e,schemaCode:t}){return ct.str`must NOT have ${e==="maxItems"?"more":"fewer"} than ${t} items`},params:({schemaCode:e})=>ct._`{limit: ${e}}`},i0={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:a0,code(e){let{keyword:t,data:r,schemaCode:n}=e,a=t==="maxItems"?ct.operators.GT:ct.operators.LT;e.fail$data(ct._`${r}.length ${a} ${n}`)}};om.default=i0});var Ya=w(function(cm){Object.defineProperty(cm,"__esModule",{value:!0});var dm=Yo();dm.code='require("ajv/dist/runtime/equal").default';cm.default=dm});var pm=w(function(um){Object.defineProperty(um,"__esModule",{value:!0});var Vr=kn(),V=X(),lm=D(),d0=Ya(),c0={message:({params:{i:e,j:t}})=>V.str`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>V._`{i: ${e}, j: ${t}}`},l0={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:c0,code(e){let{gen:t,data:r,$data:n,schema:a,parentSchema:i,schemaCode:o,it:s}=e;if(!n&&!a)return;let d=t.let("valid"),c=i.items?Vr.getSchemaTypes(i.items):[];e.block$data(d,l,V._`${o} === false`),e.ok(d);function l(){let f=t.let("i",V._`${r}.length`),p=t.let("j");e.setParams({i:f,j:p}),t.assign(d,!0),t.if(V._`${f} > 1`,()=>(u()?m:h)(f,p))}function u(){return c.length>0&&!c.some((f)=>f==="object"||f==="array")}function m(f,p){let g=t.name("item"),y=Vr.checkDataTypes(c,g,s.opts.strictNumbers,Vr.DataType.Wrong),b=t.const("indices",V._`{}`);t.for(V._`;${f}--;`,()=>{if(t.let(g,V._`${r}[${f}]`),t.if(y,V._`continue`),c.length>1)t.if(V._`typeof ${g} == "string"`,V._`${g} += "_"`);t.if(V._`typeof ${b}[${g}] == "number"`,()=>{t.assign(p,V._`${b}[${g}]`),e.error(),t.assign(d,!1).break()}).code(V._`${b}[${g}] = ${f}`)})}function h(f,p){let g=lm.useFunc(t,d0.default),y=t.name("outer");t.label(y).for(V._`;${f}--;`,()=>t.for(V._`${p} = ${f}; ${p}--;`,()=>t.if(V._`${g}(${r}[${f}], ${r}[${p}])`,()=>{e.error(),t.assign(d,!1).break(y)})))}}};um.default=l0});var hm=w(function(fm){Object.defineProperty(fm,"__esModule",{value:!0});var Mr=X(),mm=D(),p0=Ya(),m0={message:"must be equal to constant",params:({schemaCode:e})=>Mr._`{allowedValue: ${e}}`},f0={keyword:"const",$data:!0,error:m0,code(e){let{gen:t,data:r,$data:n,schemaCode:a,schema:i}=e;if(n||i&&typeof i=="object")e.fail$data(Mr._`!${mm.useFunc(t,p0.default)}(${r}, ${a})`);else e.fail(Mr._`${i} !== ${r}`)}};fm.default=f0});var Im=w(function(ym){Object.defineProperty(ym,"__esModule",{value:!0});var lt=X(),gm=D(),g0=Ya(),y0={message:"must be equal to one of the allowed values",params:({schemaCode:e})=>lt._`{allowedValues: ${e}}`},I0={keyword:"enum",schemaType:"array",$data:!0,error:y0,code(e){let{gen:t,data:r,$data:n,schema:a,schemaCode:i,it:o}=e;if(!n&&a.length===0)throw Error("enum must have non-empty array");let s=a.length>=o.opts.loopEnum,d,c=()=>d!==null&&d!==void 0?d:d=gm.useFunc(t,g0.default),l;if(s||n)l=t.let("valid"),e.block$data(l,u);else{if(!Array.isArray(a))throw Error("ajv implementation error");let h=t.const("vSchema",i);l=lt.or(...a.map((f,p)=>m(h,p)))}e.pass(l);function u(){t.assign(l,!1),t.forOf("v",i,(h)=>t.if(lt._`${c()}(${r}, ${h})`,()=>t.assign(l,!0).break()))}function m(h,f){let p=a[f];return typeof p==="object"&&p!==null?lt._`${c()}(${r}, ${h}[${f}])`:lt._`${r} === ${p}`}}};ym.default=I0});var Is=w(function(qm){Object.defineProperty(qm,"__esModule",{value:!0});var w0=Vp(),b0=Bp(),v0=Hp(),A0=em(),C0=rm(),k0=im(),_0=sm(),x0=pm(),P0=hm(),L0=Im(),$0=[w0.default,b0.default,v0.default,A0.default,C0.default,k0.default,_0.default,x0.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},P0.default,L0.default];qm.default=$0});var qs=w(function(bm){Object.defineProperty(bm,"__esModule",{value:!0});bm.validateAdditionalItems=void 0;var Ae=X(),Br=D(),R0={message:({params:{len:e}})=>Ae.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>Ae._`{limit: ${e}}`},O0={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:R0,code(e){let{parentSchema:t,it:r}=e,{items:n}=t;if(!Array.isArray(n)){Br.checkStrictMode(r,'"additionalItems" is ignored when "items" is not an array of schemas');return}wm(e,n)}};function wm(e,t){let{gen:r,schema:n,data:a,keyword:i,it:o}=e;o.items=!0;let s=r.const("len",Ae._`${a}.length`);if(n===!1)e.setParams({len:t.length}),e.pass(Ae._`${s} <= ${t.length}`);else if(typeof n=="object"&&!Br.alwaysValidSchema(o,n)){let c=r.var("valid",Ae._`${s} <= ${t.length}`);r.if(Ae.not(c),()=>d(c)),e.ok(c)}function d(c){r.forRange("i",t.length,s,(l)=>{if(e.subschema({keyword:i,dataProp:l,dataPropType:Br.Type.Num},c),!o.allErrors)r.if(Ae.not(c),()=>r.break())})}}bm.validateAdditionalItems=wm;bm.default=O0});var ws=w(function(km){Object.defineProperty(km,"__esModule",{value:!0});km.validateTuple=void 0;var Qa=X(),Xt=D(),Am=We(),j0={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){let{schema:t,it:r}=e;if(Array.isArray(t))return Cm(e,"additionalItems",t);if(r.items=!0,Xt.alwaysValidSchema(r,t))return;e.ok(Am.validateArray(e))}};function Cm(e,t,r=e.schema){let{gen:n,parentSchema:a,data:i,keyword:o,it:s}=e;if(l(a),s.opts.unevaluated&&r.length&&s.items!==!0)s.items=Xt.mergeEvaluated.items(n,r.length,s.items);let d=n.name("valid"),c=n.const("len",Qa._`${i}.length`);r.forEach((u,m)=>{if(Xt.alwaysValidSchema(s,u))return;n.if(Qa._`${c} > ${m}`,()=>e.subschema({keyword:o,schemaProp:m,dataProp:m},d)),e.ok(d)});function l(u){let{opts:m,errSchemaPath:h}=s,f=r.length,p=f===u.minItems&&(f===u.maxItems||u[t]===!1);if(m.strictTuples&&!p){let g=`"${o}" is ${f}-tuple, but minItems or maxItems/${t} are not specified or different at path "${h}"`;Xt.checkStrictMode(s,g,m.strictTuples)}}}km.validateTuple=Cm;km.default=j0});var Lm=w(function(Pm){Object.defineProperty(Pm,"__esModule",{value:!0});var xm=ws(),T0={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:(e)=>xm.validateTuple(e,"items")};Pm.default=T0});var zm=w(function(Om){Object.defineProperty(Om,"__esModule",{value:!0});var ei=X(),$m=D(),Sm=We(),Rm=qs(),N0={message:({params:{len:e}})=>ei.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>ei._`{limit: ${e}}`},W0={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:N0,code(e){let{schema:t,parentSchema:r,it:n}=e,{prefixItems:a}=r;if(n.items=!0,$m.alwaysValidSchema(n,t))return;if(a)Rm.validateAdditionalItems(e,a);else e.ok(Sm.validateArray(e))}};Om.default=W0});var Em=w(function(jm){Object.defineProperty(jm,"__esModule",{value:!0});var K=X(),Nt=D(),V0={message:({params:{min:e,max:t}})=>t===void 0?K.str`must contain at least ${e} valid item(s)`:K.str`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>t===void 0?K._`{minContains: ${e}}`:K._`{minContains: ${e}, maxContains: ${t}}`},M0={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:V0,code(e){let{gen:t,schema:r,parentSchema:n,data:a,it:i}=e,o,s,{minContains:d,maxContains:c}=n;if(i.opts.next)o=d===void 0?1:d,s=c;else o=1;let l=t.const("len",K._`${a}.length`);if(e.setParams({min:o,max:s}),s===void 0&&o===0){Nt.checkStrictMode(i,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(s!==void 0&&o>s){Nt.checkStrictMode(i,'"minContains" > "maxContains" is always invalid'),e.fail();return}if(Nt.alwaysValidSchema(i,r)){let p=K._`${l} >= ${o}`;if(s!==void 0)p=K._`${p} && ${l} <= ${s}`;e.pass(p);return}i.items=!0;let u=t.name("valid");if(s===void 0&&o===1)h(u,()=>t.if(u,()=>t.break()));else if(o===0){if(t.let(u,!0),s!==void 0)t.if(K._`${a}.length > 0`,m)}else t.let(u,!1),m();e.result(u,()=>e.reset());function m(){let p=t.name("_valid"),g=t.let("count",0);h(p,()=>t.if(p,()=>f(g)))}function h(p,g){t.forRange("i",0,l,(y)=>{e.subschema({keyword:"contains",dataProp:y,dataPropType:Nt.Type.Num,compositeRule:!0},p),g()})}function f(p){if(t.code(K._`${p}++`),s===void 0)t.if(K._`${p} >= ${o}`,()=>t.assign(u,!0).break());else if(t.if(K._`${p} > ${s}`,()=>t.assign(u,!1).break()),o===1)t.assign(u,!0);else t.if(K._`${p} >= ${o}`,()=>t.assign(u,!0))}}};jm.default=M0});var ti=w(function(Wm){Object.defineProperty(Wm,"__esModule",{value:!0});Wm.validateSchemaDeps=Wm.validatePropertyDeps=Wm.error=void 0;var Ur=X(),Tm=D(),ut=We();Wm.error={message:({params:{property:e,depsCount:t,deps:r}})=>Ur.str`must have ${t===1?"property":"properties"} ${r} when property ${e} is present`,params:({params:{property:e,depsCount:t,deps:r,missingProperty:n}})=>Ur._`{property: ${e},
|
|
32
32
|
missingProperty: ${n},
|
|
33
33
|
depsCount: ${t},
|
|
34
|
-
deps: ${r}}`};var U0={keyword:"dependencies",type:"object",schemaType:"object",error:Wm.error,code(e){let[t,r]=F0(e);Xm(e,t),Nm(e,r)}};function F0({schema:e}){let t={},r={};for(let n in e){if(n==="__proto__")continue;let a=Array.isArray(e[n])?t:r;a[n]=e[n]}return[t,r]}function Xm(e,t=e.schema){let{gen:r,data:n,it:a}=e;if(Object.keys(t).length===0)return;let i=r.let("missing");for(let o in t){let s=t[o];if(s.length===0)continue;let d=ut.propertyInData(r,n,o,a.opts.ownProperties);if(e.setParams({property:o,depsCount:s.length,deps:s.join(", ")}),a.allErrors)r.if(d,()=>{for(let c of s)ut.checkReportMissingProp(e,c)});else r.if(Ur._`${d} && (${ut.checkMissingProp(e,s,i)})`),ut.reportMissingProp(e,i),r.else()}}Wm.validatePropertyDeps=Xm;function Nm(e,t=e.schema){let{gen:r,data:n,keyword:a,it:i}=e,o=r.name("valid");for(let s in t){if(Tm.alwaysValidSchema(i,t[s]))continue;r.if(ut.propertyInData(r,n,s,i.opts.ownProperties),()=>{let d=e.subschema({keyword:a,schemaProp:s},o);e.mergeValidEvaluated(d,o)},()=>r.var(o,!0)),e.ok(o)}}Wm.validateSchemaDeps=Nm;Wm.default=U0});var Um=w(function(Bm){Object.defineProperty(Bm,"__esModule",{value:!0});var ri=X(),Mm=D(),K0={message:"property name must be valid",params:({params:e})=>ri._`{propertyName: ${e.propertyName}}`},H0={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:K0,code(e){let{gen:t,schema:r,data:n,it:a}=e;if(Mm.alwaysValidSchema(a,r))return;let i=t.name("valid");t.forIn("key",n,(o)=>{e.setParams({propertyName:o}),e.subschema({keyword:"propertyNames",data:o,dataTypes:["string"],propertyName:o,compositeRule:!0},i),t.if(ri.not(i),()=>{if(e.error(!0),!a.allErrors)t.break()})}),e.ok(i)}};Bm.default=H0});var bs=w(function(Fm){Object.defineProperty(Fm,"__esModule",{value:!0});var Wt=We(),ee=X(),Y0=Xe(),Dt=D(),Q0={message:"must NOT have additional properties",params:({params:e})=>ee._`{additionalProperty: ${e.additionalProperty}}`},ek={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:Q0,code(e){let{gen:t,schema:r,parentSchema:n,data:a,errsCount:i,it:o}=e;if(!i)throw Error("ajv implementation error");let{allErrors:s,opts:d}=o;if(o.props=!0,d.removeAdditional!=="all"&&Dt.alwaysValidSchema(o,r))return;let c=Wt.allSchemaProperties(n.properties),l=Wt.allSchemaProperties(n.patternProperties);u(),e.ok(ee._`${i} === ${Y0.default.errors}`);function u(){t.forIn("key",a,(g)=>{if(!c.length&&!l.length)f(g);else t.if(m(g),()=>f(g))})}function m(g){let y;if(c.length>8){let b=Dt.schemaRefOrVal(o,n.properties,"properties");y=Wt.isOwnProperty(t,b,g)}else if(c.length)y=ee.or(...c.map((b)=>ee._`${g} === ${b}`));else y=ee.nil;if(l.length)y=ee.or(y,...l.map((b)=>ee._`${Wt.usePattern(e,b)}.test(${g})`));return ee.not(y)}function h(g){t.code(ee._`delete ${a}[${g}]`)}function f(g){if(d.removeAdditional==="all"||d.removeAdditional&&r===!1){h(g);return}if(r===!1){if(e.setParams({additionalProperty:g}),e.error(),!s)t.break();return}if(typeof r=="object"&&!Dt.alwaysValidSchema(o,r)){let y=t.name("valid");if(d.removeAdditional==="failing")p(g,y,!1),t.if(ee.not(y),()=>{e.reset(),h(g)});else if(p(g,y),!s)t.if(ee.not(y),()=>t.break())}}function p(g,y,b){let q={keyword:"additionalProperties",dataProp:g,dataPropType:Dt.Type.Str};if(b===!1)Object.assign(q,{compositeRule:!0,createErrors:!1,allErrors:!1});e.subschema(q,y)}}};Fm.default=ek});var Hm=w(function(Km){Object.defineProperty(Km,"__esModule",{value:!0});var Gm=Er(),ni=We(),Fr=D(),Zm=bs(),rk={keyword:"properties",type:"object",schemaType:"object",code(e){let{gen:t,schema:r,parentSchema:n,data:a,it:i}=e;if(i.opts.removeAdditional==="all"&&n.additionalProperties===void 0)Zm.default.code(new Gm.KeywordCxt(i,Zm.default,"additionalProperties"));let o=ni.allSchemaProperties(r);for(let u of o)i.definedProperties.add(u);if(i.opts.unevaluated&&o.length&&i.props!==!0)i.props=Fr.mergeEvaluated.props(t,Fr.toHash(o),i.props);let s=o.filter((u)=>!Fr.alwaysValidSchema(i,r[u]));if(s.length===0)return;let d=t.name("valid");for(let u of s){if(c(u))l(u);else{if(t.if(ni.propertyInData(t,a,u,i.opts.ownProperties)),l(u),!i.allErrors)t.else().var(d,!0);t.endIf()}e.it.definedProperties.add(u),e.ok(d)}function c(u){return i.opts.useDefaults&&!i.compositeRule&&r[u].default!==void 0}function l(u){e.subschema({keyword:"properties",schemaProp:u,dataProp:u},d)}}};Km.default=rk});var Ym=w(function(Jm){Object.defineProperty(Jm,"__esModule",{value:!0});var ai=We(),Vt=X(),ii=D(),oi=D(),ak={keyword:"patternProperties",type:"object",schemaType:"object",code(e){let{gen:t,schema:r,data:n,parentSchema:a,it:i}=e,{opts:o}=i,s=ai.allSchemaProperties(r),d=s.filter((p)=>ii.alwaysValidSchema(i,r[p]));if(s.length===0||d.length===s.length&&(!i.opts.unevaluated||i.props===!0))return;let c=o.strictSchema&&!o.allowMatchingProperties&&a.properties,l=t.name("valid");if(i.props!==!0&&!(i.props instanceof Vt.Name))i.props=oi.evaluatedPropsToName(t,i.props);let{props:u}=i;m();function m(){for(let p of s){if(c)h(p);if(i.allErrors)f(p);else t.var(l,!0),f(p),t.if(l)}}function h(p){for(let g in c)if(new RegExp(p).test(g))ii.checkStrictMode(i,`property ${g} matches pattern ${p} (use allowMatchingProperties)`)}function f(p){t.forIn("key",n,(g)=>{t.if(Vt._`${ai.usePattern(e,p)}.test(${g})`,()=>{let y=d.includes(p);if(!y)e.subschema({keyword:"patternProperties",schemaProp:p,dataProp:g,dataPropType:oi.Type.Str},l);if(i.opts.unevaluated&&u!==!0)t.assign(Vt._`${u}[${g}]`,!0);else if(!y&&!i.allErrors)t.if(Vt.not(l),()=>t.break())})})}}};Jm.default=ak});var tf=w(function(ef){Object.defineProperty(ef,"__esModule",{value:!0});var Qm=D(),ok={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){let{gen:t,schema:r,it:n}=e;if(Qm.alwaysValidSchema(n,r)){e.fail();return}let a=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},a),e.failResult(a,()=>e.reset(),()=>e.error())},error:{message:"must NOT be valid"}};ef.default=ok});var af=w(function(nf){Object.defineProperty(nf,"__esModule",{value:!0});var rf=We(),dk={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:rf.validateUnion,error:{message:"must match a schema in anyOf"}};nf.default=dk});var df=w(function(sf){Object.defineProperty(sf,"__esModule",{value:!0});var Mt=X(),of=D(),lk={message:"must match exactly one schema in oneOf",params:({params:e})=>Mt._`{passingSchemas: ${e.passing}}`},uk={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:lk,code(e){let{gen:t,schema:r,parentSchema:n,it:a}=e;if(!Array.isArray(r))throw Error("ajv implementation error");if(a.opts.discriminator&&n.discriminator)return;let i=r,o=t.let("valid",!1),s=t.let("passing",null),d=t.name("_valid");e.setParams({passing:s}),t.block(c),e.result(o,()=>e.reset(),()=>e.error(!0));function c(){i.forEach((l,u)=>{let m;if(of.alwaysValidSchema(a,l))t.var(d,!0);else m=e.subschema({keyword:"oneOf",schemaProp:u,compositeRule:!0},d);if(u>0)t.if(Mt._`${d} && ${o}`).assign(o,!1).assign(s,Mt._`[${s}, ${u}]`).else();t.if(d,()=>{if(t.assign(o,!0),t.assign(s,u),m)e.mergeEvaluated(m,Mt.Name)})})}}};sf.default=uk});var uf=w(function(lf){Object.defineProperty(lf,"__esModule",{value:!0});var cf=D(),mk={keyword:"allOf",schemaType:"array",code(e){let{gen:t,schema:r,it:n}=e;if(!Array.isArray(r))throw Error("ajv implementation error");let a=t.name("valid");r.forEach((i,o)=>{if(cf.alwaysValidSchema(n,i))return;let s=e.subschema({keyword:"allOf",schemaProp:o},a);e.ok(a),e.mergeEvaluated(s)})}};lf.default=mk});var ff=w(function(mf){Object.defineProperty(mf,"__esModule",{value:!0});var Bt=X(),si=D(),hk={message:({params:e})=>Bt.str`must match "${e.ifClause}" schema`,params:({params:e})=>Bt._`{failingKeyword: ${e.ifClause}}`},gk={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:hk,code(e){let{gen:t,parentSchema:r,it:n}=e;if(r.then===void 0&&r.else===void 0)si.checkStrictMode(n,'"if" without "then" and "else" is ignored');let a=pf(n,"then"),i=pf(n,"else");if(!a&&!i)return;let o=t.let("valid",!0),s=t.name("_valid");if(d(),e.reset(),a&&i){let l=t.let("ifClause");e.setParams({ifClause:l}),t.if(s,c("then",l),c("else",l))}else if(a)t.if(s,c("then"));else t.if(Bt.not(s),c("else"));e.pass(o,()=>e.error(!0));function d(){let l=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},s);e.mergeEvaluated(l)}function c(l,u){return()=>{let m=e.subschema({keyword:l},s);if(t.assign(o,s),e.mergeValidEvaluated(m,o),u)t.assign(u,Bt._`${l}`);else e.setParams({ifClause:l})}}}};function pf(e,t){let r=e.schema[t];return r!==void 0&&!si.alwaysValidSchema(e,r)}mf.default=gk});var yf=w(function(gf){Object.defineProperty(gf,"__esModule",{value:!0});var hf=D(),Ik={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:r}){if(t.if===void 0)hf.checkStrictMode(r,`"${e}" without "if" is ignored`)}};gf.default=Ik});var vs=w(function(If){Object.defineProperty(If,"__esModule",{value:!0});var wk=qs(),bk=Lm(),vk=ws(),Ak=zm(),Ck=Em(),kk=ti(),_k=Um(),xk=bs(),Pk=Hm(),Lk=Ym(),$k=tf(),Sk=af(),Rk=df(),Ok=uf(),zk=ff(),jk=yf();function Ek(e=!1){let t=[$k.default,Sk.default,Rk.default,Ok.default,zk.default,jk.default,_k.default,xk.default,kk.default,Pk.default,Lk.default];if(e)t.push(bk.default,Ak.default);else t.push(wk.default,vk.default);return t.push(Ck.default),t}If.default=Ek});var wf=w(function(qf){Object.defineProperty(qf,"__esModule",{value:!0});var W=X(),Xk={message:({schemaCode:e})=>W.str`must match format "${e}"`,params:({schemaCode:e})=>W._`{format: ${e}}`},Nk={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:Xk,code(e,t){let{gen:r,data:n,$data:a,schema:i,schemaCode:o,it:s}=e,{opts:d,errSchemaPath:c,schemaEnv:l,self:u}=s;if(!d.validateFormats)return;if(a)m();else h();function m(){let f=r.scopeValue("formats",{ref:u.formats,code:d.code.formats}),p=r.const("fDef",W._`${f}[${o}]`),g=r.let("fType"),y=r.let("format");r.if(W._`typeof ${p} == "object" && !(${p} instanceof RegExp)`,()=>r.assign(g,W._`${p}.type || "string"`).assign(y,W._`${p}.validate`),()=>r.assign(g,W._`"string"`).assign(y,p)),e.fail$data(W.or(b(),q()));function b(){if(d.strictSchema===!1)return W.nil;return W._`${o} && !${y}`}function q(){let O=l.$async?W._`(${p}.async ? await ${y}(${n}) : ${y}(${n}))`:W._`${y}(${n})`,x=W._`(typeof ${y} == "function" ? ${O} : ${y}.test(${n}))`;return W._`${y} && ${y} !== true && ${g} === ${t} && !${x}`}}function h(){let f=u.formats[i];if(!f){b();return}if(f===!0)return;let[p,g,y]=q(f);if(p===t)e.pass(O());function b(){if(d.strictSchema===!1){u.logger.warn(x());return}throw Error(x());function x(){return`unknown format "${i}" ignored in schema at path "${c}"`}}function q(x){let H=x instanceof RegExp?W.regexpCode(x):d.code.formats?W._`${d.code.formats}${W.getProperty(i)}`:void 0,A=r.scopeValue("formats",{key:i,ref:x,code:H});if(typeof x=="object"&&!(x instanceof RegExp))return[x.type||"string",x.validate,W._`${A}.validate`];return["string",x,A]}function O(){if(typeof f=="object"&&!(f instanceof RegExp)&&f.async){if(!l.$async)throw Error("async format in sync schema");return W._`await ${y}(${n})`}return typeof g=="function"?W._`${y}(${n})`:W._`${y}.test(${n})`}}}};qf.default=Nk});var As=w(function(bf){Object.defineProperty(bf,"__esModule",{value:!0});var Dk=wf(),Vk=[Dk.default];bf.default=Vk});var Cs=w(function(vf){Object.defineProperty(vf,"__esModule",{value:!0});vf.contentVocabulary=vf.metadataVocabulary=void 0;vf.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];vf.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]});var kf=w(function(Cf){Object.defineProperty(Cf,"__esModule",{value:!0});var Uk=ys(),Fk=Is(),Zk=vs(),Gk=As(),di=Cs(),Kk=[Uk.default,Fk.default,(0,Zk.default)(),Gk.default,di.metadataVocabulary,di.contentVocabulary];Cf.default=Kk});var Lf=w(function(xf){Object.defineProperty(xf,"__esModule",{value:!0});xf.DiscrError=void 0;var _f;(function(e){e.Tag="tag",e.Mapping="mapping"})(_f||(xf.DiscrError=_f={}))});var ks=w(function(Sf){Object.defineProperty(Sf,"__esModule",{value:!0});var Ve=X(),Zr=Lf(),ci=Ln(),Jk=Xr(),$f=D(),Yk={message:({params:{discrError:e,tagName:t}})=>e===Zr.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:r}})=>Ve._`{error: ${e}, tag: ${r}, tagValue: ${t}}`},Qk={keyword:"discriminator",type:"object",schemaType:"object",error:Yk,code(e){let{gen:t,data:r,schema:n,parentSchema:a,it:i}=e,{oneOf:o}=a;if(!i.opts.discriminator)throw Error("discriminator: requires discriminator option");let s=n.propertyName;if(typeof s!="string")throw Error("discriminator: requires propertyName");if(n.mapping)throw Error("discriminator: mapping is not supported");if(!o)throw Error("discriminator: requires oneOf keyword");let d=t.let("valid",!1),c=t.const("tag",Ve._`${r}${Ve.getProperty(s)}`);t.if(Ve._`typeof ${c} == "string"`,()=>l(),()=>e.error(!1,{discrError:Zr.DiscrError.Tag,tag:c,tagName:s})),e.ok(d);function l(){let h=m();t.if(!1);for(let f in h)t.elseIf(Ve._`${c} === ${f}`),t.assign(d,u(h[f]));t.else(),e.error(!1,{discrError:Zr.DiscrError.Mapping,tag:c,tagName:s}),t.endIf()}function u(h){let f=t.name("valid"),p=e.subschema({keyword:"oneOf",schemaProp:h},f);return e.mergeEvaluated(p,Ve.Name),f}function m(){var h;let f={},p=y(a),g=!0;for(let O=0;O<o.length;O++){let x=o[O];if((x===null||x===void 0?void 0:x.$ref)&&!$f.schemaHasRulesButRef(x,i.self.RULES)){let A=x.$ref;if(x=ci.resolveRef.call(i.self,i.schemaEnv.root,i.baseId,A),x instanceof ci.SchemaEnv)x=x.schema;if(x===void 0)throw new Jk.default(i.opts.uriResolver,i.baseId,A)}let H=(h=x===null||x===void 0?void 0:x.properties)===null||h===void 0?void 0:h[s];if(typeof H!="object")throw Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${s}"`);g=g&&(p||y(x)),b(H,O)}if(!g)throw Error(`discriminator: "${s}" must be required`);return f;function y({required:O}){return Array.isArray(O)&&O.includes(s)}function b(O,x){if(O.const)q(O.const,x);else if(O.enum)for(let H of O.enum)q(H,x);else throw Error(`discriminator: "properties/${s}" must have "const" or "enum"`)}function q(O,x){if(typeof O!="string"||O in f)throw Error(`discriminator: "${s}" values must be unique strings`);f[O]=x}}}};Sf.default=Qk});var Rf=w(function(vO,t1){t1.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}});var zf=w(function(Ce,_s){Object.defineProperty(Ce,"__esModule",{value:!0});Ce.MissingRefError=Ce.ValidationError=Ce.CodeGen=Ce.Name=Ce.nil=Ce.stringify=Ce.str=Ce._=Ce.KeywordCxt=Ce.Ajv=void 0;var r1=gs(),n1=kf(),a1=ks(),Of=Rf(),i1=["/properties"],li="http://json-schema.org/draft-07/schema";class Rn extends r1.default{_addVocabularies(){if(super._addVocabularies(),n1.default.forEach((e)=>this.addVocabulary(e)),this.opts.discriminator)this.addKeyword(a1.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let e=this.opts.$data?this.$dataMetaSchema(Of,i1):Of;this.addMetaSchema(e,li,!1),this.refs["http://json-schema.org/schema"]=li}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(li)?li:void 0)}}Ce.Ajv=Rn;_s.exports=Ce=Rn;_s.exports.Ajv=Rn;Object.defineProperty(Ce,"__esModule",{value:!0});Ce.default=Rn;var o1=Er();Object.defineProperty(Ce,"KeywordCxt",{enumerable:!0,get:function(){return o1.KeywordCxt}});var Gr=X();Object.defineProperty(Ce,"_",{enumerable:!0,get:function(){return Gr._}});Object.defineProperty(Ce,"str",{enumerable:!0,get:function(){return Gr.str}});Object.defineProperty(Ce,"stringify",{enumerable:!0,get:function(){return Gr.stringify}});Object.defineProperty(Ce,"nil",{enumerable:!0,get:function(){return Gr.nil}});Object.defineProperty(Ce,"Name",{enumerable:!0,get:function(){return Gr.Name}});Object.defineProperty(Ce,"CodeGen",{enumerable:!0,get:function(){return Gr.CodeGen}});var s1=xn();Object.defineProperty(Ce,"ValidationError",{enumerable:!0,get:function(){return s1.default}});var d1=Xr();Object.defineProperty(Ce,"MissingRefError",{enumerable:!0,get:function(){return d1.default}})});var ed=w(function(Zh){Object.defineProperty(Zh,"__esModule",{value:!0});Zh.dynamicAnchor=void 0;var en=X(),P_=Xe(),ki=Ln(),Uh=Ha(),L_={keyword:"$dynamicAnchor",schemaType:"string",code:(e)=>Fh(e,e.schema)};function Fh(e,t){let{gen:r,it:n}=e;n.schemaEnv.root.dynamicAnchors[t]=!0;let a=en._`${P_.default.dynamicAnchors}${en.getProperty(t)}`,i=n.errSchemaPath==="#"?n.validateName:$_(e);r.if(en._`!${a}`,()=>r.assign(a,i))}Zh.dynamicAnchor=Fh;function $_(e){let{schemaEnv:t,schema:r,self:n}=e.it,{root:a,baseId:i,localRefs:o,meta:s}=t.root,{schemaId:d}=n.opts,c=new ki.SchemaEnv({schema:r,schemaId:d,root:a,baseId:i,localRefs:o,meta:s});return ki.compileSchema.call(n,c),Uh.getValidate(e,c)}Zh.default=L_});var td=w(function(Hh){Object.defineProperty(Hh,"__esModule",{value:!0});Hh.dynamicRef=void 0;var _i=X(),R_=Xe(),xi=Ha(),O_={keyword:"$dynamicRef",schemaType:"string",code:(e)=>Kh(e,e.schema)};function Kh(e,t){let{gen:r,keyword:n,it:a}=e;if(t[0]!=="#")throw Error(`"${n}" only supports hash fragment reference`);let i=t.slice(1);if(a.allErrors)o();else{let d=r.let("valid",!1);o(d),e.ok(d)}function o(d){if(a.schemaEnv.root.dynamicAnchors[i]){let c=r.let("_v",_i._`${R_.default.dynamicAnchors}${_i.getProperty(i)}`);r.if(c,s(c,d),s(a.validateName,d))}else s(a.validateName,d)()}function s(d,c){return c?()=>r.block(()=>{xi.callRef(e,d),r.let(c,!0)}):()=>xi.callRef(e,d)}}Hh.dynamicRef=Kh;Hh.default=O_});var tg=w(function(eg){Object.defineProperty(eg,"__esModule",{value:!0});var Yh=ed(),Qh=D(),j_={keyword:"$recursiveAnchor",schemaType:"boolean",code(e){if(e.schema)Yh.dynamicAnchor(e,"");else Qh.checkStrictMode(e.it,"$recursiveAnchor: false is ignored")}};eg.default=j_});var ag=w(function(ng){Object.defineProperty(ng,"__esModule",{value:!0});var rg=td(),T_={keyword:"$recursiveRef",schemaType:"string",code:(e)=>rg.dynamicRef(e,e.schema)};ng.default=T_});var og=w(function(ig){Object.defineProperty(ig,"__esModule",{value:!0});var N_=ed(),W_=td(),D_=tg(),V_=ag(),M_=[N_.default,W_.default,D_.default,V_.default];ig.default=M_});var dg=w(function(sg){Object.defineProperty(sg,"__esModule",{value:!0});var Pi=ti(),U_={keyword:"dependentRequired",type:"object",schemaType:"object",error:Pi.error,code:(e)=>Pi.validatePropertyDeps(e)};sg.default=U_});var ug=w(function(lg){Object.defineProperty(lg,"__esModule",{value:!0});var cg=ti(),Z_={keyword:"dependentSchemas",type:"object",schemaType:"object",code:(e)=>cg.validateSchemaDeps(e)};lg.default=Z_});var fg=w(function(mg){Object.defineProperty(mg,"__esModule",{value:!0});var pg=D(),K_={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:e,parentSchema:t,it:r}){if(t.contains===void 0)pg.checkStrictMode(r,`"${e}" without "contains" is ignored`)}};mg.default=K_});var gg=w(function(hg){Object.defineProperty(hg,"__esModule",{value:!0});var J_=dg(),Y_=ug(),Q_=fg(),ex=[J_.default,Y_.default,Q_.default];hg.default=ex});var Ig=w(function(yg){Object.defineProperty(yg,"__esModule",{value:!0});var fe=X(),Li=D(),rx=Xe(),nx={message:"must NOT have unevaluated properties",params:({params:e})=>fe._`{unevaluatedProperty: ${e.unevaluatedProperty}}`},ax={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:!0,error:nx,code(e){let{gen:t,schema:r,data:n,errsCount:a,it:i}=e;if(!a)throw Error("ajv implementation error");let{allErrors:o,props:s}=i;if(s instanceof fe.Name)t.if(fe._`${s} !== true`,()=>t.forIn("key",n,(u)=>t.if(c(s,u),()=>d(u))));else if(s!==!0)t.forIn("key",n,(u)=>s===void 0?d(u):t.if(l(s,u),()=>d(u)));i.props=!0,e.ok(fe._`${a} === ${rx.default.errors}`);function d(u){if(r===!1){if(e.setParams({unevaluatedProperty:u}),e.error(),!o)t.break();return}if(!Li.alwaysValidSchema(i,r)){let m=t.name("valid");if(e.subschema({keyword:"unevaluatedProperties",dataProp:u,dataPropType:Li.Type.Str},m),!o)t.if(fe.not(m),()=>t.break())}}function c(u,m){return fe._`!${u} || !${u}[${m}]`}function l(u,m){let h=[];for(let f in u)if(u[f]===!0)h.push(fe._`${m} !== ${f}`);return fe.and(...h)}}};yg.default=ax});var wg=w(function(qg){Object.defineProperty(qg,"__esModule",{value:!0});var Pe=X(),$i=D(),ox={message:({params:{len:e}})=>Pe.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>Pe._`{limit: ${e}}`},sx={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:ox,code(e){let{gen:t,schema:r,data:n,it:a}=e,i=a.items||0;if(i===!0)return;let o=t.const("len",Pe._`${n}.length`);if(r===!1)e.setParams({len:i}),e.fail(Pe._`${o} > ${i}`);else if(typeof r=="object"&&!$i.alwaysValidSchema(a,r)){let d=t.var("valid",Pe._`${o} <= ${i}`);t.if(Pe.not(d),()=>s(d,i)),e.ok(d)}a.items=!0;function s(d,c){t.forRange("i",c,o,(l)=>{if(e.subschema({keyword:"unevaluatedItems",dataProp:l,dataPropType:$i.Type.Num},d),!a.allErrors)t.if(Pe.not(d),()=>t.break())})}}};qg.default=sx});var vg=w(function(bg){Object.defineProperty(bg,"__esModule",{value:!0});var cx=Ig(),lx=wg(),ux=[cx.default,lx.default];bg.default=ux});var Cg=w(function(Ag){Object.defineProperty(Ag,"__esModule",{value:!0});var mx=ys(),fx=Is(),hx=vs(),gx=og(),yx=gg(),Ix=vg(),qx=As(),Si=Cs(),wx=[gx.default,mx.default,fx.default,(0,hx.default)(!0),qx.default,Si.metadataVocabulary,Si.contentVocabulary,yx.default,Ix.default];Ag.default=wx});var kg=w(function(vj,vx){vx.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/schema",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/core":!0,"https://json-schema.org/draft/2020-12/vocab/applicator":!0,"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0,"https://json-schema.org/draft/2020-12/vocab/validation":!0,"https://json-schema.org/draft/2020-12/vocab/meta-data":!0,"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0,"https://json-schema.org/draft/2020-12/vocab/content":!0},$dynamicAnchor:"meta",title:"Core and Validation specifications meta-schema",allOf:[{$ref:"meta/core"},{$ref:"meta/applicator"},{$ref:"meta/unevaluated"},{$ref:"meta/validation"},{$ref:"meta/meta-data"},{$ref:"meta/format-annotation"},{$ref:"meta/content"}],type:["object","boolean"],$comment:"This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.",properties:{definitions:{$comment:'"definitions" has been replaced by "$defs".',type:"object",additionalProperties:{$dynamicRef:"#meta"},deprecated:!0,default:{}},dependencies:{$comment:'"dependencies" has been split and replaced by "dependentSchemas" and "dependentRequired" in order to serve their differing semantics.',type:"object",additionalProperties:{anyOf:[{$dynamicRef:"#meta"},{$ref:"meta/validation#/$defs/stringArray"}]},deprecated:!0,default:{}},$recursiveAnchor:{$comment:'"$recursiveAnchor" has been replaced by "$dynamicAnchor".',$ref:"meta/core#/$defs/anchorString",deprecated:!0},$recursiveRef:{$comment:'"$recursiveRef" has been replaced by "$dynamicRef".',$ref:"meta/core#/$defs/uriReferenceString",deprecated:!0}}}});var _g=w(function(Aj,Ax){Ax.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/applicator",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/applicator":!0},$dynamicAnchor:"meta",title:"Applicator vocabulary meta-schema",type:["object","boolean"],properties:{prefixItems:{$ref:"#/$defs/schemaArray"},items:{$dynamicRef:"#meta"},contains:{$dynamicRef:"#meta"},additionalProperties:{$dynamicRef:"#meta"},properties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},patternProperties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},propertyNames:{format:"regex"},default:{}},dependentSchemas:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},propertyNames:{$dynamicRef:"#meta"},if:{$dynamicRef:"#meta"},then:{$dynamicRef:"#meta"},else:{$dynamicRef:"#meta"},allOf:{$ref:"#/$defs/schemaArray"},anyOf:{$ref:"#/$defs/schemaArray"},oneOf:{$ref:"#/$defs/schemaArray"},not:{$dynamicRef:"#meta"}},$defs:{schemaArray:{type:"array",minItems:1,items:{$dynamicRef:"#meta"}}}}});var xg=w(function(Cj,Cx){Cx.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/unevaluated",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0},$dynamicAnchor:"meta",title:"Unevaluated applicator vocabulary meta-schema",type:["object","boolean"],properties:{unevaluatedItems:{$dynamicRef:"#meta"},unevaluatedProperties:{$dynamicRef:"#meta"}}}});var Pg=w(function(kj,kx){kx.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/content",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/content":!0},$dynamicAnchor:"meta",title:"Content vocabulary meta-schema",type:["object","boolean"],properties:{contentEncoding:{type:"string"},contentMediaType:{type:"string"},contentSchema:{$dynamicRef:"#meta"}}}});var Lg=w(function(_j,_x){_x.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/core",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/core":!0},$dynamicAnchor:"meta",title:"Core vocabulary meta-schema",type:["object","boolean"],properties:{$id:{$ref:"#/$defs/uriReferenceString",$comment:"Non-empty fragments not allowed.",pattern:"^[^#]*#?$"},$schema:{$ref:"#/$defs/uriString"},$ref:{$ref:"#/$defs/uriReferenceString"},$anchor:{$ref:"#/$defs/anchorString"},$dynamicRef:{$ref:"#/$defs/uriReferenceString"},$dynamicAnchor:{$ref:"#/$defs/anchorString"},$vocabulary:{type:"object",propertyNames:{$ref:"#/$defs/uriString"},additionalProperties:{type:"boolean"}},$comment:{type:"string"},$defs:{type:"object",additionalProperties:{$dynamicRef:"#meta"}}},$defs:{anchorString:{type:"string",pattern:"^[A-Za-z_][-A-Za-z0-9._]*$"},uriString:{type:"string",format:"uri"},uriReferenceString:{type:"string",format:"uri-reference"}}}});var $g=w(function(xj,xx){xx.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/format-annotation",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0},$dynamicAnchor:"meta",title:"Format vocabulary meta-schema for annotation results",type:["object","boolean"],properties:{format:{type:"string"}}}});var Sg=w(function(Pj,Px){Px.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/meta-data",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/meta-data":!0},$dynamicAnchor:"meta",title:"Meta-data vocabulary meta-schema",type:["object","boolean"],properties:{title:{type:"string"},description:{type:"string"},default:!0,deprecated:{type:"boolean",default:!1},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0}}}});var Rg=w(function(Lj,Lx){Lx.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/validation",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/validation":!0},$dynamicAnchor:"meta",title:"Validation vocabulary meta-schema",type:["object","boolean"],properties:{type:{anyOf:[{$ref:"#/$defs/simpleTypes"},{type:"array",items:{$ref:"#/$defs/simpleTypes"},minItems:1,uniqueItems:!0}]},const:!0,enum:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/$defs/nonNegativeInteger"},minLength:{$ref:"#/$defs/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},maxItems:{$ref:"#/$defs/nonNegativeInteger"},minItems:{$ref:"#/$defs/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxContains:{$ref:"#/$defs/nonNegativeInteger"},minContains:{$ref:"#/$defs/nonNegativeInteger",default:1},maxProperties:{$ref:"#/$defs/nonNegativeInteger"},minProperties:{$ref:"#/$defs/nonNegativeIntegerDefault0"},required:{$ref:"#/$defs/stringArray"},dependentRequired:{type:"object",additionalProperties:{$ref:"#/$defs/stringArray"}}},$defs:{nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{$ref:"#/$defs/nonNegativeInteger",default:0},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}}}});var zg=w(function(Og){Object.defineProperty(Og,"__esModule",{value:!0});var $x=kg(),Sx=_g(),Rx=xg(),Ox=Pg(),zx=Lg(),jx=$g(),Ex=Sg(),Tx=Rg(),Xx=["/properties"];function Nx(e){return[$x,Sx,Rx,Ox,zx,t(this,jx),Ex,t(this,Tx)].forEach((r)=>this.addMetaSchema(r,void 0,!1)),this;function t(r,n){return e?r.$dataMetaSchema(n,Xx):n}}Og.default=Nx});var jg=w(function(Le,nd){Object.defineProperty(Le,"__esModule",{value:!0});Le.MissingRefError=Le.ValidationError=Le.CodeGen=Le.Name=Le.nil=Le.stringify=Le.str=Le._=Le.KeywordCxt=Le.Ajv2020=void 0;var Dx=gs(),Vx=Cg(),Mx=ks(),Bx=zg(),rd="https://json-schema.org/draft/2020-12/schema";class ea extends Dx.default{constructor(e={}){super({...e,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){if(super._addVocabularies(),Vx.default.forEach((e)=>this.addVocabulary(e)),this.opts.discriminator)this.addKeyword(Mx.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();let{$data:e,meta:t}=this.opts;if(!t)return;Bx.default.call(this,e),this.refs["http://json-schema.org/schema"]=rd}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(rd)?rd:void 0)}}Le.Ajv2020=ea;nd.exports=Le=ea;nd.exports.Ajv2020=ea;Object.defineProperty(Le,"__esModule",{value:!0});Le.default=ea;var Ux=Er();Object.defineProperty(Le,"KeywordCxt",{enumerable:!0,get:function(){return Ux.KeywordCxt}});var tn=X();Object.defineProperty(Le,"_",{enumerable:!0,get:function(){return tn._}});Object.defineProperty(Le,"str",{enumerable:!0,get:function(){return tn.str}});Object.defineProperty(Le,"stringify",{enumerable:!0,get:function(){return tn.stringify}});Object.defineProperty(Le,"nil",{enumerable:!0,get:function(){return tn.nil}});Object.defineProperty(Le,"Name",{enumerable:!0,get:function(){return tn.Name}});Object.defineProperty(Le,"CodeGen",{enumerable:!0,get:function(){return tn.CodeGen}});var Fx=xn();Object.defineProperty(Le,"ValidationError",{enumerable:!0,get:function(){return Fx.default}});var Zx=Xr();Object.defineProperty(Le,"MissingRefError",{enumerable:!0,get:function(){return Zx.default}})});var Mi={};my(Mi,{program:()=>$d,createCommand:()=>Sd,createOption:()=>Rd,createArgument:()=>Od,Command:()=>zd,Option:()=>jd,Argument:()=>Ed,Help:()=>Td,CommanderError:()=>Xd,InvalidArgumentError:()=>Nd,InvalidOptionArgumentError:()=>Wd},{program:(bP)=>$d=bP,createCommand:(bP)=>Sd=bP,createOption:(bP)=>Rd=bP,createArgument:(bP)=>Od=bP,Command:(bP)=>zd=bP,Option:(bP)=>jd=bP,Argument:(bP)=>Ed=bP,Help:(bP)=>Td=bP,CommanderError:(bP)=>Xd=bP,InvalidArgumentError:(bP)=>Nd=bP,InvalidOptionArgumentError:(bP)=>Wd=bP});import{realpathSync as oy}from"node:fs";import{fileURLToPath as lP}from"node:url";var{Argument:xd}=ra(),{Command:Vi}=_d(),{CommanderError:Uy,InvalidArgumentError:Pd}=nn(),{Help:Fy}=Ti(),{Option:Ld}=Xi();var $d=new Vi,Sd=(e)=>new Vi(e),Rd=(e,t)=>new Ld(e,t),Od=(e,t)=>new xd(e,t),zd=Vi,jd=Ld,Ed=xd,Td=Fy,Xd=Uy,Nd=Pd,Wd=Pd;var{program:AP,createCommand:CP,createArgument:kP,createOption:_P,CommanderError:na,InvalidArgumentError:xP,InvalidOptionArgumentError:PP,Command:aa,Argument:LP,Option:ia,Help:$P}=Mi;var P={success:0,internal:1,usage:2,authentication:3,notFound:4,conflict:5,validation:6,remote:7,partial:8};class R extends Error{code;details;exitCode;constructor(e,t,r={}){super(t,r.cause===void 0?void 0:{cause:r.cause});this.name="CliError",this.code=e,this.details=r.details,this.exitCode=r.exitCode??P.internal}}function Bi(e){if(e instanceof R)return e;if(e instanceof Error){let t=e;return new R(typeof t.code==="string"?t.code:"internal_error",t.message,{cause:e,...t.details!==void 0?{details:t.details}:{},...typeof t.exitCode==="number"?{exitCode:t.exitCode}:{}})}return new R("internal_error","The command could not be completed.")}function Dd(e){let t=e.optsWithGlobals();return{...t.apiUrl?{apiUrl:t.apiUrl}:{},json:t.json===!0||t.format==="json",nonInteractive:t.nonInteractive??!1,...t.profile?{profile:t.profile}:{},...t.organization?{organization:t.organization}:{},...t.space?{space:t.space}:{}}}async function de(e,t,r){return await t.createRuntime({globals:Dd(e),reporter:r.reporter})}function k(e){return new R("usage_error",e,{exitCode:P.usage})}function Ui(e,t="--input"){try{return JSON.parse(e)}catch{throw k(`${t} must be valid JSON.`)}}async function an(e){if(e.yes)return!0;let t=Dd(e.command);if(t.nonInteractive||t.json)throw k("This command requires --yes in JSON or non-interactive mode.");if(!e.dependencies.confirm)throw k("This command requires --yes when confirmation is unavailable.");return await e.dependencies.confirm(e.message)}function on(){return{human:"Cancelled.",value:{cancelled:!0}}}var Vd=[{id:"access.archivePolicy",group:"access-policies",command:"archive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/access-policies/{policyId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"policyId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.archiveProfile",group:"access-profiles",command:"archive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/access-profiles/{profileId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"profileId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.archiveRole",group:"access-roles",command:"archive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/access-roles/{roleId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"roleId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.createPolicy",group:"access-policies",command:"create",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/access-policies",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.createProfile",group:"access-profiles",command:"create",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/access-profiles",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.createRole",group:"access-roles",command:"create",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/access-roles",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.getPolicy",group:"access-policies",command:"get",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/access-policies/{policyId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"policyId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.getProfile",group:"access-profiles",command:"get",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/access-profiles/{profileId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"profileId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.getRole",group:"access-roles",command:"get",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/access-roles/{roleId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"roleId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.listConnectors",group:"access",command:"list-connectors",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/access-connectors",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"query",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.listLinkedGroups",group:"access",command:"list-linked-groups",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/access-linked-groups",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"query",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.listPolicies",group:"access-policies",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/access-policies",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"query",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.listProfiles",group:"access-profiles",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/access-profiles",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"query",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.listRoles",group:"access-roles",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/access-roles",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"connectorInstanceId",in:"query",required:!1},{name:"connectorSlug",in:"query",required:!1},{name:"provisioningMethodType",in:"query",required:!1},{name:"query",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.publishPolicy",group:"access-policies",command:"publish",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/access-policies/{policyId}/publish",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"policyId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.publishProfile",group:"access-profiles",command:"publish",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/access-profiles/{profileId}/publish",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"profileId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.publishRole",group:"access-roles",command:"publish",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/access-roles/{roleId}/publish",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"roleId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.updatePolicy",group:"access-policies",command:"update",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/access-policies/{policyId}",method:"put",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"policyId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.updateProfile",group:"access-profiles",command:"update",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/access-profiles/{profileId}",method:"put",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"profileId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.updateRole",group:"access-roles",command:"update",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/access-roles/{roleId}",method:"put",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"roleId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.approveEditProposal",group:"agents",command:"approve-edit-proposal",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/agent-edit-proposals/{proposalId}/approve",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"proposalId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.archive",group:"agents",command:"archive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"agentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.archived",group:"agents",command:"archived",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/archived",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.copilot",group:"agents",command:"copilot",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/copilot",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.create",group:"agents",command:"create",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/agents",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.createTrigger",group:"agents",command:"create-trigger",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}/triggers",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"agentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.createVersion",group:"agents",command:"create-version",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}/versions",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"agentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.deleteTrigger",group:"agents",command:"delete-trigger",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/agent-triggers/{triggerId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"triggerId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.disableTrigger",group:"agents",command:"disable-trigger",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/agent-triggers/{triggerId}/disable",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"triggerId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.discardAgentDraft",group:"agents",command:"discard-draft",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}/draft",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"agentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.get",group:"agents",command:"get",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"agentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.getAgentDraft",group:"agents",command:"get-draft",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}/draft",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"agentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.getEditProposal",group:"agents",command:"get-edit-proposal",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agent-edit-proposals/{proposalId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"proposalId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.helpDesk",group:"agents",command:"help-desk",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/help-desk",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.list",group:"agents",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agents",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"slugId",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"agentId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.listAgentTriggers",group:"agents",command:"list-agent-triggers",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}/triggers",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"agentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.listEditProposals",group:"agents",command:"list-edit-proposals",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agent-edit-proposals",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"threadId",in:"query",required:!0},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.listTriggers",group:"agents",command:"list-triggers",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agent-triggers",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.listVersions",group:"agents",command:"list-versions",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}/versions",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"agentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.managementStats",group:"agents",command:"management-stats",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/management-stats",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.publishAgentDraft",group:"agents",command:"publish-draft",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}/draft/publish",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"agentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.rejectEditProposal",group:"agents",command:"reject-edit-proposal",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/agent-edit-proposals/{proposalId}/reject",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"proposalId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.restore",group:"agents",command:"restore",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}/restore",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"agentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.revealWebhookSecret",group:"agents",command:"reveal-webhook-secret",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agent-triggers/{triggerId}/webhook-secret",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"triggerId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.spaceStats",group:"agents",command:"space-stats",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/space-stats",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.summaries",group:"agents",command:"summaries",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/summaries",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDirection",in:"query",required:!1},{name:"agentId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.update",group:"agents",command:"update",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"agentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.updateTrigger",group:"agents",command:"update-trigger",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/agent-triggers/{triggerId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"triggerId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.cancelApplicationReconnect",group:"applications",command:"cancel-application-reconnect",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/reconnect/cancel",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.confirmApplication",group:"applications",command:"confirm-application",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/confirm",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.connectApplication",group:"applications",command:"connect-application",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/catalog/{slug}/connect",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"slug",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.createCustomIntegration",group:"applications",command:"create-custom-integration",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/integrations",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.disconnectApplication",group:"applications",command:"disconnect-application",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.disconnectIntegration",group:"applications",command:"disconnect-integration",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/integrations/{id}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.duplicateApplication",group:"applications",command:"duplicate-application",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/duplicate",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.getApplication",group:"applications",command:"get-application",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"providerSyncStatus",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.getApplicationCatalog",group:"applications",command:"get-application-catalog",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/catalog/{slug}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"slug",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.getApplicationIssueSyncSettings",group:"applications",command:"get-application-issue-sync-settings",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/issue-sync",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.getApplicationJiraForgeStatus",group:"applications",command:"get-application-jira-forge-status",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/jira-forge",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.listApplicationAutomations",group:"applications",command:"list-application-agents",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/automations",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDirection",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.listApplicationAvailability",group:"applications",command:"list-application-availability",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/availability",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"slug",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.listApplicationGithubRepositories",group:"applications",command:"list-application-github-repositories",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/github/repositories",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.listApplicationGroups",group:"applications",command:"list-application-groups",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/linked-groups",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"selectedId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.listApplicationIssueTeams",group:"applications",command:"list-application-issue-teams",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/issue-teams",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.listApplications",group:"applications",command:"list-applications",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/applications",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"attention",in:"query",required:!1},{name:"connectorInstanceId",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.listApplicationSyncRuns",group:"applications",command:"list-application-sync-runs",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/sync-runs",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"event",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.listApplicationTriggerFieldOptions",group:"applications",command:"list-application-trigger-field-options",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/trigger-field-options",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"field",in:"query",required:!0},{name:"q",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.listApplicationWorkflows",group:"applications",command:"list-application-workflows",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/workflows",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"sort",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"visibility",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.listConnectedApplications",group:"applications",command:"list-connected-applications",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/connected",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"slug",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.listIntegrations",group:"applications",command:"list-integrations",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/integrations",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"alias",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"id",in:"query",required:!1},{name:"includeDeleted",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"nangoConnectionId",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"source",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.listIntegrationTools",group:"applications",command:"list-integration-tools",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/integrations/{id}/tools",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.provisionApplicationWebhook",group:"applications",command:"provision-application-webhook",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/okta-webhook",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.reconnectApplication",group:"applications",command:"reconnect-application",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/reconnect",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.renameIntegration",group:"applications",command:"rename-integration",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/integrations/{id}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.setApplicationActionMode",group:"applications",command:"set-application-action-mode",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/action-mode",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.setApplicationEnabled",group:"applications",command:"set-application-enabled",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/enabled",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.setIntegrationEnabled",group:"applications",command:"set-integration-enabled",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/integrations/{id}/enabled",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.triggerApplicationSync",group:"applications",command:"trigger-application-sync",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/sync",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.updateApplication",group:"applications",command:"update-application",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.updateApplicationIssueSyncSettings",group:"applications",command:"update-application-issue-sync-settings",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/issue-sync",method:"put",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-groups.archive",group:"assignment-groups",command:"archive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-groups/{assignmentGroupId}/archive",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"assignmentGroupId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-groups.create",group:"assignment-groups",command:"create",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-groups",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-groups.get",group:"assignment-groups",command:"get",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-groups/{assignmentGroupId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"assignmentGroupId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-groups.getMembership",group:"assignment-groups",command:"get-membership",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-groups/{assignmentGroupId}/membership",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"assignmentGroupId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-groups.getSettings",group:"assignment-groups",command:"get-settings",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-groups/settings",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-groups.list",group:"assignment-groups",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-groups",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"counts",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"kind",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"memberOf",in:"query",required:!1},{name:"offset",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"routableOnly",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDirection",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-groups.listMembers",group:"assignment-groups",command:"list-members",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-groups/{assignmentGroupId}/members",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"assignmentGroupId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"access",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDirection",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-groups.unarchive",group:"assignment-groups",command:"unarchive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-groups/{assignmentGroupId}/unarchive",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"assignmentGroupId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-groups.update",group:"assignment-groups",command:"update",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-groups/{assignmentGroupId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"assignmentGroupId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-groups.updateImport",group:"assignment-groups",command:"update-import",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-groups/imports/{connectorInstanceId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorInstanceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-rules.create",group:"assignment-rules",command:"create",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-rules",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-rules.list",group:"assignment-rules",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-rules",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-rules.remove",group:"assignment-rules",command:"remove",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-rules/{ruleId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"ruleId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-rules.reorder",group:"assignment-rules",command:"reorder",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-rules/reorder",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-rules.update",group:"assignment-rules",command:"update",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-rules/{ruleId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"ruleId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.approveEditProposal",group:"automations",command:"approve-edit-proposal",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/automation-edit-proposals/{proposalId}/approve",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"proposalId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.archive",group:"automations",command:"archive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/automations/{automationId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"automationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.archived",group:"automations",command:"archived",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/automations/archived",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.copilot",group:"automations",command:"copilot",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/automations/copilot",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.create",group:"automations",command:"create",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/automations",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.createTrigger",group:"automations",command:"create-trigger",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/automations/{automationId}/triggers",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"automationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.createVersion",group:"automations",command:"create-version",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/automations/{automationId}/versions",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"automationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.createWorkflowTrigger",group:"automations",command:"create-workflow-trigger",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/triggers",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"workflowId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.deleteTrigger",group:"automations",command:"delete-trigger",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/automation-triggers/{triggerId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"triggerId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.deleteWorkflowTrigger",group:"automations",command:"delete-workflow-trigger",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/triggers/{triggerId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"workflowId",in:"path",required:!0},{name:"triggerId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.disableTrigger",group:"automations",command:"disable-trigger",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/automation-triggers/{triggerId}/disable",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"triggerId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.get",group:"automations",command:"get",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/automations/{automationId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"automationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.getEditProposal",group:"automations",command:"get-edit-proposal",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/automation-edit-proposals/{proposalId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"proposalId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.helpDesk",group:"automations",command:"help-desk",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/automations/help-desk",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.list",group:"automations",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/automations",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"slugId",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"automationId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.listAutomationTriggers",group:"automations",command:"list-automation-triggers",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/automations/{automationId}/triggers",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"automationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.listEditProposals",group:"automations",command:"list-edit-proposals",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/automation-edit-proposals",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"threadId",in:"query",required:!0},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.listTriggers",group:"automations",command:"list-triggers",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/automation-triggers",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.listVersions",group:"automations",command:"list-versions",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/automations/{automationId}/versions",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"automationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.listWorkflowTriggers",group:"automations",command:"list-workflow-triggers",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/triggers",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"workflowId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.managementStats",group:"automations",command:"management-stats",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/automations/management-stats",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.rejectEditProposal",group:"automations",command:"reject-edit-proposal",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/automation-edit-proposals/{proposalId}/reject",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"proposalId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.restore",group:"automations",command:"restore",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/automations/{automationId}/restore",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"automationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.revealWebhookSecret",group:"automations",command:"reveal-webhook-secret",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/automation-triggers/{triggerId}/webhook-secret",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"triggerId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.revealWorkflowWebhookSecret",group:"automations",command:"reveal-workflow-webhook-secret",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/triggers/{triggerId}/webhook-secret",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"workflowId",in:"path",required:!0},{name:"triggerId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.spaceStats",group:"automations",command:"space-stats",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/automations/space-stats",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.summaries",group:"automations",command:"summaries",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/automations/summaries",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDirection",in:"query",required:!1},{name:"automationId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.update",group:"automations",command:"update",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/automations/{automationId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"automationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.updateTrigger",group:"automations",command:"update-trigger",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/automation-triggers/{triggerId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"triggerId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.updateWorkflowTrigger",group:"automations",command:"update-workflow-trigger",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/triggers/{triggerId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"workflowId",in:"path",required:!0},{name:"triggerId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.addSubscribers",group:"cases",command:"add-subscribers",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/subscribers",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.archiveCase",group:"cases",command:"archive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/archive",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.archiveCaseType",group:"case-types",command:"archive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/case-types/{caseTypeId}/archive",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseTypeId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.archiveInboxApproval",group:"cases",command:"archive-inbox-approval",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/case-inbox/approvals/{approvalId}/archive",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"approvalId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.archiveInboxCase",group:"cases",command:"archive-inbox-case",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/case-inbox/cases/{caseId}/archive",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.comment",group:"cases",command:"comment",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/comments",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.createCase",group:"cases",command:"create",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.createCaseType",group:"case-types",command:"create",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/case-types",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.createCategory",group:"cases",command:"create-category",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/case-categories",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.createLabel",group:"cases",command:"create-label",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/case-labels",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.deleteAttachment",group:"cases",command:"delete-attachment",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/attachments/{attachmentId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"attachmentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.downloadAttachment",group:"cases",command:"download-attachment",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/attachments/{attachmentId}/download",method:"get",binaryResponse:!0,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"attachmentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.escalateRequest",group:"requests",command:"escalate",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/requests/{sourceThreadId}/escalate",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sourceThreadId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.getCase",group:"cases",command:"get",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"workflowRunId",in:"query",required:!1},{name:"space",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.getSubscription",group:"cases",command:"get-subscription",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/subscription",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.installCaseTemplate",group:"case-types",command:"install-template",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/case-types/templates",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.linkRelation",group:"cases",command:"link-relation",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/relations",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.linkThread",group:"cases",command:"link-thread",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/threads",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listActivity",group:"cases",command:"list-activity",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/activity",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listAssigneeCandidates",group:"cases",command:"list-assignee-candidates",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/case-assignee-candidates",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"assignmentGroupId",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listAttachments",group:"cases",command:"list-attachments",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/attachments",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listCases",group:"cases",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"includeTotalCount",in:"query",required:!1},{name:"withoutParent",in:"query",required:!1},{name:"withoutRequester",in:"query",required:!1},{name:"withoutCategory",in:"query",required:!1},{name:"id",in:"query",required:!1},{name:"identifier",in:"query",required:!1},{name:"statusType",in:"query",required:!1},{name:"statusGroup",in:"query",required:!1},{name:"caseTypeId",in:"query",required:!1},{name:"statusId",in:"query",required:!1},{name:"stageCategory",in:"query",required:!1},{name:"priority",in:"query",required:!1},{name:"assigneeUserId",in:"query",required:!1},{name:"assignmentGroupId",in:"query",required:!1},{name:"requesterUserId",in:"query",required:!1},{name:"categoryId",in:"query",required:!1},{name:"labelId",in:"query",required:!1},{name:"sourceKind",in:"query",required:!1},{name:"fieldFilters",in:"query",required:!1},{name:"personFilters",in:"query",required:!1},{name:"filterMode",in:"query",required:!1},{name:"sectionBy",in:"query",required:!1},{name:"sectionValue",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"after",in:"query",required:!1},{name:"before",in:"query",required:!1},{name:"updatedAfter",in:"query",required:!1},{name:"updatedBefore",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDir",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listCasesGrouped",group:"cases",command:"list-cases-grouped",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/grouped",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"includeTotalCount",in:"query",required:!1},{name:"withoutParent",in:"query",required:!1},{name:"withoutRequester",in:"query",required:!1},{name:"withoutCategory",in:"query",required:!1},{name:"id",in:"query",required:!1},{name:"identifier",in:"query",required:!1},{name:"statusType",in:"query",required:!1},{name:"statusGroup",in:"query",required:!1},{name:"caseTypeId",in:"query",required:!1},{name:"statusId",in:"query",required:!1},{name:"stageCategory",in:"query",required:!1},{name:"priority",in:"query",required:!1},{name:"assigneeUserId",in:"query",required:!1},{name:"assignmentGroupId",in:"query",required:!1},{name:"requesterUserId",in:"query",required:!1},{name:"categoryId",in:"query",required:!1},{name:"labelId",in:"query",required:!1},{name:"sourceKind",in:"query",required:!1},{name:"fieldFilters",in:"query",required:!1},{name:"personFilters",in:"query",required:!1},{name:"filterMode",in:"query",required:!1},{name:"sectionBy",in:"query",required:!1},{name:"sectionValue",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"after",in:"query",required:!1},{name:"before",in:"query",required:!1},{name:"updatedAfter",in:"query",required:!1},{name:"updatedBefore",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDir",in:"query",required:!1},{name:"groupBy",in:"query",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listCaseTypes",group:"case-types",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/case-types",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listCategories",group:"cases",command:"list-categories",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/case-categories",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listInboxCaseGroupOptions",group:"cases",command:"list-inbox-case-group-options",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/case-inbox/group-options",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"inboxState",in:"query",required:!1},{name:"statusType",in:"query",required:!1},{name:"stageCategory",in:"query",required:!1},{name:"priority",in:"query",required:!1},{name:"assigneeUserId",in:"query",required:!1},{name:"requesterUserId",in:"query",required:!1},{name:"presetAssigneeMode",in:"query",required:!1},{name:"notificationType",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"groupQ",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listInboxCases",group:"cases",command:"list-inbox-cases",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/case-inbox",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"inboxState",in:"query",required:!1},{name:"statusType",in:"query",required:!1},{name:"stageCategory",in:"query",required:!1},{name:"priority",in:"query",required:!1},{name:"assigneeUserId",in:"query",required:!1},{name:"requesterUserId",in:"query",required:!1},{name:"presetAssigneeMode",in:"query",required:!1},{name:"notificationType",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"assignmentGroupId",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDir",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listLabels",group:"cases",command:"list-labels",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/labels",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listMyCaseFilterOptions",group:"cases",command:"list-my-case-filter-options",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases-mine/filter-options",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"includeTotalCount",in:"query",required:!1},{name:"withoutParent",in:"query",required:!1},{name:"withoutRequester",in:"query",required:!1},{name:"withoutCategory",in:"query",required:!1},{name:"id",in:"query",required:!1},{name:"identifier",in:"query",required:!1},{name:"statusType",in:"query",required:!1},{name:"statusGroup",in:"query",required:!1},{name:"caseTypeId",in:"query",required:!1},{name:"statusId",in:"query",required:!1},{name:"stageCategory",in:"query",required:!1},{name:"priority",in:"query",required:!1},{name:"assigneeUserId",in:"query",required:!1},{name:"assignmentGroupId",in:"query",required:!1},{name:"requesterUserId",in:"query",required:!1},{name:"categoryId",in:"query",required:!1},{name:"labelId",in:"query",required:!1},{name:"sourceKind",in:"query",required:!1},{name:"fieldFilters",in:"query",required:!1},{name:"personFilters",in:"query",required:!1},{name:"filterMode",in:"query",required:!1},{name:"sectionBy",in:"query",required:!1},{name:"sectionValue",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"after",in:"query",required:!1},{name:"before",in:"query",required:!1},{name:"updatedAfter",in:"query",required:!1},{name:"updatedBefore",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDir",in:"query",required:!1},{name:"kind",in:"query",required:!0},{name:"q",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listMyCases",group:"cases",command:"list-my-cases",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases-mine",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"includeTotalCount",in:"query",required:!1},{name:"withoutParent",in:"query",required:!1},{name:"withoutRequester",in:"query",required:!1},{name:"withoutCategory",in:"query",required:!1},{name:"id",in:"query",required:!1},{name:"identifier",in:"query",required:!1},{name:"statusType",in:"query",required:!1},{name:"statusGroup",in:"query",required:!1},{name:"caseTypeId",in:"query",required:!1},{name:"statusId",in:"query",required:!1},{name:"stageCategory",in:"query",required:!1},{name:"priority",in:"query",required:!1},{name:"assigneeUserId",in:"query",required:!1},{name:"assignmentGroupId",in:"query",required:!1},{name:"requesterUserId",in:"query",required:!1},{name:"categoryId",in:"query",required:!1},{name:"labelId",in:"query",required:!1},{name:"sourceKind",in:"query",required:!1},{name:"fieldFilters",in:"query",required:!1},{name:"personFilters",in:"query",required:!1},{name:"filterMode",in:"query",required:!1},{name:"sectionBy",in:"query",required:!1},{name:"sectionValue",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"after",in:"query",required:!1},{name:"before",in:"query",required:!1},{name:"updatedAfter",in:"query",required:!1},{name:"updatedBefore",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDir",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listMyCasesGrouped",group:"cases",command:"list-my-cases-grouped",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases-mine/grouped",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"includeTotalCount",in:"query",required:!1},{name:"withoutParent",in:"query",required:!1},{name:"withoutRequester",in:"query",required:!1},{name:"withoutCategory",in:"query",required:!1},{name:"id",in:"query",required:!1},{name:"identifier",in:"query",required:!1},{name:"statusType",in:"query",required:!1},{name:"statusGroup",in:"query",required:!1},{name:"caseTypeId",in:"query",required:!1},{name:"statusId",in:"query",required:!1},{name:"stageCategory",in:"query",required:!1},{name:"priority",in:"query",required:!1},{name:"assigneeUserId",in:"query",required:!1},{name:"assignmentGroupId",in:"query",required:!1},{name:"requesterUserId",in:"query",required:!1},{name:"categoryId",in:"query",required:!1},{name:"labelId",in:"query",required:!1},{name:"sourceKind",in:"query",required:!1},{name:"fieldFilters",in:"query",required:!1},{name:"personFilters",in:"query",required:!1},{name:"filterMode",in:"query",required:!1},{name:"sectionBy",in:"query",required:!1},{name:"sectionValue",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"after",in:"query",required:!1},{name:"before",in:"query",required:!1},{name:"updatedAfter",in:"query",required:!1},{name:"updatedBefore",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDir",in:"query",required:!1},{name:"groupBy",in:"query",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listReferenceData",group:"cases",command:"list-reference-data",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/case-reference-data",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"kind",in:"query",required:!0},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listSourceLinks",group:"cases",command:"list-source-links",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/source-links",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listSubscribedCaseFilterOptions",group:"cases",command:"list-subscribed-case-filter-options",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases-subscribed/filter-options",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"includeTotalCount",in:"query",required:!1},{name:"withoutParent",in:"query",required:!1},{name:"withoutRequester",in:"query",required:!1},{name:"withoutCategory",in:"query",required:!1},{name:"id",in:"query",required:!1},{name:"identifier",in:"query",required:!1},{name:"statusType",in:"query",required:!1},{name:"statusGroup",in:"query",required:!1},{name:"caseTypeId",in:"query",required:!1},{name:"statusId",in:"query",required:!1},{name:"stageCategory",in:"query",required:!1},{name:"priority",in:"query",required:!1},{name:"assigneeUserId",in:"query",required:!1},{name:"assignmentGroupId",in:"query",required:!1},{name:"requesterUserId",in:"query",required:!1},{name:"categoryId",in:"query",required:!1},{name:"labelId",in:"query",required:!1},{name:"sourceKind",in:"query",required:!1},{name:"fieldFilters",in:"query",required:!1},{name:"personFilters",in:"query",required:!1},{name:"filterMode",in:"query",required:!1},{name:"sectionBy",in:"query",required:!1},{name:"sectionValue",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"after",in:"query",required:!1},{name:"before",in:"query",required:!1},{name:"updatedAfter",in:"query",required:!1},{name:"updatedBefore",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDir",in:"query",required:!1},{name:"kind",in:"query",required:!0},{name:"q",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listSubscribedCases",group:"cases",command:"list-subscribed-cases",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases-subscribed",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"includeTotalCount",in:"query",required:!1},{name:"withoutParent",in:"query",required:!1},{name:"withoutRequester",in:"query",required:!1},{name:"withoutCategory",in:"query",required:!1},{name:"id",in:"query",required:!1},{name:"identifier",in:"query",required:!1},{name:"statusType",in:"query",required:!1},{name:"statusGroup",in:"query",required:!1},{name:"caseTypeId",in:"query",required:!1},{name:"statusId",in:"query",required:!1},{name:"stageCategory",in:"query",required:!1},{name:"priority",in:"query",required:!1},{name:"assigneeUserId",in:"query",required:!1},{name:"assignmentGroupId",in:"query",required:!1},{name:"requesterUserId",in:"query",required:!1},{name:"categoryId",in:"query",required:!1},{name:"labelId",in:"query",required:!1},{name:"sourceKind",in:"query",required:!1},{name:"fieldFilters",in:"query",required:!1},{name:"personFilters",in:"query",required:!1},{name:"filterMode",in:"query",required:!1},{name:"sectionBy",in:"query",required:!1},{name:"sectionValue",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"after",in:"query",required:!1},{name:"before",in:"query",required:!1},{name:"updatedAfter",in:"query",required:!1},{name:"updatedBefore",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDir",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listSubscribedCasesGrouped",group:"cases",command:"list-subscribed-cases-grouped",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases-subscribed/grouped",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"includeTotalCount",in:"query",required:!1},{name:"withoutParent",in:"query",required:!1},{name:"withoutRequester",in:"query",required:!1},{name:"withoutCategory",in:"query",required:!1},{name:"id",in:"query",required:!1},{name:"identifier",in:"query",required:!1},{name:"statusType",in:"query",required:!1},{name:"statusGroup",in:"query",required:!1},{name:"caseTypeId",in:"query",required:!1},{name:"statusId",in:"query",required:!1},{name:"stageCategory",in:"query",required:!1},{name:"priority",in:"query",required:!1},{name:"assigneeUserId",in:"query",required:!1},{name:"assignmentGroupId",in:"query",required:!1},{name:"requesterUserId",in:"query",required:!1},{name:"categoryId",in:"query",required:!1},{name:"labelId",in:"query",required:!1},{name:"sourceKind",in:"query",required:!1},{name:"fieldFilters",in:"query",required:!1},{name:"personFilters",in:"query",required:!1},{name:"filterMode",in:"query",required:!1},{name:"sectionBy",in:"query",required:!1},{name:"sectionValue",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"after",in:"query",required:!1},{name:"before",in:"query",required:!1},{name:"updatedAfter",in:"query",required:!1},{name:"updatedBefore",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDir",in:"query",required:!1},{name:"groupBy",in:"query",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listSubscribers",group:"cases",command:"list-subscribers",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/subscribers",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listThreads",group:"cases",command:"list-threads",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/threads",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listWorkPlan",group:"cases",command:"list-work-plan",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/work-plan",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.markRead",group:"cases",command:"mark-read",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/read",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.markUnread",group:"cases",command:"mark-unread",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/unread",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.move",group:"cases",command:"move",mutation:!0,idempotent:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/move",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"Idempotency-Key",in:"header",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.previewMove",group:"cases",command:"preview-move",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/move-preview",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"caseTypeId",in:"query",required:!1},{name:"targetSpaceId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.readContext",group:"cases",command:"read-context",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/context",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"workflowRunCursor",in:"query",required:!1},{name:"workflowRunLimit",in:"query",required:!1},{name:"automationRunCursor",in:"query",required:!1},{name:"automationRunLimit",in:"query",required:!1},{name:"sessionCursor",in:"query",required:!1},{name:"sessionLimit",in:"query",required:!1},{name:"boardCursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.readInboxApproval",group:"cases",command:"read-inbox-approval",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/case-inbox/approvals/{approvalId}/read",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"approvalId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.readInboxCase",group:"cases",command:"read-inbox-case",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/case-inbox/cases/{caseId}/read",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.rebuildSearchIndex",group:"cases",command:"rebuild-search-index",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/search-index/rebuild",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.removeSubscriber",group:"cases",command:"remove-subscriber",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/subscribers/{userId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"userId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.reopenCase",group:"cases",command:"reopen",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/reopen",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.search",group:"cases",command:"search",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/search",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.setDefaultCaseType",group:"case-types",command:"set-default",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/case-types/{caseTypeId}/default",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseTypeId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.spawnThread",group:"cases",command:"spawn-thread",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/threads/spawn",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.subscribe",group:"cases",command:"subscribe",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/subscription",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.unarchiveCaseType",group:"case-types",command:"unarchive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/case-types/{caseTypeId}/unarchive",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseTypeId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.unlinkRelation",group:"cases",command:"unlink-relation",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/relations/{relationId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"relationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.unsubscribe",group:"cases",command:"unsubscribe",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/subscription",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.updateCase",group:"cases",command:"update",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.updateCaseType",group:"case-types",command:"update",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/case-types/{caseTypeId}",method:"put",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseTypeId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.uploadAttachment",group:"cases",command:"upload-attachment",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/attachments",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"directory.createAdminPortalLink",group:"directory",command:"create-admin-portal-link",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/directory/admin-portal-link",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"directory.getUser",group:"users",command:"get",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/directory/user",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"directoryUserId",in:"query",required:!1},{name:"email",in:"query",required:!1},{name:"identityId",in:"query",required:!1},{name:"userId",in:"query",required:!1},{name:"includeInactive",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"directory.list",group:"directory",command:"list",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/directory",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"groupMembersLimit",in:"query",required:!1},{name:"groupsCursor",in:"query",required:!1},{name:"groupsLimit",in:"query",required:!1},{name:"userId",in:"query",required:!1},{name:"usersCursor",in:"query",required:!1},{name:"usersLimit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"directory.listGroupMembers",group:"directory",command:"list-group-members",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/directory/groups/{groupId}/members",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"groupId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"directory.listUsers",group:"users",command:"list",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/directory/people",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"query",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"includeInactive",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"directory.searchGroups",group:"directory",command:"search-groups",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/directory/search/groups",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"directory.searchUsers",group:"directory",command:"search-users",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/directory/search/users",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"directory.sync",group:"directory",command:"sync",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/directory/sync",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.archive",group:"forms",command:"archive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/forms/{formId}/archive",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"formId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.create",group:"forms",command:"create",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/forms",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.discardDraft",group:"forms",command:"discard-draft",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/form-versions/{versionId}/discard",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"versionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.get",group:"forms",command:"get",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/forms/{formId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"formId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.getSource",group:"forms",command:"get-source",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/form-versions/{versionId}/source",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"versionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.getSubmission",group:"forms",command:"get-submission",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/form-submissions/{submissionId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"submissionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.getVersion",group:"forms",command:"get-version",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/form-versions/{versionId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"versionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.list",group:"forms",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/forms",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"includeShared",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"sort",in:"query",required:!1},{name:"visibility",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.listInCatalog",group:"forms",command:"list-in-catalog",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/forms/{formId}/catalog-listing",method:"put",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"formId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.listSubmissions",group:"forms",command:"list-submissions",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/forms/{formId}/submissions",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"formId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"formVersionId",in:"query",required:!1},{name:"invocationId",in:"query",required:!1},{name:"submittedByUserId",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.listVersions",group:"forms",command:"list-versions",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/forms/{formId}/versions",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"formId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.publish",group:"forms",command:"publish",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/form-versions/{versionId}/publish",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"versionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.restore",group:"forms",command:"restore",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/form-versions/{versionId}/restore",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"versionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.saveDraft",group:"forms",command:"save-draft",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/forms/{formId}/draft",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"formId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.setDatabaseProjection",group:"forms",command:"set-database-projection",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/forms/{formId}/database-projection",method:"put",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"formId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.unlistFromCatalog",group:"forms",command:"unlist-from-catalog",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/forms/{formId}/catalog-listing",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"formId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.update",group:"forms",command:"update",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/forms/{formId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"formId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"identity.getCurrentPrincipal",group:"identity",command:"get-current-principal",mutation:!1,idempotent:!1,path:"/v1/me",method:"get",binaryResponse:!1,parameters:[{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"identity.listSpaces",group:"identity",command:"list-spaces",mutation:!1,idempotent:!1,path:"/v1/spaces",method:"get",binaryResponse:!1,parameters:[{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.archiveFolder",group:"knowledge",command:"archive-folder",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/folders/{sourceId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sourceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.archiveSubfolder",group:"knowledge",command:"archive-subfolder",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/folders/{sourceId}/subfolders/{folderId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sourceId",in:"path",required:!0},{name:"folderId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.archiveUpload",group:"knowledge",command:"archive-upload",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/uploads/{documentId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"documentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.browseGithubKnowledgeRepoFile",group:"knowledge",command:"browse-github-knowledge-repo-file",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/github/knowledge-repos/file",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"path",in:"query",required:!0},{name:"repo",in:"query",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.browseGithubKnowledgeRepoTree",group:"knowledge",command:"browse-github-knowledge-repo-tree",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/github/knowledge-repos/tree",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"repo",in:"query",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.bulkUpdateConfluenceConnectorDocuments",group:"knowledge",command:"bulk-update-confluence-connector-documents",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/confluence-knowledge/documents",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.bulkUpdateGoogleDriveConnectorDocuments",group:"knowledge",command:"bulk-update-google-drive-connector-documents",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge/documents",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.bulkUpdateNotionConnectorDocuments",group:"knowledge",command:"bulk-update-notion-connector-documents",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/notion-knowledge/documents",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.bulkUpdateSharePointConnectorDocuments",group:"knowledge",command:"bulk-update-share-point-connector-documents",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/sharepoint-knowledge/documents",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.bulkUpdateSimpplrConnectorDocuments",group:"knowledge",command:"bulk-update-simpplr-connector-documents",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/simpplr-knowledge/documents",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.createUpload",group:"knowledge",command:"create-upload",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/uploads",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listConfluenceConnectorDocuments",group:"knowledge",command:"list-confluence-connector-documents",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/confluence-knowledge/documents",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"directory",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"type",in:"query",required:!1},{name:"sort",in:"query",required:!1},{name:"confluenceSpaceId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listConfluenceConnectorSpaces",group:"knowledge",command:"list-confluence-connector-spaces",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/confluence-spaces",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listFolders",group:"knowledge",command:"list-folders",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/folders",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listGithubConnectorRepos",group:"knowledge",command:"list-github-connector-repos",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/github/repos",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"query",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listGithubKnowledgeRepos",group:"knowledge",command:"list-github-knowledge-repos",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/github/knowledge-repos",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listGoogleDriveConnectorDocuments",group:"knowledge",command:"list-google-drive-connector-documents",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge/documents",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"directory",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"type",in:"query",required:!1},{name:"sort",in:"query",required:!1},{name:"confluenceSpaceId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listGoogleDriveConnectorDrives",group:"knowledge",command:"list-google-drive-connector-drives",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge/drives",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listGoogleDriveConnectorFolders",group:"knowledge",command:"list-google-drive-connector-folders",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge/folders",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"corpusId",in:"query",required:!0},{name:"parentId",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listNotionConnectorDocuments",group:"knowledge",command:"list-notion-connector-documents",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/notion-knowledge/documents",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"directory",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"type",in:"query",required:!1},{name:"sort",in:"query",required:!1},{name:"confluenceSpaceId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listOrganizationDocuments",group:"knowledge",command:"list-organization-documents",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/organization/documents",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"provider",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"sort",in:"query",required:!1},{name:"sortDirection",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listOrganizationKnowledgeProviderCounts",group:"knowledge",command:"list-organization-knowledge-provider-counts",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/organization/provider-counts",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listSharePointConnectorDocuments",group:"knowledge",command:"list-share-point-connector-documents",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/sharepoint-knowledge/documents",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"directory",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"type",in:"query",required:!1},{name:"sort",in:"query",required:!1},{name:"confluenceSpaceId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listSharePointConnectorSites",group:"knowledge",command:"list-share-point-connector-sites",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/sharepoint-sites",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"query",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listSimpplrConnectorDocuments",group:"knowledge",command:"list-simpplr-connector-documents",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/simpplr-knowledge/documents",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"directory",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"type",in:"query",required:!1},{name:"sort",in:"query",required:!1},{name:"confluenceSpaceId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listSimpplrConnectorSites",group:"knowledge",command:"list-simpplr-connector-sites",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/simpplr-sites",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listSlackConnectorChannels",group:"knowledge",command:"list-slack-connector-channels",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/slack-knowledge/channels",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listUploads",group:"knowledge",command:"list-uploads",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/uploads",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"folder",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.readOrganizationUpload",group:"knowledge",command:"read-organization-upload",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/organization/uploads/{documentId}/content",method:"get",binaryResponse:!0,parameters:[{name:"spaceId",in:"path",required:!0},{name:"documentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.readUpload",group:"knowledge",command:"read-upload",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/uploads/{documentId}/content",method:"get",binaryResponse:!0,parameters:[{name:"spaceId",in:"path",required:!0},{name:"documentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.reindexUpload",group:"knowledge",command:"reindex-upload",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/uploads/{documentId}/reindex",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"documentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.renameFolder",group:"knowledge",command:"rename-folder",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/folders/{sourceId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sourceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.renameSubfolder",group:"knowledge",command:"rename-subfolder",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/folders/{sourceId}/subfolders/{folderId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sourceId",in:"path",required:!0},{name:"folderId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.replaceGithubKnowledgeRepos",group:"knowledge",command:"replace-github-knowledge-repos",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/github/knowledge-repos",method:"put",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.search",group:"knowledge",command:"search",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/search",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.searchGoogleDriveConnectorFolders",group:"knowledge",command:"search-google-drive-connector-folders",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge/folder-search",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"query",in:"query",required:!0},{name:"cursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.searchNotionConnectorDocuments",group:"knowledge",command:"search-notion-connector-documents",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/notion-knowledge/search",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.syncConfluenceConnectorDocument",group:"knowledge",command:"sync-confluence-connector-document",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/confluence-knowledge/documents/{documentId}/sync",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"documentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.syncGoogleDriveConnectorDocument",group:"knowledge",command:"sync-google-drive-connector-document",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge/documents/{documentId}/sync",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"documentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.syncNotionConnectorDocument",group:"knowledge",command:"sync-notion-connector-document",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/notion-knowledge/documents/{documentId}/sync",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"documentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.triggerGithubKnowledgeSync",group:"knowledge",command:"trigger-github-knowledge-sync",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/github/knowledge-repos/sync",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateConfluenceConnectorDocument",group:"knowledge",command:"update-confluence-connector-document",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/confluence-knowledge/documents/{documentId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"documentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateConfluenceConnectorSelection",group:"knowledge",command:"update-confluence-connector-selection",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/confluence-knowledge-selection",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateFolderDocuments",group:"knowledge",command:"update-folder-documents",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/folders/{sourceId}/documents",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sourceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateGithubConnectorRepos",group:"knowledge",command:"update-github-connector-repos",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/github/repos",method:"put",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateGoogleDriveConnectorDocument",group:"knowledge",command:"update-google-drive-connector-document",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge/documents/{documentId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"documentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateGoogleDriveConnectorSelection",group:"knowledge",command:"update-google-drive-connector-selection",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge-selection",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateNotionConnectorDocument",group:"knowledge",command:"update-notion-connector-document",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/notion-knowledge/documents/{documentId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"documentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateNotionConnectorSelection",group:"knowledge",command:"update-notion-connector-selection",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/notion-knowledge-selection",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateSharePointConnectorDocument",group:"knowledge",command:"update-share-point-connector-document",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/sharepoint-knowledge/documents/{documentId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"documentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateSharePointConnectorSelection",group:"knowledge",command:"update-share-point-connector-selection",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/sharepoint-knowledge-selection",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateSimpplrConnectorDocument",group:"knowledge",command:"update-simpplr-connector-document",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/simpplr-knowledge/documents/{documentId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"documentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateSimpplrConnectorSelection",group:"knowledge",command:"update-simpplr-connector-selection",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/simpplr-knowledge-selection",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateSlackConnectorBackfill",group:"knowledge",command:"update-slack-connector-backfill",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/slack-knowledge-backfill",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateSlackConnectorSelection",group:"knowledge",command:"update-slack-connector-selection",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/slack-knowledge-selection",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateUpload",group:"knowledge",command:"update-upload",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/uploads/{documentId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"documentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"labels.archive",group:"labels",command:"archive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/labels/{labelId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"labelId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"labels.assignNames",group:"labels",command:"assign-names",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/labels/assign",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"labels.create",group:"labels",command:"create",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/labels",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"labels.list",group:"labels",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/labels",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"query",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"labels.listLinks",group:"labels",command:"list-links",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/labels/links",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"entityType",in:"query",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"labels.resolveNames",group:"labels",command:"resolve-names",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/labels/resolve",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"labels.setLabels",group:"labels",command:"set-labels",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/labels/links/{entityType}/{entityId}",method:"put",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"entityType",in:"path",required:!0},{name:"entityId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"labels.update",group:"labels",command:"update",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/labels/{labelId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"labelId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"notifications.get",group:"notifications",command:"get",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/notifications/{notificationId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"notificationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"notifications.list",group:"notifications",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/notifications",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"includeRead",in:"query",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-email.acceptQuarantine",group:"organization-email",command:"accept-quarantine",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/email/quarantine/{eventId}/accept",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"eventId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-email.deleteSuppression",group:"organization-email",command:"delete-suppression",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/email/suppressions/{suppressionId}",method:"delete",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"suppressionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-email.disableInstallation",group:"organization-email",command:"disable-installation",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/email/installation",method:"delete",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-email.enableInstallation",group:"organization-email",command:"enable-installation",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/email/installation",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-email.getInstallation",group:"organization-email",command:"get-installation",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/email/installation",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-email.listQuarantine",group:"organization-email",command:"list-quarantine",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/email/quarantine",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-email.listSuppressions",group:"organization-email",command:"list-suppressions",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/email/suppressions",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-email.rejectQuarantine",group:"organization-email",command:"reject-quarantine",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/email/quarantine/{eventId}/reject",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"eventId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-github.confirmInstall",group:"organization-github",command:"confirm-install",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/github-app/installation/confirm",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-github.disconnectInstallation",group:"organization-github",command:"disconnect-installation",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/github-app/installation",method:"delete",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-github.getInstallation",group:"organization-github",command:"get-installation",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/github-app/installation",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-github.getInstallationDetails",group:"organization-github",command:"get-installation-details",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/github-app/installation/details",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"repoPage",in:"query",required:!1},{name:"repoPageSize",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-github.startInstall",group:"organization-github",command:"start-install",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/github-app/installation",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-slack.createChannelSettingsRoute",group:"organization-slack",command:"create-channel-settings-route",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/slack/channel-settings/{channelId}/routes",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"channelId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-slack.deleteChannelSettingsRoute",group:"organization-slack",command:"delete-channel-settings-route",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/slack/channel-settings/{channelId}/routes/{routeId}",method:"delete",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"channelId",in:"path",required:!0},{name:"routeId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-slack.disconnectInstallation",group:"organization-slack",command:"disconnect-installation",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/slack/installation",method:"delete",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-slack.getInstallation",group:"organization-slack",command:"get-installation",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/slack/installation",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-slack.listChannelSettings",group:"organization-slack",command:"list-channel-settings",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/slack/channel-settings",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-slack.startInstall",group:"organization-slack",command:"start-install",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/slack/install",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-slack.syncChannelSettings",group:"organization-slack",command:"sync-channel-settings",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/slack/channel-settings/sync",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-slack.updateChannelEmojis",group:"organization-slack",command:"update-channel-emojis",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/slack/channel-settings/{channelId}/emojis",method:"patch",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"channelId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-slack.updateChannelIntakeMode",group:"organization-slack",command:"update-channel-intake-mode",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/slack/channel-settings/{channelId}/intake-mode",method:"patch",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"channelId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-slack.updateChannelSettings",group:"organization-slack",command:"update-channel-settings",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/slack/channel-settings/{channelId}",method:"patch",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"channelId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-slack.updateChannelThreadHistory",group:"organization-slack",command:"update-channel-thread-history",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/slack/channel-settings/{channelId}/thread-history",method:"patch",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"channelId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-spaces.archive",group:"organization-spaces",command:"archive",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/spaces/{spaceId}/archive",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-spaces.create",group:"organization-spaces",command:"create",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/spaces",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-spaces.join",group:"organization-spaces",command:"join",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/spaces/{spaceId}/join",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-spaces.list",group:"organization-spaces",command:"list",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/spaces",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-spaces.setEscalationMute",group:"organization-spaces",command:"set-escalation-mute",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/spaces/{spaceId}/escalation-mute",method:"patch",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-spaces.setOrganizationRequestRouting",group:"organization-spaces",command:"set-organization-request-routing",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/spaces/{spaceId}/request-routing",method:"patch",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-teams.createChannelSettingsRoute",group:"organization-teams",command:"create-channel-settings-route",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/msteams/channel-settings/{channelId}/routes",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"channelId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-teams.createGraphSubscription",group:"organization-teams",command:"create-graph-subscription",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/msteams/graph-subscriptions",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-teams.deleteChannelSettingsRoute",group:"organization-teams",command:"delete-channel-settings-route",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/msteams/channel-settings/{channelId}/routes/{routeId}",method:"delete",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"channelId",in:"path",required:!0},{name:"routeId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-teams.disconnectConnection",group:"organization-teams",command:"disconnect-connection",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/msteams/connection",method:"delete",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-teams.getAppPackage",group:"organization-teams",command:"get-app-package",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/msteams/app-package/content",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-teams.getAppPackageStatus",group:"organization-teams",command:"get-app-package-status",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/msteams/app-package",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-teams.getConnection",group:"organization-teams",command:"get-connection",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/msteams/connection",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-teams.listChannelSettings",group:"organization-teams",command:"list-channel-settings",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/msteams/channel-settings",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-teams.renewGraphSubscriptions",group:"organization-teams",command:"renew-graph-subscriptions",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/msteams/graph-subscriptions/renew",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-teams.startInstall",group:"organization-teams",command:"start-install",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/msteams/connect",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-teams.updateChannelEmojis",group:"organization-teams",command:"update-channel-emojis",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/msteams/channel-settings/{channelId}/emojis",method:"patch",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"channelId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-teams.updateChannelIntakeMode",group:"organization-teams",command:"update-channel-intake-mode",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/msteams/channel-settings/{channelId}/intake-mode",method:"patch",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"channelId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-teams.updateChannelSettings",group:"organization-teams",command:"update-channel-settings",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/msteams/channel-settings/{channelId}",method:"patch",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"channelId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.createInvite",group:"organizations",command:"create-invite",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/invites",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.createMembership",group:"organizations",command:"create-membership",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/memberships",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.getPerson",group:"organizations",command:"get-person",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/people/{personId}",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"personId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.getSettings",group:"organizations",command:"get-settings",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/settings",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.listGroups",group:"organizations",command:"list-groups",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/groups",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"spaceId",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"identityId",in:"query",required:!1},{name:"includeMembershipLastObserved",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"sort",in:"query",required:!1},{name:"direction",in:"query",required:!1},{name:"selectedId",in:"query",required:!1},{name:"sourceId",in:"query",required:!1},{name:"sourceType",in:"query",required:!1},{name:"scope",in:"query",required:!1},{name:"excludeProvider",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.listGroupSources",group:"organizations",command:"list-group-sources",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/group-sources",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"sourceType",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.listInvites",group:"organizations",command:"list-invites",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/invites",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"direction",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"role",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"sort",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.listMembershipLabels",group:"organizations",command:"list-membership-labels",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/memberships/labels",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"userId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.listMemberships",group:"organizations",command:"list-memberships",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/memberships",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.listPeople",group:"organizations",command:"list-people",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/people",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"groupId",in:"query",required:!1},{name:"groupSourceId",in:"query",required:!1},{name:"groupSourceType",in:"query",required:!1},{name:"directory",in:"query",required:!1},{name:"includeTotal",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"role",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"sort",in:"query",required:!1},{name:"direction",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.listPersonApplications",group:"organizations",command:"list-person-applications",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/people/{personId}/applications",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"personId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.listProvisionableLinkedGroups",group:"organizations",command:"list-provisionable-linked-groups",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/spaces/{spaceId}/provisionable-linked-groups",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"scope",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"selectedId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.listRoles",group:"organizations",command:"list-roles",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/roles",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.revokeInvite",group:"organizations",command:"revoke-invite",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/invites/{inviteId}/revoke",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"inviteId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.searchPeople",group:"organizations",command:"search-people",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/people/search",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"spaceId",in:"query",required:!1},{name:"includeAllDirectoryPeople",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"excludeCurrentSpace",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"membersOnly",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"selectedId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.updateMembership",group:"organizations",command:"update-membership",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/memberships/{membershipId}",method:"patch",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"membershipId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.updateSettings",group:"organizations",command:"update-settings",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/settings",method:"patch",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.archive",group:"sessions",command:"archive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/archive",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.createOrganizationRequestSession",group:"sessions",command:"create-organization-request-session",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/organization-request-sessions",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.createOrganizationRequestSessionAndSubmit",group:"sessions",command:"create-organization-request-session-and-submit",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/organization-request-sessions/submit",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.createSession",group:"sessions",command:"create-session",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.createSessionAndSubmit",group:"sessions",command:"create-session-and-submit",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/submit",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.deleteArtifact",group:"sessions",command:"delete-artifact",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/artifacts/{artifactId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"artifactId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.downloadArtifact",group:"sessions",command:"download-artifact",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/artifacts/{artifactId}/download",method:"get",binaryResponse:!0,parameters:[{name:"spaceId",in:"path",required:!0},{name:"artifactId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"version",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.downloadFile",group:"sessions",command:"download-file",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/file-download",method:"get",binaryResponse:!0,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"path",in:"query",required:!0},{name:"workflowRunId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.forceResponse",group:"sessions",command:"force-response",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/messages/{messageId}/respond",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"messageId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.fork",group:"sessions",command:"fork",mutation:!0,idempotent:!0,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/fork",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"Idempotency-Key",in:"header",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.get",group:"sessions",command:"get",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"workflowRunId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.getArtifact",group:"sessions",command:"get-artifact",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/artifacts/{artifactId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"artifactId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.getCase",group:"sessions",command:"get-case",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/cases/{caseId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"caseId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"workflowRunId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.getFilePreview",group:"sessions",command:"get-file-preview",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/file-preview",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"workflowRunId",in:"query",required:!1},{name:"path",in:"query",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.getOrganizationRequestDestination",group:"sessions",command:"get-organization-request-destination",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/session-request-destinations/{destinationSpaceId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"destinationSpaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.getWorkflowApproval",group:"sessions",command:"get-workflow-approval",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/workflow-approvals/{approvalId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"approvalId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"workflowRunId",in:"query",required:!1},{name:"runId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.intakeRequest",group:"requests",command:"intake",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/requests",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.list",group:"sessions",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"mine",in:"query",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"excludeCustomAutomationSessions",in:"query",required:!1},{name:"includeTotalCount",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"purpose",in:"query",required:!1},{name:"after",in:"query",required:!1},{name:"before",in:"query",required:!1},{name:"updatedAfter",in:"query",required:!1},{name:"updatedBefore",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDir",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"triggeredByKind",in:"query",required:!1},{name:"automationId",in:"query",required:!1},{name:"createdBy",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.listArtifacts",group:"sessions",command:"list-artifacts",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/artifacts",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"mine",in:"query",required:!1},{name:"createdByUserId",in:"query",required:!1},{name:"createdByAutomationId",in:"query",required:!1},{name:"sessionId",in:"query",required:!1},{name:"createdAtFrom",in:"query",required:!1},{name:"createdAtTo",in:"query",required:!1},{name:"updatedAtFrom",in:"query",required:!1},{name:"updatedAtTo",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.listCases",group:"sessions",command:"list-cases",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/cases",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"workflowRunId",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.listFileChildren",group:"sessions",command:"list-file-children",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/file-children",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"workflowRunId",in:"query",required:!1},{name:"path",in:"query",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.listFiles",group:"sessions",command:"list-files",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/files",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"workflowRunId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.listMessages",group:"sessions",command:"list-messages",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/messages",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"workflowRunId",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.listOrganizationRequestDestinations",group:"sessions",command:"list-organization-request-destinations",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/session-request-destinations",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.listParticipants",group:"sessions",command:"list-participants",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/participants",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"workflowRunId",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.listTasks",group:"sessions",command:"list-tasks",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/tasks",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.listUploads",group:"sessions",command:"list-uploads",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/uploads",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"workflowRunId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.muteAutomation",group:"sessions",command:"mute-agent",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/mute",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.readCaseSession",group:"sessions",command:"read-transcript",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/transcript",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"afterSeq",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.rename",group:"sessions",command:"rename",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.setVisibility",group:"sessions",command:"set-visibility",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/visibility",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.startBrowser",group:"sessions",command:"start-browser",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/browser",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.statusCounts",group:"sessions",command:"status-counts",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/status-counts",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"mine",in:"query",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"excludeCustomAutomationSessions",in:"query",required:!1},{name:"includeTotalCount",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"purpose",in:"query",required:!1},{name:"after",in:"query",required:!1},{name:"before",in:"query",required:!1},{name:"updatedAfter",in:"query",required:!1},{name:"updatedBefore",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDir",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"triggeredByKind",in:"query",required:!1},{name:"automationId",in:"query",required:!1},{name:"createdBy",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.submitMessage",group:"sessions",command:"submit-message",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/messages",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.unarchive",group:"sessions",command:"unarchive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/unarchive",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.unmuteAutomation",group:"sessions",command:"unmute-agent",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/unmute",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.uploadFiles",group:"sessions",command:"upload-files",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/uploads",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"skills.archiveSkill",group:"skills",command:"archive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/skills/{skillId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"skillId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"skills.createSkill",group:"skills",command:"create",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/skills",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"skills.createSkillVersion",group:"skills",command:"create-version",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/skills/{skillId}/versions",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"skillId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"skills.discardSkillDraft",group:"skills",command:"discard-draft",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/skills/{skillId}/draft/discard",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"skillId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"skills.getSkill",group:"skills",command:"get",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/skills/{skillId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"skillId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"skills.getSkillVersion",group:"skills",command:"get-version",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/skills/{skillId}/versions/{skillVersionId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"skillId",in:"path",required:!0},{name:"skillVersionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"skills.listSkillAutomations",group:"skills",command:"list-agents",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/skills/{skillId}/automations",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"skillId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"skills.listSkills",group:"skills",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/skills",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"skills.publishSkillVersion",group:"skills",command:"publish-version",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/skills/{skillId}/versions/{skillVersionId}/publish",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"skillId",in:"path",required:!0},{name:"skillVersionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"expectedRevision",in:"query",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"skills.updateSkillTags",group:"skills",command:"update-tags",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/skills/{skillId}/tags",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"skillId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"space-access-roles.archive",group:"space-access-roles",command:"archive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}/archive",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"roleId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"space-access-roles.create",group:"space-access-roles",command:"create",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/space-access-roles",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"space-access-roles.discard",group:"space-access-roles",command:"discard",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}/discard",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"roleId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"space-access-roles.duplicate",group:"space-access-roles",command:"duplicate",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}/duplicate",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"roleId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"space-access-roles.get",group:"space-access-roles",command:"get",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"roleId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"space-access-roles.list",group:"space-access-roles",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/space-access-roles",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"excludeRoleId",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDir",in:"query",required:!1},{name:"type",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"space-access-roles.publish",group:"space-access-roles",command:"publish",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}/publish",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"roleId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"space-access-roles.update",group:"space-access-roles",command:"update",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"roleId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"space-action-grants.listBlockedActions",group:"space-action-grants",command:"list-blocked-actions",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}/blocked-actions",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"roleId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"space-action-grants.listCatalog",group:"space-action-grants",command:"list-catalog",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/connections/{connectorInstanceId}/actions",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorInstanceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"space-action-grants.listGrants",group:"space-action-grants",command:"list-grants",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}/connections/{connectorInstanceId}/actions",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"roleId",in:"path",required:!0},{name:"connectorInstanceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"space-action-grants.listPermissions",group:"space-action-grants",command:"list-permissions",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/connections/{connectorInstanceId}/action-permissions",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorInstanceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"space-action-grants.replaceGrants",group:"space-action-grants",command:"replace-grants",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}/connections/{connectorInstanceId}/actions",method:"put",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"roleId",in:"path",required:!0},{name:"connectorInstanceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"space-action-grants.replaceRoles",group:"space-action-grants",command:"replace-roles",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/connections/{connectorInstanceId}/action-permissions/{actionSlug}",method:"put",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorInstanceId",in:"path",required:!0},{name:"actionSlug",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"spaces.addMember",group:"spaces",command:"add-member",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/members",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"spaces.createGroupLink",group:"spaces",command:"create-group-link",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/group-links",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"spaces.leave",group:"spaces",command:"leave",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/members/leave",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"spaces.listGroupLinks",group:"spaces",command:"list-group-links",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/group-links",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"department",in:"query",required:!1},{name:"jobTitle",in:"query",required:!1},{name:"managerEmail",in:"query",required:!1},{name:"subDepartment",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"spaces.listMembers",group:"spaces",command:"list-members",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/members",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"accessRoleId",in:"query",required:!1},{name:"department",in:"query",required:!1},{name:"jobTitle",in:"query",required:!1},{name:"managerEmail",in:"query",required:!1},{name:"subDepartment",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"eligibleForAssignment",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"roleSlug",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"userId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"spaces.removeGroupLink",group:"spaces",command:"remove-group-link",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/group-links/{linkId}/remove",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"linkId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"spaces.removeMember",group:"spaces",command:"remove-member",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/members/{membershipId}/remove",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"membershipId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"spaces.setDefaultAssignment",group:"spaces",command:"set-default-assignment",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/default-assignment",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"spaces.updateGroupLink",group:"spaces",command:"update-group-link",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/group-links/{linkId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"linkId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"spaces.updateMember",group:"spaces",command:"update-member",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/members/{membershipId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"membershipId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"spaces.updateProfile",group:"spaces",command:"update-profile",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/profile",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.archiveWorkflow",group:"workflows",command:"archive",mutation:!0,idempotent:!0,path:"/v1/spaces/{spaceId}/workflows/{workflowId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"workflowId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"Idempotency-Key",in:"header",required:!0},{name:"If-Match",in:"header",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.cancelWorkflowRun",group:"workflow-runs",command:"cancel",mutation:!0,idempotent:!0,path:"/v1/spaces/{spaceId}/workflow-runs/{runId}/cancel",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"runId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"Idempotency-Key",in:"header",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.createWorkflow",group:"workflows",command:"create",mutation:!0,idempotent:!0,path:"/v1/spaces/{spaceId}/workflows",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"Idempotency-Key",in:"header",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.createWorkflowRun",group:"workflow-runs",command:"create",mutation:!0,idempotent:!0,path:"/v1/spaces/{spaceId}/workflow-runs",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"Idempotency-Key",in:"header",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.getWorkflow",group:"workflows",command:"get",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/workflows/{workflowId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"workflowId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.getWorkflowRevision",group:"workflows",command:"get-revision",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/revisions/{revisionId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"workflowId",in:"path",required:!0},{name:"revisionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.getWorkflowRun",group:"workflow-runs",command:"get",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/workflow-runs/{runId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"runId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.listWorkflowCapabilities",group:"workflow-capabilities",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/workflow-capabilities",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.listWorkflowRevisions",group:"workflows",command:"list-revisions",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/revisions",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"workflowId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.listWorkflowRunEvents",group:"workflow-runs",command:"list-events",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/workflow-runs/{runId}/events",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"runId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"waitSeconds",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.listWorkflowRuns",group:"workflow-runs",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/workflow-runs",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"workflowId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.listWorkflows",group:"workflows",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/workflows",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.publishWorkflowRevision",group:"workflows",command:"publish-revision",mutation:!0,idempotent:!0,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/revisions/{revisionId}/publish",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"workflowId",in:"path",required:!0},{name:"revisionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"Idempotency-Key",in:"header",required:!0},{name:"If-Match",in:"header",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.testWorkflowRevision",group:"workflows",command:"test-revision",mutation:!0,idempotent:!0,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/revisions/{revisionId}/test",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"workflowId",in:"path",required:!0},{name:"revisionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"Idempotency-Key",in:"header",required:!0},{name:"If-Match",in:"header",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.updateWorkflow",group:"workflows",command:"update",mutation:!0,idempotent:!0,path:"/v1/spaces/{spaceId}/workflows/{workflowId}",method:"put",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"workflowId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"Idempotency-Key",in:"header",required:!0},{name:"If-Match",in:"header",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.validateWorkflowRevision",group:"workflows",command:"validate-revision",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/revisions/{revisionId}/validate",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"workflowId",in:"path",required:!0},{name:"revisionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.waitForWorkflowRun",group:"workflow-runs",command:"wait",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/workflow-runs/{runId}/wait",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"runId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"timeoutSeconds",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]}];var ze=Vd;function Md(e){let t=ze.find((r)=>r.id===e);if(!t)throw Error(`Unknown generated operation: ${e}`);return t}function je(e,t){let r;for(let n=0;n<e.length;n++){let a=e[n];if(a==="--")break;if(a!==t&&!a.startsWith(`${t}=`))continue;if(r!==void 0)throw k(`Pass ${t} only once.`);if(a===t){if(r=e[n+1],r===void 0||r.startsWith("--"))throw k(`${t} requires a value.`);e.splice(n,2)}else r=a.slice(t.length+1),e.splice(n,1);n--}return r}function Fi(e,t){let r=!1;for(let n=(e.indexOf("--")<0?e.length:e.indexOf("--"))-1;n>=0;n--)if(e[n]===t)e.splice(n,1),r=!0;return r}function Bd(e){let t=[...e],r=je(t,"--profile"),n=je(t,"--space"),a=je(t,"--organization"),i=je(t,"--api-url"),o=je(t,"--base-url");if(i!==void 0&&o!==void 0&&i!==o)throw k("Pass one API URL override.");let s=i??o,d={json:!1,nonInteractive:Fi(t,"--non-interactive"),...r===void 0?{}:{profile:r},...n===void 0?{}:{space:n},...a===void 0?{}:{organization:a},...s===void 0?{}:{apiUrl:s}};return{args:t,globals:d,yes:Fi(t,"--yes"),overwrite:Fi(t,"--overwrite")}}var Ud=new Set(["--schema","--spec","--spec-raw","--debug","--version","-V","--help","-h","--dry-run","--human","--quiet","-q","--page-all","--no-retry","--no-extract","--no-pager","--no-stream"]);function Zi(e){let t=[];for(let r=0;r<e.length&&t.length<2;r++){let n=e[r];if(n==="--")break;if(!n.startsWith("-"))t.push(r);else if(!n.includes("=")&&!Ud.has(n)&&e[r+1]&&!e[r+1].startsWith("-"))r++}return t}function vt(e){return Zi(e).map((t)=>e[t])}function Fd(e){let t=vt(e);return ze.find((r)=>r.group===t[0]&&r.command===t[1])}function gr(e){for(let t=0;t<e.length;t++){let r=e[t];if(r==="--")return!1;if(["--help","-h","--schema","--spec","--spec-raw"].includes(r))return!0;if(r.startsWith("-")&&!r.includes("=")&&!Ud.has(r))t++}return!1}function Zd(e){let t=je(e,"--params");if(t===void 0)return{};if(Buffer.byteLength(t)>262144)throw k("--params must be at most 256 KiB.");let r;try{r=JSON.parse(t)}catch{throw k("--params must be a JSON object.")}if(!r||typeof r!=="object"||Array.isArray(r))throw k("--params must be a JSON object.");return r}function Gd(e){let t=ze.some((s)=>s.group===e[0]),r=e[t?1:0]??"",n=[...new Set(ze.filter((s)=>!t||s.group===e[0]).map((s)=>t?s.command:s.group))],a=(s)=>{let d=Array.from({length:r.length+1},(c,l)=>l);for(let c=0;c<s.length;c++){let l=[c+1];for(let u=0;u<r.length;u++)l.push(Math.min(l[u]+1,d[u+1]+1,d[u]+(s[c]===r[u]?0:1)));d=l}return d[r.length]},o=n.map((s)=>({candidate:s,score:a(s)})).filter(({score:s})=>s<=2).sort((s,d)=>s.score-d.score)[0];return o?`action ${t?e[0]+" ":""}${o.candidate}`:void 0}function sn(e){let t=e.indexOf("--");return t<0?e:e.slice(0,t)}var dn={applications:{list:"list-applications",get:"get-application","list-application-automations":"list-application-agents"},sessions:{"mute-automation":"mute-agent","unmute-automation":"unmute-agent"},skills:{"list-automations":"list-agents"}};function Kd(e){let t=e[0]==="help"?1:0,[r,n]=Zi(e.slice(t));if(r===void 0||n===void 0)return;let a=dn[e[r+t]]?.[e[n+t]];if(a)e[n+t]=a}var ge="0.3.2";function Ye(e){return{name:e.name(),description:e.description(),usage:e.usage(),aliases:e.aliases(),arguments:e.registeredArguments.map((t)=>({name:t.name(),required:t.required,variadic:t.variadic,description:t.description})),options:e.options.map((t)=>({flags:t.flags,description:t.description})),commands:e.commands.map(Ye)}}function Hd(e){let t=Gt(e);return{name:t.name(),version:ge,description:"Local authentication, context, and authoring commands supplement the generated public API commands. The launcher handles auth with WorkOS profiles, not the generated sidecar keyring.",commands:t.commands.map(Ye),globalOptions:t.options.map((r)=>({flags:r.flags,description:r.description})),resourceAliases:dn,resourceOptions:[{flags:"--yes",description:"Confirm a public API mutation."},{flags:"--overwrite",description:"Allow replacing an existing output file."}],inputOutput:"Public resource input uses --json <body>; resource output uses --format json. Local commands also accept --format json (or legacy --json)."}}function Jd(e){return["","Copilot: action copilot [message] — your assistant across Action.","Conversations: action sessions start, reply, wait, transcript.","","Action launcher commands (handled locally):",...Gt(e).commands.map((r)=>` ${r.name().padEnd(20)} ${r.description()}`),"","action auth uses WorkOS profiles stored in the system credential store.","Run action <local-command> --help for local options and subcommands.","Shell options: --profile, --api-url, --space, --organization, --non-interactive, --yes, --overwrite.","Resource input uses --json <body>; output uses --format json. Local commands also accept --format json (or legacy --json).",""].join(`
|
|
34
|
+
deps: ${r}}`};var U0={keyword:"dependencies",type:"object",schemaType:"object",error:Wm.error,code(e){let[t,r]=F0(e);Xm(e,t),Nm(e,r)}};function F0({schema:e}){let t={},r={};for(let n in e){if(n==="__proto__")continue;let a=Array.isArray(e[n])?t:r;a[n]=e[n]}return[t,r]}function Xm(e,t=e.schema){let{gen:r,data:n,it:a}=e;if(Object.keys(t).length===0)return;let i=r.let("missing");for(let o in t){let s=t[o];if(s.length===0)continue;let d=ut.propertyInData(r,n,o,a.opts.ownProperties);if(e.setParams({property:o,depsCount:s.length,deps:s.join(", ")}),a.allErrors)r.if(d,()=>{for(let c of s)ut.checkReportMissingProp(e,c)});else r.if(Ur._`${d} && (${ut.checkMissingProp(e,s,i)})`),ut.reportMissingProp(e,i),r.else()}}Wm.validatePropertyDeps=Xm;function Nm(e,t=e.schema){let{gen:r,data:n,keyword:a,it:i}=e,o=r.name("valid");for(let s in t){if(Tm.alwaysValidSchema(i,t[s]))continue;r.if(ut.propertyInData(r,n,s,i.opts.ownProperties),()=>{let d=e.subschema({keyword:a,schemaProp:s},o);e.mergeValidEvaluated(d,o)},()=>r.var(o,!0)),e.ok(o)}}Wm.validateSchemaDeps=Nm;Wm.default=U0});var Um=w(function(Bm){Object.defineProperty(Bm,"__esModule",{value:!0});var ri=X(),Mm=D(),K0={message:"property name must be valid",params:({params:e})=>ri._`{propertyName: ${e.propertyName}}`},H0={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:K0,code(e){let{gen:t,schema:r,data:n,it:a}=e;if(Mm.alwaysValidSchema(a,r))return;let i=t.name("valid");t.forIn("key",n,(o)=>{e.setParams({propertyName:o}),e.subschema({keyword:"propertyNames",data:o,dataTypes:["string"],propertyName:o,compositeRule:!0},i),t.if(ri.not(i),()=>{if(e.error(!0),!a.allErrors)t.break()})}),e.ok(i)}};Bm.default=H0});var bs=w(function(Fm){Object.defineProperty(Fm,"__esModule",{value:!0});var Wt=We(),ee=X(),Y0=Xe(),Dt=D(),Q0={message:"must NOT have additional properties",params:({params:e})=>ee._`{additionalProperty: ${e.additionalProperty}}`},ek={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:Q0,code(e){let{gen:t,schema:r,parentSchema:n,data:a,errsCount:i,it:o}=e;if(!i)throw Error("ajv implementation error");let{allErrors:s,opts:d}=o;if(o.props=!0,d.removeAdditional!=="all"&&Dt.alwaysValidSchema(o,r))return;let c=Wt.allSchemaProperties(n.properties),l=Wt.allSchemaProperties(n.patternProperties);u(),e.ok(ee._`${i} === ${Y0.default.errors}`);function u(){t.forIn("key",a,(g)=>{if(!c.length&&!l.length)f(g);else t.if(m(g),()=>f(g))})}function m(g){let y;if(c.length>8){let b=Dt.schemaRefOrVal(o,n.properties,"properties");y=Wt.isOwnProperty(t,b,g)}else if(c.length)y=ee.or(...c.map((b)=>ee._`${g} === ${b}`));else y=ee.nil;if(l.length)y=ee.or(y,...l.map((b)=>ee._`${Wt.usePattern(e,b)}.test(${g})`));return ee.not(y)}function h(g){t.code(ee._`delete ${a}[${g}]`)}function f(g){if(d.removeAdditional==="all"||d.removeAdditional&&r===!1){h(g);return}if(r===!1){if(e.setParams({additionalProperty:g}),e.error(),!s)t.break();return}if(typeof r=="object"&&!Dt.alwaysValidSchema(o,r)){let y=t.name("valid");if(d.removeAdditional==="failing")p(g,y,!1),t.if(ee.not(y),()=>{e.reset(),h(g)});else if(p(g,y),!s)t.if(ee.not(y),()=>t.break())}}function p(g,y,b){let q={keyword:"additionalProperties",dataProp:g,dataPropType:Dt.Type.Str};if(b===!1)Object.assign(q,{compositeRule:!0,createErrors:!1,allErrors:!1});e.subschema(q,y)}}};Fm.default=ek});var Hm=w(function(Km){Object.defineProperty(Km,"__esModule",{value:!0});var Gm=Er(),ni=We(),Fr=D(),Zm=bs(),rk={keyword:"properties",type:"object",schemaType:"object",code(e){let{gen:t,schema:r,parentSchema:n,data:a,it:i}=e;if(i.opts.removeAdditional==="all"&&n.additionalProperties===void 0)Zm.default.code(new Gm.KeywordCxt(i,Zm.default,"additionalProperties"));let o=ni.allSchemaProperties(r);for(let u of o)i.definedProperties.add(u);if(i.opts.unevaluated&&o.length&&i.props!==!0)i.props=Fr.mergeEvaluated.props(t,Fr.toHash(o),i.props);let s=o.filter((u)=>!Fr.alwaysValidSchema(i,r[u]));if(s.length===0)return;let d=t.name("valid");for(let u of s){if(c(u))l(u);else{if(t.if(ni.propertyInData(t,a,u,i.opts.ownProperties)),l(u),!i.allErrors)t.else().var(d,!0);t.endIf()}e.it.definedProperties.add(u),e.ok(d)}function c(u){return i.opts.useDefaults&&!i.compositeRule&&r[u].default!==void 0}function l(u){e.subschema({keyword:"properties",schemaProp:u,dataProp:u},d)}}};Km.default=rk});var Ym=w(function(Jm){Object.defineProperty(Jm,"__esModule",{value:!0});var ai=We(),Vt=X(),ii=D(),oi=D(),ak={keyword:"patternProperties",type:"object",schemaType:"object",code(e){let{gen:t,schema:r,data:n,parentSchema:a,it:i}=e,{opts:o}=i,s=ai.allSchemaProperties(r),d=s.filter((p)=>ii.alwaysValidSchema(i,r[p]));if(s.length===0||d.length===s.length&&(!i.opts.unevaluated||i.props===!0))return;let c=o.strictSchema&&!o.allowMatchingProperties&&a.properties,l=t.name("valid");if(i.props!==!0&&!(i.props instanceof Vt.Name))i.props=oi.evaluatedPropsToName(t,i.props);let{props:u}=i;m();function m(){for(let p of s){if(c)h(p);if(i.allErrors)f(p);else t.var(l,!0),f(p),t.if(l)}}function h(p){for(let g in c)if(new RegExp(p).test(g))ii.checkStrictMode(i,`property ${g} matches pattern ${p} (use allowMatchingProperties)`)}function f(p){t.forIn("key",n,(g)=>{t.if(Vt._`${ai.usePattern(e,p)}.test(${g})`,()=>{let y=d.includes(p);if(!y)e.subschema({keyword:"patternProperties",schemaProp:p,dataProp:g,dataPropType:oi.Type.Str},l);if(i.opts.unevaluated&&u!==!0)t.assign(Vt._`${u}[${g}]`,!0);else if(!y&&!i.allErrors)t.if(Vt.not(l),()=>t.break())})})}}};Jm.default=ak});var tf=w(function(ef){Object.defineProperty(ef,"__esModule",{value:!0});var Qm=D(),ok={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){let{gen:t,schema:r,it:n}=e;if(Qm.alwaysValidSchema(n,r)){e.fail();return}let a=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},a),e.failResult(a,()=>e.reset(),()=>e.error())},error:{message:"must NOT be valid"}};ef.default=ok});var af=w(function(nf){Object.defineProperty(nf,"__esModule",{value:!0});var rf=We(),dk={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:rf.validateUnion,error:{message:"must match a schema in anyOf"}};nf.default=dk});var df=w(function(sf){Object.defineProperty(sf,"__esModule",{value:!0});var Mt=X(),of=D(),lk={message:"must match exactly one schema in oneOf",params:({params:e})=>Mt._`{passingSchemas: ${e.passing}}`},uk={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:lk,code(e){let{gen:t,schema:r,parentSchema:n,it:a}=e;if(!Array.isArray(r))throw Error("ajv implementation error");if(a.opts.discriminator&&n.discriminator)return;let i=r,o=t.let("valid",!1),s=t.let("passing",null),d=t.name("_valid");e.setParams({passing:s}),t.block(c),e.result(o,()=>e.reset(),()=>e.error(!0));function c(){i.forEach((l,u)=>{let m;if(of.alwaysValidSchema(a,l))t.var(d,!0);else m=e.subschema({keyword:"oneOf",schemaProp:u,compositeRule:!0},d);if(u>0)t.if(Mt._`${d} && ${o}`).assign(o,!1).assign(s,Mt._`[${s}, ${u}]`).else();t.if(d,()=>{if(t.assign(o,!0),t.assign(s,u),m)e.mergeEvaluated(m,Mt.Name)})})}}};sf.default=uk});var uf=w(function(lf){Object.defineProperty(lf,"__esModule",{value:!0});var cf=D(),mk={keyword:"allOf",schemaType:"array",code(e){let{gen:t,schema:r,it:n}=e;if(!Array.isArray(r))throw Error("ajv implementation error");let a=t.name("valid");r.forEach((i,o)=>{if(cf.alwaysValidSchema(n,i))return;let s=e.subschema({keyword:"allOf",schemaProp:o},a);e.ok(a),e.mergeEvaluated(s)})}};lf.default=mk});var ff=w(function(mf){Object.defineProperty(mf,"__esModule",{value:!0});var Bt=X(),si=D(),hk={message:({params:e})=>Bt.str`must match "${e.ifClause}" schema`,params:({params:e})=>Bt._`{failingKeyword: ${e.ifClause}}`},gk={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:hk,code(e){let{gen:t,parentSchema:r,it:n}=e;if(r.then===void 0&&r.else===void 0)si.checkStrictMode(n,'"if" without "then" and "else" is ignored');let a=pf(n,"then"),i=pf(n,"else");if(!a&&!i)return;let o=t.let("valid",!0),s=t.name("_valid");if(d(),e.reset(),a&&i){let l=t.let("ifClause");e.setParams({ifClause:l}),t.if(s,c("then",l),c("else",l))}else if(a)t.if(s,c("then"));else t.if(Bt.not(s),c("else"));e.pass(o,()=>e.error(!0));function d(){let l=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},s);e.mergeEvaluated(l)}function c(l,u){return()=>{let m=e.subschema({keyword:l},s);if(t.assign(o,s),e.mergeValidEvaluated(m,o),u)t.assign(u,Bt._`${l}`);else e.setParams({ifClause:l})}}}};function pf(e,t){let r=e.schema[t];return r!==void 0&&!si.alwaysValidSchema(e,r)}mf.default=gk});var yf=w(function(gf){Object.defineProperty(gf,"__esModule",{value:!0});var hf=D(),Ik={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:r}){if(t.if===void 0)hf.checkStrictMode(r,`"${e}" without "if" is ignored`)}};gf.default=Ik});var vs=w(function(If){Object.defineProperty(If,"__esModule",{value:!0});var wk=qs(),bk=Lm(),vk=ws(),Ak=zm(),Ck=Em(),kk=ti(),_k=Um(),xk=bs(),Pk=Hm(),Lk=Ym(),$k=tf(),Sk=af(),Rk=df(),Ok=uf(),zk=ff(),jk=yf();function Ek(e=!1){let t=[$k.default,Sk.default,Rk.default,Ok.default,zk.default,jk.default,_k.default,xk.default,kk.default,Pk.default,Lk.default];if(e)t.push(bk.default,Ak.default);else t.push(wk.default,vk.default);return t.push(Ck.default),t}If.default=Ek});var wf=w(function(qf){Object.defineProperty(qf,"__esModule",{value:!0});var W=X(),Xk={message:({schemaCode:e})=>W.str`must match format "${e}"`,params:({schemaCode:e})=>W._`{format: ${e}}`},Nk={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:Xk,code(e,t){let{gen:r,data:n,$data:a,schema:i,schemaCode:o,it:s}=e,{opts:d,errSchemaPath:c,schemaEnv:l,self:u}=s;if(!d.validateFormats)return;if(a)m();else h();function m(){let f=r.scopeValue("formats",{ref:u.formats,code:d.code.formats}),p=r.const("fDef",W._`${f}[${o}]`),g=r.let("fType"),y=r.let("format");r.if(W._`typeof ${p} == "object" && !(${p} instanceof RegExp)`,()=>r.assign(g,W._`${p}.type || "string"`).assign(y,W._`${p}.validate`),()=>r.assign(g,W._`"string"`).assign(y,p)),e.fail$data(W.or(b(),q()));function b(){if(d.strictSchema===!1)return W.nil;return W._`${o} && !${y}`}function q(){let O=l.$async?W._`(${p}.async ? await ${y}(${n}) : ${y}(${n}))`:W._`${y}(${n})`,x=W._`(typeof ${y} == "function" ? ${O} : ${y}.test(${n}))`;return W._`${y} && ${y} !== true && ${g} === ${t} && !${x}`}}function h(){let f=u.formats[i];if(!f){b();return}if(f===!0)return;let[p,g,y]=q(f);if(p===t)e.pass(O());function b(){if(d.strictSchema===!1){u.logger.warn(x());return}throw Error(x());function x(){return`unknown format "${i}" ignored in schema at path "${c}"`}}function q(x){let H=x instanceof RegExp?W.regexpCode(x):d.code.formats?W._`${d.code.formats}${W.getProperty(i)}`:void 0,A=r.scopeValue("formats",{key:i,ref:x,code:H});if(typeof x=="object"&&!(x instanceof RegExp))return[x.type||"string",x.validate,W._`${A}.validate`];return["string",x,A]}function O(){if(typeof f=="object"&&!(f instanceof RegExp)&&f.async){if(!l.$async)throw Error("async format in sync schema");return W._`await ${y}(${n})`}return typeof g=="function"?W._`${y}(${n})`:W._`${y}.test(${n})`}}}};qf.default=Nk});var As=w(function(bf){Object.defineProperty(bf,"__esModule",{value:!0});var Dk=wf(),Vk=[Dk.default];bf.default=Vk});var Cs=w(function(vf){Object.defineProperty(vf,"__esModule",{value:!0});vf.contentVocabulary=vf.metadataVocabulary=void 0;vf.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];vf.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]});var kf=w(function(Cf){Object.defineProperty(Cf,"__esModule",{value:!0});var Uk=ys(),Fk=Is(),Zk=vs(),Gk=As(),di=Cs(),Kk=[Uk.default,Fk.default,(0,Zk.default)(),Gk.default,di.metadataVocabulary,di.contentVocabulary];Cf.default=Kk});var Lf=w(function(xf){Object.defineProperty(xf,"__esModule",{value:!0});xf.DiscrError=void 0;var _f;(function(e){e.Tag="tag",e.Mapping="mapping"})(_f||(xf.DiscrError=_f={}))});var ks=w(function(Sf){Object.defineProperty(Sf,"__esModule",{value:!0});var Ve=X(),Zr=Lf(),ci=Ln(),Jk=Xr(),$f=D(),Yk={message:({params:{discrError:e,tagName:t}})=>e===Zr.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:r}})=>Ve._`{error: ${e}, tag: ${r}, tagValue: ${t}}`},Qk={keyword:"discriminator",type:"object",schemaType:"object",error:Yk,code(e){let{gen:t,data:r,schema:n,parentSchema:a,it:i}=e,{oneOf:o}=a;if(!i.opts.discriminator)throw Error("discriminator: requires discriminator option");let s=n.propertyName;if(typeof s!="string")throw Error("discriminator: requires propertyName");if(n.mapping)throw Error("discriminator: mapping is not supported");if(!o)throw Error("discriminator: requires oneOf keyword");let d=t.let("valid",!1),c=t.const("tag",Ve._`${r}${Ve.getProperty(s)}`);t.if(Ve._`typeof ${c} == "string"`,()=>l(),()=>e.error(!1,{discrError:Zr.DiscrError.Tag,tag:c,tagName:s})),e.ok(d);function l(){let h=m();t.if(!1);for(let f in h)t.elseIf(Ve._`${c} === ${f}`),t.assign(d,u(h[f]));t.else(),e.error(!1,{discrError:Zr.DiscrError.Mapping,tag:c,tagName:s}),t.endIf()}function u(h){let f=t.name("valid"),p=e.subschema({keyword:"oneOf",schemaProp:h},f);return e.mergeEvaluated(p,Ve.Name),f}function m(){var h;let f={},p=y(a),g=!0;for(let O=0;O<o.length;O++){let x=o[O];if((x===null||x===void 0?void 0:x.$ref)&&!$f.schemaHasRulesButRef(x,i.self.RULES)){let A=x.$ref;if(x=ci.resolveRef.call(i.self,i.schemaEnv.root,i.baseId,A),x instanceof ci.SchemaEnv)x=x.schema;if(x===void 0)throw new Jk.default(i.opts.uriResolver,i.baseId,A)}let H=(h=x===null||x===void 0?void 0:x.properties)===null||h===void 0?void 0:h[s];if(typeof H!="object")throw Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${s}"`);g=g&&(p||y(x)),b(H,O)}if(!g)throw Error(`discriminator: "${s}" must be required`);return f;function y({required:O}){return Array.isArray(O)&&O.includes(s)}function b(O,x){if(O.const)q(O.const,x);else if(O.enum)for(let H of O.enum)q(H,x);else throw Error(`discriminator: "properties/${s}" must have "const" or "enum"`)}function q(O,x){if(typeof O!="string"||O in f)throw Error(`discriminator: "${s}" values must be unique strings`);f[O]=x}}}};Sf.default=Qk});var Rf=w(function(vO,t1){t1.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}});var zf=w(function(Ce,_s){Object.defineProperty(Ce,"__esModule",{value:!0});Ce.MissingRefError=Ce.ValidationError=Ce.CodeGen=Ce.Name=Ce.nil=Ce.stringify=Ce.str=Ce._=Ce.KeywordCxt=Ce.Ajv=void 0;var r1=gs(),n1=kf(),a1=ks(),Of=Rf(),i1=["/properties"],li="http://json-schema.org/draft-07/schema";class Rn extends r1.default{_addVocabularies(){if(super._addVocabularies(),n1.default.forEach((e)=>this.addVocabulary(e)),this.opts.discriminator)this.addKeyword(a1.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let e=this.opts.$data?this.$dataMetaSchema(Of,i1):Of;this.addMetaSchema(e,li,!1),this.refs["http://json-schema.org/schema"]=li}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(li)?li:void 0)}}Ce.Ajv=Rn;_s.exports=Ce=Rn;_s.exports.Ajv=Rn;Object.defineProperty(Ce,"__esModule",{value:!0});Ce.default=Rn;var o1=Er();Object.defineProperty(Ce,"KeywordCxt",{enumerable:!0,get:function(){return o1.KeywordCxt}});var Gr=X();Object.defineProperty(Ce,"_",{enumerable:!0,get:function(){return Gr._}});Object.defineProperty(Ce,"str",{enumerable:!0,get:function(){return Gr.str}});Object.defineProperty(Ce,"stringify",{enumerable:!0,get:function(){return Gr.stringify}});Object.defineProperty(Ce,"nil",{enumerable:!0,get:function(){return Gr.nil}});Object.defineProperty(Ce,"Name",{enumerable:!0,get:function(){return Gr.Name}});Object.defineProperty(Ce,"CodeGen",{enumerable:!0,get:function(){return Gr.CodeGen}});var s1=xn();Object.defineProperty(Ce,"ValidationError",{enumerable:!0,get:function(){return s1.default}});var d1=Xr();Object.defineProperty(Ce,"MissingRefError",{enumerable:!0,get:function(){return d1.default}})});var ed=w(function(Zh){Object.defineProperty(Zh,"__esModule",{value:!0});Zh.dynamicAnchor=void 0;var en=X(),P_=Xe(),ki=Ln(),Uh=Ha(),L_={keyword:"$dynamicAnchor",schemaType:"string",code:(e)=>Fh(e,e.schema)};function Fh(e,t){let{gen:r,it:n}=e;n.schemaEnv.root.dynamicAnchors[t]=!0;let a=en._`${P_.default.dynamicAnchors}${en.getProperty(t)}`,i=n.errSchemaPath==="#"?n.validateName:$_(e);r.if(en._`!${a}`,()=>r.assign(a,i))}Zh.dynamicAnchor=Fh;function $_(e){let{schemaEnv:t,schema:r,self:n}=e.it,{root:a,baseId:i,localRefs:o,meta:s}=t.root,{schemaId:d}=n.opts,c=new ki.SchemaEnv({schema:r,schemaId:d,root:a,baseId:i,localRefs:o,meta:s});return ki.compileSchema.call(n,c),Uh.getValidate(e,c)}Zh.default=L_});var td=w(function(Hh){Object.defineProperty(Hh,"__esModule",{value:!0});Hh.dynamicRef=void 0;var _i=X(),R_=Xe(),xi=Ha(),O_={keyword:"$dynamicRef",schemaType:"string",code:(e)=>Kh(e,e.schema)};function Kh(e,t){let{gen:r,keyword:n,it:a}=e;if(t[0]!=="#")throw Error(`"${n}" only supports hash fragment reference`);let i=t.slice(1);if(a.allErrors)o();else{let d=r.let("valid",!1);o(d),e.ok(d)}function o(d){if(a.schemaEnv.root.dynamicAnchors[i]){let c=r.let("_v",_i._`${R_.default.dynamicAnchors}${_i.getProperty(i)}`);r.if(c,s(c,d),s(a.validateName,d))}else s(a.validateName,d)()}function s(d,c){return c?()=>r.block(()=>{xi.callRef(e,d),r.let(c,!0)}):()=>xi.callRef(e,d)}}Hh.dynamicRef=Kh;Hh.default=O_});var tg=w(function(eg){Object.defineProperty(eg,"__esModule",{value:!0});var Yh=ed(),Qh=D(),j_={keyword:"$recursiveAnchor",schemaType:"boolean",code(e){if(e.schema)Yh.dynamicAnchor(e,"");else Qh.checkStrictMode(e.it,"$recursiveAnchor: false is ignored")}};eg.default=j_});var ag=w(function(ng){Object.defineProperty(ng,"__esModule",{value:!0});var rg=td(),T_={keyword:"$recursiveRef",schemaType:"string",code:(e)=>rg.dynamicRef(e,e.schema)};ng.default=T_});var og=w(function(ig){Object.defineProperty(ig,"__esModule",{value:!0});var N_=ed(),W_=td(),D_=tg(),V_=ag(),M_=[N_.default,W_.default,D_.default,V_.default];ig.default=M_});var dg=w(function(sg){Object.defineProperty(sg,"__esModule",{value:!0});var Pi=ti(),U_={keyword:"dependentRequired",type:"object",schemaType:"object",error:Pi.error,code:(e)=>Pi.validatePropertyDeps(e)};sg.default=U_});var ug=w(function(lg){Object.defineProperty(lg,"__esModule",{value:!0});var cg=ti(),Z_={keyword:"dependentSchemas",type:"object",schemaType:"object",code:(e)=>cg.validateSchemaDeps(e)};lg.default=Z_});var fg=w(function(mg){Object.defineProperty(mg,"__esModule",{value:!0});var pg=D(),K_={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:e,parentSchema:t,it:r}){if(t.contains===void 0)pg.checkStrictMode(r,`"${e}" without "contains" is ignored`)}};mg.default=K_});var gg=w(function(hg){Object.defineProperty(hg,"__esModule",{value:!0});var J_=dg(),Y_=ug(),Q_=fg(),ex=[J_.default,Y_.default,Q_.default];hg.default=ex});var Ig=w(function(yg){Object.defineProperty(yg,"__esModule",{value:!0});var fe=X(),Li=D(),rx=Xe(),nx={message:"must NOT have unevaluated properties",params:({params:e})=>fe._`{unevaluatedProperty: ${e.unevaluatedProperty}}`},ax={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:!0,error:nx,code(e){let{gen:t,schema:r,data:n,errsCount:a,it:i}=e;if(!a)throw Error("ajv implementation error");let{allErrors:o,props:s}=i;if(s instanceof fe.Name)t.if(fe._`${s} !== true`,()=>t.forIn("key",n,(u)=>t.if(c(s,u),()=>d(u))));else if(s!==!0)t.forIn("key",n,(u)=>s===void 0?d(u):t.if(l(s,u),()=>d(u)));i.props=!0,e.ok(fe._`${a} === ${rx.default.errors}`);function d(u){if(r===!1){if(e.setParams({unevaluatedProperty:u}),e.error(),!o)t.break();return}if(!Li.alwaysValidSchema(i,r)){let m=t.name("valid");if(e.subschema({keyword:"unevaluatedProperties",dataProp:u,dataPropType:Li.Type.Str},m),!o)t.if(fe.not(m),()=>t.break())}}function c(u,m){return fe._`!${u} || !${u}[${m}]`}function l(u,m){let h=[];for(let f in u)if(u[f]===!0)h.push(fe._`${m} !== ${f}`);return fe.and(...h)}}};yg.default=ax});var wg=w(function(qg){Object.defineProperty(qg,"__esModule",{value:!0});var Pe=X(),$i=D(),ox={message:({params:{len:e}})=>Pe.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>Pe._`{limit: ${e}}`},sx={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:ox,code(e){let{gen:t,schema:r,data:n,it:a}=e,i=a.items||0;if(i===!0)return;let o=t.const("len",Pe._`${n}.length`);if(r===!1)e.setParams({len:i}),e.fail(Pe._`${o} > ${i}`);else if(typeof r=="object"&&!$i.alwaysValidSchema(a,r)){let d=t.var("valid",Pe._`${o} <= ${i}`);t.if(Pe.not(d),()=>s(d,i)),e.ok(d)}a.items=!0;function s(d,c){t.forRange("i",c,o,(l)=>{if(e.subschema({keyword:"unevaluatedItems",dataProp:l,dataPropType:$i.Type.Num},d),!a.allErrors)t.if(Pe.not(d),()=>t.break())})}}};qg.default=sx});var vg=w(function(bg){Object.defineProperty(bg,"__esModule",{value:!0});var cx=Ig(),lx=wg(),ux=[cx.default,lx.default];bg.default=ux});var Cg=w(function(Ag){Object.defineProperty(Ag,"__esModule",{value:!0});var mx=ys(),fx=Is(),hx=vs(),gx=og(),yx=gg(),Ix=vg(),qx=As(),Si=Cs(),wx=[gx.default,mx.default,fx.default,(0,hx.default)(!0),qx.default,Si.metadataVocabulary,Si.contentVocabulary,yx.default,Ix.default];Ag.default=wx});var kg=w(function(vj,vx){vx.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/schema",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/core":!0,"https://json-schema.org/draft/2020-12/vocab/applicator":!0,"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0,"https://json-schema.org/draft/2020-12/vocab/validation":!0,"https://json-schema.org/draft/2020-12/vocab/meta-data":!0,"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0,"https://json-schema.org/draft/2020-12/vocab/content":!0},$dynamicAnchor:"meta",title:"Core and Validation specifications meta-schema",allOf:[{$ref:"meta/core"},{$ref:"meta/applicator"},{$ref:"meta/unevaluated"},{$ref:"meta/validation"},{$ref:"meta/meta-data"},{$ref:"meta/format-annotation"},{$ref:"meta/content"}],type:["object","boolean"],$comment:"This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.",properties:{definitions:{$comment:'"definitions" has been replaced by "$defs".',type:"object",additionalProperties:{$dynamicRef:"#meta"},deprecated:!0,default:{}},dependencies:{$comment:'"dependencies" has been split and replaced by "dependentSchemas" and "dependentRequired" in order to serve their differing semantics.',type:"object",additionalProperties:{anyOf:[{$dynamicRef:"#meta"},{$ref:"meta/validation#/$defs/stringArray"}]},deprecated:!0,default:{}},$recursiveAnchor:{$comment:'"$recursiveAnchor" has been replaced by "$dynamicAnchor".',$ref:"meta/core#/$defs/anchorString",deprecated:!0},$recursiveRef:{$comment:'"$recursiveRef" has been replaced by "$dynamicRef".',$ref:"meta/core#/$defs/uriReferenceString",deprecated:!0}}}});var _g=w(function(Aj,Ax){Ax.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/applicator",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/applicator":!0},$dynamicAnchor:"meta",title:"Applicator vocabulary meta-schema",type:["object","boolean"],properties:{prefixItems:{$ref:"#/$defs/schemaArray"},items:{$dynamicRef:"#meta"},contains:{$dynamicRef:"#meta"},additionalProperties:{$dynamicRef:"#meta"},properties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},patternProperties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},propertyNames:{format:"regex"},default:{}},dependentSchemas:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},propertyNames:{$dynamicRef:"#meta"},if:{$dynamicRef:"#meta"},then:{$dynamicRef:"#meta"},else:{$dynamicRef:"#meta"},allOf:{$ref:"#/$defs/schemaArray"},anyOf:{$ref:"#/$defs/schemaArray"},oneOf:{$ref:"#/$defs/schemaArray"},not:{$dynamicRef:"#meta"}},$defs:{schemaArray:{type:"array",minItems:1,items:{$dynamicRef:"#meta"}}}}});var xg=w(function(Cj,Cx){Cx.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/unevaluated",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0},$dynamicAnchor:"meta",title:"Unevaluated applicator vocabulary meta-schema",type:["object","boolean"],properties:{unevaluatedItems:{$dynamicRef:"#meta"},unevaluatedProperties:{$dynamicRef:"#meta"}}}});var Pg=w(function(kj,kx){kx.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/content",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/content":!0},$dynamicAnchor:"meta",title:"Content vocabulary meta-schema",type:["object","boolean"],properties:{contentEncoding:{type:"string"},contentMediaType:{type:"string"},contentSchema:{$dynamicRef:"#meta"}}}});var Lg=w(function(_j,_x){_x.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/core",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/core":!0},$dynamicAnchor:"meta",title:"Core vocabulary meta-schema",type:["object","boolean"],properties:{$id:{$ref:"#/$defs/uriReferenceString",$comment:"Non-empty fragments not allowed.",pattern:"^[^#]*#?$"},$schema:{$ref:"#/$defs/uriString"},$ref:{$ref:"#/$defs/uriReferenceString"},$anchor:{$ref:"#/$defs/anchorString"},$dynamicRef:{$ref:"#/$defs/uriReferenceString"},$dynamicAnchor:{$ref:"#/$defs/anchorString"},$vocabulary:{type:"object",propertyNames:{$ref:"#/$defs/uriString"},additionalProperties:{type:"boolean"}},$comment:{type:"string"},$defs:{type:"object",additionalProperties:{$dynamicRef:"#meta"}}},$defs:{anchorString:{type:"string",pattern:"^[A-Za-z_][-A-Za-z0-9._]*$"},uriString:{type:"string",format:"uri"},uriReferenceString:{type:"string",format:"uri-reference"}}}});var $g=w(function(xj,xx){xx.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/format-annotation",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0},$dynamicAnchor:"meta",title:"Format vocabulary meta-schema for annotation results",type:["object","boolean"],properties:{format:{type:"string"}}}});var Sg=w(function(Pj,Px){Px.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/meta-data",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/meta-data":!0},$dynamicAnchor:"meta",title:"Meta-data vocabulary meta-schema",type:["object","boolean"],properties:{title:{type:"string"},description:{type:"string"},default:!0,deprecated:{type:"boolean",default:!1},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0}}}});var Rg=w(function(Lj,Lx){Lx.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/validation",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/validation":!0},$dynamicAnchor:"meta",title:"Validation vocabulary meta-schema",type:["object","boolean"],properties:{type:{anyOf:[{$ref:"#/$defs/simpleTypes"},{type:"array",items:{$ref:"#/$defs/simpleTypes"},minItems:1,uniqueItems:!0}]},const:!0,enum:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/$defs/nonNegativeInteger"},minLength:{$ref:"#/$defs/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},maxItems:{$ref:"#/$defs/nonNegativeInteger"},minItems:{$ref:"#/$defs/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxContains:{$ref:"#/$defs/nonNegativeInteger"},minContains:{$ref:"#/$defs/nonNegativeInteger",default:1},maxProperties:{$ref:"#/$defs/nonNegativeInteger"},minProperties:{$ref:"#/$defs/nonNegativeIntegerDefault0"},required:{$ref:"#/$defs/stringArray"},dependentRequired:{type:"object",additionalProperties:{$ref:"#/$defs/stringArray"}}},$defs:{nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{$ref:"#/$defs/nonNegativeInteger",default:0},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}}}});var zg=w(function(Og){Object.defineProperty(Og,"__esModule",{value:!0});var $x=kg(),Sx=_g(),Rx=xg(),Ox=Pg(),zx=Lg(),jx=$g(),Ex=Sg(),Tx=Rg(),Xx=["/properties"];function Nx(e){return[$x,Sx,Rx,Ox,zx,t(this,jx),Ex,t(this,Tx)].forEach((r)=>this.addMetaSchema(r,void 0,!1)),this;function t(r,n){return e?r.$dataMetaSchema(n,Xx):n}}Og.default=Nx});var jg=w(function(Le,nd){Object.defineProperty(Le,"__esModule",{value:!0});Le.MissingRefError=Le.ValidationError=Le.CodeGen=Le.Name=Le.nil=Le.stringify=Le.str=Le._=Le.KeywordCxt=Le.Ajv2020=void 0;var Dx=gs(),Vx=Cg(),Mx=ks(),Bx=zg(),rd="https://json-schema.org/draft/2020-12/schema";class ea extends Dx.default{constructor(e={}){super({...e,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){if(super._addVocabularies(),Vx.default.forEach((e)=>this.addVocabulary(e)),this.opts.discriminator)this.addKeyword(Mx.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();let{$data:e,meta:t}=this.opts;if(!t)return;Bx.default.call(this,e),this.refs["http://json-schema.org/schema"]=rd}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(rd)?rd:void 0)}}Le.Ajv2020=ea;nd.exports=Le=ea;nd.exports.Ajv2020=ea;Object.defineProperty(Le,"__esModule",{value:!0});Le.default=ea;var Ux=Er();Object.defineProperty(Le,"KeywordCxt",{enumerable:!0,get:function(){return Ux.KeywordCxt}});var tn=X();Object.defineProperty(Le,"_",{enumerable:!0,get:function(){return tn._}});Object.defineProperty(Le,"str",{enumerable:!0,get:function(){return tn.str}});Object.defineProperty(Le,"stringify",{enumerable:!0,get:function(){return tn.stringify}});Object.defineProperty(Le,"nil",{enumerable:!0,get:function(){return tn.nil}});Object.defineProperty(Le,"Name",{enumerable:!0,get:function(){return tn.Name}});Object.defineProperty(Le,"CodeGen",{enumerable:!0,get:function(){return tn.CodeGen}});var Fx=xn();Object.defineProperty(Le,"ValidationError",{enumerable:!0,get:function(){return Fx.default}});var Zx=Xr();Object.defineProperty(Le,"MissingRefError",{enumerable:!0,get:function(){return Zx.default}})});var Mi={};my(Mi,{program:()=>$d,createCommand:()=>Sd,createOption:()=>Rd,createArgument:()=>Od,Command:()=>zd,Option:()=>jd,Argument:()=>Ed,Help:()=>Td,CommanderError:()=>Xd,InvalidArgumentError:()=>Nd,InvalidOptionArgumentError:()=>Wd},{program:(bP)=>$d=bP,createCommand:(bP)=>Sd=bP,createOption:(bP)=>Rd=bP,createArgument:(bP)=>Od=bP,Command:(bP)=>zd=bP,Option:(bP)=>jd=bP,Argument:(bP)=>Ed=bP,Help:(bP)=>Td=bP,CommanderError:(bP)=>Xd=bP,InvalidArgumentError:(bP)=>Nd=bP,InvalidOptionArgumentError:(bP)=>Wd=bP});import{realpathSync as oy}from"node:fs";import{fileURLToPath as lP}from"node:url";var{Argument:xd}=ra(),{Command:Vi}=_d(),{CommanderError:Uy,InvalidArgumentError:Pd}=nn(),{Help:Fy}=Ti(),{Option:Ld}=Xi();var $d=new Vi,Sd=(e)=>new Vi(e),Rd=(e,t)=>new Ld(e,t),Od=(e,t)=>new xd(e,t),zd=Vi,jd=Ld,Ed=xd,Td=Fy,Xd=Uy,Nd=Pd,Wd=Pd;var{program:AP,createCommand:CP,createArgument:kP,createOption:_P,CommanderError:na,InvalidArgumentError:xP,InvalidOptionArgumentError:PP,Command:aa,Argument:LP,Option:ia,Help:$P}=Mi;var P={success:0,internal:1,usage:2,authentication:3,notFound:4,conflict:5,validation:6,remote:7,partial:8};class R extends Error{code;details;exitCode;constructor(e,t,r={}){super(t,r.cause===void 0?void 0:{cause:r.cause});this.name="CliError",this.code=e,this.details=r.details,this.exitCode=r.exitCode??P.internal}}function Bi(e){if(e instanceof R)return e;if(e instanceof Error){let t=e;return new R(typeof t.code==="string"?t.code:"internal_error",t.message,{cause:e,...t.details!==void 0?{details:t.details}:{},...typeof t.exitCode==="number"?{exitCode:t.exitCode}:{}})}return new R("internal_error","The command could not be completed.")}function Dd(e){let t=e.optsWithGlobals();return{...t.apiUrl?{apiUrl:t.apiUrl}:{},json:t.json===!0||t.format==="json",nonInteractive:t.nonInteractive??!1,...t.profile?{profile:t.profile}:{},...t.organization?{organization:t.organization}:{},...t.space?{space:t.space}:{}}}async function de(e,t,r){return await t.createRuntime({globals:Dd(e),reporter:r.reporter})}function k(e){return new R("usage_error",e,{exitCode:P.usage})}function Ui(e,t="--input"){try{return JSON.parse(e)}catch{throw k(`${t} must be valid JSON.`)}}async function an(e){if(e.yes)return!0;let t=Dd(e.command);if(t.nonInteractive||t.json)throw k("This command requires --yes in JSON or non-interactive mode.");if(!e.dependencies.confirm)throw k("This command requires --yes when confirmation is unavailable.");return await e.dependencies.confirm(e.message)}function on(){return{human:"Cancelled.",value:{cancelled:!0}}}var Vd=[{id:"access.archivePolicy",group:"access-policies",command:"archive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/access-policies/{policyId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"policyId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.archiveProfile",group:"access-profiles",command:"archive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/access-profiles/{profileId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"profileId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.archiveRole",group:"access-roles",command:"archive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/access-roles/{roleId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"roleId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.createPolicy",group:"access-policies",command:"create",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/access-policies",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.createProfile",group:"access-profiles",command:"create",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/access-profiles",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.createRole",group:"access-roles",command:"create",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/access-roles",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.getPolicy",group:"access-policies",command:"get",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/access-policies/{policyId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"policyId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.getProfile",group:"access-profiles",command:"get",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/access-profiles/{profileId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"profileId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.getRole",group:"access-roles",command:"get",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/access-roles/{roleId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"roleId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.listConnectors",group:"access",command:"list-connectors",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/access-connectors",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"query",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.listLinkedGroups",group:"access",command:"list-linked-groups",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/access-linked-groups",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"query",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.listPolicies",group:"access-policies",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/access-policies",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"query",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.listProfiles",group:"access-profiles",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/access-profiles",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"query",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.listRoles",group:"access-roles",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/access-roles",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"connectorInstanceId",in:"query",required:!1},{name:"connectorSlug",in:"query",required:!1},{name:"provisioningMethodType",in:"query",required:!1},{name:"query",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.publishPolicy",group:"access-policies",command:"publish",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/access-policies/{policyId}/publish",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"policyId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.publishProfile",group:"access-profiles",command:"publish",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/access-profiles/{profileId}/publish",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"profileId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.publishRole",group:"access-roles",command:"publish",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/access-roles/{roleId}/publish",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"roleId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.updatePolicy",group:"access-policies",command:"update",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/access-policies/{policyId}",method:"put",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"policyId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.updateProfile",group:"access-profiles",command:"update",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/access-profiles/{profileId}",method:"put",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"profileId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"access.updateRole",group:"access-roles",command:"update",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/access-roles/{roleId}",method:"put",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"roleId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.approveEditProposal",group:"agents",command:"approve-edit-proposal",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/agent-edit-proposals/{proposalId}/approve",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"proposalId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.archive",group:"agents",command:"archive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"agentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.archived",group:"agents",command:"archived",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/archived",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.copilot",group:"agents",command:"copilot",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/copilot",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.create",group:"agents",command:"create",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/agents",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.createTrigger",group:"agents",command:"create-trigger",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}/triggers",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"agentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.createVersion",group:"agents",command:"create-version",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}/versions",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"agentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.deleteTrigger",group:"agents",command:"delete-trigger",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/agent-triggers/{triggerId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"triggerId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.disableTrigger",group:"agents",command:"disable-trigger",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/agent-triggers/{triggerId}/disable",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"triggerId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.discardAgentDraft",group:"agents",command:"discard-draft",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}/draft",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"agentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.get",group:"agents",command:"get",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"agentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.getAgentDraft",group:"agents",command:"get-draft",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}/draft",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"agentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.getEditProposal",group:"agents",command:"get-edit-proposal",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agent-edit-proposals/{proposalId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"proposalId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.helpDesk",group:"agents",command:"help-desk",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/help-desk",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.list",group:"agents",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agents",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"slugId",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"agentId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.listAgentTriggers",group:"agents",command:"list-agent-triggers",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}/triggers",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"agentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.listEditProposals",group:"agents",command:"list-edit-proposals",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agent-edit-proposals",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"threadId",in:"query",required:!0},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.listTriggers",group:"agents",command:"list-triggers",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agent-triggers",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.listVersions",group:"agents",command:"list-versions",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}/versions",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"agentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.managementStats",group:"agents",command:"management-stats",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/management-stats",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.publishAgentDraft",group:"agents",command:"publish-draft",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}/draft/publish",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"agentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.rejectEditProposal",group:"agents",command:"reject-edit-proposal",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/agent-edit-proposals/{proposalId}/reject",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"proposalId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.restore",group:"agents",command:"restore",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}/restore",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"agentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.revealWebhookSecret",group:"agents",command:"reveal-webhook-secret",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agent-triggers/{triggerId}/webhook-secret",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"triggerId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.spaceStats",group:"agents",command:"space-stats",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/space-stats",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.summaries",group:"agents",command:"summaries",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/summaries",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDirection",in:"query",required:!1},{name:"agentId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.update",group:"agents",command:"update",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"agentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"agents.updateTrigger",group:"agents",command:"update-trigger",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/agent-triggers/{triggerId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"triggerId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.cancelApplicationReconnect",group:"applications",command:"cancel-application-reconnect",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/reconnect/cancel",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.confirmApplication",group:"applications",command:"confirm-application",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/confirm",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.connectApplication",group:"applications",command:"connect-application",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/catalog/{slug}/connect",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"slug",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.createCustomIntegration",group:"applications",command:"create-custom-integration",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/integrations",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.disconnectApplication",group:"applications",command:"disconnect-application",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.disconnectIntegration",group:"applications",command:"disconnect-integration",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/integrations/{id}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.duplicateApplication",group:"applications",command:"duplicate-application",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/duplicate",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.getApplication",group:"applications",command:"get-application",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"providerSyncStatus",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.getApplicationCatalog",group:"applications",command:"get-application-catalog",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/catalog/{slug}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"slug",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.getApplicationIssueSyncSettings",group:"applications",command:"get-application-issue-sync-settings",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/issue-sync",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.getApplicationJiraForgeStatus",group:"applications",command:"get-application-jira-forge-status",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/jira-forge",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.listApplicationAutomations",group:"applications",command:"list-application-agents",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/automations",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDirection",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.listApplicationAvailability",group:"applications",command:"list-application-availability",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/availability",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"slug",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.listApplicationGithubRepositories",group:"applications",command:"list-application-github-repositories",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/github/repositories",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.listApplicationGroups",group:"applications",command:"list-application-groups",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/linked-groups",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"selectedId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.listApplicationIssueTeams",group:"applications",command:"list-application-issue-teams",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/issue-teams",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.listApplications",group:"applications",command:"list-applications",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/applications",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"attention",in:"query",required:!1},{name:"connectorInstanceId",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.listApplicationSyncRuns",group:"applications",command:"list-application-sync-runs",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/sync-runs",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"event",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.listApplicationTriggerFieldOptions",group:"applications",command:"list-application-trigger-field-options",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/trigger-field-options",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"field",in:"query",required:!0},{name:"q",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.listApplicationWorkflows",group:"applications",command:"list-application-workflows",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/workflows",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"sort",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"visibility",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.listConnectedApplications",group:"applications",command:"list-connected-applications",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/connected",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"slug",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.listIntegrations",group:"applications",command:"list-integrations",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/integrations",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"alias",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"id",in:"query",required:!1},{name:"includeDeleted",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"nangoConnectionId",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"source",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.listIntegrationTools",group:"applications",command:"list-integration-tools",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/integrations/{id}/tools",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.provisionApplicationWebhook",group:"applications",command:"provision-application-webhook",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/okta-webhook",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.reconnectApplication",group:"applications",command:"reconnect-application",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/reconnect",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.renameIntegration",group:"applications",command:"rename-integration",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/integrations/{id}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.setApplicationActionMode",group:"applications",command:"set-application-action-mode",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/action-mode",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.setApplicationEnabled",group:"applications",command:"set-application-enabled",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/enabled",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.setIntegrationEnabled",group:"applications",command:"set-integration-enabled",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/integrations/{id}/enabled",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.triggerApplicationSync",group:"applications",command:"trigger-application-sync",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/sync",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.updateApplication",group:"applications",command:"update-application",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"applications.updateApplicationIssueSyncSettings",group:"applications",command:"update-application-issue-sync-settings",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/applications/{id}/issue-sync",method:"put",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"id",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-groups.archive",group:"assignment-groups",command:"archive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-groups/{assignmentGroupId}/archive",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"assignmentGroupId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-groups.create",group:"assignment-groups",command:"create",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-groups",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-groups.get",group:"assignment-groups",command:"get",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-groups/{assignmentGroupId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"assignmentGroupId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-groups.getMembership",group:"assignment-groups",command:"get-membership",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-groups/{assignmentGroupId}/membership",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"assignmentGroupId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-groups.getSettings",group:"assignment-groups",command:"get-settings",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-groups/settings",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-groups.list",group:"assignment-groups",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-groups",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"counts",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"kind",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"memberOf",in:"query",required:!1},{name:"offset",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"routableOnly",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDirection",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-groups.listMembers",group:"assignment-groups",command:"list-members",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-groups/{assignmentGroupId}/members",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"assignmentGroupId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"access",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDirection",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-groups.unarchive",group:"assignment-groups",command:"unarchive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-groups/{assignmentGroupId}/unarchive",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"assignmentGroupId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-groups.update",group:"assignment-groups",command:"update",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-groups/{assignmentGroupId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"assignmentGroupId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-groups.updateImport",group:"assignment-groups",command:"update-import",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-groups/imports/{connectorInstanceId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorInstanceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-rules.create",group:"assignment-rules",command:"create",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-rules",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-rules.list",group:"assignment-rules",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-rules",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-rules.remove",group:"assignment-rules",command:"remove",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-rules/{ruleId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"ruleId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-rules.reorder",group:"assignment-rules",command:"reorder",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-rules/reorder",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"assignment-rules.update",group:"assignment-rules",command:"update",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/assignment-rules/{ruleId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"ruleId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.approveEditProposal",group:"automations",command:"approve-edit-proposal",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/automation-edit-proposals/{proposalId}/approve",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"proposalId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.archive",group:"automations",command:"archive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/automations/{automationId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"automationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.archived",group:"automations",command:"archived",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/automations/archived",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.copilot",group:"automations",command:"copilot",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/automations/copilot",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.create",group:"automations",command:"create",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/automations",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.createTrigger",group:"automations",command:"create-trigger",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/automations/{automationId}/triggers",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"automationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.createVersion",group:"automations",command:"create-version",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/automations/{automationId}/versions",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"automationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.createWorkflowTrigger",group:"automations",command:"create-workflow-trigger",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/triggers",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"workflowId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.deleteTrigger",group:"automations",command:"delete-trigger",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/automation-triggers/{triggerId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"triggerId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.deleteWorkflowTrigger",group:"automations",command:"delete-workflow-trigger",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/triggers/{triggerId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"workflowId",in:"path",required:!0},{name:"triggerId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.disableTrigger",group:"automations",command:"disable-trigger",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/automation-triggers/{triggerId}/disable",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"triggerId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.get",group:"automations",command:"get",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/automations/{automationId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"automationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.getEditProposal",group:"automations",command:"get-edit-proposal",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/automation-edit-proposals/{proposalId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"proposalId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.helpDesk",group:"automations",command:"help-desk",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/automations/help-desk",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.list",group:"automations",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/automations",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"slugId",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"automationId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.listAutomationTriggers",group:"automations",command:"list-automation-triggers",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/automations/{automationId}/triggers",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"automationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.listEditProposals",group:"automations",command:"list-edit-proposals",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/automation-edit-proposals",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"threadId",in:"query",required:!0},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.listTriggers",group:"automations",command:"list-triggers",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/automation-triggers",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.listVersions",group:"automations",command:"list-versions",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/automations/{automationId}/versions",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"automationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.listWorkflowTriggers",group:"automations",command:"list-workflow-triggers",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/triggers",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"workflowId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.managementStats",group:"automations",command:"management-stats",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/automations/management-stats",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.rejectEditProposal",group:"automations",command:"reject-edit-proposal",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/automation-edit-proposals/{proposalId}/reject",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"proposalId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.restore",group:"automations",command:"restore",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/automations/{automationId}/restore",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"automationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.revealWebhookSecret",group:"automations",command:"reveal-webhook-secret",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/automation-triggers/{triggerId}/webhook-secret",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"triggerId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.revealWorkflowWebhookSecret",group:"automations",command:"reveal-workflow-webhook-secret",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/triggers/{triggerId}/webhook-secret",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"workflowId",in:"path",required:!0},{name:"triggerId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.spaceStats",group:"automations",command:"space-stats",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/automations/space-stats",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.summaries",group:"automations",command:"summaries",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/automations/summaries",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDirection",in:"query",required:!1},{name:"automationId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.update",group:"automations",command:"update",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/automations/{automationId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"automationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.updateTrigger",group:"automations",command:"update-trigger",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/automation-triggers/{triggerId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"triggerId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"automations.updateWorkflowTrigger",group:"automations",command:"update-workflow-trigger",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/triggers/{triggerId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"workflowId",in:"path",required:!0},{name:"triggerId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.addSubscribers",group:"cases",command:"add-subscribers",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/subscribers",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.archiveCase",group:"cases",command:"archive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/archive",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.archiveCaseType",group:"case-types",command:"archive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/case-types/{caseTypeId}/archive",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseTypeId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.archiveInboxApproval",group:"cases",command:"archive-inbox-approval",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/case-inbox/approvals/{approvalId}/archive",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"approvalId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.archiveInboxCase",group:"cases",command:"archive-inbox-case",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/case-inbox/cases/{caseId}/archive",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.comment",group:"cases",command:"comment",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/comments",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.createCase",group:"cases",command:"create",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.createCaseType",group:"case-types",command:"create",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/case-types",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.createCategory",group:"cases",command:"create-category",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/case-categories",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.createLabel",group:"cases",command:"create-label",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/case-labels",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.deleteAttachment",group:"cases",command:"delete-attachment",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/attachments/{attachmentId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"attachmentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.downloadAttachment",group:"cases",command:"download-attachment",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/attachments/{attachmentId}/download",method:"get",binaryResponse:!0,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"attachmentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.escalateRequest",group:"requests",command:"escalate",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/requests/{sourceThreadId}/escalate",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sourceThreadId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.getCase",group:"cases",command:"get",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"workflowRunId",in:"query",required:!1},{name:"space",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.getSubscription",group:"cases",command:"get-subscription",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/subscription",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.installCaseTemplate",group:"case-types",command:"install-template",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/case-types/templates",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.linkRelation",group:"cases",command:"link-relation",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/relations",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.linkThread",group:"cases",command:"link-thread",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/threads",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listActivity",group:"cases",command:"list-activity",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/activity",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listAssigneeCandidates",group:"cases",command:"list-assignee-candidates",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/case-assignee-candidates",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"assignmentGroupId",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listAttachments",group:"cases",command:"list-attachments",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/attachments",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listCases",group:"cases",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"includeTotalCount",in:"query",required:!1},{name:"withoutParent",in:"query",required:!1},{name:"withoutRequester",in:"query",required:!1},{name:"withoutCategory",in:"query",required:!1},{name:"id",in:"query",required:!1},{name:"identifier",in:"query",required:!1},{name:"statusType",in:"query",required:!1},{name:"statusGroup",in:"query",required:!1},{name:"caseTypeId",in:"query",required:!1},{name:"statusId",in:"query",required:!1},{name:"stageCategory",in:"query",required:!1},{name:"priority",in:"query",required:!1},{name:"assigneeUserId",in:"query",required:!1},{name:"assignmentGroupId",in:"query",required:!1},{name:"requesterUserId",in:"query",required:!1},{name:"categoryId",in:"query",required:!1},{name:"labelId",in:"query",required:!1},{name:"sourceKind",in:"query",required:!1},{name:"fieldFilters",in:"query",required:!1},{name:"personFilters",in:"query",required:!1},{name:"filterMode",in:"query",required:!1},{name:"sectionBy",in:"query",required:!1},{name:"sectionValue",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"after",in:"query",required:!1},{name:"before",in:"query",required:!1},{name:"updatedAfter",in:"query",required:!1},{name:"updatedBefore",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDir",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listCasesGrouped",group:"cases",command:"list-cases-grouped",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/grouped",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"includeTotalCount",in:"query",required:!1},{name:"withoutParent",in:"query",required:!1},{name:"withoutRequester",in:"query",required:!1},{name:"withoutCategory",in:"query",required:!1},{name:"id",in:"query",required:!1},{name:"identifier",in:"query",required:!1},{name:"statusType",in:"query",required:!1},{name:"statusGroup",in:"query",required:!1},{name:"caseTypeId",in:"query",required:!1},{name:"statusId",in:"query",required:!1},{name:"stageCategory",in:"query",required:!1},{name:"priority",in:"query",required:!1},{name:"assigneeUserId",in:"query",required:!1},{name:"assignmentGroupId",in:"query",required:!1},{name:"requesterUserId",in:"query",required:!1},{name:"categoryId",in:"query",required:!1},{name:"labelId",in:"query",required:!1},{name:"sourceKind",in:"query",required:!1},{name:"fieldFilters",in:"query",required:!1},{name:"personFilters",in:"query",required:!1},{name:"filterMode",in:"query",required:!1},{name:"sectionBy",in:"query",required:!1},{name:"sectionValue",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"after",in:"query",required:!1},{name:"before",in:"query",required:!1},{name:"updatedAfter",in:"query",required:!1},{name:"updatedBefore",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDir",in:"query",required:!1},{name:"groupBy",in:"query",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listCaseTypes",group:"case-types",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/case-types",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listCategories",group:"cases",command:"list-categories",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/case-categories",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listInboxCaseGroupOptions",group:"cases",command:"list-inbox-case-group-options",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/case-inbox/group-options",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"inboxState",in:"query",required:!1},{name:"statusType",in:"query",required:!1},{name:"stageCategory",in:"query",required:!1},{name:"priority",in:"query",required:!1},{name:"assigneeUserId",in:"query",required:!1},{name:"requesterUserId",in:"query",required:!1},{name:"presetAssigneeMode",in:"query",required:!1},{name:"notificationType",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"groupQ",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listInboxCases",group:"cases",command:"list-inbox-cases",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/case-inbox",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"inboxState",in:"query",required:!1},{name:"statusType",in:"query",required:!1},{name:"stageCategory",in:"query",required:!1},{name:"priority",in:"query",required:!1},{name:"assigneeUserId",in:"query",required:!1},{name:"requesterUserId",in:"query",required:!1},{name:"presetAssigneeMode",in:"query",required:!1},{name:"notificationType",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"assignmentGroupId",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDir",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listLabels",group:"cases",command:"list-labels",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/labels",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listMyCaseFilterOptions",group:"cases",command:"list-my-case-filter-options",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases-mine/filter-options",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"includeTotalCount",in:"query",required:!1},{name:"withoutParent",in:"query",required:!1},{name:"withoutRequester",in:"query",required:!1},{name:"withoutCategory",in:"query",required:!1},{name:"id",in:"query",required:!1},{name:"identifier",in:"query",required:!1},{name:"statusType",in:"query",required:!1},{name:"statusGroup",in:"query",required:!1},{name:"caseTypeId",in:"query",required:!1},{name:"statusId",in:"query",required:!1},{name:"stageCategory",in:"query",required:!1},{name:"priority",in:"query",required:!1},{name:"assigneeUserId",in:"query",required:!1},{name:"assignmentGroupId",in:"query",required:!1},{name:"requesterUserId",in:"query",required:!1},{name:"categoryId",in:"query",required:!1},{name:"labelId",in:"query",required:!1},{name:"sourceKind",in:"query",required:!1},{name:"fieldFilters",in:"query",required:!1},{name:"personFilters",in:"query",required:!1},{name:"filterMode",in:"query",required:!1},{name:"sectionBy",in:"query",required:!1},{name:"sectionValue",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"after",in:"query",required:!1},{name:"before",in:"query",required:!1},{name:"updatedAfter",in:"query",required:!1},{name:"updatedBefore",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDir",in:"query",required:!1},{name:"kind",in:"query",required:!0},{name:"q",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listMyCases",group:"cases",command:"list-my-cases",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases-mine",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"includeTotalCount",in:"query",required:!1},{name:"withoutParent",in:"query",required:!1},{name:"withoutRequester",in:"query",required:!1},{name:"withoutCategory",in:"query",required:!1},{name:"id",in:"query",required:!1},{name:"identifier",in:"query",required:!1},{name:"statusType",in:"query",required:!1},{name:"statusGroup",in:"query",required:!1},{name:"caseTypeId",in:"query",required:!1},{name:"statusId",in:"query",required:!1},{name:"stageCategory",in:"query",required:!1},{name:"priority",in:"query",required:!1},{name:"assigneeUserId",in:"query",required:!1},{name:"assignmentGroupId",in:"query",required:!1},{name:"requesterUserId",in:"query",required:!1},{name:"categoryId",in:"query",required:!1},{name:"labelId",in:"query",required:!1},{name:"sourceKind",in:"query",required:!1},{name:"fieldFilters",in:"query",required:!1},{name:"personFilters",in:"query",required:!1},{name:"filterMode",in:"query",required:!1},{name:"sectionBy",in:"query",required:!1},{name:"sectionValue",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"after",in:"query",required:!1},{name:"before",in:"query",required:!1},{name:"updatedAfter",in:"query",required:!1},{name:"updatedBefore",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDir",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listMyCasesGrouped",group:"cases",command:"list-my-cases-grouped",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases-mine/grouped",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"includeTotalCount",in:"query",required:!1},{name:"withoutParent",in:"query",required:!1},{name:"withoutRequester",in:"query",required:!1},{name:"withoutCategory",in:"query",required:!1},{name:"id",in:"query",required:!1},{name:"identifier",in:"query",required:!1},{name:"statusType",in:"query",required:!1},{name:"statusGroup",in:"query",required:!1},{name:"caseTypeId",in:"query",required:!1},{name:"statusId",in:"query",required:!1},{name:"stageCategory",in:"query",required:!1},{name:"priority",in:"query",required:!1},{name:"assigneeUserId",in:"query",required:!1},{name:"assignmentGroupId",in:"query",required:!1},{name:"requesterUserId",in:"query",required:!1},{name:"categoryId",in:"query",required:!1},{name:"labelId",in:"query",required:!1},{name:"sourceKind",in:"query",required:!1},{name:"fieldFilters",in:"query",required:!1},{name:"personFilters",in:"query",required:!1},{name:"filterMode",in:"query",required:!1},{name:"sectionBy",in:"query",required:!1},{name:"sectionValue",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"after",in:"query",required:!1},{name:"before",in:"query",required:!1},{name:"updatedAfter",in:"query",required:!1},{name:"updatedBefore",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDir",in:"query",required:!1},{name:"groupBy",in:"query",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listReferenceData",group:"cases",command:"list-reference-data",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/case-reference-data",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"kind",in:"query",required:!0},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listSourceLinks",group:"cases",command:"list-source-links",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/source-links",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listSubscribedCaseFilterOptions",group:"cases",command:"list-subscribed-case-filter-options",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases-subscribed/filter-options",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"includeTotalCount",in:"query",required:!1},{name:"withoutParent",in:"query",required:!1},{name:"withoutRequester",in:"query",required:!1},{name:"withoutCategory",in:"query",required:!1},{name:"id",in:"query",required:!1},{name:"identifier",in:"query",required:!1},{name:"statusType",in:"query",required:!1},{name:"statusGroup",in:"query",required:!1},{name:"caseTypeId",in:"query",required:!1},{name:"statusId",in:"query",required:!1},{name:"stageCategory",in:"query",required:!1},{name:"priority",in:"query",required:!1},{name:"assigneeUserId",in:"query",required:!1},{name:"assignmentGroupId",in:"query",required:!1},{name:"requesterUserId",in:"query",required:!1},{name:"categoryId",in:"query",required:!1},{name:"labelId",in:"query",required:!1},{name:"sourceKind",in:"query",required:!1},{name:"fieldFilters",in:"query",required:!1},{name:"personFilters",in:"query",required:!1},{name:"filterMode",in:"query",required:!1},{name:"sectionBy",in:"query",required:!1},{name:"sectionValue",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"after",in:"query",required:!1},{name:"before",in:"query",required:!1},{name:"updatedAfter",in:"query",required:!1},{name:"updatedBefore",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDir",in:"query",required:!1},{name:"kind",in:"query",required:!0},{name:"q",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listSubscribedCases",group:"cases",command:"list-subscribed-cases",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases-subscribed",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"includeTotalCount",in:"query",required:!1},{name:"withoutParent",in:"query",required:!1},{name:"withoutRequester",in:"query",required:!1},{name:"withoutCategory",in:"query",required:!1},{name:"id",in:"query",required:!1},{name:"identifier",in:"query",required:!1},{name:"statusType",in:"query",required:!1},{name:"statusGroup",in:"query",required:!1},{name:"caseTypeId",in:"query",required:!1},{name:"statusId",in:"query",required:!1},{name:"stageCategory",in:"query",required:!1},{name:"priority",in:"query",required:!1},{name:"assigneeUserId",in:"query",required:!1},{name:"assignmentGroupId",in:"query",required:!1},{name:"requesterUserId",in:"query",required:!1},{name:"categoryId",in:"query",required:!1},{name:"labelId",in:"query",required:!1},{name:"sourceKind",in:"query",required:!1},{name:"fieldFilters",in:"query",required:!1},{name:"personFilters",in:"query",required:!1},{name:"filterMode",in:"query",required:!1},{name:"sectionBy",in:"query",required:!1},{name:"sectionValue",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"after",in:"query",required:!1},{name:"before",in:"query",required:!1},{name:"updatedAfter",in:"query",required:!1},{name:"updatedBefore",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDir",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listSubscribedCasesGrouped",group:"cases",command:"list-subscribed-cases-grouped",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases-subscribed/grouped",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"includeTotalCount",in:"query",required:!1},{name:"withoutParent",in:"query",required:!1},{name:"withoutRequester",in:"query",required:!1},{name:"withoutCategory",in:"query",required:!1},{name:"id",in:"query",required:!1},{name:"identifier",in:"query",required:!1},{name:"statusType",in:"query",required:!1},{name:"statusGroup",in:"query",required:!1},{name:"caseTypeId",in:"query",required:!1},{name:"statusId",in:"query",required:!1},{name:"stageCategory",in:"query",required:!1},{name:"priority",in:"query",required:!1},{name:"assigneeUserId",in:"query",required:!1},{name:"assignmentGroupId",in:"query",required:!1},{name:"requesterUserId",in:"query",required:!1},{name:"categoryId",in:"query",required:!1},{name:"labelId",in:"query",required:!1},{name:"sourceKind",in:"query",required:!1},{name:"fieldFilters",in:"query",required:!1},{name:"personFilters",in:"query",required:!1},{name:"filterMode",in:"query",required:!1},{name:"sectionBy",in:"query",required:!1},{name:"sectionValue",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"after",in:"query",required:!1},{name:"before",in:"query",required:!1},{name:"updatedAfter",in:"query",required:!1},{name:"updatedBefore",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDir",in:"query",required:!1},{name:"groupBy",in:"query",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listSubscribers",group:"cases",command:"list-subscribers",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/subscribers",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listThreads",group:"cases",command:"list-threads",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/threads",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.listWorkPlan",group:"cases",command:"list-work-plan",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/work-plan",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.markRead",group:"cases",command:"mark-read",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/read",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.markUnread",group:"cases",command:"mark-unread",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/unread",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.move",group:"cases",command:"move",mutation:!0,idempotent:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/move",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"Idempotency-Key",in:"header",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.previewMove",group:"cases",command:"preview-move",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/move-preview",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"caseTypeId",in:"query",required:!1},{name:"targetSpaceId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.readContext",group:"cases",command:"read-context",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/context",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"workflowRunCursor",in:"query",required:!1},{name:"workflowRunLimit",in:"query",required:!1},{name:"automationRunCursor",in:"query",required:!1},{name:"automationRunLimit",in:"query",required:!1},{name:"sessionCursor",in:"query",required:!1},{name:"sessionLimit",in:"query",required:!1},{name:"boardCursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.readInboxApproval",group:"cases",command:"read-inbox-approval",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/case-inbox/approvals/{approvalId}/read",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"approvalId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.readInboxCase",group:"cases",command:"read-inbox-case",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/case-inbox/cases/{caseId}/read",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.rebuildSearchIndex",group:"cases",command:"rebuild-search-index",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/search-index/rebuild",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.removeSubscriber",group:"cases",command:"remove-subscriber",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/subscribers/{userId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"userId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.reopenCase",group:"cases",command:"reopen",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/reopen",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.search",group:"cases",command:"search",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/search",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.setDefaultCaseType",group:"case-types",command:"set-default",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/case-types/{caseTypeId}/default",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseTypeId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.spawnThread",group:"cases",command:"spawn-thread",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/threads/spawn",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.subscribe",group:"cases",command:"subscribe",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/subscription",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.unarchiveCaseType",group:"case-types",command:"unarchive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/case-types/{caseTypeId}/unarchive",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseTypeId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.unlinkRelation",group:"cases",command:"unlink-relation",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/relations/{relationId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"relationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.unsubscribe",group:"cases",command:"unsubscribe",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/subscription",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.updateCase",group:"cases",command:"update",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.updateCaseType",group:"case-types",command:"update",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/case-types/{caseTypeId}",method:"put",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseTypeId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"cases.uploadAttachment",group:"cases",command:"upload-attachment",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/attachments",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"caseIdOrIdentifier",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"directory.createAdminPortalLink",group:"directory",command:"create-admin-portal-link",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/directory/admin-portal-link",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"directory.getUser",group:"users",command:"get",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/directory/user",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"directoryUserId",in:"query",required:!1},{name:"email",in:"query",required:!1},{name:"identityId",in:"query",required:!1},{name:"userId",in:"query",required:!1},{name:"includeInactive",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"directory.list",group:"directory",command:"list",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/directory",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"groupMembersLimit",in:"query",required:!1},{name:"groupsCursor",in:"query",required:!1},{name:"groupsLimit",in:"query",required:!1},{name:"userId",in:"query",required:!1},{name:"usersCursor",in:"query",required:!1},{name:"usersLimit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"directory.listGroupMembers",group:"directory",command:"list-group-members",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/directory/groups/{groupId}/members",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"groupId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"directory.listUsers",group:"users",command:"list",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/directory/people",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"query",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"includeInactive",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"directory.searchGroups",group:"directory",command:"search-groups",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/directory/search/groups",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"directory.searchUsers",group:"directory",command:"search-users",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/directory/search/users",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"directory.sync",group:"directory",command:"sync",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/directory/sync",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.archive",group:"forms",command:"archive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/forms/{formId}/archive",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"formId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.create",group:"forms",command:"create",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/forms",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.discardDraft",group:"forms",command:"discard-draft",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/form-versions/{versionId}/discard",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"versionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.get",group:"forms",command:"get",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/forms/{formId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"formId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.getSource",group:"forms",command:"get-source",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/form-versions/{versionId}/source",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"versionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.getSubmission",group:"forms",command:"get-submission",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/form-submissions/{submissionId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"submissionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.getVersion",group:"forms",command:"get-version",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/form-versions/{versionId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"versionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.list",group:"forms",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/forms",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"includeShared",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"sort",in:"query",required:!1},{name:"visibility",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.listInCatalog",group:"forms",command:"list-in-catalog",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/forms/{formId}/catalog-listing",method:"put",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"formId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.listSubmissions",group:"forms",command:"list-submissions",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/forms/{formId}/submissions",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"formId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"formVersionId",in:"query",required:!1},{name:"invocationId",in:"query",required:!1},{name:"submittedByUserId",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.listVersions",group:"forms",command:"list-versions",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/forms/{formId}/versions",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"formId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.publish",group:"forms",command:"publish",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/form-versions/{versionId}/publish",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"versionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.restore",group:"forms",command:"restore",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/form-versions/{versionId}/restore",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"versionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.saveDraft",group:"forms",command:"save-draft",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/forms/{formId}/draft",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"formId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.setDatabaseProjection",group:"forms",command:"set-database-projection",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/forms/{formId}/database-projection",method:"put",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"formId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.unlistFromCatalog",group:"forms",command:"unlist-from-catalog",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/forms/{formId}/catalog-listing",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"formId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"forms.update",group:"forms",command:"update",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/forms/{formId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"formId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"identity.getCurrentPrincipal",group:"identity",command:"get-current-principal",mutation:!1,idempotent:!1,path:"/v1/me",method:"get",binaryResponse:!1,parameters:[{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"identity.listSpaces",group:"identity",command:"list-spaces",mutation:!1,idempotent:!1,path:"/v1/spaces",method:"get",binaryResponse:!1,parameters:[{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.archiveFolder",group:"knowledge",command:"archive-folder",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/folders/{sourceId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sourceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.archiveSubfolder",group:"knowledge",command:"archive-subfolder",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/folders/{sourceId}/subfolders/{folderId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sourceId",in:"path",required:!0},{name:"folderId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.archiveUpload",group:"knowledge",command:"archive-upload",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/uploads/{documentId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"documentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.browseGithubKnowledgeRepoFile",group:"knowledge",command:"browse-github-knowledge-repo-file",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/github/knowledge-repos/file",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"path",in:"query",required:!0},{name:"repo",in:"query",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.browseGithubKnowledgeRepoTree",group:"knowledge",command:"browse-github-knowledge-repo-tree",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/github/knowledge-repos/tree",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"repo",in:"query",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.bulkUpdateConfluenceConnectorDocuments",group:"knowledge",command:"bulk-update-confluence-connector-documents",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/confluence-knowledge/documents",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.bulkUpdateGoogleDriveConnectorDocuments",group:"knowledge",command:"bulk-update-google-drive-connector-documents",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge/documents",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.bulkUpdateNotionConnectorDocuments",group:"knowledge",command:"bulk-update-notion-connector-documents",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/notion-knowledge/documents",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.bulkUpdateSharePointConnectorDocuments",group:"knowledge",command:"bulk-update-share-point-connector-documents",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/sharepoint-knowledge/documents",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.bulkUpdateSimpplrConnectorDocuments",group:"knowledge",command:"bulk-update-simpplr-connector-documents",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/simpplr-knowledge/documents",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.createUpload",group:"knowledge",command:"create-upload",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/uploads",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listConfluenceConnectorDocuments",group:"knowledge",command:"list-confluence-connector-documents",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/confluence-knowledge/documents",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"directory",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"type",in:"query",required:!1},{name:"sort",in:"query",required:!1},{name:"confluenceSpaceId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listConfluenceConnectorSpaces",group:"knowledge",command:"list-confluence-connector-spaces",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/confluence-spaces",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listFolders",group:"knowledge",command:"list-folders",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/folders",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listGithubConnectorRepos",group:"knowledge",command:"list-github-connector-repos",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/github/repos",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"query",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listGithubKnowledgeRepos",group:"knowledge",command:"list-github-knowledge-repos",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/github/knowledge-repos",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listGoogleDriveConnectorDocuments",group:"knowledge",command:"list-google-drive-connector-documents",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge/documents",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"directory",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"type",in:"query",required:!1},{name:"sort",in:"query",required:!1},{name:"confluenceSpaceId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listGoogleDriveConnectorDrives",group:"knowledge",command:"list-google-drive-connector-drives",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge/drives",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listGoogleDriveConnectorFolders",group:"knowledge",command:"list-google-drive-connector-folders",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge/folders",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"corpusId",in:"query",required:!0},{name:"parentId",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listNotionConnectorDocuments",group:"knowledge",command:"list-notion-connector-documents",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/notion-knowledge/documents",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"directory",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"type",in:"query",required:!1},{name:"sort",in:"query",required:!1},{name:"confluenceSpaceId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listOrganizationDocuments",group:"knowledge",command:"list-organization-documents",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/organization/documents",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"provider",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"sort",in:"query",required:!1},{name:"sortDirection",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listOrganizationKnowledgeProviderCounts",group:"knowledge",command:"list-organization-knowledge-provider-counts",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/organization/provider-counts",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listSharePointConnectorDocuments",group:"knowledge",command:"list-share-point-connector-documents",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/sharepoint-knowledge/documents",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"directory",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"type",in:"query",required:!1},{name:"sort",in:"query",required:!1},{name:"confluenceSpaceId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listSharePointConnectorSites",group:"knowledge",command:"list-share-point-connector-sites",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/sharepoint-sites",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"query",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listSimpplrConnectorDocuments",group:"knowledge",command:"list-simpplr-connector-documents",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/simpplr-knowledge/documents",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"directory",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"type",in:"query",required:!1},{name:"sort",in:"query",required:!1},{name:"confluenceSpaceId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listSimpplrConnectorSites",group:"knowledge",command:"list-simpplr-connector-sites",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/simpplr-sites",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listSlackConnectorChannels",group:"knowledge",command:"list-slack-connector-channels",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/slack-knowledge/channels",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.listUploads",group:"knowledge",command:"list-uploads",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/uploads",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"folder",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.readOrganizationUpload",group:"knowledge",command:"read-organization-upload",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/organization/uploads/{documentId}/content",method:"get",binaryResponse:!0,parameters:[{name:"spaceId",in:"path",required:!0},{name:"documentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.readUpload",group:"knowledge",command:"read-upload",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/uploads/{documentId}/content",method:"get",binaryResponse:!0,parameters:[{name:"spaceId",in:"path",required:!0},{name:"documentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.reindexUpload",group:"knowledge",command:"reindex-upload",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/uploads/{documentId}/reindex",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"documentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.renameFolder",group:"knowledge",command:"rename-folder",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/folders/{sourceId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sourceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.renameSubfolder",group:"knowledge",command:"rename-subfolder",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/folders/{sourceId}/subfolders/{folderId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sourceId",in:"path",required:!0},{name:"folderId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.replaceGithubKnowledgeRepos",group:"knowledge",command:"replace-github-knowledge-repos",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/github/knowledge-repos",method:"put",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.search",group:"knowledge",command:"search",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/search",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.searchGoogleDriveConnectorFolders",group:"knowledge",command:"search-google-drive-connector-folders",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge/folder-search",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"query",in:"query",required:!0},{name:"cursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.searchNotionConnectorDocuments",group:"knowledge",command:"search-notion-connector-documents",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/notion-knowledge/search",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.syncConfluenceConnectorDocument",group:"knowledge",command:"sync-confluence-connector-document",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/confluence-knowledge/documents/{documentId}/sync",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"documentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.syncGoogleDriveConnectorDocument",group:"knowledge",command:"sync-google-drive-connector-document",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge/documents/{documentId}/sync",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"documentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.syncNotionConnectorDocument",group:"knowledge",command:"sync-notion-connector-document",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/notion-knowledge/documents/{documentId}/sync",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"documentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.triggerGithubKnowledgeSync",group:"knowledge",command:"trigger-github-knowledge-sync",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/github/knowledge-repos/sync",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateConfluenceConnectorDocument",group:"knowledge",command:"update-confluence-connector-document",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/confluence-knowledge/documents/{documentId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"documentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateConfluenceConnectorSelection",group:"knowledge",command:"update-confluence-connector-selection",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/confluence-knowledge-selection",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateFolderDocuments",group:"knowledge",command:"update-folder-documents",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/folders/{sourceId}/documents",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sourceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateGithubConnectorRepos",group:"knowledge",command:"update-github-connector-repos",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/github/repos",method:"put",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateGoogleDriveConnectorDocument",group:"knowledge",command:"update-google-drive-connector-document",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge/documents/{documentId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"documentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateGoogleDriveConnectorSelection",group:"knowledge",command:"update-google-drive-connector-selection",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge-selection",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateNotionConnectorDocument",group:"knowledge",command:"update-notion-connector-document",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/notion-knowledge/documents/{documentId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"documentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateNotionConnectorSelection",group:"knowledge",command:"update-notion-connector-selection",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/notion-knowledge-selection",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateSharePointConnectorDocument",group:"knowledge",command:"update-share-point-connector-document",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/sharepoint-knowledge/documents/{documentId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"documentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateSharePointConnectorSelection",group:"knowledge",command:"update-share-point-connector-selection",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/sharepoint-knowledge-selection",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateSimpplrConnectorDocument",group:"knowledge",command:"update-simpplr-connector-document",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/simpplr-knowledge/documents/{documentId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"documentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateSimpplrConnectorSelection",group:"knowledge",command:"update-simpplr-connector-selection",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/simpplr-knowledge-selection",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateSlackConnectorBackfill",group:"knowledge",command:"update-slack-connector-backfill",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/slack-knowledge-backfill",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateSlackConnectorSelection",group:"knowledge",command:"update-slack-connector-selection",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/slack-knowledge-selection",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"knowledge.updateUpload",group:"knowledge",command:"update-upload",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/knowledge/uploads/{documentId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"documentId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"labels.archive",group:"labels",command:"archive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/labels/{labelId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"labelId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"labels.assignNames",group:"labels",command:"assign-names",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/labels/assign",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"labels.create",group:"labels",command:"create",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/labels",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"labels.list",group:"labels",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/labels",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"query",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"labels.listLinks",group:"labels",command:"list-links",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/labels/links",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"entityType",in:"query",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"labels.resolveNames",group:"labels",command:"resolve-names",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/labels/resolve",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"labels.setLabels",group:"labels",command:"set-labels",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/labels/links/{entityType}/{entityId}",method:"put",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"entityType",in:"path",required:!0},{name:"entityId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"labels.update",group:"labels",command:"update",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/labels/{labelId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"labelId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"notifications.get",group:"notifications",command:"get",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/notifications/{notificationId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"notificationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"notifications.list",group:"notifications",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/notifications",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"includeRead",in:"query",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-email.acceptQuarantine",group:"organization-email",command:"accept-quarantine",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/email/quarantine/{eventId}/accept",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"eventId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-email.deleteSuppression",group:"organization-email",command:"delete-suppression",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/email/suppressions/{suppressionId}",method:"delete",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"suppressionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-email.disableInstallation",group:"organization-email",command:"disable-installation",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/email/installation",method:"delete",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-email.enableInstallation",group:"organization-email",command:"enable-installation",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/email/installation",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-email.getInstallation",group:"organization-email",command:"get-installation",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/email/installation",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-email.listQuarantine",group:"organization-email",command:"list-quarantine",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/email/quarantine",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-email.listSuppressions",group:"organization-email",command:"list-suppressions",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/email/suppressions",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-email.rejectQuarantine",group:"organization-email",command:"reject-quarantine",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/email/quarantine/{eventId}/reject",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"eventId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-github.confirmInstall",group:"organization-github",command:"confirm-install",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/github-app/installation/confirm",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-github.disconnectInstallation",group:"organization-github",command:"disconnect-installation",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/github-app/installation",method:"delete",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-github.getInstallation",group:"organization-github",command:"get-installation",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/github-app/installation",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-github.getInstallationDetails",group:"organization-github",command:"get-installation-details",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/github-app/installation/details",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"repoPage",in:"query",required:!1},{name:"repoPageSize",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-github.startInstall",group:"organization-github",command:"start-install",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/github-app/installation",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-slack.createChannelSettingsRoute",group:"organization-slack",command:"create-channel-settings-route",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/slack/channel-settings/{channelId}/routes",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"channelId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-slack.deleteChannelSettingsRoute",group:"organization-slack",command:"delete-channel-settings-route",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/slack/channel-settings/{channelId}/routes/{routeId}",method:"delete",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"channelId",in:"path",required:!0},{name:"routeId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-slack.disconnectInstallation",group:"organization-slack",command:"disconnect-installation",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/slack/installation",method:"delete",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-slack.getInstallation",group:"organization-slack",command:"get-installation",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/slack/installation",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-slack.listChannelSettings",group:"organization-slack",command:"list-channel-settings",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/slack/channel-settings",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-slack.startInstall",group:"organization-slack",command:"start-install",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/slack/install",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-slack.syncChannelSettings",group:"organization-slack",command:"sync-channel-settings",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/slack/channel-settings/sync",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-slack.updateChannelEmojis",group:"organization-slack",command:"update-channel-emojis",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/slack/channel-settings/{channelId}/emojis",method:"patch",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"channelId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-slack.updateChannelIntakeMode",group:"organization-slack",command:"update-channel-intake-mode",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/slack/channel-settings/{channelId}/intake-mode",method:"patch",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"channelId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-slack.updateChannelSettings",group:"organization-slack",command:"update-channel-settings",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/slack/channel-settings/{channelId}",method:"patch",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"channelId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-slack.updateChannelThreadHistory",group:"organization-slack",command:"update-channel-thread-history",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/slack/channel-settings/{channelId}/thread-history",method:"patch",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"channelId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-spaces.archive",group:"organization-spaces",command:"archive",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/spaces/{spaceId}/archive",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-spaces.create",group:"organization-spaces",command:"create",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/spaces",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-spaces.join",group:"organization-spaces",command:"join",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/spaces/{spaceId}/join",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-spaces.list",group:"organization-spaces",command:"list",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/spaces",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-spaces.setEscalationMute",group:"organization-spaces",command:"set-escalation-mute",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/spaces/{spaceId}/escalation-mute",method:"patch",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-spaces.setOrganizationRequestRouting",group:"organization-spaces",command:"set-organization-request-routing",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/spaces/{spaceId}/request-routing",method:"patch",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-teams.createChannelSettingsRoute",group:"organization-teams",command:"create-channel-settings-route",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/msteams/channel-settings/{channelId}/routes",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"channelId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-teams.createGraphSubscription",group:"organization-teams",command:"create-graph-subscription",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/msteams/graph-subscriptions",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-teams.deleteChannelSettingsRoute",group:"organization-teams",command:"delete-channel-settings-route",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/msteams/channel-settings/{channelId}/routes/{routeId}",method:"delete",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"channelId",in:"path",required:!0},{name:"routeId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-teams.disconnectConnection",group:"organization-teams",command:"disconnect-connection",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/msteams/connection",method:"delete",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-teams.getAppPackage",group:"organization-teams",command:"get-app-package",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/msteams/app-package/content",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-teams.getAppPackageStatus",group:"organization-teams",command:"get-app-package-status",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/msteams/app-package",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-teams.getConnection",group:"organization-teams",command:"get-connection",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/msteams/connection",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-teams.listChannelSettings",group:"organization-teams",command:"list-channel-settings",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/msteams/channel-settings",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-teams.renewGraphSubscriptions",group:"organization-teams",command:"renew-graph-subscriptions",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/msteams/graph-subscriptions/renew",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-teams.startInstall",group:"organization-teams",command:"start-install",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/msteams/connect",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-teams.updateChannelEmojis",group:"organization-teams",command:"update-channel-emojis",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/msteams/channel-settings/{channelId}/emojis",method:"patch",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"channelId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-teams.updateChannelIntakeMode",group:"organization-teams",command:"update-channel-intake-mode",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/msteams/channel-settings/{channelId}/intake-mode",method:"patch",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"channelId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organization-teams.updateChannelSettings",group:"organization-teams",command:"update-channel-settings",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/msteams/channel-settings/{channelId}",method:"patch",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"channelId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.createInvite",group:"organizations",command:"create-invite",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/invites",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.createMembership",group:"organizations",command:"create-membership",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/memberships",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.getPerson",group:"organizations",command:"get-person",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/people/{personId}",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"personId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.getSettings",group:"organizations",command:"get-settings",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/settings",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.listGroups",group:"organizations",command:"list-groups",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/groups",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"spaceId",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"identityId",in:"query",required:!1},{name:"includeMembershipLastObserved",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"sort",in:"query",required:!1},{name:"direction",in:"query",required:!1},{name:"selectedId",in:"query",required:!1},{name:"sourceId",in:"query",required:!1},{name:"sourceType",in:"query",required:!1},{name:"scope",in:"query",required:!1},{name:"excludeProvider",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.listGroupSources",group:"organizations",command:"list-group-sources",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/group-sources",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"sourceType",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.listInvites",group:"organizations",command:"list-invites",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/invites",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"direction",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"role",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"sort",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.listMembershipLabels",group:"organizations",command:"list-membership-labels",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/memberships/labels",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"userId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.listMemberships",group:"organizations",command:"list-memberships",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/memberships",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.listPeople",group:"organizations",command:"list-people",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/people",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"groupId",in:"query",required:!1},{name:"groupSourceId",in:"query",required:!1},{name:"groupSourceType",in:"query",required:!1},{name:"directory",in:"query",required:!1},{name:"includeTotal",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"role",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"sort",in:"query",required:!1},{name:"direction",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.listPersonApplications",group:"organizations",command:"list-person-applications",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/people/{personId}/applications",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"personId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.listProvisionableLinkedGroups",group:"organizations",command:"list-provisionable-linked-groups",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/spaces/{spaceId}/provisionable-linked-groups",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"scope",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"selectedId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.listRoles",group:"organizations",command:"list-roles",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/roles",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.revokeInvite",group:"organizations",command:"revoke-invite",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/invites/{inviteId}/revoke",method:"post",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"inviteId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.searchPeople",group:"organizations",command:"search-people",mutation:!1,idempotent:!1,path:"/v1/organizations/{organizationId}/people/search",method:"get",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"spaceId",in:"query",required:!1},{name:"includeAllDirectoryPeople",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"excludeCurrentSpace",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"membersOnly",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"selectedId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.updateMembership",group:"organizations",command:"update-membership",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/memberships/{membershipId}",method:"patch",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"membershipId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"organizations.updateSettings",group:"organizations",command:"update-settings",mutation:!0,idempotent:!1,path:"/v1/organizations/{organizationId}/settings",method:"patch",binaryResponse:!1,parameters:[{name:"organizationId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.archive",group:"sessions",command:"archive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/archive",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.createOrganizationRequestSession",group:"sessions",command:"create-organization-request-session",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/organization-request-sessions",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.createOrganizationRequestSessionAndSubmit",group:"sessions",command:"create-organization-request-session-and-submit",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/organization-request-sessions/submit",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.createSession",group:"sessions",command:"create-session",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.createSessionAndSubmit",group:"sessions",command:"create-session-and-submit",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/submit",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.deleteArtifact",group:"sessions",command:"delete-artifact",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/artifacts/{artifactId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"artifactId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.downloadArtifact",group:"sessions",command:"download-artifact",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/artifacts/{artifactId}/download",method:"get",binaryResponse:!0,parameters:[{name:"spaceId",in:"path",required:!0},{name:"artifactId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"version",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.downloadFile",group:"sessions",command:"download-file",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/file-download",method:"get",binaryResponse:!0,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"path",in:"query",required:!0},{name:"workflowRunId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.forceResponse",group:"sessions",command:"force-response",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/messages/{messageId}/respond",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"messageId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.fork",group:"sessions",command:"fork",mutation:!0,idempotent:!0,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/fork",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"Idempotency-Key",in:"header",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.get",group:"sessions",command:"get",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"workflowRunId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.getArtifact",group:"sessions",command:"get-artifact",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/artifacts/{artifactId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"artifactId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.getCase",group:"sessions",command:"get-case",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/cases/{caseId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"caseId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"workflowRunId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.getFilePreview",group:"sessions",command:"get-file-preview",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/file-preview",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"workflowRunId",in:"query",required:!1},{name:"path",in:"query",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.getOrganizationRequestDestination",group:"sessions",command:"get-organization-request-destination",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/session-request-destinations/{destinationSpaceId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"destinationSpaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.getWorkflowApproval",group:"sessions",command:"get-workflow-approval",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/workflow-approvals/{approvalId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"approvalId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"workflowRunId",in:"query",required:!1},{name:"runId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.intakeRequest",group:"requests",command:"intake",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/requests",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.list",group:"sessions",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"mine",in:"query",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"excludeCustomAutomationSessions",in:"query",required:!1},{name:"includeTotalCount",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"purpose",in:"query",required:!1},{name:"after",in:"query",required:!1},{name:"before",in:"query",required:!1},{name:"updatedAfter",in:"query",required:!1},{name:"updatedBefore",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDir",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"triggeredByKind",in:"query",required:!1},{name:"automationId",in:"query",required:!1},{name:"createdBy",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.listArtifacts",group:"sessions",command:"list-artifacts",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/artifacts",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"mine",in:"query",required:!1},{name:"createdByUserId",in:"query",required:!1},{name:"createdByAutomationId",in:"query",required:!1},{name:"sessionId",in:"query",required:!1},{name:"createdAtFrom",in:"query",required:!1},{name:"createdAtTo",in:"query",required:!1},{name:"updatedAtFrom",in:"query",required:!1},{name:"updatedAtTo",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.listCases",group:"sessions",command:"list-cases",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/cases",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"workflowRunId",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.listFileChildren",group:"sessions",command:"list-file-children",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/file-children",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"workflowRunId",in:"query",required:!1},{name:"path",in:"query",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.listFiles",group:"sessions",command:"list-files",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/files",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"workflowRunId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.listMessages",group:"sessions",command:"list-messages",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/messages",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"workflowRunId",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.listOrganizationRequestDestinations",group:"sessions",command:"list-organization-request-destinations",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/session-request-destinations",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.listParticipants",group:"sessions",command:"list-participants",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/participants",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"workflowRunId",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.listTasks",group:"sessions",command:"list-tasks",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/tasks",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.listUploads",group:"sessions",command:"list-uploads",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/uploads",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"workflowRunId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.muteAutomation",group:"sessions",command:"mute-agent",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/mute",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.readCaseSession",group:"sessions",command:"read-transcript",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/transcript",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"afterSeq",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.rename",group:"sessions",command:"rename",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.setVisibility",group:"sessions",command:"set-visibility",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/visibility",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.startBrowser",group:"sessions",command:"start-browser",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/browser",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.statusCounts",group:"sessions",command:"status-counts",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/status-counts",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"limit",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"mine",in:"query",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"excludeCustomAutomationSessions",in:"query",required:!1},{name:"includeTotalCount",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"purpose",in:"query",required:!1},{name:"after",in:"query",required:!1},{name:"before",in:"query",required:!1},{name:"updatedAfter",in:"query",required:!1},{name:"updatedBefore",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDir",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"triggeredByKind",in:"query",required:!1},{name:"automationId",in:"query",required:!1},{name:"createdBy",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.submitMessage",group:"sessions",command:"submit-message",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/messages",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.unarchive",group:"sessions",command:"unarchive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/unarchive",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.unmuteAutomation",group:"sessions",command:"unmute-agent",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/unmute",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"sessions.uploadFiles",group:"sessions",command:"upload-files",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/uploads",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"sessionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"skills.archiveSkill",group:"skills",command:"archive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/skills/{skillId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"skillId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"skills.createSkill",group:"skills",command:"create",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/skills",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"skills.createSkillVersion",group:"skills",command:"create-version",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/skills/{skillId}/versions",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"skillId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"skills.discardSkillDraft",group:"skills",command:"discard-draft",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/skills/{skillId}/draft/discard",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"skillId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"skills.getSkill",group:"skills",command:"get",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/skills/{skillId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"skillId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"skills.getSkillVersion",group:"skills",command:"get-version",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/skills/{skillId}/versions/{skillVersionId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"skillId",in:"path",required:!0},{name:"skillVersionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"skills.listSkillAutomations",group:"skills",command:"list-agents",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/skills/{skillId}/automations",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"skillId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"skills.listSkills",group:"skills",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/skills",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"skills.publishSkillVersion",group:"skills",command:"publish-version",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/skills/{skillId}/versions/{skillVersionId}/publish",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"skillId",in:"path",required:!0},{name:"skillVersionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"expectedRevision",in:"query",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"skills.updateSkillTags",group:"skills",command:"update-tags",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/skills/{skillId}/tags",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"skillId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"space-access-roles.archive",group:"space-access-roles",command:"archive",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}/archive",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"roleId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"space-access-roles.create",group:"space-access-roles",command:"create",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/space-access-roles",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"space-access-roles.discard",group:"space-access-roles",command:"discard",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}/discard",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"roleId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"space-access-roles.duplicate",group:"space-access-roles",command:"duplicate",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}/duplicate",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"roleId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"space-access-roles.get",group:"space-access-roles",command:"get",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"roleId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"space-access-roles.list",group:"space-access-roles",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/space-access-roles",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"excludeRoleId",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"sortBy",in:"query",required:!1},{name:"sortDir",in:"query",required:!1},{name:"type",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"space-access-roles.publish",group:"space-access-roles",command:"publish",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}/publish",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"roleId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"space-access-roles.update",group:"space-access-roles",command:"update",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"roleId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"space-action-grants.listBlockedActions",group:"space-action-grants",command:"list-blocked-actions",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}/blocked-actions",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"roleId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"space-action-grants.listCatalog",group:"space-action-grants",command:"list-catalog",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/connections/{connectorInstanceId}/actions",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorInstanceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"space-action-grants.listGrants",group:"space-action-grants",command:"list-grants",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}/connections/{connectorInstanceId}/actions",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"roleId",in:"path",required:!0},{name:"connectorInstanceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"space-action-grants.listPermissions",group:"space-action-grants",command:"list-permissions",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/connections/{connectorInstanceId}/action-permissions",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorInstanceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"space-action-grants.replaceGrants",group:"space-action-grants",command:"replace-grants",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}/connections/{connectorInstanceId}/actions",method:"put",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"roleId",in:"path",required:!0},{name:"connectorInstanceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"space-action-grants.replaceRoles",group:"space-action-grants",command:"replace-roles",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/connections/{connectorInstanceId}/action-permissions/{actionSlug}",method:"put",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"connectorInstanceId",in:"path",required:!0},{name:"actionSlug",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"spaces.addMember",group:"spaces",command:"add-member",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/members",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"spaces.createGroupLink",group:"spaces",command:"create-group-link",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/group-links",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"spaces.leave",group:"spaces",command:"leave",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/members/leave",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"spaces.listGroupLinks",group:"spaces",command:"list-group-links",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/group-links",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"department",in:"query",required:!1},{name:"jobTitle",in:"query",required:!1},{name:"managerEmail",in:"query",required:!1},{name:"subDepartment",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"spaces.listMembers",group:"spaces",command:"list-members",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/members",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"accessRoleId",in:"query",required:!1},{name:"department",in:"query",required:!1},{name:"jobTitle",in:"query",required:!1},{name:"managerEmail",in:"query",required:!1},{name:"subDepartment",in:"query",required:!1},{name:"cursor",in:"query",required:!1},{name:"eligibleForAssignment",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"roleSlug",in:"query",required:!1},{name:"search",in:"query",required:!1},{name:"userId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"spaces.removeGroupLink",group:"spaces",command:"remove-group-link",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/group-links/{linkId}/remove",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"linkId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"spaces.removeMember",group:"spaces",command:"remove-member",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/members/{membershipId}/remove",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"membershipId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"spaces.setDefaultAssignment",group:"spaces",command:"set-default-assignment",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/default-assignment",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"spaces.updateGroupLink",group:"spaces",command:"update-group-link",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/group-links/{linkId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"linkId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"spaces.updateMember",group:"spaces",command:"update-member",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/members/{membershipId}",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"membershipId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"spaces.updateProfile",group:"spaces",command:"update-profile",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/profile",method:"patch",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.archiveWorkflow",group:"workflows",command:"archive",mutation:!0,idempotent:!0,path:"/v1/spaces/{spaceId}/workflows/{workflowId}",method:"delete",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"workflowId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"Idempotency-Key",in:"header",required:!0},{name:"If-Match",in:"header",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.cancelWorkflowRun",group:"workflow-runs",command:"cancel",mutation:!0,idempotent:!0,path:"/v1/spaces/{spaceId}/workflow-runs/{runId}/cancel",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"runId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"Idempotency-Key",in:"header",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.createWorkflow",group:"workflows",command:"create",mutation:!0,idempotent:!0,path:"/v1/spaces/{spaceId}/workflows",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"Idempotency-Key",in:"header",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.createWorkflowRun",group:"workflow-runs",command:"create",mutation:!0,idempotent:!0,path:"/v1/spaces/{spaceId}/workflow-runs",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"Idempotency-Key",in:"header",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.getWorkflow",group:"workflows",command:"get",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/workflows/{workflowId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"workflowId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.getWorkflowRevision",group:"workflows",command:"get-revision",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/revisions/{revisionId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"workflowId",in:"path",required:!0},{name:"revisionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.getWorkflowRun",group:"workflow-runs",command:"get",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/workflow-runs/{runId}",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"runId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.listWorkflowCapabilities",group:"workflow-capabilities",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/workflow-capabilities",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"q",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.listWorkflowRevisions",group:"workflows",command:"list-revisions",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/revisions",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"workflowId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.listWorkflowRunEvents",group:"workflow-runs",command:"list-events",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/workflow-runs/{runId}/events",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"runId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"waitSeconds",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.listWorkflowRuns",group:"workflow-runs",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/workflow-runs",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"status",in:"query",required:!1},{name:"workflowId",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.listWorkflows",group:"workflows",command:"list",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/workflows",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"cursor",in:"query",required:!1},{name:"includeArchived",in:"query",required:!1},{name:"limit",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.publishWorkflowRevision",group:"workflows",command:"publish-revision",mutation:!0,idempotent:!0,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/revisions/{revisionId}/publish",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"workflowId",in:"path",required:!0},{name:"revisionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"Idempotency-Key",in:"header",required:!0},{name:"If-Match",in:"header",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.testWorkflowRevision",group:"workflows",command:"test-revision",mutation:!0,idempotent:!0,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/revisions/{revisionId}/test",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"workflowId",in:"path",required:!0},{name:"revisionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"Idempotency-Key",in:"header",required:!0},{name:"If-Match",in:"header",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.updateWorkflow",group:"workflows",command:"update",mutation:!0,idempotent:!0,path:"/v1/spaces/{spaceId}/workflows/{workflowId}",method:"put",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"workflowId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"Idempotency-Key",in:"header",required:!0},{name:"If-Match",in:"header",required:!0},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.validateWorkflowRevision",group:"workflows",command:"validate-revision",mutation:!0,idempotent:!1,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/revisions/{revisionId}/validate",method:"post",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"workflowId",in:"path",required:!0},{name:"revisionId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]},{id:"workflows.waitForWorkflowRun",group:"workflow-runs",command:"wait",mutation:!1,idempotent:!1,path:"/v1/spaces/{spaceId}/workflow-runs/{runId}/wait",method:"get",binaryResponse:!1,parameters:[{name:"spaceId",in:"path",required:!0},{name:"runId",in:"path",required:!0},{name:"X-Action-Correlation-Id",in:"header",required:!1},{name:"timeoutSeconds",in:"query",required:!1},{name:"X-Action-CLI-Version",in:"header",required:!1}]}];var ze=Vd;function Md(e){let t=ze.find((r)=>r.id===e);if(!t)throw Error(`Unknown generated operation: ${e}`);return t}function je(e,t){let r;for(let n=0;n<e.length;n++){let a=e[n];if(a==="--")break;if(a!==t&&!a.startsWith(`${t}=`))continue;if(r!==void 0)throw k(`Pass ${t} only once.`);if(a===t){if(r=e[n+1],r===void 0||r.startsWith("--"))throw k(`${t} requires a value.`);e.splice(n,2)}else r=a.slice(t.length+1),e.splice(n,1);n--}return r}function Fi(e,t){let r=!1;for(let n=(e.indexOf("--")<0?e.length:e.indexOf("--"))-1;n>=0;n--)if(e[n]===t)e.splice(n,1),r=!0;return r}function Bd(e){let t=[...e],r=je(t,"--profile"),n=je(t,"--space"),a=je(t,"--organization"),i=je(t,"--api-url"),o=je(t,"--base-url");if(i!==void 0&&o!==void 0&&i!==o)throw k("Pass one API URL override.");let s=i??o,d={json:!1,nonInteractive:Fi(t,"--non-interactive"),...r===void 0?{}:{profile:r},...n===void 0?{}:{space:n},...a===void 0?{}:{organization:a},...s===void 0?{}:{apiUrl:s}};return{args:t,globals:d,yes:Fi(t,"--yes"),overwrite:Fi(t,"--overwrite")}}var Ud=new Set(["--schema","--spec","--spec-raw","--debug","--version","-V","--help","-h","--dry-run","--human","--quiet","-q","--page-all","--no-retry","--no-extract","--no-pager","--no-stream"]);function Zi(e){let t=[];for(let r=0;r<e.length&&t.length<2;r++){let n=e[r];if(n==="--")break;if(!n.startsWith("-"))t.push(r);else if(!n.includes("=")&&!Ud.has(n)&&e[r+1]&&!e[r+1].startsWith("-"))r++}return t}function vt(e){return Zi(e).map((t)=>e[t])}function Fd(e){let t=vt(e);return ze.find((r)=>r.group===t[0]&&r.command===t[1])}function gr(e){for(let t=0;t<e.length;t++){let r=e[t];if(r==="--")return!1;if(["--help","-h","--schema","--spec","--spec-raw"].includes(r))return!0;if(r.startsWith("-")&&!r.includes("=")&&!Ud.has(r))t++}return!1}function Zd(e){let t=je(e,"--params");if(t===void 0)return{};if(Buffer.byteLength(t)>262144)throw k("--params must be at most 256 KiB.");let r;try{r=JSON.parse(t)}catch{throw k("--params must be a JSON object.")}if(!r||typeof r!=="object"||Array.isArray(r))throw k("--params must be a JSON object.");return r}function Gd(e){let t=ze.some((s)=>s.group===e[0]),r=e[t?1:0]??"",n=[...new Set(ze.filter((s)=>!t||s.group===e[0]).map((s)=>t?s.command:s.group))],a=(s)=>{let d=Array.from({length:r.length+1},(c,l)=>l);for(let c=0;c<s.length;c++){let l=[c+1];for(let u=0;u<r.length;u++)l.push(Math.min(l[u]+1,d[u+1]+1,d[u]+(s[c]===r[u]?0:1)));d=l}return d[r.length]},o=n.map((s)=>({candidate:s,score:a(s)})).filter(({score:s})=>s<=2).sort((s,d)=>s.score-d.score)[0];return o?`action ${t?e[0]+" ":""}${o.candidate}`:void 0}function sn(e){let t=e.indexOf("--");return t<0?e:e.slice(0,t)}var dn={applications:{list:"list-applications",get:"get-application","list-application-automations":"list-application-agents"},sessions:{"mute-automation":"mute-agent","unmute-automation":"unmute-agent"},skills:{"list-automations":"list-agents"}};function Kd(e){let t=e[0]==="help"?1:0,[r,n]=Zi(e.slice(t));if(r===void 0||n===void 0)return;let a=dn[e[r+t]]?.[e[n+t]];if(a)e[n+t]=a}var ge="0.3.3";function Ye(e){return{name:e.name(),description:e.description(),usage:e.usage(),aliases:e.aliases(),arguments:e.registeredArguments.map((t)=>({name:t.name(),required:t.required,variadic:t.variadic,description:t.description})),options:e.options.map((t)=>({flags:t.flags,description:t.description})),commands:e.commands.map(Ye)}}function Hd(e){let t=Gt(e);return{name:t.name(),version:ge,description:"Local authentication, context, and authoring commands supplement the generated public API commands. The launcher handles auth with WorkOS profiles, not the generated sidecar keyring.",commands:t.commands.map(Ye),globalOptions:t.options.map((r)=>({flags:r.flags,description:r.description})),resourceAliases:dn,resourceOptions:[{flags:"--yes",description:"Confirm a public API mutation."},{flags:"--overwrite",description:"Allow replacing an existing output file."}],inputOutput:"Public resource input uses --json <body>; resource output uses --format json. Local commands also accept --format json (or legacy --json)."}}function Jd(e){return["","Copilot: action copilot [message] — your assistant across Action.","Conversations: action sessions start, reply, wait, transcript.","","Action launcher commands (handled locally):",...Gt(e).commands.map((r)=>` ${r.name().padEnd(20)} ${r.description()}`),"","action auth uses WorkOS profiles stored in the system credential store.","Run action <local-command> --help for local options and subcommands.","Shell options: --profile, --api-url, --space, --organization, --non-interactive, --yes, --overwrite.","Resource input uses --json <body>; output uses --format json. Local commands also accept --format json (or legacy --json).",""].join(`
|
|
35
35
|
`)}import{spawn as Gy}from"node:child_process";import{access as Ky}from"node:fs/promises";import{constants as Qd}from"node:fs";import{dirname as ec,join as cn,resolve as Hy}from"node:path";import{fileURLToPath as Jy}from"node:url";var Yd=new AbortController,At=Yd.signal;function Gi(e){if(e.code!=="EPIPE")throw e;Yd.abort()}var tc=67108864;class Ee extends Error{exitCode;envelope;constructor(e,t){super("The generated Action CLI command failed.");this.exitCode=e;this.envelope=t;this.name="GeneratedCommandError"}}async function Yy(e){let t=process.platform==="win32"?"windows":process.platform;if(!["darwin","linux","windows"].includes(t)||!["arm64","x64"].includes(process.arch))throw Error("This platform has no packaged Action API binary.");let r=process.platform==="win32"?"action-api.exe":"action-api",n=`${t}-${process.arch}`,a=ec(Jy(import.meta.url)),i=e?[Hy(e)]:[cn(ec(process.execPath),"bin",n,r),cn(a,"bin",n,r),cn(a,"..","..","dist","bin",n,r),cn(a,"..","..","generated","target","release",r),cn(a,"..","generated","target","release",r)];for(let o of i)try{return await Ky(o,process.platform==="win32"?Qd.F_OK:Qd.X_OK),o}catch(s){if(!["ENOENT","EACCES"].includes(s.code??""))throw s}throw Error("The generated Action API binary is missing. Build or reinstall the complete Action CLI package.")}function Qy(e){let t={...e.env??process.env};for(let r of Object.keys(t))if(r.startsWith("ACTION_API_"))delete t[r];t.ACTION_API_TOKEN=e.token??"",t.ACTION_API_OUTPUT=(e.env??process.env).ACTION_OUTPUT??(e.env??process.env).ACTION_API_OUTPUT??(process.stdout.isTTY?"table":"json");for(let r of["TIMEOUT_SECS","CA_BUNDLE","PROXY","USER_AGENT_SUFFIX"]){let n=(e.env??process.env)[`ACTION_API_${r}`];if(n)t[`ACTION_API_${r}`]=n}if(t.ACTION_API_PAGER="",t.ACTION_API_INSECURE="0",t.ACTION_API_ALLOW_CROSS_HOST_REDIRECTS="0",t.ACTION_API_ALLOW_CROSS_HOST_PAGINATION="0",e.timeoutInSeconds!==void 0)t.ACTION_API_TIMEOUT_SECS=String(e.timeoutInSeconds);return t}async function Ki(e){let t=AbortSignal.any([At,...e.abortSignal?[e.abortSignal]:[]]);if(t.aborted)throw new DOMException("The operation was aborted.","AbortError");let r=await Yy(e.binaryPath);return await new Promise((n,a)=>{let i=Gy(r,[...e.args],{cwd:e.cwd??process.cwd(),env:Qy(e),shell:!1,stdio:[e.input===void 0&&!e.capture?"inherit":"pipe","pipe","pipe"],windowsHide:!0}),o="",s="",d=0,c=!1,l=()=>{i.kill("SIGTERM")},u=()=>{i.kill("SIGINT")},m=()=>{i.kill("SIGTERM")};if(t.addEventListener("abort",l,{once:!0}),t.aborted)l();process.on("SIGINT",u),process.on("SIGTERM",m);let h=()=>{t.removeEventListener("abort",l),process.off("SIGINT",u),process.off("SIGTERM",m)};if(i.stdout?.setEncoding("utf8"),i.stderr?.setEncoding("utf8"),i.stdout?.on("data",(f)=>{if(At.aborted)return;if(e.capture)if(d+=Buffer.byteLength(f),d>tc)c=!0,i.kill();else o+=f;else(e.stdout??process.stdout).write(f)}),i.stderr?.on("data",(f)=>{if(At.aborted)return;if(e.capture)if(d+=Buffer.byteLength(f),d>tc)c=!0,i.kill();else s+=f;else(e.stderr??process.stderr).write(f)}),i.on("error",()=>{h(),a(Error("Could not start the packaged Action API binary."))}),i.on("close",(f,p)=>{if(h(),t.aborted)return a(new DOMException("The operation was aborted.","AbortError"));if(c)return a(Error("The generated API response exceeded the capture limit."));n({exitCode:f??(p==="SIGINT"?130:1),stdout:o,stderr:s})}),i.stdin?.on("error",()=>{return}),i.stdin)i.stdin.end(e.input)})}async function yr(e){let t=(await e.tokenProvider()).replace(/^Bearer\s+/u,"").trim();if(!t||/[\r\n]/u.test(t))throw new Ee(2,{error:{message:"A valid credential is required."}});let r=e.version??ge;if(!/^[A-Za-z0-9.+_-]{1,64}$/u.test(r))throw new Ee(3,{error:{message:"The CLI version is invalid."}});let n=Md(e.operation),a=[n.group,n.command,"--base-url",e.baseUrl,"--format","json","--no-retry","--user-agent-suffix",`action-cli/${e.version??ge}`,"--x-action-c-l-i-version",r,"--params",JSON.stringify(e.parameters??{}),"--x-action-correlation-id",e.correlationId??crypto.randomUUID()],i=e.body===void 0?void 0:JSON.stringify(e.body);if(i!==void 0)a.push("--json","-");let o=await Ki({...e,args:a,...i===void 0?{}:{input:i},token:t,capture:!0}),s=(c)=>{try{return JSON.parse(c)}catch{return}};if(o.exitCode!==0)throw new Ee(o.exitCode,s(o.stderr)??s(o.stdout));if(!o.stdout.trim())return null;let d=s(o.stdout);if(d===void 0)throw new Ee(1,{error:{message:"The generated API response was not JSON."}});return d}function rc(e){return e.status===408||e.status===429||e.status>=500}async function ln(e){let t=e.now??Date.now,r=e.deadline===void 0?1/0:e.deadline-t();if(r<=0)throw Error("The auth provider request deadline expired.");let n=new AbortController,a=setTimeout(()=>n.abort(),Math.min(e.timeoutMs??1e4,r));try{return await e.fetch(e.url,{...e.init,signal:n.signal})}finally{clearTimeout(a)}}import{createHash as cI}from"node:crypto";import{chmod as lI,lstat as uI,mkdir as pI}from"node:fs/promises";import{join as mI}from"node:path";import{spawn as eI}from"node:child_process";import{constants as Hi}from"node:fs";import{lstat as nc,open as tI}from"node:fs/promises";var rI=1,ac="printf '\\001'; exec /bin/cat >/dev/null",nI=String.raw`
|
|
36
36
|
$ErrorActionPreference = "Stop"
|
|
37
37
|
$path = $env:ACTION_CLI_LOCK_PATH
|
|
@@ -198,7 +198,7 @@ if ($operation -eq "delete") {
|
|
|
198
198
|
|
|
199
199
|
exit 125
|
|
200
200
|
`;class br extends Error{constructor(e="No supported secure operating-system credential store is available."){super(e);this.name="CredentialStoreUnavailableError"}}class qe extends Error{constructor(e){super(e);this.name="CredentialStoreError"}}var lc=async({args:e,command:t,env:r,stdin:n})=>await new Promise((a,i)=>{let o=II(t,e,{env:r?{...process.env,...r}:process.env,shell:!1,stdio:["pipe","pipe","pipe"],windowsHide:!0}),s=[],d=[];if(o.stdout.on("data",(c)=>s.push(c)),o.stderr.on("data",(c)=>d.push(c)),o.on("error",(c)=>i(c)),o.on("close",(c)=>a({code:c??1,stderr:Buffer.concat(d).toString("utf8"),stdout:Buffer.concat(s).toString("utf8")})),n!==void 0)o.stdin.end(n);else o.stdin.end()});function uc(e){return`profile:${e}`}class la{runner;service;constructor(e,t){this.runner=e,this.service=t}async invoke(e){try{return await this.runner(e)}catch(t){if(t.code==="ENOENT")throw new br;throw new qe("The secure credential store command could not be started.")}}}class ao extends la{invocation(e,t){return{args:["-l","JavaScript","-e",wI],command:"/usr/bin/osascript",env:{ACTION_CLI_KEYCHAIN_ACCOUNT:uc(e),ACTION_CLI_KEYCHAIN_OPERATION:t,ACTION_CLI_KEYCHAIN_SERVICE:this.service}}}async get(e){let t=await this.invoke(this.invocation(e,"get"));if(t.code===0)return t.stdout;if(t.code===44)return null;throw new qe("The macOS Keychain could not read Action CLI credentials.")}async set(e,t){if((await this.invoke({...this.invocation(e,"set"),stdin:t})).code!==0)throw new qe("The macOS Keychain could not store Action CLI credentials.")}async delete(e){let t=await this.invoke(this.invocation(e,"delete"));if(t.code!==0&&t.code!==44)throw new qe("The macOS Keychain could not delete Action CLI credentials.")}}class io extends la{attributes(e){return["service",this.service,"profile",e]}async get(e){let t=await this.invoke({args:["lookup",...this.attributes(e)],command:"secret-tool"});if(t.code===0)return t.stdout.replace(/\r?\n$/u,"");if(t.code===1&&!t.stderr.trim())return null;throw new qe("The Linux Secret Service could not read Action CLI credentials.")}async set(e,t){if((await this.invoke({args:["store","--label=Action CLI",...this.attributes(e)],command:"secret-tool",stdin:`${t}
|
|
201
|
-
`})).code!==0)throw new qe("The Linux Secret Service could not store Action CLI credentials.")}async delete(e){let t=await this.invoke({args:["clear",...this.attributes(e)],command:"secret-tool"});if(t.code!==0&&!(t.code===1&&!t.stderr.trim()))throw new qe("The Linux Secret Service could not delete Action CLI credentials.")}}class oo extends la{invocation(e,t){return{args:["-NoLogo","-NoProfile","-NonInteractive","-Command",bI],command:"powershell.exe",env:{ACTION_CLI_KEYCHAIN_ACCOUNT:uc(e),ACTION_CLI_KEYCHAIN_OPERATION:t,ACTION_CLI_KEYCHAIN_SERVICE:this.service}}}async get(e){let t=await this.invoke(this.invocation(e,"get"));if(t.code===0)return t.stdout;if(t.code===44)return null;throw new qe("Windows Credential Manager could not read Action CLI credentials.")}async set(e,t){if((await this.invoke({...this.invocation(e,"set"),stdin:t})).code!==0)throw new qe("Windows Credential Manager could not store Action CLI credentials.")}async delete(e){let t=await this.invoke(this.invocation(e,"delete"));if(t.code!==0&&t.code!==44)throw new qe("Windows Credential Manager could not delete Action CLI credentials.")}}function so(e={}){let t=e.platform??process.platform,r=e.runner??lc,n=e.service?.trim()||qI;if(t==="darwin")return new ao(r,n);if(t==="linux")return new io(r,n);if(t==="win32")return new oo(r,n);throw new br(`The Action CLI does not support a secure credential store on ${t}.`)}var vI="urn:ietf:params:oauth:grant-type:device_code",AI=5,CI=5;class Se extends Error{code;constructor(e,t){super(t);this.name="DeviceFlowError",this.code=e}}function vr(e){return typeof e==="string"&&e.trim()?e.trim():null}async function pc(e){try{let t=await e.json();return t&&typeof t==="object"&&!Array.isArray(t)?t:{}}catch{return{}}}async function mc(e){let t=e.fetch??fetch,r;try{r=await ln({fetch:t,init:{body:new URLSearchParams({client_id:e.clientId}),headers:{"content-type":"application/x-www-form-urlencoded"},method:"POST"},...e.now?{now:e.now}:{},...e.requestTimeoutMs?{timeoutMs:e.requestTimeoutMs}:{},url:e.deviceAuthorizationUrl??hn(e.issuer,"/authorize/device")})}catch{throw new Se("request_failed","Device authorization could not be started.")}let n=await pc(r);if(!r.ok)throw new Se("request_failed","Device authorization could not be started.");let a=vr(n.device_code),i=vr(n.user_code),o=vr(n.verification_uri),s=n.expires_in,d=n.interval??AI;if(!a||!i||!o||typeof s!=="number"||!Number.isFinite(s)||s<=0||typeof d!=="number"||!Number.isFinite(d)||d<=0)throw new Se("invalid_response","WorkOS returned invalid device authorization data.");return{deviceCode:a,expiresInSeconds:s,intervalSeconds:d,userCode:i,verificationUri:o,verificationUriComplete:vr(n.verification_uri_complete)}}async function fc(e){let t=e.fetch??fetch,r=e.now??Date.now,n=e.sleep??((o)=>new Promise((s)=>setTimeout(s,o))),a=r()+e.authorization.expiresInSeconds*1000,i=e.authorization.intervalSeconds;while(r()<a){if(await n(i*1000),r()>=a)break;let o;try{o=await ln({deadline:a,fetch:t,init:{body:new URLSearchParams({client_id:e.clientId,device_code:e.authorization.deviceCode,grant_type:vI}),headers:{"content-type":"application/x-www-form-urlencoded"},method:"POST"},now:r,...e.requestTimeoutMs?{timeoutMs:e.requestTimeoutMs}:{},url:e.tokenUrl??hn(e.issuer,"/authenticate")})}catch{continue}let s=await pc(o);if(o.ok){let d=vr(s.access_token),c=vr(s.refresh_token);if(!d||!c)throw new Se("invalid_response","WorkOS returned an incomplete CLI session.");try{return sa({accessToken:d,apiOrigin:e.apiOrigin,clientId:e.clientId,expiresInSeconds:typeof s.expires_in==="number"?s.expires_in:null,issuer:e.issuer,now:r(),organizationId:typeof s.organization_id==="string"?s.organization_id:null,refreshToken:c})}catch{throw new Se("invalid_response","WorkOS returned an invalid CLI session.")}}if(rc(o))continue;switch(s.error){case"authorization_pending":break;case"slow_down":i+=CI;break;case"access_denied":throw new Se("access_denied","Device authorization was denied.");case"expired_token":case"invalid_grant":throw new Se("authorization_expired","Device authorization expired.");default:throw new Se("request_failed","Device authorization polling failed.")}}throw new Se("authorization_expired","Device authorization expired.")}async function co(e){return await un(e.lockDirectory,e.profileName,async()=>{let t=await mc({clientId:e.clientId,...e.deviceAuthorizationUrl?{deviceAuthorizationUrl:e.deviceAuthorizationUrl}:{},...e.fetch?{fetch:e.fetch}:{},issuer:e.issuer,...e.now?{now:e.now}:{}});if(await e.onVerification(t),e.openBrowser)await Promise.resolve(e.openBrowser(t.verificationUriComplete??t.verificationUri)).catch(()=>{return});let r=await fc({apiOrigin:e.apiOrigin,authorization:t,clientId:e.clientId,...e.fetch?{fetch:e.fetch}:{},issuer:e.issuer,...e.now?{now:e.now}:{},...e.sleep?{sleep:e.sleep}:{},...e.tokenUrl?{tokenUrl:e.tokenUrl}:{}});if(e.finalizeSession)r=await e.finalizeSession(r);return await e.credentialStore.set(e.profileName,da(r)),r})}function er(e){return e instanceof Ge||e instanceof Kt||e instanceof qe||e instanceof br||e instanceof $e||e instanceof Qe||e instanceof ce||e instanceof Se}var kI="[redacted]",_I=5,hc=50,Ic=2000,xI=/^(?:authorization(?:[_-]?header)?|cookie(?:[_-]?header)?|credentials?|passwords?|passphrases?|private|secrets?|secret[_-]?keys?|tokens?|source|content|api[_-]?(?:keys?|secrets?)|client[_-]?secrets?|private[_-]?keys?|signing[_-]?keys?|webhook[_-]?secrets?|(?:access|auth|bearer|github|id|oauth|personal[_-]?access|refresh|session|slack|stripe)[_-]?tokens?)$/iu,qc=new Set(["authentication_required","invalid_credential","insufficient_scope","forbidden","feature_disabled","content_too_large","unsupported_media_type","invalid_request","validation_failed","not_found","stale_revision","idempotency_mismatch","operation_in_progress","conflict","rate_limited","upstream_unavailable","internal_error"]),PI=new Set(["__proto__","constructor","prototype"]);class ae extends Error{code;correlationId;details;retryable;status;constructor(e){super(e.message);this.name="CliApiError",this.code=e.code,this.correlationId=e.correlationId??null,this.details=e.details,this.retryable=e.retryable,this.status=e.status??null}toJSON(){return{code:this.code,correlationId:this.correlationId,...this.details?{details:this.details}:{},message:this.message,retryable:this.retryable,status:this.status}}}function gt(e){return e!==null&&typeof e==="object"&&!Array.isArray(e)}function LI(e,t){if(typeof e!=="string")return t;let r=e.trim();return r?r.slice(0,Ic):t}function $I(e){return typeof e==="string"&&qc.has(e)?e:"api_error"}function lo(e,t,r){if(r&&xI.test(r))return kI;if(t>=_I)return"[truncated]";if(typeof e==="string")return e.slice(0,Ic);if(e===null||typeof e==="boolean"||typeof e==="number")return e;if(Array.isArray(e))return e.slice(0,hc).map((a)=>lo(a,t+1));if(!gt(e))return;let n=Object.create(null);for(let[a,i]of Object.entries(e).slice(0,hc)){if(PI.has(a))continue;let o=lo(i,t+1,a);if(o!==void 0)n[a]=o}return n}function gc(e){if(!gt(e)||!gt(e.error))return null;let t=e.error,r=typeof t.correlationId==="string"?t.correlationId.slice(0,128):null,n=gt(t.details)?lo(t.details,0):void 0;return{code:$I(t.code),correlationId:r,...gt(n)?{details:n}:{},message:LI(t.message,"The Action API rejected the request.")}}function yc(e,t){return e==="operation_in_progress"||e==="rate_limited"||e==="upstream_unavailable"||t===408||t===425||t===429||t!==null&&t>=500}function uo(e,t){return e!==null&&(typeof e==="object"||typeof e==="function")&&"name"in e&&e.name===t}function SI(e){return uo(e,"AbortError")}function RI(e){let t=gt(e.envelope)&>(e.envelope.error)?e.envelope.error:null,r=t?.code,n=typeof r==="number"&&Number.isInteger(r)&&r>=100&&r<=599?r:null,a=t?.details,i=gt(a)&>(a.error)?a.error:null,o=gc(i?{error:{...i,message:i.message??t?.message}}:a)??(typeof r==="string"&&qc.has(r)?gc(e.envelope):null);if(o)return new ae({code:o.code,correlationId:o.correlationId,...o.details?{details:o.details}:{},message:o.message,retryable:yc(o.code,n),status:n});if(t?.reason==="networkError")return new ae({code:"transport_error",message:"Unable to reach the Action API.",retryable:!0});if(e.exitCode===3)return Re("The request does not match the generated Action API contract.");if(e.exitCode!==1)return new ae({code:e.exitCode===2?"authentication_required":"api_error",message:e.exitCode===2?"The Action API requires authentication.":"The generated Action CLI could not complete the request.",retryable:!1});if(n!==null&&n>=200&&n<400)return new ae({code:"invalid_response",message:"The Action API returned an invalid response.",retryable:!1,status:n});if(n!==null)return new ae({code:"api_error",message:`The Action API request failed with HTTP ${n}.`,retryable:yc("api_error",n),status:n});return new ae({code:"api_error",message:"The generated Action CLI could not complete the request.",retryable:!1})}function Ct(e){if(e instanceof ae)return e;if(e instanceof Ee)return RI(e);if(uo(e,"JsonError"))return Re("The request does not match the Action API contract.");if(uo(e,"ParseError"))return Ke("The Action API returned an invalid response.");if(SI(e))return new ae({code:"request_aborted",message:"The Action API request was cancelled.",retryable:!1});return new ae({code:"unknown_error",message:"The Action API request could not be completed.",retryable:!1})}function Re(e){return new ae({code:"invalid_request",message:e,retryable:!1})}function Ke(e){return new ae({code:"invalid_response",message:e,retryable:!1})}import{setTimeout as zI}from"node:timers/promises";var OI=1e4;async function gn(e){let t=[],r=new Set,n;for(let a=0;a<OI;a+=1){let i=await e(n);if(!Array.isArray(i.items))throw Ke("The Action API returned an invalid page.");if(t.push(...i.items),i.nextCursor===null)return t;if(typeof i.nextCursor!=="string"||!i.nextCursor)throw Ke("The Action API returned an invalid pagination cursor.");if(r.has(i.nextCursor))throw Ke("The Action API repeated a pagination cursor.");r.add(i.nextCursor),n=i.nextCursor}throw Ke("The Action API returned too many pages.")}var jI=/^[A-Za-z0-9._:-]{1,128}$/u,EI=/^[A-Za-z0-9._:-]{8,200}$/u,TI=100,wc=100,XI=2,NI=50,bc=5;function WI(e){let t;try{t=new URL(e)}catch{throw Re("The Action API base URL is invalid.")}if(t.protocol!=="https:"&&t.protocol!=="http:")throw Re("The Action API base URL must use HTTP or HTTPS.");return t.origin}function Ar(e){if(e===void 0)return TI;if(!Number.isInteger(e)||e<1||e>wc)throw Re(`The page size must be between 1 and ${wc}.`);return e}function DI(e){let t=e.trim();if(!EI.test(t))throw Re("The idempotency key contains unsupported characters.");return t}function vc(e,t){let r=e??t.defaultValue;if(!Number.isInteger(r)||r<t.minimum||r>t.maximum)throw Re(`${t.name} must be an integer between ${t.minimum} and ${t.maximum}.`);return r}function Ac(e){if(e===void 0)return;let t=e.trim();if(!t||t.length>1000)throw Re("cursor must contain 1 to 1000 characters.");return t}function _c(e){let t=e.trim();if(/^W\//u.test(t))throw Re("ifMatch must be a generation-aware strong ETag.");let r=t.startsWith('"')&&t.endsWith('"')?t:`"${t}"`,n=r.match(/^"([^"\\]{1,200}):([0-9]{1,10})"$/u),a=Number(n?.[2]);if(!n?.[1]||!Number.isSafeInteger(a)||a<0||a>2147483647)throw Re("ifMatch must be a generation-aware strong ETag.");return r}function VI(e){return _c(e).slice(1,-1).replace(/:\d+$/u,"")}async function Cc(e,t){let r=(t??await e()).trim();if(!jI.test(r))throw Re("The correlation ID contains unsupported characters.");return r}function kc(e,t){let r=new Map(e.map((n)=>[n.name,n]));for(let n of t){let a=r.get(n.name);r.set(n.name,{...a??n,...n.inputSchema!==null?{inputSchema:n.inputSchema}:{},...n.outputSchema!==null?{outputSchema:n.outputSchema}:{}})}return[...r.values()]}function MI(e){let t=new Map;for(let r of e){let n=t.get(r.slug);if(!n){t.set(r.slug,{...r,connectorInstances:[...r.connectorInstances]});continue}let a=new Map(n.connectorInstances.map((i)=>[i.id,i]));for(let i of r.connectorInstances)a.set(i.id,i);t.set(r.slug,{...n,actions:kc(n.actions,r.actions),connectionStatus:n.connectionStatus==="connected"||r.connectionStatus==="connected"?"connected":"not_connected",connectorInstances:[...a.values()],readActions:kc(n.readActions,r.readActions)})}return[...t.values()]}async function BI(e,t={}){let r=t.maxRetries??0;if(!Number.isInteger(r)||r<0)throw Re("maxRetries must be a non-negative integer.");for(let n=0;;n+=1){if(t.abortSignal?.aborted)throw Ct({name:"AbortError"});try{return await e()}catch(a){if(t.preserveError?.(a))throw a;let i=Ct(a);if(t.abortSignal?.aborted)throw Ct({name:"AbortError"});let o=i.status;if(!(i.code==="transport_error"||o===408||o===425||o===429||o!==null&&o>=500)||n>=r)throw i;try{await zI(NI*(n+1),void 0,t.abortSignal?{signal:t.abortSignal}:void 0)}catch(d){throw Ct(d)}}}}class po{options;correlationIdProvider;constructor(e){this.options={...e,baseUrl:WI(e.baseUrl)},this.correlationIdProvider=e.correlationIdProvider??(()=>crypto.randomUUID())}async getIdentity(e={}){return await this.invoke("identity.getCurrentPrincipal",{},e)}async listSpaces(e={}){let t=Ar(e.pageSize),r=await this.paginated(e);return await gn(async(n)=>{let a=await this.invoke("identity.listSpaces",{...n?{cursor:n}:{},limit:t},r);return{items:a.spaces,nextCursor:a.nextCursor}})}async listWorkflows(e,t={}){let r=Ar(t.pageSize),n=await this.paginated(t);return await gn(async(a)=>{let i=await this.invoke("workflows.listWorkflows",{...e,...a?{cursor:a}:{},limit:r},n);return{items:i.data,nextCursor:i.nextCursor}})}async getWorkflow(e,t={}){return await this.invoke("workflows.getWorkflow",{...e},t)}async listWorkflowRevisions(e,t={}){let r=Ar(t.pageSize),n=await this.paginated(t);return await gn(async(a)=>{let i=await this.invoke("workflows.listWorkflowRevisions",{spaceId:e.spaceId,workflowId:e.workflowId,...a?{cursor:a}:{},limit:r},n);return{items:i.data,nextCursor:i.nextCursor}})}async getWorkflowRevision(e,t={}){return await this.invoke("workflows.getWorkflowRevision",{...e},t)}async listWorkflowCapabilities(e,t={}){let r=Ar(t.pageSize),n=await this.paginated(t),a=await gn(async(i)=>{let o=await this.invoke("workflows.listWorkflowCapabilities",{spaceId:e,...i?{cursor:i}:{},...t.query?{q:t.query}:{},limit:r},n);return{items:o.applications,nextCursor:o.nextCursor}});return MI(a)}async createWorkflow(e,t){let{spaceId:r,...n}=e;return await this.invoke("workflows.createWorkflow",{spaceId:r,...this.mutationParameters(t)},t,n)}async updateWorkflow(e,t){let{spaceId:r,workflowId:n,ifMatch:a,...i}=e;return await this.invoke("workflows.updateWorkflow",{spaceId:r,workflowId:n,...this.mutationParameters(t,a)},t,{...i,baseRevisionId:VI(a)})}async validateWorkflowRevision(e,t={}){return await this.invoke("workflows.validateWorkflowRevision",{...e},t)}async testWorkflowRevision(e,t){let{spaceId:r,workflowId:n,revisionId:a,ifMatch:i,input:o}=e;return await this.invoke("workflows.testWorkflowRevision",{spaceId:r,workflowId:n,revisionId:a,...this.mutationParameters(t,i)},t,{input:o})}async createWorkflowRun(e,t){let{spaceId:r,...n}=e;return await this.invoke("workflows.createWorkflowRun",{spaceId:r,...this.mutationParameters(t)},t,n)}async listWorkflowRuns(e,t={}){let r=Ac(t.cursor);return await this.invoke("workflows.listWorkflowRuns",{...e,...r?{cursor:r}:{},limit:Ar(t.pageSize)},t)}async getWorkflowRun(e,t={}){return await this.invoke("workflows.getWorkflowRun",{...e},t)}async waitForWorkflowRun(e,t={}){let r=vc(e.timeoutSeconds,{defaultValue:25,maximum:30,minimum:1,name:"timeoutSeconds"});return await this.invoke("workflows.waitForWorkflowRun",{runId:e.runId,spaceId:e.spaceId,timeoutSeconds:r},t,void 0,0,r+bc)}async listWorkflowRunEvents(e,t={}){let r=Ac(e.cursor),n=vc(e.waitSeconds,{defaultValue:25,maximum:30,minimum:0,name:"waitSeconds"});return await this.invoke("workflows.listWorkflowRunEvents",{...r?{cursor:r}:{},limit:Ar(e.pageSize),runId:e.runId,spaceId:e.spaceId,waitSeconds:n},t,void 0,0,n+bc)}async cancelWorkflowRun(e,t){return await this.invoke("workflows.cancelWorkflowRun",{...e,...this.mutationParameters(t)},t)}async publishWorkflowRevision(e,t){let{ifMatch:r,...n}=e;return await this.invoke("workflows.publishWorkflowRevision",{...n,...this.mutationParameters(t,r)},t)}async archiveWorkflow(e,t){let{ifMatch:r,...n}=e;return await this.invoke("workflows.archiveWorkflow",{...n,...this.mutationParameters(t,r)},t)}mutationParameters(e,t){return{"Idempotency-Key":DI(e.idempotencyKey),...t===void 0?{}:{"If-Match":_c(t)}}}async paginated(e){return{...e,correlationId:await Cc(this.correlationIdProvider,e.correlationId)}}async invoke(e,t,r,n,a=XI,i){let o=await Cc(this.correlationIdProvider,r.correlationId);return await BI(async()=>await(this.options.invokeOperation??yr)({operation:e,parameters:t,...n===void 0?{}:{body:n},baseUrl:this.options.baseUrl,tokenProvider:this.options.tokenProvider,correlationId:o,version:this.options.version??ge,...r.abortSignal?{abortSignal:r.abortSignal}:{},...i===void 0?{}:{timeoutInSeconds:i},...this.options.cwd===void 0?{}:{cwd:this.options.cwd},...this.options.env===void 0?{}:{env:this.options.env},...this.options.binaryPath===void 0?{}:{binaryPath:this.options.binaryPath}}),{...r.abortSignal?{abortSignal:r.abortSignal}:{},maxRetries:a,...this.options.preserveError?{preserveError:this.options.preserveError}:{}})}}function yn(e){return new po(e)}function mo(e,t,r){let n=e.command("auth").description("Authenticate the Action CLI");n.command("profiles").description("List saved profiles and their organization/space context without authenticating").action(async(a,i)=>{let o=r(i),s=await de(i,t,{reporter:o});if(!s.auth.profiles)throw Error("Profile inventory is unavailable in this runtime.");let d=await s.auth.profiles();o.result(d.value,d.human)}),n.command("login").description("Sign in using the secure WorkOS device flow").option("--organization <id-or-key>","select an Action organization").action(async(a,i)=>{let o=r(i),s=await de(i,t,{reporter:o}),d=i.optsWithGlobals().organization,c=await s.auth.login(d?{organization:d}:{});o.result(c.value,c.human)}),n.command("logout").description("Remove the stored session for the selected profile").action(async(a,i)=>{let o=r(i),d=await(await de(i,t,{reporter:o})).auth.logout();o.result(d.value,d.human)}),n.command("status").description("Show authentication status for the selected profile").action(async(a,i)=>{let o=r(i),d=await(await de(i,t,{reporter:o})).auth.status();o.result(d.value,d.human)})}import{mkdir as Pc,mkdtemp as FI,readdir as ZI,readFile as GI,rename as ho,rm as Lc,stat as KI,writeFile as HI}from"node:fs/promises";import{dirname as $c,join as JI,relative as Sc,resolve as ua,sep as Rc}from"node:path";var xc=1200000,fo=200,UI=[{description:"Archive an access policy.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.archivePolicy",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/access-policies/{policyId}",queryParameters:[],requestBody:"none"},{description:"Archive an access profile.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.archiveProfile",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/access-profiles/{profileId}",queryParameters:[],requestBody:"none"},{description:"Archive an access role so it can no longer be requested.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.archiveRole",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/access-roles/{roleId}",queryParameters:[],requestBody:"none"},{description:"Create a published access policy.",bodyProperties:["status","name","description","maxAccessMinutes","recommendedAccessMinutes","businessJustificationMode","requireBusinessJustification","businessJustificationSpec","businessJustificationApprovalMode","businessJustificationRejectionMode","allowSelfApproval","autoApproveWhenRequesterIsApprover","approvalStages","approvers"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.createPolicy",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/access-policies",queryParameters:[],requestBody:"json"},{description:"Create a published access profile. Changes take effect immediately.",bodyProperties:["status","name","description","isDefault","matchingCriteria","roleIds"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.createProfile",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/access-profiles",queryParameters:[],requestBody:"json"},{description:"Create a published application access role. Set requestsEnabled=false to keep it unavailable for requests.",bodyProperties:["status","name","description","requestsEnabled","connectorInstanceId","accessProfileId","accessPolicyId","provisioningMethodType","provisioningConfig","externalId","externalData"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.createRole",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/access-roles",queryParameters:[],requestBody:"json"},{description:"Read one access policy, draft or published.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.getPolicy",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/access-policies/{policyId}",queryParameters:[],requestBody:"none"},{description:"Read one access profile, draft or published.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.getProfile",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/access-profiles/{profileId}",queryParameters:[],requestBody:"none"},{description:"Read one access role, draft or published.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.getRole",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/access-roles/{roleId}",queryParameters:[],requestBody:"none"},{description:"List applications available to access configuration in this space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.listConnectors",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/access-connectors",queryParameters:["query","limit","cursor"],requestBody:"none"},{description:"List groups available for linked-group access provisioning in this space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.listLinkedGroups",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/access-linked-groups",queryParameters:["query","limit","cursor"],requestBody:"none"},{description:"List the access policies in the caller's space, newest first.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.listPolicies",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/access-policies",queryParameters:["includeArchived","status","query","limit","cursor"],requestBody:"none"},{description:"List the access profiles in the caller's space, newest first.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.listProfiles",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/access-profiles",queryParameters:["includeArchived","status","query","limit","cursor"],requestBody:"none"},{description:"List the access roles in the caller's space, newest first.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.listRoles",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/access-roles",queryParameters:["includeArchived","status","connectorInstanceId","connectorSlug","provisioningMethodType","query","limit","cursor"],requestBody:"none"},{description:"Publish an access policy draft, or apply a draft edit to the published policy.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.publishPolicy",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/access-policies/{policyId}/publish",queryParameters:[],requestBody:"none"},{description:"Publish an access profile draft, or apply a draft edit to the published profile.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.publishProfile",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/access-profiles/{profileId}/publish",queryParameters:[],requestBody:"none"},{description:"Publish an access role draft, or apply a draft edit to the published role.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.publishRole",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/access-roles/{roleId}/publish",queryParameters:[],requestBody:"none"},{description:"Update an access policy's approvers, limits and justification handling.",bodyProperties:["name","description","maxAccessMinutes","recommendedAccessMinutes","businessJustificationMode","requireBusinessJustification","businessJustificationSpec","businessJustificationApprovalMode","businessJustificationRejectionMode","allowSelfApproval","autoApproveWhenRequesterIsApprover","approvalStages","approvers"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.updatePolicy",idempotent:!1,method:"put",mutation:!0,path:"/v1/spaces/{spaceId}/access-policies/{policyId}",queryParameters:[],requestBody:"json"},{description:"Update an access profile's fields, group criteria and role set.",bodyProperties:["addExcludedGroupIds","removeExcludedGroupIds","addGroupIds","removeGroupIds","addRoleIds","removeRoleIds","name","description","isDefault","matchingCriteria","roleIds"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.updateProfile",idempotent:!1,method:"put",mutation:!0,path:"/v1/spaces/{spaceId}/access-profiles/{profileId}",queryParameters:[],requestBody:"json"},{description:"Update an access role's fields and provisioning configuration.",bodyProperties:["name","description","requestsEnabled","connectorInstanceId","accessProfileId","accessPolicyId","provisioningMethodType","provisioningConfig","externalId","externalData"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.updateRole",idempotent:!1,method:"put",mutation:!0,path:"/v1/spaces/{spaceId}/access-roles/{roleId}",queryParameters:[],requestBody:"json"},{description:"Approve a proposed agent edit and publish its immutable version.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.approveEditProposal",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/agent-edit-proposals/{proposalId}/approve",queryParameters:[],requestBody:"none"},{description:"Archive a user-managed agent and disable its triggers.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.archive",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/agents/{agentId}",queryParameters:[],requestBody:"none"},{description:"List archived agent definitions in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.archived",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agents/archived",queryParameters:[],requestBody:"none"},{description:"Read the space agent.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.copilot",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agents/copilot",queryParameters:[],requestBody:"none"},{description:"Create an agent definition and its initial immutable version.",bodyProperties:["name","description","slugId","paused","runAsUserId","config"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.create",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/agents",queryParameters:[],requestBody:"json"},{description:"Create a trigger for an agent.",bodyProperties:["displayName","signature","triggerKind","until","userMessageTemplate","workflowInput","config","connectorInstanceId","connectorSlug","fieldValues","triggerSlug"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.createTrigger",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/agents/{agentId}/triggers",queryParameters:[],requestBody:"json"},{description:"Publish a new immutable version of an agent definition.",bodyProperties:["config"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.createVersion",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/agents/{agentId}/versions",queryParameters:[],requestBody:"json"},{description:"Delete an agent trigger and tear down unused trigger delivery.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.deleteTrigger",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/agent-triggers/{triggerId}",queryParameters:[],requestBody:"none"},{description:"Disable an agent trigger and its trigger delivery.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.disableTrigger",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/agent-triggers/{triggerId}/disable",queryParameters:[],requestBody:"none"},{description:"Discard an agent's draft; the live agent is unchanged.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.discardAgentDraft",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/agents/{agentId}/draft",queryParameters:[],requestBody:"none"},{description:"Read one agent definition visible in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.get",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}",queryParameters:[],requestBody:"none"},{description:"Read an agent's unpublished draft, or null when it has none.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.getAgentDraft",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}/draft",queryParameters:[],requestBody:"none"},{description:"Read an agent edit proposal.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.getEditProposal",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agent-edit-proposals/{proposalId}",queryParameters:[],requestBody:"none"},{description:"Read the organization agent.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.helpDesk",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agents/help-desk",queryParameters:[],requestBody:"none"},{description:"List agent definitions visible in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.list",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agents",queryParameters:["slugId","cursor","limit","search","agentId"],requestBody:"none"},{description:"List the triggers of an agent.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.listAgentTriggers",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}/triggers",queryParameters:["cursor","limit"],requestBody:"none"},{description:"List pending agent edits proposed in a conversation.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.listEditProposals",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agent-edit-proposals",queryParameters:["threadId","cursor","limit"],requestBody:"none"},{description:"List agent triggers visible in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.listTriggers",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agent-triggers",queryParameters:["cursor","limit"],requestBody:"none"},{description:"List immutable versions of an agent definition.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.listVersions",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}/versions",queryParameters:["cursor","limit"],requestBody:"none"},{description:"Read aggregate agent management metrics for the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.managementStats",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agents/management-stats",queryParameters:[],requestBody:"none"},{description:"Publish an agent's draft so it goes live, guarded by the draft's revision.",bodyProperties:["expectedRevision"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.publishAgentDraft",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/agents/{agentId}/draft/publish",queryParameters:[],requestBody:"json"},{description:"Reject a proposed agent edit.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.rejectEditProposal",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/agent-edit-proposals/{proposalId}/reject",queryParameters:[],requestBody:"none"},{description:"Restore an archived agent and the triggers archived with it.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.restore",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/agents/{agentId}/restore",queryParameters:[],requestBody:"none"},{description:"Reveal the signing secret for an agent webhook trigger.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.revealWebhookSecret",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agent-triggers/{triggerId}/webhook-secret",queryParameters:[],requestBody:"none"},{description:"Read weekly agent activity for the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.spaceStats",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agents/space-stats",queryParameters:[],requestBody:"none"},{description:"List agent summaries with their activity counters.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.summaries",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agents/summaries",queryParameters:["cursor","limit","search","sortBy","sortDirection","agentId"],requestBody:"none"},{description:"Update an agent definition's profile.",bodyProperties:["name","description","slugId","paused","runAsUserId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.update",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/agents/{agentId}",queryParameters:[],requestBody:"json"},{description:"Update an agent trigger.",bodyProperties:["integrationId","triggerSlug","displayName","enabled","signature","triggerConfig","until","userMessageTemplate","workflowInput"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.updateTrigger",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/agent-triggers/{triggerId}",queryParameters:[],requestBody:"json"},{description:"Abandon a pending reconnect and restore the connector's prior status.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.cancelApplicationReconnect",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/applications/{id}/reconnect/cancel",queryParameters:[],requestBody:"none"},{description:"Confirm a connector authorization flow after the provider callback.",bodyProperties:["connectionId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.confirmApplication",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/applications/{id}/confirm",queryParameters:[],requestBody:"json"},{description:"Start a connector authorization flow.",bodyProperties:["label","connectionConfig","generateSuggestions"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.connectApplication",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/applications/catalog/{slug}/connect",queryParameters:[],requestBody:"json"},{description:"Connect a custom MCP server to the current space.",bodyProperties:["displayName","endpointUrl","headers","transport"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.createCustomIntegration",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/integrations",queryParameters:[],requestBody:"json"},{description:"Disconnect a connector instance and retire everything bound to its connection.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.disconnectApplication",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/applications/{id}",queryParameters:[],requestBody:"none"},{description:"Disconnect an integration from the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.disconnectIntegration",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/integrations/{id}",queryParameters:[],requestBody:"none"},{description:"Duplicate a connected connector instance into another authorized space.",bodyProperties:["targetSpaceId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.duplicateApplication",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/applications/{id}/duplicate",queryParameters:[],requestBody:"json"},{description:"Read one connector instance with its knowledge sources and sync status.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.getApplication",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/applications/{id}",queryParameters:["providerSyncStatus"],requestBody:"none"},{description:"Read actions and syncs exposed by one connector catalog entry.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.getApplicationCatalog",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/applications/catalog/{slug}",queryParameters:[],requestBody:"none"},{description:"Read an application's inbound and outbound issue sync settings.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.getApplicationIssueSyncSettings",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/applications/{id}/issue-sync",queryParameters:[],requestBody:"none"},{description:"Report whether the Jira Forge app is installed on the connector's Jira site.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.getApplicationJiraForgeStatus",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/applications/{id}/jira-forge",queryParameters:[],requestBody:"none"},{description:"List automations that use this application connection.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.listApplicationAutomations",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/applications/{id}/automations",queryParameters:["cursor","limit","q","sortBy","sortDirection"],requestBody:"none"},{description:"Report whether requested connector types have connected or enabled instances.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.listApplicationAvailability",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/applications/availability",queryParameters:["slug"],requestBody:"none"},{description:"List repositories available to GitHub connector.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.listApplicationGithubRepositories",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/applications/{id}/github/repositories",queryParameters:["cursor","q"],requestBody:"none"},{description:"List directory groups a provisioning connector can link roles to.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.listApplicationGroups",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/applications/{id}/linked-groups",queryParameters:["cursor","limit","search","selectedId"],requestBody:"none"},{description:"List available issue teams or assignment groups for an application.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.listApplicationIssueTeams",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/applications/{id}/issue-teams",queryParameters:[],requestBody:"none"},{description:"List connector catalog entries and instances visible in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.listApplications",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/applications",queryParameters:["attention","connectorInstanceId","cursor","limit","q"],requestBody:"none"},{description:"List connector synchronization runs.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.listApplicationSyncRuns",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/applications/{id}/sync-runs",queryParameters:["cursor","event","limit","q","status"],requestBody:"none"},{description:"List the provider's choices for an application trigger field, such as Linear teams.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.listApplicationTriggerFieldOptions",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/applications/{id}/trigger-field-options",queryParameters:["field","q","cursor"],requestBody:"none"},{description:"List workflows that use this connector's application.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.listApplicationWorkflows",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/applications/{id}/workflows",queryParameters:["cursor","limit","q","sort","status","visibility"],requestBody:"none"},{description:"List connected instances for requested connector types.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.listConnectedApplications",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/applications/connected",queryParameters:["slug"],requestBody:"none"},{description:"List integrations available in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.listIntegrations",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/integrations",queryParameters:["alias","cursor","id","includeDeleted","limit","nangoConnectionId","q","source"],requestBody:"none"},{description:"List tools exposed by one connected integration.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.listIntegrationTools",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/integrations/{id}/tools",queryParameters:[],requestBody:"none"},{description:"Issue new Okta webhook credentials, invalidating the previous hook.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.provisionApplicationWebhook",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/applications/{id}/okta-webhook",queryParameters:[],requestBody:"none"},{description:"Start a reconnect against the connector's existing auth connection.",bodyProperties:["connectionConfig"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.reconnectApplication",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/applications/{id}/reconnect",queryParameters:[],requestBody:"json"},{description:"Rename an integration connection.",bodyProperties:["displayName"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.renameIntegration",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/integrations/{id}",queryParameters:[],requestBody:"json"},{description:"Choose whether a connector instance may perform write actions.",bodyProperties:["actionMode"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.setApplicationActionMode",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/applications/{id}/action-mode",queryParameters:[],requestBody:"json"},{description:"Turn a connector instance on or off across every surface that reads it.",bodyProperties:["enabled"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.setApplicationEnabled",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/applications/{id}/enabled",queryParameters:[],requestBody:"json"},{description:"Enable or disable an integration connection.",bodyProperties:["enabled"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.setIntegrationEnabled",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/integrations/{id}/enabled",queryParameters:[],requestBody:"json"},{description:"Request synchronization for an application connection.",bodyProperties:["initial"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.triggerApplicationSync",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/applications/{id}/sync",queryParameters:[],requestBody:"json"},{description:"Update a connector instance label.",bodyProperties:["label"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.updateApplication",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/applications/{id}",queryParameters:[],requestBody:"json"},{description:"Replace an application's issue sync settings and reconcile provider schedules.",bodyProperties:["agentPreferences","mappings","pull","push","autoAddress"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.updateApplicationIssueSyncSettings",idempotent:!1,method:"put",mutation:!0,path:"/v1/spaces/{spaceId}/applications/{id}/issue-sync",queryParameters:[],requestBody:"json"},{description:"Archive an assignment group.",bodyProperties:["confirm"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-groups.archive",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/assignment-groups/{assignmentGroupId}/archive",queryParameters:[],requestBody:"json"},{description:"Create a directory assignment group.",bodyProperties:["name","description","sources","kind","connectorInstanceId","externalProviderGroupId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-groups.create",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/assignment-groups",queryParameters:[],requestBody:"json"},{description:"Read one assignment group.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-groups.get",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/assignment-groups/{assignmentGroupId}",queryParameters:[],requestBody:"none"},{description:"Read an assignment group's resolved membership.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-groups.getMembership",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/assignment-groups/{assignmentGroupId}/membership",queryParameters:[],requestBody:"none"},{description:"Read the assignment-group import settings for the active space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-groups.getSettings",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/assignment-groups/settings",queryParameters:[],requestBody:"none"},{description:"List assignment groups in the active space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-groups.list",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/assignment-groups",queryParameters:["counts","cursor","includeArchived","kind","limit","memberOf","offset","q","routableOnly","sortBy","sortDirection"],requestBody:"none"},{description:"List the people in a linked assignment group.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-groups.listMembers",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/assignment-groups/{assignmentGroupId}/members",queryParameters:["access","cursor","limit","q","sortBy","sortDirection"],requestBody:"none"},{description:"Restore an archived assignment group.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-groups.unarchive",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/assignment-groups/{assignmentGroupId}/unarchive",queryParameters:[],requestBody:"none"},{description:"Rename a directory assignment group, replace its members, or set the description of any assignment group.",bodyProperties:["name","description","sources","kind","connectorInstanceId","externalProviderGroupId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-groups.update",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/assignment-groups/{assignmentGroupId}",queryParameters:[],requestBody:"json"},{description:"Choose whether a ServiceNow connection's groups are offered as assignment groups in the active space.",bodyProperties:["enabled","confirm"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-groups.updateImport",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/assignment-groups/imports/{connectorInstanceId}",queryParameters:[],requestBody:"json"},{description:"Create an assignment rule at the end of the evaluation order.",bodyProperties:["conditions","actions"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-rules.create",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/assignment-rules",queryParameters:[],requestBody:"json"},{description:"List the assignment rules in the active space, in evaluation order.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-rules.list",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/assignment-rules",queryParameters:[],requestBody:"none"},{description:"Delete an assignment rule and clear the cases it routed.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-rules.remove",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/assignment-rules/{ruleId}",queryParameters:[],requestBody:"none"},{description:"Reorder every assignment rule in the space.",bodyProperties:["ruleIds"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-rules.reorder",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/assignment-rules/reorder",queryParameters:[],requestBody:"json"},{description:"Update an assignment rule's conditions or target.",bodyProperties:["conditions","actions"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-rules.update",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/assignment-rules/{ruleId}",queryParameters:[],requestBody:"json"},{description:"Approve a proposed automation edit and publish its immutable version.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.approveEditProposal",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/automation-edit-proposals/{proposalId}/approve",queryParameters:[],requestBody:"none"},{description:"Archive a user-managed automation definition and disable its automations.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.archive",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/automations/{automationId}",queryParameters:[],requestBody:"none"},{description:"List archived automation definitions in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.archived",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/automations/archived",queryParameters:[],requestBody:"none"},{description:"Read the space automation.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.copilot",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/automations/copilot",queryParameters:[],requestBody:"none"},{description:"Create an automation definition and its initial immutable version.",bodyProperties:["name","description","slugId","paused","runAsUserId","config"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.create",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/automations",queryParameters:[],requestBody:"json"},{description:"Create an automation for an automation definition.",bodyProperties:["displayName","signature","triggerKind","until","userMessageTemplate","workflowInput","config","connectorInstanceId","connectorSlug","fieldValues","triggerSlug"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.createTrigger",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/automations/{automationId}/triggers",queryParameters:[],requestBody:"json"},{description:"Publish a new immutable version of an automation definition.",bodyProperties:["config"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.createVersion",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/automations/{automationId}/versions",queryParameters:[],requestBody:"json"},{description:"Create an automation for a published workflow.",bodyProperties:["displayName","signature","triggerKind","until","userMessageTemplate","workflowInput","config","connectorInstanceId","connectorSlug","fieldValues","triggerSlug"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.createWorkflowTrigger",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/triggers",queryParameters:[],requestBody:"json"},{description:"Delete an automation automation and tear down unused trigger delivery.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.deleteTrigger",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/automation-triggers/{triggerId}",queryParameters:[],requestBody:"none"},{description:"Delete a workflow automation and tear down unused trigger delivery.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.deleteWorkflowTrigger",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/triggers/{triggerId}",queryParameters:[],requestBody:"none"},{description:"Disable an automation automation and its trigger delivery.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.disableTrigger",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/automation-triggers/{triggerId}/disable",queryParameters:[],requestBody:"none"},{description:"Read one automation definition visible in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.get",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/automations/{automationId}",queryParameters:[],requestBody:"none"},{description:"Read an automation edit proposal.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.getEditProposal",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/automation-edit-proposals/{proposalId}",queryParameters:[],requestBody:"none"},{description:"Read the organization automation.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.helpDesk",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/automations/help-desk",queryParameters:[],requestBody:"none"},{description:"List automation definitions visible in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.list",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/automations",queryParameters:["slugId","cursor","limit","search","automationId"],requestBody:"none"},{description:"List automations for an automation definition.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.listAutomationTriggers",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/automations/{automationId}/triggers",queryParameters:["cursor","limit"],requestBody:"none"},{description:"List pending automation edits proposed in a conversation.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.listEditProposals",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/automation-edit-proposals",queryParameters:["threadId","cursor","limit"],requestBody:"none"},{description:"List automation automations visible in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.listTriggers",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/automation-triggers",queryParameters:["cursor","limit"],requestBody:"none"},{description:"List immutable versions of an automation definition.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.listVersions",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/automations/{automationId}/versions",queryParameters:["cursor","limit"],requestBody:"none"},{description:"List automations for a workflow.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.listWorkflowTriggers",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/triggers",queryParameters:["cursor","limit"],requestBody:"none"},{description:"Read aggregate automation management metrics for the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.managementStats",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/automations/management-stats",queryParameters:[],requestBody:"none"},{description:"Reject a proposed automation edit.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.rejectEditProposal",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/automation-edit-proposals/{proposalId}/reject",queryParameters:[],requestBody:"none"},{description:"Restore an archived automation definition and the automations archived with it.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.restore",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/automations/{automationId}/restore",queryParameters:[],requestBody:"none"},{description:"Reveal the signing secret for an automation webhook automation.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.revealWebhookSecret",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/automation-triggers/{triggerId}/webhook-secret",queryParameters:[],requestBody:"none"},{description:"Reveal the signing secret for a workflow webhook automation.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.revealWorkflowWebhookSecret",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/triggers/{triggerId}/webhook-secret",queryParameters:[],requestBody:"none"},{description:"Read weekly automation activity for the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.spaceStats",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/automations/space-stats",queryParameters:[],requestBody:"none"},{description:"List automation summaries with their activity counters.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.summaries",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/automations/summaries",queryParameters:["cursor","limit","search","sortBy","sortDirection","automationId"],requestBody:"none"},{description:"Update an automation definition's profile.",bodyProperties:["name","description","slugId","paused","runAsUserId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.update",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/automations/{automationId}",queryParameters:[],requestBody:"json"},{description:"Update an automation automation.",bodyProperties:["integrationId","triggerSlug","displayName","enabled","signature","triggerConfig","until","userMessageTemplate","workflowInput"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.updateTrigger",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/automation-triggers/{triggerId}",queryParameters:[],requestBody:"json"},{description:"Update a workflow automation.",bodyProperties:["integrationId","triggerSlug","displayName","enabled","signature","triggerConfig","until","userMessageTemplate","workflowInput"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.updateWorkflowTrigger",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/triggers/{triggerId}",queryParameters:[],requestBody:"json"},{description:"Subscribe other organization members to a visible case and notify each person added. Requires a signed-in user credential or a workflow run.",bodyProperties:["userIds"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.addSubscribers",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/subscribers",queryParameters:[],requestBody:"json"},{description:"Archive a writable case.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.archiveCase",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/archive",queryParameters:[],requestBody:"none"},{description:"Archive a case type so new cases can no longer use it; existing cases keep it. The space's default can't be archived.",bodyProperties:["expectedUpdatedAt"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.archiveCaseType",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/case-types/{caseTypeId}/archive",queryParameters:[],requestBody:"json"},{description:"Archive one approval inbox row for the current actor. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.archiveInboxApproval",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/case-inbox/approvals/{approvalId}/archive",queryParameters:[],requestBody:"none"},{description:"Archive one case inbox row for the current actor. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.archiveInboxCase",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/case-inbox/cases/{caseId}/archive",queryParameters:[],requestBody:"none"},{description:"Add a public or internal comment to a case.",bodyProperties:["body","visibility","turnId","id"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.comment",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/comments",queryParameters:[],requestBody:"json"},{description:"Create a case in the current space.",bodyProperties:["title","summary","statusId","priority","categoryId","requesterUserId","requesterEmail","assigneeUserId","assignmentGroupId","dueAt","availableAt","primaryThreadId","parentCaseId","phase","blocksCaseId","caseTypeId","fields"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.createCase",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases",queryParameters:[],requestBody:"json"},{description:"Create a custom case type with its stages and lifecycle.",bodyProperties:["name","description","stages","initialStageKey","completeStageKey","cancelStageKey","fields"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.createCaseType",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/case-types",queryParameters:[],requestBody:"json"},{description:"Create a category in the active case space.",bodyProperties:["name","description"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.createCategory",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/case-categories",queryParameters:[],requestBody:"json"},{description:"Create a label in the current case space.",bodyProperties:["name","color"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.createLabel",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/case-labels",queryParameters:[],requestBody:"json"},{description:"Remove an attachment from a writable case.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.deleteAttachment",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/attachments/{attachmentId}",queryParameters:[],requestBody:"none"},{description:"Download an attachment from a visible case.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.downloadAttachment",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/attachments/{attachmentId}/download",queryParameters:[],requestBody:"none",binaryResponse:!0},{description:"Escalate a request to human ownership using the space's assignment and muting settings.",bodyProperties:["reason"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.escalateRequest",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/requests/{sourceThreadId}/escalate",queryParameters:[],requestBody:"json"},{description:"Read one case with the first page of everything hanging off it.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.getCase",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}",queryParameters:["workflowRunId","space"],requestBody:"none"},{description:"Get the current actor's subscription to a visible case. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.getSubscription",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/subscription",queryParameters:[],requestBody:"none"},{description:"Install a case type template.",bodyProperties:["templateKey"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.installCaseTemplate",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/case-types/templates",queryParameters:[],requestBody:"json"},{description:"Link two writable cases: as a subcase (type parent, the default), as a blocker of the path case (type blocks), or as related cases (type related). Requires a signed-in user credential or a workflow run.",bodyProperties:["targetCaseIdOrIdentifier","type"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.linkRelation",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/relations",queryParameters:[],requestBody:"json"},{description:"Link an existing automation thread to a writable case. Requires a signed-in user credential.",bodyProperties:["threadId","relationship","purpose","metadata","automationId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.linkThread",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/threads",queryParameters:[],requestBody:"json"},{description:"List visible activity for a case.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listActivity",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/activity",queryParameters:["cursor","limit"],requestBody:"none"},{description:"Search people who can be assigned to a case in the current space. Requires the cases:read and space-members:read scopes.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listAssigneeCandidates",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/case-assignee-candidates",queryParameters:["assignmentGroupId","cursor","limit","q"],requestBody:"none"},{description:"List file attachments for a visible case.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listAttachments",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/attachments",queryParameters:["cursor","limit"],requestBody:"none"},{description:"List cases in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listCases",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases",queryParameters:["includeArchived","includeTotalCount","withoutParent","withoutRequester","withoutCategory","id","identifier","statusType","statusGroup","caseTypeId","statusId","stageCategory","priority","assigneeUserId","assignmentGroupId","requesterUserId","categoryId","labelId","sourceKind","fieldFilters","personFilters","filterMode","sectionBy","sectionValue","search","limit","cursor","after","before","updatedAfter","updatedBefore","sortBy","sortDir"],requestBody:"none"},{description:"List the first page of each group of cases in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listCasesGrouped",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases/grouped",queryParameters:["includeArchived","includeTotalCount","withoutParent","withoutRequester","withoutCategory","id","identifier","statusType","statusGroup","caseTypeId","statusId","stageCategory","priority","assigneeUserId","assignmentGroupId","requesterUserId","categoryId","labelId","sourceKind","fieldFilters","personFilters","filterMode","sectionBy","sectionValue","search","limit","cursor","after","before","updatedAfter","updatedBefore","sortBy","sortDir","groupBy"],requestBody:"none"},{description:"List case types and stages in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listCaseTypes",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/case-types",queryParameters:[],requestBody:"none"},{description:"List the active categories in the current case space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listCategories",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/case-categories",queryParameters:[],requestBody:"none"},{description:"List assignment groups available as case-inbox filters. Personal spans every space the actor is addressed in; a space inbox shows only its own. The selected space anchors authorization; results include the user's accessible cases across the organization. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listInboxCaseGroupOptions",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/case-inbox/group-options",queryParameters:["inboxState","statusType","stageCategory","priority","assigneeUserId","requesterUserId","presetAssigneeMode","notificationType","q","limit","cursor","groupQ"],requestBody:"none"},{description:"List the current actor's case inbox rows. Personal spans every space the actor is addressed in; a space inbox shows only its own. The selected space anchors authorization; results include the user's accessible cases across the organization. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listInboxCases",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/case-inbox",queryParameters:["inboxState","statusType","stageCategory","priority","assigneeUserId","requesterUserId","presetAssigneeMode","notificationType","q","limit","cursor","assignmentGroupId","sortBy","sortDir"],requestBody:"none"},{description:"List the labels attached to a visible case.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listLabels",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/labels",queryParameters:["cursor","limit"],requestBody:"none"},{description:"List the filter values still worth offering over the current actor's cases. The selected space anchors authorization; results include the user's accessible cases across the organization. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listMyCaseFilterOptions",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases-mine/filter-options",queryParameters:["includeArchived","includeTotalCount","withoutParent","withoutRequester","withoutCategory","id","identifier","statusType","statusGroup","caseTypeId","statusId","stageCategory","priority","assigneeUserId","assignmentGroupId","requesterUserId","categoryId","labelId","sourceKind","fieldFilters","personFilters","filterMode","sectionBy","sectionValue","search","limit","cursor","after","before","updatedAfter","updatedBefore","sortBy","sortDir","kind","q"],requestBody:"none"},{description:"List the cases the current actor is involved in, across spaces. The selected space anchors authorization; results include the user's accessible cases across the organization. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listMyCases",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases-mine",queryParameters:["includeArchived","includeTotalCount","withoutParent","withoutRequester","withoutCategory","id","identifier","statusType","statusGroup","caseTypeId","statusId","stageCategory","priority","assigneeUserId","assignmentGroupId","requesterUserId","categoryId","labelId","sourceKind","fieldFilters","personFilters","filterMode","sectionBy","sectionValue","search","limit","cursor","after","before","updatedAfter","updatedBefore","sortBy","sortDir"],requestBody:"none"},{description:"List the first page of each group of the current actor's cases. The selected space anchors authorization; results include the user's accessible cases across the organization. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listMyCasesGrouped",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases-mine/grouped",queryParameters:["includeArchived","includeTotalCount","withoutParent","withoutRequester","withoutCategory","id","identifier","statusType","statusGroup","caseTypeId","statusId","stageCategory","priority","assigneeUserId","assignmentGroupId","requesterUserId","categoryId","labelId","sourceKind","fieldFilters","personFilters","filterMode","sectionBy","sectionValue","search","limit","cursor","after","before","updatedAfter","updatedBefore","sortBy","sortDir","groupBy"],requestBody:"none"},{description:"List statuses, categories, or labels in the current case space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listReferenceData",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/case-reference-data",queryParameters:["kind","cursor","limit"],requestBody:"none"},{description:"List the source links attached to a visible case.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listSourceLinks",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/source-links",queryParameters:["cursor","limit"],requestBody:"none"},{description:"List the filter values still worth offering over subscribed cases. The selected space anchors authorization; results include the user's accessible cases across the organization. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listSubscribedCaseFilterOptions",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases-subscribed/filter-options",queryParameters:["includeArchived","includeTotalCount","withoutParent","withoutRequester","withoutCategory","id","identifier","statusType","statusGroup","caseTypeId","statusId","stageCategory","priority","assigneeUserId","assignmentGroupId","requesterUserId","categoryId","labelId","sourceKind","fieldFilters","personFilters","filterMode","sectionBy","sectionValue","search","limit","cursor","after","before","updatedAfter","updatedBefore","sortBy","sortDir","kind","q"],requestBody:"none"},{description:"List the cases the current actor subscribes to. The selected space anchors authorization; results include the user's accessible cases across the organization. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listSubscribedCases",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases-subscribed",queryParameters:["includeArchived","includeTotalCount","withoutParent","withoutRequester","withoutCategory","id","identifier","statusType","statusGroup","caseTypeId","statusId","stageCategory","priority","assigneeUserId","assignmentGroupId","requesterUserId","categoryId","labelId","sourceKind","fieldFilters","personFilters","filterMode","sectionBy","sectionValue","search","limit","cursor","after","before","updatedAfter","updatedBefore","sortBy","sortDir"],requestBody:"none"},{description:"List the first page of each group of the current actor's subscribed cases. The selected space anchors authorization; results include the user's accessible cases across the organization. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listSubscribedCasesGrouped",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases-subscribed/grouped",queryParameters:["includeArchived","includeTotalCount","withoutParent","withoutRequester","withoutCategory","id","identifier","statusType","statusGroup","caseTypeId","statusId","stageCategory","priority","assigneeUserId","assignmentGroupId","requesterUserId","categoryId","labelId","sourceKind","fieldFilters","personFilters","filterMode","sectionBy","sectionValue","search","limit","cursor","after","before","updatedAfter","updatedBefore","sortBy","sortDir","groupBy"],requestBody:"none"},{description:"List the people subscribed to a visible case. Requires a signed-in user credential or a workflow run.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listSubscribers",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/subscribers",queryParameters:[],requestBody:"none"},{description:"List the sessions linked to a visible case.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listThreads",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/threads",queryParameters:["cursor","limit"],requestBody:"none"},{description:"Read a permission-aware page of a case's descendant tasks and native blocker edges. Follow nextCursor until null; restricted pages cannot establish whole-plan completion.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listWorkPlan",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/work-plan",queryParameters:["cursor","limit"],requestBody:"none"},{description:"Mark a visible case and its notifications read for the current actor. Requires a signed-in user credential.",bodyProperties:["mode"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.markRead",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/read",queryParameters:[],requestBody:"json"},{description:"Mark a visible case unread for the current actor. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.markUnread",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/unread",queryParameters:[],requestBody:"none"},{description:"Move a case to another space or type. It changes in place when it can; otherwise a new case of the target type takes over its conversation and this one is canceled. Requires a signed-in user credential.",bodyProperties:["caseTypeId","targetSpaceId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}},{aliases:["idempotencyKey"],name:"Idempotency-Key",required:!0,schema:{maxLength:100,minLength:1,type:"string"}}],id:"cases.move",idempotent:!0,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/move",queryParameters:[],requestBody:"json"},{description:"Show whether a move would change the case in place, open a new case, or be refused. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.previewMove",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/move-preview",queryParameters:["caseTypeId","targetSpaceId"],requestBody:"none"},{description:"Read a case with names and pages of linked sessions, case-triggered automation runs, and workflow runs.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.readContext",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/context",queryParameters:["workflowRunCursor","workflowRunLimit","automationRunCursor","automationRunLimit","sessionCursor","sessionLimit","boardCursor"],requestBody:"none"},{description:"Mark one approval inbox row read for the current actor. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.readInboxApproval",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/case-inbox/approvals/{approvalId}/read",queryParameters:[],requestBody:"none"},{description:"Mark one case inbox row read for the current actor. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.readInboxCase",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/case-inbox/cases/{caseId}/read",queryParameters:[],requestBody:"none"},{description:"Rebuild one page of the organization's case search index. Org admins only; repeat with nextCursor until it is null.",bodyProperties:["cursor","limit"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.rebuildSearchIndex",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases/search-index/rebuild",queryParameters:[],requestBody:"json"},{description:"Remove a person's subscription to a visible case. Other users cannot remove the current assignee. Requires a signed-in user credential or a workflow run.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.removeSubscriber",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/subscribers/{userId}",queryParameters:[],requestBody:"none"},{description:"Reopen a writable case.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.reopenCase",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/reopen",queryParameters:[],requestBody:"none"},{description:"Search accessible case history by meaning.",bodyProperties:["question","statusType","statusId","stageCategory","categoryId","limit"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.search",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases/search",queryParameters:[],requestBody:"json"},{description:"Make a case type the space's default, where cases filed without a type land.",bodyProperties:["expectedUpdatedAt"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.setDefaultCaseType",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/case-types/{caseTypeId}/default",queryParameters:[],requestBody:"json"},{description:"Start and link a new automation thread for a writable case. Requires a signed-in user credential.",bodyProperties:["id","relationship","purpose","metadata","startMuted","automationId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.spawnThread",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/threads/spawn",queryParameters:[],requestBody:"json"},{description:"Subscribe the current actor to a visible case. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.subscribe",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/subscription",queryParameters:[],requestBody:"none"},{description:"Restore an archived custom case type.",bodyProperties:["expectedUpdatedAt"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.unarchiveCaseType",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/case-types/{caseTypeId}/unarchive",queryParameters:[],requestBody:"json"},{description:"Remove a writable subcase, blocker or related relation. Requires a signed-in user credential or a workflow run.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.unlinkRelation",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/relations/{relationId}",queryParameters:[],requestBody:"none"},{description:"Unsubscribe the current actor from a visible case. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.unsubscribe",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/subscription",queryParameters:[],requestBody:"none"},{description:"Update a writable case.",bodyProperties:["title","summary","statusId","statusType","stageCategory","priority","categoryId","requesterUserId","assigneeUserId","assigneeActorType","assignmentGroupId","assigneeGroupId","assignNextInGroup","dueAt","availableAt","labelIds","relevantKnowledgeIds","relevantSkillIds","fields","overrideStageGuardrails"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.updateCase",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}",queryParameters:[],requestBody:"json"},{description:"Replace a custom case type's name, stages, and lifecycle.",bodyProperties:["name","description","stages","initialStageKey","completeStageKey","cancelStageKey","fields","expectedUpdatedAt","autoCloseWhenSubcasesClosed","holdStatusId","syncs","requesterVisible"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.updateCaseType",idempotent:!1,method:"put",mutation:!0,path:"/v1/spaces/{spaceId}/case-types/{caseTypeId}",queryParameters:[],requestBody:"json"},{description:"Upload files to a writable case using the same file restrictions as the web app.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.uploadAttachment",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/attachments",queryParameters:[],requestBody:"multipart"},{description:"Create a provider-hosted Admin Portal link for directory, SSO or domain setup.",bodyProperties:["intent","returnUrl","successUrl"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"directory.createAdminPortalLink",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/directory/admin-portal-link",queryParameters:[],requestBody:"json"},{description:"Read one person: an Action account joined with its directory record when there is one, with every synced attribute (department, job title, office, cost center, manager, groups). Directory fields are null for a person who is not in the directory. Null when no one matches, and, unless includeInactive is set, for someone who has left (not an active member, or an inactive directory record with no account).",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"directory.getUser",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/directory/user",queryParameters:["directoryUserId","email","identityId","userId","includeInactive"],requestBody:"none"},{description:"List the organization's directory snapshot.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"directory.list",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/directory",queryParameters:["groupMembersLimit","groupsCursor","groupsLimit","userId","usersCursor","usersLimit"],requestBody:"none"},{description:"List the members of one directory group.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"directory.listGroupMembers",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/directory/groups/{groupId}/members",queryParameters:["cursor","limit"],requestBody:"none"},{description:"List people in the organization, members and directory records alike, once each and ordered by name; pass query to search them. People who have left are left out unless includeInactive is set.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"directory.listUsers",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/directory/people",queryParameters:["query","cursor","limit","includeInactive"],requestBody:"none"},{description:"Search groups in the organization directory.",bodyProperties:["cursor","limit","queries","query"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"directory.searchGroups",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/directory/search/groups",queryParameters:[],requestBody:"json"},{description:"Search people in the organization directory.",bodyProperties:["cursor","limit","query"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"directory.searchUsers",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/directory/search/users",queryParameters:[],requestBody:"json"},{description:"Schedule a fresh organization directory snapshot.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"directory.sync",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/directory/sync",queryParameters:[],requestBody:"none"},{description:"Archive a form in the active space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.archive",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/forms/{formId}/archive",queryParameters:[],requestBody:"none"},{description:"Create a form in the active space.",bodyProperties:["name","slug","description","visibility","enabled","agentVisible"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.create",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/forms",queryParameters:[],requestBody:"json"},{description:"Delete a published form's open draft, leaving the published version live.",bodyProperties:["expectedReviewFingerprint"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.discardDraft",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/form-versions/{versionId}/discard",queryParameters:[],requestBody:"json"},{description:"Get one form in the active space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.get",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/forms/{formId}",queryParameters:[],requestBody:"none"},{description:"Load the source of one form version.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.getSource",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/form-versions/{versionId}/source",queryParameters:[],requestBody:"none"},{description:"Get one form submission visible to the actor.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.getSubmission",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/form-submissions/{submissionId}",queryParameters:[],requestBody:"none"},{description:"Get one form version in the active space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.getVersion",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/form-versions/{versionId}",queryParameters:[],requestBody:"none"},{description:"List forms in the active space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.list",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/forms",queryParameters:["cursor","includeArchived","includeShared","limit","q","sort","visibility"],requestBody:"none"},{description:"List a form in its space's Catalog, or change who finds it there. Being listed is what opens a form to people outside its space.",bodyProperties:["description","audience"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.listInCatalog",idempotent:!1,method:"put",mutation:!0,path:"/v1/spaces/{spaceId}/forms/{formId}/catalog-listing",queryParameters:[],requestBody:"json"},{description:"List submissions for one form in the active space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.listSubmissions",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/forms/{formId}/submissions",queryParameters:["cursor","formVersionId","invocationId","submittedByUserId","limit"],requestBody:"none"},{description:"List versions of one form in the active space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.listVersions",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/forms/{formId}/versions",queryParameters:["cursor","limit"],requestBody:"none"},{description:"Publish one form version.",bodyProperties:["expectedReviewFingerprint"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.publish",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/form-versions/{versionId}/publish",queryParameters:[],requestBody:"json"},{description:"Restore an older form version as a new draft.",bodyProperties:["expectedLatestRevisionId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.restore",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/form-versions/{versionId}/restore",queryParameters:[],requestBody:"json"},{description:"Compile and save a new draft form version from source.",bodyProperties:["source","sourceName","expectedLatestRevisionId","authoringThreadId","changeSetId","visibility","audienceMode","accessProfileIds"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.saveDraft",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/forms/{formId}/draft",queryParameters:[],requestBody:"json"},{description:"Turn database projection on or off for a form. While on, every accepted submission is also written as a record of a form-managed entity type, and existing submissions are backfilled.",bodyProperties:["enabled"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.setDatabaseProjection",idempotent:!1,method:"put",mutation:!0,path:"/v1/spaces/{spaceId}/forms/{formId}/database-projection",queryParameters:[],requestBody:"json"},{description:"Take a form out of the Catalog, which leaves it to its own space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.unlistFromCatalog",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/forms/{formId}/catalog-listing",queryParameters:[],requestBody:"none"},{description:"Update a form and its draft audience settings.",bodyProperties:["changeSetId","name","slug","description","enabled","agentVisible","visibility","audienceMode","accessProfileIds"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.update",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/forms/{formId}",queryParameters:[],requestBody:"json"},{description:"Get the principal and organization the supplied credential resolves to.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"identity.getCurrentPrincipal",idempotent:!1,method:"get",mutation:!1,path:"/v1/me",queryParameters:[],requestBody:"none"},{description:"List the spaces the supplied credential can reach.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"identity.listSpaces",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces",queryParameters:["cursor","limit"],requestBody:"none"},{description:"Archive an uploaded-knowledge folder and all of its documents.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.archiveFolder",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/folders/{sourceId}",queryParameters:[],requestBody:"none"},{description:"Archive an uploaded-knowledge subfolder and its documents.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.archiveSubfolder",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/folders/{sourceId}/subfolders/{folderId}",queryParameters:[],requestBody:"none"},{description:"Archive an uploaded knowledge document.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.archiveUpload",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/uploads/{documentId}",queryParameters:[],requestBody:"none"},{description:"Read a GitHub knowledge repository file.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.browseGithubKnowledgeRepoFile",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/github/knowledge-repos/file",queryParameters:["path","repo"],requestBody:"none"},{description:"Browse GitHub knowledge repository tree.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.browseGithubKnowledgeRepoTree",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/github/knowledge-repos/tree",queryParameters:["repo"],requestBody:"none"},{description:"Include or exclude every document in the Confluence source.",bodyProperties:["directory","visible"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.bulkUpdateConfluenceConnectorDocuments",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/confluence-knowledge/documents",queryParameters:[],requestBody:"json"},{description:"Include or exclude every document in the Google Drive source.",bodyProperties:["directory","visible"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.bulkUpdateGoogleDriveConnectorDocuments",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge/documents",queryParameters:[],requestBody:"json"},{description:"Include or exclude every document in the Notion source.",bodyProperties:["directory","visible"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.bulkUpdateNotionConnectorDocuments",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/notion-knowledge/documents",queryParameters:[],requestBody:"json"},{description:"Include or exclude every document in the SharePoint source.",bodyProperties:["directory","visible"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.bulkUpdateSharePointConnectorDocuments",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/sharepoint-knowledge/documents",queryParameters:[],requestBody:"json"},{description:"Include or exclude every document in the Simpplr source.",bodyProperties:["directory","visible"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.bulkUpdateSimpplrConnectorDocuments",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/simpplr-knowledge/documents",queryParameters:[],requestBody:"json"},{description:"Upload and index a knowledge document. The folder and subfolders are created as needed.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.createUpload",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/uploads",queryParameters:[],requestBody:"multipart"},{description:"List indexed Confluence documents in the selected space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listConfluenceConnectorDocuments",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/confluence-knowledge/documents",queryParameters:["cursor","limit","q","directory","status","type","sort","confluenceSpaceId"],requestBody:"none"},{description:"Discover Confluence spaces available for knowledge selection.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listConfluenceConnectorSpaces",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/confluence-spaces",queryParameters:["cursor"],requestBody:"none"},{description:"List upload folders in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listFolders",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/folders",queryParameters:[],requestBody:"none"},{description:"List repositories available to GitHub connector.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listGithubConnectorRepos",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/github/repos",queryParameters:["cursor","query"],requestBody:"none"},{description:"List GitHub knowledge repositories.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listGithubKnowledgeRepos",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/github/knowledge-repos",queryParameters:[],requestBody:"none"},{description:"List indexed Google Drive documents in the selected space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listGoogleDriveConnectorDocuments",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge/documents",queryParameters:["cursor","limit","q","directory","status","type","sort","confluenceSpaceId"],requestBody:"none"},{description:"List Google Drive corpora available for knowledge selection.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listGoogleDriveConnectorDrives",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge/drives",queryParameters:[],requestBody:"none"},{description:"List the folders directly inside a Google Drive corpus or folder, for narrowing knowledge selection.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listGoogleDriveConnectorFolders",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge/folders",queryParameters:["corpusId","parentId","cursor"],requestBody:"none"},{description:"List indexed Notion documents in the selected space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listNotionConnectorDocuments",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/notion-knowledge/documents",queryParameters:["cursor","limit","q","directory","status","type","sort","confluenceSpaceId"],requestBody:"none"},{description:"List the knowledge catalog visible to organization administrators.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listOrganizationDocuments",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/organization/documents",queryParameters:["cursor","limit","provider","q","sort","sortDirection"],requestBody:"none"},{description:"List provider totals for the organization knowledge catalog.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listOrganizationKnowledgeProviderCounts",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/organization/provider-counts",queryParameters:[],requestBody:"none"},{description:"List indexed SharePoint documents in the selected space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listSharePointConnectorDocuments",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/sharepoint-knowledge/documents",queryParameters:["cursor","limit","q","directory","status","type","sort","confluenceSpaceId"],requestBody:"none"},{description:"Discover SharePoint sites available for knowledge selection.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listSharePointConnectorSites",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/sharepoint-sites",queryParameters:["cursor","query"],requestBody:"none"},{description:"List indexed Simpplr documents in the selected space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listSimpplrConnectorDocuments",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/simpplr-knowledge/documents",queryParameters:["cursor","limit","q","directory","status","type","sort","confluenceSpaceId"],requestBody:"none"},{description:"Discover Simpplr sites available for knowledge selection.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listSimpplrConnectorSites",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/simpplr-sites",queryParameters:["cursor"],requestBody:"none"},{description:"List Slack knowledge channels and their indexing settings. Requires a human principal because Slack knowledge is shared across the organization.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listSlackConnectorChannels",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/slack-knowledge/channels",queryParameters:["cursor","search","limit"],requestBody:"none"},{description:"List uploaded knowledge documents in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listUploads",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/uploads",queryParameters:["cursor","folder","limit","q"],requestBody:"none"},{description:"Download an organization knowledge document. Requires a signed-in organization administrator.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.readOrganizationUpload",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/organization/uploads/{documentId}/content",queryParameters:[],requestBody:"none",binaryResponse:!0},{description:"Download a document owned by the selected space or included in knowledge.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.readUpload",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/uploads/{documentId}/content",queryParameters:[],requestBody:"none",binaryResponse:!0},{description:"Reindex an uploaded knowledge document.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.reindexUpload",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/uploads/{documentId}/reindex",queryParameters:[],requestBody:"none"},{description:"Rename an uploaded-knowledge folder.",bodyProperties:["name"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.renameFolder",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/folders/{sourceId}",queryParameters:[],requestBody:"json"},{description:"Rename an uploaded-knowledge subfolder.",bodyProperties:["name"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.renameSubfolder",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/folders/{sourceId}/subfolders/{folderId}",queryParameters:[],requestBody:"json"},{description:"Replace GitHub knowledge repositories.",bodyProperties:["repos"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.replaceGithubKnowledgeRepos",idempotent:!1,method:"put",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/github/knowledge-repos",queryParameters:[],requestBody:"json"},{description:"Search accessible knowledge documents and return excerpts with citations.",bodyProperties:["question","provider","limit"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.search",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/search",queryParameters:[],requestBody:"json"},{description:"Search Google Drive folders by name across every drive the connection can see, each tagged with the corpus a knowledge selection must name to include it.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.searchGoogleDriveConnectorFolders",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge/folder-search",queryParameters:["query","cursor"],requestBody:"none"},{description:"Search connected Notion pages and data sources available for selection.",bodyProperties:["cursor","query","limit"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.searchNotionConnectorDocuments",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/notion-knowledge/search",queryParameters:[],requestBody:"json"},{description:"Refresh one Confluence document from its provider.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.syncConfluenceConnectorDocument",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/confluence-knowledge/documents/{documentId}/sync",queryParameters:[],requestBody:"none"},{description:"Refresh one Google Drive document from its provider.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.syncGoogleDriveConnectorDocument",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge/documents/{documentId}/sync",queryParameters:[],requestBody:"none"},{description:"Refresh one Notion document from its provider.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.syncNotionConnectorDocument",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/notion-knowledge/documents/{documentId}/sync",queryParameters:[],requestBody:"none"},{description:"Trigger GitHub knowledge synchronization.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.triggerGithubKnowledgeSync",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/github/knowledge-repos/sync",queryParameters:[],requestBody:"none"},{description:"Include or exclude one Confluence document.",bodyProperties:["visible"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateConfluenceConnectorDocument",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/confluence-knowledge/documents/{documentId}",queryParameters:[],requestBody:"json"},{description:"Update the Confluence knowledge selection and reconcile its indexed documents.",bodyProperties:["selection"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateConfluenceConnectorSelection",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/confluence-knowledge-selection",queryParameters:[],requestBody:"json"},{description:"Update visibility for every uploaded document in a folder.",bodyProperties:["visible"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateFolderDocuments",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/folders/{sourceId}/documents",queryParameters:[],requestBody:"json"},{description:"Update GitHub connector repository selection.",bodyProperties:["repos"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateGithubConnectorRepos",idempotent:!1,method:"put",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/github/repos",queryParameters:[],requestBody:"json"},{description:"Include or exclude one Google Drive document.",bodyProperties:["visible"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateGoogleDriveConnectorDocument",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge/documents/{documentId}",queryParameters:[],requestBody:"json"},{description:"Update the Google Drive knowledge selection and reconcile its indexed documents.",bodyProperties:["selection"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateGoogleDriveConnectorSelection",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge-selection",queryParameters:[],requestBody:"json"},{description:"Include or exclude one Notion document.",bodyProperties:["visible"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateNotionConnectorDocument",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/notion-knowledge/documents/{documentId}",queryParameters:[],requestBody:"json"},{description:"Update the Notion knowledge selection and reconcile its indexed documents.",bodyProperties:["selection"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateNotionConnectorSelection",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/notion-knowledge-selection",queryParameters:[],requestBody:"json"},{description:"Include or exclude one SharePoint document.",bodyProperties:["visible"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateSharePointConnectorDocument",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/sharepoint-knowledge/documents/{documentId}",queryParameters:[],requestBody:"json"},{description:"Update the SharePoint knowledge selection and reconcile its indexed documents.",bodyProperties:["selection"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateSharePointConnectorSelection",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/sharepoint-knowledge-selection",queryParameters:[],requestBody:"json"},{description:"Include or exclude one Simpplr document.",bodyProperties:["visible"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateSimpplrConnectorDocument",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/simpplr-knowledge/documents/{documentId}",queryParameters:[],requestBody:"json"},{description:"Update the Simpplr knowledge selection and reconcile its indexed documents.",bodyProperties:["selection"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateSimpplrConnectorSelection",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/simpplr-knowledge-selection",queryParameters:[],requestBody:"json"},{description:"Update the amount of Slack history included in knowledge. Requires a human principal because Slack knowledge is shared across the organization.",bodyProperties:["depth"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateSlackConnectorBackfill",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/slack-knowledge-backfill",queryParameters:[],requestBody:"json"},{description:"Update the Slack knowledge selection and reconcile its indexed documents. Requires a human principal because Slack knowledge is shared across the organization.",bodyProperties:["excludedChannelIds"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateSlackConnectorSelection",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/slack-knowledge-selection",queryParameters:[],requestBody:"json"},{description:"Update an uploaded knowledge document's visibility.",bodyProperties:["visible"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateUpload",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/uploads/{documentId}",queryParameters:[],requestBody:"json"},{description:"Archive a label and drop its links.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"labels.archive",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/labels/{labelId}",queryParameters:[],requestBody:"none"},{description:"Add, remove, or replace an entity's labels by name.",bodyProperties:["entityType","entityId","names","mode"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"labels.assignNames",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/labels/assign",queryParameters:[],requestBody:"json"},{description:"Create a label in the active space.",bodyProperties:["name","color"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"labels.create",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/labels",queryParameters:[],requestBody:"json"},{description:"List labels in the active space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"labels.list",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/labels",queryParameters:["includeArchived","query"],requestBody:"none"},{description:"List label links for one entity type.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"labels.listLinks",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/labels/links",queryParameters:["entityType"],requestBody:"none"},{description:"Resolve label names, creating missing labels in the active space.",bodyProperties:["names"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"labels.resolveNames",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/labels/resolve",queryParameters:[],requestBody:"json"},{description:"Replace the labels attached to one entity.",bodyProperties:["labelIds"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"labels.setLabels",idempotent:!1,method:"put",mutation:!0,path:"/v1/spaces/{spaceId}/labels/links/{entityType}/{entityId}",queryParameters:[],requestBody:"json"},{description:"Rename or recolour a label.",bodyProperties:["name","color"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"labels.update",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/labels/{labelId}",queryParameters:[],requestBody:"json"},{description:"Read one of the actor's notifications without marking it read. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"notifications.get",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/notifications/{notificationId}",queryParameters:[],requestBody:"none"},{description:"List the actor's notifications, newest first. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"notifications.list",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/notifications",queryParameters:["includeRead","includeArchived","limit","cursor"],requestBody:"none"},{description:"Accept and re-inject a quarantined inbound email.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-email.acceptQuarantine",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/email/quarantine/{eventId}/accept",queryParameters:[],requestBody:"none"},{description:"Remove an address from outbound email suppression.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-email.deleteSuppression",idempotent:!1,method:"delete",mutation:!0,path:"/v1/organizations/{organizationId}/email/suppressions/{suppressionId}",queryParameters:[],requestBody:"none"},{description:"Disable hosted email for the organization.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-email.disableInstallation",idempotent:!1,method:"delete",mutation:!0,path:"/v1/organizations/{organizationId}/email/installation",queryParameters:[],requestBody:"none"},{description:"Enable hosted email for the organization.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-email.enableInstallation",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/email/installation",queryParameters:[],requestBody:"none"},{description:"Get the organization's email installation and channel diagnostics.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-email.getInstallation",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/email/installation",queryParameters:[],requestBody:"none"},{description:"List recently quarantined inbound email events.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-email.listQuarantine",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/email/quarantine",queryParameters:["cursor","limit"],requestBody:"none"},{description:"List addresses suppressed from outbound email.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-email.listSuppressions",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/email/suppressions",queryParameters:["cursor","limit"],requestBody:"none"},{description:"Reject a quarantined inbound email.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-email.rejectQuarantine",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/email/quarantine/{eventId}/reject",queryParameters:[],requestBody:"none"},{description:"Confirm the organization's GitHub App connection after the provider handoff.",bodyProperties:["connectionId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-github.confirmInstall",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/github-app/installation/confirm",queryParameters:[],requestBody:"json"},{description:"Disconnect the organization's GitHub App and disable its connected spaces.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-github.disconnectInstallation",idempotent:!1,method:"delete",mutation:!0,path:"/v1/organizations/{organizationId}/github-app/installation",queryParameters:[],requestBody:"none"},{description:"Read the organization's GitHub App installation.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-github.getInstallation",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/github-app/installation",queryParameters:[],requestBody:"none"},{description:"Read GitHub App repository access and connected spaces for this organization.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-github.getInstallationDetails",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/github-app/installation/details",queryParameters:["repoPage","repoPageSize"],requestBody:"none"},{description:"Start the organization's GitHub App connection handoff. The returned session token is short-lived authorization material.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-github.startInstall",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/github-app/installation",queryParameters:[],requestBody:"none"},{description:"Attach a space to a Slack channel setting.",bodyProperties:["spaceId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-slack.createChannelSettingsRoute",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/slack/channel-settings/{channelId}/routes",queryParameters:[],requestBody:"json"},{description:"Remove one route from a Slack channel setting.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-slack.deleteChannelSettingsRoute",idempotent:!1,method:"delete",mutation:!0,path:"/v1/organizations/{organizationId}/slack/channel-settings/{channelId}/routes/{routeId}",queryParameters:[],requestBody:"none"},{description:"Disconnect the active Slack installation.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-slack.disconnectInstallation",idempotent:!1,method:"delete",mutation:!0,path:"/v1/organizations/{organizationId}/slack/installation",queryParameters:[],requestBody:"none"},{description:"Read the active Slack installation and its channel diagnostics.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-slack.getInstallation",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/slack/installation",queryParameters:[],requestBody:"none"},{description:"List Slack channel settings for the organization.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-slack.listChannelSettings",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/slack/channel-settings",queryParameters:[],requestBody:"none"},{description:"Start the Slack OAuth installation flow for the active organization.",bodyProperties:["returnTo","reauthorize"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-slack.startInstall",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/slack/install",queryParameters:[],requestBody:"json"},{description:"Synchronize Slack channel settings from the connected workspace.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-slack.syncChannelSettings",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/slack/channel-settings/sync",queryParameters:[],requestBody:"none"},{description:"Update status reaction emojis for one Slack channel setting.",bodyProperties:["emojis"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-slack.updateChannelEmojis",idempotent:!1,method:"patch",mutation:!0,path:"/v1/organizations/{organizationId}/slack/channel-settings/{channelId}/emojis",queryParameters:[],requestBody:"json"},{description:"Set whether a Slack channel converses or only files a case.",bodyProperties:["intakeMode"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-slack.updateChannelIntakeMode",idempotent:!1,method:"patch",mutation:!0,path:"/v1/organizations/{organizationId}/slack/channel-settings/{channelId}/intake-mode",queryParameters:[],requestBody:"json"},{description:"Update the response behavior for one Slack channel setting.",bodyProperties:["responseMode","threadReplyMode","ambientInstruction","ambientRules","respondToApps"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-slack.updateChannelSettings",idempotent:!1,method:"patch",mutation:!0,path:"/v1/organizations/{organizationId}/slack/channel-settings/{channelId}",queryParameters:[],requestBody:"json"},{description:"Set whether new cases from a Slack channel include the thread messages sent before Action was mentioned.",bodyProperties:["includeThreadHistory"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-slack.updateChannelThreadHistory",idempotent:!1,method:"patch",mutation:!0,path:"/v1/organizations/{organizationId}/slack/channel-settings/{channelId}/thread-history",queryParameters:[],requestBody:"json"},{description:"Archive a space and revoke its active memberships.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-spaces.archive",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/spaces/{spaceId}/archive",queryParameters:[],requestBody:"none"},{description:"Create a space and its default roles and statuses.",bodyProperties:["description","name","organizationRequestRoutingEnabled","slug"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-spaces.create",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/spaces",queryParameters:[],requestBody:"json"},{description:"Join an active space as an organization administrator.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-spaces.join",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/spaces/{spaceId}/join",queryParameters:[],requestBody:"none"},{description:"List active spaces in the organization.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-spaces.list",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/spaces",queryParameters:[],requestBody:"none"},{description:"Enable or disable muting the help desk on this space's cases after a handoff.",bodyProperties:["escalationMuteEnabled"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-spaces.setEscalationMute",idempotent:!1,method:"patch",mutation:!0,path:"/v1/organizations/{organizationId}/spaces/{spaceId}/escalation-mute",queryParameters:[],requestBody:"json"},{description:"Enable or disable organization request routing for a space.",bodyProperties:["organizationRequestRoutingEnabled"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-spaces.setOrganizationRequestRouting",idempotent:!1,method:"patch",mutation:!0,path:"/v1/organizations/{organizationId}/spaces/{spaceId}/request-routing",queryParameters:[],requestBody:"json"},{description:"Route a Teams channel to a space in this organization.",bodyProperties:["spaceId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-teams.createChannelSettingsRoute",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/msteams/channel-settings/{channelId}/routes",queryParameters:[],requestBody:"json"},{description:"Create a Teams message subscription for this organization.",bodyProperties:["scope","teamId","channelId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-teams.createGraphSubscription",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/msteams/graph-subscriptions",queryParameters:[],requestBody:"json"},{description:"Remove one organization-wide Teams channel route.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-teams.deleteChannelSettingsRoute",idempotent:!1,method:"delete",mutation:!0,path:"/v1/organizations/{organizationId}/msteams/channel-settings/{channelId}/routes/{routeId}",queryParameters:[],requestBody:"none"},{description:"Disconnect the organization's Microsoft Teams tenant.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-teams.disconnectConnection",idempotent:!1,method:"delete",mutation:!0,path:"/v1/organizations/{organizationId}/msteams/connection",queryParameters:[],requestBody:"none"},{description:"Build the Teams app package as base64-encoded ZIP content.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-teams.getAppPackage",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/msteams/app-package/content",queryParameters:[],requestBody:"none"},{description:"Read whether the Teams app package can be downloaded.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-teams.getAppPackageStatus",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/msteams/app-package",queryParameters:[],requestBody:"none"},{description:"Read the organization's Microsoft Teams connection and subscription status.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-teams.getConnection",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/msteams/connection",queryParameters:[],requestBody:"none"},{description:"List organization-wide Teams channel behavior and routes.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-teams.listChannelSettings",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/msteams/channel-settings",queryParameters:[],requestBody:"none"},{description:"Renew due Teams subscriptions belonging to this organization.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-teams.renewGraphSubscriptions",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/msteams/graph-subscriptions/renew",queryParameters:[],requestBody:"none"},{description:"Create a Microsoft Teams administrator consent URL for the organization.",bodyProperties:["returnTo","force"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-teams.startInstall",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/msteams/connect",queryParameters:[],requestBody:"json"},{description:"Update status reaction emojis for a Teams channel.",bodyProperties:["emojis"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-teams.updateChannelEmojis",idempotent:!1,method:"patch",mutation:!0,path:"/v1/organizations/{organizationId}/msteams/channel-settings/{channelId}/emojis",queryParameters:[],requestBody:"json"},{description:"Set whether a Teams channel converses or only files a case.",bodyProperties:["intakeMode"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-teams.updateChannelIntakeMode",idempotent:!1,method:"patch",mutation:!0,path:"/v1/organizations/{organizationId}/msteams/channel-settings/{channelId}/intake-mode",queryParameters:[],requestBody:"json"},{description:"Update organization-wide Teams channel response behavior.",bodyProperties:["responseMode","threadReplyMode","ambientInstruction","ambientRules"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-teams.updateChannelSettings",idempotent:!1,method:"patch",mutation:!0,path:"/v1/organizations/{organizationId}/msteams/channel-settings/{channelId}",queryParameters:[],requestBody:"json"},{description:"Create an organization invitation with compensating provider rollback.",bodyProperties:["email","expiresInDays","roleSlug"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.createInvite",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/invites",queryParameters:[],requestBody:"json"},{description:"Provision an organization membership when direct provisioning is enabled.",bodyProperties:["email","roleSlug"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.createMembership",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/memberships",queryParameters:[],requestBody:"json"},{description:"Read one organization person.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.getPerson",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/people/{personId}",queryParameters:[],requestBody:"none"},{description:"Read organization presentation settings.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.getSettings",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/settings",queryParameters:[],requestBody:"none"},{description:"List the organization's groups. Pass scope=space with a spaceId to return only the groups that space can use.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.listGroups",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/groups",queryParameters:["spaceId","cursor","identityId","includeMembershipLastObserved","limit","q","sort","direction","selectedId","sourceId","sourceType","scope","excludeProvider"],requestBody:"none"},{description:"List where groups come from: directory sync and each connected app.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.listGroupSources",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/group-sources",queryParameters:["sourceType"],requestBody:"none"},{description:"List organization invitations.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.listInvites",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/invites",queryParameters:["cursor","direction","limit","role","search","sort","status"],requestBody:"none"},{description:"List membership labels for a bounded set of users.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.listMembershipLabels",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/memberships/labels",queryParameters:["userId"],requestBody:"none"},{description:"List organization memberships.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.listMemberships",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/memberships",queryParameters:["cursor","limit"],requestBody:"none"},{description:"List the organization people roster.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.listPeople",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/people",queryParameters:["cursor","groupId","groupSourceId","groupSourceType","directory","includeTotal","limit","role","search","sort","direction"],requestBody:"none"},{description:"List applications observed for one organization person.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.listPersonApplications",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/people/{personId}/applications",queryParameters:["cursor","limit","q"],requestBody:"none"},{description:"List linked groups that can provision the active space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.listProvisionableLinkedGroups",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/spaces/{spaceId}/provisionable-linked-groups",queryParameters:["scope","cursor","limit","search","selectedId"],requestBody:"none"},{description:"List roles available to organization memberships.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.listRoles",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/roles",queryParameters:[],requestBody:"none"},{description:"Revoke an organization invitation.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.revokeInvite",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/invites/{inviteId}/revoke",queryParameters:[],requestBody:"none"},{description:"Search organization people available to a picker.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.searchPeople",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/people/search",queryParameters:["spaceId","includeAllDirectoryPeople","cursor","excludeCurrentSpace","limit","membersOnly","q","selectedId"],requestBody:"none"},{description:"Update an organization membership and synchronize its identity-provider state.",bodyProperties:["roleSlug","status","statusReason"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.updateMembership",idempotent:!1,method:"patch",mutation:!0,path:"/v1/organizations/{organizationId}/memberships/{membershipId}",queryParameters:[],requestBody:"json"},{description:"Update organization presentation settings.",bodyProperties:["name","showProfilePictures","supportViewAsEnabled","idleCompactionEnabled"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.updateSettings",idempotent:!1,method:"patch",mutation:!0,path:"/v1/organizations/{organizationId}/settings",queryParameters:[],requestBody:"json"},{description:"Archive a session.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.archive",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/archive",queryParameters:[],requestBody:"none"},{description:"Create an organization request session. Requires a signed-in user credential.",bodyProperties:["id","caseId","reuseExisting","destinationSpaceId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.createOrganizationRequestSession",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/organization-request-sessions",queryParameters:[],requestBody:"json"},{description:"Create an organization request session and submit its initial message. Requires a signed-in user credential.",bodyProperties:["prewarmOnly","id","caseId","reuseExisting","destinationSpaceId","initialMessage"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.createOrganizationRequestSessionAndSubmit",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/organization-request-sessions/submit",queryParameters:[],requestBody:"json"},{description:"Create a conversation session. Requires a signed-in user credential.",bodyProperties:["id","automation","visibility"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.createSession",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/sessions",queryParameters:[],requestBody:"json"},{description:"Create a conversation session and submit its first message. Requires a signed-in user credential.",bodyProperties:["id","automation","visibility","initialMessage"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.createSessionAndSubmit",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/sessions/submit",queryParameters:[],requestBody:"json"},{description:"Delete an artifact in the active space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.deleteArtifact",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/artifacts/{artifactId}",queryParameters:[],requestBody:"none"},{description:"Download an accessible session artifact as a file; defaults to the current version.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.downloadArtifact",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/artifacts/{artifactId}/download",queryParameters:["version"],requestBody:"none",binaryResponse:!0},{description:"Download a file inside an accessible session's uploads or workspace directory.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.downloadFile",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/file-download",queryParameters:["path","workflowRunId"],requestBody:"none",binaryResponse:!0},{description:"Request an automation response to an eligible existing message. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.forceResponse",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/messages/{messageId}/respond",queryParameters:[],requestBody:"none"},{description:"Copy a session and its runtime state into a new session. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}},{aliases:["idempotencyKey"],name:"Idempotency-Key",required:!0,schema:{maxLength:128,minLength:1,type:"string"}}],id:"sessions.fork",idempotent:!0,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/fork",queryParameters:[],requestBody:"none"},{description:"Get a session and its initial transcript window.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.get",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}",queryParameters:["workflowRunId"],requestBody:"none"},{description:"Get an artifact in the active space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.getArtifact",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/artifacts/{artifactId}",queryParameters:[],requestBody:"none"},{description:"Read a case linked to a session.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.getCase",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/cases/{caseId}",queryParameters:["workflowRunId"],requestBody:"none"},{description:"Get a preview of a session runtime file.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.getFilePreview",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/file-preview",queryParameters:["workflowRunId","path"],requestBody:"none"},{description:"Get an organization request destination. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.getOrganizationRequestDestination",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/session-request-destinations/{destinationSpaceId}",queryParameters:[],requestBody:"none"},{description:"Read a workflow approval belonging to a session.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.getWorkflowApproval",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/workflow-approvals/{approvalId}",queryParameters:["workflowRunId","runId"],requestBody:"none"},{description:"Create an organization request session and submit its initial message. Requires a signed-in user credential.",bodyProperties:["prewarmOnly","id","caseId","reuseExisting","destinationSpaceId","initialMessage"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.intakeRequest",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/requests",queryParameters:[],requestBody:"json"},{description:"List sessions visible to the actor.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.list",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions",queryParameters:["limit","cursor","mine","includeArchived","excludeCustomAutomationSessions","includeTotalCount","search","purpose","after","before","updatedAfter","updatedBefore","sortBy","sortDir","status","triggeredByKind","automationId","createdBy"],requestBody:"none"},{description:"List artifacts in the active space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.listArtifacts",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/artifacts",queryParameters:["limit","cursor","mine","createdByUserId","createdByAutomationId","sessionId","createdAtFrom","createdAtTo","updatedAtFrom","updatedAtTo"],requestBody:"none"},{description:"List readable cases linked to a session.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.listCases",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/cases",queryParameters:["workflowRunId","limit","cursor"],requestBody:"none"},{description:"List children of a session runtime directory.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.listFileChildren",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/file-children",queryParameters:["workflowRunId","path"],requestBody:"none"},{description:"List files owned by a session runtime.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.listFiles",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/files",queryParameters:["workflowRunId"],requestBody:"none"},{description:"List a session transcript page.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.listMessages",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/messages",queryParameters:["workflowRunId","limit","cursor"],requestBody:"none"},{description:"List spaces that can receive an organization request. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.listOrganizationRequestDestinations",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/session-request-destinations",queryParameters:["cursor","q"],requestBody:"none"},{description:"List participants in a session.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.listParticipants",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/participants",queryParameters:["workflowRunId","limit","cursor"],requestBody:"none"},{description:"List background tasks owned by a session.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.listTasks",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/tasks",queryParameters:["limit","cursor","status"],requestBody:"none"},{description:"List files uploaded to a session.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.listUploads",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/uploads",queryParameters:["workflowRunId"],requestBody:"none"},{description:"Pause the automation assigned to a session.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.muteAutomation",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/mute",queryParameters:[],requestBody:"none"},{description:"Read the authoritative transcript of an accessible case-linked session.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.readCaseSession",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/transcript",queryParameters:["afterSeq","limit"],requestBody:"none"},{description:"Rename a session.",bodyProperties:["title"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.rename",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/sessions/{sessionId}",queryParameters:[],requestBody:"json"},{description:"Set who can open a session: the whole space, or only its creator. Requires a signed-in user credential.",bodyProperties:["visibility"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.setVisibility",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/visibility",queryParameters:[],requestBody:"json"},{description:"Start the browser attached to a session.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.startBrowser",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/browser",queryParameters:[],requestBody:"none"},{description:"Count visible sessions by inbox status.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.statusCounts",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions/status-counts",queryParameters:["limit","cursor","mine","includeArchived","excludeCustomAutomationSessions","includeTotalCount","search","purpose","after","before","updatedAfter","updatedBefore","sortBy","sortDir","status","triggeredByKind","automationId","createdBy"],requestBody:"none"},{description:"Submit a message to a conversation session. Requires a signed-in user credential.",bodyProperties:["clientMessageId","content","mode","timezone","page","mentions","skills","suppressAutomationWake"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.submitMessage",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/messages",queryParameters:[],requestBody:"json"},{description:"Restore an archived session.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.unarchive",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/unarchive",queryParameters:[],requestBody:"none"},{description:"Resume the automation assigned to a session.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.unmuteAutomation",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/unmute",queryParameters:[],requestBody:"none"},{description:"Upload files into a writable session's uploads directory.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.uploadFiles",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/uploads",queryParameters:[],requestBody:"multipart"},{description:"Archive an organization skill while retaining its versions.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"skills.archiveSkill",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/skills/{skillId}",queryParameters:[],requestBody:"none"},{description:"Create a skill definition.",bodyProperties:["description","scope","slug","title"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"skills.createSkill",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/skills",queryParameters:[],requestBody:"json"},{description:"Create a draft version of a skill bundle.",bodyProperties:["files"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"skills.createSkillVersion",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/skills/{skillId}/versions",queryParameters:[],requestBody:"json"},{description:"Delete a skill's open draft version, leaving the published version in place.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"skills.discardSkillDraft",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/skills/{skillId}/draft/discard",queryParameters:[],requestBody:"none"},{description:"Get a visible skill and its available versions.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"skills.getSkill",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/skills/{skillId}",queryParameters:[],requestBody:"none"},{description:"Get one visible skill version and its bundle files.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"skills.getSkillVersion",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/skills/{skillId}/versions/{skillVersionId}",queryParameters:[],requestBody:"none"},{description:"List automations that currently use this skill.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"skills.listSkillAutomations",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/skills/{skillId}/automations",queryParameters:["cursor","limit","search"],requestBody:"none"},{description:"List skills visible in the active space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"skills.listSkills",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/skills",queryParameters:[],requestBody:"none"},{description:"Publish a draft skill version.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"skills.publishSkillVersion",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/skills/{skillId}/versions/{skillVersionId}/publish",queryParameters:["expectedRevision"],requestBody:"none"},{description:"Replace a skill's tags.",bodyProperties:["tags","expectedTags"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"skills.updateSkillTags",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/skills/{skillId}/tags",queryParameters:[],requestBody:"json"},{description:"Archive a space role, reassigning members to a replacement role when required.",bodyProperties:["replacementRoleId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"space-access-roles.archive",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}/archive",queryParameters:[],requestBody:"json"},{description:"Create a space access role. Live creation also requires publish permission.",bodyProperties:["status","name","description","permissionSlugs"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"space-access-roles.create",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/space-access-roles",queryParameters:[],requestBody:"json"},{description:"Discard an unpublished space role draft.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"space-access-roles.discard",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}/discard",queryParameters:[],requestBody:"none"},{description:"Duplicate a role and its application capabilities into a published role.",bodyProperties:["name"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"space-access-roles.duplicate",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}/duplicate",queryParameters:[],requestBody:"json"},{description:"Get a space access role.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"space-access-roles.get",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}",queryParameters:[],requestBody:"none"},{description:"List access roles in the selected space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"space-access-roles.list",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/space-access-roles",queryParameters:["cursor","excludeRoleId","limit","search","sortBy","sortDir","type"],requestBody:"none"},{description:"Publish a space role draft.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"space-access-roles.publish",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}/publish",queryParameters:[],requestBody:"none"},{description:"Update a space access role, or propose a draft edit with status=draft. Live edits require publish permission.",bodyProperties:["status","name","description","permissionSlugs"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"space-access-roles.update",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}",queryParameters:[],requestBody:"json"},{description:"Count blocked application actions for a space role.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"space-action-grants.listBlockedActions",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}/blocked-actions",queryParameters:[],requestBody:"none"},{description:"List configurable application actions for a space connection.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"space-action-grants.listCatalog",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/connections/{connectorInstanceId}/actions",queryParameters:[],requestBody:"none"},{description:"List application action grants for a space role and connection.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"space-action-grants.listGrants",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}/connections/{connectorInstanceId}/actions",queryParameters:[],requestBody:"none"},{description:"List application actions and the active roles blocked from each action.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"space-action-grants.listPermissions",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/connections/{connectorInstanceId}/action-permissions",queryParameters:[],requestBody:"none"},{description:"Replace a role's allowed application actions. Live roles require publish permission.",bodyProperties:["actionSlugs"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"space-action-grants.replaceGrants",idempotent:!1,method:"put",mutation:!0,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}/connections/{connectorInstanceId}/actions",queryParameters:[],requestBody:"json"},{description:"Replace the active roles blocked from an application action.",bodyProperties:["blockedRoleIds"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"space-action-grants.replaceRoles",idempotent:!1,method:"put",mutation:!0,path:"/v1/spaces/{spaceId}/connections/{connectorInstanceId}/action-permissions/{actionSlug}",queryParameters:[],requestBody:"json"},{description:"Add or reactivate an organization member in the current space.",bodyProperties:["accessRoleId","roleSlug","email"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"spaces.addMember",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/members",queryParameters:[],requestBody:"json"},{description:"Link a directory group to the current space with one role for its members.",bodyProperties:["accessRoleId","roleSlug","directoryGroupId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"spaces.createGroupLink",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/group-links",queryParameters:[],requestBody:"json"},{description:"Leave the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"spaces.leave",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/members/leave",queryParameters:[],requestBody:"none"},{description:"List the directory groups linked to the current space and the role each grants.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"spaces.listGroupLinks",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/group-links",queryParameters:["department","jobTitle","managerEmail","subDepartment"],requestBody:"none"},{description:"List active members of the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"spaces.listMembers",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/members",queryParameters:["accessRoleId","department","jobTitle","managerEmail","subDepartment","cursor","eligibleForAssignment","limit","roleSlug","search","userId"],requestBody:"none"},{description:"Unlink a directory group; people with no other role here lose access.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"spaces.removeGroupLink",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/group-links/{linkId}/remove",queryParameters:[],requestBody:"none"},{description:"Clear a person's direct role; they keep any role a linked group grants.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"spaces.removeMember",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/members/{membershipId}/remove",queryParameters:[],requestBody:"none"},{description:"Set the space's default routing assignment group.",bodyProperties:["defaultRoutingAssignmentGroupId","defaultRoutingMode"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"spaces.setDefaultAssignment",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/default-assignment",queryParameters:[],requestBody:"json"},{description:"Change the role a linked directory group grants in the current space.",bodyProperties:["accessRoleId","roleSlug"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"spaces.updateGroupLink",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/group-links/{linkId}",queryParameters:[],requestBody:"json"},{description:"Set a person's direct role in the current space.",bodyProperties:["accessRoleId","roleSlug"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"spaces.updateMember",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/members/{membershipId}",queryParameters:[],requestBody:"json"},{description:"Update the current space profile.",bodyProperties:["disabledSections","agentPreferences","description","name","slug"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"spaces.updateProfile",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/profile",queryParameters:[],requestBody:"json"},{description:"Archive a workflow at an explicit base revision.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}},{aliases:["idempotencyKey"],name:"Idempotency-Key",required:!0,schema:{maxLength:200,minLength:8,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}},{aliases:["ifMatch"],name:"If-Match",required:!0,schema:{maxLength:213,minLength:5,pattern:'^"[^"\\\\]{1,200}:[0-9]{1,10}"$',type:"string"}}],id:"workflows.archiveWorkflow",idempotent:!0,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/workflows/{workflowId}",precondition:"if-match",queryParameters:[],requestBody:"none"},{description:"Cancel a public workflow run.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}},{aliases:["idempotencyKey"],name:"Idempotency-Key",required:!0,schema:{maxLength:200,minLength:8,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"workflows.cancelWorkflowRun",idempotent:!0,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/workflow-runs/{runId}/cancel",queryParameters:[],requestBody:"none"},{description:"Create a workflow and its initial revision.",bodyProperties:["description","key","metadata","name","source"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}},{aliases:["idempotencyKey"],name:"Idempotency-Key",required:!0,schema:{maxLength:200,minLength:8,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"workflows.createWorkflow",idempotent:!0,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/workflows",queryParameters:[],requestBody:"json"},{description:"Queue a production run for a published workflow.",bodyProperties:["caseId","input","workflowId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}},{aliases:["idempotencyKey"],name:"Idempotency-Key",required:!0,schema:{maxLength:200,minLength:8,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"workflows.createWorkflowRun",idempotent:!0,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/workflow-runs",queryParameters:[],requestBody:"json"},{description:"Get one workflow.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"workflows.getWorkflow",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/workflows/{workflowId}",queryParameters:[],requestBody:"none"},{description:"Get one workflow revision.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"workflows.getWorkflowRevision",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/revisions/{revisionId}",queryParameters:[],requestBody:"none"},{description:"Get one public workflow run.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"workflows.getWorkflowRun",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/workflow-runs/{runId}",queryParameters:[],requestBody:"none"},{description:"List workflow applications and action capabilities available in a space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"workflows.listWorkflowCapabilities",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/workflow-capabilities",queryParameters:["cursor","limit","q"],requestBody:"none"},{description:"List revisions of one workflow.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"workflows.listWorkflowRevisions",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/revisions",queryParameters:["cursor","limit"],requestBody:"none"},{description:"List or briefly wait for status events for one public workflow run.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"workflows.listWorkflowRunEvents",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/workflow-runs/{runId}/events",queryParameters:["cursor","limit","waitSeconds"],requestBody:"none"},{description:"List public workflow runs in a space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"workflows.listWorkflowRuns",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/workflow-runs",queryParameters:["cursor","limit","status","workflowId"],requestBody:"none"},{description:"List workflows in a space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"workflows.listWorkflows",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/workflows",queryParameters:["cursor","includeArchived","limit"],requestBody:"none"},{description:"Publish a validated workflow revision.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}},{aliases:["idempotencyKey"],name:"Idempotency-Key",required:!0,schema:{maxLength:200,minLength:8,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}},{aliases:["ifMatch"],name:"If-Match",required:!0,schema:{maxLength:213,minLength:5,pattern:'^"[^"\\\\]{1,200}:[0-9]{1,10}"$',type:"string"}}],id:"workflows.publishWorkflowRevision",idempotent:!0,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/revisions/{revisionId}/publish",queryParameters:[],requestBody:"none"},{description:"Execute a draft workflow revision in the test environment.",bodyProperties:["input"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}},{aliases:["idempotencyKey"],name:"Idempotency-Key",required:!0,schema:{maxLength:200,minLength:8,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}},{aliases:["ifMatch"],name:"If-Match",required:!0,schema:{maxLength:213,minLength:5,pattern:'^"[^"\\\\]{1,200}:[0-9]{1,10}"$',type:"string"}}],id:"workflows.testWorkflowRevision",idempotent:!0,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/revisions/{revisionId}/test",queryParameters:[],requestBody:"json"},{description:"Update a workflow by creating a revision from an explicit base revision.",bodyProperties:["baseRevisionId","description","metadata","name","source"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}},{aliases:["idempotencyKey"],name:"Idempotency-Key",required:!0,schema:{maxLength:200,minLength:8,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}},{aliases:["ifMatch"],name:"If-Match",required:!0,schema:{maxLength:213,minLength:5,pattern:'^"[^"\\\\]{1,200}:[0-9]{1,10}"$',type:"string"}}],id:"workflows.updateWorkflow",idempotent:!0,method:"put",mutation:!0,path:"/v1/spaces/{spaceId}/workflows/{workflowId}",queryParameters:[],requestBody:"json"},{description:"Validate one workflow revision without executing it.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"workflows.validateWorkflowRevision",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/revisions/{revisionId}/validate",queryParameters:[],requestBody:"none"},{description:"Wait briefly for one public workflow run to change state.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"workflows.waitForWorkflowRun",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/workflow-runs/{runId}/wait",queryParameters:["timeoutSeconds"],requestBody:"none"}];var n$=new Map(UI.map((e)=>[e.id,e]));var YI=4096,QI=new Set([".git",".DS_Store","node_modules"]);function eq(e,t){return Sc(e,t).split(Rc).join("/")}async function Oc(e,t,r){let n=await ZI(t,{withFileTypes:!0});for(let a of n){if(QI.has(a.name))continue;let i=JI(t,a.name);if(a.isDirectory())await Oc(e,i,r);else if(a.isFile())r.push(i)}}async function zc(e){let t=ua(e),r=[];try{await Oc(t,t,r)}catch{throw k(`Could not read the bundle directory ${e}.`)}if(r.length===0)throw k(`${e} contains no files to push.`);if(r.length>fo)throw k(`${e} holds ${r.length} files, more than the ${fo} a push sends. Point --dir at the skill bundle itself.`);let n=[];for(let o of r.sort()){let s=await GI(o);n.push({contentBase64:s.toString("base64"),path:eq(t,o)})}let a=Buffer.byteLength(JSON.stringify(n),"utf8"),i=xc-YI;if(a>i)throw k(`${e} encodes to ${a} bytes, over the ${i} a push can send. Point --dir at the skill bundle itself, or split the bundle.`);return n}function tq(e){throw k(`The bundle contains a path that escapes the output directory: ${e}.`)}function rq(e,t){let r=ua(e,t),n=Sc(e,r),a=n===".."||n.startsWith(`..${Rc}`);if(n===""||a||ua(e,n)!==r)tq(t);return r}async function jc(e,t,r){let n=ua(e);await Pc($c(n),{recursive:!0});let a=await KI(n).catch(()=>null);if(a&&!r.force)throw k(`${e} already exists. Pass --force to replace its contents with this version's bundle.`);let i=await FI(`${n}.pull-`),o=null;try{for(let s of t){let d=rq(i,s.path);await Pc($c(d),{recursive:!0}),await HI(d,Buffer.from(s.contentBase64,"base64"))}if(a)await ho(n,`${i}.replaced`),o=`${i}.replaced`;try{await ho(i,n)}catch(s){let d=o;if(o=null,d)await ho(d,n).catch(()=>{throw k(`${e} could not be restored after a failed pull. The previous bundle is at ${d}.`)});throw s}if(o)await Lc(o,{force:!0,recursive:!0}).catch(()=>{});return o=null,t.map((s)=>s.path).sort()}finally{await Lc(i,{force:!0,recursive:!0})}}function go(e,t){return[...t,e]}async function Ec(e,t){return(await e.get({skillId:t})).value.definition.tags}async function nq(e,t,r){let n=r.add.length>0||r.remove.length>0,a=r.set.length>0||r.clear;if(n&&a)throw k("Use --add/--remove to change tags, or --set/--clear to replace them.");if(r.clear&&r.set.length>0)throw k("--clear removes every tag, so it cannot be combined with --set.");if(r.clear)return{tags:[]};if(r.set.length>0)return{tags:[...new Set(r.set)]};if(!n)return null;let i=await Ec(e,t),o=new Set(r.remove),s=i.filter((d)=>!o.has(d));return{expectedTags:i,tags:[...new Set([...s,...r.add])]}}function aq(e){let t=e.files;if(!(Array.isArray(t)&&t.length>0&&t.every((n)=>typeof n.path==="string"&&typeof n.contentBase64==="string")))throw Ke("The Action API returned a skill version with no bundle files.");if(!t.some((n)=>n.path.trim().replace(/\\/gu,"/")==="SKILL.md"))throw Ke("The Action API returned a bundle with no SKILL.md.");return t}async function iq(e,t,r){let i=(await e.get({skillId:t})).value.versions.filter((o)=>o.status===r).sort((o,s)=>s.versionNumber-o.versionNumber)[0];if(!i)throw k(`Skill ${t} has no ${r} version. Pass --version to pull a specific one.`);return i.id}function yo(e,t,r){let n=e.command("skill-project").description("Author skill bundles and merge tags safely"),a=async(o,s)=>{let d=r(o),c=(await de(o,t,{reporter:d})).skills,l=await s(c);d.result(l.value,l.human)},i=async(o,s,d)=>{if(await an({command:o,dependencies:t,message:s,yes:d}))return!0;let c=on();return r(o).result(c.value,c.human),!1};n.command("tags").description("Show or change a skill's tags").argument("<id>","skill ID").option("--add <tag>","add a tag, keeping the rest, repeatable",go,[]).option("--remove <tag>","remove a tag, keeping the rest, repeatable",go,[]).option("--set <tag>","replace every tag with these, repeatable",go,[]).option("--clear","remove every tag",!1).option("--yes","confirm the tag mutation",!1).action(async(o,s,d)=>{let c=r(d),l=(await de(d,t,{reporter:c})).skills,u=await nq(l,o,s);if(!u){let h=await Ec(l,o);c.result({skillId:o,tags:h},h.join(", ")||"No tags.");return}if(!await i(d,`Update tags for skill ${o}?`,s.yes))return;let m=await l.updateTags({skillId:o,...u});c.result(m.value,m.human)}),n.command("pull").description("Write a skill version's bundle files into a directory").argument("<id>","skill ID").option("--dir <path>","directory to write the bundle into").option("--version <id>","skill version to pull; defaults to the published one").option("--draft","pull the open draft instead of the published version",!1).option("--force","replace the directory's contents if it already exists",!1).action(async(o,s,d)=>{let c=r(d),l=(await de(d,t,{reporter:c})).skills,u=s.dir??o,m=s.version??await iq(l,o,s.draft?"draft":"published"),h=await l.getVersion({skillId:o,skillVersionId:m}),f=await jc(u,aq(h.value),{force:s.force});c.result({directory:u,files:f,skillId:o,skillVersionId:m},`Wrote ${f.length} file${f.length===1?"":"s"} to ${u}.`)}),n.command("push").description("Create a draft version from a directory of bundle files").argument("<id>","skill ID").option("--dir <path>","directory holding the bundle").option("--yes","confirm draft creation",!1).action(async(o,s,d)=>{let c=await zc(s.dir??o);if(!await i(d,`Create a draft bundle for skill ${o}?`,s.yes))return;await a(d,async(l)=>await l.createVersion({body:{files:c},skillId:o}))})}function Io(e,t,r){let n=e.command("context").description("Manage the active organization and space");n.command("list").description("List spaces available to the selected principal").action(async(a,i)=>{let o=r(i),d=await(await de(i,t,{reporter:o})).context.list();o.result(d.value,d.human)}),n.command("show").description("Show the active profile, organization, and space").action(async(a,i)=>{let o=r(i),d=await(await de(i,t,{reporter:o})).context.show();o.result(d.value,d.human)}),n.command("use").description("Select a space by ID or key for the active profile").argument("<space>","space ID or key").action(async(a,i,o)=>{let s=r(o),c=await(await de(o,t,{reporter:s})).context.use(a);s.result(c.value,c.human)})}import{open as oq}from"node:fs/promises";var tr=262144;function Tc(e,t){if(Buffer.byteLength(e,"utf8")>tr)throw k(`${t} must be ${tr} bytes or smaller.`)}async function sq(e){let t=[],r=0;for await(let n of process.stdin){let a=Buffer.isBuffer(n)?n:Buffer.from(String(n));if(r+=a.byteLength,r>tr)throw k(`${e} must be ${tr} bytes or smaller.`);t.push(a)}return Buffer.concat(t).toString("utf8")}async function dq(e,t){if(e==="-")return await sq(t);let r=await oq(e,"r");try{let n=Buffer.alloc(tr+1),a=0;while(a<n.byteLength){let{bytesRead:i}=await r.read(n,a,n.byteLength-a,a);if(i===0)break;a+=i}if(a>tr)throw k(`${t} must be ${tr} bytes or smaller.`);return n.subarray(0,a).toString("utf8")}finally{await r.close()}}async function Cr(e,t,r="Workflow input"){if(e.input!==void 0===(e.inputFile!==void 0))throw k("Specify exactly one of --input or --input-file.");if(e.input!==void 0)return Tc(e.input,r),Ui(e.input);return Ui(await qo(e.inputFile,t,r),"--input-file")}async function qo(e,t,r="Message"){let n;try{n=e==="-"&&t.readStdin?await t.readStdin():await dq(e,r)}catch(a){if(a instanceof R)throw a;throw k(`Could not read ${r.toLowerCase()} from ${e}.`)}return Tc(n,r),n}var Xc=new Set(["queued","running","waiting","succeeded","failed","cancelled"]);function cq(e){if(e===void 0)return;if(!/^\d+$/u.test(e))throw k("--limit must be an integer between 1 and 100.");let t=Number(e);if(!Number.isInteger(t)||t<1||t>100)throw k("--limit must be an integer between 1 and 100.");return t}function lq(e){if(e===void 0)return;if(!Xc.has(e))throw k(`--status must be one of: ${[...Xc].join(", ")}.`);return e}function uq(e){return`${e.createdAt} ${e.type} ${e.id} ${JSON.stringify(e.data)}`}async function pq(e){let t=new AbortController,r=()=>t.abort();process.once("SIGINT",r);try{return await e(t.signal)}finally{process.removeListener("SIGINT",r)}}async function In(e,t,r){return(await de(e,t,{reporter:r})).workflows}function mq(e,t,r){if(!r){e.result(t.value,t.human);return}let n=t.value;e.stream({eventCount:n.eventCount,nextCursor:n.nextCursor,run:n.run,stopped:n.stopped,type:"summary"},"",!0)}function wo(e,t,r){e.command("run").description("Run the published workflow revision in production").argument("<key>","workflow key").option("--input <json>","JSON workflow input (visible in process arguments)").option("--input-file <path>","read JSON workflow input from a file, or - for stdin").option("--wait","wait for a terminal run state",!1).action(async(a,i,o)=>{let s=r(o),d=await(await In(o,t,s)).run({input:await Cr(i,t),key:a,wait:i.wait??!1});s.result(d.value,d.human)});let n=e.command("runs").description("Inspect and control production workflow runs");n.command("list").description("List a cursor-bounded page of workflow runs").option("--cursor <cursor>","opaque resume cursor").option("--limit <number>","page size from 1 to 100").option("--status <status>","filter by run status").option("--workflow <key>","filter by workflow key").action(async(a,i)=>{let o=r(i),s=cq(a.limit),d=lq(a.status),c=await(await In(i,t,o)).runsList({...a.cursor?{cursor:a.cursor}:{},...s?{limit:s}:{},...d?{status:d}:{},...a.workflow?{workflowKey:a.workflow}:{}});o.result(c.value,c.human)}),n.command("get").description("Get one workflow run").argument("<run-id>","workflow run ID").action(async(a,i,o)=>{let s=r(o),d=await(await In(o,t,s)).runGet({runId:a});s.result(d.value,d.human)}),n.command("watch").description("Watch durable workflow-run events until completion or Ctrl-C").argument("<run-id>","workflow run ID").option("--cursor <cursor>","opaque event resume cursor").option("--jsonl","stream one stable JSON object per line",!1).action(async(a,i,o)=>{let s=r(o),d=i.jsonl??!1;if(d&&s.json)throw k("--jsonl cannot be combined with the global --json option.");let c=await pq(async(l)=>(await In(o,t,s)).runWatch({captureEvents:s.json,...i.cursor?{cursor:i.cursor}:{},...!s.json?{onEvent:(u)=>s.stream({event:u,type:"event"},uq(u),d)}:{},runId:a,signal:l}));mq(s,c,d)}),n.command("cancel").description("Request cancellation of one workflow run").argument("<run-id>","workflow run ID").action(async(a,i,o)=>{let s=r(o),d=await(await In(o,t,s)).runCancel({runId:a});s.result(d.value,d.human)})}async function Te(e,t,r){return(await de(e,t,{reporter:r})).workflows}function bo(e,t,r){let n=e.command("workflow-project").description("Author and manage workflows as code");wo(n,t,r),n.command("init").description("Initialize a local Action workflow project").argument("[directory]","project directory").action(async(a,i,o)=>{let s=r(o),d=await(await Te(o,t,s)).init({...a?{directory:a}:{}});s.result(d.value,d.human)}),n.command("capabilities").description("Discover workflow application actions and connected accounts").argument("[application]","application slug or name; include it to fetch full action schemas").action(async(a,i,o)=>{let s=r(o),d=await(await Te(o,t,s)).capabilities({...a?{application:a}:{}});s.result(d.value,d.human)}),n.command("list").description("List workflows in the active space").option("--include-archived","include archived workflows",!1).action(async(a,i)=>{let o=r(i),s=await(await Te(i,t,o)).list({includeArchived:a.includeArchived===!0});o.result(s.value,s.human)}),n.command("pull").description("Pull latest workflow revisions into the local project").argument("[key]","workflow key").option("--published","pull published revisions for inspection",!1).option("--output <directory>","output directory for --published").option("--force","overwrite local divergence",!1).action(async(a,i,o)=>{let s=r(o);if(i.published&&!i.output)throw k("--published requires --output so inspection files cannot replace the authoring base.");if(i.output&&!i.published)throw k("--output can only be used with --published.");let d=await(await Te(o,t,s)).pull({force:i.force??!1,...a?{key:a}:{},...i.output?{outputDirectory:i.output}:{},published:i.published??!1});s.result(d.value,d.human)}),n.command("status").description("Compare local workflows with their lockfile and remote revisions").option("--offline","compare only local state and the lockfile",!1).action(async(a,i)=>{let o=r(i),s=await(await Te(i,t,o)).status({offline:a.offline??!1});o.result(s.value,s.human)}),n.command("diff").description("Show canonical metadata and source differences").argument("<key>","workflow key").action(async(a,i,o)=>{let s=r(o),d=await(await Te(o,t,s)).diff({key:a});s.result(d.value,d.human)}),n.command("validate").description("Validate local workflow files and optionally the remote draft").argument("[key]","workflow key").option("--remote","also validate the matching remote revision",!1).action(async(a,i,o)=>{let s=r(o),d=await(await Te(o,t,s)).validate({...a?{key:a}:{},remote:i.remote??!1});s.result(d.value,d.human)}),n.command("push").description("Create or update workflow drafts without publishing").argument("[key]","workflow key").action(async(a,i,o)=>{let s=r(o),d=await(await Te(o,t,s)).push({...a?{key:a}:{}});s.result(d.value,d.human)}),n.command("test").description("Start a real test run for one unpublished workflow draft").addHelpText("after",`
|
|
201
|
+
`})).code!==0)throw new qe("The Linux Secret Service could not store Action CLI credentials.")}async delete(e){let t=await this.invoke({args:["clear",...this.attributes(e)],command:"secret-tool"});if(t.code!==0&&!(t.code===1&&!t.stderr.trim()))throw new qe("The Linux Secret Service could not delete Action CLI credentials.")}}class oo extends la{invocation(e,t){return{args:["-NoLogo","-NoProfile","-NonInteractive","-Command",bI],command:"powershell.exe",env:{ACTION_CLI_KEYCHAIN_ACCOUNT:uc(e),ACTION_CLI_KEYCHAIN_OPERATION:t,ACTION_CLI_KEYCHAIN_SERVICE:this.service}}}async get(e){let t=await this.invoke(this.invocation(e,"get"));if(t.code===0)return t.stdout;if(t.code===44)return null;throw new qe("Windows Credential Manager could not read Action CLI credentials.")}async set(e,t){if((await this.invoke({...this.invocation(e,"set"),stdin:t})).code!==0)throw new qe("Windows Credential Manager could not store Action CLI credentials.")}async delete(e){let t=await this.invoke(this.invocation(e,"delete"));if(t.code!==0&&t.code!==44)throw new qe("Windows Credential Manager could not delete Action CLI credentials.")}}function so(e={}){let t=e.platform??process.platform,r=e.runner??lc,n=e.service?.trim()||qI;if(t==="darwin")return new ao(r,n);if(t==="linux")return new io(r,n);if(t==="win32")return new oo(r,n);throw new br(`The Action CLI does not support a secure credential store on ${t}.`)}var vI="urn:ietf:params:oauth:grant-type:device_code",AI=5,CI=5;class Se extends Error{code;constructor(e,t){super(t);this.name="DeviceFlowError",this.code=e}}function vr(e){return typeof e==="string"&&e.trim()?e.trim():null}async function pc(e){try{let t=await e.json();return t&&typeof t==="object"&&!Array.isArray(t)?t:{}}catch{return{}}}async function mc(e){let t=e.fetch??fetch,r;try{r=await ln({fetch:t,init:{body:new URLSearchParams({client_id:e.clientId}),headers:{"content-type":"application/x-www-form-urlencoded"},method:"POST"},...e.now?{now:e.now}:{},...e.requestTimeoutMs?{timeoutMs:e.requestTimeoutMs}:{},url:e.deviceAuthorizationUrl??hn(e.issuer,"/authorize/device")})}catch{throw new Se("request_failed","Device authorization could not be started.")}let n=await pc(r);if(!r.ok)throw new Se("request_failed","Device authorization could not be started.");let a=vr(n.device_code),i=vr(n.user_code),o=vr(n.verification_uri),s=n.expires_in,d=n.interval??AI;if(!a||!i||!o||typeof s!=="number"||!Number.isFinite(s)||s<=0||typeof d!=="number"||!Number.isFinite(d)||d<=0)throw new Se("invalid_response","WorkOS returned invalid device authorization data.");return{deviceCode:a,expiresInSeconds:s,intervalSeconds:d,userCode:i,verificationUri:o,verificationUriComplete:vr(n.verification_uri_complete)}}async function fc(e){let t=e.fetch??fetch,r=e.now??Date.now,n=e.sleep??((o)=>new Promise((s)=>setTimeout(s,o))),a=r()+e.authorization.expiresInSeconds*1000,i=e.authorization.intervalSeconds;while(r()<a){if(await n(i*1000),r()>=a)break;let o;try{o=await ln({deadline:a,fetch:t,init:{body:new URLSearchParams({client_id:e.clientId,device_code:e.authorization.deviceCode,grant_type:vI}),headers:{"content-type":"application/x-www-form-urlencoded"},method:"POST"},now:r,...e.requestTimeoutMs?{timeoutMs:e.requestTimeoutMs}:{},url:e.tokenUrl??hn(e.issuer,"/authenticate")})}catch{continue}let s=await pc(o);if(o.ok){let d=vr(s.access_token),c=vr(s.refresh_token);if(!d||!c)throw new Se("invalid_response","WorkOS returned an incomplete CLI session.");try{return sa({accessToken:d,apiOrigin:e.apiOrigin,clientId:e.clientId,expiresInSeconds:typeof s.expires_in==="number"?s.expires_in:null,issuer:e.issuer,now:r(),organizationId:typeof s.organization_id==="string"?s.organization_id:null,refreshToken:c})}catch{throw new Se("invalid_response","WorkOS returned an invalid CLI session.")}}if(rc(o))continue;switch(s.error){case"authorization_pending":break;case"slow_down":i+=CI;break;case"access_denied":throw new Se("access_denied","Device authorization was denied.");case"expired_token":case"invalid_grant":throw new Se("authorization_expired","Device authorization expired.");default:throw new Se("request_failed","Device authorization polling failed.")}}throw new Se("authorization_expired","Device authorization expired.")}async function co(e){return await un(e.lockDirectory,e.profileName,async()=>{let t=await mc({clientId:e.clientId,...e.deviceAuthorizationUrl?{deviceAuthorizationUrl:e.deviceAuthorizationUrl}:{},...e.fetch?{fetch:e.fetch}:{},issuer:e.issuer,...e.now?{now:e.now}:{}});if(await e.onVerification(t),e.openBrowser)await Promise.resolve(e.openBrowser(t.verificationUriComplete??t.verificationUri)).catch(()=>{return});let r=await fc({apiOrigin:e.apiOrigin,authorization:t,clientId:e.clientId,...e.fetch?{fetch:e.fetch}:{},issuer:e.issuer,...e.now?{now:e.now}:{},...e.sleep?{sleep:e.sleep}:{},...e.tokenUrl?{tokenUrl:e.tokenUrl}:{}});if(e.finalizeSession)r=await e.finalizeSession(r);return await e.credentialStore.set(e.profileName,da(r)),r})}function er(e){return e instanceof Ge||e instanceof Kt||e instanceof qe||e instanceof br||e instanceof $e||e instanceof Qe||e instanceof ce||e instanceof Se}var kI="[redacted]",_I=5,hc=50,Ic=2000,xI=/^(?:authorization(?:[_-]?header)?|cookie(?:[_-]?header)?|credentials?|passwords?|passphrases?|private|secrets?|secret[_-]?keys?|tokens?|source|content|api[_-]?(?:keys?|secrets?)|client[_-]?secrets?|private[_-]?keys?|signing[_-]?keys?|webhook[_-]?secrets?|(?:access|auth|bearer|github|id|oauth|personal[_-]?access|refresh|session|slack|stripe)[_-]?tokens?)$/iu,qc=new Set(["authentication_required","invalid_credential","insufficient_scope","forbidden","feature_disabled","content_too_large","unsupported_media_type","invalid_request","validation_failed","not_found","stale_revision","idempotency_mismatch","operation_in_progress","conflict","rate_limited","upstream_unavailable","internal_error"]),PI=new Set(["__proto__","constructor","prototype"]);class ae extends Error{code;correlationId;details;retryable;status;constructor(e){super(e.message);this.name="CliApiError",this.code=e.code,this.correlationId=e.correlationId??null,this.details=e.details,this.retryable=e.retryable,this.status=e.status??null}toJSON(){return{code:this.code,correlationId:this.correlationId,...this.details?{details:this.details}:{},message:this.message,retryable:this.retryable,status:this.status}}}function gt(e){return e!==null&&typeof e==="object"&&!Array.isArray(e)}function LI(e,t){if(typeof e!=="string")return t;let r=e.trim();return r?r.slice(0,Ic):t}function $I(e){return typeof e==="string"&&qc.has(e)?e:"api_error"}function lo(e,t,r){if(r&&xI.test(r))return kI;if(t>=_I)return"[truncated]";if(typeof e==="string")return e.slice(0,Ic);if(e===null||typeof e==="boolean"||typeof e==="number")return e;if(Array.isArray(e))return e.slice(0,hc).map((a)=>lo(a,t+1));if(!gt(e))return;let n=Object.create(null);for(let[a,i]of Object.entries(e).slice(0,hc)){if(PI.has(a))continue;let o=lo(i,t+1,a);if(o!==void 0)n[a]=o}return n}function gc(e){if(!gt(e)||!gt(e.error))return null;let t=e.error,r=typeof t.correlationId==="string"?t.correlationId.slice(0,128):null,n=gt(t.details)?lo(t.details,0):void 0;return{code:$I(t.code),correlationId:r,...gt(n)?{details:n}:{},message:LI(t.message,"The Action API rejected the request.")}}function yc(e,t){return e==="operation_in_progress"||e==="rate_limited"||e==="upstream_unavailable"||t===408||t===425||t===429||t!==null&&t>=500}function uo(e,t){return e!==null&&(typeof e==="object"||typeof e==="function")&&"name"in e&&e.name===t}function SI(e){return uo(e,"AbortError")}function RI(e){let t=gt(e.envelope)&>(e.envelope.error)?e.envelope.error:null,r=t?.code,n=typeof r==="number"&&Number.isInteger(r)&&r>=100&&r<=599?r:null,a=t?.details,i=gt(a)&>(a.error)?a.error:null,o=gc(i?{error:{...i,message:i.message??t?.message}}:a)??(typeof r==="string"&&qc.has(r)?gc(e.envelope):null);if(o)return new ae({code:o.code,correlationId:o.correlationId,...o.details?{details:o.details}:{},message:o.message,retryable:yc(o.code,n),status:n});if(t?.reason==="networkError")return new ae({code:"transport_error",message:"Unable to reach the Action API.",retryable:!0});if(e.exitCode===3)return Re("The request does not match the generated Action API contract.");if(e.exitCode!==1)return new ae({code:e.exitCode===2?"authentication_required":"api_error",message:e.exitCode===2?"The Action API requires authentication.":"The generated Action CLI could not complete the request.",retryable:!1});if(n!==null&&n>=200&&n<400)return new ae({code:"invalid_response",message:"The Action API returned an invalid response.",retryable:!1,status:n});if(n!==null)return new ae({code:"api_error",message:`The Action API request failed with HTTP ${n}.`,retryable:yc("api_error",n),status:n});return new ae({code:"api_error",message:"The generated Action CLI could not complete the request.",retryable:!1})}function Ct(e){if(e instanceof ae)return e;if(e instanceof Ee)return RI(e);if(uo(e,"JsonError"))return Re("The request does not match the Action API contract.");if(uo(e,"ParseError"))return Ke("The Action API returned an invalid response.");if(SI(e))return new ae({code:"request_aborted",message:"The Action API request was cancelled.",retryable:!1});return new ae({code:"unknown_error",message:"The Action API request could not be completed.",retryable:!1})}function Re(e){return new ae({code:"invalid_request",message:e,retryable:!1})}function Ke(e){return new ae({code:"invalid_response",message:e,retryable:!1})}import{setTimeout as zI}from"node:timers/promises";var OI=1e4;async function gn(e){let t=[],r=new Set,n;for(let a=0;a<OI;a+=1){let i=await e(n);if(!Array.isArray(i.items))throw Ke("The Action API returned an invalid page.");if(t.push(...i.items),i.nextCursor===null)return t;if(typeof i.nextCursor!=="string"||!i.nextCursor)throw Ke("The Action API returned an invalid pagination cursor.");if(r.has(i.nextCursor))throw Ke("The Action API repeated a pagination cursor.");r.add(i.nextCursor),n=i.nextCursor}throw Ke("The Action API returned too many pages.")}var jI=/^[A-Za-z0-9._:-]{1,128}$/u,EI=/^[A-Za-z0-9._:-]{8,200}$/u,TI=100,wc=100,XI=2,NI=50,bc=5;function WI(e){let t;try{t=new URL(e)}catch{throw Re("The Action API base URL is invalid.")}if(t.protocol!=="https:"&&t.protocol!=="http:")throw Re("The Action API base URL must use HTTP or HTTPS.");return t.origin}function Ar(e){if(e===void 0)return TI;if(!Number.isInteger(e)||e<1||e>wc)throw Re(`The page size must be between 1 and ${wc}.`);return e}function DI(e){let t=e.trim();if(!EI.test(t))throw Re("The idempotency key contains unsupported characters.");return t}function vc(e,t){let r=e??t.defaultValue;if(!Number.isInteger(r)||r<t.minimum||r>t.maximum)throw Re(`${t.name} must be an integer between ${t.minimum} and ${t.maximum}.`);return r}function Ac(e){if(e===void 0)return;let t=e.trim();if(!t||t.length>1000)throw Re("cursor must contain 1 to 1000 characters.");return t}function _c(e){let t=e.trim();if(/^W\//u.test(t))throw Re("ifMatch must be a generation-aware strong ETag.");let r=t.startsWith('"')&&t.endsWith('"')?t:`"${t}"`,n=r.match(/^"([^"\\]{1,200}):([0-9]{1,10})"$/u),a=Number(n?.[2]);if(!n?.[1]||!Number.isSafeInteger(a)||a<0||a>2147483647)throw Re("ifMatch must be a generation-aware strong ETag.");return r}function VI(e){return _c(e).slice(1,-1).replace(/:\d+$/u,"")}async function Cc(e,t){let r=(t??await e()).trim();if(!jI.test(r))throw Re("The correlation ID contains unsupported characters.");return r}function kc(e,t){let r=new Map(e.map((n)=>[n.name,n]));for(let n of t){let a=r.get(n.name);r.set(n.name,{...a??n,...n.inputSchema!==null?{inputSchema:n.inputSchema}:{},...n.outputSchema!==null?{outputSchema:n.outputSchema}:{}})}return[...r.values()]}function MI(e){let t=new Map;for(let r of e){let n=t.get(r.slug);if(!n){t.set(r.slug,{...r,connectorInstances:[...r.connectorInstances]});continue}let a=new Map(n.connectorInstances.map((i)=>[i.id,i]));for(let i of r.connectorInstances)a.set(i.id,i);t.set(r.slug,{...n,actions:kc(n.actions,r.actions),connectionStatus:n.connectionStatus==="connected"||r.connectionStatus==="connected"?"connected":"not_connected",connectorInstances:[...a.values()],readActions:kc(n.readActions,r.readActions)})}return[...t.values()]}async function BI(e,t={}){let r=t.maxRetries??0;if(!Number.isInteger(r)||r<0)throw Re("maxRetries must be a non-negative integer.");for(let n=0;;n+=1){if(t.abortSignal?.aborted)throw Ct({name:"AbortError"});try{return await e()}catch(a){if(t.preserveError?.(a))throw a;let i=Ct(a);if(t.abortSignal?.aborted)throw Ct({name:"AbortError"});let o=i.status;if(!(i.code==="transport_error"||o===408||o===425||o===429||o!==null&&o>=500)||n>=r)throw i;try{await zI(NI*(n+1),void 0,t.abortSignal?{signal:t.abortSignal}:void 0)}catch(d){throw Ct(d)}}}}class po{options;correlationIdProvider;constructor(e){this.options={...e,baseUrl:WI(e.baseUrl)},this.correlationIdProvider=e.correlationIdProvider??(()=>crypto.randomUUID())}async getIdentity(e={}){return await this.invoke("identity.getCurrentPrincipal",{},e)}async listSpaces(e={}){let t=Ar(e.pageSize),r=await this.paginated(e);return await gn(async(n)=>{let a=await this.invoke("identity.listSpaces",{...n?{cursor:n}:{},limit:t},r);return{items:a.spaces,nextCursor:a.nextCursor}})}async listWorkflows(e,t={}){let r=Ar(t.pageSize),n=await this.paginated(t);return await gn(async(a)=>{let i=await this.invoke("workflows.listWorkflows",{...e,...a?{cursor:a}:{},limit:r},n);return{items:i.data,nextCursor:i.nextCursor}})}async getWorkflow(e,t={}){return await this.invoke("workflows.getWorkflow",{...e},t)}async listWorkflowRevisions(e,t={}){let r=Ar(t.pageSize),n=await this.paginated(t);return await gn(async(a)=>{let i=await this.invoke("workflows.listWorkflowRevisions",{spaceId:e.spaceId,workflowId:e.workflowId,...a?{cursor:a}:{},limit:r},n);return{items:i.data,nextCursor:i.nextCursor}})}async getWorkflowRevision(e,t={}){return await this.invoke("workflows.getWorkflowRevision",{...e},t)}async listWorkflowCapabilities(e,t={}){let r=Ar(t.pageSize),n=await this.paginated(t),a=await gn(async(i)=>{let o=await this.invoke("workflows.listWorkflowCapabilities",{spaceId:e,...i?{cursor:i}:{},...t.query?{q:t.query}:{},limit:r},n);return{items:o.applications,nextCursor:o.nextCursor}});return MI(a)}async createWorkflow(e,t){let{spaceId:r,...n}=e;return await this.invoke("workflows.createWorkflow",{spaceId:r,...this.mutationParameters(t)},t,n)}async updateWorkflow(e,t){let{spaceId:r,workflowId:n,ifMatch:a,...i}=e;return await this.invoke("workflows.updateWorkflow",{spaceId:r,workflowId:n,...this.mutationParameters(t,a)},t,{...i,baseRevisionId:VI(a)})}async validateWorkflowRevision(e,t={}){return await this.invoke("workflows.validateWorkflowRevision",{...e},t)}async testWorkflowRevision(e,t){let{spaceId:r,workflowId:n,revisionId:a,ifMatch:i,input:o}=e;return await this.invoke("workflows.testWorkflowRevision",{spaceId:r,workflowId:n,revisionId:a,...this.mutationParameters(t,i)},t,{input:o})}async createWorkflowRun(e,t){let{spaceId:r,...n}=e;return await this.invoke("workflows.createWorkflowRun",{spaceId:r,...this.mutationParameters(t)},t,n)}async listWorkflowRuns(e,t={}){let r=Ac(t.cursor);return await this.invoke("workflows.listWorkflowRuns",{...e,...r?{cursor:r}:{},limit:Ar(t.pageSize)},t)}async getWorkflowRun(e,t={}){return await this.invoke("workflows.getWorkflowRun",{...e},t)}async waitForWorkflowRun(e,t={}){let r=vc(e.timeoutSeconds,{defaultValue:25,maximum:30,minimum:1,name:"timeoutSeconds"});return await this.invoke("workflows.waitForWorkflowRun",{runId:e.runId,spaceId:e.spaceId,timeoutSeconds:r},t,void 0,0,r+bc)}async listWorkflowRunEvents(e,t={}){let r=Ac(e.cursor),n=vc(e.waitSeconds,{defaultValue:25,maximum:30,minimum:0,name:"waitSeconds"});return await this.invoke("workflows.listWorkflowRunEvents",{...r?{cursor:r}:{},limit:Ar(e.pageSize),runId:e.runId,spaceId:e.spaceId,waitSeconds:n},t,void 0,0,n+bc)}async cancelWorkflowRun(e,t){return await this.invoke("workflows.cancelWorkflowRun",{...e,...this.mutationParameters(t)},t)}async publishWorkflowRevision(e,t){let{ifMatch:r,...n}=e;return await this.invoke("workflows.publishWorkflowRevision",{...n,...this.mutationParameters(t,r)},t)}async archiveWorkflow(e,t){let{ifMatch:r,...n}=e;return await this.invoke("workflows.archiveWorkflow",{...n,...this.mutationParameters(t,r)},t)}mutationParameters(e,t){return{"Idempotency-Key":DI(e.idempotencyKey),...t===void 0?{}:{"If-Match":_c(t)}}}async paginated(e){return{...e,correlationId:await Cc(this.correlationIdProvider,e.correlationId)}}async invoke(e,t,r,n,a=XI,i){let o=await Cc(this.correlationIdProvider,r.correlationId);return await BI(async()=>await(this.options.invokeOperation??yr)({operation:e,parameters:t,...n===void 0?{}:{body:n},baseUrl:this.options.baseUrl,tokenProvider:this.options.tokenProvider,correlationId:o,version:this.options.version??ge,...r.abortSignal?{abortSignal:r.abortSignal}:{},...i===void 0?{}:{timeoutInSeconds:i},...this.options.cwd===void 0?{}:{cwd:this.options.cwd},...this.options.env===void 0?{}:{env:this.options.env},...this.options.binaryPath===void 0?{}:{binaryPath:this.options.binaryPath}}),{...r.abortSignal?{abortSignal:r.abortSignal}:{},maxRetries:a,...this.options.preserveError?{preserveError:this.options.preserveError}:{}})}}function yn(e){return new po(e)}function mo(e,t,r){let n=e.command("auth").description("Authenticate the Action CLI");n.command("profiles").description("List saved profiles and their organization/space context without authenticating").action(async(a,i)=>{let o=r(i),s=await de(i,t,{reporter:o});if(!s.auth.profiles)throw Error("Profile inventory is unavailable in this runtime.");let d=await s.auth.profiles();o.result(d.value,d.human)}),n.command("login").description("Sign in using the secure WorkOS device flow").option("--organization <id-or-key>","select an Action organization").action(async(a,i)=>{let o=r(i),s=await de(i,t,{reporter:o}),d=i.optsWithGlobals().organization,c=await s.auth.login(d?{organization:d}:{});o.result(c.value,c.human)}),n.command("logout").description("Remove the stored session for the selected profile").action(async(a,i)=>{let o=r(i),d=await(await de(i,t,{reporter:o})).auth.logout();o.result(d.value,d.human)}),n.command("status").description("Show authentication status for the selected profile").action(async(a,i)=>{let o=r(i),d=await(await de(i,t,{reporter:o})).auth.status();o.result(d.value,d.human)})}import{mkdir as Pc,mkdtemp as FI,readdir as ZI,readFile as GI,rename as ho,rm as Lc,stat as KI,writeFile as HI}from"node:fs/promises";import{dirname as $c,join as JI,relative as Sc,resolve as ua,sep as Rc}from"node:path";var xc=1200000,fo=200,UI=[{description:"Archive an access policy.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.archivePolicy",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/access-policies/{policyId}",queryParameters:[],requestBody:"none"},{description:"Archive an access profile.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.archiveProfile",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/access-profiles/{profileId}",queryParameters:[],requestBody:"none"},{description:"Archive an access role so it can no longer be requested.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.archiveRole",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/access-roles/{roleId}",queryParameters:[],requestBody:"none"},{description:"Create a published access policy.",bodyProperties:["status","name","description","maxAccessMinutes","recommendedAccessMinutes","businessJustificationMode","requireBusinessJustification","businessJustificationSpec","businessJustificationApprovalMode","businessJustificationRejectionMode","allowSelfApproval","autoApproveWhenRequesterIsApprover","approvalStages","approvers"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.createPolicy",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/access-policies",queryParameters:[],requestBody:"json"},{description:"Create a published access profile. Changes take effect immediately.",bodyProperties:["status","name","description","isDefault","matchingCriteria","roleIds"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.createProfile",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/access-profiles",queryParameters:[],requestBody:"json"},{description:"Create a published application access role. Set requestsEnabled=false to keep it unavailable for requests.",bodyProperties:["status","name","description","requestsEnabled","connectorInstanceId","accessProfileId","accessPolicyId","provisioningMethodType","provisioningConfig","externalId","externalData"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.createRole",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/access-roles",queryParameters:[],requestBody:"json"},{description:"Read one access policy, draft or published.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.getPolicy",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/access-policies/{policyId}",queryParameters:[],requestBody:"none"},{description:"Read one access profile, draft or published.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.getProfile",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/access-profiles/{profileId}",queryParameters:[],requestBody:"none"},{description:"Read one access role, draft or published.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.getRole",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/access-roles/{roleId}",queryParameters:[],requestBody:"none"},{description:"List applications available to access configuration in this space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.listConnectors",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/access-connectors",queryParameters:["query","limit","cursor"],requestBody:"none"},{description:"List groups available for linked-group access provisioning in this space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.listLinkedGroups",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/access-linked-groups",queryParameters:["query","limit","cursor"],requestBody:"none"},{description:"List the access policies in the caller's space, newest first.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.listPolicies",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/access-policies",queryParameters:["includeArchived","status","query","limit","cursor"],requestBody:"none"},{description:"List the access profiles in the caller's space, newest first.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.listProfiles",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/access-profiles",queryParameters:["includeArchived","status","query","limit","cursor"],requestBody:"none"},{description:"List the access roles in the caller's space, newest first.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.listRoles",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/access-roles",queryParameters:["includeArchived","status","connectorInstanceId","connectorSlug","provisioningMethodType","query","limit","cursor"],requestBody:"none"},{description:"Publish an access policy draft, or apply a draft edit to the published policy.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.publishPolicy",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/access-policies/{policyId}/publish",queryParameters:[],requestBody:"none"},{description:"Publish an access profile draft, or apply a draft edit to the published profile.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.publishProfile",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/access-profiles/{profileId}/publish",queryParameters:[],requestBody:"none"},{description:"Publish an access role draft, or apply a draft edit to the published role.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.publishRole",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/access-roles/{roleId}/publish",queryParameters:[],requestBody:"none"},{description:"Update an access policy's approvers, limits and justification handling.",bodyProperties:["name","description","maxAccessMinutes","recommendedAccessMinutes","businessJustificationMode","requireBusinessJustification","businessJustificationSpec","businessJustificationApprovalMode","businessJustificationRejectionMode","allowSelfApproval","autoApproveWhenRequesterIsApprover","approvalStages","approvers"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.updatePolicy",idempotent:!1,method:"put",mutation:!0,path:"/v1/spaces/{spaceId}/access-policies/{policyId}",queryParameters:[],requestBody:"json"},{description:"Update an access profile's fields, group criteria and role set.",bodyProperties:["addExcludedGroupIds","removeExcludedGroupIds","addGroupIds","removeGroupIds","addRoleIds","removeRoleIds","name","description","isDefault","matchingCriteria","roleIds"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.updateProfile",idempotent:!1,method:"put",mutation:!0,path:"/v1/spaces/{spaceId}/access-profiles/{profileId}",queryParameters:[],requestBody:"json"},{description:"Update an access role's fields and provisioning configuration.",bodyProperties:["name","description","requestsEnabled","connectorInstanceId","accessProfileId","accessPolicyId","provisioningMethodType","provisioningConfig","externalId","externalData"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"access.updateRole",idempotent:!1,method:"put",mutation:!0,path:"/v1/spaces/{spaceId}/access-roles/{roleId}",queryParameters:[],requestBody:"json"},{description:"Approve a proposed agent edit and publish its immutable version.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.approveEditProposal",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/agent-edit-proposals/{proposalId}/approve",queryParameters:[],requestBody:"none"},{description:"Archive a user-managed agent and disable its triggers.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.archive",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/agents/{agentId}",queryParameters:[],requestBody:"none"},{description:"List archived agent definitions in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.archived",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agents/archived",queryParameters:[],requestBody:"none"},{description:"Read the space agent.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.copilot",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agents/copilot",queryParameters:[],requestBody:"none"},{description:"Create an agent definition and its initial immutable version.",bodyProperties:["name","description","slugId","paused","runAsUserId","config"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.create",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/agents",queryParameters:[],requestBody:"json"},{description:"Create a trigger for an agent.",bodyProperties:["displayName","signature","triggerKind","until","userMessageTemplate","workflowInput","config","connectorInstanceId","connectorSlug","fieldValues","triggerSlug"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.createTrigger",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/agents/{agentId}/triggers",queryParameters:[],requestBody:"json"},{description:"Publish a new immutable version of an agent definition.",bodyProperties:["config"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.createVersion",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/agents/{agentId}/versions",queryParameters:[],requestBody:"json"},{description:"Delete an agent trigger and tear down unused trigger delivery.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.deleteTrigger",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/agent-triggers/{triggerId}",queryParameters:[],requestBody:"none"},{description:"Disable an agent trigger and its trigger delivery.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.disableTrigger",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/agent-triggers/{triggerId}/disable",queryParameters:[],requestBody:"none"},{description:"Discard an agent's draft; the live agent is unchanged.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.discardAgentDraft",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/agents/{agentId}/draft",queryParameters:[],requestBody:"none"},{description:"Read one agent definition visible in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.get",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}",queryParameters:[],requestBody:"none"},{description:"Read an agent's unpublished draft, or null when it has none.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.getAgentDraft",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}/draft",queryParameters:[],requestBody:"none"},{description:"Read an agent edit proposal.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.getEditProposal",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agent-edit-proposals/{proposalId}",queryParameters:[],requestBody:"none"},{description:"Read the organization agent.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.helpDesk",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agents/help-desk",queryParameters:[],requestBody:"none"},{description:"List agent definitions visible in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.list",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agents",queryParameters:["slugId","cursor","limit","search","agentId"],requestBody:"none"},{description:"List the triggers of an agent.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.listAgentTriggers",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}/triggers",queryParameters:["cursor","limit"],requestBody:"none"},{description:"List pending agent edits proposed in a conversation.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.listEditProposals",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agent-edit-proposals",queryParameters:["threadId","cursor","limit"],requestBody:"none"},{description:"List agent triggers visible in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.listTriggers",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agent-triggers",queryParameters:["cursor","limit"],requestBody:"none"},{description:"List immutable versions of an agent definition.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.listVersions",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agents/{agentId}/versions",queryParameters:["cursor","limit"],requestBody:"none"},{description:"Read aggregate agent management metrics for the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.managementStats",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agents/management-stats",queryParameters:[],requestBody:"none"},{description:"Publish an agent's draft so it goes live, guarded by the draft's revision.",bodyProperties:["expectedRevision"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.publishAgentDraft",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/agents/{agentId}/draft/publish",queryParameters:[],requestBody:"json"},{description:"Reject a proposed agent edit.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.rejectEditProposal",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/agent-edit-proposals/{proposalId}/reject",queryParameters:[],requestBody:"none"},{description:"Restore an archived agent and the triggers archived with it.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.restore",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/agents/{agentId}/restore",queryParameters:[],requestBody:"none"},{description:"Reveal the signing secret for an agent webhook trigger.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.revealWebhookSecret",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agent-triggers/{triggerId}/webhook-secret",queryParameters:[],requestBody:"none"},{description:"Read weekly agent activity for the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.spaceStats",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agents/space-stats",queryParameters:[],requestBody:"none"},{description:"List agent summaries with their activity counters.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.summaries",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/agents/summaries",queryParameters:["cursor","limit","search","sortBy","sortDirection","agentId"],requestBody:"none"},{description:"Update an agent definition's profile.",bodyProperties:["name","description","slugId","paused","runAsUserId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.update",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/agents/{agentId}",queryParameters:[],requestBody:"json"},{description:"Update an agent trigger.",bodyProperties:["integrationId","triggerSlug","displayName","enabled","signature","triggerConfig","until","userMessageTemplate","workflowInput"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"agents.updateTrigger",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/agent-triggers/{triggerId}",queryParameters:[],requestBody:"json"},{description:"Abandon a pending reconnect and restore the connector's prior status.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.cancelApplicationReconnect",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/applications/{id}/reconnect/cancel",queryParameters:[],requestBody:"none"},{description:"Confirm a connector authorization flow after the provider callback.",bodyProperties:["connectionId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.confirmApplication",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/applications/{id}/confirm",queryParameters:[],requestBody:"json"},{description:"Start a connector authorization flow.",bodyProperties:["label","connectionConfig","generateSuggestions"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.connectApplication",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/applications/catalog/{slug}/connect",queryParameters:[],requestBody:"json"},{description:"Connect a custom MCP server to the current space.",bodyProperties:["displayName","endpointUrl","headers","transport"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.createCustomIntegration",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/integrations",queryParameters:[],requestBody:"json"},{description:"Disconnect a connector instance and retire everything bound to its connection.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.disconnectApplication",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/applications/{id}",queryParameters:[],requestBody:"none"},{description:"Disconnect an integration from the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.disconnectIntegration",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/integrations/{id}",queryParameters:[],requestBody:"none"},{description:"Duplicate a connected connector instance into another authorized space.",bodyProperties:["targetSpaceId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.duplicateApplication",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/applications/{id}/duplicate",queryParameters:[],requestBody:"json"},{description:"Read one connector instance with its knowledge sources and sync status.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.getApplication",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/applications/{id}",queryParameters:["providerSyncStatus"],requestBody:"none"},{description:"Read actions and syncs exposed by one connector catalog entry.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.getApplicationCatalog",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/applications/catalog/{slug}",queryParameters:[],requestBody:"none"},{description:"Read an application's inbound and outbound issue sync settings.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.getApplicationIssueSyncSettings",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/applications/{id}/issue-sync",queryParameters:[],requestBody:"none"},{description:"Report whether the Jira Forge app is installed on the connector's Jira site.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.getApplicationJiraForgeStatus",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/applications/{id}/jira-forge",queryParameters:[],requestBody:"none"},{description:"List automations that use this application connection.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.listApplicationAutomations",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/applications/{id}/automations",queryParameters:["cursor","limit","q","sortBy","sortDirection"],requestBody:"none"},{description:"Report whether requested connector types have connected or enabled instances.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.listApplicationAvailability",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/applications/availability",queryParameters:["slug"],requestBody:"none"},{description:"List repositories available to GitHub connector.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.listApplicationGithubRepositories",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/applications/{id}/github/repositories",queryParameters:["cursor","q"],requestBody:"none"},{description:"List directory groups a provisioning connector can link roles to.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.listApplicationGroups",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/applications/{id}/linked-groups",queryParameters:["cursor","limit","search","selectedId"],requestBody:"none"},{description:"List available issue teams or assignment groups for an application.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.listApplicationIssueTeams",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/applications/{id}/issue-teams",queryParameters:[],requestBody:"none"},{description:"List connector catalog entries and instances visible in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.listApplications",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/applications",queryParameters:["attention","connectorInstanceId","cursor","limit","q"],requestBody:"none"},{description:"List connector synchronization runs.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.listApplicationSyncRuns",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/applications/{id}/sync-runs",queryParameters:["cursor","event","limit","q","status"],requestBody:"none"},{description:"List the provider's choices for an application trigger field, such as Linear teams.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.listApplicationTriggerFieldOptions",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/applications/{id}/trigger-field-options",queryParameters:["field","q","cursor"],requestBody:"none"},{description:"List workflows that use this connector's application.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.listApplicationWorkflows",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/applications/{id}/workflows",queryParameters:["cursor","limit","q","sort","status","visibility"],requestBody:"none"},{description:"List connected instances for requested connector types.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.listConnectedApplications",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/applications/connected",queryParameters:["slug"],requestBody:"none"},{description:"List integrations available in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.listIntegrations",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/integrations",queryParameters:["alias","cursor","id","includeDeleted","limit","nangoConnectionId","q","source"],requestBody:"none"},{description:"List tools exposed by one connected integration.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.listIntegrationTools",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/integrations/{id}/tools",queryParameters:[],requestBody:"none"},{description:"Issue new Okta webhook credentials, invalidating the previous hook.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.provisionApplicationWebhook",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/applications/{id}/okta-webhook",queryParameters:[],requestBody:"none"},{description:"Start a reconnect against the connector's existing auth connection.",bodyProperties:["connectionConfig"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.reconnectApplication",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/applications/{id}/reconnect",queryParameters:[],requestBody:"json"},{description:"Rename an integration connection.",bodyProperties:["displayName"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.renameIntegration",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/integrations/{id}",queryParameters:[],requestBody:"json"},{description:"Choose whether a connector instance may perform write actions.",bodyProperties:["actionMode"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.setApplicationActionMode",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/applications/{id}/action-mode",queryParameters:[],requestBody:"json"},{description:"Turn a connector instance on or off across every surface that reads it.",bodyProperties:["enabled"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.setApplicationEnabled",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/applications/{id}/enabled",queryParameters:[],requestBody:"json"},{description:"Enable or disable an integration connection.",bodyProperties:["enabled"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.setIntegrationEnabled",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/integrations/{id}/enabled",queryParameters:[],requestBody:"json"},{description:"Request synchronization for an application connection.",bodyProperties:["initial"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.triggerApplicationSync",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/applications/{id}/sync",queryParameters:[],requestBody:"json"},{description:"Update a connector instance label.",bodyProperties:["label"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.updateApplication",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/applications/{id}",queryParameters:[],requestBody:"json"},{description:"Replace an application's issue sync settings and reconcile provider schedules.",bodyProperties:["agentPreferences","mappings","pull","push","autoAddress"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"applications.updateApplicationIssueSyncSettings",idempotent:!1,method:"put",mutation:!0,path:"/v1/spaces/{spaceId}/applications/{id}/issue-sync",queryParameters:[],requestBody:"json"},{description:"Archive an assignment group.",bodyProperties:["confirm"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-groups.archive",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/assignment-groups/{assignmentGroupId}/archive",queryParameters:[],requestBody:"json"},{description:"Create a directory assignment group.",bodyProperties:["name","description","sources","kind","connectorInstanceId","externalProviderGroupId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-groups.create",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/assignment-groups",queryParameters:[],requestBody:"json"},{description:"Read one assignment group.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-groups.get",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/assignment-groups/{assignmentGroupId}",queryParameters:[],requestBody:"none"},{description:"Read an assignment group's resolved membership.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-groups.getMembership",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/assignment-groups/{assignmentGroupId}/membership",queryParameters:[],requestBody:"none"},{description:"Read the assignment-group import settings for the active space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-groups.getSettings",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/assignment-groups/settings",queryParameters:[],requestBody:"none"},{description:"List assignment groups in the active space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-groups.list",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/assignment-groups",queryParameters:["counts","cursor","includeArchived","kind","limit","memberOf","offset","q","routableOnly","sortBy","sortDirection"],requestBody:"none"},{description:"List the people in a linked assignment group.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-groups.listMembers",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/assignment-groups/{assignmentGroupId}/members",queryParameters:["access","cursor","limit","q","sortBy","sortDirection"],requestBody:"none"},{description:"Restore an archived assignment group.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-groups.unarchive",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/assignment-groups/{assignmentGroupId}/unarchive",queryParameters:[],requestBody:"none"},{description:"Rename a directory assignment group, replace its members, or set the description of any assignment group.",bodyProperties:["name","description","sources","kind","connectorInstanceId","externalProviderGroupId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-groups.update",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/assignment-groups/{assignmentGroupId}",queryParameters:[],requestBody:"json"},{description:"Choose whether a ServiceNow connection's groups are offered as assignment groups in the active space.",bodyProperties:["enabled","confirm"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-groups.updateImport",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/assignment-groups/imports/{connectorInstanceId}",queryParameters:[],requestBody:"json"},{description:"Create an assignment rule at the end of the evaluation order.",bodyProperties:["conditions","actions"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-rules.create",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/assignment-rules",queryParameters:[],requestBody:"json"},{description:"List the assignment rules in the active space, in evaluation order.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-rules.list",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/assignment-rules",queryParameters:[],requestBody:"none"},{description:"Delete an assignment rule and clear the cases it routed.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-rules.remove",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/assignment-rules/{ruleId}",queryParameters:[],requestBody:"none"},{description:"Reorder every assignment rule in the space.",bodyProperties:["ruleIds"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-rules.reorder",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/assignment-rules/reorder",queryParameters:[],requestBody:"json"},{description:"Update an assignment rule's conditions or target.",bodyProperties:["conditions","actions"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"assignment-rules.update",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/assignment-rules/{ruleId}",queryParameters:[],requestBody:"json"},{description:"Approve a proposed automation edit and publish its immutable version.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.approveEditProposal",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/automation-edit-proposals/{proposalId}/approve",queryParameters:[],requestBody:"none"},{description:"Archive a user-managed automation definition and disable its automations.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.archive",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/automations/{automationId}",queryParameters:[],requestBody:"none"},{description:"List archived automation definitions in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.archived",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/automations/archived",queryParameters:[],requestBody:"none"},{description:"Read the space automation.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.copilot",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/automations/copilot",queryParameters:[],requestBody:"none"},{description:"Create an automation definition and its initial immutable version.",bodyProperties:["name","description","slugId","paused","runAsUserId","config"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.create",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/automations",queryParameters:[],requestBody:"json"},{description:"Create an automation for an automation definition.",bodyProperties:["displayName","signature","triggerKind","until","userMessageTemplate","workflowInput","config","connectorInstanceId","connectorSlug","fieldValues","triggerSlug"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.createTrigger",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/automations/{automationId}/triggers",queryParameters:[],requestBody:"json"},{description:"Publish a new immutable version of an automation definition.",bodyProperties:["config"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.createVersion",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/automations/{automationId}/versions",queryParameters:[],requestBody:"json"},{description:"Create an automation for a published workflow.",bodyProperties:["displayName","signature","triggerKind","until","userMessageTemplate","workflowInput","config","connectorInstanceId","connectorSlug","fieldValues","triggerSlug"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.createWorkflowTrigger",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/triggers",queryParameters:[],requestBody:"json"},{description:"Delete an automation automation and tear down unused trigger delivery.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.deleteTrigger",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/automation-triggers/{triggerId}",queryParameters:[],requestBody:"none"},{description:"Delete a workflow automation and tear down unused trigger delivery.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.deleteWorkflowTrigger",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/triggers/{triggerId}",queryParameters:[],requestBody:"none"},{description:"Disable an automation automation and its trigger delivery.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.disableTrigger",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/automation-triggers/{triggerId}/disable",queryParameters:[],requestBody:"none"},{description:"Read one automation definition visible in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.get",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/automations/{automationId}",queryParameters:[],requestBody:"none"},{description:"Read an automation edit proposal.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.getEditProposal",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/automation-edit-proposals/{proposalId}",queryParameters:[],requestBody:"none"},{description:"Read the organization automation.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.helpDesk",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/automations/help-desk",queryParameters:[],requestBody:"none"},{description:"List automation definitions visible in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.list",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/automations",queryParameters:["slugId","cursor","limit","search","automationId"],requestBody:"none"},{description:"List automations for an automation definition.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.listAutomationTriggers",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/automations/{automationId}/triggers",queryParameters:["cursor","limit"],requestBody:"none"},{description:"List pending automation edits proposed in a conversation.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.listEditProposals",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/automation-edit-proposals",queryParameters:["threadId","cursor","limit"],requestBody:"none"},{description:"List automation automations visible in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.listTriggers",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/automation-triggers",queryParameters:["cursor","limit"],requestBody:"none"},{description:"List immutable versions of an automation definition.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.listVersions",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/automations/{automationId}/versions",queryParameters:["cursor","limit"],requestBody:"none"},{description:"List automations for a workflow.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.listWorkflowTriggers",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/triggers",queryParameters:["cursor","limit"],requestBody:"none"},{description:"Read aggregate automation management metrics for the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.managementStats",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/automations/management-stats",queryParameters:[],requestBody:"none"},{description:"Reject a proposed automation edit.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.rejectEditProposal",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/automation-edit-proposals/{proposalId}/reject",queryParameters:[],requestBody:"none"},{description:"Restore an archived automation definition and the automations archived with it.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.restore",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/automations/{automationId}/restore",queryParameters:[],requestBody:"none"},{description:"Reveal the signing secret for an automation webhook automation.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.revealWebhookSecret",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/automation-triggers/{triggerId}/webhook-secret",queryParameters:[],requestBody:"none"},{description:"Reveal the signing secret for a workflow webhook automation.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.revealWorkflowWebhookSecret",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/triggers/{triggerId}/webhook-secret",queryParameters:[],requestBody:"none"},{description:"Read weekly automation activity for the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.spaceStats",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/automations/space-stats",queryParameters:[],requestBody:"none"},{description:"List automation summaries with their activity counters.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.summaries",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/automations/summaries",queryParameters:["cursor","limit","search","sortBy","sortDirection","automationId"],requestBody:"none"},{description:"Update an automation definition's profile.",bodyProperties:["name","description","slugId","paused","runAsUserId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.update",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/automations/{automationId}",queryParameters:[],requestBody:"json"},{description:"Update an automation automation.",bodyProperties:["integrationId","triggerSlug","displayName","enabled","signature","triggerConfig","until","userMessageTemplate","workflowInput"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.updateTrigger",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/automation-triggers/{triggerId}",queryParameters:[],requestBody:"json"},{description:"Update a workflow automation.",bodyProperties:["integrationId","triggerSlug","displayName","enabled","signature","triggerConfig","until","userMessageTemplate","workflowInput"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"automations.updateWorkflowTrigger",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/triggers/{triggerId}",queryParameters:[],requestBody:"json"},{description:"Subscribe other organization members to a visible case and notify each person added. Requires a signed-in user credential or a workflow run.",bodyProperties:["userIds"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.addSubscribers",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/subscribers",queryParameters:[],requestBody:"json"},{description:"Archive a writable case.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.archiveCase",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/archive",queryParameters:[],requestBody:"none"},{description:"Archive a case type so new cases can no longer use it; existing cases keep it. The space's default can't be archived.",bodyProperties:["expectedUpdatedAt"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.archiveCaseType",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/case-types/{caseTypeId}/archive",queryParameters:[],requestBody:"json"},{description:"Archive one approval inbox row for the current actor. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.archiveInboxApproval",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/case-inbox/approvals/{approvalId}/archive",queryParameters:[],requestBody:"none"},{description:"Archive one case inbox row for the current actor. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.archiveInboxCase",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/case-inbox/cases/{caseId}/archive",queryParameters:[],requestBody:"none"},{description:"Add a public or internal comment to a case.",bodyProperties:["body","visibility","turnId","id"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.comment",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/comments",queryParameters:[],requestBody:"json"},{description:"Create a case in the current space.",bodyProperties:["title","summary","statusId","priority","categoryId","requesterUserId","requesterEmail","assigneeUserId","assignmentGroupId","dueAt","availableAt","primaryThreadId","parentCaseId","phase","blocksCaseId","caseTypeId","fields"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.createCase",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases",queryParameters:[],requestBody:"json"},{description:"Create a custom case type with its stages and lifecycle.",bodyProperties:["name","description","stages","initialStageKey","completeStageKey","cancelStageKey","fields"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.createCaseType",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/case-types",queryParameters:[],requestBody:"json"},{description:"Create a category in the active case space.",bodyProperties:["name","description"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.createCategory",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/case-categories",queryParameters:[],requestBody:"json"},{description:"Create a label in the current case space.",bodyProperties:["name","color"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.createLabel",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/case-labels",queryParameters:[],requestBody:"json"},{description:"Remove an attachment from a writable case.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.deleteAttachment",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/attachments/{attachmentId}",queryParameters:[],requestBody:"none"},{description:"Download an attachment from a visible case.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.downloadAttachment",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/attachments/{attachmentId}/download",queryParameters:[],requestBody:"none",binaryResponse:!0},{description:"Escalate a request to human ownership using the space's assignment and muting settings.",bodyProperties:["reason"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.escalateRequest",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/requests/{sourceThreadId}/escalate",queryParameters:[],requestBody:"json"},{description:"Read one case with the first page of everything hanging off it.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.getCase",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}",queryParameters:["workflowRunId","space"],requestBody:"none"},{description:"Get the current actor's subscription to a visible case. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.getSubscription",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/subscription",queryParameters:[],requestBody:"none"},{description:"Install a case type template.",bodyProperties:["templateKey"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.installCaseTemplate",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/case-types/templates",queryParameters:[],requestBody:"json"},{description:"Link two writable cases: as a subcase (type parent, the default), as a blocker of the path case (type blocks), or as related cases (type related). Requires a signed-in user credential or a workflow run.",bodyProperties:["targetCaseIdOrIdentifier","type"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.linkRelation",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/relations",queryParameters:[],requestBody:"json"},{description:"Link an existing automation thread to a writable case. Requires a signed-in user credential.",bodyProperties:["threadId","relationship","purpose","metadata","automationId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.linkThread",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/threads",queryParameters:[],requestBody:"json"},{description:"List visible activity for a case.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listActivity",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/activity",queryParameters:["cursor","limit"],requestBody:"none"},{description:"Search people who can be assigned to a case in the current space. Requires the cases:read and space-members:read scopes.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listAssigneeCandidates",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/case-assignee-candidates",queryParameters:["assignmentGroupId","cursor","limit","q"],requestBody:"none"},{description:"List file attachments for a visible case.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listAttachments",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/attachments",queryParameters:["cursor","limit"],requestBody:"none"},{description:"List cases in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listCases",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases",queryParameters:["includeArchived","includeTotalCount","withoutParent","withoutRequester","withoutCategory","id","identifier","statusType","statusGroup","caseTypeId","statusId","stageCategory","priority","assigneeUserId","assignmentGroupId","requesterUserId","categoryId","labelId","sourceKind","fieldFilters","personFilters","filterMode","sectionBy","sectionValue","search","limit","cursor","after","before","updatedAfter","updatedBefore","sortBy","sortDir"],requestBody:"none"},{description:"List the first page of each group of cases in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listCasesGrouped",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases/grouped",queryParameters:["includeArchived","includeTotalCount","withoutParent","withoutRequester","withoutCategory","id","identifier","statusType","statusGroup","caseTypeId","statusId","stageCategory","priority","assigneeUserId","assignmentGroupId","requesterUserId","categoryId","labelId","sourceKind","fieldFilters","personFilters","filterMode","sectionBy","sectionValue","search","limit","cursor","after","before","updatedAfter","updatedBefore","sortBy","sortDir","groupBy"],requestBody:"none"},{description:"List case types and stages in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listCaseTypes",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/case-types",queryParameters:[],requestBody:"none"},{description:"List the active categories in the current case space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listCategories",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/case-categories",queryParameters:[],requestBody:"none"},{description:"List assignment groups available as case-inbox filters. Personal spans every space the actor is addressed in; a space inbox shows only its own. The selected space anchors authorization; results include the user's accessible cases across the organization. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listInboxCaseGroupOptions",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/case-inbox/group-options",queryParameters:["inboxState","statusType","stageCategory","priority","assigneeUserId","requesterUserId","presetAssigneeMode","notificationType","q","limit","cursor","groupQ"],requestBody:"none"},{description:"List the current actor's case inbox rows. Personal spans every space the actor is addressed in; a space inbox shows only its own. The selected space anchors authorization; results include the user's accessible cases across the organization. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listInboxCases",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/case-inbox",queryParameters:["inboxState","statusType","stageCategory","priority","assigneeUserId","requesterUserId","presetAssigneeMode","notificationType","q","limit","cursor","assignmentGroupId","sortBy","sortDir"],requestBody:"none"},{description:"List the labels attached to a visible case.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listLabels",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/labels",queryParameters:["cursor","limit"],requestBody:"none"},{description:"List the filter values still worth offering over the current actor's cases. The selected space anchors authorization; results include the user's accessible cases across the organization. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listMyCaseFilterOptions",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases-mine/filter-options",queryParameters:["includeArchived","includeTotalCount","withoutParent","withoutRequester","withoutCategory","id","identifier","statusType","statusGroup","caseTypeId","statusId","stageCategory","priority","assigneeUserId","assignmentGroupId","requesterUserId","categoryId","labelId","sourceKind","fieldFilters","personFilters","filterMode","sectionBy","sectionValue","search","limit","cursor","after","before","updatedAfter","updatedBefore","sortBy","sortDir","kind","q"],requestBody:"none"},{description:"List the cases the current actor is involved in, across spaces. The selected space anchors authorization; results include the user's accessible cases across the organization. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listMyCases",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases-mine",queryParameters:["includeArchived","includeTotalCount","withoutParent","withoutRequester","withoutCategory","id","identifier","statusType","statusGroup","caseTypeId","statusId","stageCategory","priority","assigneeUserId","assignmentGroupId","requesterUserId","categoryId","labelId","sourceKind","fieldFilters","personFilters","filterMode","sectionBy","sectionValue","search","limit","cursor","after","before","updatedAfter","updatedBefore","sortBy","sortDir"],requestBody:"none"},{description:"List the first page of each group of the current actor's cases. The selected space anchors authorization; results include the user's accessible cases across the organization. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listMyCasesGrouped",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases-mine/grouped",queryParameters:["includeArchived","includeTotalCount","withoutParent","withoutRequester","withoutCategory","id","identifier","statusType","statusGroup","caseTypeId","statusId","stageCategory","priority","assigneeUserId","assignmentGroupId","requesterUserId","categoryId","labelId","sourceKind","fieldFilters","personFilters","filterMode","sectionBy","sectionValue","search","limit","cursor","after","before","updatedAfter","updatedBefore","sortBy","sortDir","groupBy"],requestBody:"none"},{description:"List statuses, categories, or labels in the current case space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listReferenceData",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/case-reference-data",queryParameters:["kind","cursor","limit"],requestBody:"none"},{description:"List the source links attached to a visible case.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listSourceLinks",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/source-links",queryParameters:["cursor","limit"],requestBody:"none"},{description:"List the filter values still worth offering over subscribed cases. The selected space anchors authorization; results include the user's accessible cases across the organization. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listSubscribedCaseFilterOptions",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases-subscribed/filter-options",queryParameters:["includeArchived","includeTotalCount","withoutParent","withoutRequester","withoutCategory","id","identifier","statusType","statusGroup","caseTypeId","statusId","stageCategory","priority","assigneeUserId","assignmentGroupId","requesterUserId","categoryId","labelId","sourceKind","fieldFilters","personFilters","filterMode","sectionBy","sectionValue","search","limit","cursor","after","before","updatedAfter","updatedBefore","sortBy","sortDir","kind","q"],requestBody:"none"},{description:"List the cases the current actor subscribes to. The selected space anchors authorization; results include the user's accessible cases across the organization. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listSubscribedCases",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases-subscribed",queryParameters:["includeArchived","includeTotalCount","withoutParent","withoutRequester","withoutCategory","id","identifier","statusType","statusGroup","caseTypeId","statusId","stageCategory","priority","assigneeUserId","assignmentGroupId","requesterUserId","categoryId","labelId","sourceKind","fieldFilters","personFilters","filterMode","sectionBy","sectionValue","search","limit","cursor","after","before","updatedAfter","updatedBefore","sortBy","sortDir"],requestBody:"none"},{description:"List the first page of each group of the current actor's subscribed cases. The selected space anchors authorization; results include the user's accessible cases across the organization. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listSubscribedCasesGrouped",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases-subscribed/grouped",queryParameters:["includeArchived","includeTotalCount","withoutParent","withoutRequester","withoutCategory","id","identifier","statusType","statusGroup","caseTypeId","statusId","stageCategory","priority","assigneeUserId","assignmentGroupId","requesterUserId","categoryId","labelId","sourceKind","fieldFilters","personFilters","filterMode","sectionBy","sectionValue","search","limit","cursor","after","before","updatedAfter","updatedBefore","sortBy","sortDir","groupBy"],requestBody:"none"},{description:"List the people subscribed to a visible case. Requires a signed-in user credential or a workflow run.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listSubscribers",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/subscribers",queryParameters:[],requestBody:"none"},{description:"List the sessions linked to a visible case.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listThreads",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/threads",queryParameters:["cursor","limit"],requestBody:"none"},{description:"Read a permission-aware page of a case's descendant tasks and native blocker edges. Follow nextCursor until null; restricted pages cannot establish whole-plan completion.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.listWorkPlan",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/work-plan",queryParameters:["cursor","limit"],requestBody:"none"},{description:"Mark a visible case and its notifications read for the current actor. Requires a signed-in user credential.",bodyProperties:["mode"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.markRead",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/read",queryParameters:[],requestBody:"json"},{description:"Mark a visible case unread for the current actor. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.markUnread",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/unread",queryParameters:[],requestBody:"none"},{description:"Move a case to another space or type. It changes in place when it can; otherwise a new case of the target type takes over its conversation and this one is canceled. Requires a signed-in user credential.",bodyProperties:["caseTypeId","targetSpaceId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}},{aliases:["idempotencyKey"],name:"Idempotency-Key",required:!0,schema:{maxLength:100,minLength:1,type:"string"}}],id:"cases.move",idempotent:!0,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/move",queryParameters:[],requestBody:"json"},{description:"Show whether a move would change the case in place, open a new case, or be refused. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.previewMove",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/move-preview",queryParameters:["caseTypeId","targetSpaceId"],requestBody:"none"},{description:"Read a case with names and pages of linked sessions, case-triggered automation runs, and workflow runs.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.readContext",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/context",queryParameters:["workflowRunCursor","workflowRunLimit","automationRunCursor","automationRunLimit","sessionCursor","sessionLimit","boardCursor"],requestBody:"none"},{description:"Mark one approval inbox row read for the current actor. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.readInboxApproval",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/case-inbox/approvals/{approvalId}/read",queryParameters:[],requestBody:"none"},{description:"Mark one case inbox row read for the current actor. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.readInboxCase",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/case-inbox/cases/{caseId}/read",queryParameters:[],requestBody:"none"},{description:"Rebuild one page of the organization's case search index. Org admins only; repeat with nextCursor until it is null.",bodyProperties:["cursor","limit"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.rebuildSearchIndex",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases/search-index/rebuild",queryParameters:[],requestBody:"json"},{description:"Remove a person's subscription to a visible case. Other users cannot remove the current assignee. Requires a signed-in user credential or a workflow run.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.removeSubscriber",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/subscribers/{userId}",queryParameters:[],requestBody:"none"},{description:"Reopen a writable case.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.reopenCase",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/reopen",queryParameters:[],requestBody:"none"},{description:"Search accessible case history by meaning.",bodyProperties:["question","statusType","statusId","stageCategory","categoryId","limit"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.search",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases/search",queryParameters:[],requestBody:"json"},{description:"Make a case type the space's default, where cases filed without a type land.",bodyProperties:["expectedUpdatedAt"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.setDefaultCaseType",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/case-types/{caseTypeId}/default",queryParameters:[],requestBody:"json"},{description:"Start and link a new automation thread for a writable case. Requires a signed-in user credential.",bodyProperties:["id","relationship","purpose","metadata","startMuted","automationId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.spawnThread",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/threads/spawn",queryParameters:[],requestBody:"json"},{description:"Subscribe the current actor to a visible case. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.subscribe",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/subscription",queryParameters:[],requestBody:"none"},{description:"Restore an archived custom case type.",bodyProperties:["expectedUpdatedAt"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.unarchiveCaseType",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/case-types/{caseTypeId}/unarchive",queryParameters:[],requestBody:"json"},{description:"Remove a writable subcase, blocker or related relation. Requires a signed-in user credential or a workflow run.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.unlinkRelation",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/relations/{relationId}",queryParameters:[],requestBody:"none"},{description:"Unsubscribe the current actor from a visible case. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.unsubscribe",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/subscription",queryParameters:[],requestBody:"none"},{description:"Update a writable case.",bodyProperties:["title","summary","statusId","statusType","stageCategory","priority","categoryId","requesterUserId","assigneeUserId","assigneeActorType","assignmentGroupId","assigneeGroupId","assignNextInGroup","dueAt","availableAt","labelIds","relevantKnowledgeIds","relevantSkillIds","fields","overrideStageGuardrails"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.updateCase",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}",queryParameters:[],requestBody:"json"},{description:"Replace a custom case type's name, stages, and lifecycle.",bodyProperties:["name","description","stages","initialStageKey","completeStageKey","cancelStageKey","fields","expectedUpdatedAt","autoCloseWhenSubcasesClosed","holdStatusId","syncs","requesterVisible"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.updateCaseType",idempotent:!1,method:"put",mutation:!0,path:"/v1/spaces/{spaceId}/case-types/{caseTypeId}",queryParameters:[],requestBody:"json"},{description:"Upload files to a writable case using the same file restrictions as the web app.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"cases.uploadAttachment",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/cases/{caseIdOrIdentifier}/attachments",queryParameters:[],requestBody:"multipart"},{description:"Create a provider-hosted Admin Portal link for directory, SSO or domain setup.",bodyProperties:["intent","returnUrl","successUrl"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"directory.createAdminPortalLink",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/directory/admin-portal-link",queryParameters:[],requestBody:"json"},{description:"Read one person: an Action account joined with its directory record when there is one, with every synced attribute (department, job title, office, cost center, manager, groups). Directory fields are null for a person who is not in the directory. Null when no one matches, and, unless includeInactive is set, for someone who has left (not an active member, or an inactive directory record with no account).",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"directory.getUser",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/directory/user",queryParameters:["directoryUserId","email","identityId","userId","includeInactive"],requestBody:"none"},{description:"List the organization's directory snapshot.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"directory.list",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/directory",queryParameters:["groupMembersLimit","groupsCursor","groupsLimit","userId","usersCursor","usersLimit"],requestBody:"none"},{description:"List the members of one directory group.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"directory.listGroupMembers",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/directory/groups/{groupId}/members",queryParameters:["cursor","limit"],requestBody:"none"},{description:"List people in the organization, members and directory records alike, once each and ordered by name; pass query to search them. People who have left are left out unless includeInactive is set.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"directory.listUsers",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/directory/people",queryParameters:["query","cursor","limit","includeInactive"],requestBody:"none"},{description:"Search groups in the organization directory.",bodyProperties:["cursor","limit","queries","query"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"directory.searchGroups",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/directory/search/groups",queryParameters:[],requestBody:"json"},{description:"Search people in the organization directory.",bodyProperties:["cursor","limit","query"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"directory.searchUsers",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/directory/search/users",queryParameters:[],requestBody:"json"},{description:"Schedule a fresh organization directory snapshot.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"directory.sync",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/directory/sync",queryParameters:[],requestBody:"none"},{description:"Archive a form in the active space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.archive",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/forms/{formId}/archive",queryParameters:[],requestBody:"none"},{description:"Create a form in the active space.",bodyProperties:["name","slug","description","visibility","enabled","agentVisible"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.create",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/forms",queryParameters:[],requestBody:"json"},{description:"Delete a published form's open draft, leaving the published version live.",bodyProperties:["expectedReviewFingerprint"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.discardDraft",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/form-versions/{versionId}/discard",queryParameters:[],requestBody:"json"},{description:"Get one form in the active space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.get",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/forms/{formId}",queryParameters:[],requestBody:"none"},{description:"Load the source of one form version.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.getSource",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/form-versions/{versionId}/source",queryParameters:[],requestBody:"none"},{description:"Get one form submission visible to the actor.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.getSubmission",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/form-submissions/{submissionId}",queryParameters:[],requestBody:"none"},{description:"Get one form version in the active space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.getVersion",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/form-versions/{versionId}",queryParameters:[],requestBody:"none"},{description:"List forms in the active space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.list",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/forms",queryParameters:["cursor","includeArchived","includeShared","limit","q","sort","visibility"],requestBody:"none"},{description:"List a form in its space's Catalog, or change who finds it there. Being listed is what opens a form to people outside its space.",bodyProperties:["description","audience"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.listInCatalog",idempotent:!1,method:"put",mutation:!0,path:"/v1/spaces/{spaceId}/forms/{formId}/catalog-listing",queryParameters:[],requestBody:"json"},{description:"List submissions for one form in the active space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.listSubmissions",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/forms/{formId}/submissions",queryParameters:["cursor","formVersionId","invocationId","submittedByUserId","limit"],requestBody:"none"},{description:"List versions of one form in the active space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.listVersions",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/forms/{formId}/versions",queryParameters:["cursor","limit"],requestBody:"none"},{description:"Publish one form version.",bodyProperties:["expectedReviewFingerprint"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.publish",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/form-versions/{versionId}/publish",queryParameters:[],requestBody:"json"},{description:"Restore an older form version as a new draft.",bodyProperties:["expectedLatestRevisionId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.restore",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/form-versions/{versionId}/restore",queryParameters:[],requestBody:"json"},{description:"Compile and save a new draft form version from source.",bodyProperties:["source","sourceName","expectedLatestRevisionId","authoringThreadId","changeSetId","visibility","audienceMode","accessProfileIds"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.saveDraft",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/forms/{formId}/draft",queryParameters:[],requestBody:"json"},{description:"Turn database projection on or off for a form. While on, every accepted submission is also written as a record of a form-managed entity type, and existing submissions are backfilled.",bodyProperties:["enabled"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.setDatabaseProjection",idempotent:!1,method:"put",mutation:!0,path:"/v1/spaces/{spaceId}/forms/{formId}/database-projection",queryParameters:[],requestBody:"json"},{description:"Take a form out of the Catalog, which leaves it to its own space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.unlistFromCatalog",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/forms/{formId}/catalog-listing",queryParameters:[],requestBody:"none"},{description:"Update a form and its draft audience settings.",bodyProperties:["changeSetId","name","slug","description","enabled","agentVisible","visibility","audienceMode","accessProfileIds"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"forms.update",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/forms/{formId}",queryParameters:[],requestBody:"json"},{description:"Get the principal and organization the supplied credential resolves to.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"identity.getCurrentPrincipal",idempotent:!1,method:"get",mutation:!1,path:"/v1/me",queryParameters:[],requestBody:"none"},{description:"List the spaces the supplied credential can reach.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"identity.listSpaces",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces",queryParameters:["cursor","limit"],requestBody:"none"},{description:"Archive an uploaded-knowledge folder and all of its documents.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.archiveFolder",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/folders/{sourceId}",queryParameters:[],requestBody:"none"},{description:"Archive an uploaded-knowledge subfolder and its documents.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.archiveSubfolder",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/folders/{sourceId}/subfolders/{folderId}",queryParameters:[],requestBody:"none"},{description:"Archive an uploaded knowledge document.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.archiveUpload",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/uploads/{documentId}",queryParameters:[],requestBody:"none"},{description:"Read a GitHub knowledge repository file.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.browseGithubKnowledgeRepoFile",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/github/knowledge-repos/file",queryParameters:["path","repo"],requestBody:"none"},{description:"Browse GitHub knowledge repository tree.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.browseGithubKnowledgeRepoTree",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/github/knowledge-repos/tree",queryParameters:["repo"],requestBody:"none"},{description:"Include or exclude every document in the Confluence source.",bodyProperties:["directory","visible"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.bulkUpdateConfluenceConnectorDocuments",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/confluence-knowledge/documents",queryParameters:[],requestBody:"json"},{description:"Include or exclude every document in the Google Drive source.",bodyProperties:["directory","visible"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.bulkUpdateGoogleDriveConnectorDocuments",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge/documents",queryParameters:[],requestBody:"json"},{description:"Include or exclude every document in the Notion source.",bodyProperties:["directory","visible"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.bulkUpdateNotionConnectorDocuments",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/notion-knowledge/documents",queryParameters:[],requestBody:"json"},{description:"Include or exclude every document in the SharePoint source.",bodyProperties:["directory","visible"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.bulkUpdateSharePointConnectorDocuments",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/sharepoint-knowledge/documents",queryParameters:[],requestBody:"json"},{description:"Include or exclude every document in the Simpplr source.",bodyProperties:["directory","visible"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.bulkUpdateSimpplrConnectorDocuments",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/simpplr-knowledge/documents",queryParameters:[],requestBody:"json"},{description:"Upload and index a knowledge document. The folder and subfolders are created as needed.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.createUpload",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/uploads",queryParameters:[],requestBody:"multipart"},{description:"List indexed Confluence documents in the selected space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listConfluenceConnectorDocuments",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/confluence-knowledge/documents",queryParameters:["cursor","limit","q","directory","status","type","sort","confluenceSpaceId"],requestBody:"none"},{description:"Discover Confluence spaces available for knowledge selection.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listConfluenceConnectorSpaces",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/confluence-spaces",queryParameters:["cursor"],requestBody:"none"},{description:"List upload folders in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listFolders",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/folders",queryParameters:[],requestBody:"none"},{description:"List repositories available to GitHub connector.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listGithubConnectorRepos",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/github/repos",queryParameters:["cursor","query"],requestBody:"none"},{description:"List GitHub knowledge repositories.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listGithubKnowledgeRepos",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/github/knowledge-repos",queryParameters:[],requestBody:"none"},{description:"List indexed Google Drive documents in the selected space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listGoogleDriveConnectorDocuments",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge/documents",queryParameters:["cursor","limit","q","directory","status","type","sort","confluenceSpaceId"],requestBody:"none"},{description:"List Google Drive corpora available for knowledge selection.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listGoogleDriveConnectorDrives",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge/drives",queryParameters:[],requestBody:"none"},{description:"List the folders directly inside a Google Drive corpus or folder, for narrowing knowledge selection.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listGoogleDriveConnectorFolders",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge/folders",queryParameters:["corpusId","parentId","cursor"],requestBody:"none"},{description:"List indexed Notion documents in the selected space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listNotionConnectorDocuments",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/notion-knowledge/documents",queryParameters:["cursor","limit","q","directory","status","type","sort","confluenceSpaceId"],requestBody:"none"},{description:"List the knowledge catalog visible to organization administrators.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listOrganizationDocuments",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/organization/documents",queryParameters:["cursor","limit","provider","q","sort","sortDirection"],requestBody:"none"},{description:"List provider totals for the organization knowledge catalog.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listOrganizationKnowledgeProviderCounts",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/organization/provider-counts",queryParameters:[],requestBody:"none"},{description:"List indexed SharePoint documents in the selected space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listSharePointConnectorDocuments",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/sharepoint-knowledge/documents",queryParameters:["cursor","limit","q","directory","status","type","sort","confluenceSpaceId"],requestBody:"none"},{description:"Discover SharePoint sites available for knowledge selection.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listSharePointConnectorSites",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/sharepoint-sites",queryParameters:["cursor","query"],requestBody:"none"},{description:"List indexed Simpplr documents in the selected space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listSimpplrConnectorDocuments",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/simpplr-knowledge/documents",queryParameters:["cursor","limit","q","directory","status","type","sort","confluenceSpaceId"],requestBody:"none"},{description:"Discover Simpplr sites available for knowledge selection.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listSimpplrConnectorSites",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/simpplr-sites",queryParameters:["cursor"],requestBody:"none"},{description:"List Slack knowledge channels and their indexing settings. Requires a human principal because Slack knowledge is shared across the organization.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listSlackConnectorChannels",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/slack-knowledge/channels",queryParameters:["cursor","search","limit"],requestBody:"none"},{description:"List uploaded knowledge documents in the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.listUploads",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/uploads",queryParameters:["cursor","folder","limit","q"],requestBody:"none"},{description:"Download an organization knowledge document. Requires a signed-in organization administrator.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.readOrganizationUpload",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/organization/uploads/{documentId}/content",queryParameters:[],requestBody:"none",binaryResponse:!0},{description:"Download a document owned by the selected space or included in knowledge.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.readUpload",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/uploads/{documentId}/content",queryParameters:[],requestBody:"none",binaryResponse:!0},{description:"Reindex an uploaded knowledge document.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.reindexUpload",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/uploads/{documentId}/reindex",queryParameters:[],requestBody:"none"},{description:"Rename an uploaded-knowledge folder.",bodyProperties:["name"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.renameFolder",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/folders/{sourceId}",queryParameters:[],requestBody:"json"},{description:"Rename an uploaded-knowledge subfolder.",bodyProperties:["name"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.renameSubfolder",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/folders/{sourceId}/subfolders/{folderId}",queryParameters:[],requestBody:"json"},{description:"Replace GitHub knowledge repositories.",bodyProperties:["repos"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.replaceGithubKnowledgeRepos",idempotent:!1,method:"put",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/github/knowledge-repos",queryParameters:[],requestBody:"json"},{description:"Search accessible knowledge documents and return excerpts with citations.",bodyProperties:["question","provider","limit","updatedAfter","updatedBefore","author","createdBy","createdAfter","createdBefore"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.search",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/search",queryParameters:[],requestBody:"json"},{description:"Search Google Drive folders by name across every drive the connection can see, each tagged with the corpus a knowledge selection must name to include it.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.searchGoogleDriveConnectorFolders",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge/folder-search",queryParameters:["query","cursor"],requestBody:"none"},{description:"Search connected Notion pages and data sources available for selection.",bodyProperties:["cursor","query","limit"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.searchNotionConnectorDocuments",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/notion-knowledge/search",queryParameters:[],requestBody:"json"},{description:"Refresh one Confluence document from its provider.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.syncConfluenceConnectorDocument",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/confluence-knowledge/documents/{documentId}/sync",queryParameters:[],requestBody:"none"},{description:"Refresh one Google Drive document from its provider.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.syncGoogleDriveConnectorDocument",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge/documents/{documentId}/sync",queryParameters:[],requestBody:"none"},{description:"Refresh one Notion document from its provider.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.syncNotionConnectorDocument",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/notion-knowledge/documents/{documentId}/sync",queryParameters:[],requestBody:"none"},{description:"Trigger GitHub knowledge synchronization.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.triggerGithubKnowledgeSync",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/github/knowledge-repos/sync",queryParameters:[],requestBody:"none"},{description:"Include or exclude one Confluence document.",bodyProperties:["visible"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateConfluenceConnectorDocument",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/confluence-knowledge/documents/{documentId}",queryParameters:[],requestBody:"json"},{description:"Update the Confluence knowledge selection and reconcile its indexed documents.",bodyProperties:["selection"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateConfluenceConnectorSelection",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/confluence-knowledge-selection",queryParameters:[],requestBody:"json"},{description:"Update visibility for every uploaded document in a folder.",bodyProperties:["visible"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateFolderDocuments",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/folders/{sourceId}/documents",queryParameters:[],requestBody:"json"},{description:"Update GitHub connector repository selection.",bodyProperties:["repos"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateGithubConnectorRepos",idempotent:!1,method:"put",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/github/repos",queryParameters:[],requestBody:"json"},{description:"Include or exclude one Google Drive document.",bodyProperties:["visible"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateGoogleDriveConnectorDocument",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge/documents/{documentId}",queryParameters:[],requestBody:"json"},{description:"Update the Google Drive knowledge selection and reconcile its indexed documents.",bodyProperties:["selection"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateGoogleDriveConnectorSelection",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/google-drive-knowledge-selection",queryParameters:[],requestBody:"json"},{description:"Include or exclude one Notion document.",bodyProperties:["visible"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateNotionConnectorDocument",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/notion-knowledge/documents/{documentId}",queryParameters:[],requestBody:"json"},{description:"Update the Notion knowledge selection and reconcile its indexed documents.",bodyProperties:["selection"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateNotionConnectorSelection",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/notion-knowledge-selection",queryParameters:[],requestBody:"json"},{description:"Include or exclude one SharePoint document.",bodyProperties:["visible"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateSharePointConnectorDocument",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/sharepoint-knowledge/documents/{documentId}",queryParameters:[],requestBody:"json"},{description:"Update the SharePoint knowledge selection and reconcile its indexed documents.",bodyProperties:["selection"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateSharePointConnectorSelection",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/sharepoint-knowledge-selection",queryParameters:[],requestBody:"json"},{description:"Include or exclude one Simpplr document.",bodyProperties:["visible"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateSimpplrConnectorDocument",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/simpplr-knowledge/documents/{documentId}",queryParameters:[],requestBody:"json"},{description:"Update the Simpplr knowledge selection and reconcile its indexed documents.",bodyProperties:["selection"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateSimpplrConnectorSelection",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/simpplr-knowledge-selection",queryParameters:[],requestBody:"json"},{description:"Update the amount of Slack history included in knowledge. Requires a human principal because Slack knowledge is shared across the organization.",bodyProperties:["depth"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateSlackConnectorBackfill",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/slack-knowledge-backfill",queryParameters:[],requestBody:"json"},{description:"Update the Slack knowledge selection and reconcile its indexed documents. Requires a human principal because Slack knowledge is shared across the organization.",bodyProperties:["excludedChannelIds"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateSlackConnectorSelection",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/connectors/{connectorId}/slack-knowledge-selection",queryParameters:[],requestBody:"json"},{description:"Update an uploaded knowledge document's visibility.",bodyProperties:["visible"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"knowledge.updateUpload",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/knowledge/uploads/{documentId}",queryParameters:[],requestBody:"json"},{description:"Archive a label and drop its links.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"labels.archive",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/labels/{labelId}",queryParameters:[],requestBody:"none"},{description:"Add, remove, or replace an entity's labels by name.",bodyProperties:["entityType","entityId","names","mode"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"labels.assignNames",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/labels/assign",queryParameters:[],requestBody:"json"},{description:"Create a label in the active space.",bodyProperties:["name","color"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"labels.create",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/labels",queryParameters:[],requestBody:"json"},{description:"List labels in the active space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"labels.list",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/labels",queryParameters:["includeArchived","query"],requestBody:"none"},{description:"List label links for one entity type.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"labels.listLinks",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/labels/links",queryParameters:["entityType"],requestBody:"none"},{description:"Resolve label names, creating missing labels in the active space.",bodyProperties:["names"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"labels.resolveNames",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/labels/resolve",queryParameters:[],requestBody:"json"},{description:"Replace the labels attached to one entity.",bodyProperties:["labelIds"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"labels.setLabels",idempotent:!1,method:"put",mutation:!0,path:"/v1/spaces/{spaceId}/labels/links/{entityType}/{entityId}",queryParameters:[],requestBody:"json"},{description:"Rename or recolour a label.",bodyProperties:["name","color"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"labels.update",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/labels/{labelId}",queryParameters:[],requestBody:"json"},{description:"Read one of the actor's notifications without marking it read. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"notifications.get",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/notifications/{notificationId}",queryParameters:[],requestBody:"none"},{description:"List the actor's notifications, newest first. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"notifications.list",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/notifications",queryParameters:["includeRead","includeArchived","limit","cursor"],requestBody:"none"},{description:"Accept and re-inject a quarantined inbound email.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-email.acceptQuarantine",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/email/quarantine/{eventId}/accept",queryParameters:[],requestBody:"none"},{description:"Remove an address from outbound email suppression.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-email.deleteSuppression",idempotent:!1,method:"delete",mutation:!0,path:"/v1/organizations/{organizationId}/email/suppressions/{suppressionId}",queryParameters:[],requestBody:"none"},{description:"Disable hosted email for the organization.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-email.disableInstallation",idempotent:!1,method:"delete",mutation:!0,path:"/v1/organizations/{organizationId}/email/installation",queryParameters:[],requestBody:"none"},{description:"Enable hosted email for the organization.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-email.enableInstallation",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/email/installation",queryParameters:[],requestBody:"none"},{description:"Get the organization's email installation and channel diagnostics.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-email.getInstallation",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/email/installation",queryParameters:[],requestBody:"none"},{description:"List recently quarantined inbound email events.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-email.listQuarantine",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/email/quarantine",queryParameters:["cursor","limit"],requestBody:"none"},{description:"List addresses suppressed from outbound email.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-email.listSuppressions",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/email/suppressions",queryParameters:["cursor","limit"],requestBody:"none"},{description:"Reject a quarantined inbound email.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-email.rejectQuarantine",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/email/quarantine/{eventId}/reject",queryParameters:[],requestBody:"none"},{description:"Confirm the organization's GitHub App connection after the provider handoff.",bodyProperties:["connectionId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-github.confirmInstall",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/github-app/installation/confirm",queryParameters:[],requestBody:"json"},{description:"Disconnect the organization's GitHub App and disable its connected spaces.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-github.disconnectInstallation",idempotent:!1,method:"delete",mutation:!0,path:"/v1/organizations/{organizationId}/github-app/installation",queryParameters:[],requestBody:"none"},{description:"Read the organization's GitHub App installation.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-github.getInstallation",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/github-app/installation",queryParameters:[],requestBody:"none"},{description:"Read GitHub App repository access and connected spaces for this organization.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-github.getInstallationDetails",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/github-app/installation/details",queryParameters:["repoPage","repoPageSize"],requestBody:"none"},{description:"Start the organization's GitHub App connection handoff. The returned session token is short-lived authorization material.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-github.startInstall",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/github-app/installation",queryParameters:[],requestBody:"none"},{description:"Attach a space to a Slack channel setting.",bodyProperties:["spaceId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-slack.createChannelSettingsRoute",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/slack/channel-settings/{channelId}/routes",queryParameters:[],requestBody:"json"},{description:"Remove one route from a Slack channel setting.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-slack.deleteChannelSettingsRoute",idempotent:!1,method:"delete",mutation:!0,path:"/v1/organizations/{organizationId}/slack/channel-settings/{channelId}/routes/{routeId}",queryParameters:[],requestBody:"none"},{description:"Disconnect the active Slack installation.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-slack.disconnectInstallation",idempotent:!1,method:"delete",mutation:!0,path:"/v1/organizations/{organizationId}/slack/installation",queryParameters:[],requestBody:"none"},{description:"Read the active Slack installation and its channel diagnostics.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-slack.getInstallation",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/slack/installation",queryParameters:[],requestBody:"none"},{description:"List Slack channel settings for the organization.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-slack.listChannelSettings",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/slack/channel-settings",queryParameters:[],requestBody:"none"},{description:"Start the Slack OAuth installation flow for the active organization.",bodyProperties:["returnTo","reauthorize"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-slack.startInstall",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/slack/install",queryParameters:[],requestBody:"json"},{description:"Synchronize Slack channel settings from the connected workspace.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-slack.syncChannelSettings",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/slack/channel-settings/sync",queryParameters:[],requestBody:"none"},{description:"Update status reaction emojis for one Slack channel setting.",bodyProperties:["emojis"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-slack.updateChannelEmojis",idempotent:!1,method:"patch",mutation:!0,path:"/v1/organizations/{organizationId}/slack/channel-settings/{channelId}/emojis",queryParameters:[],requestBody:"json"},{description:"Set whether a Slack channel converses or only files a case.",bodyProperties:["intakeMode"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-slack.updateChannelIntakeMode",idempotent:!1,method:"patch",mutation:!0,path:"/v1/organizations/{organizationId}/slack/channel-settings/{channelId}/intake-mode",queryParameters:[],requestBody:"json"},{description:"Update the response behavior for one Slack channel setting.",bodyProperties:["responseMode","threadReplyMode","ambientInstruction","ambientRules","respondToApps"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-slack.updateChannelSettings",idempotent:!1,method:"patch",mutation:!0,path:"/v1/organizations/{organizationId}/slack/channel-settings/{channelId}",queryParameters:[],requestBody:"json"},{description:"Set whether new cases from a Slack channel include the thread messages sent before Action was mentioned.",bodyProperties:["includeThreadHistory"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-slack.updateChannelThreadHistory",idempotent:!1,method:"patch",mutation:!0,path:"/v1/organizations/{organizationId}/slack/channel-settings/{channelId}/thread-history",queryParameters:[],requestBody:"json"},{description:"Archive a space and revoke its active memberships.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-spaces.archive",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/spaces/{spaceId}/archive",queryParameters:[],requestBody:"none"},{description:"Create a space and its default roles and statuses.",bodyProperties:["description","name","organizationRequestRoutingEnabled","slug"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-spaces.create",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/spaces",queryParameters:[],requestBody:"json"},{description:"Join an active space as an organization administrator.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-spaces.join",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/spaces/{spaceId}/join",queryParameters:[],requestBody:"none"},{description:"List active spaces in the organization.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-spaces.list",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/spaces",queryParameters:[],requestBody:"none"},{description:"Enable or disable muting the help desk on this space's cases after a handoff.",bodyProperties:["escalationMuteEnabled"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-spaces.setEscalationMute",idempotent:!1,method:"patch",mutation:!0,path:"/v1/organizations/{organizationId}/spaces/{spaceId}/escalation-mute",queryParameters:[],requestBody:"json"},{description:"Enable or disable organization request routing for a space.",bodyProperties:["organizationRequestRoutingEnabled"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-spaces.setOrganizationRequestRouting",idempotent:!1,method:"patch",mutation:!0,path:"/v1/organizations/{organizationId}/spaces/{spaceId}/request-routing",queryParameters:[],requestBody:"json"},{description:"Route a Teams channel to a space in this organization.",bodyProperties:["spaceId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-teams.createChannelSettingsRoute",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/msteams/channel-settings/{channelId}/routes",queryParameters:[],requestBody:"json"},{description:"Create a Teams message subscription for this organization.",bodyProperties:["scope","teamId","channelId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-teams.createGraphSubscription",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/msteams/graph-subscriptions",queryParameters:[],requestBody:"json"},{description:"Remove one organization-wide Teams channel route.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-teams.deleteChannelSettingsRoute",idempotent:!1,method:"delete",mutation:!0,path:"/v1/organizations/{organizationId}/msteams/channel-settings/{channelId}/routes/{routeId}",queryParameters:[],requestBody:"none"},{description:"Disconnect the organization's Microsoft Teams tenant.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-teams.disconnectConnection",idempotent:!1,method:"delete",mutation:!0,path:"/v1/organizations/{organizationId}/msteams/connection",queryParameters:[],requestBody:"none"},{description:"Build the Teams app package as base64-encoded ZIP content.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-teams.getAppPackage",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/msteams/app-package/content",queryParameters:[],requestBody:"none"},{description:"Read whether the Teams app package can be downloaded.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-teams.getAppPackageStatus",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/msteams/app-package",queryParameters:[],requestBody:"none"},{description:"Read the organization's Microsoft Teams connection and subscription status.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-teams.getConnection",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/msteams/connection",queryParameters:[],requestBody:"none"},{description:"List organization-wide Teams channel behavior and routes.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-teams.listChannelSettings",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/msteams/channel-settings",queryParameters:[],requestBody:"none"},{description:"Renew due Teams subscriptions belonging to this organization.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-teams.renewGraphSubscriptions",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/msteams/graph-subscriptions/renew",queryParameters:[],requestBody:"none"},{description:"Create a Microsoft Teams administrator consent URL for the organization.",bodyProperties:["returnTo","force"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-teams.startInstall",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/msteams/connect",queryParameters:[],requestBody:"json"},{description:"Update status reaction emojis for a Teams channel.",bodyProperties:["emojis"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-teams.updateChannelEmojis",idempotent:!1,method:"patch",mutation:!0,path:"/v1/organizations/{organizationId}/msteams/channel-settings/{channelId}/emojis",queryParameters:[],requestBody:"json"},{description:"Set whether a Teams channel converses or only files a case.",bodyProperties:["intakeMode"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-teams.updateChannelIntakeMode",idempotent:!1,method:"patch",mutation:!0,path:"/v1/organizations/{organizationId}/msteams/channel-settings/{channelId}/intake-mode",queryParameters:[],requestBody:"json"},{description:"Update organization-wide Teams channel response behavior.",bodyProperties:["responseMode","threadReplyMode","ambientInstruction","ambientRules"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organization-teams.updateChannelSettings",idempotent:!1,method:"patch",mutation:!0,path:"/v1/organizations/{organizationId}/msteams/channel-settings/{channelId}",queryParameters:[],requestBody:"json"},{description:"Create an organization invitation with compensating provider rollback.",bodyProperties:["email","expiresInDays","roleSlug"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.createInvite",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/invites",queryParameters:[],requestBody:"json"},{description:"Provision an organization membership when direct provisioning is enabled.",bodyProperties:["email","roleSlug"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.createMembership",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/memberships",queryParameters:[],requestBody:"json"},{description:"Read one organization person.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.getPerson",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/people/{personId}",queryParameters:[],requestBody:"none"},{description:"Read organization presentation settings.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.getSettings",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/settings",queryParameters:[],requestBody:"none"},{description:"List the organization's groups. Pass scope=space with a spaceId to return only the groups that space can use.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.listGroups",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/groups",queryParameters:["spaceId","cursor","identityId","includeMembershipLastObserved","limit","q","sort","direction","selectedId","sourceId","sourceType","scope","excludeProvider"],requestBody:"none"},{description:"List where groups come from: directory sync and each connected app.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.listGroupSources",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/group-sources",queryParameters:["sourceType"],requestBody:"none"},{description:"List organization invitations.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.listInvites",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/invites",queryParameters:["cursor","direction","limit","role","search","sort","status"],requestBody:"none"},{description:"List membership labels for a bounded set of users.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.listMembershipLabels",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/memberships/labels",queryParameters:["userId"],requestBody:"none"},{description:"List organization memberships.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.listMemberships",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/memberships",queryParameters:["cursor","limit"],requestBody:"none"},{description:"List the organization people roster.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.listPeople",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/people",queryParameters:["cursor","groupId","groupSourceId","groupSourceType","directory","includeTotal","limit","role","search","sort","direction"],requestBody:"none"},{description:"List applications observed for one organization person.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.listPersonApplications",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/people/{personId}/applications",queryParameters:["cursor","limit","q"],requestBody:"none"},{description:"List linked groups that can provision the active space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.listProvisionableLinkedGroups",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/spaces/{spaceId}/provisionable-linked-groups",queryParameters:["scope","cursor","limit","search","selectedId"],requestBody:"none"},{description:"List roles available to organization memberships.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.listRoles",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/roles",queryParameters:[],requestBody:"none"},{description:"Revoke an organization invitation.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.revokeInvite",idempotent:!1,method:"post",mutation:!0,path:"/v1/organizations/{organizationId}/invites/{inviteId}/revoke",queryParameters:[],requestBody:"none"},{description:"Search organization people available to a picker.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.searchPeople",idempotent:!1,method:"get",mutation:!1,path:"/v1/organizations/{organizationId}/people/search",queryParameters:["spaceId","includeAllDirectoryPeople","cursor","excludeCurrentSpace","limit","membersOnly","q","selectedId"],requestBody:"none"},{description:"Update an organization membership and synchronize its identity-provider state.",bodyProperties:["roleSlug","status","statusReason"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.updateMembership",idempotent:!1,method:"patch",mutation:!0,path:"/v1/organizations/{organizationId}/memberships/{membershipId}",queryParameters:[],requestBody:"json"},{description:"Update organization presentation settings.",bodyProperties:["name","showProfilePictures","supportViewAsEnabled","idleCompactionEnabled"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"organizations.updateSettings",idempotent:!1,method:"patch",mutation:!0,path:"/v1/organizations/{organizationId}/settings",queryParameters:[],requestBody:"json"},{description:"Archive a session.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.archive",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/archive",queryParameters:[],requestBody:"none"},{description:"Create an organization request session. Requires a signed-in user credential.",bodyProperties:["id","caseId","reuseExisting","destinationSpaceId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.createOrganizationRequestSession",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/organization-request-sessions",queryParameters:[],requestBody:"json"},{description:"Create an organization request session and submit its initial message. Requires a signed-in user credential.",bodyProperties:["prewarmOnly","id","caseId","reuseExisting","destinationSpaceId","initialMessage"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.createOrganizationRequestSessionAndSubmit",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/organization-request-sessions/submit",queryParameters:[],requestBody:"json"},{description:"Create a conversation session. Requires a signed-in user credential.",bodyProperties:["id","automation","visibility"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.createSession",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/sessions",queryParameters:[],requestBody:"json"},{description:"Create a conversation session and submit its first message. Requires a signed-in user credential.",bodyProperties:["id","automation","visibility","initialMessage"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.createSessionAndSubmit",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/sessions/submit",queryParameters:[],requestBody:"json"},{description:"Delete an artifact in the active space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.deleteArtifact",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/artifacts/{artifactId}",queryParameters:[],requestBody:"none"},{description:"Download an accessible session artifact as a file; defaults to the current version.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.downloadArtifact",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/artifacts/{artifactId}/download",queryParameters:["version"],requestBody:"none",binaryResponse:!0},{description:"Download a file inside an accessible session's uploads or workspace directory.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.downloadFile",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/file-download",queryParameters:["path","workflowRunId"],requestBody:"none",binaryResponse:!0},{description:"Request an automation response to an eligible existing message. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.forceResponse",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/messages/{messageId}/respond",queryParameters:[],requestBody:"none"},{description:"Copy a session and its runtime state into a new session. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}},{aliases:["idempotencyKey"],name:"Idempotency-Key",required:!0,schema:{maxLength:128,minLength:1,type:"string"}}],id:"sessions.fork",idempotent:!0,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/fork",queryParameters:[],requestBody:"none"},{description:"Get a session and its initial transcript window.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.get",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}",queryParameters:["workflowRunId"],requestBody:"none"},{description:"Get an artifact in the active space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.getArtifact",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/artifacts/{artifactId}",queryParameters:[],requestBody:"none"},{description:"Read a case linked to a session.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.getCase",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/cases/{caseId}",queryParameters:["workflowRunId"],requestBody:"none"},{description:"Get a preview of a session runtime file.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.getFilePreview",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/file-preview",queryParameters:["workflowRunId","path"],requestBody:"none"},{description:"Get an organization request destination. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.getOrganizationRequestDestination",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/session-request-destinations/{destinationSpaceId}",queryParameters:[],requestBody:"none"},{description:"Read a workflow approval belonging to a session.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.getWorkflowApproval",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/workflow-approvals/{approvalId}",queryParameters:["workflowRunId","runId"],requestBody:"none"},{description:"Create an organization request session and submit its initial message. Requires a signed-in user credential.",bodyProperties:["prewarmOnly","id","caseId","reuseExisting","destinationSpaceId","initialMessage"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.intakeRequest",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/requests",queryParameters:[],requestBody:"json"},{description:"List sessions visible to the actor.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.list",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions",queryParameters:["limit","cursor","mine","includeArchived","excludeCustomAutomationSessions","includeTotalCount","search","purpose","after","before","updatedAfter","updatedBefore","sortBy","sortDir","status","triggeredByKind","automationId","createdBy"],requestBody:"none"},{description:"List artifacts in the active space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.listArtifacts",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/artifacts",queryParameters:["limit","cursor","mine","createdByUserId","createdByAutomationId","sessionId","createdAtFrom","createdAtTo","updatedAtFrom","updatedAtTo"],requestBody:"none"},{description:"List readable cases linked to a session.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.listCases",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/cases",queryParameters:["workflowRunId","limit","cursor"],requestBody:"none"},{description:"List children of a session runtime directory.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.listFileChildren",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/file-children",queryParameters:["workflowRunId","path"],requestBody:"none"},{description:"List files owned by a session runtime.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.listFiles",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/files",queryParameters:["workflowRunId"],requestBody:"none"},{description:"List a session transcript page.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.listMessages",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/messages",queryParameters:["workflowRunId","limit","cursor"],requestBody:"none"},{description:"List spaces that can receive an organization request. Requires a signed-in user credential.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.listOrganizationRequestDestinations",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/session-request-destinations",queryParameters:["cursor","q"],requestBody:"none"},{description:"List participants in a session.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.listParticipants",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/participants",queryParameters:["workflowRunId","limit","cursor"],requestBody:"none"},{description:"List background tasks owned by a session.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.listTasks",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/tasks",queryParameters:["limit","cursor","status"],requestBody:"none"},{description:"List files uploaded to a session.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.listUploads",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/uploads",queryParameters:["workflowRunId"],requestBody:"none"},{description:"Pause the automation assigned to a session.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.muteAutomation",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/mute",queryParameters:[],requestBody:"none"},{description:"Read the authoritative transcript of an accessible case-linked session.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.readCaseSession",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/transcript",queryParameters:["afterSeq","limit"],requestBody:"none"},{description:"Rename a session.",bodyProperties:["title"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.rename",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/sessions/{sessionId}",queryParameters:[],requestBody:"json"},{description:"Set who can open a session: the whole space, or only its creator. Requires a signed-in user credential.",bodyProperties:["visibility"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.setVisibility",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/visibility",queryParameters:[],requestBody:"json"},{description:"Start the browser attached to a session.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.startBrowser",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/browser",queryParameters:[],requestBody:"none"},{description:"Count visible sessions by inbox status.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.statusCounts",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/sessions/status-counts",queryParameters:["limit","cursor","mine","includeArchived","excludeCustomAutomationSessions","includeTotalCount","search","purpose","after","before","updatedAfter","updatedBefore","sortBy","sortDir","status","triggeredByKind","automationId","createdBy"],requestBody:"none"},{description:"Submit a message to a conversation session. Requires a signed-in user credential.",bodyProperties:["clientMessageId","content","mode","timezone","page","mentions","skills","suppressAutomationWake"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.submitMessage",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/messages",queryParameters:[],requestBody:"json"},{description:"Restore an archived session.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.unarchive",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/unarchive",queryParameters:[],requestBody:"none"},{description:"Resume the automation assigned to a session.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.unmuteAutomation",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/unmute",queryParameters:[],requestBody:"none"},{description:"Upload files into a writable session's uploads directory.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"sessions.uploadFiles",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/sessions/{sessionId}/uploads",queryParameters:[],requestBody:"multipart"},{description:"Archive an organization skill while retaining its versions.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"skills.archiveSkill",idempotent:!1,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/skills/{skillId}",queryParameters:[],requestBody:"none"},{description:"Create a skill definition.",bodyProperties:["description","scope","slug","title"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"skills.createSkill",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/skills",queryParameters:[],requestBody:"json"},{description:"Create a draft version of a skill bundle.",bodyProperties:["files"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"skills.createSkillVersion",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/skills/{skillId}/versions",queryParameters:[],requestBody:"json"},{description:"Delete a skill's open draft version, leaving the published version in place.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"skills.discardSkillDraft",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/skills/{skillId}/draft/discard",queryParameters:[],requestBody:"none"},{description:"Get a visible skill and its available versions.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"skills.getSkill",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/skills/{skillId}",queryParameters:[],requestBody:"none"},{description:"Get one visible skill version and its bundle files.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"skills.getSkillVersion",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/skills/{skillId}/versions/{skillVersionId}",queryParameters:[],requestBody:"none"},{description:"List automations that currently use this skill.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"skills.listSkillAutomations",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/skills/{skillId}/automations",queryParameters:["cursor","limit","search"],requestBody:"none"},{description:"List skills visible in the active space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"skills.listSkills",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/skills",queryParameters:[],requestBody:"none"},{description:"Publish a draft skill version.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"skills.publishSkillVersion",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/skills/{skillId}/versions/{skillVersionId}/publish",queryParameters:["expectedRevision"],requestBody:"none"},{description:"Replace a skill's tags.",bodyProperties:["tags","expectedTags"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"skills.updateSkillTags",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/skills/{skillId}/tags",queryParameters:[],requestBody:"json"},{description:"Archive a space role, reassigning members to a replacement role when required.",bodyProperties:["replacementRoleId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"space-access-roles.archive",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}/archive",queryParameters:[],requestBody:"json"},{description:"Create a space access role. Live creation also requires publish permission.",bodyProperties:["status","name","description","permissionSlugs"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"space-access-roles.create",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/space-access-roles",queryParameters:[],requestBody:"json"},{description:"Discard an unpublished space role draft.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"space-access-roles.discard",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}/discard",queryParameters:[],requestBody:"none"},{description:"Duplicate a role and its application capabilities into a published role.",bodyProperties:["name"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"space-access-roles.duplicate",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}/duplicate",queryParameters:[],requestBody:"json"},{description:"Get a space access role.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"space-access-roles.get",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}",queryParameters:[],requestBody:"none"},{description:"List access roles in the selected space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"space-access-roles.list",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/space-access-roles",queryParameters:["cursor","excludeRoleId","limit","search","sortBy","sortDir","type"],requestBody:"none"},{description:"Publish a space role draft.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"space-access-roles.publish",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}/publish",queryParameters:[],requestBody:"none"},{description:"Update a space access role, or propose a draft edit with status=draft. Live edits require publish permission.",bodyProperties:["status","name","description","permissionSlugs"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"space-access-roles.update",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}",queryParameters:[],requestBody:"json"},{description:"Count blocked application actions for a space role.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"space-action-grants.listBlockedActions",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}/blocked-actions",queryParameters:[],requestBody:"none"},{description:"List configurable application actions for a space connection.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"space-action-grants.listCatalog",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/connections/{connectorInstanceId}/actions",queryParameters:[],requestBody:"none"},{description:"List application action grants for a space role and connection.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"space-action-grants.listGrants",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}/connections/{connectorInstanceId}/actions",queryParameters:[],requestBody:"none"},{description:"List application actions and the active roles blocked from each action.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"space-action-grants.listPermissions",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/connections/{connectorInstanceId}/action-permissions",queryParameters:[],requestBody:"none"},{description:"Replace a role's allowed application actions. Live roles require publish permission.",bodyProperties:["actionSlugs"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"space-action-grants.replaceGrants",idempotent:!1,method:"put",mutation:!0,path:"/v1/spaces/{spaceId}/space-access-roles/{roleId}/connections/{connectorInstanceId}/actions",queryParameters:[],requestBody:"json"},{description:"Replace the active roles blocked from an application action.",bodyProperties:["blockedRoleIds"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"space-action-grants.replaceRoles",idempotent:!1,method:"put",mutation:!0,path:"/v1/spaces/{spaceId}/connections/{connectorInstanceId}/action-permissions/{actionSlug}",queryParameters:[],requestBody:"json"},{description:"Add or reactivate an organization member in the current space.",bodyProperties:["accessRoleId","roleSlug","email"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"spaces.addMember",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/members",queryParameters:[],requestBody:"json"},{description:"Link a directory group to the current space with one role for its members.",bodyProperties:["accessRoleId","roleSlug","directoryGroupId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"spaces.createGroupLink",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/group-links",queryParameters:[],requestBody:"json"},{description:"Leave the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"spaces.leave",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/members/leave",queryParameters:[],requestBody:"none"},{description:"List the directory groups linked to the current space and the role each grants.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"spaces.listGroupLinks",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/group-links",queryParameters:["department","jobTitle","managerEmail","subDepartment"],requestBody:"none"},{description:"List active members of the current space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"spaces.listMembers",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/members",queryParameters:["accessRoleId","department","jobTitle","managerEmail","subDepartment","cursor","eligibleForAssignment","limit","roleSlug","search","userId"],requestBody:"none"},{description:"Unlink a directory group; people with no other role here lose access.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"spaces.removeGroupLink",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/group-links/{linkId}/remove",queryParameters:[],requestBody:"none"},{description:"Clear a person's direct role; they keep any role a linked group grants.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"spaces.removeMember",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/members/{membershipId}/remove",queryParameters:[],requestBody:"none"},{description:"Set the space's default routing assignment group.",bodyProperties:["defaultRoutingAssignmentGroupId","defaultRoutingMode"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"spaces.setDefaultAssignment",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/default-assignment",queryParameters:[],requestBody:"json"},{description:"Change the role a linked directory group grants in the current space.",bodyProperties:["accessRoleId","roleSlug"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"spaces.updateGroupLink",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/group-links/{linkId}",queryParameters:[],requestBody:"json"},{description:"Set a person's direct role in the current space.",bodyProperties:["accessRoleId","roleSlug"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"spaces.updateMember",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/members/{membershipId}",queryParameters:[],requestBody:"json"},{description:"Update the current space profile.",bodyProperties:["disabledSections","agentPreferences","description","name","slug"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"spaces.updateProfile",idempotent:!1,method:"patch",mutation:!0,path:"/v1/spaces/{spaceId}/profile",queryParameters:[],requestBody:"json"},{description:"Archive a workflow at an explicit base revision.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}},{aliases:["idempotencyKey"],name:"Idempotency-Key",required:!0,schema:{maxLength:200,minLength:8,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}},{aliases:["ifMatch"],name:"If-Match",required:!0,schema:{maxLength:213,minLength:5,pattern:'^"[^"\\\\]{1,200}:[0-9]{1,10}"$',type:"string"}}],id:"workflows.archiveWorkflow",idempotent:!0,method:"delete",mutation:!0,path:"/v1/spaces/{spaceId}/workflows/{workflowId}",precondition:"if-match",queryParameters:[],requestBody:"none"},{description:"Cancel a public workflow run.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}},{aliases:["idempotencyKey"],name:"Idempotency-Key",required:!0,schema:{maxLength:200,minLength:8,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"workflows.cancelWorkflowRun",idempotent:!0,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/workflow-runs/{runId}/cancel",queryParameters:[],requestBody:"none"},{description:"Create a workflow and its initial revision.",bodyProperties:["description","key","metadata","name","source"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}},{aliases:["idempotencyKey"],name:"Idempotency-Key",required:!0,schema:{maxLength:200,minLength:8,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"workflows.createWorkflow",idempotent:!0,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/workflows",queryParameters:[],requestBody:"json"},{description:"Queue a production run for a published workflow.",bodyProperties:["caseId","input","workflowId"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}},{aliases:["idempotencyKey"],name:"Idempotency-Key",required:!0,schema:{maxLength:200,minLength:8,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"workflows.createWorkflowRun",idempotent:!0,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/workflow-runs",queryParameters:[],requestBody:"json"},{description:"Get one workflow.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"workflows.getWorkflow",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/workflows/{workflowId}",queryParameters:[],requestBody:"none"},{description:"Get one workflow revision.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"workflows.getWorkflowRevision",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/revisions/{revisionId}",queryParameters:[],requestBody:"none"},{description:"Get one public workflow run.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"workflows.getWorkflowRun",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/workflow-runs/{runId}",queryParameters:[],requestBody:"none"},{description:"List workflow applications and action capabilities available in a space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"workflows.listWorkflowCapabilities",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/workflow-capabilities",queryParameters:["cursor","limit","q"],requestBody:"none"},{description:"List revisions of one workflow.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"workflows.listWorkflowRevisions",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/revisions",queryParameters:["cursor","limit"],requestBody:"none"},{description:"List or briefly wait for status events for one public workflow run.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"workflows.listWorkflowRunEvents",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/workflow-runs/{runId}/events",queryParameters:["cursor","limit","waitSeconds"],requestBody:"none"},{description:"List public workflow runs in a space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"workflows.listWorkflowRuns",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/workflow-runs",queryParameters:["cursor","limit","status","workflowId"],requestBody:"none"},{description:"List workflows in a space.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"workflows.listWorkflows",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/workflows",queryParameters:["cursor","includeArchived","limit"],requestBody:"none"},{description:"Publish a validated workflow revision.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}},{aliases:["idempotencyKey"],name:"Idempotency-Key",required:!0,schema:{maxLength:200,minLength:8,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}},{aliases:["ifMatch"],name:"If-Match",required:!0,schema:{maxLength:213,minLength:5,pattern:'^"[^"\\\\]{1,200}:[0-9]{1,10}"$',type:"string"}}],id:"workflows.publishWorkflowRevision",idempotent:!0,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/revisions/{revisionId}/publish",queryParameters:[],requestBody:"none"},{description:"Execute a draft workflow revision in the test environment.",bodyProperties:["input"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}},{aliases:["idempotencyKey"],name:"Idempotency-Key",required:!0,schema:{maxLength:200,minLength:8,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}},{aliases:["ifMatch"],name:"If-Match",required:!0,schema:{maxLength:213,minLength:5,pattern:'^"[^"\\\\]{1,200}:[0-9]{1,10}"$',type:"string"}}],id:"workflows.testWorkflowRevision",idempotent:!0,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/revisions/{revisionId}/test",queryParameters:[],requestBody:"json"},{description:"Update a workflow by creating a revision from an explicit base revision.",bodyProperties:["baseRevisionId","description","metadata","name","source"],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}},{aliases:["idempotencyKey"],name:"Idempotency-Key",required:!0,schema:{maxLength:200,minLength:8,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}},{aliases:["ifMatch"],name:"If-Match",required:!0,schema:{maxLength:213,minLength:5,pattern:'^"[^"\\\\]{1,200}:[0-9]{1,10}"$',type:"string"}}],id:"workflows.updateWorkflow",idempotent:!0,method:"put",mutation:!0,path:"/v1/spaces/{spaceId}/workflows/{workflowId}",queryParameters:[],requestBody:"json"},{description:"Validate one workflow revision without executing it.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"workflows.validateWorkflowRevision",idempotent:!1,method:"post",mutation:!0,path:"/v1/spaces/{spaceId}/workflows/{workflowId}/revisions/{revisionId}/validate",queryParameters:[],requestBody:"none"},{description:"Wait briefly for one public workflow run to change state.",bodyProperties:[],headers:[{aliases:["correlationId","xActionCorrelationId"],name:"X-Action-Correlation-Id",required:!1,schema:{maxLength:128,minLength:1,pattern:"^[A-Za-z0-9._:-]+$",type:"string"}}],id:"workflows.waitForWorkflowRun",idempotent:!1,method:"get",mutation:!1,path:"/v1/spaces/{spaceId}/workflow-runs/{runId}/wait",queryParameters:["timeoutSeconds"],requestBody:"none"}];var n$=new Map(UI.map((e)=>[e.id,e]));var YI=4096,QI=new Set([".git",".DS_Store","node_modules"]);function eq(e,t){return Sc(e,t).split(Rc).join("/")}async function Oc(e,t,r){let n=await ZI(t,{withFileTypes:!0});for(let a of n){if(QI.has(a.name))continue;let i=JI(t,a.name);if(a.isDirectory())await Oc(e,i,r);else if(a.isFile())r.push(i)}}async function zc(e){let t=ua(e),r=[];try{await Oc(t,t,r)}catch{throw k(`Could not read the bundle directory ${e}.`)}if(r.length===0)throw k(`${e} contains no files to push.`);if(r.length>fo)throw k(`${e} holds ${r.length} files, more than the ${fo} a push sends. Point --dir at the skill bundle itself.`);let n=[];for(let o of r.sort()){let s=await GI(o);n.push({contentBase64:s.toString("base64"),path:eq(t,o)})}let a=Buffer.byteLength(JSON.stringify(n),"utf8"),i=xc-YI;if(a>i)throw k(`${e} encodes to ${a} bytes, over the ${i} a push can send. Point --dir at the skill bundle itself, or split the bundle.`);return n}function tq(e){throw k(`The bundle contains a path that escapes the output directory: ${e}.`)}function rq(e,t){let r=ua(e,t),n=Sc(e,r),a=n===".."||n.startsWith(`..${Rc}`);if(n===""||a||ua(e,n)!==r)tq(t);return r}async function jc(e,t,r){let n=ua(e);await Pc($c(n),{recursive:!0});let a=await KI(n).catch(()=>null);if(a&&!r.force)throw k(`${e} already exists. Pass --force to replace its contents with this version's bundle.`);let i=await FI(`${n}.pull-`),o=null;try{for(let s of t){let d=rq(i,s.path);await Pc($c(d),{recursive:!0}),await HI(d,Buffer.from(s.contentBase64,"base64"))}if(a)await ho(n,`${i}.replaced`),o=`${i}.replaced`;try{await ho(i,n)}catch(s){let d=o;if(o=null,d)await ho(d,n).catch(()=>{throw k(`${e} could not be restored after a failed pull. The previous bundle is at ${d}.`)});throw s}if(o)await Lc(o,{force:!0,recursive:!0}).catch(()=>{});return o=null,t.map((s)=>s.path).sort()}finally{await Lc(i,{force:!0,recursive:!0})}}function go(e,t){return[...t,e]}async function Ec(e,t){return(await e.get({skillId:t})).value.definition.tags}async function nq(e,t,r){let n=r.add.length>0||r.remove.length>0,a=r.set.length>0||r.clear;if(n&&a)throw k("Use --add/--remove to change tags, or --set/--clear to replace them.");if(r.clear&&r.set.length>0)throw k("--clear removes every tag, so it cannot be combined with --set.");if(r.clear)return{tags:[]};if(r.set.length>0)return{tags:[...new Set(r.set)]};if(!n)return null;let i=await Ec(e,t),o=new Set(r.remove),s=i.filter((d)=>!o.has(d));return{expectedTags:i,tags:[...new Set([...s,...r.add])]}}function aq(e){let t=e.files;if(!(Array.isArray(t)&&t.length>0&&t.every((n)=>typeof n.path==="string"&&typeof n.contentBase64==="string")))throw Ke("The Action API returned a skill version with no bundle files.");if(!t.some((n)=>n.path.trim().replace(/\\/gu,"/")==="SKILL.md"))throw Ke("The Action API returned a bundle with no SKILL.md.");return t}async function iq(e,t,r){let i=(await e.get({skillId:t})).value.versions.filter((o)=>o.status===r).sort((o,s)=>s.versionNumber-o.versionNumber)[0];if(!i)throw k(`Skill ${t} has no ${r} version. Pass --version to pull a specific one.`);return i.id}function yo(e,t,r){let n=e.command("skill-project").description("Author skill bundles and merge tags safely"),a=async(o,s)=>{let d=r(o),c=(await de(o,t,{reporter:d})).skills,l=await s(c);d.result(l.value,l.human)},i=async(o,s,d)=>{if(await an({command:o,dependencies:t,message:s,yes:d}))return!0;let c=on();return r(o).result(c.value,c.human),!1};n.command("tags").description("Show or change a skill's tags").argument("<id>","skill ID").option("--add <tag>","add a tag, keeping the rest, repeatable",go,[]).option("--remove <tag>","remove a tag, keeping the rest, repeatable",go,[]).option("--set <tag>","replace every tag with these, repeatable",go,[]).option("--clear","remove every tag",!1).option("--yes","confirm the tag mutation",!1).action(async(o,s,d)=>{let c=r(d),l=(await de(d,t,{reporter:c})).skills,u=await nq(l,o,s);if(!u){let h=await Ec(l,o);c.result({skillId:o,tags:h},h.join(", ")||"No tags.");return}if(!await i(d,`Update tags for skill ${o}?`,s.yes))return;let m=await l.updateTags({skillId:o,...u});c.result(m.value,m.human)}),n.command("pull").description("Write a skill version's bundle files into a directory").argument("<id>","skill ID").option("--dir <path>","directory to write the bundle into").option("--version <id>","skill version to pull; defaults to the published one").option("--draft","pull the open draft instead of the published version",!1).option("--force","replace the directory's contents if it already exists",!1).action(async(o,s,d)=>{let c=r(d),l=(await de(d,t,{reporter:c})).skills,u=s.dir??o,m=s.version??await iq(l,o,s.draft?"draft":"published"),h=await l.getVersion({skillId:o,skillVersionId:m}),f=await jc(u,aq(h.value),{force:s.force});c.result({directory:u,files:f,skillId:o,skillVersionId:m},`Wrote ${f.length} file${f.length===1?"":"s"} to ${u}.`)}),n.command("push").description("Create a draft version from a directory of bundle files").argument("<id>","skill ID").option("--dir <path>","directory holding the bundle").option("--yes","confirm draft creation",!1).action(async(o,s,d)=>{let c=await zc(s.dir??o);if(!await i(d,`Create a draft bundle for skill ${o}?`,s.yes))return;await a(d,async(l)=>await l.createVersion({body:{files:c},skillId:o}))})}function Io(e,t,r){let n=e.command("context").description("Manage the active organization and space");n.command("list").description("List spaces available to the selected principal").action(async(a,i)=>{let o=r(i),d=await(await de(i,t,{reporter:o})).context.list();o.result(d.value,d.human)}),n.command("show").description("Show the active profile, organization, and space").action(async(a,i)=>{let o=r(i),d=await(await de(i,t,{reporter:o})).context.show();o.result(d.value,d.human)}),n.command("use").description("Select a space by ID or key for the active profile").argument("<space>","space ID or key").action(async(a,i,o)=>{let s=r(o),c=await(await de(o,t,{reporter:s})).context.use(a);s.result(c.value,c.human)})}import{open as oq}from"node:fs/promises";var tr=262144;function Tc(e,t){if(Buffer.byteLength(e,"utf8")>tr)throw k(`${t} must be ${tr} bytes or smaller.`)}async function sq(e){let t=[],r=0;for await(let n of process.stdin){let a=Buffer.isBuffer(n)?n:Buffer.from(String(n));if(r+=a.byteLength,r>tr)throw k(`${e} must be ${tr} bytes or smaller.`);t.push(a)}return Buffer.concat(t).toString("utf8")}async function dq(e,t){if(e==="-")return await sq(t);let r=await oq(e,"r");try{let n=Buffer.alloc(tr+1),a=0;while(a<n.byteLength){let{bytesRead:i}=await r.read(n,a,n.byteLength-a,a);if(i===0)break;a+=i}if(a>tr)throw k(`${t} must be ${tr} bytes or smaller.`);return n.subarray(0,a).toString("utf8")}finally{await r.close()}}async function Cr(e,t,r="Workflow input"){if(e.input!==void 0===(e.inputFile!==void 0))throw k("Specify exactly one of --input or --input-file.");if(e.input!==void 0)return Tc(e.input,r),Ui(e.input);return Ui(await qo(e.inputFile,t,r),"--input-file")}async function qo(e,t,r="Message"){let n;try{n=e==="-"&&t.readStdin?await t.readStdin():await dq(e,r)}catch(a){if(a instanceof R)throw a;throw k(`Could not read ${r.toLowerCase()} from ${e}.`)}return Tc(n,r),n}var Xc=new Set(["queued","running","waiting","succeeded","failed","cancelled"]);function cq(e){if(e===void 0)return;if(!/^\d+$/u.test(e))throw k("--limit must be an integer between 1 and 100.");let t=Number(e);if(!Number.isInteger(t)||t<1||t>100)throw k("--limit must be an integer between 1 and 100.");return t}function lq(e){if(e===void 0)return;if(!Xc.has(e))throw k(`--status must be one of: ${[...Xc].join(", ")}.`);return e}function uq(e){return`${e.createdAt} ${e.type} ${e.id} ${JSON.stringify(e.data)}`}async function pq(e){let t=new AbortController,r=()=>t.abort();process.once("SIGINT",r);try{return await e(t.signal)}finally{process.removeListener("SIGINT",r)}}async function In(e,t,r){return(await de(e,t,{reporter:r})).workflows}function mq(e,t,r){if(!r){e.result(t.value,t.human);return}let n=t.value;e.stream({eventCount:n.eventCount,nextCursor:n.nextCursor,run:n.run,stopped:n.stopped,type:"summary"},"",!0)}function wo(e,t,r){e.command("run").description("Run the published workflow revision in production").argument("<key>","workflow key").option("--input <json>","JSON workflow input (visible in process arguments)").option("--input-file <path>","read JSON workflow input from a file, or - for stdin").option("--wait","wait for a terminal run state",!1).action(async(a,i,o)=>{let s=r(o),d=await(await In(o,t,s)).run({input:await Cr(i,t),key:a,wait:i.wait??!1});s.result(d.value,d.human)});let n=e.command("runs").description("Inspect and control production workflow runs");n.command("list").description("List a cursor-bounded page of workflow runs").option("--cursor <cursor>","opaque resume cursor").option("--limit <number>","page size from 1 to 100").option("--status <status>","filter by run status").option("--workflow <key>","filter by workflow key").action(async(a,i)=>{let o=r(i),s=cq(a.limit),d=lq(a.status),c=await(await In(i,t,o)).runsList({...a.cursor?{cursor:a.cursor}:{},...s?{limit:s}:{},...d?{status:d}:{},...a.workflow?{workflowKey:a.workflow}:{}});o.result(c.value,c.human)}),n.command("get").description("Get one workflow run").argument("<run-id>","workflow run ID").action(async(a,i,o)=>{let s=r(o),d=await(await In(o,t,s)).runGet({runId:a});s.result(d.value,d.human)}),n.command("watch").description("Watch durable workflow-run events until completion or Ctrl-C").argument("<run-id>","workflow run ID").option("--cursor <cursor>","opaque event resume cursor").option("--jsonl","stream one stable JSON object per line",!1).action(async(a,i,o)=>{let s=r(o),d=i.jsonl??!1;if(d&&s.json)throw k("--jsonl cannot be combined with the global --json option.");let c=await pq(async(l)=>(await In(o,t,s)).runWatch({captureEvents:s.json,...i.cursor?{cursor:i.cursor}:{},...!s.json?{onEvent:(u)=>s.stream({event:u,type:"event"},uq(u),d)}:{},runId:a,signal:l}));mq(s,c,d)}),n.command("cancel").description("Request cancellation of one workflow run").argument("<run-id>","workflow run ID").action(async(a,i,o)=>{let s=r(o),d=await(await In(o,t,s)).runCancel({runId:a});s.result(d.value,d.human)})}async function Te(e,t,r){return(await de(e,t,{reporter:r})).workflows}function bo(e,t,r){let n=e.command("workflow-project").description("Author and manage workflows as code");wo(n,t,r),n.command("init").description("Initialize a local Action workflow project").argument("[directory]","project directory").action(async(a,i,o)=>{let s=r(o),d=await(await Te(o,t,s)).init({...a?{directory:a}:{}});s.result(d.value,d.human)}),n.command("capabilities").description("Discover workflow application actions and connected accounts").argument("[application]","application slug or name; include it to fetch full action schemas").action(async(a,i,o)=>{let s=r(o),d=await(await Te(o,t,s)).capabilities({...a?{application:a}:{}});s.result(d.value,d.human)}),n.command("list").description("List workflows in the active space").option("--include-archived","include archived workflows",!1).action(async(a,i)=>{let o=r(i),s=await(await Te(i,t,o)).list({includeArchived:a.includeArchived===!0});o.result(s.value,s.human)}),n.command("pull").description("Pull latest workflow revisions into the local project").argument("[key]","workflow key").option("--published","pull published revisions for inspection",!1).option("--output <directory>","output directory for --published").option("--force","overwrite local divergence",!1).action(async(a,i,o)=>{let s=r(o);if(i.published&&!i.output)throw k("--published requires --output so inspection files cannot replace the authoring base.");if(i.output&&!i.published)throw k("--output can only be used with --published.");let d=await(await Te(o,t,s)).pull({force:i.force??!1,...a?{key:a}:{},...i.output?{outputDirectory:i.output}:{},published:i.published??!1});s.result(d.value,d.human)}),n.command("status").description("Compare local workflows with their lockfile and remote revisions").option("--offline","compare only local state and the lockfile",!1).action(async(a,i)=>{let o=r(i),s=await(await Te(i,t,o)).status({offline:a.offline??!1});o.result(s.value,s.human)}),n.command("diff").description("Show canonical metadata and source differences").argument("<key>","workflow key").action(async(a,i,o)=>{let s=r(o),d=await(await Te(o,t,s)).diff({key:a});s.result(d.value,d.human)}),n.command("validate").description("Validate local workflow files and optionally the remote draft").argument("[key]","workflow key").option("--remote","also validate the matching remote revision",!1).action(async(a,i,o)=>{let s=r(o),d=await(await Te(o,t,s)).validate({...a?{key:a}:{},remote:i.remote??!1});s.result(d.value,d.human)}),n.command("push").description("Create or update workflow drafts without publishing").argument("[key]","workflow key").action(async(a,i,o)=>{let s=r(o),d=await(await Te(o,t,s)).push({...a?{key:a}:{}});s.result(d.value,d.human)}),n.command("test").description("Start a real test run for one unpublished workflow draft").addHelpText("after",`
|
|
202
202
|
This is not a simulated dry run. Connector actions may change external systems.`).argument("<key>","workflow key").option("--input <json>","JSON test input (visible in process arguments)").option("--input-file <path>","read JSON test input from a file, or - for stdin").option("--wait","wait for the test run to finish",!1).action(async(a,i,o)=>{let s=r(o),d=await(await Te(o,t,s)).test({input:await Cr(i,t),key:a,wait:i.wait??!1});s.result(d.value,d.human)}),n.command("publish").description("Publish one exact workflow revision").argument("<key>","workflow key").option("--revision <revision-id>","revision to publish; defaults to the locked latest revision").option("--yes","confirm the production change",!1).action(async(a,i,o)=>{let s=r(o);if(!await an({command:o,dependencies:t,message:`Publish workflow "${a}" to production?`,yes:i.yes??!1})){let l=on();s.result(l.value,l.human);return}let c=await(await Te(o,t,s)).publish({confirmed:!0,key:a,...i.revision?{revisionId:i.revision}:{}});s.result(c.value,c.human)}),n.command("archive").description("Archive one workflow without deleting its history").argument("<key>","workflow key").option("--yes","confirm the production change",!1).action(async(a,i,o)=>{let s=r(o);if(!await an({command:o,dependencies:t,message:`Archive workflow "${a}"?`,yes:i.yes??!1})){let l=on();s.result(l.value,l.human);return}let c=await(await Te(o,t,s)).archive({confirmed:!0,key:a});s.result(c.value,c.human)}),n.command("revisions").description("List immutable revisions for one workflow").argument("<key>","workflow key").action(async(a,i,o)=>{let s=r(o),d=await(await Te(o,t,s)).revisions({key:a});s.result(d.value,d.human)})}import{homedir as fq}from"node:os";import{posix as hq,win32 as gq}from"node:path";function vo(e={}){let t=e.env??process.env,r=e.homeDir?.trim()||t.HOME?.trim()||fq();if(!r)throw Error("The Action CLI could not determine the current user's home directory.");let n=e.platform??process.platform,a=t.XDG_CONFIG_HOME?.trim(),i=n==="win32"?gq:hq,o=n==="win32"?i.join(t.APPDATA?.trim()||i.join(r,"AppData","Roaming"),"action"):n==="darwin"?i.join(r,"Library","Application Support","action"):i.join(a||i.join(r,".config"),"action");return{configDir:o,profilesFile:i.join(o,"profiles.json")}}import{closeSync as _r,chmodSync as yq,constants as yt,mkdirSync as Iq,openSync as pa,readFileSync as ko,renameSync as qq,unlinkSync as qn,writeSync as Wc,fsyncSync as Ao,fchmodSync as Dc,lstatSync as _o}from"node:fs";import{randomUUID as Vc}from"node:crypto";var wq=/^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$/u,ma=384,Nc=448,Co=1,bq=5000,vq=300000,Aq=25,Cq=new Int32Array(new SharedArrayBuffer(4));class j extends Error{constructor(e){super(e);this.name="ProfileConfigError"}}function kq(){return{currentProfile:null,profiles:Object.create(null),version:Co}}function _t(e,t){return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0}function xr(e,t,r=500){if(typeof e!=="string"||!e.trim()||e.length>r)throw new j(`${t} must be a non-empty string.`);return e.trim()}function _q(e,t){if(e===void 0)return;if(e===null)return null;return xr(e,t,300)}function He(e){let t=e.trim();if(!wq.test(t))throw new j("Profile names must start with a letter or number and contain at most 64 letters, numbers, dots, underscores, or hyphens.");return t}function xq(e,t){let r=xr(e,t,2000),n;try{n=new URL(r)}catch{throw new j(`${t} must be a valid URL.`)}if(n.protocol!=="https:")throw new j(`${t} must use HTTPS.`);if(n.username||n.password||n.search||n.hash)throw new j(`${t} cannot contain credentials, a query, or a fragment.`);if(n.pathname!=="/")throw new j(`${t} must be an HTTPS origin without a path.`);return n.origin}function Pq(e){let t=xr(e,"apiUrl",2000),r;try{r=new URL(t)}catch{throw new j("apiUrl must be a valid URL.")}let n=r.hostname==="localhost"||r.hostname==="127.0.0.1"||r.hostname==="[::1]";if(r.protocol!=="https:"&&!(r.protocol==="http:"&&n))throw new j("apiUrl must use HTTPS, except for a local loopback URL.");if(r.username||r.password||r.search||r.hash)throw new j("apiUrl cannot contain credentials, a query, or a fragment.");return r.pathname=r.pathname.replace(/\/+$/u,""),r.toString().replace(/\/$/u,"")}function kr(e,t){if(e===null)return null;if(!e||typeof e!=="object"||Array.isArray(e))throw new j(`${t} must be an object or null.`);let r=e,n=_q(r.name,`${t}.name`);return{id:xr(r.id,`${t}.id`,300),...n!==void 0?{name:n}:{}}}function Mc(e){if(!e||typeof e!=="object"||Array.isArray(e))throw new j("Each profile must be an object.");let t=e;if(!t.auth||typeof t.auth!=="object"||Array.isArray(t.auth))throw new j("profile.auth must be an object.");let r=t.auth;return{apiUrl:Pq(t.apiUrl),auth:{clientId:xr(r.clientId,"profile.auth.clientId",300),issuer:xq(r.issuer,"profile.auth.issuer")},organization:kr(t.organization,"profile.organization"),space:kr(t.space,"profile.space")}}function Lq(e){let t;try{t=JSON.parse(e)}catch{throw new j("The Action CLI profile configuration is not valid JSON.")}if(!t||typeof t!=="object"||Array.isArray(t))throw new j("The Action CLI profile configuration must be an object.");let r=t;if(r.version!==Co)throw new j("The Action CLI profile configuration version is unsupported.");if(!r.profiles||typeof r.profiles!=="object"||Array.isArray(r.profiles))throw new j("profiles must be an object.");let n=Object.create(null);for(let[i,o]of Object.entries(r.profiles))n[He(i)]=Mc(o);let a=r.currentProfile===null?null:He(xr(r.currentProfile,"currentProfile",64));if(a&&!_t(n,a))throw new j(`The current profile "${a}" does not exist.`);return{currentProfile:a,profiles:n,version:Co}}function $q(e){try{let r=_o(e);if(r.isSymbolicLink()||!r.isFile())throw new j("The profile configuration must be a regular file, not a link.")}catch(r){if(r.code==="ENOENT")return null;throw r}let t;try{t=pa(e,yt.O_RDONLY|(yt.O_NOFOLLOW??0))}catch(r){if(r.code==="ENOENT")return null;if(r.code==="ELOOP")throw new j("The profile configuration must not be a symbolic link.");throw r}try{return Dc(t,ma),ko(t,"utf8")}finally{_r(t)}}function xo(e){Iq(e.configDir,{mode:Nc,recursive:!0});let t=_o(e.configDir);if(t.isSymbolicLink()||!t.isDirectory())throw new j("The Action CLI configuration directory must be a real directory, not a link.");yq(e.configDir,Nc)}function Sq(e){let t;try{t=_o(e)}catch(n){if(n.code==="ENOENT")return!0;throw n}if(t.isSymbolicLink()||!t.isFile())throw new j("The Action CLI profile lock must be a regular file.");let r={};try{r=JSON.parse(ko(e,"utf8"))}catch{}if(typeof r.pid==="number")try{return process.kill(r.pid,0),!1}catch(n){if(n.code!=="ESRCH")return!1;return qn(e),!0}if(Date.now()-t.mtimeMs<=vq)return!1;return qn(e),!0}function Rq(e,t){try{if(JSON.parse(ko(e,"utf8")).token===t)qn(e)}catch(r){if(r.code!=="ENOENT")throw r}}function rr(e,t){xo(e);let r=`${e.profilesFile}.lock`,n=Date.now()+bq,a=Vc();while(!0){let i=null,o=!1;try{i=pa(r,yt.O_CREAT|yt.O_EXCL|yt.O_WRONLY,ma),o=!0,Wc(i,JSON.stringify({pid:process.pid,token:a})),Ao(i),_r(i),i=null;break}catch(s){if(i!==null)_r(i);if(o)try{qn(r)}catch{}if(s.code!=="EEXIST")throw s;if(Sq(r))continue;if(Date.now()>=n)throw new j("Another Action CLI process is updating the profile file.");Atomics.wait(Cq,0,0,Aq)}}try{return t()}finally{Rq(r,a)}}function nr(e,t){xo(e);let r=`${e.profilesFile}.${process.pid}.${Vc()}.tmp`,n=null;try{n=pa(r,yt.O_CREAT|yt.O_EXCL|yt.O_WRONLY,ma);let a=`${JSON.stringify(t,null,2)}
|
|
203
203
|
`;if(Wc(n,a,void 0,"utf8"),Dc(n,ma),Ao(n),_r(n),n=null,qq(r,e.profilesFile),process.platform!=="win32"){let i=pa(e.configDir,yt.O_RDONLY);try{Ao(i)}finally{_r(i)}}}catch(a){if(n!==null)_r(n);try{qn(r)}catch{}throw a}}function kt(e,t){return{name:e,apiUrl:t.apiUrl,auth:{...t.auth},organization:t.organization?{...t.organization}:null,space:t.space?{...t.space}:null}}class fa{paths;constructor(e=vo()){this.paths=e}loadDocument(){xo(this.paths);let e=$q(this.paths.profilesFile);return e===null?kq():Lq(e)}list(){let e=this.loadDocument();return Object.entries(e.profiles).sort(([t],[r])=>t.localeCompare(r)).map(([t,r])=>kt(t,r))}currentName(){return this.loadDocument().currentProfile}get(e){let t=this.loadDocument(),r=e?He(e):t.currentProfile;if(!r)throw new j("No Action CLI profile is selected.");let n=_t(t.profiles,r);if(!n)throw new j(`Action CLI profile "${r}" does not exist.`);return kt(r,n)}upsert(e,t,r=!1){let n=He(e),a=Mc(t);if(a.space&&!a.organization)throw new j("A space cannot be selected without an organization.");return rr(this.paths,()=>{let i=this.loadDocument();if(i.profiles[n]=a,r||!i.currentProfile)i.currentProfile=n;return nr(this.paths,i),kt(n,a)})}use(e){let t=He(e);return rr(this.paths,()=>{let r=this.loadDocument(),n=_t(r.profiles,t);if(!n)throw new j(`Action CLI profile "${t}" does not exist.`);return r.currentProfile=t,nr(this.paths,r),kt(t,n)})}remove(e){let t=He(e);rr(this.paths,()=>{let r=this.loadDocument();if(!_t(r.profiles,t))throw new j(`Action CLI profile "${t}" does not exist.`);if(delete r.profiles[t],r.currentProfile===t)r.currentProfile=Object.keys(r.profiles).sort()[0]??null;nr(this.paths,r)})}selectOrganization(e,t){let r=He(e),n=kr(t,"organization");return rr(this.paths,()=>{let a=this.loadDocument(),i=_t(a.profiles,r);if(!i)throw new j(`Action CLI profile "${r}" does not exist.`);return i.organization=n,i.space=null,nr(this.paths,a),kt(r,i)})}selectSpace(e,t){let r=He(e),n=kr(t,"space");return rr(this.paths,()=>{let a=this.loadDocument(),i=_t(a.profiles,r);if(!i)throw new j(`Action CLI profile "${r}" does not exist.`);if(!i.organization)throw new j("Select an organization before selecting a space.");return i.space=n,nr(this.paths,a),kt(r,i)})}selectContext(e,t,r){let n=He(e),a=kr(t,"organization"),i=kr(r,"space");return rr(this.paths,()=>{let o=this.loadDocument(),s=_t(o.profiles,n);if(!s)throw new j(`Action CLI profile "${n}" does not exist.`);return s.organization=a,s.space=i,nr(this.paths,o),kt(n,s)})}clearContext(e){let t=He(e);return rr(this.paths,()=>{let r=this.loadDocument(),n=_t(r.profiles,t);if(!n)throw new j(`Action CLI profile "${t}" does not exist.`);return n.organization=null,n.space=null,nr(this.paths,r),kt(t,n)})}}function ha(e,t){e.write(t.endsWith(`
|
|
204
204
|
`)?t:`${t}
|
|
@@ -238,7 +238,7 @@ export default workflow({
|
|
|
238
238
|
});
|
|
239
239
|
`)}catch(i){await Promise.all(n.map((s)=>y_(s)));let o=i.code==="EEXIST";throw new R(o?"scaffold_conflict":"scaffold_failed",o?"Scaffold files changed during initialization. No existing files were overwritten.":"Could not create the workflow scaffold.",{cause:i,exitCode:o?P.conflict:P.validation})}return t}import{access as I_,mkdir as q_,realpath as w_}from"node:fs/promises";import{basename as b_,dirname as v_,isAbsolute as A_,join as Vh,relative as C_}from"node:path";function Ai(e){return e?{keys:[e]}:{}}function ft(e,t="No workflows found."){return e.length>0?e.join(`
|
|
240
240
|
`):t}function Ci(e,t){return t.output===null?e:`${e}
|
|
241
|
-
${JSON.stringify(t.output,null,2)}`}async function k_(e){try{return await I_(e),!0}catch(t){if(t.code==="ENOENT")return!1;throw t}}function __(e){if(e instanceof ae)return{code:e.code,...e.correlationId?{correlationId:e.correlationId}:{},...e.details?{details:e.details}:{},message:e.message,retryable:e.retryable,...e.status!==null?{status:e.status}:{}};if(e instanceof R)return{code:e.code,...e.details!==void 0?{details:e.details}:{},message:e.message};if(er(e))return{code:"authentication_failed",message:e instanceof Error?e.message:"Authentication failed.",retryable:!1};let t=e;return{code:typeof t?.code==="string"?t.code:"workflow_push_failed",message:typeof t?.message==="string"?t.message:"The workflow could not be pushed."}}function Xh(e){let t=e;return{error:__(e.error),key:e.key,...typeof t.revisionId==="string"?{revisionId:t.revisionId}:{},...typeof t.workflowId==="string"?{workflowId:t.workflowId}:{}}}function Nh(e,t){return new R("validation_failed",e,{details:{workflows:t},exitCode:P.validation})}function Wh(e){if(e.status!=="failed"&&e.status!=="cancelled")return;throw new R("workflow_run_failed",`Run ${e.id} finished with status ${e.status}.`,{details:{run:e},exitCode:P.remote})}class Qs extends R{constructor(e){let t=e.failures.map(Xh),r=e.validationFailures.map(Xh),n=e.items.filter((o)=>!o.validation.ok),a=new Set([...e.skipped,...e.items.filter((o)=>o.validation.ok).map((o)=>o.key)]),i=new Set([...t.map((o)=>o.key),...r.map((o)=>o.key),...n.map((o)=>o.key)]);super("partial_failure",a.size>0?`Push completed for ${a.size} workflow(s); ${i.size} workflow(s) failed.`:`Push failed for ${i.size} workflow(s).`,{details:{failures:t,items:e.items,skipped:e.skipped,validationFailures:r},exitCode:P.partial});this.name="WorkflowPartialFailureError"}}async function Ys(e){try{return await w_(e)}catch(t){if(t.code!=="ENOENT")throw t;let r=v_(e);return r===e?e:Vh(await Ys(r),b_(e))}}function Dh(e,t){let r=C_(e,t);return r===""||!r.startsWith("..")&&!A_(r)}async function x_(e,t){let r=await Ys(me(e).workflows),n=await Ys(me(t).workflows);if(Dh(r,n)||Dh(n,r))throw new R("workflow_conflict","Published inspection output must not overlap the active project's workflows directory.",{exitCode:P.conflict})}function Mh(e){return{async init(t){let r=e.resolveDirectory(t.directory),n=Vh(r,"action.json");if(await k_(n))throw new R("project_exists",`An Action project already exists at ${r}.`,{exitCode:P.conflict});let a=await e.initializationContext();return await Th(r),await eh(r,a),{human:`Initialized an Action workflow project at ${r} with workflows/example. Run action workflow-project validate there.`,value:{contextConfigured:Boolean(a),projectRoot:r}}},async capabilities(t){let r=await(await e.workflowService({projectRequired:!1})).capabilities(t.application),n={applications:r,query:t.application??null};if(!t.application)return{human:ft(r.map((a)=>`${a.slug} ${a.displayName} ${a.connectionStatus}`),"No workflow applications found."),value:n};return{human:ft(r.flatMap((a)=>[`${a.slug} ${a.displayName} ${a.connectionStatus}`,...a.connectorInstances.map((i)=>`connection ${i.id} ${i.label??i.displayName}`),...a.actions.map((i)=>`action ${i.effect} ${i.name}`),...a.readActions.map((i)=>`read-action ${i.effect} ${i.name}`)]),"No matching workflow applications found."),value:n}},async list(t){let n={workflows:(await(await e.workflowService({projectRequired:!1})).list({includeArchived:t.includeArchived})).map((a)=>({archivedAt:a.archivedAt,hasUnpublishedChanges:a.hasUnpublishedChanges,id:a.id,key:a.key,latestRevisionId:a.latestRevisionId,name:a.name,publishedRevisionId:a.publishedRevisionId}))};return{human:ft(n.workflows.map((a)=>`${a.key} ${a.name} ${a.archivedAt?"archived":a.hasUnpublishedChanges?"draft":"published"}`)),value:n}},async pull(t){if(t.published){if(!t.outputDirectory)throw Error("Published pull requires an output directory.");let i=e.resolveDirectory(t.outputDirectory);await x_(await e.projectRoot(),i),await q_(i,{recursive:!0});let s=await(await e.workflowService()).pullPublished({force:t.force,...Ai(t.key),outputRoot:i}),d={outputRoot:i,skippedUnpublished:s.skippedUnpublished,workflows:s.workflows.map((c)=>({contentDigest:c.contentDigest,key:c.manifest.key,revisionId:c.latestRevisionId,workflowId:c.workflowId})),written:s.written};return{human:ft([...d.written.map((c)=>`pulled ${c}`),...d.skippedUnpublished.map((c)=>`skipped-unpublished ${c}`)],"Published workflows are already up to date."),value:d}}let n=await(await e.workflowService()).pull({force:t.force,...Ai(t.key)}),a={preserved:n.preserved,refusals:n.refusals,statuses:n.statuses,written:n.writes.map((i)=>i.key)};return{human:ft(a.written.map((i)=>`pulled ${i}`),"Workflows are up to date."),value:a}},async status(t){let r=await(await e.workflowService()).status({offline:t.offline});return{human:ft(r.map((n)=>`${n.status} ${n.key}`),"No local or remote workflows found."),value:{offline:t.offline,workflows:r}}},async diff(t){let r=await Ph(await e.projectRoot(),t.key)??await(await e.workflowService()).diff(t.key);return{human:r.diff||`No changes for ${t.key}.`,value:r}},async validate(t){let r=t.remote?await(await e.workflowService()).validate({...Ai(t.key),remote:!0}):await Lh(await e.projectRoot(),t.key?[t.key]:void 0),n=r.filter((a)=>a.remote?.state==="validated"&&!a.remote.result.ok);if(n.length>0)throw Nh(`Remote validation failed for ${n.map((a)=>a.key).join(", ")}.`,n);return{human:ft(r.map((a)=>`${a.remote?a.remote.state==="validated"?a.remote.result.ok?"remote-valid":"remote-invalid":`remote-skipped:${a.remote.reason}`:"local-valid"} ${a.key}`)),value:{workflows:r}}},async push(t){let r=await(await e.workflowService()).push({...Ai(t.key)}),n=r.items.filter((c)=>!c.validation.ok),a=new Set([...r.failures.map((c)=>c.key),...r.validationFailures.map((c)=>c.key),...n.map((c)=>c.key)]),i=new Set([...r.skipped,...r.items.filter((c)=>c.validation.ok).map((c)=>c.key)]),o=r.failures.length>0||r.validationFailures.length>0;if(a.size>0&&(i.size>0||o&&a.size>1))throw new Qs(r);let s=r.failures[0];if(s)throw s.error;let d=r.validationFailures[0];if(d)throw d.error;if(n.length>0)throw Nh(`Workflow validation failed for ${n.map((c)=>c.key).join(", ")}.`,n);return{human:ft([...r.items.map((c)=>`${c.created?"created":"updated"} ${c.key}`),...r.skipped.map((c)=>`unchanged ${c}`)],"Workflows are already up to date."),value:{failures:[],skipped:r.skipped,workflows:r.items}}},async test(t){let r=await e.workflowService(),n=await r.test(t.key,t.input),a=t.wait?await r.waitForRun(n):n;if(t.wait)Wh(a);return{human:t.wait?Ci(`Test run ${a.id} finished with status ${a.status}.`,a):`Started test run ${a.id} (${a.status}).`,value:{run:a,waited:t.wait}}},async run(t){let r=await e.workflowService({projectRequired:!1}),n=await r.run(t.key,t.input),a=t.wait?await r.waitForRun(n):n;if(t.wait)Wh(a);return{human:t.wait?Ci(`Run ${a.id} finished with status ${a.status}.`,a):`Started production run ${a.id} (${a.status}).`,value:{run:a,waited:t.wait}}},async runsList(t){let r=await(await e.workflowService({projectRequired:!1})).runs({...t.cursor?{cursor:t.cursor}:{},...t.limit?{pageSize:t.limit}:{},...t.status?{status:t.status}:{},...t.workflowKey?{workflowKey:t.workflowKey}:{}});return{human:ft(r.data.map((n)=>`${n.id} ${n.status} ${n.workflowId} ${n.createdAt}`),"No workflow runs found."),value:{nextCursor:r.nextCursor,runs:r.data}}},async runGet(t){let r=await(await e.workflowService({projectRequired:!1})).getRun(t.runId);return{human:Ci(`${r.id} ${r.status} ${r.workflowId} ${r.updatedAt}`,r),value:{run:r}}},async runWatch(t){let r=await(await e.workflowService({...t.signal?{abortSignal:t.signal}:{},projectRequired:!1})).watchRun(t);return{human:r.stopped?`Stopped watching ${r.run.id}; the remote run was not cancelled.`:Ci(`Run ${r.run.id} finished with status ${r.run.status}.`,r.run),value:r}},async runCancel(t){let r=await(await e.workflowService({projectRequired:!1})).cancelRun(t.runId);return{human:`Cancellation requested for ${r.id} (${r.status}).`,value:{run:r}}},async publish(t){let r=await(await e.workflowService()).publish(t.key,t.revisionId);return{human:`Published ${t.key} at revision ${r.revisionId}.`,value:{key:t.key,publication:r}}},async archive(t){let r=await(await e.workflowService()).archive(t.key);return{human:`Archived ${t.key}.`,value:{workflow:{archivedAt:r.archivedAt,id:r.id,key:r.key,latestRevisionId:r.latestRevisionId}}}},async revisions(t){let r=await(await e.workflowService({projectRequired:!1})).revisions(t.key);return{human:ft(r.map((n)=>`${n.revisionNumber} ${n.status} ${n.id} ${n.contentDigest}`),`No revisions found for ${t.key}.`),value:{key:t.key,revisions:r}}}}}function Bh(e){let t=async(r,n,a)=>{let i=(await e.remoteSelection()).space.id;try{let o=await yr({operation:r,parameters:{...n,spaceId:i},...a===void 0?{}:{body:a},baseUrl:e.apiUrl(),tokenProvider:async()=>(await e.credential()).authorization,cwd:e.cwd(),env:e.env,...e.generatedBinaryPath?{binaryPath:e.generatedBinaryPath}:{}});return{value:o,human:()=>JSON.stringify(o,null,2)}}catch(o){throw Ct(o)}};return{get:async(r)=>await t("skills.getSkill",r),getVersion:async(r)=>await t("skills.getSkillVersion",r),createVersion:async({skillId:r,body:n})=>await t("skills.createSkillVersion",{skillId:r},n),updateTags:async({skillId:r,...n})=>await t("skills.updateSkillTags",{skillId:r},n)}}var Ng=fd(jg(),1);var Eg={operations:{"access.createPolicy":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{status:{type:"string",enum:["draft","published"]},name:{type:"string"},description:{type:["null","string"]},maxAccessMinutes:{type:["null","number"]},recommendedAccessMinutes:{type:["null","number"]},businessJustificationMode:{type:"string",enum:["not_required","required","advanced"]},requireBusinessJustification:{type:"boolean"},businessJustificationSpec:{type:["null","string"]},businessJustificationApprovalMode:{type:"string",enum:["auto","escalate"]},businessJustificationRejectionMode:{type:"string",enum:["auto","escalate"]},allowSelfApproval:{type:"boolean"},autoApproveWhenRequesterIsApprover:{type:"boolean"},approvalStages:{maxItems:20,type:"array",items:{type:"object",properties:{name:{type:"string"},approvalMode:{default:"any",type:"string",enum:["any","all"]},approvers:{minItems:1,maxItems:50,type:"array",items:{oneOf:[{type:"object",properties:{type:{type:"string",const:"user"},canonicalIdentityId:{type:"string",pattern:"^idn_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"}},required:["type","canonicalIdentityId"]},{type:"object",properties:{type:{type:"string",const:"group"},canonicalGroupId:{type:"string",pattern:"^cg_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"},quorum:{type:"integer",exclusiveMinimum:0,maximum:9007199254740991}},required:["type","canonicalGroupId"]},{type:"object",properties:{type:{type:"string",const:"manager"},managerSelector:{oneOf:[{type:"object",properties:{type:{type:"string",const:"legacy_directory_any"}},required:["type"]},{type:"object",properties:{type:{type:"string",const:"connector"},connectorInstanceId:{type:"string",maxLength:255}},required:["type","connectorInstanceId"]},{type:"object",properties:{type:{type:"string",const:"directory"},workosDirectoryId:{type:"string",maxLength:255}},required:["type","workosDirectoryId"]}]}},required:["type"]}]}}},required:["name","approvers"]}},approvers:{maxItems:50,type:"array",items:{oneOf:[{type:"object",properties:{type:{type:"string",const:"user"},canonicalIdentityId:{type:"string",pattern:"^idn_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"}},required:["type","canonicalIdentityId"]},{type:"object",properties:{type:{type:"string",const:"group"},canonicalGroupId:{type:"string",pattern:"^cg_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"},quorum:{type:"integer",exclusiveMinimum:0,maximum:9007199254740991}},required:["type","canonicalGroupId"]},{type:"object",properties:{type:{type:"string",const:"manager"},managerSelector:{oneOf:[{type:"object",properties:{type:{type:"string",const:"legacy_directory_any"}},required:["type"]},{type:"object",properties:{type:{type:"string",const:"connector"},connectorInstanceId:{type:"string",maxLength:255}},required:["type","connectorInstanceId"]},{type:"object",properties:{type:{type:"string",const:"directory"},workosDirectoryId:{type:"string",maxLength:255}},required:["type","workosDirectoryId"]}]}},required:["type"]}]}}},required:["name"]},"access.createProfile":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{status:{type:"string",enum:["draft","published"]},name:{type:"string"},description:{type:["null","string"]},isDefault:{description:"Mark this profile as the space's default. At most one published profile per space can hold it. It labels the profile; it does not widen who matches, which matchingCriteria decides on its own.",type:"boolean"},matchingCriteria:{type:"object",properties:{groupSources:{description:"Per group id: directory counts only memberships a live directory reports; any also counts connected apps. Omitted groups keep their stored source, and new ones use any.",type:"object",propertyNames:{type:"string"},additionalProperties:{type:"string",enum:["directory","any"]}},rule:{description:'Eligibility conditions: `match` (all or any) over conditions that are each a group ({ groupId }), a directory attribute condition, or one nested { match, conditions } set of those. Missing, blank, or conflicting directory values never satisfy a condition. On update, omit it to keep the current rule and send null to clear it. A rule with no conditions matches nobody. Look group ids up with the organization "list groups" operation using scope=space and this space\'s id: unscoped it lists the whole organization, including groups this space cannot use.',anyOf:[{type:"object",properties:{match:{type:"string",enum:["any","all"]},conditions:{maxItems:120,type:"array",items:{anyOf:[{anyOf:[{oneOf:[{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_not"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_any_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_none_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1}]},{type:"object",properties:{groupId:{type:"string",minLength:1,maxLength:128}},required:["groupId"],additionalProperties:!1}]},{type:"object",properties:{match:{type:"string",enum:["any","all"]},conditions:{minItems:1,maxItems:120,type:"array",items:{anyOf:[{oneOf:[{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_not"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_any_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_none_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1}]},{type:"object",properties:{groupId:{type:"string",minLength:1,maxLength:128}},required:["groupId"],additionalProperties:!1}]}}},required:["match","conditions"],additionalProperties:!1}]}}},required:["match","conditions"],additionalProperties:!1},{type:"null"}]},exclusionRule:{description:"Never match: who never matches, whatever `rule` says, built the same way as `rule`. Someone whose data can't decide it counts as unknown, so they can't be granted access through this profile and lose none. Omit it to keep the current one; null or no conditions excludes nobody.",anyOf:[{type:"object",properties:{match:{type:"string",enum:["any","all"]},conditions:{maxItems:120,type:"array",items:{anyOf:[{anyOf:[{oneOf:[{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_not"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_any_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_none_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1}]},{type:"object",properties:{groupId:{type:"string",minLength:1,maxLength:128}},required:["groupId"],additionalProperties:!1}]},{type:"object",properties:{match:{type:"string",enum:["any","all"]},conditions:{minItems:1,maxItems:120,type:"array",items:{anyOf:[{oneOf:[{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_not"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_any_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_none_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1}]},{type:"object",properties:{groupId:{type:"string",minLength:1,maxLength:128}},required:["groupId"],additionalProperties:!1}]}}},required:["match","conditions"],additionalProperties:!1}]}}},required:["match","conditions"],additionalProperties:!1},{type:"null"}]}},additionalProperties:!1},roleIds:{description:'The access roles people matching this profile can request. Look ids up with the access-roles "list" operation; each must be in this space and not archived. Draft roles are accepted, so a role can be attached before it is published.',maxItems:200,type:"array",items:{type:"string",pattern:"^arol_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"}}},required:["name"]},"access.createRole":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{status:{type:"string",enum:["draft","published"]},name:{type:"string"},description:{type:["null","string"]},requestsEnabled:{type:"boolean"},connectorInstanceId:{description:"Application connection ID from applications list-applications. Required when creating an access role.",type:"string"},accessProfileId:{type:["null","string"]},accessPolicyId:{type:["null","string"]},provisioningMethodType:{anyOf:[{type:"string",enum:["manual","workflow","linkedGroup"]},{type:"null"}]},provisioningConfig:{anyOf:[{type:"object",propertyNames:{type:"string"},additionalProperties:{}},{type:"null"}]},externalId:{type:["null","string"]},externalData:{anyOf:[{type:"object",propertyNames:{type:"string"},additionalProperties:{}},{type:"null"}]}},required:["name","connectorInstanceId"]},"access.updatePolicy":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string"},description:{type:["null","string"]},maxAccessMinutes:{type:["null","number"]},recommendedAccessMinutes:{type:["null","number"]},businessJustificationMode:{type:"string",enum:["not_required","required","advanced"]},requireBusinessJustification:{type:"boolean"},businessJustificationSpec:{type:["null","string"]},businessJustificationApprovalMode:{type:"string",enum:["auto","escalate"]},businessJustificationRejectionMode:{type:"string",enum:["auto","escalate"]},allowSelfApproval:{type:"boolean"},autoApproveWhenRequesterIsApprover:{type:"boolean"},approvalStages:{maxItems:20,type:"array",items:{type:"object",properties:{name:{type:"string"},approvalMode:{default:"any",type:"string",enum:["any","all"]},approvers:{minItems:1,maxItems:50,type:"array",items:{oneOf:[{type:"object",properties:{type:{type:"string",const:"user"},canonicalIdentityId:{type:"string",pattern:"^idn_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"}},required:["type","canonicalIdentityId"]},{type:"object",properties:{type:{type:"string",const:"group"},canonicalGroupId:{type:"string",pattern:"^cg_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"},quorum:{type:"integer",exclusiveMinimum:0,maximum:9007199254740991}},required:["type","canonicalGroupId"]},{type:"object",properties:{type:{type:"string",const:"manager"},managerSelector:{oneOf:[{type:"object",properties:{type:{type:"string",const:"legacy_directory_any"}},required:["type"]},{type:"object",properties:{type:{type:"string",const:"connector"},connectorInstanceId:{type:"string",maxLength:255}},required:["type","connectorInstanceId"]},{type:"object",properties:{type:{type:"string",const:"directory"},workosDirectoryId:{type:"string",maxLength:255}},required:["type","workosDirectoryId"]}]}},required:["type"]}]}}},required:["name","approvers"]}},approvers:{maxItems:50,type:"array",items:{oneOf:[{type:"object",properties:{type:{type:"string",const:"user"},canonicalIdentityId:{type:"string",pattern:"^idn_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"}},required:["type","canonicalIdentityId"]},{type:"object",properties:{type:{type:"string",const:"group"},canonicalGroupId:{type:"string",pattern:"^cg_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"},quorum:{type:"integer",exclusiveMinimum:0,maximum:9007199254740991}},required:["type","canonicalGroupId"]},{type:"object",properties:{type:{type:"string",const:"manager"},managerSelector:{oneOf:[{type:"object",properties:{type:{type:"string",const:"legacy_directory_any"}},required:["type"]},{type:"object",properties:{type:{type:"string",const:"connector"},connectorInstanceId:{type:"string",maxLength:255}},required:["type","connectorInstanceId"]},{type:"object",properties:{type:{type:"string",const:"directory"},workosDirectoryId:{type:"string",maxLength:255}},required:["type","workosDirectoryId"]}]}},required:["type"]}]}}},required:[]},"access.updateProfile":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{addExcludedGroupIds:{description:"Add canonical groups to the exclusion rule atomically, each as one more way to be excluded.",maxItems:100,type:"array",items:{type:"string",minLength:1}},removeExcludedGroupIds:{description:"Remove canonical groups from the exclusion rule atomically.",maxItems:100,type:"array",items:{type:"string",minLength:1}},addGroupIds:{description:"Add included canonical groups atomically, preserving other groups.",maxItems:100,type:"array",items:{type:"string",minLength:1}},removeGroupIds:{description:"Remove included canonical groups atomically, preserving other groups.",maxItems:100,type:"array",items:{type:"string",minLength:1}},addRoleIds:{description:"Attach access roles atomically, preserving existing role assignments.",maxItems:200,type:"array",items:{type:"string",pattern:"^arol_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"}},removeRoleIds:{description:"Remove access roles atomically, preserving other assignments.",maxItems:200,type:"array",items:{type:"string",pattern:"^arol_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"}},name:{type:"string"},description:{type:["null","string"]},isDefault:{description:"Mark this profile as the space's default. At most one published profile per space can hold it. It labels the profile; it does not widen who matches, which matchingCriteria decides on its own.",type:"boolean"},matchingCriteria:{type:"object",properties:{groupSources:{description:"Per group id: directory counts only memberships a live directory reports; any also counts connected apps. Omitted groups keep their stored source, and new ones use any.",type:"object",propertyNames:{type:"string"},additionalProperties:{type:"string",enum:["directory","any"]}},rule:{description:'Eligibility conditions: `match` (all or any) over conditions that are each a group ({ groupId }), a directory attribute condition, or one nested { match, conditions } set of those. Missing, blank, or conflicting directory values never satisfy a condition. On update, omit it to keep the current rule and send null to clear it. A rule with no conditions matches nobody. Look group ids up with the organization "list groups" operation using scope=space and this space\'s id: unscoped it lists the whole organization, including groups this space cannot use.',anyOf:[{type:"object",properties:{match:{type:"string",enum:["any","all"]},conditions:{maxItems:120,type:"array",items:{anyOf:[{anyOf:[{oneOf:[{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_not"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_any_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_none_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1}]},{type:"object",properties:{groupId:{type:"string",minLength:1,maxLength:128}},required:["groupId"],additionalProperties:!1}]},{type:"object",properties:{match:{type:"string",enum:["any","all"]},conditions:{minItems:1,maxItems:120,type:"array",items:{anyOf:[{oneOf:[{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_not"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_any_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_none_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1}]},{type:"object",properties:{groupId:{type:"string",minLength:1,maxLength:128}},required:["groupId"],additionalProperties:!1}]}}},required:["match","conditions"],additionalProperties:!1}]}}},required:["match","conditions"],additionalProperties:!1},{type:"null"}]},exclusionRule:{description:"Never match: who never matches, whatever `rule` says, built the same way as `rule`. Someone whose data can't decide it counts as unknown, so they can't be granted access through this profile and lose none. Omit it to keep the current one; null or no conditions excludes nobody.",anyOf:[{type:"object",properties:{match:{type:"string",enum:["any","all"]},conditions:{maxItems:120,type:"array",items:{anyOf:[{anyOf:[{oneOf:[{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_not"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_any_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_none_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1}]},{type:"object",properties:{groupId:{type:"string",minLength:1,maxLength:128}},required:["groupId"],additionalProperties:!1}]},{type:"object",properties:{match:{type:"string",enum:["any","all"]},conditions:{minItems:1,maxItems:120,type:"array",items:{anyOf:[{oneOf:[{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_not"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_any_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_none_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1}]},{type:"object",properties:{groupId:{type:"string",minLength:1,maxLength:128}},required:["groupId"],additionalProperties:!1}]}}},required:["match","conditions"],additionalProperties:!1}]}}},required:["match","conditions"],additionalProperties:!1},{type:"null"}]}},additionalProperties:!1},roleIds:{description:'The access roles people matching this profile can request. Look ids up with the access-roles "list" operation; each must be in this space and not archived. Draft roles are accepted, so a role can be attached before it is published.',maxItems:200,type:"array",items:{type:"string",pattern:"^arol_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"}}},required:[]},"access.updateRole":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string"},description:{type:["null","string"]},requestsEnabled:{type:"boolean"},connectorInstanceId:{type:["null","string"]},accessProfileId:{type:["null","string"]},accessPolicyId:{type:["null","string"]},provisioningMethodType:{anyOf:[{type:"string",enum:["manual","workflow","linkedGroup"]},{type:"null"}]},provisioningConfig:{anyOf:[{type:"object",propertyNames:{type:"string"},additionalProperties:{}},{type:"null"}]},externalId:{type:["null","string"]},externalData:{anyOf:[{type:"object",propertyNames:{type:"string"},additionalProperties:{}},{type:"null"}]}},required:[]},"agents.create":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1},description:{default:null,type:["string","null"]},slugId:{type:"string"},paused:{default:!1,type:"boolean"},runAsUserId:{anyOf:[{type:"string",minLength:1},{type:"null"}]},config:{$ref:"#/components/schemas/AutomationVersionConfigInput"}},required:["name"]},"agents.createTrigger":{$schema:"https://json-schema.org/draft/2020-12/schema",oneOf:[{type:"object",properties:{displayName:{type:"string",minLength:1},signature:{anyOf:[{type:"object",properties:{scheme:{type:"string",enum:["github","linear","stripe","standard-webhooks","workos"]},secret:{type:"string",minLength:1,maxLength:512}},required:["scheme","secret"]},{type:"null"}]},triggerKind:{type:"string",const:"webhook"},until:{anyOf:[{type:"object",properties:{at:{anyOf:[{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{type:"null"}]},runs:{anyOf:[{type:"integer",exclusiveMinimum:0,maximum:9007199254740991},{type:"null"}]}},required:["at","runs"]},{type:"null"}]},userMessageTemplate:{type:["string","null"]},workflowInput:{anyOf:[{$ref:"#/components/schemas/JsonValue"},{type:"null"}]}},required:["triggerKind"]},{type:"object",properties:{config:{type:"object",properties:{eventKind:{type:"string",enum:["case.created","case.status_changed","case.priority_changed","case.assigned","case.category_changed","case.archived","case.reopened","case.labels_changed","case.escalated","comment.created"]},follow:{type:"string",enum:["agent","always","never"]},caseTypeIds:{minItems:1,type:"array",items:{type:"string",minLength:1}},filter:{type:"object",properties:{toStatusType:{type:"string",enum:["triage","open","in_progress","blocked","done","cancelled"]},toStageCategory:{type:"string",enum:["todo","in_progress","done","cancelled"]},toStatusId:{type:"string",minLength:1},toPriority:{type:"string",enum:["urgent","high","medium","low","none"]},toAssigneeUserId:{anyOf:[{type:"string",minLength:1},{type:"null"}]},toCategoryId:{anyOf:[{type:"string",minLength:1},{type:"null"}]},labelChange:{type:"string",enum:["added","removed"]},addedLabelId:{type:"string",minLength:1},removedLabelId:{type:"string",minLength:1},escalationPolicyResult:{minItems:1,type:"array",items:{type:"string",enum:["rule","default","preserved","none"]}}}}},required:["eventKind"]},displayName:{type:"string",minLength:1},triggerKind:{type:"string",const:"case"},until:{anyOf:[{type:"object",properties:{at:{anyOf:[{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{type:"null"}]},runs:{anyOf:[{type:"integer",exclusiveMinimum:0,maximum:9007199254740991},{type:"null"}]}},required:["at","runs"]},{type:"null"}]},userMessageTemplate:{type:["string","null"]},workflowInput:{anyOf:[{$ref:"#/components/schemas/JsonValue"},{type:"null"}]}},required:["config","triggerKind"]},{type:"object",properties:{connectorInstanceId:{type:"string",minLength:1},connectorSlug:{type:"string",minLength:1},displayName:{type:"string",minLength:1},fieldValues:{type:"object",propertyNames:{type:"string"},additionalProperties:{$ref:"#/components/schemas/JsonValue"}},triggerKind:{type:"string",const:"application"},until:{anyOf:[{type:"object",properties:{at:{anyOf:[{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{type:"null"}]},runs:{anyOf:[{type:"integer",exclusiveMinimum:0,maximum:9007199254740991},{type:"null"}]}},required:["at","runs"]},{type:"null"}]},triggerSlug:{type:"string",minLength:1},userMessageTemplate:{type:["string","null"]},workflowInput:{anyOf:[{$ref:"#/components/schemas/JsonValue"},{type:"null"}]}},required:["connectorSlug","triggerKind","triggerSlug"]}]},"agents.createVersion":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{config:{$ref:"#/components/schemas/AutomationVersionConfigInput"}},required:["config"]},"agents.publishAgentDraft":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{expectedRevision:{type:"integer",exclusiveMinimum:0,maximum:9007199254740991}},required:["expectedRevision"]},"agents.update":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1},description:{type:["string","null"]},slugId:{type:"string"},paused:{type:"boolean"},runAsUserId:{anyOf:[{type:"string",minLength:1},{type:"null"}]}},required:[]},"agents.updateTrigger":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{integrationId:{not:{}},triggerSlug:{not:{}},displayName:{type:"string",minLength:1},enabled:{type:"boolean"},signature:{anyOf:[{type:"object",properties:{scheme:{type:"string",enum:["github","linear","stripe","standard-webhooks","workos"]},secret:{type:"string",minLength:1,maxLength:512}},required:["scheme","secret"]},{type:"null"}]},triggerConfig:{type:"object",propertyNames:{type:"string"},additionalProperties:{$ref:"#/components/schemas/JsonValue"}},until:{anyOf:[{type:"object",properties:{at:{anyOf:[{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{type:"null"}]},runs:{anyOf:[{type:"integer",exclusiveMinimum:0,maximum:9007199254740991},{type:"null"}]}},required:["at","runs"]},{type:"null"}]},userMessageTemplate:{type:["string","null"]},workflowInput:{anyOf:[{$ref:"#/components/schemas/JsonValue"},{type:"null"}]}},required:[]},"applications.confirmApplication":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{connectionId:{type:"string"}},required:[]},"applications.connectApplication":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{label:{type:"string"},connectionConfig:{type:"object",propertyNames:{type:"string"},additionalProperties:{}},generateSuggestions:{type:"boolean"}},required:[]},"applications.createCustomIntegration":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{displayName:{type:"string"},endpointUrl:{type:"string",minLength:1},headers:{anyOf:[{type:"array",items:{type:"object",properties:{name:{type:"string"},value:{type:"string"}},required:["name","value"]}},{type:"null"}]},transport:{anyOf:[{type:"string",enum:["auto","streamable_http"]},{type:"null"}]}},required:["displayName","endpointUrl"]},"applications.duplicateApplication":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{targetSpaceId:{type:"string",minLength:1}},required:["targetSpaceId"]},"applications.reconnectApplication":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{connectionConfig:{type:"object",propertyNames:{type:"string"},additionalProperties:{}}},required:[]},"applications.renameIntegration":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{displayName:{type:"string",minLength:1,maxLength:120}},required:["displayName"]},"applications.setApplicationActionMode":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{actionMode:{type:"string",enum:["read_only","read_write"]}},required:["actionMode"]},"applications.setApplicationEnabled":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{enabled:{type:"boolean"}},required:["enabled"]},"applications.setIntegrationEnabled":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{enabled:{type:"boolean"}},required:["enabled"]},"applications.triggerApplicationSync":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{initial:{type:"boolean"}},required:[]},"applications.updateApplication":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{label:{type:"string",minLength:1,maxLength:200}},required:["label"]},"applications.updateApplicationIssueSyncSettings":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{agentPreferences:{type:["string","null"]},mappings:{type:"array",items:{type:"object",properties:{createDefaults:{type:"array",items:{anyOf:[{type:"object",properties:{kind:{type:"string",enum:["date","datetime","time","option","text","textarea","rich-text","number","integer","boolean","url","email"]},providerField:{type:"string",minLength:1},value:{type:"string",minLength:1,maxLength:32768}},required:["kind","providerField","value"]},{type:"object",properties:{kind:{type:"string",enum:["multi-option","cascading-option","labels"]},providerField:{type:"string",minLength:1},value:{minItems:1,maxItems:100,type:"array",items:{type:"string",minLength:1,maxLength:4096}}},required:["kind","providerField","value"]}]}},caseTypeId:{type:"string"},fields:{type:"array",items:{oneOf:[{type:"object",properties:{actionField:{anyOf:[{type:"string",enum:["title","description","priority","category","assignmentGroup","assignee","requester","dueDate","labels"]},{type:"string",pattern:"^custom:[^\\s:]+$"}]},providerKind:{type:"string",enum:["date","datetime","time","option","text","textarea","rich-text","number","integer","boolean","url","email","multi-option","cascading-option","labels"]},direction:{type:"string",enum:["inbound","outbound","both"]},providerField:{type:"string"},kind:{type:"string",enum:["date","option","text","number","boolean","multi-option"]},values:{type:"array",items:{type:"object",properties:{actionValue:{type:"string"},providerValue:{type:"string"},writeBack:{type:"boolean"}},required:["actionValue","providerValue"]}}},required:["actionField","providerField"]},{type:"object",properties:{actionField:{anyOf:[{type:"string",enum:["title","description","priority","category","assignmentGroup","assignee","requester","dueDate","labels"]},{type:"string",pattern:"^custom:[^\\s:]+$"}]},providerKind:{type:"string",enum:["date","datetime","time","option","text","textarea","rich-text","number","integer","boolean","url","email","multi-option","cascading-option","labels"]},direction:{type:"string",enum:["inbound","outbound","both"]},providerField:{type:"string"},kind:{type:"string",const:"cascading"},childActionField:{anyOf:[{type:"string",enum:["title","description","priority","category","assignmentGroup","assignee","requester","dueDate","labels"]},{type:"string",pattern:"^custom:[^\\s:]+$"}]},values:{type:"array",items:{type:"object",properties:{actionValue:{type:"string"},providerValue:{type:"string"},writeBack:{type:"boolean"},children:{type:"array",items:{type:"object",properties:{actionValue:{type:"string"},providerValue:{type:"string"},writeBack:{type:"boolean"}},required:["actionValue","providerValue"]}}},required:["actionValue","providerValue"]}}},required:["actionField","providerField","kind","values"]}]}},source:{type:"string"},stages:{type:"array",items:{type:"object",properties:{providerState:{type:"string"},stageId:{type:"string"},writeBack:{type:"boolean"}},required:["providerState","stageId"]}}},required:["caseTypeId","source"]}},pull:{type:"object",properties:{assignmentGroupIds:{type:"array",items:{type:"string"}},enabled:{type:"boolean"},sources:{type:"array",items:{type:"object",properties:{cadence:{type:"string",enum:["1m","5m","15m","60m","12h"]},enabled:{type:"boolean"},filter:{anyOf:[{oneOf:[{type:"object",properties:{kind:{type:"string",const:"all"}},required:["kind"]},{type:"object",properties:{ids:{type:"array",items:{type:"string"}},kind:{type:"string",const:"routing_container_ids"}},required:["ids","kind"]},{type:"object",properties:{ids:{type:"array",items:{type:"string"}},kind:{type:"string",const:"routing_container_ids_or_unassigned"}},required:["ids","kind"]}]},{type:"null"}]},source:{type:"string",enum:["servicenow:change_request","servicenow:incident","servicenow:sc_request","servicenow:sc_req_item","servicenow:sc_task"]}},required:["cadence","enabled","filter","source"]}},teamIds:{type:"array",items:{type:"string"}}},required:["assignmentGroupIds","enabled","teamIds"]},push:{type:"object",properties:{assignmentGroupId:{type:["string","null"]},createNew:{type:"boolean"},createSources:{type:"array",items:{type:"string"}},teamId:{type:["string","null"]},updateLinked:{type:"boolean"},closeTasksWithRequestItem:{type:"boolean"}},required:["assignmentGroupId","createNew","updateLinked"]},autoAddress:{type:"object",properties:{enabled:{type:"boolean"},replyMode:{type:"string",enum:["mention","always","ambient"]},sources:{type:"array",items:{type:"string"}}},required:["enabled"]}},required:["pull","push","autoAddress"]},"assignment-groups.archive":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{confirm:{type:"boolean"}},required:[]},"assignment-groups.create":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1,maxLength:200},description:{anyOf:[{type:"string",maxLength:500},{type:"null"}]},sources:{minItems:1,type:"array",items:{oneOf:[{type:"object",properties:{type:{type:"string",const:"directory_group"},directoryGroupId:{type:"string",minLength:1}},required:["type","directoryGroupId"]},{type:"object",properties:{type:{type:"string",const:"action_user"},userId:{type:"string",minLength:1}},required:["type","userId"]}]}},kind:{not:{}},connectorInstanceId:{not:{}},externalProviderGroupId:{not:{}}},required:["name","sources"]},"assignment-groups.update":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1,maxLength:200},description:{anyOf:[{type:"string",maxLength:500},{type:"null"}]},sources:{minItems:1,type:"array",items:{oneOf:[{type:"object",properties:{type:{type:"string",const:"directory_group"},directoryGroupId:{type:"string",minLength:1}},required:["type","directoryGroupId"]},{type:"object",properties:{type:{type:"string",const:"action_user"},userId:{type:"string",minLength:1}},required:["type","userId"]}]}},kind:{not:{}},connectorInstanceId:{not:{}},externalProviderGroupId:{not:{}}},required:[]},"assignment-groups.updateImport":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{enabled:{type:"boolean"},confirm:{type:"boolean"}},required:["enabled"]},"assignment-rules.create":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{conditions:{maxItems:30,type:"array",items:{oneOf:[{type:"object",properties:{type:{type:"string",const:"category"},categoryId:{type:"string",minLength:1},operator:{anyOf:[{type:"string",enum:["is","is_not"]},{type:"null"}]}},required:["type","categoryId"]},{type:"object",properties:{type:{type:"string",const:"priority"},priority:{type:"string",enum:["urgent","high","medium","low","none"]},operator:{anyOf:[{type:"string",enum:["is","is_not","at_least","at_most"]},{type:"null"}]}},required:["type","priority"]},{type:"object",properties:{type:{type:"string",const:"status"},statusId:{type:"string",minLength:1},operator:{anyOf:[{type:"string",enum:["is","is_not"]},{type:"null"}]}},required:["type","statusId"]},{type:"object",properties:{type:{type:"string",const:"label"},labelId:{type:"string",minLength:1},operator:{anyOf:[{type:"string",enum:["is","is_not"]},{type:"null"}]}},required:["type","labelId"]},{type:"object",properties:{type:{type:"string",const:"case_type"},caseTypeId:{type:"string",minLength:1},operator:{anyOf:[{type:"string",enum:["is","is_not"]},{type:"null"}]}},required:["type","caseTypeId"]},{type:"object",properties:{type:{type:"string",const:"time"},timezone:{type:"string",minLength:1},daysMask:{type:"integer",minimum:1,maximum:127},startMinute:{type:"integer",minimum:0,maximum:1439},endMinute:{type:"integer",minimum:0,maximum:1439},operator:{anyOf:[{type:"string",enum:["is","is_not"]},{type:"null"}]}},required:["type","timezone","daysMask","startMinute","endMinute"]}]}},actions:{default:[],maxItems:1,type:"array",items:{oneOf:[{type:"object",properties:{targetType:{type:"string",const:"user"},userId:{type:"string",minLength:1}},required:["targetType","userId"]},{type:"object",properties:{targetType:{type:"string",const:"group"},assignmentGroupId:{type:"string",minLength:1},routingMode:{type:"string",enum:["leave_in_group","round_robin"]}},required:["targetType","assignmentGroupId","routingMode"]}]}}},required:[]},"assignment-rules.reorder":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{ruleIds:{type:"array",items:{type:"string",minLength:1}}},required:["ruleIds"]},"assignment-rules.update":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{conditions:{maxItems:30,type:"array",items:{oneOf:[{type:"object",properties:{type:{type:"string",const:"category"},categoryId:{type:"string",minLength:1},operator:{anyOf:[{type:"string",enum:["is","is_not"]},{type:"null"}]}},required:["type","categoryId"]},{type:"object",properties:{type:{type:"string",const:"priority"},priority:{type:"string",enum:["urgent","high","medium","low","none"]},operator:{anyOf:[{type:"string",enum:["is","is_not","at_least","at_most"]},{type:"null"}]}},required:["type","priority"]},{type:"object",properties:{type:{type:"string",const:"status"},statusId:{type:"string",minLength:1},operator:{anyOf:[{type:"string",enum:["is","is_not"]},{type:"null"}]}},required:["type","statusId"]},{type:"object",properties:{type:{type:"string",const:"label"},labelId:{type:"string",minLength:1},operator:{anyOf:[{type:"string",enum:["is","is_not"]},{type:"null"}]}},required:["type","labelId"]},{type:"object",properties:{type:{type:"string",const:"case_type"},caseTypeId:{type:"string",minLength:1},operator:{anyOf:[{type:"string",enum:["is","is_not"]},{type:"null"}]}},required:["type","caseTypeId"]},{type:"object",properties:{type:{type:"string",const:"time"},timezone:{type:"string",minLength:1},daysMask:{type:"integer",minimum:1,maximum:127},startMinute:{type:"integer",minimum:0,maximum:1439},endMinute:{type:"integer",minimum:0,maximum:1439},operator:{anyOf:[{type:"string",enum:["is","is_not"]},{type:"null"}]}},required:["type","timezone","daysMask","startMinute","endMinute"]}]}},actions:{maxItems:1,type:"array",items:{oneOf:[{type:"object",properties:{targetType:{type:"string",const:"user"},userId:{type:"string",minLength:1}},required:["targetType","userId"]},{type:"object",properties:{targetType:{type:"string",const:"group"},assignmentGroupId:{type:"string",minLength:1},routingMode:{type:"string",enum:["leave_in_group","round_robin"]}},required:["targetType","assignmentGroupId","routingMode"]}]}}},required:[]},"automations.create":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1},description:{default:null,type:["string","null"]},slugId:{type:"string"},paused:{default:!1,type:"boolean"},runAsUserId:{anyOf:[{type:"string",minLength:1},{type:"null"}]},config:{$ref:"#/components/schemas/AutomationVersionConfigInput"}},required:["name"]},"automations.createTrigger":{$schema:"https://json-schema.org/draft/2020-12/schema",oneOf:[{type:"object",properties:{displayName:{type:"string",minLength:1},signature:{anyOf:[{type:"object",properties:{scheme:{type:"string",enum:["github","linear","stripe","standard-webhooks","workos"]},secret:{type:"string",minLength:1,maxLength:512}},required:["scheme","secret"]},{type:"null"}]},triggerKind:{type:"string",const:"webhook"},until:{anyOf:[{type:"object",properties:{at:{anyOf:[{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{type:"null"}]},runs:{anyOf:[{type:"integer",exclusiveMinimum:0,maximum:9007199254740991},{type:"null"}]}},required:["at","runs"]},{type:"null"}]},userMessageTemplate:{type:["string","null"]},workflowInput:{anyOf:[{$ref:"#/components/schemas/JsonValue"},{type:"null"}]}},required:["triggerKind"]},{type:"object",properties:{config:{type:"object",properties:{eventKind:{type:"string",enum:["case.created","case.status_changed","case.priority_changed","case.assigned","case.category_changed","case.archived","case.reopened","case.labels_changed","case.escalated","comment.created"]},follow:{type:"string",enum:["agent","always","never"]},caseTypeIds:{minItems:1,type:"array",items:{type:"string",minLength:1}},filter:{type:"object",properties:{toStatusType:{type:"string",enum:["triage","open","in_progress","blocked","done","cancelled"]},toStageCategory:{type:"string",enum:["todo","in_progress","done","cancelled"]},toStatusId:{type:"string",minLength:1},toPriority:{type:"string",enum:["urgent","high","medium","low","none"]},toAssigneeUserId:{anyOf:[{type:"string",minLength:1},{type:"null"}]},toCategoryId:{anyOf:[{type:"string",minLength:1},{type:"null"}]},labelChange:{type:"string",enum:["added","removed"]},addedLabelId:{type:"string",minLength:1},removedLabelId:{type:"string",minLength:1},escalationPolicyResult:{minItems:1,type:"array",items:{type:"string",enum:["rule","default","preserved","none"]}}}}},required:["eventKind"]},displayName:{type:"string",minLength:1},triggerKind:{type:"string",const:"case"},until:{anyOf:[{type:"object",properties:{at:{anyOf:[{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{type:"null"}]},runs:{anyOf:[{type:"integer",exclusiveMinimum:0,maximum:9007199254740991},{type:"null"}]}},required:["at","runs"]},{type:"null"}]},userMessageTemplate:{type:["string","null"]},workflowInput:{anyOf:[{$ref:"#/components/schemas/JsonValue"},{type:"null"}]}},required:["config","triggerKind"]},{type:"object",properties:{connectorInstanceId:{type:"string",minLength:1},connectorSlug:{type:"string",minLength:1},displayName:{type:"string",minLength:1},fieldValues:{type:"object",propertyNames:{type:"string"},additionalProperties:{$ref:"#/components/schemas/JsonValue"}},triggerKind:{type:"string",const:"application"},until:{anyOf:[{type:"object",properties:{at:{anyOf:[{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{type:"null"}]},runs:{anyOf:[{type:"integer",exclusiveMinimum:0,maximum:9007199254740991},{type:"null"}]}},required:["at","runs"]},{type:"null"}]},triggerSlug:{type:"string",minLength:1},userMessageTemplate:{type:["string","null"]},workflowInput:{anyOf:[{$ref:"#/components/schemas/JsonValue"},{type:"null"}]}},required:["connectorSlug","triggerKind","triggerSlug"]}]},"automations.createVersion":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{config:{$ref:"#/components/schemas/AutomationVersionConfigInput"}},required:["config"]},"automations.createWorkflowTrigger":{$schema:"https://json-schema.org/draft/2020-12/schema",oneOf:[{type:"object",properties:{displayName:{type:"string",minLength:1},signature:{anyOf:[{type:"object",properties:{scheme:{type:"string",enum:["github","linear","stripe","standard-webhooks","workos"]},secret:{type:"string",minLength:1,maxLength:512}},required:["scheme","secret"]},{type:"null"}]},triggerKind:{type:"string",const:"webhook"},until:{anyOf:[{type:"object",properties:{at:{anyOf:[{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{type:"null"}]},runs:{anyOf:[{type:"integer",exclusiveMinimum:0,maximum:9007199254740991},{type:"null"}]}},required:["at","runs"]},{type:"null"}]},userMessageTemplate:{type:["string","null"]},workflowInput:{anyOf:[{$ref:"#/components/schemas/JsonValue"},{type:"null"}]}},required:["triggerKind"]},{type:"object",properties:{config:{type:"object",properties:{eventKind:{type:"string",enum:["case.created","case.status_changed","case.priority_changed","case.assigned","case.category_changed","case.archived","case.reopened","case.labels_changed","case.escalated","comment.created"]},follow:{type:"string",enum:["agent","always","never"]},caseTypeIds:{minItems:1,type:"array",items:{type:"string",minLength:1}},filter:{type:"object",properties:{toStatusType:{type:"string",enum:["triage","open","in_progress","blocked","done","cancelled"]},toStageCategory:{type:"string",enum:["todo","in_progress","done","cancelled"]},toStatusId:{type:"string",minLength:1},toPriority:{type:"string",enum:["urgent","high","medium","low","none"]},toAssigneeUserId:{anyOf:[{type:"string",minLength:1},{type:"null"}]},toCategoryId:{anyOf:[{type:"string",minLength:1},{type:"null"}]},labelChange:{type:"string",enum:["added","removed"]},addedLabelId:{type:"string",minLength:1},removedLabelId:{type:"string",minLength:1},escalationPolicyResult:{minItems:1,type:"array",items:{type:"string",enum:["rule","default","preserved","none"]}}}}},required:["eventKind"]},displayName:{type:"string",minLength:1},triggerKind:{type:"string",const:"case"},until:{anyOf:[{type:"object",properties:{at:{anyOf:[{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{type:"null"}]},runs:{anyOf:[{type:"integer",exclusiveMinimum:0,maximum:9007199254740991},{type:"null"}]}},required:["at","runs"]},{type:"null"}]},userMessageTemplate:{type:["string","null"]},workflowInput:{anyOf:[{$ref:"#/components/schemas/JsonValue"},{type:"null"}]}},required:["config","triggerKind"]},{type:"object",properties:{connectorInstanceId:{type:"string",minLength:1},connectorSlug:{type:"string",minLength:1},displayName:{type:"string",minLength:1},fieldValues:{type:"object",propertyNames:{type:"string"},additionalProperties:{$ref:"#/components/schemas/JsonValue"}},triggerKind:{type:"string",const:"application"},until:{anyOf:[{type:"object",properties:{at:{anyOf:[{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{type:"null"}]},runs:{anyOf:[{type:"integer",exclusiveMinimum:0,maximum:9007199254740991},{type:"null"}]}},required:["at","runs"]},{type:"null"}]},triggerSlug:{type:"string",minLength:1},userMessageTemplate:{type:["string","null"]},workflowInput:{anyOf:[{$ref:"#/components/schemas/JsonValue"},{type:"null"}]}},required:["connectorSlug","triggerKind","triggerSlug"]}]},"automations.update":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1},description:{type:["string","null"]},slugId:{type:"string"},paused:{type:"boolean"},runAsUserId:{anyOf:[{type:"string",minLength:1},{type:"null"}]}},required:[]},"automations.updateTrigger":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{integrationId:{not:{}},triggerSlug:{not:{}},displayName:{type:"string",minLength:1},enabled:{type:"boolean"},signature:{anyOf:[{type:"object",properties:{scheme:{type:"string",enum:["github","linear","stripe","standard-webhooks","workos"]},secret:{type:"string",minLength:1,maxLength:512}},required:["scheme","secret"]},{type:"null"}]},triggerConfig:{type:"object",propertyNames:{type:"string"},additionalProperties:{$ref:"#/components/schemas/JsonValue"}},until:{anyOf:[{type:"object",properties:{at:{anyOf:[{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{type:"null"}]},runs:{anyOf:[{type:"integer",exclusiveMinimum:0,maximum:9007199254740991},{type:"null"}]}},required:["at","runs"]},{type:"null"}]},userMessageTemplate:{type:["string","null"]},workflowInput:{anyOf:[{$ref:"#/components/schemas/JsonValue"},{type:"null"}]}},required:[]},"automations.updateWorkflowTrigger":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{integrationId:{not:{}},triggerSlug:{not:{}},displayName:{type:"string",minLength:1},enabled:{type:"boolean"},signature:{anyOf:[{type:"object",properties:{scheme:{type:"string",enum:["github","linear","stripe","standard-webhooks","workos"]},secret:{type:"string",minLength:1,maxLength:512}},required:["scheme","secret"]},{type:"null"}]},triggerConfig:{type:"object",propertyNames:{type:"string"},additionalProperties:{$ref:"#/components/schemas/JsonValue"}},until:{anyOf:[{type:"object",properties:{at:{anyOf:[{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{type:"null"}]},runs:{anyOf:[{type:"integer",exclusiveMinimum:0,maximum:9007199254740991},{type:"null"}]}},required:["at","runs"]},{type:"null"}]},userMessageTemplate:{type:["string","null"]},workflowInput:{anyOf:[{$ref:"#/components/schemas/JsonValue"},{type:"null"}]}},required:[]},"cases.addSubscribers":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{userIds:{minItems:1,maxItems:100,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["userIds"]},"cases.archiveCaseType":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{expectedUpdatedAt:{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},required:["expectedUpdatedAt"]},"cases.comment":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{body:{type:"string",minLength:1,maxLength:20000},visibility:{type:"string",enum:["public","internal"]},turnId:{type:"string",maxLength:200},id:{type:"string"}},required:["body","visibility"]},"cases.createCase":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{title:{type:"string",minLength:1},summary:{type:["string","null"]},statusId:{type:["string","null"]},priority:{type:"string",enum:["none","low","medium","high","urgent"]},categoryId:{type:["string","null"]},requesterUserId:{type:["string","null"]},requesterEmail:{anyOf:[{type:"string",format:"email",pattern:"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{type:"null"}]},assigneeUserId:{type:["string","null"]},assignmentGroupId:{type:["string","null"]},dueAt:{type:["string","null"]},availableAt:{type:["string","null"]},primaryThreadId:{type:["string","null"]},parentCaseId:{type:["string","null"]},phase:{type:"string",minLength:1,maxLength:200},blocksCaseId:{type:["string","null"]},caseTypeId:{type:["string","null"]},fields:{type:"object",propertyNames:{type:"string"},additionalProperties:{anyOf:[{anyOf:[{type:"string"},{type:"number"},{type:"boolean"},{type:"array",items:{type:"string"}}]},{type:"null"}]}}},required:["title"]},"cases.createCaseType":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1,maxLength:80},description:{anyOf:[{type:"string",maxLength:500},{type:"null"}]},stages:{minItems:1,maxItems:50,type:"array",items:{type:"object",properties:{key:{type:"string",minLength:1,maxLength:200},id:{type:"string",minLength:1,maxLength:200},name:{type:"string",minLength:1,maxLength:80},description:{anyOf:[{type:"string",maxLength:500},{type:"null"}]},category:{type:"string",enum:["todo","in_progress","done","cancelled"]},icon:{type:"string",enum:["dashed","circle","dot","pause","check-circle","slash"]},color:{type:"string"},guardrails:{type:"object",properties:{match:{type:"string",enum:["all","any"]},allowSkip:{type:"boolean"},conditions:{maxItems:20,type:"array",items:{oneOf:[{type:"object",properties:{type:{type:"string",const:"from_stage"},stageIds:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}},exclude:{type:"boolean"}},required:["type","stageIds"],additionalProperties:!1},{type:"object",properties:{type:{type:"string",const:"field_is_set"},fieldKey:{type:"string",minLength:1,maxLength:200}},required:["type","fieldKey"],additionalProperties:!1},{type:"object",properties:{type:{type:"string",const:"field_is_any_of"},fieldKey:{type:"string",minLength:1,maxLength:200},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["type","fieldKey","values"],additionalProperties:!1},{type:"object",properties:{type:{type:"string",const:"assignee_is_set"}},required:["type"],additionalProperties:!1},{type:"object",properties:{type:{type:"string",const:"priority_at_least"},priority:{type:"string",enum:["urgent","high","medium","low","none"]}},required:["type","priority"],additionalProperties:!1},{type:"object",properties:{type:{type:"string",const:"subcases_closed"}},required:["type"],additionalProperties:!1},{type:"object",properties:{type:{type:"string",const:"case_field"},field:{type:"string",minLength:1,maxLength:200},operator:{type:"string",enum:["is_set","is_not_set","is_any_of","is_none_of","contains","not_contains","eq","neq","gt","gte","lt","lte"]},values:{maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["type","field","operator"],additionalProperties:!1}]}}},required:["conditions"],additionalProperties:!1}},required:["key","name","description","category","icon","color"]}},initialStageKey:{type:"string",minLength:1},completeStageKey:{type:"string",minLength:1},cancelStageKey:{type:"string",minLength:1},fields:{maxItems:200,type:"array",items:{type:"object",properties:{id:{type:"string",minLength:1,maxLength:200},clientKey:{type:"string",minLength:1,maxLength:200},key:{type:"string",pattern:"^[a-z][a-z0-9_]{0,62}$"},name:{type:"string",minLength:1,maxLength:80},dataType:{type:"string",enum:["text","number","boolean","timestamp","unique","item_reference","enum","multi_select","user_reference","file"]},options:{anyOf:[{maxItems:2000,type:"array",items:{type:"string",minLength:1,maxLength:200}},{type:"null"}]},parentFieldKey:{anyOf:[{type:"string",minLength:1,maxLength:200},{type:"null"}]},optionsByParent:{anyOf:[{type:"object",propertyNames:{type:"string",minLength:1,maxLength:200},additionalProperties:{maxItems:500,type:"array",items:{type:"string",minLength:1,maxLength:200}}},{type:"null"}]},optionRenames:{type:"object",propertyNames:{type:"string",minLength:1,maxLength:200},additionalProperties:{type:"string",minLength:1,maxLength:200}},optionRenamesByParent:{type:"object",propertyNames:{type:"string",minLength:1,maxLength:200},additionalProperties:{type:"object",propertyNames:{type:"string",minLength:1,maxLength:200},additionalProperties:{type:"string",minLength:1,maxLength:200}}},icon:{anyOf:[{type:"string",enum:["text","hash","toggle","calendar","clock","fingerprint","list","list-checks","link","user","flag","alert","shield","server","globe","tag","dollar","gauge","zap","building"]},{type:"null"}]},optionColors:{type:"object",propertyNames:{type:"string"},additionalProperties:{type:"string",enum:["blue","orange","green","purple","red","sky","pink","brown","gray","yellow"]}},refEntityTypeId:{anyOf:[{type:"string",minLength:1,maxLength:200},{type:"null"}]},section:{anyOf:[{type:"string",maxLength:80},{type:"null"}]},requiredOnCreate:{type:"boolean"},requesterVisible:{type:"boolean"},aiFill:{type:"boolean"}},required:["name","dataType"]}}},required:["name","description","stages","initialStageKey","completeStageKey","cancelStageKey"]},"cases.createCategory":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1,maxLength:80},description:{anyOf:[{type:"string",maxLength:500},{type:"null"}]}},required:["name"]},"cases.createLabel":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1,maxLength:64},color:{type:["string","null"]}},required:["name"]},"cases.escalateRequest":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{reason:{anyOf:[{type:"string",maxLength:4000},{type:"null"}]}},required:[]},"cases.installCaseTemplate":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{templateKey:{type:"string",enum:["case","incident","service-request","request-item","change-request","problem","task","pull-request"]}},required:["templateKey"]},"cases.linkRelation":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{targetCaseIdOrIdentifier:{type:"string",minLength:1,maxLength:200},type:{type:"string",enum:["parent","blocks","related"]}},required:["targetCaseIdOrIdentifier"]},"cases.linkThread":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{threadId:{type:"string",minLength:1,maxLength:200},relationship:{default:"specialist",type:"string",enum:["primary","specialist"]},purpose:{anyOf:[{type:"string",maxLength:500},{type:"null"}]},metadata:{anyOf:[{type:"object",propertyNames:{type:"string"},additionalProperties:{}},{type:"null"}]},automationId:{anyOf:[{type:"string",minLength:1},{type:"null"}]}},required:["threadId"]},"cases.markRead":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{mode:{type:"string",enum:["auto","manual"]}},required:[]},"cases.move":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{caseTypeId:{type:"string",minLength:1,maxLength:200},targetSpaceId:{description:"The space to move the case to. Defaults to the case's own space.",type:"string",minLength:1,maxLength:200}},required:[]},"cases.rebuildSearchIndex":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{cursor:{anyOf:[{type:"string",minLength:1,maxLength:200},{type:"null"}]},limit:{default:200,type:"integer",minimum:1,maximum:500}}},"cases.search":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{question:{type:"string",minLength:1,maxLength:1000},statusType:{anyOf:[{type:"string",enum:["triage","open","in_progress","blocked","done","cancelled"]},{type:"null"}]},statusId:{anyOf:[{type:"string",minLength:1},{type:"null"}]},stageCategory:{anyOf:[{type:"string",enum:["todo","in_progress","done","cancelled"]},{type:"null"}]},categoryId:{type:["string","null"]},limit:{default:5,type:"integer",minimum:1,maximum:20}},required:["question"]},"cases.setDefaultCaseType":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{expectedUpdatedAt:{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},required:["expectedUpdatedAt"]},"cases.spawnThread":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{id:{type:"string",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"},relationship:{default:"specialist",type:"string",enum:["primary","specialist"]},purpose:{anyOf:[{type:"string",maxLength:500},{type:"null"}]},metadata:{anyOf:[{type:"object",propertyNames:{type:"string"},additionalProperties:{}},{type:"null"}]},startMuted:{default:!1,type:"boolean"},automationId:{type:"string",minLength:1}},required:["automationId"]},"cases.unarchiveCaseType":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{expectedUpdatedAt:{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},required:["expectedUpdatedAt"]},"cases.updateCase":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{title:{type:"string"},summary:{type:["string","null"]},statusId:{type:"string"},statusType:{type:"string",enum:["triage","open","in_progress","blocked","done","cancelled"]},stageCategory:{type:"string",enum:["todo","in_progress","done","cancelled"]},priority:{type:"string",enum:["none","low","medium","high","urgent"]},categoryId:{type:["string","null"]},requesterUserId:{type:["string","null"]},assigneeUserId:{type:["string","null"]},assigneeActorType:{anyOf:[{type:"string",enum:["agent"]},{type:"null"}]},assignmentGroupId:{type:["string","null"]},assigneeGroupId:{type:"string"},assignNextInGroup:{type:"boolean",const:!0},dueAt:{type:["string","null"]},availableAt:{type:["string","null"]},labelIds:{type:"array",items:{type:"string",minLength:1}},relevantKnowledgeIds:{maxItems:200,type:"array",items:{type:"string",minLength:1}},relevantSkillIds:{maxItems:200,type:"array",items:{type:"string",minLength:1}},fields:{type:"object",propertyNames:{type:"string"},additionalProperties:{anyOf:[{anyOf:[{type:"string"},{type:"number"},{type:"boolean"},{type:"array",items:{type:"string"}}]},{type:"null"}]}},overrideStageGuardrails:{type:"object",properties:{reason:{type:"string",minLength:1,maxLength:500}},required:["reason"],additionalProperties:!1}},required:[]},"cases.updateCaseType":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1,maxLength:80},description:{anyOf:[{type:"string",maxLength:500},{type:"null"}]},stages:{minItems:1,maxItems:50,type:"array",items:{type:"object",properties:{key:{type:"string",minLength:1,maxLength:200},id:{type:"string",minLength:1,maxLength:200},name:{type:"string",minLength:1,maxLength:80},description:{anyOf:[{type:"string",maxLength:500},{type:"null"}]},category:{type:"string",enum:["todo","in_progress","done","cancelled"]},icon:{type:"string",enum:["dashed","circle","dot","pause","check-circle","slash"]},color:{type:"string"},guardrails:{type:"object",properties:{match:{type:"string",enum:["all","any"]},allowSkip:{type:"boolean"},conditions:{maxItems:20,type:"array",items:{oneOf:[{type:"object",properties:{type:{type:"string",const:"from_stage"},stageIds:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}},exclude:{type:"boolean"}},required:["type","stageIds"],additionalProperties:!1},{type:"object",properties:{type:{type:"string",const:"field_is_set"},fieldKey:{type:"string",minLength:1,maxLength:200}},required:["type","fieldKey"],additionalProperties:!1},{type:"object",properties:{type:{type:"string",const:"field_is_any_of"},fieldKey:{type:"string",minLength:1,maxLength:200},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["type","fieldKey","values"],additionalProperties:!1},{type:"object",properties:{type:{type:"string",const:"assignee_is_set"}},required:["type"],additionalProperties:!1},{type:"object",properties:{type:{type:"string",const:"priority_at_least"},priority:{type:"string",enum:["urgent","high","medium","low","none"]}},required:["type","priority"],additionalProperties:!1},{type:"object",properties:{type:{type:"string",const:"subcases_closed"}},required:["type"],additionalProperties:!1},{type:"object",properties:{type:{type:"string",const:"case_field"},field:{type:"string",minLength:1,maxLength:200},operator:{type:"string",enum:["is_set","is_not_set","is_any_of","is_none_of","contains","not_contains","eq","neq","gt","gte","lt","lte"]},values:{maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["type","field","operator"],additionalProperties:!1}]}}},required:["conditions"],additionalProperties:!1}},required:["key","name","description","category","icon","color"]}},initialStageKey:{type:"string",minLength:1},completeStageKey:{type:"string",minLength:1},cancelStageKey:{type:"string",minLength:1},fields:{maxItems:200,type:"array",items:{type:"object",properties:{id:{type:"string",minLength:1,maxLength:200},clientKey:{type:"string",minLength:1,maxLength:200},key:{type:"string",pattern:"^[a-z][a-z0-9_]{0,62}$"},name:{type:"string",minLength:1,maxLength:80},dataType:{type:"string",enum:["text","number","boolean","timestamp","unique","item_reference","enum","multi_select","user_reference","file"]},options:{anyOf:[{maxItems:2000,type:"array",items:{type:"string",minLength:1,maxLength:200}},{type:"null"}]},parentFieldKey:{anyOf:[{type:"string",minLength:1,maxLength:200},{type:"null"}]},optionsByParent:{anyOf:[{type:"object",propertyNames:{type:"string",minLength:1,maxLength:200},additionalProperties:{maxItems:500,type:"array",items:{type:"string",minLength:1,maxLength:200}}},{type:"null"}]},optionRenames:{type:"object",propertyNames:{type:"string",minLength:1,maxLength:200},additionalProperties:{type:"string",minLength:1,maxLength:200}},optionRenamesByParent:{type:"object",propertyNames:{type:"string",minLength:1,maxLength:200},additionalProperties:{type:"object",propertyNames:{type:"string",minLength:1,maxLength:200},additionalProperties:{type:"string",minLength:1,maxLength:200}}},icon:{anyOf:[{type:"string",enum:["text","hash","toggle","calendar","clock","fingerprint","list","list-checks","link","user","flag","alert","shield","server","globe","tag","dollar","gauge","zap","building"]},{type:"null"}]},optionColors:{type:"object",propertyNames:{type:"string"},additionalProperties:{type:"string",enum:["blue","orange","green","purple","red","sky","pink","brown","gray","yellow"]}},refEntityTypeId:{anyOf:[{type:"string",minLength:1,maxLength:200},{type:"null"}]},section:{anyOf:[{type:"string",maxLength:80},{type:"null"}]},requiredOnCreate:{type:"boolean"},requesterVisible:{type:"boolean"},aiFill:{type:"boolean"}},required:["name","dataType"]}},expectedUpdatedAt:{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},autoCloseWhenSubcasesClosed:{type:"boolean"},holdStatusId:{anyOf:[{type:"string",minLength:1,maxLength:200},{type:"null"}]},syncs:{maxItems:200,type:"array",items:{anyOf:[{type:"object",properties:{connectorId:{type:"string",minLength:1,maxLength:200},source:{type:"string",minLength:1,maxLength:200},mapping:{oneOf:[{type:"object",properties:{actionField:{anyOf:[{type:"string",enum:["title","description","priority","category","assignmentGroup","assignee","requester","dueDate","labels"]},{type:"string",pattern:"^custom:[^\\s:]+$"}]},providerKind:{type:"string",enum:["date","datetime","time","option","text","textarea","rich-text","number","integer","boolean","url","email","multi-option","cascading-option","labels"]},direction:{type:"string",enum:["inbound","outbound","both"]},providerField:{type:"string"},kind:{type:"string",enum:["date","option","text","number","boolean","multi-option"]},values:{type:"array",items:{type:"object",properties:{actionValue:{type:"string"},providerValue:{type:"string"},writeBack:{type:"boolean"}},required:["actionValue","providerValue"]}}},required:["actionField","providerField"]},{type:"object",properties:{actionField:{anyOf:[{type:"string",enum:["title","description","priority","category","assignmentGroup","assignee","requester","dueDate","labels"]},{type:"string",pattern:"^custom:[^\\s:]+$"}]},providerKind:{type:"string",enum:["date","datetime","time","option","text","textarea","rich-text","number","integer","boolean","url","email","multi-option","cascading-option","labels"]},direction:{type:"string",enum:["inbound","outbound","both"]},providerField:{type:"string"},kind:{type:"string",const:"cascading"},childActionField:{anyOf:[{type:"string",enum:["title","description","priority","category","assignmentGroup","assignee","requester","dueDate","labels"]},{type:"string",pattern:"^custom:[^\\s:]+$"}]},values:{type:"array",items:{type:"object",properties:{actionValue:{type:"string"},providerValue:{type:"string"},writeBack:{type:"boolean"},children:{type:"array",items:{type:"object",properties:{actionValue:{type:"string"},providerValue:{type:"string"},writeBack:{type:"boolean"}},required:["actionValue","providerValue"]}}},required:["actionValue","providerValue"]}}},required:["actionField","providerField","kind","values"]}]}},required:["connectorId","source","mapping"]},{type:"object",properties:{connectorId:{type:"string",minLength:1,maxLength:200},source:{type:"string",minLength:1,maxLength:200},unmap:{anyOf:[{type:"string",enum:["title","description","priority","category","assignmentGroup","assignee","requester","dueDate","labels"]},{type:"string",pattern:"^custom:[^\\s:]+$"}]}},required:["connectorId","source","unmap"]}]}},requesterVisible:{type:"boolean"}},required:["name","description","stages","initialStageKey","completeStageKey","cancelStageKey","expectedUpdatedAt"]},"cases.uploadAttachment":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{file:{minItems:1,maxItems:10,type:"array",items:{type:"string",format:"binary",contentEncoding:"binary",minLength:1,maxLength:10485760}}},required:["file"]},"directory.createAdminPortalLink":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{intent:{default:"dsync",type:"string",enum:["domain_verification","sso","dsync"]},returnUrl:{type:"string",format:"uri"},successUrl:{type:"string",format:"uri"}}},"directory.searchGroups":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{cursor:{anyOf:[{type:"object",properties:{groupId:{type:"string"},memberCount:{type:"integer",minimum:0,maximum:9007199254740991},name:{type:"string"}},required:["groupId","memberCount","name"]},{type:"null"}]},limit:{type:"integer",exclusiveMinimum:0,maximum:500},queries:{type:"array",items:{type:"string"}},query:{type:"string"}}},"directory.searchUsers":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{cursor:{anyOf:[{type:"object",properties:{matchRank:{type:"number"},sortKey:{type:"string"},userId:{type:"string"}},required:["matchRank","sortKey","userId"]},{type:"null"}]},limit:{type:"integer",exclusiveMinimum:0,maximum:500},query:{type:"string"}},required:["query"]},"forms.create":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1,maxLength:200},slug:{type:"string",minLength:1,maxLength:120,pattern:"^[a-z0-9]+(?:-[a-z0-9]+)*$"},description:{anyOf:[{type:"string",maxLength:2000},{type:"null"}]},visibility:{default:"space_only",type:"string",enum:["org_facing","space_only"]},enabled:{default:!0,type:"boolean"},agentVisible:{default:!1,type:"boolean"}},required:["name","slug"]},"forms.discardDraft":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{expectedReviewFingerprint:{type:"string",maxLength:8000}},required:[]},"forms.listInCatalog":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{description:{type:"string",maxLength:2000},audience:{type:"object",properties:{everyone:{type:"boolean"},allMembers:{type:"boolean"},spaceIds:{default:[],maxItems:200,type:"array",items:{type:"string",minLength:1,maxLength:256}},userIds:{default:[],maxItems:500,type:"array",items:{type:"string",minLength:1,maxLength:256}}},required:["everyone"]}},required:["audience"]},"forms.publish":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{expectedReviewFingerprint:{type:"string",minLength:1,maxLength:8000}},required:["expectedReviewFingerprint"]},"forms.restore":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{expectedLatestRevisionId:{anyOf:[{type:"string",minLength:1,maxLength:200,pattern:"^[A-Za-z0-9._:|-]+$"},{type:"null"}]}},required:["expectedLatestRevisionId"]},"forms.saveDraft":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",additionalProperties:!1,properties:{source:{type:"string",minLength:1},sourceName:{type:"string",minLength:1,maxLength:160,pattern:"^[A-Za-z0-9._-]+\\.tsx$"},expectedLatestRevisionId:{anyOf:[{type:"string",minLength:1,maxLength:200,pattern:"^[A-Za-z0-9._:|-]+$"},{type:"null"}]},authoringThreadId:{default:null,anyOf:[{type:"string",minLength:1,maxLength:200,pattern:"^[A-Za-z0-9._:|-]+$"},{type:"null"}]},changeSetId:{type:"string",minLength:1,maxLength:200,pattern:"^[A-Za-z0-9._:|-]+$"},visibility:{type:"string",enum:["org_facing","space_only"]},audienceMode:{type:"string",enum:["all_members","access_profiles"]},accessProfileIds:{maxItems:100,type:"array",items:{type:"string",minLength:1,maxLength:200,pattern:"^[A-Za-z0-9._:|-]+$"}}},required:["source","sourceName","expectedLatestRevisionId"]},"forms.setDatabaseProjection":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{enabled:{type:"boolean"}},required:["enabled"]},"forms.update":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{changeSetId:{type:"string",minLength:1,maxLength:200,pattern:"^[A-Za-z0-9._:|-]+$"},name:{type:"string",minLength:1,maxLength:200},slug:{type:"string",minLength:1,maxLength:120,pattern:"^[a-z0-9]+(?:-[a-z0-9]+)*$"},description:{anyOf:[{type:"string",maxLength:2000},{type:"null"}]},enabled:{type:"boolean"},agentVisible:{type:"boolean"},visibility:{type:"string",enum:["org_facing","space_only"]},audienceMode:{type:"string",enum:["all_members","access_profiles"]},accessProfileIds:{maxItems:100,type:"array",items:{type:"string",minLength:1,maxLength:200,pattern:"^[A-Za-z0-9._:|-]+$"}}},required:[]},"knowledge.bulkUpdateConfluenceConnectorDocuments":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{directory:{type:"object",properties:{path:{maxItems:100,type:"array",items:{type:"string",minLength:1,maxLength:1024}},sourceRoot:{anyOf:[{type:"object",properties:{id:{anyOf:[{type:"string",maxLength:1024},{type:"null"}]},name:{anyOf:[{type:"string",maxLength:1024},{type:"null"}]}},required:["id","name"]},{type:"null"}]}},required:["path"]},visible:{type:"boolean"}},required:[]},"knowledge.bulkUpdateGoogleDriveConnectorDocuments":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{directory:{type:"object",properties:{path:{maxItems:100,type:"array",items:{type:"string",minLength:1,maxLength:1024}},sourceRoot:{anyOf:[{type:"object",properties:{id:{anyOf:[{type:"string",maxLength:1024},{type:"null"}]},name:{anyOf:[{type:"string",maxLength:1024},{type:"null"}]}},required:["id","name"]},{type:"null"}]}},required:["path"]},visible:{type:"boolean"}},required:[]},"knowledge.bulkUpdateNotionConnectorDocuments":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{directory:{type:"object",properties:{path:{maxItems:100,type:"array",items:{type:"string",minLength:1,maxLength:1024}},sourceRoot:{anyOf:[{type:"object",properties:{id:{anyOf:[{type:"string",maxLength:1024},{type:"null"}]},name:{anyOf:[{type:"string",maxLength:1024},{type:"null"}]}},required:["id","name"]},{type:"null"}]}},required:["path"]},visible:{type:"boolean"}},required:[]},"knowledge.bulkUpdateSharePointConnectorDocuments":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{directory:{type:"object",properties:{path:{maxItems:100,type:"array",items:{type:"string",minLength:1,maxLength:1024}},sourceRoot:{anyOf:[{type:"object",properties:{id:{anyOf:[{type:"string",maxLength:1024},{type:"null"}]},name:{anyOf:[{type:"string",maxLength:1024},{type:"null"}]}},required:["id","name"]},{type:"null"}]}},required:["path"]},visible:{type:"boolean"}},required:[]},"knowledge.bulkUpdateSimpplrConnectorDocuments":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{directory:{type:"object",properties:{path:{maxItems:100,type:"array",items:{type:"string",minLength:1,maxLength:1024}},sourceRoot:{anyOf:[{type:"object",properties:{id:{anyOf:[{type:"string",maxLength:1024},{type:"null"}]},name:{anyOf:[{type:"string",maxLength:1024},{type:"null"}]}},required:["id","name"]},{type:"null"}]}},required:["path"]},visible:{type:"boolean"}},required:[]},"knowledge.createUpload":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{file:{type:"string",format:"binary",contentEncoding:"binary",minLength:1,maxLength:52428800},folder:{type:"string",minLength:1,maxLength:80},path:{description:"Slash-separated relative subfolder path.",type:"string"},availability:{type:"string",enum:["org","space"]}},required:["file","folder"]},"knowledge.renameFolder":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string"}},required:["name"]},"knowledge.renameSubfolder":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string"}},required:["name"]},"knowledge.replaceGithubKnowledgeRepos":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{repos:{maxItems:500,type:"array",items:{type:"object",properties:{branch:{type:"string",minLength:1},included:{type:"boolean"},repoFullName:{type:"string",pattern:"^[^/\\s]+\\/[^/\\s]+$"}},required:["branch","repoFullName"]}}},required:["repos"]},"knowledge.search":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{question:{type:"string",minLength:1,maxLength:500},provider:{type:["string","null"]},limit:{default:5,type:"integer",minimum:1,maximum:10}},required:["question"]},"knowledge.searchNotionConnectorDocuments":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{cursor:{type:"string"},query:{type:"string"},limit:{type:"number"}},required:[]},"knowledge.updateConfluenceConnectorDocument":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{visible:{type:"boolean"}},required:[]},"knowledge.updateConfluenceConnectorSelection":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{selection:{type:"object",properties:{mode:{type:"string",const:"selected"},spaces:{maxItems:500,type:"array",items:{type:"object",properties:{id:{type:"string",minLength:1},key:{type:["string","null"]},name:{type:["string","null"]}},required:["id"]}}},required:["mode","spaces"]}},required:["selection"]},"knowledge.updateFolderDocuments":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{visible:{type:"boolean"}},required:["visible"]},"knowledge.updateGithubConnectorRepos":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{repos:{maxItems:500,type:"array",items:{type:"string",pattern:"^[^/\\s]+\\/[^/\\s]+$"}}},required:["repos"]},"knowledge.updateGoogleDriveConnectorDocument":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{visible:{type:"boolean"}},required:[]},"knowledge.updateGoogleDriveConnectorSelection":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{selection:{oneOf:[{type:"object",properties:{mode:{type:"string",const:"all"},corpora:{type:"array",items:{type:"object",properties:{id:{type:"string",minLength:1},name:{type:["string","null"]},folders:{maxItems:500,type:"array",items:{type:"object",properties:{id:{type:"string",minLength:1},name:{type:["string","null"]},excluded:{type:"boolean"},ancestorIds:{maxItems:100,type:"array",items:{type:"string",minLength:1}}},required:["id"]}},includeRoot:{type:"boolean"}},required:["id"]}}},required:["mode"]},{type:"object",properties:{mode:{type:"string",const:"selected"},corpora:{maxItems:500,type:"array",items:{type:"object",properties:{id:{type:"string",minLength:1},name:{type:["string","null"]},folders:{maxItems:500,type:"array",items:{type:"object",properties:{id:{type:"string",minLength:1},name:{type:["string","null"]},excluded:{type:"boolean"},ancestorIds:{maxItems:100,type:"array",items:{type:"string",minLength:1}}},required:["id"]}},includeRoot:{type:"boolean"}},required:["id"]}}},required:["mode","corpora"]}]}},required:["selection"]},"knowledge.updateNotionConnectorDocument":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{visible:{type:"boolean"}},required:[]},"knowledge.updateNotionConnectorSelection":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{selection:{oneOf:[{type:"object",properties:{mode:{type:"string",const:"all"},items:{maxItems:500,type:"array",items:{type:"object",properties:{id:{type:"string",minLength:1},object:{type:"string",enum:["page","data_source"]},title:{type:["string","null"]},url:{type:["string","null"]},lastEditedTime:{type:["string","null"]},excluded:{type:"boolean"}},required:["id","object"]}}},required:["mode"]},{type:"object",properties:{mode:{type:"string",const:"selected"},items:{maxItems:500,type:"array",items:{type:"object",properties:{id:{type:"string",minLength:1},object:{type:"string",enum:["page","data_source"]},title:{type:["string","null"]},url:{type:["string","null"]},lastEditedTime:{type:["string","null"]},excluded:{type:"boolean"}},required:["id","object"]}}},required:["mode","items"]}]}},required:["selection"]},"knowledge.updateSharePointConnectorDocument":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{visible:{type:"boolean"}},required:[]},"knowledge.updateSharePointConnectorSelection":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{selection:{type:"object",properties:{mode:{type:"string",const:"selected"},sites:{maxItems:500,type:"array",items:{type:"object",properties:{id:{type:"string",minLength:1},name:{type:["string","null"]},displayName:{type:["string","null"]},webUrl:{type:["string","null"]}},required:["id"]}}},required:["mode","sites"]}},required:["selection"]},"knowledge.updateSimpplrConnectorDocument":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{visible:{type:"boolean"}},required:[]},"knowledge.updateSimpplrConnectorSelection":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{selection:{type:"object",properties:{mode:{type:"string",const:"selected"},sites:{maxItems:500,type:"array",items:{type:"object",properties:{id:{type:"string",minLength:1},name:{type:["string","null"]}},required:["id"]}}},required:["mode","sites"]}},required:["selection"]},"knowledge.updateSlackConnectorBackfill":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{depth:{anyOf:[{type:"number",minimum:1},{type:"string",const:"all"}]}},required:["depth"]},"knowledge.updateSlackConnectorSelection":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{excludedChannelIds:{type:"array",items:{type:"string",minLength:1}}},required:["excludedChannelIds"]},"knowledge.updateUpload":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{visible:{type:"boolean"}},required:["visible"]},"labels.assignNames":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{entityType:{type:"string",enum:["agent","workflow","skill","access_profile","access_policy","access_role"]},entityId:{type:"string",minLength:1,maxLength:200},names:{maxItems:25,type:"array",items:{type:"string",minLength:1,maxLength:60}},mode:{type:"string",enum:["set","add","remove"]}},required:["entityType","entityId","names","mode"]},"labels.create":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1,maxLength:60},color:{anyOf:[{type:"string",pattern:"^#[0-9a-f]{6}$"},{type:"null"}]}},required:["name"]},"labels.resolveNames":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{names:{maxItems:25,type:"array",items:{type:"string",minLength:1,maxLength:60}}},required:["names"]},"labels.setLabels":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{labelIds:{maxItems:25,type:"array",items:{type:"string",pattern:"^lbl_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"}}},required:["labelIds"]},"labels.update":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1,maxLength:60},color:{anyOf:[{type:"string",pattern:"^#[0-9a-f]{6}$"},{type:"null"}]}},required:[]},"organization-github.confirmInstall":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{connectionId:{type:"string",minLength:1}},required:["connectionId"]},"organization-slack.createChannelSettingsRoute":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{spaceId:{type:"string",minLength:1}},required:["spaceId"]},"organization-slack.startInstall":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{returnTo:{type:"string",maxLength:2048},reauthorize:{type:"boolean"}}},"organization-slack.updateChannelEmojis":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{emojis:{anyOf:[{type:"object",propertyNames:{type:"string"},additionalProperties:{type:"string"}},{type:"null"}]}},required:["emojis"]},"organization-slack.updateChannelIntakeMode":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{intakeMode:{type:"string",enum:["converse","file_only","agent_only"]}},required:["intakeMode"]},"organization-slack.updateChannelSettings":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{responseMode:{type:"string",enum:["mention","always","ambient"]},threadReplyMode:{type:"string",enum:["mention","always","ambient"]},ambientInstruction:{type:["string","null"]},ambientRules:{anyOf:[{type:"object",properties:{respondKeywords:{type:"array",items:{type:"string"}},ignoreKeywords:{type:"array",items:{type:"string"}},respondRegex:{type:["string","null"]}}},{type:"null"}]},respondToApps:{type:"boolean"}},required:["responseMode","threadReplyMode"]},"organization-slack.updateChannelThreadHistory":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{includeThreadHistory:{type:"boolean"}},required:["includeThreadHistory"]},"organization-spaces.create":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{description:{type:"string",minLength:1,maxLength:1000},name:{type:"string",minLength:1},organizationRequestRoutingEnabled:{default:!1,type:"boolean"},slug:{type:"string"}},required:["description","name"]},"organization-spaces.setEscalationMute":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{escalationMuteEnabled:{type:"boolean"}},required:["escalationMuteEnabled"]},"organization-spaces.setOrganizationRequestRouting":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{organizationRequestRoutingEnabled:{type:"boolean"}},required:["organizationRequestRoutingEnabled"]},"organization-teams.createChannelSettingsRoute":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{spaceId:{type:"string",minLength:1}},required:["spaceId"]},"organization-teams.createGraphSubscription":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{scope:{type:"string",enum:["tenant","channel"]},teamId:{type:"string",minLength:1},channelId:{type:"string",minLength:1}}},"organization-teams.startInstall":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{returnTo:{type:"string",maxLength:2048},force:{type:"boolean"}}},"organization-teams.updateChannelEmojis":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{emojis:{anyOf:[{type:"object",propertyNames:{type:"string"},additionalProperties:{type:"string"}},{type:"null"}]}},required:["emojis"]},"organization-teams.updateChannelIntakeMode":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{intakeMode:{type:"string",enum:["converse","file_only","agent_only"]}},required:["intakeMode"]},"organization-teams.updateChannelSettings":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{responseMode:{type:"string",enum:["mention","always","ambient"]},threadReplyMode:{type:"string",enum:["mention","always","ambient"]},ambientInstruction:{type:["string","null"]},ambientRules:{anyOf:[{type:"object",properties:{respondKeywords:{type:"array",items:{type:"string"}},ignoreKeywords:{type:"array",items:{type:"string"}},respondRegex:{type:["string","null"]}}},{type:"null"}]}},required:["responseMode","threadReplyMode"]},"organizations.createInvite":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{email:{type:"string",minLength:1},expiresInDays:{type:"integer",minimum:1,maximum:30},roleSlug:{type:"string",enum:["admin","operator"]}},required:["email","roleSlug"]},"organizations.createMembership":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{email:{type:"string",minLength:1},roleSlug:{type:"string",enum:["admin","operator"]}},required:["email","roleSlug"]},"organizations.updateMembership":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{roleSlug:{anyOf:[{type:"string",enum:["admin","operator"]},{type:"null"}]},status:{anyOf:[{type:"string",enum:["active","revoked"]},{type:"null"}]},statusReason:{type:["string","null"]}},required:[]},"organizations.updateSettings":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1,maxLength:80},showProfilePictures:{type:"boolean"},supportViewAsEnabled:{type:"boolean"},idleCompactionEnabled:{type:"boolean"}}},"sessions.createOrganizationRequestSession":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{id:{type:"string",format:"uuid",pattern:"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},caseId:{type:"string",pattern:"^case_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"},reuseExisting:{type:"boolean"},destinationSpaceId:{anyOf:[{type:"string",minLength:1},{type:"null"}]}}},"sessions.createOrganizationRequestSessionAndSubmit":{$schema:"https://json-schema.org/draft/2020-12/schema",anyOf:[{type:"object",properties:{prewarmOnly:{type:"boolean",const:!0}},required:["prewarmOnly"]},{type:"object",properties:{id:{type:"string",format:"uuid",pattern:"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},caseId:{type:"string",pattern:"^case_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"},reuseExisting:{type:"boolean"},destinationSpaceId:{anyOf:[{type:"string",minLength:1},{type:"null"}]},initialMessage:{$ref:"#/components/schemas/PublicSessionInitialMessageInput"}},required:["initialMessage"]}]},"sessions.createSession":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{id:{type:"string",format:"uuid",pattern:"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},automation:{$ref:"#/components/schemas/PublicSessionCreateAutomationInput"},visibility:{type:"string",enum:["team","private"]}},required:["automation"]},"sessions.createSessionAndSubmit":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{id:{type:"string",format:"uuid",pattern:"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},automation:{$ref:"#/components/schemas/PublicSessionCreateAutomationInput"},visibility:{type:"string",enum:["team","private"]},initialMessage:{$ref:"#/components/schemas/PublicSessionInitialMessageInput"}},required:["automation","initialMessage"]},"sessions.intakeRequest":{$schema:"https://json-schema.org/draft/2020-12/schema",anyOf:[{type:"object",properties:{prewarmOnly:{type:"boolean",const:!0}},required:["prewarmOnly"]},{type:"object",properties:{id:{type:"string",format:"uuid",pattern:"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},caseId:{type:"string",pattern:"^case_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"},reuseExisting:{type:"boolean"},destinationSpaceId:{anyOf:[{type:"string",minLength:1},{type:"null"}]},initialMessage:{$ref:"#/components/schemas/PublicSessionInitialMessageInput"}},required:["initialMessage"]}]},"sessions.rename":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{title:{type:"string",maxLength:120}},required:["title"]},"sessions.setVisibility":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{visibility:{type:"string",enum:["team","private"]}},required:["visibility"]},"sessions.submitMessage":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{clientMessageId:{type:"string",minLength:1},content:{type:"string",minLength:1},mode:{type:"string",enum:["prompt","steer","followUp"]},timezone:{anyOf:[{type:"string",maxLength:100},{type:"null"}]},page:{anyOf:[{type:"string",maxLength:200},{type:"null"}]},mentions:{maxItems:50,type:"array",items:{type:"object",properties:{id:{type:"string",minLength:1},type:{type:"string",enum:["case","user","automation","access_policy","access_role","access_profile"]}},required:["id","type"]}},skills:{maxItems:8,type:"array",items:{type:"object",properties:{skillId:{type:"string",minLength:1}},required:["skillId"]}},suppressAutomationWake:{type:"boolean"}},required:["clientMessageId","content","mode"]},"sessions.uploadFiles":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{file:{minItems:1,maxItems:10,type:"array",items:{type:"string",format:"binary",contentEncoding:"binary",maxLength:10485760}}},required:["file"]},"skills.createSkill":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{description:{type:"string",minLength:1},scope:{type:"string",enum:["system","org"]},slug:{type:"string",minLength:1},title:{type:"string",minLength:1}},required:["description","scope","slug","title"]},"skills.createSkillVersion":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{files:{minItems:1,maxItems:200,type:"array",items:{type:"object",properties:{path:{type:"string",minLength:1},contentBase64:{type:"string"}},required:["path","contentBase64"]}}},required:["files"]},"skills.updateSkillTags":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{tags:{maxItems:32,type:"array",items:{type:"string",minLength:1,maxLength:64}},expectedTags:{maxItems:32,type:"array",items:{type:"string",minLength:1,maxLength:64}}},required:["tags"]},"space-access-roles.archive":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{replacementRoleId:{anyOf:[{type:"string",minLength:1},{type:"null"}]}},required:[]},"space-access-roles.create":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{status:{type:"string",enum:["draft","active"]},name:{type:"string",minLength:1},description:{type:["string","null"]},permissionSlugs:{type:"array",items:{type:"string"}}},required:["name","permissionSlugs"]},"space-access-roles.duplicate":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1}},required:["name"]},"space-access-roles.update":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{status:{type:"string",enum:["draft","active"]},name:{type:"string",minLength:1},description:{type:["string","null"]},permissionSlugs:{type:"array",items:{type:"string"}}},required:["name","permissionSlugs"]},"space-action-grants.replaceGrants":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{actionSlugs:{type:"array",items:{type:"string"}}},required:["actionSlugs"]},"space-action-grants.replaceRoles":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{blockedRoleIds:{type:"array",items:{type:"string",minLength:1}}},required:["blockedRoleIds"]},"spaces.addMember":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{accessRoleId:{type:"string"},roleSlug:{type:"string"},email:{type:"string",minLength:1}},required:["email"]},"spaces.createGroupLink":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{accessRoleId:{type:"string"},roleSlug:{type:"string"},directoryGroupId:{type:"string",minLength:1}},required:["directoryGroupId"]},"spaces.setDefaultAssignment":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{defaultRoutingAssignmentGroupId:{anyOf:[{type:"string",minLength:1},{type:"null"}]},defaultRoutingMode:{type:"string",enum:["leave_in_group","round_robin"]}},required:["defaultRoutingAssignmentGroupId"]},"spaces.updateGroupLink":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{accessRoleId:{type:"string"},roleSlug:{type:"string"}},required:[]},"spaces.updateMember":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{accessRoleId:{type:"string"},roleSlug:{type:"string"}},required:[]},"spaces.updateProfile":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{disabledSections:{anyOf:[{maxItems:15,type:"array",items:{type:"string",enum:["inbox","dashboards","cases","agents","workflows","applications","skills","knowledge","forms","secrets","environments","access","iga","entities","catalog"]}},{type:"null"}]},agentPreferences:{anyOf:[{type:"string",maxLength:1000},{type:"null"}]},description:{anyOf:[{type:"string",maxLength:1000},{type:"null"}]},name:{type:"string",minLength:1},slug:{type:"string",minLength:1}},required:[]},"workflows.createWorkflow":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",additionalProperties:!1,properties:{description:{anyOf:[{type:"string",maxLength:2000},{type:"null"}]},key:{type:"string",minLength:1,maxLength:120,pattern:"^(?!(?:con|prn|aux|nul|com[1-9]|lpt[1-9])$)[a-z0-9](?:[a-z0-9-]{0,118}[a-z0-9])?$"},metadata:{$ref:"#/components/schemas/PublicWorkflowMetadataInput"},name:{type:"string",minLength:1,maxLength:200},source:{$ref:"#/components/schemas/PublicWorkflowSource"}},required:["key","metadata","name","source"]},"workflows.createWorkflowRun":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",additionalProperties:!1,properties:{caseId:{type:"string",minLength:1,maxLength:200},input:{$ref:"#/components/schemas/JsonValue"},workflowId:{type:"string",minLength:1,maxLength:200}},required:["input","workflowId"]},"workflows.testWorkflowRevision":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",additionalProperties:!1,properties:{input:{$ref:"#/components/schemas/JsonValue"}},required:["input"]},"workflows.updateWorkflow":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",additionalProperties:!1,properties:{baseRevisionId:{type:"string",minLength:1,maxLength:200},description:{anyOf:[{type:"string",maxLength:2000},{type:"null"}]},metadata:{$ref:"#/components/schemas/PublicWorkflowMetadataInput"},name:{type:"string",minLength:1,maxLength:200},source:{$ref:"#/components/schemas/PublicWorkflowSource"}},required:["baseRevisionId","metadata","name","source"]}},components:{schemas:{AutomationVersionConfigInput:{type:"object",properties:{systemPrompt:{type:"string"},model:{type:"object",properties:{tier:{type:"string",enum:["mini","standard","pro","ultra"]},speed:{type:"string",enum:["normal","fast"]}},required:["tier","speed"],additionalProperties:!1},runtime:{oneOf:[{type:"object",properties:{runtimeBackend:{type:"string",const:"sandbox"}},required:["runtimeBackend"]},{type:"object",properties:{runtimeBackend:{type:"string",const:"thread-do"},toolExecutionBackend:{type:"string",enum:["dynamic-worker","pi-builtins"]}},required:["runtimeBackend","toolExecutionBackend"]}]},environmentAccess:{default:"all",type:"string",enum:["all","selected"]},environmentIds:{default:[],type:"array",items:{type:"string",minLength:1}},tools:{default:[],type:"array",items:{type:"object",properties:{kind:{type:"string",minLength:1},enabled:{type:"boolean"},config:{type:"object",propertyNames:{type:"string"},additionalProperties:{$ref:"#/components/schemas/JsonValue"}}},required:["kind","enabled"]}},skillIds:{default:[],type:"array",items:{type:"string",minLength:1}},mcpServerIds:{default:[],type:"array",items:{type:"string",minLength:1}},nativeApiServerIds:{maxItems:100,type:"array",items:{type:"string",minLength:1}},nativeApiLevels:{type:"object",propertyNames:{type:"string",minLength:1},additionalProperties:{minItems:1,maxItems:3,type:"array",items:{type:"string",enum:["read","change","delete"]}}},mcpToolAllowlists:{type:"object",propertyNames:{type:"string"},additionalProperties:{type:"array",items:{type:"string"}}},secretIds:{default:[],type:"array",items:{type:"string",minLength:1}},browserEnabled:{default:!1,type:"boolean"},browserProfiles:{oneOf:[{type:"object",properties:{mode:{type:"string",const:"none"}},required:["mode"]},{type:"object",properties:{mode:{type:"string",const:"default"}},required:["mode"]},{type:"object",properties:{mode:{type:"string",const:"runner"}},required:["mode"]},{type:"object",properties:{mode:{type:"string",const:"selected"},ids:{minItems:1,maxItems:100,type:"array",items:{type:"string",minLength:1}}},required:["mode","ids"]}]},loginIds:{maxItems:200,type:"array",items:{type:"string",minLength:1}},workflowBuilderEnabled:{default:!1,type:"boolean"},permissions:{type:"object",properties:{workflows:{type:"object",properties:{mode:{type:"string",enum:["all","selected","none"]},workflowIds:{default:[],maxItems:500,type:"array",items:{type:"string",minLength:1}}},required:["mode"]},cases:{type:"string",enum:["none","read","comment","write"]},accessProfiles:{type:"string",enum:["none","read","write"]},accessPolicies:{type:"string",enum:["none","read","write"]},accessRoles:{type:"string",enum:["none","read","write"]},spaceSettings:{default:"none",type:"string",enum:["none","read","write"]},labels:{default:"write",type:"string",enum:["none","read","write"]},forms:{default:"none",type:"string",enum:["none","read","write"]},agents:{default:"none",type:"string",enum:["none","read","write"]},dashboards:{default:"none",type:"string",enum:["none","read","write"]},applications:{default:"none",type:"string",enum:["none","read","write"]},vault:{default:"none",type:"string",enum:["none","read","write"]},database:{default:"none",type:"string",enum:["none","read","write"]},environments:{default:"none",type:"string",enum:["none","read","write"]},journeys:{default:"none",type:"string",enum:["none","read","write"]},knowledge:{default:!0,type:"boolean"},knowledgeSources:{type:"object",properties:{spacePublic:{type:"boolean"},spaceInternal:{type:"boolean"},otherSpacesPublic:{type:"boolean"}},required:["spacePublic","spaceInternal","otherSpacesPublic"]},directory:{default:!0,type:"boolean"},editSelf:{default:!1,type:"boolean"},createSkills:{type:"boolean"},startJourneys:{default:!1,type:"boolean"},messageSessions:{type:"boolean"},catalog:{type:"boolean"},publishWorkflows:{type:"boolean"},publishSkills:{type:"boolean"}},required:["workflows","cases","accessProfiles","accessPolicies","accessRoles","createSkills"]},triggers:{type:"array",items:{$ref:"#/components/schemas/AutomationCronTriggerInput"}},notifications:{maxItems:20,type:"array",items:{oneOf:[{type:"object",properties:{channel:{type:"string",enum:["inbox","email","slack_dm","teams_dm"]},on:{type:"string",enum:["start","failure"]},userIds:{maxItems:50,type:"array",items:{type:"string",minLength:1}}},required:["channel","on","userIds"]},{type:"object",properties:{channel:{type:"string",const:"slack_channel"},on:{type:"string",enum:["start","failure"]},channelId:{type:"string",minLength:1},channelName:{type:"string",maxLength:200}},required:["channel","on","channelId"]},{type:"object",properties:{channel:{type:"string",const:"teams_channel"},on:{type:"string",enum:["start","failure"]},teamId:{type:"string",minLength:1},channelId:{type:"string",minLength:1},channelName:{type:"string",maxLength:200}},required:["channel","on","teamId","channelId"]}]}},knowledge:{default:null,anyOf:[{$ref:"#/components/schemas/JsonValue"},{type:"null"}]},allowedAutomationIds:{default:[],type:"array",items:{type:"string",minLength:1}},allowAllAutomations:{type:"boolean"},automationBuilderEnabled:{default:!1,type:"boolean"},subautomationsEnabled:{type:"boolean"}},required:["systemPrompt","model","runtime","subautomationsEnabled"],additionalProperties:!1},JsonValue:{anyOf:[{type:"string"},{type:"number"},{type:"boolean"},{type:"null"},{items:{},type:"array"},{additionalProperties:{},type:"object"}]},AutomationCronTriggerInput:{anyOf:[{type:"string",minLength:1},{type:"object",properties:{cron:{type:"string",minLength:1},userMessageTemplate:{type:["string","null"]},timezone:{type:["string","null"]}},required:["cron"]}]},PublicSessionInitialMessageInput:{type:"object",properties:{clientMessageId:{type:"string",minLength:1},content:{type:"string",minLength:1},mode:{type:"string",enum:["prompt","steer","followUp"]},timezone:{anyOf:[{type:"string",maxLength:100},{type:"null"}]},page:{anyOf:[{type:"string",maxLength:200},{type:"null"}]},mentions:{maxItems:50,type:"array",items:{type:"object",properties:{id:{type:"string",minLength:1},type:{type:"string",enum:["case","user","automation","access_policy","access_role","access_profile"]}},required:["id","type"]}},skills:{maxItems:8,type:"array",items:{type:"object",properties:{skillId:{type:"string",minLength:1}},required:["skillId"]}},suppressAutomationWake:{type:"boolean"}},required:["clientMessageId","content","mode"]},PublicSessionCreateAutomationInput:{type:"object",properties:{automationId:{type:"string",minLength:1},automationVersionId:{type:"string",minLength:1},version:{type:"number"},attachedSkills:{type:"array",items:{type:"object",properties:{skillVersionId:{type:"string",minLength:1}},required:["skillVersionId"]}},enabledSkillIds:{type:"array",items:{type:"string",minLength:1}},disabledSkillIds:{type:"array",items:{type:"string",minLength:1}},enabledMcpServerIds:{type:"array",items:{type:"string",minLength:1}},disabledMcpServerIds:{type:"array",items:{type:"string",minLength:1}}},required:["automationId","automationVersionId","version"]},PublicWorkflowMetadataInput:{type:"object",properties:{inputs:{$ref:"#/components/schemas/PublicWorkflowJsonSchemaObject"},outputs:{default:null,anyOf:[{$ref:"#/components/schemas/PublicWorkflowJsonSchemaObject"},{type:"null"}]}},required:["inputs"],additionalProperties:!1},PublicWorkflowJsonSchemaObject:{type:"object",properties:{type:{type:"string",const:"object"}},required:["type"],additionalProperties:{}},PublicWorkflowSource:{type:"object",properties:{files:{minItems:1,maxItems:1,type:"array",items:{$ref:"#/components/schemas/PublicWorkflowSourceFile"}}},required:["files"],additionalProperties:!1},PublicWorkflowSourceFile:{type:"object",properties:{content:{type:"string",minLength:1,maxLength:1e6,description:"Workflow source text. OpenAPI maxLength counts characters; the server also enforces an encoded UTF-8 limit of 1,000,000 bytes."},path:{type:"string",const:"index.mjs"}},required:["content","path"],additionalProperties:!1}}}};var ta=Eg,Tg=new Ng.default({strict:!1,allErrors:!0,validateFormats:!1}),Xg=new Map,ad=(e)=>e.$ref?ta.components.schemas[e.$ref.split("/").at(-1)]:e;function Wg(e,t){let r=ta.operations[e];if(!r)return;let n=JSON.parse(t),a=n.body;if(n.multipart_form_data){a={};let o=ad(r).properties??{};for(let s of n.multipart_form_data){let d=s.type==="file"?s.path:s.value,c=ad(o[s.name]??{});if(s.type!=="file"&&["number","integer","boolean"].includes(c.type))try{d=JSON.parse(d)}catch{}if(c.type==="array")(a[s.name]??=[]).push(d);else a[s.name]=d}}let i=Xg.get(e);if(!i)i=Tg.compile({...r,components:ta.components}),Xg.set(e,i);if(!i(a===void 0?{}:a))throw k(`Invalid request: ${Tg.errorsText(i.errors,{separator:"; "})}. Use --schema to inspect constraints.`)}function Dg(e,t){let r=ta.operations[e];if(!r||!t.input)return t;let n=ad(r),a={};function i(s){if(!s||typeof s!=="object")return;let d=s.$ref;if(d){let c=d.split("/").at(-1);if(!(c in a))a[c]=ta.components.schemas[c],i(a[c])}for(let c of Object.values(s))i(c)}i(r);let o={...t.input.properties};for(let[s,d]of Object.entries(n.properties??{}))o[s]={...o[s],...d};return{...t,input:{...t.input,properties:o,required:[...new Set([...t.input.required??[],...n.required??[]])]},requestBodySchema:r,...Object.keys(a).length?{components:{schemas:a}}:{}}}function id(e,t){if(t==="applications")e=e.replace(`Commands:
|
|
241
|
+
${JSON.stringify(t.output,null,2)}`}async function k_(e){try{return await I_(e),!0}catch(t){if(t.code==="ENOENT")return!1;throw t}}function __(e){if(e instanceof ae)return{code:e.code,...e.correlationId?{correlationId:e.correlationId}:{},...e.details?{details:e.details}:{},message:e.message,retryable:e.retryable,...e.status!==null?{status:e.status}:{}};if(e instanceof R)return{code:e.code,...e.details!==void 0?{details:e.details}:{},message:e.message};if(er(e))return{code:"authentication_failed",message:e instanceof Error?e.message:"Authentication failed.",retryable:!1};let t=e;return{code:typeof t?.code==="string"?t.code:"workflow_push_failed",message:typeof t?.message==="string"?t.message:"The workflow could not be pushed."}}function Xh(e){let t=e;return{error:__(e.error),key:e.key,...typeof t.revisionId==="string"?{revisionId:t.revisionId}:{},...typeof t.workflowId==="string"?{workflowId:t.workflowId}:{}}}function Nh(e,t){return new R("validation_failed",e,{details:{workflows:t},exitCode:P.validation})}function Wh(e){if(e.status!=="failed"&&e.status!=="cancelled")return;throw new R("workflow_run_failed",`Run ${e.id} finished with status ${e.status}.`,{details:{run:e},exitCode:P.remote})}class Qs extends R{constructor(e){let t=e.failures.map(Xh),r=e.validationFailures.map(Xh),n=e.items.filter((o)=>!o.validation.ok),a=new Set([...e.skipped,...e.items.filter((o)=>o.validation.ok).map((o)=>o.key)]),i=new Set([...t.map((o)=>o.key),...r.map((o)=>o.key),...n.map((o)=>o.key)]);super("partial_failure",a.size>0?`Push completed for ${a.size} workflow(s); ${i.size} workflow(s) failed.`:`Push failed for ${i.size} workflow(s).`,{details:{failures:t,items:e.items,skipped:e.skipped,validationFailures:r},exitCode:P.partial});this.name="WorkflowPartialFailureError"}}async function Ys(e){try{return await w_(e)}catch(t){if(t.code!=="ENOENT")throw t;let r=v_(e);return r===e?e:Vh(await Ys(r),b_(e))}}function Dh(e,t){let r=C_(e,t);return r===""||!r.startsWith("..")&&!A_(r)}async function x_(e,t){let r=await Ys(me(e).workflows),n=await Ys(me(t).workflows);if(Dh(r,n)||Dh(n,r))throw new R("workflow_conflict","Published inspection output must not overlap the active project's workflows directory.",{exitCode:P.conflict})}function Mh(e){return{async init(t){let r=e.resolveDirectory(t.directory),n=Vh(r,"action.json");if(await k_(n))throw new R("project_exists",`An Action project already exists at ${r}.`,{exitCode:P.conflict});let a=await e.initializationContext();return await Th(r),await eh(r,a),{human:`Initialized an Action workflow project at ${r} with workflows/example. Run action workflow-project validate there.`,value:{contextConfigured:Boolean(a),projectRoot:r}}},async capabilities(t){let r=await(await e.workflowService({projectRequired:!1})).capabilities(t.application),n={applications:r,query:t.application??null};if(!t.application)return{human:ft(r.map((a)=>`${a.slug} ${a.displayName} ${a.connectionStatus}`),"No workflow applications found."),value:n};return{human:ft(r.flatMap((a)=>[`${a.slug} ${a.displayName} ${a.connectionStatus}`,...a.connectorInstances.map((i)=>`connection ${i.id} ${i.label??i.displayName}`),...a.actions.map((i)=>`action ${i.effect} ${i.name}`),...a.readActions.map((i)=>`read-action ${i.effect} ${i.name}`)]),"No matching workflow applications found."),value:n}},async list(t){let n={workflows:(await(await e.workflowService({projectRequired:!1})).list({includeArchived:t.includeArchived})).map((a)=>({archivedAt:a.archivedAt,hasUnpublishedChanges:a.hasUnpublishedChanges,id:a.id,key:a.key,latestRevisionId:a.latestRevisionId,name:a.name,publishedRevisionId:a.publishedRevisionId}))};return{human:ft(n.workflows.map((a)=>`${a.key} ${a.name} ${a.archivedAt?"archived":a.hasUnpublishedChanges?"draft":"published"}`)),value:n}},async pull(t){if(t.published){if(!t.outputDirectory)throw Error("Published pull requires an output directory.");let i=e.resolveDirectory(t.outputDirectory);await x_(await e.projectRoot(),i),await q_(i,{recursive:!0});let s=await(await e.workflowService()).pullPublished({force:t.force,...Ai(t.key),outputRoot:i}),d={outputRoot:i,skippedUnpublished:s.skippedUnpublished,workflows:s.workflows.map((c)=>({contentDigest:c.contentDigest,key:c.manifest.key,revisionId:c.latestRevisionId,workflowId:c.workflowId})),written:s.written};return{human:ft([...d.written.map((c)=>`pulled ${c}`),...d.skippedUnpublished.map((c)=>`skipped-unpublished ${c}`)],"Published workflows are already up to date."),value:d}}let n=await(await e.workflowService()).pull({force:t.force,...Ai(t.key)}),a={preserved:n.preserved,refusals:n.refusals,statuses:n.statuses,written:n.writes.map((i)=>i.key)};return{human:ft(a.written.map((i)=>`pulled ${i}`),"Workflows are up to date."),value:a}},async status(t){let r=await(await e.workflowService()).status({offline:t.offline});return{human:ft(r.map((n)=>`${n.status} ${n.key}`),"No local or remote workflows found."),value:{offline:t.offline,workflows:r}}},async diff(t){let r=await Ph(await e.projectRoot(),t.key)??await(await e.workflowService()).diff(t.key);return{human:r.diff||`No changes for ${t.key}.`,value:r}},async validate(t){let r=t.remote?await(await e.workflowService()).validate({...Ai(t.key),remote:!0}):await Lh(await e.projectRoot(),t.key?[t.key]:void 0),n=r.filter((a)=>a.remote?.state==="validated"&&!a.remote.result.ok);if(n.length>0)throw Nh(`Remote validation failed for ${n.map((a)=>a.key).join(", ")}.`,n);return{human:ft(r.map((a)=>`${a.remote?a.remote.state==="validated"?a.remote.result.ok?"remote-valid":"remote-invalid":`remote-skipped:${a.remote.reason}`:"local-valid"} ${a.key}`)),value:{workflows:r}}},async push(t){let r=await(await e.workflowService()).push({...Ai(t.key)}),n=r.items.filter((c)=>!c.validation.ok),a=new Set([...r.failures.map((c)=>c.key),...r.validationFailures.map((c)=>c.key),...n.map((c)=>c.key)]),i=new Set([...r.skipped,...r.items.filter((c)=>c.validation.ok).map((c)=>c.key)]),o=r.failures.length>0||r.validationFailures.length>0;if(a.size>0&&(i.size>0||o&&a.size>1))throw new Qs(r);let s=r.failures[0];if(s)throw s.error;let d=r.validationFailures[0];if(d)throw d.error;if(n.length>0)throw Nh(`Workflow validation failed for ${n.map((c)=>c.key).join(", ")}.`,n);return{human:ft([...r.items.map((c)=>`${c.created?"created":"updated"} ${c.key}`),...r.skipped.map((c)=>`unchanged ${c}`)],"Workflows are already up to date."),value:{failures:[],skipped:r.skipped,workflows:r.items}}},async test(t){let r=await e.workflowService(),n=await r.test(t.key,t.input),a=t.wait?await r.waitForRun(n):n;if(t.wait)Wh(a);return{human:t.wait?Ci(`Test run ${a.id} finished with status ${a.status}.`,a):`Started test run ${a.id} (${a.status}).`,value:{run:a,waited:t.wait}}},async run(t){let r=await e.workflowService({projectRequired:!1}),n=await r.run(t.key,t.input),a=t.wait?await r.waitForRun(n):n;if(t.wait)Wh(a);return{human:t.wait?Ci(`Run ${a.id} finished with status ${a.status}.`,a):`Started production run ${a.id} (${a.status}).`,value:{run:a,waited:t.wait}}},async runsList(t){let r=await(await e.workflowService({projectRequired:!1})).runs({...t.cursor?{cursor:t.cursor}:{},...t.limit?{pageSize:t.limit}:{},...t.status?{status:t.status}:{},...t.workflowKey?{workflowKey:t.workflowKey}:{}});return{human:ft(r.data.map((n)=>`${n.id} ${n.status} ${n.workflowId} ${n.createdAt}`),"No workflow runs found."),value:{nextCursor:r.nextCursor,runs:r.data}}},async runGet(t){let r=await(await e.workflowService({projectRequired:!1})).getRun(t.runId);return{human:Ci(`${r.id} ${r.status} ${r.workflowId} ${r.updatedAt}`,r),value:{run:r}}},async runWatch(t){let r=await(await e.workflowService({...t.signal?{abortSignal:t.signal}:{},projectRequired:!1})).watchRun(t);return{human:r.stopped?`Stopped watching ${r.run.id}; the remote run was not cancelled.`:Ci(`Run ${r.run.id} finished with status ${r.run.status}.`,r.run),value:r}},async runCancel(t){let r=await(await e.workflowService({projectRequired:!1})).cancelRun(t.runId);return{human:`Cancellation requested for ${r.id} (${r.status}).`,value:{run:r}}},async publish(t){let r=await(await e.workflowService()).publish(t.key,t.revisionId);return{human:`Published ${t.key} at revision ${r.revisionId}.`,value:{key:t.key,publication:r}}},async archive(t){let r=await(await e.workflowService()).archive(t.key);return{human:`Archived ${t.key}.`,value:{workflow:{archivedAt:r.archivedAt,id:r.id,key:r.key,latestRevisionId:r.latestRevisionId}}}},async revisions(t){let r=await(await e.workflowService({projectRequired:!1})).revisions(t.key);return{human:ft(r.map((n)=>`${n.revisionNumber} ${n.status} ${n.id} ${n.contentDigest}`),`No revisions found for ${t.key}.`),value:{key:t.key,revisions:r}}}}}function Bh(e){let t=async(r,n,a)=>{let i=(await e.remoteSelection()).space.id;try{let o=await yr({operation:r,parameters:{...n,spaceId:i},...a===void 0?{}:{body:a},baseUrl:e.apiUrl(),tokenProvider:async()=>(await e.credential()).authorization,cwd:e.cwd(),env:e.env,...e.generatedBinaryPath?{binaryPath:e.generatedBinaryPath}:{}});return{value:o,human:()=>JSON.stringify(o,null,2)}}catch(o){throw Ct(o)}};return{get:async(r)=>await t("skills.getSkill",r),getVersion:async(r)=>await t("skills.getSkillVersion",r),createVersion:async({skillId:r,body:n})=>await t("skills.createSkillVersion",{skillId:r},n),updateTags:async({skillId:r,...n})=>await t("skills.updateSkillTags",{skillId:r},n)}}var Ng=fd(jg(),1);var Eg={operations:{"access.createPolicy":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{status:{type:"string",enum:["draft","published"]},name:{type:"string"},description:{type:["null","string"]},maxAccessMinutes:{type:["null","number"]},recommendedAccessMinutes:{type:["null","number"]},businessJustificationMode:{type:"string",enum:["not_required","required","advanced"]},requireBusinessJustification:{type:"boolean"},businessJustificationSpec:{type:["null","string"]},businessJustificationApprovalMode:{type:"string",enum:["auto","escalate"]},businessJustificationRejectionMode:{type:"string",enum:["auto","escalate"]},allowSelfApproval:{type:"boolean"},autoApproveWhenRequesterIsApprover:{type:"boolean"},approvalStages:{maxItems:20,type:"array",items:{type:"object",properties:{name:{type:"string"},approvalMode:{default:"any",type:"string",enum:["any","all"]},approvers:{minItems:1,maxItems:50,type:"array",items:{oneOf:[{type:"object",properties:{type:{type:"string",const:"user"},canonicalIdentityId:{type:"string",pattern:"^idn_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"}},required:["type","canonicalIdentityId"]},{type:"object",properties:{type:{type:"string",const:"group"},canonicalGroupId:{type:"string",pattern:"^cg_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"},quorum:{type:"integer",exclusiveMinimum:0,maximum:9007199254740991}},required:["type","canonicalGroupId"]},{type:"object",properties:{type:{type:"string",const:"manager"},managerSelector:{oneOf:[{type:"object",properties:{type:{type:"string",const:"legacy_directory_any"}},required:["type"]},{type:"object",properties:{type:{type:"string",const:"connector"},connectorInstanceId:{type:"string",maxLength:255}},required:["type","connectorInstanceId"]},{type:"object",properties:{type:{type:"string",const:"directory"},workosDirectoryId:{type:"string",maxLength:255}},required:["type","workosDirectoryId"]}]}},required:["type"]}]}}},required:["name","approvers"]}},approvers:{maxItems:50,type:"array",items:{oneOf:[{type:"object",properties:{type:{type:"string",const:"user"},canonicalIdentityId:{type:"string",pattern:"^idn_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"}},required:["type","canonicalIdentityId"]},{type:"object",properties:{type:{type:"string",const:"group"},canonicalGroupId:{type:"string",pattern:"^cg_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"},quorum:{type:"integer",exclusiveMinimum:0,maximum:9007199254740991}},required:["type","canonicalGroupId"]},{type:"object",properties:{type:{type:"string",const:"manager"},managerSelector:{oneOf:[{type:"object",properties:{type:{type:"string",const:"legacy_directory_any"}},required:["type"]},{type:"object",properties:{type:{type:"string",const:"connector"},connectorInstanceId:{type:"string",maxLength:255}},required:["type","connectorInstanceId"]},{type:"object",properties:{type:{type:"string",const:"directory"},workosDirectoryId:{type:"string",maxLength:255}},required:["type","workosDirectoryId"]}]}},required:["type"]}]}}},required:["name"]},"access.createProfile":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{status:{type:"string",enum:["draft","published"]},name:{type:"string"},description:{type:["null","string"]},isDefault:{description:"Mark this profile as the space's default. At most one published profile per space can hold it. It labels the profile; it does not widen who matches, which matchingCriteria decides on its own.",type:"boolean"},matchingCriteria:{type:"object",properties:{groupSources:{description:"Per group id: directory counts only memberships a live directory reports; any also counts connected apps. Omitted groups keep their stored source, and new ones use any.",type:"object",propertyNames:{type:"string"},additionalProperties:{type:"string",enum:["directory","any"]}},rule:{description:'Eligibility conditions: `match` (all or any) over conditions that are each a group ({ groupId }), a directory attribute condition, or one nested { match, conditions } set of those. Missing, blank, or conflicting directory values never satisfy a condition. On update, omit it to keep the current rule and send null to clear it. A rule with no conditions matches nobody. Look group ids up with the organization "list groups" operation using scope=space and this space\'s id: unscoped it lists the whole organization, including groups this space cannot use.',anyOf:[{type:"object",properties:{match:{type:"string",enum:["any","all"]},conditions:{maxItems:120,type:"array",items:{anyOf:[{anyOf:[{oneOf:[{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_not"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_any_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_none_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1}]},{type:"object",properties:{groupId:{type:"string",minLength:1,maxLength:128}},required:["groupId"],additionalProperties:!1}]},{type:"object",properties:{match:{type:"string",enum:["any","all"]},conditions:{minItems:1,maxItems:120,type:"array",items:{anyOf:[{oneOf:[{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_not"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_any_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_none_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1}]},{type:"object",properties:{groupId:{type:"string",minLength:1,maxLength:128}},required:["groupId"],additionalProperties:!1}]}}},required:["match","conditions"],additionalProperties:!1}]}}},required:["match","conditions"],additionalProperties:!1},{type:"null"}]},exclusionRule:{description:"Never match: who never matches, whatever `rule` says, built the same way as `rule`. Someone whose data can't decide it counts as unknown, so they can't be granted access through this profile and lose none. Omit it to keep the current one; null or no conditions excludes nobody.",anyOf:[{type:"object",properties:{match:{type:"string",enum:["any","all"]},conditions:{maxItems:120,type:"array",items:{anyOf:[{anyOf:[{oneOf:[{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_not"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_any_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_none_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1}]},{type:"object",properties:{groupId:{type:"string",minLength:1,maxLength:128}},required:["groupId"],additionalProperties:!1}]},{type:"object",properties:{match:{type:"string",enum:["any","all"]},conditions:{minItems:1,maxItems:120,type:"array",items:{anyOf:[{oneOf:[{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_not"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_any_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_none_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1}]},{type:"object",properties:{groupId:{type:"string",minLength:1,maxLength:128}},required:["groupId"],additionalProperties:!1}]}}},required:["match","conditions"],additionalProperties:!1}]}}},required:["match","conditions"],additionalProperties:!1},{type:"null"}]}},additionalProperties:!1},roleIds:{description:'The access roles people matching this profile can request. Look ids up with the access-roles "list" operation; each must be in this space and not archived. Draft roles are accepted, so a role can be attached before it is published.',maxItems:200,type:"array",items:{type:"string",pattern:"^arol_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"}}},required:["name"]},"access.createRole":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{status:{type:"string",enum:["draft","published"]},name:{type:"string"},description:{type:["null","string"]},requestsEnabled:{type:"boolean"},connectorInstanceId:{description:"Application connection ID from applications list-applications. Required when creating an access role.",type:"string"},accessProfileId:{type:["null","string"]},accessPolicyId:{type:["null","string"]},provisioningMethodType:{anyOf:[{type:"string",enum:["manual","workflow","linkedGroup"]},{type:"null"}]},provisioningConfig:{anyOf:[{type:"object",propertyNames:{type:"string"},additionalProperties:{}},{type:"null"}]},externalId:{type:["null","string"]},externalData:{anyOf:[{type:"object",propertyNames:{type:"string"},additionalProperties:{}},{type:"null"}]}},required:["name","connectorInstanceId"]},"access.updatePolicy":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string"},description:{type:["null","string"]},maxAccessMinutes:{type:["null","number"]},recommendedAccessMinutes:{type:["null","number"]},businessJustificationMode:{type:"string",enum:["not_required","required","advanced"]},requireBusinessJustification:{type:"boolean"},businessJustificationSpec:{type:["null","string"]},businessJustificationApprovalMode:{type:"string",enum:["auto","escalate"]},businessJustificationRejectionMode:{type:"string",enum:["auto","escalate"]},allowSelfApproval:{type:"boolean"},autoApproveWhenRequesterIsApprover:{type:"boolean"},approvalStages:{maxItems:20,type:"array",items:{type:"object",properties:{name:{type:"string"},approvalMode:{default:"any",type:"string",enum:["any","all"]},approvers:{minItems:1,maxItems:50,type:"array",items:{oneOf:[{type:"object",properties:{type:{type:"string",const:"user"},canonicalIdentityId:{type:"string",pattern:"^idn_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"}},required:["type","canonicalIdentityId"]},{type:"object",properties:{type:{type:"string",const:"group"},canonicalGroupId:{type:"string",pattern:"^cg_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"},quorum:{type:"integer",exclusiveMinimum:0,maximum:9007199254740991}},required:["type","canonicalGroupId"]},{type:"object",properties:{type:{type:"string",const:"manager"},managerSelector:{oneOf:[{type:"object",properties:{type:{type:"string",const:"legacy_directory_any"}},required:["type"]},{type:"object",properties:{type:{type:"string",const:"connector"},connectorInstanceId:{type:"string",maxLength:255}},required:["type","connectorInstanceId"]},{type:"object",properties:{type:{type:"string",const:"directory"},workosDirectoryId:{type:"string",maxLength:255}},required:["type","workosDirectoryId"]}]}},required:["type"]}]}}},required:["name","approvers"]}},approvers:{maxItems:50,type:"array",items:{oneOf:[{type:"object",properties:{type:{type:"string",const:"user"},canonicalIdentityId:{type:"string",pattern:"^idn_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"}},required:["type","canonicalIdentityId"]},{type:"object",properties:{type:{type:"string",const:"group"},canonicalGroupId:{type:"string",pattern:"^cg_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"},quorum:{type:"integer",exclusiveMinimum:0,maximum:9007199254740991}},required:["type","canonicalGroupId"]},{type:"object",properties:{type:{type:"string",const:"manager"},managerSelector:{oneOf:[{type:"object",properties:{type:{type:"string",const:"legacy_directory_any"}},required:["type"]},{type:"object",properties:{type:{type:"string",const:"connector"},connectorInstanceId:{type:"string",maxLength:255}},required:["type","connectorInstanceId"]},{type:"object",properties:{type:{type:"string",const:"directory"},workosDirectoryId:{type:"string",maxLength:255}},required:["type","workosDirectoryId"]}]}},required:["type"]}]}}},required:[]},"access.updateProfile":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{addExcludedGroupIds:{description:"Add canonical groups to the exclusion rule atomically, each as one more way to be excluded.",maxItems:100,type:"array",items:{type:"string",minLength:1}},removeExcludedGroupIds:{description:"Remove canonical groups from the exclusion rule atomically.",maxItems:100,type:"array",items:{type:"string",minLength:1}},addGroupIds:{description:"Add included canonical groups atomically, preserving other groups.",maxItems:100,type:"array",items:{type:"string",minLength:1}},removeGroupIds:{description:"Remove included canonical groups atomically, preserving other groups.",maxItems:100,type:"array",items:{type:"string",minLength:1}},addRoleIds:{description:"Attach access roles atomically, preserving existing role assignments.",maxItems:200,type:"array",items:{type:"string",pattern:"^arol_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"}},removeRoleIds:{description:"Remove access roles atomically, preserving other assignments.",maxItems:200,type:"array",items:{type:"string",pattern:"^arol_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"}},name:{type:"string"},description:{type:["null","string"]},isDefault:{description:"Mark this profile as the space's default. At most one published profile per space can hold it. It labels the profile; it does not widen who matches, which matchingCriteria decides on its own.",type:"boolean"},matchingCriteria:{type:"object",properties:{groupSources:{description:"Per group id: directory counts only memberships a live directory reports; any also counts connected apps. Omitted groups keep their stored source, and new ones use any.",type:"object",propertyNames:{type:"string"},additionalProperties:{type:"string",enum:["directory","any"]}},rule:{description:'Eligibility conditions: `match` (all or any) over conditions that are each a group ({ groupId }), a directory attribute condition, or one nested { match, conditions } set of those. Missing, blank, or conflicting directory values never satisfy a condition. On update, omit it to keep the current rule and send null to clear it. A rule with no conditions matches nobody. Look group ids up with the organization "list groups" operation using scope=space and this space\'s id: unscoped it lists the whole organization, including groups this space cannot use.',anyOf:[{type:"object",properties:{match:{type:"string",enum:["any","all"]},conditions:{maxItems:120,type:"array",items:{anyOf:[{anyOf:[{oneOf:[{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_not"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_any_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_none_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1}]},{type:"object",properties:{groupId:{type:"string",minLength:1,maxLength:128}},required:["groupId"],additionalProperties:!1}]},{type:"object",properties:{match:{type:"string",enum:["any","all"]},conditions:{minItems:1,maxItems:120,type:"array",items:{anyOf:[{oneOf:[{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_not"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_any_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_none_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1}]},{type:"object",properties:{groupId:{type:"string",minLength:1,maxLength:128}},required:["groupId"],additionalProperties:!1}]}}},required:["match","conditions"],additionalProperties:!1}]}}},required:["match","conditions"],additionalProperties:!1},{type:"null"}]},exclusionRule:{description:"Never match: who never matches, whatever `rule` says, built the same way as `rule`. Someone whose data can't decide it counts as unknown, so they can't be granted access through this profile and lose none. Omit it to keep the current one; null or no conditions excludes nobody.",anyOf:[{type:"object",properties:{match:{type:"string",enum:["any","all"]},conditions:{maxItems:120,type:"array",items:{anyOf:[{anyOf:[{oneOf:[{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_not"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_any_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_none_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1}]},{type:"object",properties:{groupId:{type:"string",minLength:1,maxLength:128}},required:["groupId"],additionalProperties:!1}]},{type:"object",properties:{match:{type:"string",enum:["any","all"]},conditions:{minItems:1,maxItems:120,type:"array",items:{anyOf:[{oneOf:[{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_not"},value:{type:"string",minLength:1,maxLength:200}},required:["attribute","operator","value"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_any_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1},{type:"object",properties:{attribute:{anyOf:[{type:"string",enum:["department","sub_department","job_title","organization","office_location","division_name","cost_center_name","employee_type","employee_number","username","manager_email","manager_name","manager_id","start_date","locale","directory_state"]},{type:"string",pattern:"^other_attributes\\.[A-Za-z0-9_.-]{1,64}$"}]},source:{type:"string",pattern:"^[A-Za-z0-9_-]{1,128}$"},operator:{type:"string",const:"is_none_of"},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["attribute","operator","values"],additionalProperties:!1}]},{type:"object",properties:{groupId:{type:"string",minLength:1,maxLength:128}},required:["groupId"],additionalProperties:!1}]}}},required:["match","conditions"],additionalProperties:!1}]}}},required:["match","conditions"],additionalProperties:!1},{type:"null"}]}},additionalProperties:!1},roleIds:{description:'The access roles people matching this profile can request. Look ids up with the access-roles "list" operation; each must be in this space and not archived. Draft roles are accepted, so a role can be attached before it is published.',maxItems:200,type:"array",items:{type:"string",pattern:"^arol_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"}}},required:[]},"access.updateRole":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string"},description:{type:["null","string"]},requestsEnabled:{type:"boolean"},connectorInstanceId:{type:["null","string"]},accessProfileId:{type:["null","string"]},accessPolicyId:{type:["null","string"]},provisioningMethodType:{anyOf:[{type:"string",enum:["manual","workflow","linkedGroup"]},{type:"null"}]},provisioningConfig:{anyOf:[{type:"object",propertyNames:{type:"string"},additionalProperties:{}},{type:"null"}]},externalId:{type:["null","string"]},externalData:{anyOf:[{type:"object",propertyNames:{type:"string"},additionalProperties:{}},{type:"null"}]}},required:[]},"agents.create":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1},description:{default:null,type:["string","null"]},slugId:{type:"string"},paused:{default:!1,type:"boolean"},runAsUserId:{anyOf:[{type:"string",minLength:1},{type:"null"}]},config:{$ref:"#/components/schemas/AutomationVersionConfigInput"}},required:["name"]},"agents.createTrigger":{$schema:"https://json-schema.org/draft/2020-12/schema",oneOf:[{type:"object",properties:{displayName:{type:"string",minLength:1},signature:{anyOf:[{type:"object",properties:{scheme:{type:"string",enum:["github","linear","stripe","standard-webhooks","workos"]},secret:{type:"string",minLength:1,maxLength:512}},required:["scheme","secret"]},{type:"null"}]},triggerKind:{type:"string",const:"webhook"},until:{anyOf:[{type:"object",properties:{at:{anyOf:[{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{type:"null"}]},runs:{anyOf:[{type:"integer",exclusiveMinimum:0,maximum:9007199254740991},{type:"null"}]}},required:["at","runs"]},{type:"null"}]},userMessageTemplate:{type:["string","null"]},workflowInput:{anyOf:[{$ref:"#/components/schemas/JsonValue"},{type:"null"}]}},required:["triggerKind"]},{type:"object",properties:{config:{type:"object",properties:{eventKind:{type:"string",enum:["case.created","case.status_changed","case.priority_changed","case.assigned","case.category_changed","case.archived","case.reopened","case.labels_changed","case.escalated","comment.created"]},follow:{type:"string",enum:["agent","always","never"]},caseTypeIds:{minItems:1,type:"array",items:{type:"string",minLength:1}},filter:{type:"object",properties:{toStatusType:{type:"string",enum:["triage","open","in_progress","blocked","done","cancelled"]},toStageCategory:{type:"string",enum:["todo","in_progress","done","cancelled"]},toStatusId:{type:"string",minLength:1},toPriority:{type:"string",enum:["urgent","high","medium","low","none"]},toAssigneeUserId:{anyOf:[{type:"string",minLength:1},{type:"null"}]},toCategoryId:{anyOf:[{type:"string",minLength:1},{type:"null"}]},labelChange:{type:"string",enum:["added","removed"]},addedLabelId:{type:"string",minLength:1},removedLabelId:{type:"string",minLength:1},escalationPolicyResult:{minItems:1,type:"array",items:{type:"string",enum:["rule","default","preserved","none"]}}}}},required:["eventKind"]},displayName:{type:"string",minLength:1},triggerKind:{type:"string",const:"case"},until:{anyOf:[{type:"object",properties:{at:{anyOf:[{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{type:"null"}]},runs:{anyOf:[{type:"integer",exclusiveMinimum:0,maximum:9007199254740991},{type:"null"}]}},required:["at","runs"]},{type:"null"}]},userMessageTemplate:{type:["string","null"]},workflowInput:{anyOf:[{$ref:"#/components/schemas/JsonValue"},{type:"null"}]}},required:["config","triggerKind"]},{type:"object",properties:{connectorInstanceId:{type:"string",minLength:1},connectorSlug:{type:"string",minLength:1},displayName:{type:"string",minLength:1},fieldValues:{type:"object",propertyNames:{type:"string"},additionalProperties:{$ref:"#/components/schemas/JsonValue"}},triggerKind:{type:"string",const:"application"},until:{anyOf:[{type:"object",properties:{at:{anyOf:[{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{type:"null"}]},runs:{anyOf:[{type:"integer",exclusiveMinimum:0,maximum:9007199254740991},{type:"null"}]}},required:["at","runs"]},{type:"null"}]},triggerSlug:{type:"string",minLength:1},userMessageTemplate:{type:["string","null"]},workflowInput:{anyOf:[{$ref:"#/components/schemas/JsonValue"},{type:"null"}]}},required:["connectorSlug","triggerKind","triggerSlug"]}]},"agents.createVersion":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{config:{$ref:"#/components/schemas/AutomationVersionConfigInput"}},required:["config"]},"agents.publishAgentDraft":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{expectedRevision:{type:"integer",exclusiveMinimum:0,maximum:9007199254740991}},required:["expectedRevision"]},"agents.update":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1},description:{type:["string","null"]},slugId:{type:"string"},paused:{type:"boolean"},runAsUserId:{anyOf:[{type:"string",minLength:1},{type:"null"}]}},required:[]},"agents.updateTrigger":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{integrationId:{not:{}},triggerSlug:{not:{}},displayName:{type:"string",minLength:1},enabled:{type:"boolean"},signature:{anyOf:[{type:"object",properties:{scheme:{type:"string",enum:["github","linear","stripe","standard-webhooks","workos"]},secret:{type:"string",minLength:1,maxLength:512}},required:["scheme","secret"]},{type:"null"}]},triggerConfig:{type:"object",propertyNames:{type:"string"},additionalProperties:{$ref:"#/components/schemas/JsonValue"}},until:{anyOf:[{type:"object",properties:{at:{anyOf:[{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{type:"null"}]},runs:{anyOf:[{type:"integer",exclusiveMinimum:0,maximum:9007199254740991},{type:"null"}]}},required:["at","runs"]},{type:"null"}]},userMessageTemplate:{type:["string","null"]},workflowInput:{anyOf:[{$ref:"#/components/schemas/JsonValue"},{type:"null"}]}},required:[]},"applications.confirmApplication":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{connectionId:{type:"string"}},required:[]},"applications.connectApplication":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{label:{type:"string"},connectionConfig:{type:"object",propertyNames:{type:"string"},additionalProperties:{}},generateSuggestions:{type:"boolean"}},required:[]},"applications.createCustomIntegration":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{displayName:{type:"string"},endpointUrl:{type:"string",minLength:1},headers:{anyOf:[{type:"array",items:{type:"object",properties:{name:{type:"string"},value:{type:"string"}},required:["name","value"]}},{type:"null"}]},transport:{anyOf:[{type:"string",enum:["auto","streamable_http"]},{type:"null"}]}},required:["displayName","endpointUrl"]},"applications.duplicateApplication":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{targetSpaceId:{type:"string",minLength:1}},required:["targetSpaceId"]},"applications.reconnectApplication":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{connectionConfig:{type:"object",propertyNames:{type:"string"},additionalProperties:{}}},required:[]},"applications.renameIntegration":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{displayName:{type:"string",minLength:1,maxLength:120}},required:["displayName"]},"applications.setApplicationActionMode":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{actionMode:{type:"string",enum:["read_only","read_write"]}},required:["actionMode"]},"applications.setApplicationEnabled":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{enabled:{type:"boolean"}},required:["enabled"]},"applications.setIntegrationEnabled":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{enabled:{type:"boolean"}},required:["enabled"]},"applications.triggerApplicationSync":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{initial:{type:"boolean"}},required:[]},"applications.updateApplication":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{label:{type:"string",minLength:1,maxLength:200}},required:["label"]},"applications.updateApplicationIssueSyncSettings":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{agentPreferences:{type:["string","null"]},mappings:{type:"array",items:{type:"object",properties:{createDefaults:{type:"array",items:{anyOf:[{type:"object",properties:{kind:{type:"string",enum:["date","datetime","time","option","text","textarea","rich-text","number","integer","boolean","url","email"]},providerField:{type:"string",minLength:1},value:{type:"string",minLength:1,maxLength:32768}},required:["kind","providerField","value"]},{type:"object",properties:{kind:{type:"string",enum:["multi-option","cascading-option","labels"]},providerField:{type:"string",minLength:1},value:{minItems:1,maxItems:100,type:"array",items:{type:"string",minLength:1,maxLength:4096}}},required:["kind","providerField","value"]}]}},caseTypeId:{type:"string"},fields:{type:"array",items:{oneOf:[{type:"object",properties:{actionField:{anyOf:[{type:"string",enum:["title","description","priority","category","assignmentGroup","assignee","requester","dueDate","labels"]},{type:"string",pattern:"^custom:[^\\s:]+$"}]},providerKind:{type:"string",enum:["date","datetime","time","option","text","textarea","rich-text","number","integer","boolean","url","email","multi-option","cascading-option","labels"]},direction:{type:"string",enum:["inbound","outbound","both"]},providerField:{type:"string"},kind:{type:"string",enum:["date","option","text","number","boolean","multi-option"]},values:{type:"array",items:{type:"object",properties:{actionValue:{type:"string"},providerValue:{type:"string"},writeBack:{type:"boolean"}},required:["actionValue","providerValue"]}}},required:["actionField","providerField"]},{type:"object",properties:{actionField:{anyOf:[{type:"string",enum:["title","description","priority","category","assignmentGroup","assignee","requester","dueDate","labels"]},{type:"string",pattern:"^custom:[^\\s:]+$"}]},providerKind:{type:"string",enum:["date","datetime","time","option","text","textarea","rich-text","number","integer","boolean","url","email","multi-option","cascading-option","labels"]},direction:{type:"string",enum:["inbound","outbound","both"]},providerField:{type:"string"},kind:{type:"string",const:"cascading"},childActionField:{anyOf:[{type:"string",enum:["title","description","priority","category","assignmentGroup","assignee","requester","dueDate","labels"]},{type:"string",pattern:"^custom:[^\\s:]+$"}]},values:{type:"array",items:{type:"object",properties:{actionValue:{type:"string"},providerValue:{type:"string"},writeBack:{type:"boolean"},children:{type:"array",items:{type:"object",properties:{actionValue:{type:"string"},providerValue:{type:"string"},writeBack:{type:"boolean"}},required:["actionValue","providerValue"]}}},required:["actionValue","providerValue"]}}},required:["actionField","providerField","kind","values"]}]}},source:{type:"string"},stages:{type:"array",items:{type:"object",properties:{providerState:{type:"string"},stageId:{type:"string"},writeBack:{type:"boolean"}},required:["providerState","stageId"]}}},required:["caseTypeId","source"]}},pull:{type:"object",properties:{assignmentGroupIds:{type:"array",items:{type:"string"}},enabled:{type:"boolean"},sources:{type:"array",items:{type:"object",properties:{cadence:{type:"string",enum:["1m","5m","15m","60m","12h"]},enabled:{type:"boolean"},filter:{anyOf:[{oneOf:[{type:"object",properties:{kind:{type:"string",const:"all"}},required:["kind"]},{type:"object",properties:{ids:{type:"array",items:{type:"string"}},kind:{type:"string",const:"routing_container_ids"}},required:["ids","kind"]},{type:"object",properties:{ids:{type:"array",items:{type:"string"}},kind:{type:"string",const:"routing_container_ids_or_unassigned"}},required:["ids","kind"]}]},{type:"null"}]},source:{type:"string",enum:["servicenow:change_request","servicenow:incident","servicenow:sc_request","servicenow:sc_req_item","servicenow:sc_task"]}},required:["cadence","enabled","filter","source"]}},teamIds:{type:"array",items:{type:"string"}}},required:["assignmentGroupIds","enabled","teamIds"]},push:{type:"object",properties:{assignmentGroupId:{type:["string","null"]},createNew:{type:"boolean"},createSources:{type:"array",items:{type:"string"}},teamId:{type:["string","null"]},updateLinked:{type:"boolean"},closeTasksWithRequestItem:{type:"boolean"}},required:["assignmentGroupId","createNew","updateLinked"]},autoAddress:{type:"object",properties:{enabled:{type:"boolean"},replyMode:{type:"string",enum:["mention","always","ambient"]},sources:{type:"array",items:{type:"string"}}},required:["enabled"]}},required:["pull","push","autoAddress"]},"assignment-groups.archive":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{confirm:{type:"boolean"}},required:[]},"assignment-groups.create":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1,maxLength:200},description:{anyOf:[{type:"string",maxLength:500},{type:"null"}]},sources:{minItems:1,type:"array",items:{oneOf:[{type:"object",properties:{type:{type:"string",const:"directory_group"},directoryGroupId:{type:"string",minLength:1}},required:["type","directoryGroupId"]},{type:"object",properties:{type:{type:"string",const:"action_user"},userId:{type:"string",minLength:1}},required:["type","userId"]}]}},kind:{not:{}},connectorInstanceId:{not:{}},externalProviderGroupId:{not:{}}},required:["name","sources"]},"assignment-groups.update":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1,maxLength:200},description:{anyOf:[{type:"string",maxLength:500},{type:"null"}]},sources:{minItems:1,type:"array",items:{oneOf:[{type:"object",properties:{type:{type:"string",const:"directory_group"},directoryGroupId:{type:"string",minLength:1}},required:["type","directoryGroupId"]},{type:"object",properties:{type:{type:"string",const:"action_user"},userId:{type:"string",minLength:1}},required:["type","userId"]}]}},kind:{not:{}},connectorInstanceId:{not:{}},externalProviderGroupId:{not:{}}},required:[]},"assignment-groups.updateImport":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{enabled:{type:"boolean"},confirm:{type:"boolean"}},required:["enabled"]},"assignment-rules.create":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{conditions:{maxItems:30,type:"array",items:{oneOf:[{type:"object",properties:{type:{type:"string",const:"category"},categoryId:{type:"string",minLength:1},operator:{anyOf:[{type:"string",enum:["is","is_not"]},{type:"null"}]}},required:["type","categoryId"]},{type:"object",properties:{type:{type:"string",const:"priority"},priority:{type:"string",enum:["urgent","high","medium","low","none"]},operator:{anyOf:[{type:"string",enum:["is","is_not","at_least","at_most"]},{type:"null"}]}},required:["type","priority"]},{type:"object",properties:{type:{type:"string",const:"status"},statusId:{type:"string",minLength:1},operator:{anyOf:[{type:"string",enum:["is","is_not"]},{type:"null"}]}},required:["type","statusId"]},{type:"object",properties:{type:{type:"string",const:"label"},labelId:{type:"string",minLength:1},operator:{anyOf:[{type:"string",enum:["is","is_not"]},{type:"null"}]}},required:["type","labelId"]},{type:"object",properties:{type:{type:"string",const:"case_type"},caseTypeId:{type:"string",minLength:1},operator:{anyOf:[{type:"string",enum:["is","is_not"]},{type:"null"}]}},required:["type","caseTypeId"]},{type:"object",properties:{type:{type:"string",const:"time"},timezone:{type:"string",minLength:1},daysMask:{type:"integer",minimum:1,maximum:127},startMinute:{type:"integer",minimum:0,maximum:1439},endMinute:{type:"integer",minimum:0,maximum:1439},operator:{anyOf:[{type:"string",enum:["is","is_not"]},{type:"null"}]}},required:["type","timezone","daysMask","startMinute","endMinute"]}]}},actions:{default:[],maxItems:1,type:"array",items:{oneOf:[{type:"object",properties:{targetType:{type:"string",const:"user"},userId:{type:"string",minLength:1}},required:["targetType","userId"]},{type:"object",properties:{targetType:{type:"string",const:"group"},assignmentGroupId:{type:"string",minLength:1},routingMode:{type:"string",enum:["leave_in_group","round_robin"]}},required:["targetType","assignmentGroupId","routingMode"]}]}}},required:[]},"assignment-rules.reorder":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{ruleIds:{type:"array",items:{type:"string",minLength:1}}},required:["ruleIds"]},"assignment-rules.update":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{conditions:{maxItems:30,type:"array",items:{oneOf:[{type:"object",properties:{type:{type:"string",const:"category"},categoryId:{type:"string",minLength:1},operator:{anyOf:[{type:"string",enum:["is","is_not"]},{type:"null"}]}},required:["type","categoryId"]},{type:"object",properties:{type:{type:"string",const:"priority"},priority:{type:"string",enum:["urgent","high","medium","low","none"]},operator:{anyOf:[{type:"string",enum:["is","is_not","at_least","at_most"]},{type:"null"}]}},required:["type","priority"]},{type:"object",properties:{type:{type:"string",const:"status"},statusId:{type:"string",minLength:1},operator:{anyOf:[{type:"string",enum:["is","is_not"]},{type:"null"}]}},required:["type","statusId"]},{type:"object",properties:{type:{type:"string",const:"label"},labelId:{type:"string",minLength:1},operator:{anyOf:[{type:"string",enum:["is","is_not"]},{type:"null"}]}},required:["type","labelId"]},{type:"object",properties:{type:{type:"string",const:"case_type"},caseTypeId:{type:"string",minLength:1},operator:{anyOf:[{type:"string",enum:["is","is_not"]},{type:"null"}]}},required:["type","caseTypeId"]},{type:"object",properties:{type:{type:"string",const:"time"},timezone:{type:"string",minLength:1},daysMask:{type:"integer",minimum:1,maximum:127},startMinute:{type:"integer",minimum:0,maximum:1439},endMinute:{type:"integer",minimum:0,maximum:1439},operator:{anyOf:[{type:"string",enum:["is","is_not"]},{type:"null"}]}},required:["type","timezone","daysMask","startMinute","endMinute"]}]}},actions:{maxItems:1,type:"array",items:{oneOf:[{type:"object",properties:{targetType:{type:"string",const:"user"},userId:{type:"string",minLength:1}},required:["targetType","userId"]},{type:"object",properties:{targetType:{type:"string",const:"group"},assignmentGroupId:{type:"string",minLength:1},routingMode:{type:"string",enum:["leave_in_group","round_robin"]}},required:["targetType","assignmentGroupId","routingMode"]}]}}},required:[]},"automations.create":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1},description:{default:null,type:["string","null"]},slugId:{type:"string"},paused:{default:!1,type:"boolean"},runAsUserId:{anyOf:[{type:"string",minLength:1},{type:"null"}]},config:{$ref:"#/components/schemas/AutomationVersionConfigInput"}},required:["name"]},"automations.createTrigger":{$schema:"https://json-schema.org/draft/2020-12/schema",oneOf:[{type:"object",properties:{displayName:{type:"string",minLength:1},signature:{anyOf:[{type:"object",properties:{scheme:{type:"string",enum:["github","linear","stripe","standard-webhooks","workos"]},secret:{type:"string",minLength:1,maxLength:512}},required:["scheme","secret"]},{type:"null"}]},triggerKind:{type:"string",const:"webhook"},until:{anyOf:[{type:"object",properties:{at:{anyOf:[{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{type:"null"}]},runs:{anyOf:[{type:"integer",exclusiveMinimum:0,maximum:9007199254740991},{type:"null"}]}},required:["at","runs"]},{type:"null"}]},userMessageTemplate:{type:["string","null"]},workflowInput:{anyOf:[{$ref:"#/components/schemas/JsonValue"},{type:"null"}]}},required:["triggerKind"]},{type:"object",properties:{config:{type:"object",properties:{eventKind:{type:"string",enum:["case.created","case.status_changed","case.priority_changed","case.assigned","case.category_changed","case.archived","case.reopened","case.labels_changed","case.escalated","comment.created"]},follow:{type:"string",enum:["agent","always","never"]},caseTypeIds:{minItems:1,type:"array",items:{type:"string",minLength:1}},filter:{type:"object",properties:{toStatusType:{type:"string",enum:["triage","open","in_progress","blocked","done","cancelled"]},toStageCategory:{type:"string",enum:["todo","in_progress","done","cancelled"]},toStatusId:{type:"string",minLength:1},toPriority:{type:"string",enum:["urgent","high","medium","low","none"]},toAssigneeUserId:{anyOf:[{type:"string",minLength:1},{type:"null"}]},toCategoryId:{anyOf:[{type:"string",minLength:1},{type:"null"}]},labelChange:{type:"string",enum:["added","removed"]},addedLabelId:{type:"string",minLength:1},removedLabelId:{type:"string",minLength:1},escalationPolicyResult:{minItems:1,type:"array",items:{type:"string",enum:["rule","default","preserved","none"]}}}}},required:["eventKind"]},displayName:{type:"string",minLength:1},triggerKind:{type:"string",const:"case"},until:{anyOf:[{type:"object",properties:{at:{anyOf:[{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{type:"null"}]},runs:{anyOf:[{type:"integer",exclusiveMinimum:0,maximum:9007199254740991},{type:"null"}]}},required:["at","runs"]},{type:"null"}]},userMessageTemplate:{type:["string","null"]},workflowInput:{anyOf:[{$ref:"#/components/schemas/JsonValue"},{type:"null"}]}},required:["config","triggerKind"]},{type:"object",properties:{connectorInstanceId:{type:"string",minLength:1},connectorSlug:{type:"string",minLength:1},displayName:{type:"string",minLength:1},fieldValues:{type:"object",propertyNames:{type:"string"},additionalProperties:{$ref:"#/components/schemas/JsonValue"}},triggerKind:{type:"string",const:"application"},until:{anyOf:[{type:"object",properties:{at:{anyOf:[{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{type:"null"}]},runs:{anyOf:[{type:"integer",exclusiveMinimum:0,maximum:9007199254740991},{type:"null"}]}},required:["at","runs"]},{type:"null"}]},triggerSlug:{type:"string",minLength:1},userMessageTemplate:{type:["string","null"]},workflowInput:{anyOf:[{$ref:"#/components/schemas/JsonValue"},{type:"null"}]}},required:["connectorSlug","triggerKind","triggerSlug"]}]},"automations.createVersion":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{config:{$ref:"#/components/schemas/AutomationVersionConfigInput"}},required:["config"]},"automations.createWorkflowTrigger":{$schema:"https://json-schema.org/draft/2020-12/schema",oneOf:[{type:"object",properties:{displayName:{type:"string",minLength:1},signature:{anyOf:[{type:"object",properties:{scheme:{type:"string",enum:["github","linear","stripe","standard-webhooks","workos"]},secret:{type:"string",minLength:1,maxLength:512}},required:["scheme","secret"]},{type:"null"}]},triggerKind:{type:"string",const:"webhook"},until:{anyOf:[{type:"object",properties:{at:{anyOf:[{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{type:"null"}]},runs:{anyOf:[{type:"integer",exclusiveMinimum:0,maximum:9007199254740991},{type:"null"}]}},required:["at","runs"]},{type:"null"}]},userMessageTemplate:{type:["string","null"]},workflowInput:{anyOf:[{$ref:"#/components/schemas/JsonValue"},{type:"null"}]}},required:["triggerKind"]},{type:"object",properties:{config:{type:"object",properties:{eventKind:{type:"string",enum:["case.created","case.status_changed","case.priority_changed","case.assigned","case.category_changed","case.archived","case.reopened","case.labels_changed","case.escalated","comment.created"]},follow:{type:"string",enum:["agent","always","never"]},caseTypeIds:{minItems:1,type:"array",items:{type:"string",minLength:1}},filter:{type:"object",properties:{toStatusType:{type:"string",enum:["triage","open","in_progress","blocked","done","cancelled"]},toStageCategory:{type:"string",enum:["todo","in_progress","done","cancelled"]},toStatusId:{type:"string",minLength:1},toPriority:{type:"string",enum:["urgent","high","medium","low","none"]},toAssigneeUserId:{anyOf:[{type:"string",minLength:1},{type:"null"}]},toCategoryId:{anyOf:[{type:"string",minLength:1},{type:"null"}]},labelChange:{type:"string",enum:["added","removed"]},addedLabelId:{type:"string",minLength:1},removedLabelId:{type:"string",minLength:1},escalationPolicyResult:{minItems:1,type:"array",items:{type:"string",enum:["rule","default","preserved","none"]}}}}},required:["eventKind"]},displayName:{type:"string",minLength:1},triggerKind:{type:"string",const:"case"},until:{anyOf:[{type:"object",properties:{at:{anyOf:[{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{type:"null"}]},runs:{anyOf:[{type:"integer",exclusiveMinimum:0,maximum:9007199254740991},{type:"null"}]}},required:["at","runs"]},{type:"null"}]},userMessageTemplate:{type:["string","null"]},workflowInput:{anyOf:[{$ref:"#/components/schemas/JsonValue"},{type:"null"}]}},required:["config","triggerKind"]},{type:"object",properties:{connectorInstanceId:{type:"string",minLength:1},connectorSlug:{type:"string",minLength:1},displayName:{type:"string",minLength:1},fieldValues:{type:"object",propertyNames:{type:"string"},additionalProperties:{$ref:"#/components/schemas/JsonValue"}},triggerKind:{type:"string",const:"application"},until:{anyOf:[{type:"object",properties:{at:{anyOf:[{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{type:"null"}]},runs:{anyOf:[{type:"integer",exclusiveMinimum:0,maximum:9007199254740991},{type:"null"}]}},required:["at","runs"]},{type:"null"}]},triggerSlug:{type:"string",minLength:1},userMessageTemplate:{type:["string","null"]},workflowInput:{anyOf:[{$ref:"#/components/schemas/JsonValue"},{type:"null"}]}},required:["connectorSlug","triggerKind","triggerSlug"]}]},"automations.update":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1},description:{type:["string","null"]},slugId:{type:"string"},paused:{type:"boolean"},runAsUserId:{anyOf:[{type:"string",minLength:1},{type:"null"}]}},required:[]},"automations.updateTrigger":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{integrationId:{not:{}},triggerSlug:{not:{}},displayName:{type:"string",minLength:1},enabled:{type:"boolean"},signature:{anyOf:[{type:"object",properties:{scheme:{type:"string",enum:["github","linear","stripe","standard-webhooks","workos"]},secret:{type:"string",minLength:1,maxLength:512}},required:["scheme","secret"]},{type:"null"}]},triggerConfig:{type:"object",propertyNames:{type:"string"},additionalProperties:{$ref:"#/components/schemas/JsonValue"}},until:{anyOf:[{type:"object",properties:{at:{anyOf:[{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{type:"null"}]},runs:{anyOf:[{type:"integer",exclusiveMinimum:0,maximum:9007199254740991},{type:"null"}]}},required:["at","runs"]},{type:"null"}]},userMessageTemplate:{type:["string","null"]},workflowInput:{anyOf:[{$ref:"#/components/schemas/JsonValue"},{type:"null"}]}},required:[]},"automations.updateWorkflowTrigger":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{integrationId:{not:{}},triggerSlug:{not:{}},displayName:{type:"string",minLength:1},enabled:{type:"boolean"},signature:{anyOf:[{type:"object",properties:{scheme:{type:"string",enum:["github","linear","stripe","standard-webhooks","workos"]},secret:{type:"string",minLength:1,maxLength:512}},required:["scheme","secret"]},{type:"null"}]},triggerConfig:{type:"object",propertyNames:{type:"string"},additionalProperties:{$ref:"#/components/schemas/JsonValue"}},until:{anyOf:[{type:"object",properties:{at:{anyOf:[{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{type:"null"}]},runs:{anyOf:[{type:"integer",exclusiveMinimum:0,maximum:9007199254740991},{type:"null"}]}},required:["at","runs"]},{type:"null"}]},userMessageTemplate:{type:["string","null"]},workflowInput:{anyOf:[{$ref:"#/components/schemas/JsonValue"},{type:"null"}]}},required:[]},"cases.addSubscribers":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{userIds:{minItems:1,maxItems:100,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["userIds"]},"cases.archiveCaseType":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{expectedUpdatedAt:{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},required:["expectedUpdatedAt"]},"cases.comment":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{body:{type:"string",minLength:1,maxLength:20000},visibility:{type:"string",enum:["public","internal"]},turnId:{type:"string",maxLength:200},id:{type:"string"}},required:["body","visibility"]},"cases.createCase":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{title:{type:"string",minLength:1},summary:{type:["string","null"]},statusId:{type:["string","null"]},priority:{type:"string",enum:["none","low","medium","high","urgent"]},categoryId:{type:["string","null"]},requesterUserId:{type:["string","null"]},requesterEmail:{anyOf:[{type:"string",format:"email",pattern:"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{type:"null"}]},assigneeUserId:{type:["string","null"]},assignmentGroupId:{type:["string","null"]},dueAt:{type:["string","null"]},availableAt:{type:["string","null"]},primaryThreadId:{type:["string","null"]},parentCaseId:{type:["string","null"]},phase:{type:"string",minLength:1,maxLength:200},blocksCaseId:{type:["string","null"]},caseTypeId:{type:["string","null"]},fields:{type:"object",propertyNames:{type:"string"},additionalProperties:{anyOf:[{anyOf:[{type:"string"},{type:"number"},{type:"boolean"},{type:"array",items:{type:"string"}}]},{type:"null"}]}}},required:["title"]},"cases.createCaseType":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1,maxLength:80},description:{anyOf:[{type:"string",maxLength:500},{type:"null"}]},stages:{minItems:1,maxItems:50,type:"array",items:{type:"object",properties:{key:{type:"string",minLength:1,maxLength:200},id:{type:"string",minLength:1,maxLength:200},name:{type:"string",minLength:1,maxLength:80},description:{anyOf:[{type:"string",maxLength:500},{type:"null"}]},category:{type:"string",enum:["todo","in_progress","done","cancelled"]},icon:{type:"string",enum:["dashed","circle","dot","pause","check-circle","slash"]},color:{type:"string"},guardrails:{type:"object",properties:{match:{type:"string",enum:["all","any"]},allowSkip:{type:"boolean"},conditions:{maxItems:20,type:"array",items:{oneOf:[{type:"object",properties:{type:{type:"string",const:"from_stage"},stageIds:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}},exclude:{type:"boolean"}},required:["type","stageIds"],additionalProperties:!1},{type:"object",properties:{type:{type:"string",const:"field_is_set"},fieldKey:{type:"string",minLength:1,maxLength:200}},required:["type","fieldKey"],additionalProperties:!1},{type:"object",properties:{type:{type:"string",const:"field_is_any_of"},fieldKey:{type:"string",minLength:1,maxLength:200},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["type","fieldKey","values"],additionalProperties:!1},{type:"object",properties:{type:{type:"string",const:"assignee_is_set"}},required:["type"],additionalProperties:!1},{type:"object",properties:{type:{type:"string",const:"priority_at_least"},priority:{type:"string",enum:["urgent","high","medium","low","none"]}},required:["type","priority"],additionalProperties:!1},{type:"object",properties:{type:{type:"string",const:"subcases_closed"}},required:["type"],additionalProperties:!1},{type:"object",properties:{type:{type:"string",const:"case_field"},field:{type:"string",minLength:1,maxLength:200},operator:{type:"string",enum:["is_set","is_not_set","is_any_of","is_none_of","contains","not_contains","eq","neq","gt","gte","lt","lte"]},values:{maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["type","field","operator"],additionalProperties:!1}]}}},required:["conditions"],additionalProperties:!1}},required:["key","name","description","category","icon","color"]}},initialStageKey:{type:"string",minLength:1},completeStageKey:{type:"string",minLength:1},cancelStageKey:{type:"string",minLength:1},fields:{maxItems:200,type:"array",items:{type:"object",properties:{id:{type:"string",minLength:1,maxLength:200},clientKey:{type:"string",minLength:1,maxLength:200},key:{type:"string",pattern:"^[a-z][a-z0-9_]{0,62}$"},name:{type:"string",minLength:1,maxLength:80},description:{anyOf:[{type:"string",maxLength:500},{type:"null"}]},dataType:{type:"string",enum:["text","number","boolean","timestamp","unique","item_reference","enum","multi_select","user_reference","file"]},options:{anyOf:[{maxItems:2000,type:"array",items:{type:"string",minLength:1,maxLength:200}},{type:"null"}]},parentFieldKey:{anyOf:[{type:"string",minLength:1,maxLength:200},{type:"null"}]},optionsByParent:{anyOf:[{type:"object",propertyNames:{type:"string",minLength:1,maxLength:200},additionalProperties:{maxItems:500,type:"array",items:{type:"string",minLength:1,maxLength:200}}},{type:"null"}]},optionRenames:{type:"object",propertyNames:{type:"string",minLength:1,maxLength:200},additionalProperties:{type:"string",minLength:1,maxLength:200}},optionRenamesByParent:{type:"object",propertyNames:{type:"string",minLength:1,maxLength:200},additionalProperties:{type:"object",propertyNames:{type:"string",minLength:1,maxLength:200},additionalProperties:{type:"string",minLength:1,maxLength:200}}},icon:{anyOf:[{type:"string",enum:["text","hash","toggle","calendar","clock","fingerprint","list","list-checks","link","user","flag","alert","shield","server","globe","tag","dollar","gauge","zap","building"]},{type:"null"}]},optionColors:{type:"object",propertyNames:{type:"string"},additionalProperties:{type:"string",enum:["blue","orange","green","purple","red","sky","pink","brown","gray","yellow"]}},refEntityTypeId:{anyOf:[{type:"string",minLength:1,maxLength:200},{type:"null"}]},section:{anyOf:[{type:"string",maxLength:80},{type:"null"}]},requiredOnCreate:{type:"boolean"},requesterVisible:{type:"boolean"},aiFill:{type:"boolean"}},required:["name","dataType"]}}},required:["name","description","stages","initialStageKey","completeStageKey","cancelStageKey"]},"cases.createCategory":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1,maxLength:80},description:{anyOf:[{type:"string",maxLength:500},{type:"null"}]}},required:["name"]},"cases.createLabel":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1,maxLength:64},color:{type:["string","null"]}},required:["name"]},"cases.escalateRequest":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{reason:{anyOf:[{type:"string",maxLength:4000},{type:"null"}]}},required:[]},"cases.installCaseTemplate":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{templateKey:{type:"string",enum:["case","incident","service-request","request-item","change-request","problem","task","pull-request"]}},required:["templateKey"]},"cases.linkRelation":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{targetCaseIdOrIdentifier:{type:"string",minLength:1,maxLength:200},type:{type:"string",enum:["parent","blocks","related"]}},required:["targetCaseIdOrIdentifier"]},"cases.linkThread":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{threadId:{type:"string",minLength:1,maxLength:200},relationship:{default:"specialist",type:"string",enum:["primary","specialist"]},purpose:{anyOf:[{type:"string",maxLength:500},{type:"null"}]},metadata:{anyOf:[{type:"object",propertyNames:{type:"string"},additionalProperties:{}},{type:"null"}]},automationId:{anyOf:[{type:"string",minLength:1},{type:"null"}]}},required:["threadId"]},"cases.markRead":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{mode:{type:"string",enum:["auto","manual"]}},required:[]},"cases.move":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{caseTypeId:{type:"string",minLength:1,maxLength:200},targetSpaceId:{description:"The space to move the case to. Defaults to the case's own space.",type:"string",minLength:1,maxLength:200}},required:[]},"cases.rebuildSearchIndex":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{cursor:{anyOf:[{type:"string",minLength:1,maxLength:200},{type:"null"}]},limit:{default:200,type:"integer",minimum:1,maximum:500}}},"cases.search":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{question:{type:"string",minLength:1,maxLength:1000},statusType:{anyOf:[{type:"string",enum:["triage","open","in_progress","blocked","done","cancelled"]},{type:"null"}]},statusId:{anyOf:[{type:"string",minLength:1},{type:"null"}]},stageCategory:{anyOf:[{type:"string",enum:["todo","in_progress","done","cancelled"]},{type:"null"}]},categoryId:{type:["string","null"]},limit:{default:5,type:"integer",minimum:1,maximum:20}},required:["question"]},"cases.setDefaultCaseType":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{expectedUpdatedAt:{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},required:["expectedUpdatedAt"]},"cases.spawnThread":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{id:{type:"string",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"},relationship:{default:"specialist",type:"string",enum:["primary","specialist"]},purpose:{anyOf:[{type:"string",maxLength:500},{type:"null"}]},metadata:{anyOf:[{type:"object",propertyNames:{type:"string"},additionalProperties:{}},{type:"null"}]},startMuted:{default:!1,type:"boolean"},automationId:{type:"string",minLength:1}},required:["automationId"]},"cases.unarchiveCaseType":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{expectedUpdatedAt:{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},required:["expectedUpdatedAt"]},"cases.updateCase":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{title:{type:"string"},summary:{type:["string","null"]},statusId:{type:"string"},statusType:{type:"string",enum:["triage","open","in_progress","blocked","done","cancelled"]},stageCategory:{type:"string",enum:["todo","in_progress","done","cancelled"]},priority:{type:"string",enum:["none","low","medium","high","urgent"]},categoryId:{type:["string","null"]},requesterUserId:{type:["string","null"]},assigneeUserId:{type:["string","null"]},assigneeActorType:{anyOf:[{type:"string",enum:["agent"]},{type:"null"}]},assignmentGroupId:{type:["string","null"]},assigneeGroupId:{type:"string"},assignNextInGroup:{type:"boolean",const:!0},dueAt:{type:["string","null"]},availableAt:{type:["string","null"]},labelIds:{type:"array",items:{type:"string",minLength:1}},relevantKnowledgeIds:{maxItems:200,type:"array",items:{type:"string",minLength:1}},relevantSkillIds:{maxItems:200,type:"array",items:{type:"string",minLength:1}},fields:{type:"object",propertyNames:{type:"string"},additionalProperties:{anyOf:[{anyOf:[{type:"string"},{type:"number"},{type:"boolean"},{type:"array",items:{type:"string"}}]},{type:"null"}]}},overrideStageGuardrails:{type:"object",properties:{reason:{type:"string",minLength:1,maxLength:500}},required:["reason"],additionalProperties:!1}},required:[]},"cases.updateCaseType":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1,maxLength:80},description:{anyOf:[{type:"string",maxLength:500},{type:"null"}]},stages:{minItems:1,maxItems:50,type:"array",items:{type:"object",properties:{key:{type:"string",minLength:1,maxLength:200},id:{type:"string",minLength:1,maxLength:200},name:{type:"string",minLength:1,maxLength:80},description:{anyOf:[{type:"string",maxLength:500},{type:"null"}]},category:{type:"string",enum:["todo","in_progress","done","cancelled"]},icon:{type:"string",enum:["dashed","circle","dot","pause","check-circle","slash"]},color:{type:"string"},guardrails:{type:"object",properties:{match:{type:"string",enum:["all","any"]},allowSkip:{type:"boolean"},conditions:{maxItems:20,type:"array",items:{oneOf:[{type:"object",properties:{type:{type:"string",const:"from_stage"},stageIds:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}},exclude:{type:"boolean"}},required:["type","stageIds"],additionalProperties:!1},{type:"object",properties:{type:{type:"string",const:"field_is_set"},fieldKey:{type:"string",minLength:1,maxLength:200}},required:["type","fieldKey"],additionalProperties:!1},{type:"object",properties:{type:{type:"string",const:"field_is_any_of"},fieldKey:{type:"string",minLength:1,maxLength:200},values:{minItems:1,maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["type","fieldKey","values"],additionalProperties:!1},{type:"object",properties:{type:{type:"string",const:"assignee_is_set"}},required:["type"],additionalProperties:!1},{type:"object",properties:{type:{type:"string",const:"priority_at_least"},priority:{type:"string",enum:["urgent","high","medium","low","none"]}},required:["type","priority"],additionalProperties:!1},{type:"object",properties:{type:{type:"string",const:"subcases_closed"}},required:["type"],additionalProperties:!1},{type:"object",properties:{type:{type:"string",const:"case_field"},field:{type:"string",minLength:1,maxLength:200},operator:{type:"string",enum:["is_set","is_not_set","is_any_of","is_none_of","contains","not_contains","eq","neq","gt","gte","lt","lte"]},values:{maxItems:50,type:"array",items:{type:"string",minLength:1,maxLength:200}}},required:["type","field","operator"],additionalProperties:!1}]}}},required:["conditions"],additionalProperties:!1}},required:["key","name","description","category","icon","color"]}},initialStageKey:{type:"string",minLength:1},completeStageKey:{type:"string",minLength:1},cancelStageKey:{type:"string",minLength:1},fields:{maxItems:200,type:"array",items:{type:"object",properties:{id:{type:"string",minLength:1,maxLength:200},clientKey:{type:"string",minLength:1,maxLength:200},key:{type:"string",pattern:"^[a-z][a-z0-9_]{0,62}$"},name:{type:"string",minLength:1,maxLength:80},description:{anyOf:[{type:"string",maxLength:500},{type:"null"}]},dataType:{type:"string",enum:["text","number","boolean","timestamp","unique","item_reference","enum","multi_select","user_reference","file"]},options:{anyOf:[{maxItems:2000,type:"array",items:{type:"string",minLength:1,maxLength:200}},{type:"null"}]},parentFieldKey:{anyOf:[{type:"string",minLength:1,maxLength:200},{type:"null"}]},optionsByParent:{anyOf:[{type:"object",propertyNames:{type:"string",minLength:1,maxLength:200},additionalProperties:{maxItems:500,type:"array",items:{type:"string",minLength:1,maxLength:200}}},{type:"null"}]},optionRenames:{type:"object",propertyNames:{type:"string",minLength:1,maxLength:200},additionalProperties:{type:"string",minLength:1,maxLength:200}},optionRenamesByParent:{type:"object",propertyNames:{type:"string",minLength:1,maxLength:200},additionalProperties:{type:"object",propertyNames:{type:"string",minLength:1,maxLength:200},additionalProperties:{type:"string",minLength:1,maxLength:200}}},icon:{anyOf:[{type:"string",enum:["text","hash","toggle","calendar","clock","fingerprint","list","list-checks","link","user","flag","alert","shield","server","globe","tag","dollar","gauge","zap","building"]},{type:"null"}]},optionColors:{type:"object",propertyNames:{type:"string"},additionalProperties:{type:"string",enum:["blue","orange","green","purple","red","sky","pink","brown","gray","yellow"]}},refEntityTypeId:{anyOf:[{type:"string",minLength:1,maxLength:200},{type:"null"}]},section:{anyOf:[{type:"string",maxLength:80},{type:"null"}]},requiredOnCreate:{type:"boolean"},requesterVisible:{type:"boolean"},aiFill:{type:"boolean"}},required:["name","dataType"]}},expectedUpdatedAt:{type:"string",format:"date-time",pattern:"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},autoCloseWhenSubcasesClosed:{type:"boolean"},holdStatusId:{anyOf:[{type:"string",minLength:1,maxLength:200},{type:"null"}]},syncs:{maxItems:200,type:"array",items:{anyOf:[{type:"object",properties:{connectorId:{type:"string",minLength:1,maxLength:200},source:{type:"string",minLength:1,maxLength:200},mapping:{oneOf:[{type:"object",properties:{actionField:{anyOf:[{type:"string",enum:["title","description","priority","category","assignmentGroup","assignee","requester","dueDate","labels"]},{type:"string",pattern:"^custom:[^\\s:]+$"}]},providerKind:{type:"string",enum:["date","datetime","time","option","text","textarea","rich-text","number","integer","boolean","url","email","multi-option","cascading-option","labels"]},direction:{type:"string",enum:["inbound","outbound","both"]},providerField:{type:"string"},kind:{type:"string",enum:["date","option","text","number","boolean","multi-option"]},values:{type:"array",items:{type:"object",properties:{actionValue:{type:"string"},providerValue:{type:"string"},writeBack:{type:"boolean"}},required:["actionValue","providerValue"]}}},required:["actionField","providerField"]},{type:"object",properties:{actionField:{anyOf:[{type:"string",enum:["title","description","priority","category","assignmentGroup","assignee","requester","dueDate","labels"]},{type:"string",pattern:"^custom:[^\\s:]+$"}]},providerKind:{type:"string",enum:["date","datetime","time","option","text","textarea","rich-text","number","integer","boolean","url","email","multi-option","cascading-option","labels"]},direction:{type:"string",enum:["inbound","outbound","both"]},providerField:{type:"string"},kind:{type:"string",const:"cascading"},childActionField:{anyOf:[{type:"string",enum:["title","description","priority","category","assignmentGroup","assignee","requester","dueDate","labels"]},{type:"string",pattern:"^custom:[^\\s:]+$"}]},values:{type:"array",items:{type:"object",properties:{actionValue:{type:"string"},providerValue:{type:"string"},writeBack:{type:"boolean"},children:{type:"array",items:{type:"object",properties:{actionValue:{type:"string"},providerValue:{type:"string"},writeBack:{type:"boolean"}},required:["actionValue","providerValue"]}}},required:["actionValue","providerValue"]}}},required:["actionField","providerField","kind","values"]}]}},required:["connectorId","source","mapping"]},{type:"object",properties:{connectorId:{type:"string",minLength:1,maxLength:200},source:{type:"string",minLength:1,maxLength:200},unmap:{anyOf:[{type:"string",enum:["title","description","priority","category","assignmentGroup","assignee","requester","dueDate","labels"]},{type:"string",pattern:"^custom:[^\\s:]+$"}]}},required:["connectorId","source","unmap"]}]}},requesterVisible:{type:"boolean"}},required:["name","description","stages","initialStageKey","completeStageKey","cancelStageKey","expectedUpdatedAt"]},"cases.uploadAttachment":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{file:{minItems:1,maxItems:10,type:"array",items:{type:"string",format:"binary",contentEncoding:"binary",minLength:1,maxLength:10485760}}},required:["file"]},"directory.createAdminPortalLink":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{intent:{default:"dsync",type:"string",enum:["domain_verification","sso","dsync"]},returnUrl:{type:"string",format:"uri"},successUrl:{type:"string",format:"uri"}}},"directory.searchGroups":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{cursor:{anyOf:[{type:"object",properties:{groupId:{type:"string"},memberCount:{type:"integer",minimum:0,maximum:9007199254740991},name:{type:"string"}},required:["groupId","memberCount","name"]},{type:"null"}]},limit:{type:"integer",exclusiveMinimum:0,maximum:500},queries:{type:"array",items:{type:"string"}},query:{type:"string"}}},"directory.searchUsers":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{cursor:{anyOf:[{type:"object",properties:{matchRank:{type:"number"},sortKey:{type:"string"},userId:{type:"string"}},required:["matchRank","sortKey","userId"]},{type:"null"}]},limit:{type:"integer",exclusiveMinimum:0,maximum:500},query:{type:"string"}},required:["query"]},"forms.create":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1,maxLength:200},slug:{type:"string",minLength:1,maxLength:120,pattern:"^[a-z0-9]+(?:-[a-z0-9]+)*$"},description:{anyOf:[{type:"string",maxLength:2000},{type:"null"}]},visibility:{default:"space_only",type:"string",enum:["org_facing","space_only"]},enabled:{default:!0,type:"boolean"},agentVisible:{default:!1,type:"boolean"}},required:["name","slug"]},"forms.discardDraft":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{expectedReviewFingerprint:{type:"string",maxLength:8000}},required:[]},"forms.listInCatalog":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{description:{type:"string",maxLength:2000},audience:{type:"object",properties:{everyone:{type:"boolean"},allMembers:{type:"boolean"},spaceIds:{default:[],maxItems:200,type:"array",items:{type:"string",minLength:1,maxLength:256}},userIds:{default:[],maxItems:500,type:"array",items:{type:"string",minLength:1,maxLength:256}}},required:["everyone"]}},required:["audience"]},"forms.publish":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{expectedReviewFingerprint:{type:"string",minLength:1,maxLength:8000}},required:["expectedReviewFingerprint"]},"forms.restore":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{expectedLatestRevisionId:{anyOf:[{type:"string",minLength:1,maxLength:200,pattern:"^[A-Za-z0-9._:|-]+$"},{type:"null"}]}},required:["expectedLatestRevisionId"]},"forms.saveDraft":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",additionalProperties:!1,properties:{source:{type:"string",minLength:1},sourceName:{type:"string",minLength:1,maxLength:160,pattern:"^[A-Za-z0-9._-]+\\.tsx$"},expectedLatestRevisionId:{anyOf:[{type:"string",minLength:1,maxLength:200,pattern:"^[A-Za-z0-9._:|-]+$"},{type:"null"}]},authoringThreadId:{default:null,anyOf:[{type:"string",minLength:1,maxLength:200,pattern:"^[A-Za-z0-9._:|-]+$"},{type:"null"}]},changeSetId:{type:"string",minLength:1,maxLength:200,pattern:"^[A-Za-z0-9._:|-]+$"},visibility:{type:"string",enum:["org_facing","space_only"]},audienceMode:{type:"string",enum:["all_members","access_profiles"]},accessProfileIds:{maxItems:100,type:"array",items:{type:"string",minLength:1,maxLength:200,pattern:"^[A-Za-z0-9._:|-]+$"}}},required:["source","sourceName","expectedLatestRevisionId"]},"forms.setDatabaseProjection":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{enabled:{type:"boolean"}},required:["enabled"]},"forms.update":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{changeSetId:{type:"string",minLength:1,maxLength:200,pattern:"^[A-Za-z0-9._:|-]+$"},name:{type:"string",minLength:1,maxLength:200},slug:{type:"string",minLength:1,maxLength:120,pattern:"^[a-z0-9]+(?:-[a-z0-9]+)*$"},description:{anyOf:[{type:"string",maxLength:2000},{type:"null"}]},enabled:{type:"boolean"},agentVisible:{type:"boolean"},visibility:{type:"string",enum:["org_facing","space_only"]},audienceMode:{type:"string",enum:["all_members","access_profiles"]},accessProfileIds:{maxItems:100,type:"array",items:{type:"string",minLength:1,maxLength:200,pattern:"^[A-Za-z0-9._:|-]+$"}}},required:[]},"knowledge.bulkUpdateConfluenceConnectorDocuments":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{directory:{type:"object",properties:{path:{maxItems:100,type:"array",items:{type:"string",minLength:1,maxLength:1024}},sourceRoot:{anyOf:[{type:"object",properties:{id:{anyOf:[{type:"string",maxLength:1024},{type:"null"}]},name:{anyOf:[{type:"string",maxLength:1024},{type:"null"}]}},required:["id","name"]},{type:"null"}]}},required:["path"]},visible:{type:"boolean"}},required:[]},"knowledge.bulkUpdateGoogleDriveConnectorDocuments":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{directory:{type:"object",properties:{path:{maxItems:100,type:"array",items:{type:"string",minLength:1,maxLength:1024}},sourceRoot:{anyOf:[{type:"object",properties:{id:{anyOf:[{type:"string",maxLength:1024},{type:"null"}]},name:{anyOf:[{type:"string",maxLength:1024},{type:"null"}]}},required:["id","name"]},{type:"null"}]}},required:["path"]},visible:{type:"boolean"}},required:[]},"knowledge.bulkUpdateNotionConnectorDocuments":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{directory:{type:"object",properties:{path:{maxItems:100,type:"array",items:{type:"string",minLength:1,maxLength:1024}},sourceRoot:{anyOf:[{type:"object",properties:{id:{anyOf:[{type:"string",maxLength:1024},{type:"null"}]},name:{anyOf:[{type:"string",maxLength:1024},{type:"null"}]}},required:["id","name"]},{type:"null"}]}},required:["path"]},visible:{type:"boolean"}},required:[]},"knowledge.bulkUpdateSharePointConnectorDocuments":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{directory:{type:"object",properties:{path:{maxItems:100,type:"array",items:{type:"string",minLength:1,maxLength:1024}},sourceRoot:{anyOf:[{type:"object",properties:{id:{anyOf:[{type:"string",maxLength:1024},{type:"null"}]},name:{anyOf:[{type:"string",maxLength:1024},{type:"null"}]}},required:["id","name"]},{type:"null"}]}},required:["path"]},visible:{type:"boolean"}},required:[]},"knowledge.bulkUpdateSimpplrConnectorDocuments":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{directory:{type:"object",properties:{path:{maxItems:100,type:"array",items:{type:"string",minLength:1,maxLength:1024}},sourceRoot:{anyOf:[{type:"object",properties:{id:{anyOf:[{type:"string",maxLength:1024},{type:"null"}]},name:{anyOf:[{type:"string",maxLength:1024},{type:"null"}]}},required:["id","name"]},{type:"null"}]}},required:["path"]},visible:{type:"boolean"}},required:[]},"knowledge.createUpload":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{file:{type:"string",format:"binary",contentEncoding:"binary",minLength:1,maxLength:52428800},folder:{type:"string",minLength:1,maxLength:80},path:{description:"Slash-separated relative subfolder path.",type:"string"},availability:{type:"string",enum:["org","space"]}},required:["file","folder"]},"knowledge.renameFolder":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string"}},required:["name"]},"knowledge.renameSubfolder":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string"}},required:["name"]},"knowledge.replaceGithubKnowledgeRepos":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{repos:{maxItems:500,type:"array",items:{type:"object",properties:{branch:{type:"string",minLength:1},included:{type:"boolean"},repoFullName:{type:"string",pattern:"^[^/\\s]+\\/[^/\\s]+$"}},required:["branch","repoFullName"]}}},required:["repos"]},"knowledge.search":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{question:{type:"string",minLength:1,maxLength:500},provider:{type:["string","null"]},limit:{default:5,type:"integer",minimum:1,maximum:10},updatedAfter:{anyOf:[{type:"string",pattern:"^\\d{4}-\\d{2}-\\d{2}$"},{type:"null"}]},updatedBefore:{anyOf:[{type:"string",pattern:"^\\d{4}-\\d{2}-\\d{2}$"},{type:"null"}]},author:{type:["string","null"]},createdBy:{type:["string","null"]},createdAfter:{anyOf:[{type:"string",pattern:"^\\d{4}-\\d{2}-\\d{2}$"},{type:"null"}]},createdBefore:{anyOf:[{type:"string",pattern:"^\\d{4}-\\d{2}-\\d{2}$"},{type:"null"}]}},required:["question"]},"knowledge.searchNotionConnectorDocuments":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{cursor:{type:"string"},query:{type:"string"},limit:{type:"number"}},required:[]},"knowledge.updateConfluenceConnectorDocument":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{visible:{type:"boolean"}},required:[]},"knowledge.updateConfluenceConnectorSelection":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{selection:{type:"object",properties:{mode:{type:"string",const:"selected"},spaces:{maxItems:500,type:"array",items:{type:"object",properties:{id:{type:"string",minLength:1},key:{type:["string","null"]},name:{type:["string","null"]}},required:["id"]}}},required:["mode","spaces"]}},required:["selection"]},"knowledge.updateFolderDocuments":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{visible:{type:"boolean"}},required:["visible"]},"knowledge.updateGithubConnectorRepos":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{repos:{maxItems:500,type:"array",items:{type:"string",pattern:"^[^/\\s]+\\/[^/\\s]+$"}}},required:["repos"]},"knowledge.updateGoogleDriveConnectorDocument":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{visible:{type:"boolean"}},required:[]},"knowledge.updateGoogleDriveConnectorSelection":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{selection:{oneOf:[{type:"object",properties:{mode:{type:"string",const:"all"},corpora:{type:"array",items:{type:"object",properties:{id:{type:"string",minLength:1},name:{type:["string","null"]},folders:{maxItems:500,type:"array",items:{type:"object",properties:{id:{type:"string",minLength:1},name:{type:["string","null"]},excluded:{type:"boolean"},ancestorIds:{maxItems:100,type:"array",items:{type:"string",minLength:1}}},required:["id"]}},includeRoot:{type:"boolean"}},required:["id"]}}},required:["mode"]},{type:"object",properties:{mode:{type:"string",const:"selected"},corpora:{maxItems:500,type:"array",items:{type:"object",properties:{id:{type:"string",minLength:1},name:{type:["string","null"]},folders:{maxItems:500,type:"array",items:{type:"object",properties:{id:{type:"string",minLength:1},name:{type:["string","null"]},excluded:{type:"boolean"},ancestorIds:{maxItems:100,type:"array",items:{type:"string",minLength:1}}},required:["id"]}},includeRoot:{type:"boolean"}},required:["id"]}}},required:["mode","corpora"]}]}},required:["selection"]},"knowledge.updateNotionConnectorDocument":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{visible:{type:"boolean"}},required:[]},"knowledge.updateNotionConnectorSelection":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{selection:{oneOf:[{type:"object",properties:{mode:{type:"string",const:"all"},items:{maxItems:500,type:"array",items:{type:"object",properties:{id:{type:"string",minLength:1},object:{type:"string",enum:["page","data_source"]},title:{type:["string","null"]},url:{type:["string","null"]},lastEditedTime:{type:["string","null"]},excluded:{type:"boolean"}},required:["id","object"]}}},required:["mode"]},{type:"object",properties:{mode:{type:"string",const:"selected"},items:{maxItems:500,type:"array",items:{type:"object",properties:{id:{type:"string",minLength:1},object:{type:"string",enum:["page","data_source"]},title:{type:["string","null"]},url:{type:["string","null"]},lastEditedTime:{type:["string","null"]},excluded:{type:"boolean"}},required:["id","object"]}}},required:["mode","items"]}]}},required:["selection"]},"knowledge.updateSharePointConnectorDocument":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{visible:{type:"boolean"}},required:[]},"knowledge.updateSharePointConnectorSelection":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{selection:{type:"object",properties:{mode:{type:"string",const:"selected"},sites:{maxItems:500,type:"array",items:{type:"object",properties:{id:{type:"string",minLength:1},name:{type:["string","null"]},displayName:{type:["string","null"]},webUrl:{type:["string","null"]}},required:["id"]}}},required:["mode","sites"]}},required:["selection"]},"knowledge.updateSimpplrConnectorDocument":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{visible:{type:"boolean"}},required:[]},"knowledge.updateSimpplrConnectorSelection":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{selection:{type:"object",properties:{mode:{type:"string",const:"selected"},sites:{maxItems:500,type:"array",items:{type:"object",properties:{id:{type:"string",minLength:1},name:{type:["string","null"]}},required:["id"]}}},required:["mode","sites"]}},required:["selection"]},"knowledge.updateSlackConnectorBackfill":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{depth:{anyOf:[{type:"number",minimum:1},{type:"string",const:"all"}]}},required:["depth"]},"knowledge.updateSlackConnectorSelection":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{excludedChannelIds:{type:"array",items:{type:"string",minLength:1}}},required:["excludedChannelIds"]},"knowledge.updateUpload":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{visible:{type:"boolean"}},required:["visible"]},"labels.assignNames":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{entityType:{type:"string",enum:["agent","workflow","skill","access_profile","access_policy","access_role"]},entityId:{type:"string",minLength:1,maxLength:200},names:{maxItems:25,type:"array",items:{type:"string",minLength:1,maxLength:60}},mode:{type:"string",enum:["set","add","remove"]}},required:["entityType","entityId","names","mode"]},"labels.create":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1,maxLength:60},color:{anyOf:[{type:"string",pattern:"^#[0-9a-f]{6}$"},{type:"null"}]}},required:["name"]},"labels.resolveNames":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{names:{maxItems:25,type:"array",items:{type:"string",minLength:1,maxLength:60}}},required:["names"]},"labels.setLabels":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{labelIds:{maxItems:25,type:"array",items:{type:"string",pattern:"^lbl_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"}}},required:["labelIds"]},"labels.update":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1,maxLength:60},color:{anyOf:[{type:"string",pattern:"^#[0-9a-f]{6}$"},{type:"null"}]}},required:[]},"organization-github.confirmInstall":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{connectionId:{type:"string",minLength:1}},required:["connectionId"]},"organization-slack.createChannelSettingsRoute":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{spaceId:{type:"string",minLength:1}},required:["spaceId"]},"organization-slack.startInstall":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{returnTo:{type:"string",maxLength:2048},reauthorize:{type:"boolean"}}},"organization-slack.updateChannelEmojis":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{emojis:{anyOf:[{type:"object",propertyNames:{type:"string"},additionalProperties:{type:"string"}},{type:"null"}]}},required:["emojis"]},"organization-slack.updateChannelIntakeMode":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{intakeMode:{type:"string",enum:["converse","file_only","agent_only"]}},required:["intakeMode"]},"organization-slack.updateChannelSettings":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{responseMode:{type:"string",enum:["mention","always","ambient"]},threadReplyMode:{type:"string",enum:["mention","always","ambient"]},ambientInstruction:{type:["string","null"]},ambientRules:{anyOf:[{type:"object",properties:{respondKeywords:{type:"array",items:{type:"string"}},ignoreKeywords:{type:"array",items:{type:"string"}},respondRegex:{type:["string","null"]}}},{type:"null"}]},respondToApps:{type:"boolean"}},required:["responseMode","threadReplyMode"]},"organization-slack.updateChannelThreadHistory":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{includeThreadHistory:{type:"boolean"}},required:["includeThreadHistory"]},"organization-spaces.create":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{description:{type:"string",minLength:1,maxLength:1000},name:{type:"string",minLength:1},organizationRequestRoutingEnabled:{default:!1,type:"boolean"},slug:{type:"string"}},required:["description","name"]},"organization-spaces.setEscalationMute":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{escalationMuteEnabled:{type:"boolean"}},required:["escalationMuteEnabled"]},"organization-spaces.setOrganizationRequestRouting":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{organizationRequestRoutingEnabled:{type:"boolean"}},required:["organizationRequestRoutingEnabled"]},"organization-teams.createChannelSettingsRoute":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{spaceId:{type:"string",minLength:1}},required:["spaceId"]},"organization-teams.createGraphSubscription":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{scope:{type:"string",enum:["tenant","channel"]},teamId:{type:"string",minLength:1},channelId:{type:"string",minLength:1}}},"organization-teams.startInstall":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{returnTo:{type:"string",maxLength:2048},force:{type:"boolean"}}},"organization-teams.updateChannelEmojis":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{emojis:{anyOf:[{type:"object",propertyNames:{type:"string"},additionalProperties:{type:"string"}},{type:"null"}]}},required:["emojis"]},"organization-teams.updateChannelIntakeMode":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{intakeMode:{type:"string",enum:["converse","file_only","agent_only"]}},required:["intakeMode"]},"organization-teams.updateChannelSettings":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{responseMode:{type:"string",enum:["mention","always","ambient"]},threadReplyMode:{type:"string",enum:["mention","always","ambient"]},ambientInstruction:{type:["string","null"]},ambientRules:{anyOf:[{type:"object",properties:{respondKeywords:{type:"array",items:{type:"string"}},ignoreKeywords:{type:"array",items:{type:"string"}},respondRegex:{type:["string","null"]}}},{type:"null"}]}},required:["responseMode","threadReplyMode"]},"organizations.createInvite":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{email:{type:"string",minLength:1},expiresInDays:{type:"integer",minimum:1,maximum:30},roleSlug:{type:"string",enum:["admin","operator"]}},required:["email","roleSlug"]},"organizations.createMembership":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{email:{type:"string",minLength:1},roleSlug:{type:"string",enum:["admin","operator"]}},required:["email","roleSlug"]},"organizations.updateMembership":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{roleSlug:{anyOf:[{type:"string",enum:["admin","operator"]},{type:"null"}]},status:{anyOf:[{type:"string",enum:["active","revoked"]},{type:"null"}]},statusReason:{type:["string","null"]}},required:[]},"organizations.updateSettings":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1,maxLength:80},showProfilePictures:{type:"boolean"},supportViewAsEnabled:{type:"boolean"},idleCompactionEnabled:{type:"boolean"}}},"sessions.createOrganizationRequestSession":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{id:{type:"string",format:"uuid",pattern:"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},caseId:{type:"string",pattern:"^case_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"},reuseExisting:{type:"boolean"},destinationSpaceId:{anyOf:[{type:"string",minLength:1},{type:"null"}]}}},"sessions.createOrganizationRequestSessionAndSubmit":{$schema:"https://json-schema.org/draft/2020-12/schema",anyOf:[{type:"object",properties:{prewarmOnly:{type:"boolean",const:!0}},required:["prewarmOnly"]},{type:"object",properties:{id:{type:"string",format:"uuid",pattern:"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},caseId:{type:"string",pattern:"^case_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"},reuseExisting:{type:"boolean"},destinationSpaceId:{anyOf:[{type:"string",minLength:1},{type:"null"}]},initialMessage:{$ref:"#/components/schemas/PublicSessionInitialMessageInput"}},required:["initialMessage"]}]},"sessions.createSession":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{id:{type:"string",format:"uuid",pattern:"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},automation:{$ref:"#/components/schemas/PublicSessionCreateAutomationInput"},visibility:{type:"string",enum:["team","private"]}},required:["automation"]},"sessions.createSessionAndSubmit":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{id:{type:"string",format:"uuid",pattern:"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},automation:{$ref:"#/components/schemas/PublicSessionCreateAutomationInput"},visibility:{type:"string",enum:["team","private"]},initialMessage:{$ref:"#/components/schemas/PublicSessionInitialMessageInput"}},required:["automation","initialMessage"]},"sessions.intakeRequest":{$schema:"https://json-schema.org/draft/2020-12/schema",anyOf:[{type:"object",properties:{prewarmOnly:{type:"boolean",const:!0}},required:["prewarmOnly"]},{type:"object",properties:{id:{type:"string",format:"uuid",pattern:"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},caseId:{type:"string",pattern:"^case_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"},reuseExisting:{type:"boolean"},destinationSpaceId:{anyOf:[{type:"string",minLength:1},{type:"null"}]},initialMessage:{$ref:"#/components/schemas/PublicSessionInitialMessageInput"}},required:["initialMessage"]}]},"sessions.rename":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{title:{type:"string",maxLength:120}},required:["title"]},"sessions.setVisibility":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{visibility:{type:"string",enum:["team","private"]}},required:["visibility"]},"sessions.submitMessage":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{clientMessageId:{type:"string",minLength:1},content:{type:"string",minLength:1},mode:{type:"string",enum:["prompt","steer","followUp"]},timezone:{anyOf:[{type:"string",maxLength:100},{type:"null"}]},page:{anyOf:[{type:"string",maxLength:200},{type:"null"}]},mentions:{maxItems:50,type:"array",items:{type:"object",properties:{id:{type:"string",minLength:1},type:{type:"string",enum:["case","user","automation","access_policy","access_role","access_profile"]}},required:["id","type"]}},skills:{maxItems:8,type:"array",items:{type:"object",properties:{skillId:{type:"string",minLength:1}},required:["skillId"]}},suppressAutomationWake:{type:"boolean"}},required:["clientMessageId","content","mode"]},"sessions.uploadFiles":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{file:{minItems:1,maxItems:10,type:"array",items:{type:"string",format:"binary",contentEncoding:"binary",maxLength:10485760}}},required:["file"]},"skills.createSkill":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{description:{type:"string",minLength:1},scope:{type:"string",enum:["system","org"]},slug:{type:"string",minLength:1},title:{type:"string",minLength:1}},required:["description","scope","slug","title"]},"skills.createSkillVersion":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{files:{minItems:1,maxItems:200,type:"array",items:{type:"object",properties:{path:{type:"string",minLength:1},contentBase64:{type:"string"}},required:["path","contentBase64"]}}},required:["files"]},"skills.updateSkillTags":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{tags:{maxItems:32,type:"array",items:{type:"string",minLength:1,maxLength:64}},expectedTags:{maxItems:32,type:"array",items:{type:"string",minLength:1,maxLength:64}}},required:["tags"]},"space-access-roles.archive":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{replacementRoleId:{anyOf:[{type:"string",minLength:1},{type:"null"}]}},required:[]},"space-access-roles.create":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{status:{type:"string",enum:["draft","active"]},name:{type:"string",minLength:1},description:{type:["string","null"]},permissionSlugs:{type:"array",items:{type:"string"}}},required:["name","permissionSlugs"]},"space-access-roles.duplicate":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{name:{type:"string",minLength:1}},required:["name"]},"space-access-roles.update":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{status:{type:"string",enum:["draft","active"]},name:{type:"string",minLength:1},description:{type:["string","null"]},permissionSlugs:{type:"array",items:{type:"string"}}},required:["name","permissionSlugs"]},"space-action-grants.replaceGrants":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{actionSlugs:{type:"array",items:{type:"string"}}},required:["actionSlugs"]},"space-action-grants.replaceRoles":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{blockedRoleIds:{type:"array",items:{type:"string",minLength:1}}},required:["blockedRoleIds"]},"spaces.addMember":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{accessRoleId:{type:"string"},roleSlug:{type:"string"},email:{type:"string",minLength:1}},required:["email"]},"spaces.createGroupLink":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{accessRoleId:{type:"string"},roleSlug:{type:"string"},directoryGroupId:{type:"string",minLength:1}},required:["directoryGroupId"]},"spaces.setDefaultAssignment":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{defaultRoutingAssignmentGroupId:{anyOf:[{type:"string",minLength:1},{type:"null"}]},defaultRoutingMode:{type:"string",enum:["leave_in_group","round_robin"]}},required:["defaultRoutingAssignmentGroupId"]},"spaces.updateGroupLink":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{accessRoleId:{type:"string"},roleSlug:{type:"string"}},required:[]},"spaces.updateMember":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{accessRoleId:{type:"string"},roleSlug:{type:"string"}},required:[]},"spaces.updateProfile":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{disabledSections:{anyOf:[{maxItems:15,type:"array",items:{type:"string",enum:["inbox","dashboards","cases","agents","workflows","applications","skills","knowledge","forms","secrets","environments","access","iga","entities","catalog"]}},{type:"null"}]},agentPreferences:{anyOf:[{type:"string",maxLength:1000},{type:"null"}]},description:{anyOf:[{type:"string",maxLength:1000},{type:"null"}]},name:{type:"string",minLength:1},slug:{type:"string",minLength:1}},required:[]},"workflows.createWorkflow":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",additionalProperties:!1,properties:{description:{anyOf:[{type:"string",maxLength:2000},{type:"null"}]},key:{type:"string",minLength:1,maxLength:120,pattern:"^(?!(?:con|prn|aux|nul|com[1-9]|lpt[1-9])$)[a-z0-9](?:[a-z0-9-]{0,118}[a-z0-9])?$"},metadata:{$ref:"#/components/schemas/PublicWorkflowMetadataInput"},name:{type:"string",minLength:1,maxLength:200},source:{$ref:"#/components/schemas/PublicWorkflowSource"}},required:["key","metadata","name","source"]},"workflows.createWorkflowRun":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",additionalProperties:!1,properties:{caseId:{type:"string",minLength:1,maxLength:200},input:{$ref:"#/components/schemas/JsonValue"},workflowId:{type:"string",minLength:1,maxLength:200}},required:["input","workflowId"]},"workflows.testWorkflowRevision":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",additionalProperties:!1,properties:{input:{$ref:"#/components/schemas/JsonValue"}},required:["input"]},"workflows.updateWorkflow":{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",additionalProperties:!1,properties:{baseRevisionId:{type:"string",minLength:1,maxLength:200},description:{anyOf:[{type:"string",maxLength:2000},{type:"null"}]},metadata:{$ref:"#/components/schemas/PublicWorkflowMetadataInput"},name:{type:"string",minLength:1,maxLength:200},source:{$ref:"#/components/schemas/PublicWorkflowSource"}},required:["baseRevisionId","metadata","name","source"]}},components:{schemas:{AutomationVersionConfigInput:{type:"object",properties:{systemPrompt:{type:"string"},model:{type:"object",properties:{tier:{type:"string",enum:["mini","standard","pro","ultra"]},speed:{type:"string",enum:["normal","fast"]}},required:["tier","speed"],additionalProperties:!1},runtime:{oneOf:[{type:"object",properties:{runtimeBackend:{type:"string",const:"sandbox"}},required:["runtimeBackend"]},{type:"object",properties:{runtimeBackend:{type:"string",const:"thread-do"},toolExecutionBackend:{type:"string",enum:["dynamic-worker","pi-builtins"]}},required:["runtimeBackend","toolExecutionBackend"]}]},environmentAccess:{default:"all",type:"string",enum:["all","selected"]},environmentIds:{default:[],type:"array",items:{type:"string",minLength:1}},tools:{default:[],type:"array",items:{type:"object",properties:{kind:{type:"string",minLength:1},enabled:{type:"boolean"},config:{type:"object",propertyNames:{type:"string"},additionalProperties:{$ref:"#/components/schemas/JsonValue"}}},required:["kind","enabled"]}},skillIds:{default:[],type:"array",items:{type:"string",minLength:1}},mcpServerIds:{default:[],type:"array",items:{type:"string",minLength:1}},nativeApiServerIds:{maxItems:100,type:"array",items:{type:"string",minLength:1}},nativeApiLevels:{type:"object",propertyNames:{type:"string",minLength:1},additionalProperties:{minItems:1,maxItems:3,type:"array",items:{type:"string",enum:["read","change","delete"]}}},mcpToolAllowlists:{type:"object",propertyNames:{type:"string"},additionalProperties:{type:"array",items:{type:"string"}}},secretIds:{default:[],type:"array",items:{type:"string",minLength:1}},browserEnabled:{default:!1,type:"boolean"},browserProfiles:{oneOf:[{type:"object",properties:{mode:{type:"string",const:"none"}},required:["mode"]},{type:"object",properties:{mode:{type:"string",const:"default"}},required:["mode"]},{type:"object",properties:{mode:{type:"string",const:"runner"}},required:["mode"]},{type:"object",properties:{mode:{type:"string",const:"selected"},ids:{minItems:1,maxItems:100,type:"array",items:{type:"string",minLength:1}}},required:["mode","ids"]}]},loginIds:{maxItems:200,type:"array",items:{type:"string",minLength:1}},workflowBuilderEnabled:{default:!1,type:"boolean"},permissions:{type:"object",properties:{workflows:{type:"object",properties:{mode:{type:"string",enum:["all","selected","none"]},workflowIds:{default:[],maxItems:500,type:"array",items:{type:"string",minLength:1}}},required:["mode"]},cases:{type:"string",enum:["none","read","comment","write"]},accessProfiles:{type:"string",enum:["none","read","write"]},accessPolicies:{type:"string",enum:["none","read","write"]},accessRoles:{type:"string",enum:["none","read","write"]},spaceSettings:{default:"none",type:"string",enum:["none","read","write"]},labels:{default:"write",type:"string",enum:["none","read","write"]},forms:{default:"none",type:"string",enum:["none","read","write"]},agents:{default:"none",type:"string",enum:["none","read","write"]},dashboards:{default:"none",type:"string",enum:["none","read","write"]},applications:{default:"none",type:"string",enum:["none","read","write"]},vault:{default:"none",type:"string",enum:["none","read","write"]},database:{default:"none",type:"string",enum:["none","read","write"]},environments:{default:"none",type:"string",enum:["none","read","write"]},journeys:{default:"none",type:"string",enum:["none","read","write"]},knowledge:{default:!0,type:"boolean"},knowledgeSources:{type:"object",properties:{spacePublic:{type:"boolean"},spaceInternal:{type:"boolean"},otherSpacesPublic:{type:"boolean"}},required:["spacePublic","spaceInternal","otherSpacesPublic"]},directory:{default:!0,type:"boolean"},editSelf:{default:!1,type:"boolean"},createSkills:{type:"boolean"},startJourneys:{default:!1,type:"boolean"},messageSessions:{type:"boolean"},catalog:{type:"boolean"},publishWorkflows:{type:"boolean"},publishSkills:{type:"boolean"}},required:["workflows","cases","accessProfiles","accessPolicies","accessRoles","createSkills"]},triggers:{type:"array",items:{$ref:"#/components/schemas/AutomationCronTriggerInput"}},notifications:{maxItems:20,type:"array",items:{oneOf:[{type:"object",properties:{channel:{type:"string",enum:["inbox","email","slack_dm","teams_dm"]},on:{type:"string",enum:["start","failure"]},userIds:{maxItems:50,type:"array",items:{type:"string",minLength:1}}},required:["channel","on","userIds"]},{type:"object",properties:{channel:{type:"string",const:"slack_channel"},on:{type:"string",enum:["start","failure"]},channelId:{type:"string",minLength:1},channelName:{type:"string",maxLength:200}},required:["channel","on","channelId"]},{type:"object",properties:{channel:{type:"string",const:"teams_channel"},on:{type:"string",enum:["start","failure"]},teamId:{type:"string",minLength:1},channelId:{type:"string",minLength:1},channelName:{type:"string",maxLength:200}},required:["channel","on","teamId","channelId"]}]}},knowledge:{default:null,anyOf:[{$ref:"#/components/schemas/JsonValue"},{type:"null"}]},allowedAutomationIds:{default:[],type:"array",items:{type:"string",minLength:1}},allowAllAutomations:{type:"boolean"},automationBuilderEnabled:{default:!1,type:"boolean"},subautomationsEnabled:{type:"boolean"}},required:["systemPrompt","model","runtime","subautomationsEnabled"],additionalProperties:!1},JsonValue:{anyOf:[{type:"string"},{type:"number"},{type:"boolean"},{type:"null"},{items:{},type:"array"},{additionalProperties:{},type:"object"}]},AutomationCronTriggerInput:{anyOf:[{type:"string",minLength:1},{type:"object",properties:{cron:{type:"string",minLength:1},userMessageTemplate:{type:["string","null"]},timezone:{type:["string","null"]}},required:["cron"]}]},PublicSessionInitialMessageInput:{type:"object",properties:{clientMessageId:{type:"string",minLength:1},content:{type:"string",minLength:1},mode:{type:"string",enum:["prompt","steer","followUp"]},timezone:{anyOf:[{type:"string",maxLength:100},{type:"null"}]},page:{anyOf:[{type:"string",maxLength:200},{type:"null"}]},mentions:{maxItems:50,type:"array",items:{type:"object",properties:{id:{type:"string",minLength:1},type:{type:"string",enum:["case","user","automation","access_policy","access_role","access_profile"]}},required:["id","type"]}},skills:{maxItems:8,type:"array",items:{type:"object",properties:{skillId:{type:"string",minLength:1}},required:["skillId"]}},suppressAutomationWake:{type:"boolean"}},required:["clientMessageId","content","mode"]},PublicSessionCreateAutomationInput:{type:"object",properties:{automationId:{type:"string",minLength:1},automationVersionId:{type:"string",minLength:1},version:{type:"number"},attachedSkills:{type:"array",items:{type:"object",properties:{skillVersionId:{type:"string",minLength:1}},required:["skillVersionId"]}},enabledSkillIds:{type:"array",items:{type:"string",minLength:1}},disabledSkillIds:{type:"array",items:{type:"string",minLength:1}},enabledMcpServerIds:{type:"array",items:{type:"string",minLength:1}},disabledMcpServerIds:{type:"array",items:{type:"string",minLength:1}}},required:["automationId","automationVersionId","version"]},PublicWorkflowMetadataInput:{type:"object",properties:{inputs:{$ref:"#/components/schemas/PublicWorkflowJsonSchemaObject"},outputs:{default:null,anyOf:[{$ref:"#/components/schemas/PublicWorkflowJsonSchemaObject"},{type:"null"}]}},required:["inputs"],additionalProperties:!1},PublicWorkflowJsonSchemaObject:{type:"object",properties:{type:{type:"string",const:"object"}},required:["type"],additionalProperties:{}},PublicWorkflowSource:{type:"object",properties:{files:{minItems:1,maxItems:1,type:"array",items:{$ref:"#/components/schemas/PublicWorkflowSourceFile"}}},required:["files"],additionalProperties:!1},PublicWorkflowSourceFile:{type:"object",properties:{content:{type:"string",minLength:1,maxLength:1e6,description:"Workflow source text. OpenAPI maxLength counts characters; the server also enforces an encoded UTF-8 limit of 1,000,000 bytes."},path:{type:"string",const:"index.mjs"}},required:["content","path"],additionalProperties:!1}}}};var ta=Eg,Tg=new Ng.default({strict:!1,allErrors:!0,validateFormats:!1}),Xg=new Map,ad=(e)=>e.$ref?ta.components.schemas[e.$ref.split("/").at(-1)]:e;function Wg(e,t){let r=ta.operations[e];if(!r)return;let n=JSON.parse(t),a=n.body;if(n.multipart_form_data){a={};let o=ad(r).properties??{};for(let s of n.multipart_form_data){let d=s.type==="file"?s.path:s.value,c=ad(o[s.name]??{});if(s.type!=="file"&&["number","integer","boolean"].includes(c.type))try{d=JSON.parse(d)}catch{}if(c.type==="array")(a[s.name]??=[]).push(d);else a[s.name]=d}}let i=Xg.get(e);if(!i)i=Tg.compile({...r,components:ta.components}),Xg.set(e,i);if(!i(a===void 0?{}:a))throw k(`Invalid request: ${Tg.errorsText(i.errors,{separator:"; "})}. Use --schema to inspect constraints.`)}function Dg(e,t){let r=ta.operations[e];if(!r||!t.input)return t;let n=ad(r),a={};function i(s){if(!s||typeof s!=="object")return;let d=s.$ref;if(d){let c=d.split("/").at(-1);if(!(c in a))a[c]=ta.components.schemas[c],i(a[c])}for(let c of Object.values(s))i(c)}i(r);let o={...t.input.properties};for(let[s,d]of Object.entries(n.properties??{}))o[s]={...o[s],...d};return{...t,input:{...t.input,properties:o,required:[...new Set([...t.input.required??[],...n.required??[]])]},requestBodySchema:r,...Object.keys(a).length?{components:{schemas:a}}:{}}}function id(e,t){if(t==="applications")e=e.replace(`Commands:
|
|
242
242
|
`,`Commands:
|
|
243
243
|
list List applications (alias for list-applications)
|
|
244
244
|
get Get an application (alias for get-application)
|