@code0-tech/tucana 0.0.69 → 0.0.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/aquila.cjs.js +1 -1
- package/dist/aquila.es.js +92 -49
- package/dist/pb/_generated/aquila.action_pb.d.ts +29 -2
- package/package.json +1 -1
package/dist/aquila.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./shared.runtime_usage_pb-6pp995qK.cjs`),t=require(`./rpc-interceptor-4ZNqeHp7.cjs`);var n=new class extends e.W{constructor(){super(`aquila.ActionEvent`,[{no:1,name:`event_type`,kind:`scalar`,T:9},{no:2,name:`project_id`,kind:`scalar`,T:3,L:0},{no:3,name:`payload`,kind:`message`,T:()=>e.I}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.eventType=``,n.projectId=0n,t!==void 0&&e.G(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.eventType=t.string();break;case 2:a.projectId=t.int64().toBigInt();break;case 3:a.payload=e.I.internalBinaryRead(t,t.uint32(),r,a.payload);break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.J.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.eventType!==``&&n.tag(1,e.Y.LengthDelimited).string(t.eventType),t.projectId!==0n&&n.tag(2,e.Y.Varint).int64(t.projectId),t.payload&&e.I.internalBinaryWrite(t.payload,n.tag(3,e.Y.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.J.onWrite:i)(this.typeName,t,n),n}},r=new class extends e.W{constructor(){super(`aquila.ActionLogon`,[{no:1,name:`module`,kind:`message`,T:()=>e.u}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.G(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.module=e.u.internalBinaryRead(t,t.uint32(),r,a.module);break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.J.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.module&&e.u.internalBinaryWrite(t.module,n.tag(1,e.Y.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.J.onWrite:i)(this.typeName,t,n),n}},i=new class extends e.W{constructor(){super(`aquila.ActionExecutionRequest`,[{no:1,name:`execution_identifier`,kind:`scalar`,T:9},{no:2,name:`function_identifier`,kind:`scalar`,T:9},{no:3,name:`parameters`,kind:`message`,T:()=>e.F},{no:4,name:`project_id`,kind:`scalar`,T:3,L:0}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.executionIdentifier=``,n.functionIdentifier=``,n.projectId=0n,t!==void 0&&e.G(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.executionIdentifier=t.string();break;case 2:a.functionIdentifier=t.string();break;case 3:a.parameters=e.F.internalBinaryRead(t,t.uint32(),r,a.parameters);break;case 4:a.projectId=t.int64().toBigInt();break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.J.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.executionIdentifier!==``&&n.tag(1,e.Y.LengthDelimited).string(t.executionIdentifier),t.functionIdentifier!==``&&n.tag(2,e.Y.LengthDelimited).string(t.functionIdentifier),t.parameters&&e.F.internalBinaryWrite(t.parameters,n.tag(3,e.Y.LengthDelimited).fork(),r).join(),t.projectId!==0n&&n.tag(4,e.Y.Varint).int64(t.projectId);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.J.onWrite:i)(this.typeName,t,n),n}},a=new class extends e.W{constructor(){super(`aquila.ActionTransferRequest`,[{no:1,name:`logon`,kind:`message`,oneof:`data`,T:()=>r},{no:2,name:`event`,kind:`message`,oneof:`data`,T:()=>n},{no:3,name:`result`,kind:`message`,oneof:`data`,T:()=>e.E}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.G(this,n,t),n}internalBinaryRead(t,i,a,o){let s=o??this.create(),c=t.pos+i;for(;t.pos<c;){let[i,o]=t.tag();switch(i){case 1:s.data={oneofKind:`logon`,logon:r.internalBinaryRead(t,t.uint32(),a,s.data.logon)};break;case 2:s.data={oneofKind:`event`,event:n.internalBinaryRead(t,t.uint32(),a,s.data.event)};break;case 3:s.data={oneofKind:`result`,result:e.E.internalBinaryRead(t,t.uint32(),a,s.data.result)};break;default:let c=a.readUnknownField;if(c===`throw`)throw new globalThis.Error(`Unknown field ${i} (wire type ${o}) for ${this.typeName}`);let l=t.skip(o);c!==!1&&(c===!0?e.J.onRead:c)(this.typeName,s,i,o,l)}}return s}internalBinaryWrite(t,i,a){t.data.oneofKind===`logon`&&r.internalBinaryWrite(t.data.logon,i.tag(1,e.Y.LengthDelimited).fork(),a).join(),t.data.oneofKind===`event`&&n.internalBinaryWrite(t.data.event,i.tag(2,e.Y.LengthDelimited).fork(),a).join(),t.data.oneofKind===`result`&&e.E.internalBinaryWrite(t.data.result,i.tag(3,e.Y.LengthDelimited).fork(),a).join();let o=a.writeUnknownFields;return o!==!1&&(o==1?e.J.onWrite:o)(this.typeName,t,i),i}},o=new class extends e.W{constructor(){super(`aquila.ActionTransferResponse`,[{no:1,name:`execution`,kind:`message`,oneof:`data`,T:()=>i},{no:2,name:`module_configurations`,kind:`message`,oneof:`data`,T:()=>e.p}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.G(this,n,t),n}internalBinaryRead(t,n,r,a){let o=a??this.create(),s=t.pos+n;for(;t.pos<s;){let[n,a]=t.tag();switch(n){case 1:o.data={oneofKind:`execution`,execution:i.internalBinaryRead(t,t.uint32(),r,o.data.execution)};break;case 2:o.data={oneofKind:`moduleConfigurations`,moduleConfigurations:e.p.internalBinaryRead(t,t.uint32(),r,o.data.moduleConfigurations)};break;default:let s=r.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${a}) for ${this.typeName}`);let c=t.skip(a);s!==!1&&(s===!0?e.J.onRead:s)(this.typeName,o,n,a,c)}}return o}internalBinaryWrite(t,n,r){t.data.oneofKind===`execution`&&i.internalBinaryWrite(t.data.execution,n.tag(1,e.Y.LengthDelimited).fork(),r).join(),t.data.oneofKind===`moduleConfigurations`&&e.p.internalBinaryWrite(t.data.moduleConfigurations,n.tag(2,e.Y.LengthDelimited).fork(),r).join();let a=r.writeUnknownFields;return a!==!1&&(a==1?e.J.onWrite:a)(this.typeName,t,n),n}},s=new t.n(`aquila.ActionTransferService`,[{name:`Transfer`,serverStreaming:!0,clientStreaming:!0,options:{},I:a,O:o}]),c=class{constructor(e){this._transport=e,this.typeName=s.typeName,this.methods=s.methods,this.options=s.options}transfer(e){let n=this.methods[0],r=this._transport.mergeOptions(e);return t.t(`duplex`,this._transport,n,r)}},l=new class extends e.W{constructor(){super(`aquila.ModuleUpdateRequest`,[{no:1,name:`modules`,kind:`message`,repeat:2,T:()=>e.u}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.modules=[],t!==void 0&&e.G(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.modules.push(e.u.internalBinaryRead(t,t.uint32(),r));break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.J.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){for(let i=0;i<t.modules.length;i++)e.u.internalBinaryWrite(t.modules[i],n.tag(1,e.Y.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.J.onWrite:i)(this.typeName,t,n),n}},u=new class extends e.W{constructor(){super(`aquila.ModuleUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.G(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.success=t.bool();break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.J.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.success!==!1&&n.tag(1,e.Y.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.J.onWrite:i)(this.typeName,t,n),n}},d=new t.n(`aquila.ModuleService`,[{name:`Update`,options:{},I:l,O:u}]),f=class{constructor(e){this._transport=e,this.typeName=d.typeName,this.methods=d.methods,this.options=d.options}update(e,n){let r=this.methods[0],i=this._transport.mergeOptions(n);return t.t(`unary`,this._transport,r,i,e)}},p=new class extends e.W{constructor(){super(`aquila.RuntimeStatusUpdateRequest`,[{no:1,name:`adapter_runtime_status`,kind:`message`,oneof:`status`,T:()=>e.a},{no:2,name:`execution_runtime_status`,kind:`message`,oneof:`status`,T:()=>e.c},{no:3,name:`action_status`,kind:`message`,oneof:`status`,T:()=>e.n}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.status={oneofKind:void 0},t!==void 0&&e.G(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.status={oneofKind:`adapterRuntimeStatus`,adapterRuntimeStatus:e.a.internalBinaryRead(t,t.uint32(),r,a.status.adapterRuntimeStatus)};break;case 2:a.status={oneofKind:`executionRuntimeStatus`,executionRuntimeStatus:e.c.internalBinaryRead(t,t.uint32(),r,a.status.executionRuntimeStatus)};break;case 3:a.status={oneofKind:`actionStatus`,actionStatus:e.n.internalBinaryRead(t,t.uint32(),r,a.status.actionStatus)};break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.J.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.status.oneofKind===`adapterRuntimeStatus`&&e.a.internalBinaryWrite(t.status.adapterRuntimeStatus,n.tag(1,e.Y.LengthDelimited).fork(),r).join(),t.status.oneofKind===`executionRuntimeStatus`&&e.c.internalBinaryWrite(t.status.executionRuntimeStatus,n.tag(2,e.Y.LengthDelimited).fork(),r).join(),t.status.oneofKind===`actionStatus`&&e.n.internalBinaryWrite(t.status.actionStatus,n.tag(3,e.Y.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.J.onWrite:i)(this.typeName,t,n),n}},m=new class extends e.W{constructor(){super(`aquila.RuntimeStatusUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.G(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.success=t.bool();break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.J.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.success!==!1&&n.tag(1,e.Y.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.J.onWrite:i)(this.typeName,t,n),n}},h=new t.n(`aquila.RuntimeStatusService`,[{name:`Update`,options:{},I:p,O:m}]),g=class{constructor(e){this._transport=e,this.typeName=h.typeName,this.methods=h.methods,this.options=h.options}update(e,n){let r=this.methods[0],i=this._transport.mergeOptions(n);return t.t(`unary`,this._transport,r,i,e)}},_=new class extends e.W{constructor(){super(`aquila.RuntimeUsageRequest`,[{no:1,name:`runtime_usage`,kind:`message`,repeat:2,T:()=>e.t}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.runtimeUsage=[],t!==void 0&&e.G(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.runtimeUsage.push(e.t.internalBinaryRead(t,t.uint32(),r));break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.J.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){for(let i=0;i<t.runtimeUsage.length;i++)e.t.internalBinaryWrite(t.runtimeUsage[i],n.tag(1,e.Y.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.J.onWrite:i)(this.typeName,t,n),n}},v=new class extends e.W{constructor(){super(`aquila.RuntimeUsageResponse`,[{no:1,name:`success`,kind:`scalar`,T:8}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.G(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.success=t.bool();break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.J.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.success!==!1&&n.tag(1,e.Y.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.J.onWrite:i)(this.typeName,t,n),n}},y=new t.n(`aquila.RuntimeUsageService`,[{name:`Update`,options:{},I:_,O:v}]),b=class{constructor(e){this._transport=e,this.typeName=y.typeName,this.methods=y.methods,this.options=y.options}update(e,n){let r=this.methods[0],i=this._transport.mergeOptions(n);return t.t(`unary`,this._transport,r,i,e)}};exports.ActionEvent=n,exports.ActionExecutionRequest=i,exports.ActionLogon=r,exports.ActionTransferRequest=a,exports.ActionTransferResponse=o,exports.ActionTransferService=s,exports.ActionTransferServiceClient=c,exports.ModuleService=d,exports.ModuleServiceClient=f,exports.ModuleUpdateRequest=l,exports.ModuleUpdateResponse=u,exports.RuntimeStatusService=h,exports.RuntimeStatusServiceClient=g,exports.RuntimeStatusUpdateRequest=p,exports.RuntimeStatusUpdateResponse=m,exports.RuntimeUsageRequest=_,exports.RuntimeUsageResponse=v,exports.RuntimeUsageService=y,exports.RuntimeUsageServiceClient=b;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./shared.runtime_usage_pb-6pp995qK.cjs`),t=require(`./rpc-interceptor-4ZNqeHp7.cjs`);var n=new class extends e.W{constructor(){super(`aquila.ActionEvent`,[{no:1,name:`event_type`,kind:`scalar`,T:9},{no:2,name:`project_id`,kind:`scalar`,T:3,L:0},{no:3,name:`payload`,kind:`message`,T:()=>e.I}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.eventType=``,n.projectId=0n,t!==void 0&&e.G(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.eventType=t.string();break;case 2:a.projectId=t.int64().toBigInt();break;case 3:a.payload=e.I.internalBinaryRead(t,t.uint32(),r,a.payload);break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.J.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.eventType!==``&&n.tag(1,e.Y.LengthDelimited).string(t.eventType),t.projectId!==0n&&n.tag(2,e.Y.Varint).int64(t.projectId),t.payload&&e.I.internalBinaryWrite(t.payload,n.tag(3,e.Y.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.J.onWrite:i)(this.typeName,t,n),n}},r=new class extends e.W{constructor(){super(`aquila.ActionLogon`,[{no:1,name:`module`,kind:`message`,T:()=>e.u}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.G(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.module=e.u.internalBinaryRead(t,t.uint32(),r,a.module);break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.J.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.module&&e.u.internalBinaryWrite(t.module,n.tag(1,e.Y.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.J.onWrite:i)(this.typeName,t,n),n}},i=new class extends e.W{constructor(){super(`aquila.ActionExecutionRequest`,[{no:1,name:`execution_identifier`,kind:`scalar`,T:9},{no:2,name:`function_identifier`,kind:`scalar`,T:9},{no:3,name:`parameters`,kind:`message`,T:()=>e.F},{no:4,name:`project_id`,kind:`scalar`,T:3,L:0}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.executionIdentifier=``,n.functionIdentifier=``,n.projectId=0n,t!==void 0&&e.G(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.executionIdentifier=t.string();break;case 2:a.functionIdentifier=t.string();break;case 3:a.parameters=e.F.internalBinaryRead(t,t.uint32(),r,a.parameters);break;case 4:a.projectId=t.int64().toBigInt();break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.J.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.executionIdentifier!==``&&n.tag(1,e.Y.LengthDelimited).string(t.executionIdentifier),t.functionIdentifier!==``&&n.tag(2,e.Y.LengthDelimited).string(t.functionIdentifier),t.parameters&&e.F.internalBinaryWrite(t.parameters,n.tag(3,e.Y.LengthDelimited).fork(),r).join(),t.projectId!==0n&&n.tag(4,e.Y.Varint).int64(t.projectId);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.J.onWrite:i)(this.typeName,t,n),n}},a=new class extends e.W{constructor(){super(`aquila.ActionExecutionResponse`,[{no:1,name:`execution_identifier`,kind:`scalar`,T:9},{no:2,name:`node_result`,kind:`message`,T:()=>e.E}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.executionIdentifier=``,t!==void 0&&e.G(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.executionIdentifier=t.string();break;case 2:a.nodeResult=e.E.internalBinaryRead(t,t.uint32(),r,a.nodeResult);break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.J.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.executionIdentifier!==``&&n.tag(1,e.Y.LengthDelimited).string(t.executionIdentifier),t.nodeResult&&e.E.internalBinaryWrite(t.nodeResult,n.tag(2,e.Y.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.J.onWrite:i)(this.typeName,t,n),n}},o=new class extends e.W{constructor(){super(`aquila.ActionTransferRequest`,[{no:1,name:`logon`,kind:`message`,oneof:`data`,T:()=>r},{no:2,name:`event`,kind:`message`,oneof:`data`,T:()=>n},{no:3,name:`result`,kind:`message`,oneof:`data`,T:()=>a}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.G(this,n,t),n}internalBinaryRead(t,i,o,s){let c=s??this.create(),l=t.pos+i;for(;t.pos<l;){let[i,s]=t.tag();switch(i){case 1:c.data={oneofKind:`logon`,logon:r.internalBinaryRead(t,t.uint32(),o,c.data.logon)};break;case 2:c.data={oneofKind:`event`,event:n.internalBinaryRead(t,t.uint32(),o,c.data.event)};break;case 3:c.data={oneofKind:`result`,result:a.internalBinaryRead(t,t.uint32(),o,c.data.result)};break;default:let l=o.readUnknownField;if(l===`throw`)throw new globalThis.Error(`Unknown field ${i} (wire type ${s}) for ${this.typeName}`);let u=t.skip(s);l!==!1&&(l===!0?e.J.onRead:l)(this.typeName,c,i,s,u)}}return c}internalBinaryWrite(t,i,o){t.data.oneofKind===`logon`&&r.internalBinaryWrite(t.data.logon,i.tag(1,e.Y.LengthDelimited).fork(),o).join(),t.data.oneofKind===`event`&&n.internalBinaryWrite(t.data.event,i.tag(2,e.Y.LengthDelimited).fork(),o).join(),t.data.oneofKind===`result`&&a.internalBinaryWrite(t.data.result,i.tag(3,e.Y.LengthDelimited).fork(),o).join();let s=o.writeUnknownFields;return s!==!1&&(s==1?e.J.onWrite:s)(this.typeName,t,i),i}},s=new class extends e.W{constructor(){super(`aquila.ActionTransferResponse`,[{no:1,name:`execution`,kind:`message`,oneof:`data`,T:()=>i},{no:2,name:`module_configurations`,kind:`message`,oneof:`data`,T:()=>e.p}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.G(this,n,t),n}internalBinaryRead(t,n,r,a){let o=a??this.create(),s=t.pos+n;for(;t.pos<s;){let[n,a]=t.tag();switch(n){case 1:o.data={oneofKind:`execution`,execution:i.internalBinaryRead(t,t.uint32(),r,o.data.execution)};break;case 2:o.data={oneofKind:`moduleConfigurations`,moduleConfigurations:e.p.internalBinaryRead(t,t.uint32(),r,o.data.moduleConfigurations)};break;default:let s=r.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${a}) for ${this.typeName}`);let c=t.skip(a);s!==!1&&(s===!0?e.J.onRead:s)(this.typeName,o,n,a,c)}}return o}internalBinaryWrite(t,n,r){t.data.oneofKind===`execution`&&i.internalBinaryWrite(t.data.execution,n.tag(1,e.Y.LengthDelimited).fork(),r).join(),t.data.oneofKind===`moduleConfigurations`&&e.p.internalBinaryWrite(t.data.moduleConfigurations,n.tag(2,e.Y.LengthDelimited).fork(),r).join();let a=r.writeUnknownFields;return a!==!1&&(a==1?e.J.onWrite:a)(this.typeName,t,n),n}},c=new t.n(`aquila.ActionTransferService`,[{name:`Transfer`,serverStreaming:!0,clientStreaming:!0,options:{},I:o,O:s}]),l=class{constructor(e){this._transport=e,this.typeName=c.typeName,this.methods=c.methods,this.options=c.options}transfer(e){let n=this.methods[0],r=this._transport.mergeOptions(e);return t.t(`duplex`,this._transport,n,r)}},u=new class extends e.W{constructor(){super(`aquila.ModuleUpdateRequest`,[{no:1,name:`modules`,kind:`message`,repeat:2,T:()=>e.u}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.modules=[],t!==void 0&&e.G(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.modules.push(e.u.internalBinaryRead(t,t.uint32(),r));break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.J.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){for(let i=0;i<t.modules.length;i++)e.u.internalBinaryWrite(t.modules[i],n.tag(1,e.Y.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.J.onWrite:i)(this.typeName,t,n),n}},d=new class extends e.W{constructor(){super(`aquila.ModuleUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.G(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.success=t.bool();break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.J.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.success!==!1&&n.tag(1,e.Y.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.J.onWrite:i)(this.typeName,t,n),n}},f=new t.n(`aquila.ModuleService`,[{name:`Update`,options:{},I:u,O:d}]),p=class{constructor(e){this._transport=e,this.typeName=f.typeName,this.methods=f.methods,this.options=f.options}update(e,n){let r=this.methods[0],i=this._transport.mergeOptions(n);return t.t(`unary`,this._transport,r,i,e)}},m=new class extends e.W{constructor(){super(`aquila.RuntimeStatusUpdateRequest`,[{no:1,name:`adapter_runtime_status`,kind:`message`,oneof:`status`,T:()=>e.a},{no:2,name:`execution_runtime_status`,kind:`message`,oneof:`status`,T:()=>e.c},{no:3,name:`action_status`,kind:`message`,oneof:`status`,T:()=>e.n}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.status={oneofKind:void 0},t!==void 0&&e.G(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.status={oneofKind:`adapterRuntimeStatus`,adapterRuntimeStatus:e.a.internalBinaryRead(t,t.uint32(),r,a.status.adapterRuntimeStatus)};break;case 2:a.status={oneofKind:`executionRuntimeStatus`,executionRuntimeStatus:e.c.internalBinaryRead(t,t.uint32(),r,a.status.executionRuntimeStatus)};break;case 3:a.status={oneofKind:`actionStatus`,actionStatus:e.n.internalBinaryRead(t,t.uint32(),r,a.status.actionStatus)};break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.J.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.status.oneofKind===`adapterRuntimeStatus`&&e.a.internalBinaryWrite(t.status.adapterRuntimeStatus,n.tag(1,e.Y.LengthDelimited).fork(),r).join(),t.status.oneofKind===`executionRuntimeStatus`&&e.c.internalBinaryWrite(t.status.executionRuntimeStatus,n.tag(2,e.Y.LengthDelimited).fork(),r).join(),t.status.oneofKind===`actionStatus`&&e.n.internalBinaryWrite(t.status.actionStatus,n.tag(3,e.Y.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.J.onWrite:i)(this.typeName,t,n),n}},h=new class extends e.W{constructor(){super(`aquila.RuntimeStatusUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.G(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.success=t.bool();break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.J.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.success!==!1&&n.tag(1,e.Y.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.J.onWrite:i)(this.typeName,t,n),n}},g=new t.n(`aquila.RuntimeStatusService`,[{name:`Update`,options:{},I:m,O:h}]),_=class{constructor(e){this._transport=e,this.typeName=g.typeName,this.methods=g.methods,this.options=g.options}update(e,n){let r=this.methods[0],i=this._transport.mergeOptions(n);return t.t(`unary`,this._transport,r,i,e)}},v=new class extends e.W{constructor(){super(`aquila.RuntimeUsageRequest`,[{no:1,name:`runtime_usage`,kind:`message`,repeat:2,T:()=>e.t}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.runtimeUsage=[],t!==void 0&&e.G(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.runtimeUsage.push(e.t.internalBinaryRead(t,t.uint32(),r));break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.J.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){for(let i=0;i<t.runtimeUsage.length;i++)e.t.internalBinaryWrite(t.runtimeUsage[i],n.tag(1,e.Y.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.J.onWrite:i)(this.typeName,t,n),n}},y=new class extends e.W{constructor(){super(`aquila.RuntimeUsageResponse`,[{no:1,name:`success`,kind:`scalar`,T:8}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.G(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.success=t.bool();break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.J.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.success!==!1&&n.tag(1,e.Y.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.J.onWrite:i)(this.typeName,t,n),n}},b=new t.n(`aquila.RuntimeUsageService`,[{name:`Update`,options:{},I:v,O:y}]),x=class{constructor(e){this._transport=e,this.typeName=b.typeName,this.methods=b.methods,this.options=b.options}update(e,n){let r=this.methods[0],i=this._transport.mergeOptions(n);return t.t(`unary`,this._transport,r,i,e)}};exports.ActionEvent=n,exports.ActionExecutionRequest=i,exports.ActionExecutionResponse=a,exports.ActionLogon=r,exports.ActionTransferRequest=o,exports.ActionTransferResponse=s,exports.ActionTransferService=c,exports.ActionTransferServiceClient=l,exports.ModuleService=f,exports.ModuleServiceClient=p,exports.ModuleUpdateRequest=u,exports.ModuleUpdateResponse=d,exports.RuntimeStatusService=g,exports.RuntimeStatusServiceClient=_,exports.RuntimeStatusUpdateRequest=m,exports.RuntimeStatusUpdateResponse=h,exports.RuntimeUsageRequest=v,exports.RuntimeUsageResponse=y,exports.RuntimeUsageService=b,exports.RuntimeUsageServiceClient=x;
|
package/dist/aquila.es.js
CHANGED
|
@@ -157,6 +157,49 @@ var h = new class extends a {
|
|
|
157
157
|
return a !== !1 && (a == 1 ? i.onWrite : a)(this.typeName, e, n), n;
|
|
158
158
|
}
|
|
159
159
|
}(), v = new class extends a {
|
|
160
|
+
constructor() {
|
|
161
|
+
super("aquila.ActionExecutionResponse", [{
|
|
162
|
+
no: 1,
|
|
163
|
+
name: "execution_identifier",
|
|
164
|
+
kind: "scalar",
|
|
165
|
+
T: 9
|
|
166
|
+
}, {
|
|
167
|
+
no: 2,
|
|
168
|
+
name: "node_result",
|
|
169
|
+
kind: "message",
|
|
170
|
+
T: () => e
|
|
171
|
+
}]);
|
|
172
|
+
}
|
|
173
|
+
create(e) {
|
|
174
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
175
|
+
return t.executionIdentifier = "", e !== void 0 && n(this, t, e), t;
|
|
176
|
+
}
|
|
177
|
+
internalBinaryRead(t, n, r, a) {
|
|
178
|
+
let o = a ?? this.create(), s = t.pos + n;
|
|
179
|
+
for (; t.pos < s;) {
|
|
180
|
+
let [n, a] = t.tag();
|
|
181
|
+
switch (n) {
|
|
182
|
+
case 1:
|
|
183
|
+
o.executionIdentifier = t.string();
|
|
184
|
+
break;
|
|
185
|
+
case 2:
|
|
186
|
+
o.nodeResult = e.internalBinaryRead(t, t.uint32(), r, o.nodeResult);
|
|
187
|
+
break;
|
|
188
|
+
default:
|
|
189
|
+
let s = r.readUnknownField;
|
|
190
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${a}) for ${this.typeName}`);
|
|
191
|
+
let c = t.skip(a);
|
|
192
|
+
s !== !1 && (s === !0 ? i.onRead : s)(this.typeName, o, n, a, c);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
return o;
|
|
196
|
+
}
|
|
197
|
+
internalBinaryWrite(t, n, r) {
|
|
198
|
+
t.executionIdentifier !== "" && n.tag(1, o.LengthDelimited).string(t.executionIdentifier), t.nodeResult && e.internalBinaryWrite(t.nodeResult, n.tag(2, o.LengthDelimited).fork(), r).join();
|
|
199
|
+
let a = r.writeUnknownFields;
|
|
200
|
+
return a !== !1 && (a == 1 ? i.onWrite : a)(this.typeName, t, n), n;
|
|
201
|
+
}
|
|
202
|
+
}(), y = new class extends a {
|
|
160
203
|
constructor() {
|
|
161
204
|
super("aquila.ActionTransferRequest", [
|
|
162
205
|
{
|
|
@@ -178,7 +221,7 @@ var h = new class extends a {
|
|
|
178
221
|
name: "result",
|
|
179
222
|
kind: "message",
|
|
180
223
|
oneof: "data",
|
|
181
|
-
T: () =>
|
|
224
|
+
T: () => v
|
|
182
225
|
}
|
|
183
226
|
]);
|
|
184
227
|
}
|
|
@@ -186,44 +229,44 @@ var h = new class extends a {
|
|
|
186
229
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
187
230
|
return t.data = { oneofKind: void 0 }, e !== void 0 && n(this, t, e), t;
|
|
188
231
|
}
|
|
189
|
-
internalBinaryRead(t, n, r
|
|
190
|
-
let
|
|
191
|
-
for (;
|
|
192
|
-
let [
|
|
193
|
-
switch (
|
|
232
|
+
internalBinaryRead(e, t, n, r) {
|
|
233
|
+
let a = r ?? this.create(), o = e.pos + t;
|
|
234
|
+
for (; e.pos < o;) {
|
|
235
|
+
let [t, r] = e.tag();
|
|
236
|
+
switch (t) {
|
|
194
237
|
case 1:
|
|
195
|
-
|
|
238
|
+
a.data = {
|
|
196
239
|
oneofKind: "logon",
|
|
197
|
-
logon: g.internalBinaryRead(
|
|
240
|
+
logon: g.internalBinaryRead(e, e.uint32(), n, a.data.logon)
|
|
198
241
|
};
|
|
199
242
|
break;
|
|
200
243
|
case 2:
|
|
201
|
-
|
|
244
|
+
a.data = {
|
|
202
245
|
oneofKind: "event",
|
|
203
|
-
event: h.internalBinaryRead(
|
|
246
|
+
event: h.internalBinaryRead(e, e.uint32(), n, a.data.event)
|
|
204
247
|
};
|
|
205
248
|
break;
|
|
206
249
|
case 3:
|
|
207
|
-
|
|
250
|
+
a.data = {
|
|
208
251
|
oneofKind: "result",
|
|
209
|
-
result:
|
|
252
|
+
result: v.internalBinaryRead(e, e.uint32(), n, a.data.result)
|
|
210
253
|
};
|
|
211
254
|
break;
|
|
212
255
|
default:
|
|
213
|
-
let
|
|
214
|
-
if (
|
|
215
|
-
let
|
|
216
|
-
|
|
256
|
+
let o = n.readUnknownField;
|
|
257
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
|
|
258
|
+
let s = e.skip(r);
|
|
259
|
+
o !== !1 && (o === !0 ? i.onRead : o)(this.typeName, a, t, r, s);
|
|
217
260
|
}
|
|
218
261
|
}
|
|
219
|
-
return
|
|
262
|
+
return a;
|
|
220
263
|
}
|
|
221
|
-
internalBinaryWrite(t, n
|
|
222
|
-
|
|
223
|
-
let
|
|
224
|
-
return
|
|
264
|
+
internalBinaryWrite(e, t, n) {
|
|
265
|
+
e.data.oneofKind === "logon" && g.internalBinaryWrite(e.data.logon, t.tag(1, o.LengthDelimited).fork(), n).join(), e.data.oneofKind === "event" && h.internalBinaryWrite(e.data.event, t.tag(2, o.LengthDelimited).fork(), n).join(), e.data.oneofKind === "result" && v.internalBinaryWrite(e.data.result, t.tag(3, o.LengthDelimited).fork(), n).join();
|
|
266
|
+
let r = n.writeUnknownFields;
|
|
267
|
+
return r !== !1 && (r == 1 ? i.onWrite : r)(this.typeName, e, t), t;
|
|
225
268
|
}
|
|
226
|
-
}(),
|
|
269
|
+
}(), b = new class extends a {
|
|
227
270
|
constructor() {
|
|
228
271
|
super("aquila.ActionTransferResponse", [{
|
|
229
272
|
no: 1,
|
|
@@ -274,22 +317,22 @@ var h = new class extends a {
|
|
|
274
317
|
let r = n.writeUnknownFields;
|
|
275
318
|
return r !== !1 && (r == 1 ? i.onWrite : r)(this.typeName, e, t), t;
|
|
276
319
|
}
|
|
277
|
-
}(),
|
|
320
|
+
}(), x = new p("aquila.ActionTransferService", [{
|
|
278
321
|
name: "Transfer",
|
|
279
322
|
serverStreaming: !0,
|
|
280
323
|
clientStreaming: !0,
|
|
281
324
|
options: {},
|
|
282
|
-
I:
|
|
283
|
-
O:
|
|
284
|
-
}]),
|
|
325
|
+
I: y,
|
|
326
|
+
O: b
|
|
327
|
+
}]), S = class {
|
|
285
328
|
constructor(e) {
|
|
286
|
-
this._transport = e, this.typeName =
|
|
329
|
+
this._transport = e, this.typeName = x.typeName, this.methods = x.methods, this.options = x.options;
|
|
287
330
|
}
|
|
288
331
|
transfer(e) {
|
|
289
332
|
let t = this.methods[0], n = this._transport.mergeOptions(e);
|
|
290
333
|
return m("duplex", this._transport, t, n);
|
|
291
334
|
}
|
|
292
|
-
},
|
|
335
|
+
}, C = new class extends a {
|
|
293
336
|
constructor() {
|
|
294
337
|
super("aquila.ModuleUpdateRequest", [{
|
|
295
338
|
no: 1,
|
|
@@ -325,7 +368,7 @@ var h = new class extends a {
|
|
|
325
368
|
let r = n.writeUnknownFields;
|
|
326
369
|
return r !== !1 && (r == 1 ? i.onWrite : r)(this.typeName, e, t), t;
|
|
327
370
|
}
|
|
328
|
-
}(),
|
|
371
|
+
}(), w = new class extends a {
|
|
329
372
|
constructor() {
|
|
330
373
|
super("aquila.ModuleUpdateResponse", [{
|
|
331
374
|
no: 1,
|
|
@@ -360,20 +403,20 @@ var h = new class extends a {
|
|
|
360
403
|
let r = n.writeUnknownFields;
|
|
361
404
|
return r !== !1 && (r == 1 ? i.onWrite : r)(this.typeName, e, t), t;
|
|
362
405
|
}
|
|
363
|
-
}(),
|
|
406
|
+
}(), T = new p("aquila.ModuleService", [{
|
|
364
407
|
name: "Update",
|
|
365
408
|
options: {},
|
|
366
|
-
I:
|
|
367
|
-
O:
|
|
368
|
-
}]),
|
|
409
|
+
I: C,
|
|
410
|
+
O: w
|
|
411
|
+
}]), E = class {
|
|
369
412
|
constructor(e) {
|
|
370
|
-
this._transport = e, this.typeName =
|
|
413
|
+
this._transport = e, this.typeName = T.typeName, this.methods = T.methods, this.options = T.options;
|
|
371
414
|
}
|
|
372
415
|
update(e, t) {
|
|
373
416
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
374
417
|
return m("unary", this._transport, n, r, e);
|
|
375
418
|
}
|
|
376
|
-
},
|
|
419
|
+
}, D = new class extends a {
|
|
377
420
|
constructor() {
|
|
378
421
|
super("aquila.RuntimeStatusUpdateRequest", [
|
|
379
422
|
{
|
|
@@ -440,7 +483,7 @@ var h = new class extends a {
|
|
|
440
483
|
let r = n.writeUnknownFields;
|
|
441
484
|
return r !== !1 && (r == 1 ? i.onWrite : r)(this.typeName, e, t), t;
|
|
442
485
|
}
|
|
443
|
-
}(),
|
|
486
|
+
}(), O = new class extends a {
|
|
444
487
|
constructor() {
|
|
445
488
|
super("aquila.RuntimeStatusUpdateResponse", [{
|
|
446
489
|
no: 1,
|
|
@@ -475,20 +518,20 @@ var h = new class extends a {
|
|
|
475
518
|
let r = n.writeUnknownFields;
|
|
476
519
|
return r !== !1 && (r == 1 ? i.onWrite : r)(this.typeName, e, t), t;
|
|
477
520
|
}
|
|
478
|
-
}(),
|
|
521
|
+
}(), k = new p("aquila.RuntimeStatusService", [{
|
|
479
522
|
name: "Update",
|
|
480
523
|
options: {},
|
|
481
|
-
I:
|
|
482
|
-
O
|
|
483
|
-
}]),
|
|
524
|
+
I: D,
|
|
525
|
+
O
|
|
526
|
+
}]), A = class {
|
|
484
527
|
constructor(e) {
|
|
485
|
-
this._transport = e, this.typeName =
|
|
528
|
+
this._transport = e, this.typeName = k.typeName, this.methods = k.methods, this.options = k.options;
|
|
486
529
|
}
|
|
487
530
|
update(e, t) {
|
|
488
531
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
489
532
|
return m("unary", this._transport, n, r, e);
|
|
490
533
|
}
|
|
491
|
-
},
|
|
534
|
+
}, j = new class extends a {
|
|
492
535
|
constructor() {
|
|
493
536
|
super("aquila.RuntimeUsageRequest", [{
|
|
494
537
|
no: 1,
|
|
@@ -524,7 +567,7 @@ var h = new class extends a {
|
|
|
524
567
|
let r = n.writeUnknownFields;
|
|
525
568
|
return r !== !1 && (r == 1 ? i.onWrite : r)(this.typeName, e, t), t;
|
|
526
569
|
}
|
|
527
|
-
}(),
|
|
570
|
+
}(), M = new class extends a {
|
|
528
571
|
constructor() {
|
|
529
572
|
super("aquila.RuntimeUsageResponse", [{
|
|
530
573
|
no: 1,
|
|
@@ -559,14 +602,14 @@ var h = new class extends a {
|
|
|
559
602
|
let r = n.writeUnknownFields;
|
|
560
603
|
return r !== !1 && (r == 1 ? i.onWrite : r)(this.typeName, e, t), t;
|
|
561
604
|
}
|
|
562
|
-
}(),
|
|
605
|
+
}(), N = new p("aquila.RuntimeUsageService", [{
|
|
563
606
|
name: "Update",
|
|
564
607
|
options: {},
|
|
565
|
-
I:
|
|
566
|
-
O:
|
|
567
|
-
}]),
|
|
608
|
+
I: j,
|
|
609
|
+
O: M
|
|
610
|
+
}]), P = class {
|
|
568
611
|
constructor(e) {
|
|
569
|
-
this._transport = e, this.typeName =
|
|
612
|
+
this._transport = e, this.typeName = N.typeName, this.methods = N.methods, this.options = N.options;
|
|
570
613
|
}
|
|
571
614
|
update(e, t) {
|
|
572
615
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
@@ -574,4 +617,4 @@ var h = new class extends a {
|
|
|
574
617
|
}
|
|
575
618
|
};
|
|
576
619
|
//#endregion
|
|
577
|
-
export { h as ActionEvent, _ as ActionExecutionRequest, g as ActionLogon,
|
|
620
|
+
export { h as ActionEvent, _ as ActionExecutionRequest, v as ActionExecutionResponse, g as ActionLogon, y as ActionTransferRequest, b as ActionTransferResponse, x as ActionTransferService, S as ActionTransferServiceClient, T as ModuleService, E as ModuleServiceClient, C as ModuleUpdateRequest, w as ModuleUpdateResponse, k as RuntimeStatusService, A as RuntimeStatusServiceClient, D as RuntimeStatusUpdateRequest, O as RuntimeStatusUpdateResponse, j as RuntimeUsageRequest, M as RuntimeUsageResponse, N as RuntimeUsageService, P as RuntimeUsageServiceClient };
|
|
@@ -72,6 +72,23 @@ export interface ActionExecutionRequest {
|
|
|
72
72
|
*/
|
|
73
73
|
projectId: bigint;
|
|
74
74
|
}
|
|
75
|
+
/**
|
|
76
|
+
* @generated from protobuf message aquila.ActionExecutionResponse
|
|
77
|
+
*/
|
|
78
|
+
export interface ActionExecutionResponse {
|
|
79
|
+
/**
|
|
80
|
+
* Execution identifier of execution
|
|
81
|
+
*
|
|
82
|
+
* @generated from protobuf field: string execution_identifier = 1
|
|
83
|
+
*/
|
|
84
|
+
executionIdentifier: string;
|
|
85
|
+
/**
|
|
86
|
+
* Result of execution
|
|
87
|
+
*
|
|
88
|
+
* @generated from protobuf field: shared.NodeExecutionResult node_result = 2
|
|
89
|
+
*/
|
|
90
|
+
nodeResult?: NodeExecutionResult;
|
|
91
|
+
}
|
|
75
92
|
/**
|
|
76
93
|
* @generated from protobuf message aquila.ActionTransferRequest
|
|
77
94
|
*/
|
|
@@ -103,9 +120,9 @@ export interface ActionTransferRequest {
|
|
|
103
120
|
/**
|
|
104
121
|
* Result of execution that was triggered by a execution request
|
|
105
122
|
*
|
|
106
|
-
* @generated from protobuf field:
|
|
123
|
+
* @generated from protobuf field: aquila.ActionExecutionResponse result = 3
|
|
107
124
|
*/
|
|
108
|
-
result:
|
|
125
|
+
result: ActionExecutionResponse;
|
|
109
126
|
} | {
|
|
110
127
|
oneofKind: undefined;
|
|
111
128
|
};
|
|
@@ -167,6 +184,16 @@ declare class ActionExecutionRequest$Type extends MessageType<ActionExecutionReq
|
|
|
167
184
|
* @generated MessageType for protobuf message aquila.ActionExecutionRequest
|
|
168
185
|
*/
|
|
169
186
|
export declare const ActionExecutionRequest: ActionExecutionRequest$Type;
|
|
187
|
+
declare class ActionExecutionResponse$Type extends MessageType<ActionExecutionResponse> {
|
|
188
|
+
constructor();
|
|
189
|
+
create(value?: PartialMessage<ActionExecutionResponse>): ActionExecutionResponse;
|
|
190
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionExecutionResponse): ActionExecutionResponse;
|
|
191
|
+
internalBinaryWrite(message: ActionExecutionResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* @generated MessageType for protobuf message aquila.ActionExecutionResponse
|
|
195
|
+
*/
|
|
196
|
+
export declare const ActionExecutionResponse: ActionExecutionResponse$Type;
|
|
170
197
|
declare class ActionTransferRequest$Type extends MessageType<ActionTransferRequest> {
|
|
171
198
|
constructor();
|
|
172
199
|
create(value?: PartialMessage<ActionTransferRequest>): ActionTransferRequest;
|