@code0-tech/tucana 0.0.75 → 0.0.77
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 +67 -151
- package/dist/pb/_generated/sagittarius_gateway.flow_pb.client.d.ts +43 -0
- package/dist/pb/_generated/sagittarius_gateway.flow_pb.d.ts +110 -0
- package/dist/pb/_generated/sagittarius_gateway.module_pb.client.d.ts +59 -0
- package/dist/pb/_generated/sagittarius_gateway.module_pb.d.ts +131 -0
- package/dist/pb/_generated/sagittarius_gateway.runtime_status_pb.client.d.ts +27 -0
- package/dist/pb/_generated/sagittarius_gateway.runtime_status_pb.d.ts +51 -0
- package/dist/pb/_generated/sagittarius_gateway.test_execution_pb.client.d.ts +43 -0
- package/dist/pb/_generated/{sagittarius.text_execution_pb.d.ts → sagittarius_gateway.test_execution_pb.d.ts} +45 -11
- package/dist/pb/_generated/sagittarius_rails.flow_pb.client.d.ts +31 -0
- package/dist/pb/_generated/{sagittarius.flow_pb.d.ts → sagittarius_rails.flow_pb.d.ts} +5 -14
- package/dist/pb/_generated/{sagittarius.module_pb.client.d.ts → sagittarius_rails.module_pb.client.d.ts} +3 -3
- package/dist/pb/_generated/{sagittarius.module_pb.d.ts → sagittarius_rails.module_pb.d.ts} +11 -5
- package/dist/pb/_generated/{sagittarius.runtime_status_pb.client.d.ts → sagittarius_rails.runtime_status_pb.client.d.ts} +3 -3
- package/dist/pb/_generated/{sagittarius.runtime_status_pb.d.ts → sagittarius_rails.runtime_status_pb.d.ts} +5 -5
- package/dist/pb/_generated/sagittarius_rails.test_execution_pb.client.d.ts +27 -0
- package/dist/pb/_generated/sagittarius_rails.test_execution_pb.d.ts +51 -0
- package/dist/pb/_generated/sagittarius_rails.token_pb.client.d.ts +31 -0
- package/dist/pb/_generated/sagittarius_rails.token_pb.d.ts +93 -0
- package/dist/pb/_generated/shared.flow_pb.d.ts +37 -6
- package/dist/pb/_generated/shared.module_pb.d.ts +8 -0
- package/dist/pb/aquila.d.ts +0 -2
- package/dist/pb/sagittarius_gateway.d.ts +8 -0
- package/dist/pb/sagittarius_rails.d.ts +10 -0
- package/dist/pb/shared.d.ts +0 -1
- package/dist/{rpc-interceptor-az_TTCBK.js → rpc-interceptor-d3qh7P9n.js} +10 -10
- package/dist/{rpc-interceptor-DOeBkZHU.cjs → rpc-interceptor-giFADd4b.cjs} +1 -1
- package/dist/sagittarius_gateway.cjs.js +1 -0
- package/dist/sagittarius_gateway.d.ts +2 -0
- package/dist/{sagittarius.es.js → sagittarius_gateway.es.js} +330 -181
- package/dist/sagittarius_rails.cjs.js +1 -0
- package/dist/sagittarius_rails.d.ts +2 -0
- package/dist/sagittarius_rails.es.js +559 -0
- package/dist/shared.cjs.js +1 -1
- package/dist/shared.es.js +4 -4
- package/dist/{shared.flow_pb-C4ewDq2u.js → shared.flow_pb-DdVuFKPW.js} +179 -117
- package/dist/{shared.flow_pb-DrDw61IF.cjs → shared.flow_pb-clFvPGyv.cjs} +1 -1
- package/dist/shared.function_pb-C8cj-NCz.cjs +2 -0
- package/dist/{shared.function_pb-e1jkWYE_.js → shared.function_pb-Caz-4jvi.js} +1131 -1131
- package/dist/{shared.runtime_usage_pb-DqB5DUDk.cjs → shared.runtime_status_pb-BEEvFfe8.cjs} +1 -1
- package/dist/{shared.runtime_usage_pb-DDUhVHjA.js → shared.runtime_status_pb-D7hH22xO.js} +24 -50
- package/dist/velorum.cjs.js +1 -1
- package/dist/velorum.es.js +3 -3
- package/package.json +13 -7
- package/dist/pb/_generated/aquila.runtime_usage_pb.client.d.ts +0 -27
- package/dist/pb/_generated/aquila.runtime_usage_pb.d.ts +0 -46
- package/dist/pb/_generated/sagittarius.flow_pb.client.d.ts +0 -27
- package/dist/pb/_generated/sagittarius.ping_pb.client.d.ts +0 -27
- package/dist/pb/_generated/sagittarius.ping_pb.d.ts +0 -26
- package/dist/pb/_generated/sagittarius.runtime_usage_pb.client.d.ts +0 -27
- package/dist/pb/_generated/sagittarius.runtime_usage_pb.d.ts +0 -51
- package/dist/pb/_generated/sagittarius.text_execution_pb.client.d.ts +0 -27
- package/dist/pb/_generated/shared.runtime_usage_pb.d.ts +0 -25
- package/dist/pb/sagittarius.d.ts +0 -12
- package/dist/sagittarius.cjs.js +0 -1
- package/dist/sagittarius.d.ts +0 -2
- package/dist/shared.function_pb-BErnwHWO.cjs +0 -2
package/dist/aquila.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./shared.function_pb-BErnwHWO.cjs`),t=require(`./shared.runtime_usage_pb-DqB5DUDk.cjs`),n=require(`./rpc-interceptor-DOeBkZHU.cjs`);var r=new class extends e.v{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.u}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.eventType=``,n.projectId=0n,t!==void 0&&e.y(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.u.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.S.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.eventType!==``&&n.tag(1,e.C.LengthDelimited).string(t.eventType),t.projectId!==0n&&n.tag(2,e.C.Varint).int64(t.projectId),t.payload&&e.u.internalBinaryWrite(t.payload,n.tag(3,e.C.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},i=new class extends e.v{constructor(){super(`aquila.ActionLogon`,[{no:1,name:`module`,kind:`message`,T:()=>t.a}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.y(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.module=t.a.internalBinaryRead(n,n.uint32(),i,o.module);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.S.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.module&&t.a.internalBinaryWrite(n.module,r.tag(1,e.C.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.S.onWrite:a)(this.typeName,n,r),r}},a=new class extends e.v{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.l},{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.y(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.l.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.S.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.executionIdentifier!==``&&n.tag(1,e.C.LengthDelimited).string(t.executionIdentifier),t.functionIdentifier!==``&&n.tag(2,e.C.LengthDelimited).string(t.functionIdentifier),t.parameters&&e.l.internalBinaryWrite(t.parameters,n.tag(3,e.C.LengthDelimited).fork(),r).join(),t.projectId!==0n&&n.tag(4,e.C.Varint).int64(t.projectId);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},o=new class extends e.v{constructor(){super(`aquila.ActionExecutionResponse`,[{no:1,name:`execution_identifier`,kind:`scalar`,T:9},{no:2,name:`node_result`,kind:`message`,T:()=>t._}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.executionIdentifier=``,t!==void 0&&e.y(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.executionIdentifier=n.string();break;case 2:o.nodeResult=t._.internalBinaryRead(n,n.uint32(),i,o.nodeResult);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.S.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.executionIdentifier!==``&&r.tag(1,e.C.LengthDelimited).string(n.executionIdentifier),n.nodeResult&&t._.internalBinaryWrite(n.nodeResult,r.tag(2,e.C.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.S.onWrite:a)(this.typeName,n,r),r}},s=new class extends e.v{constructor(){super(`aquila.ActionTransferRequest`,[{no:1,name:`logon`,kind:`message`,oneof:`data`,T:()=>i},{no:2,name:`event`,kind:`message`,oneof:`data`,T:()=>r},{no:3,name:`result`,kind:`message`,oneof:`data`,T:()=>o}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.y(this,n,t),n}internalBinaryRead(t,n,a,s){let c=s??this.create(),l=t.pos+n;for(;t.pos<l;){let[n,s]=t.tag();switch(n){case 1:c.data={oneofKind:`logon`,logon:i.internalBinaryRead(t,t.uint32(),a,c.data.logon)};break;case 2:c.data={oneofKind:`event`,event:r.internalBinaryRead(t,t.uint32(),a,c.data.event)};break;case 3:c.data={oneofKind:`result`,result:o.internalBinaryRead(t,t.uint32(),a,c.data.result)};break;default:let l=a.readUnknownField;if(l===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${s}) for ${this.typeName}`);let u=t.skip(s);l!==!1&&(l===!0?e.S.onRead:l)(this.typeName,c,n,s,u)}}return c}internalBinaryWrite(t,n,a){t.data.oneofKind===`logon`&&i.internalBinaryWrite(t.data.logon,n.tag(1,e.C.LengthDelimited).fork(),a).join(),t.data.oneofKind===`event`&&r.internalBinaryWrite(t.data.event,n.tag(2,e.C.LengthDelimited).fork(),a).join(),t.data.oneofKind===`result`&&o.internalBinaryWrite(t.data.result,n.tag(3,e.C.LengthDelimited).fork(),a).join();let s=a.writeUnknownFields;return s!==!1&&(s==1?e.S.onWrite:s)(this.typeName,t,n),n}},c=new class extends e.v{constructor(){super(`aquila.ActionTransferResponse`,[{no:1,name:`execution`,kind:`message`,oneof:`data`,T:()=>a},{no:2,name:`module_configurations`,kind:`message`,oneof:`data`,T:()=>t.c}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.y(this,n,t),n}internalBinaryRead(n,r,i,o){let s=o??this.create(),c=n.pos+r;for(;n.pos<c;){let[r,o]=n.tag();switch(r){case 1:s.data={oneofKind:`execution`,execution:a.internalBinaryRead(n,n.uint32(),i,s.data.execution)};break;case 2:s.data={oneofKind:`moduleConfigurations`,moduleConfigurations:t.c.internalBinaryRead(n,n.uint32(),i,s.data.moduleConfigurations)};break;default:let c=i.readUnknownField;if(c===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${o}) for ${this.typeName}`);let l=n.skip(o);c!==!1&&(c===!0?e.S.onRead:c)(this.typeName,s,r,o,l)}}return s}internalBinaryWrite(n,r,i){n.data.oneofKind===`execution`&&a.internalBinaryWrite(n.data.execution,r.tag(1,e.C.LengthDelimited).fork(),i).join(),n.data.oneofKind===`moduleConfigurations`&&t.c.internalBinaryWrite(n.data.moduleConfigurations,r.tag(2,e.C.LengthDelimited).fork(),i).join();let o=i.writeUnknownFields;return o!==!1&&(o==1?e.S.onWrite:o)(this.typeName,n,r),r}},l=new n.n(`aquila.ActionTransferService`,[{name:`Transfer`,serverStreaming:!0,clientStreaming:!0,options:{},I:s,O:c}]),u=class{constructor(e){this._transport=e,this.typeName=l.typeName,this.methods=l.methods,this.options=l.options}transfer(e){let t=this.methods[0],r=this._transport.mergeOptions(e);return n.t(`duplex`,this._transport,t,r)}},d=new class extends e.v{constructor(){super(`aquila.ExecutionRequest`,[{no:1,name:`execution_result`,kind:`message`,T:()=>t.g}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.y(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.executionResult=t.g.internalBinaryRead(n,n.uint32(),i,o.executionResult);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.S.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.executionResult&&t.g.internalBinaryWrite(n.executionResult,r.tag(1,e.C.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.S.onWrite:a)(this.typeName,n,r),r}},f=new class extends e.v{constructor(){super(`aquila.ExecutionResponse`,[{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.y(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.S.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.success!==!1&&n.tag(1,e.C.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},p=new n.n(`aquila.ExecutionService`,[{name:`Update`,options:{},I:d,O:f}]),m=class{constructor(e){this._transport=e,this.typeName=p.typeName,this.methods=p.methods,this.options=p.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},h=new class extends e.v{constructor(){super(`aquila.ModuleUpdateRequest`,[{no:1,name:`modules`,kind:`message`,repeat:2,T:()=>t.a}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.modules=[],t!==void 0&&e.y(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.modules.push(t.a.internalBinaryRead(n,n.uint32(),i));break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.S.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){for(let a=0;a<n.modules.length;a++)t.a.internalBinaryWrite(n.modules[a],r.tag(1,e.C.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.S.onWrite:a)(this.typeName,n,r),r}},g=new class extends e.v{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.y(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.S.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.success!==!1&&n.tag(1,e.C.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},_=new n.n(`aquila.ModuleService`,[{name:`Update`,options:{},I:h,O:g}]),v=class{constructor(e){this._transport=e,this.typeName=_.typeName,this.methods=_.methods,this.options=_.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},y=new class extends e.v{constructor(){super(`aquila.RuntimeStatusUpdateRequest`,[{no:1,name:`status`,kind:`message`,T:()=>t.n}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.y(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.status=t.n.internalBinaryRead(n,n.uint32(),i,o.status);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.S.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.status&&t.n.internalBinaryWrite(n.status,r.tag(1,e.C.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.S.onWrite:a)(this.typeName,n,r),r}},b=new class extends e.v{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.y(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.S.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.success!==!1&&n.tag(1,e.C.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},x=new n.n(`aquila.RuntimeStatusService`,[{name:`Update`,options:{},I:y,O:b}]),S=class{constructor(e){this._transport=e,this.typeName=x.typeName,this.methods=x.methods,this.options=x.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},C=new class extends e.v{constructor(){super(`aquila.RuntimeUsageRequest`,[{no:1,name:`runtime_usage`,kind:`message`,repeat:2,T:()=>t.t}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.runtimeUsage=[],t!==void 0&&e.y(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.runtimeUsage.push(t.t.internalBinaryRead(n,n.uint32(),i));break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.S.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){for(let a=0;a<n.runtimeUsage.length;a++)t.t.internalBinaryWrite(n.runtimeUsage[a],r.tag(1,e.C.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.S.onWrite:a)(this.typeName,n,r),r}},w=new class extends e.v{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.y(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.S.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.success!==!1&&n.tag(1,e.C.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},T=new n.n(`aquila.RuntimeUsageService`,[{name:`Update`,options:{},I:C,O:w}]),E=class{constructor(e){this._transport=e,this.typeName=T.typeName,this.methods=T.methods,this.options=T.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}};exports.ActionEvent=r,exports.ActionExecutionRequest=a,exports.ActionExecutionResponse=o,exports.ActionLogon=i,exports.ActionTransferRequest=s,exports.ActionTransferResponse=c,exports.ActionTransferService=l,exports.ActionTransferServiceClient=u,exports.ExecutionRequest=d,exports.ExecutionResponse=f,exports.ExecutionService=p,exports.ExecutionServiceClient=m,exports.ModuleService=_,exports.ModuleServiceClient=v,exports.ModuleUpdateRequest=h,exports.ModuleUpdateResponse=g,exports.RuntimeStatusService=x,exports.RuntimeStatusServiceClient=S,exports.RuntimeStatusUpdateRequest=y,exports.RuntimeStatusUpdateResponse=b,exports.RuntimeUsageRequest=C,exports.RuntimeUsageResponse=w,exports.RuntimeUsageService=T,exports.RuntimeUsageServiceClient=E;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./shared.function_pb-C8cj-NCz.cjs"),t=require("./shared.runtime_status_pb-BEEvFfe8.cjs"),n=require("./rpc-interceptor-giFADd4b.cjs");var r=new class extends e.v{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.u}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.eventType=``,n.projectId=0n,t!==void 0&&e.y(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.u.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.S.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.eventType!==``&&n.tag(1,e.C.LengthDelimited).string(t.eventType),t.projectId!==0n&&n.tag(2,e.C.Varint).int64(t.projectId),t.payload&&e.u.internalBinaryWrite(t.payload,n.tag(3,e.C.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},i=new class extends e.v{constructor(){super(`aquila.ActionLogon`,[{no:1,name:`module`,kind:`message`,T:()=>t.i}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.y(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.module=t.i.internalBinaryRead(n,n.uint32(),i,o.module);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.S.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.module&&t.i.internalBinaryWrite(n.module,r.tag(1,e.C.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.S.onWrite:a)(this.typeName,n,r),r}},a=new class extends e.v{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.l},{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.y(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.l.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.S.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.executionIdentifier!==``&&n.tag(1,e.C.LengthDelimited).string(t.executionIdentifier),t.functionIdentifier!==``&&n.tag(2,e.C.LengthDelimited).string(t.functionIdentifier),t.parameters&&e.l.internalBinaryWrite(t.parameters,n.tag(3,e.C.LengthDelimited).fork(),r).join(),t.projectId!==0n&&n.tag(4,e.C.Varint).int64(t.projectId);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},o=new class extends e.v{constructor(){super(`aquila.ActionExecutionResponse`,[{no:1,name:`execution_identifier`,kind:`scalar`,T:9},{no:2,name:`node_result`,kind:`message`,T:()=>t.g}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.executionIdentifier=``,t!==void 0&&e.y(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.executionIdentifier=n.string();break;case 2:o.nodeResult=t.g.internalBinaryRead(n,n.uint32(),i,o.nodeResult);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.S.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.executionIdentifier!==``&&r.tag(1,e.C.LengthDelimited).string(n.executionIdentifier),n.nodeResult&&t.g.internalBinaryWrite(n.nodeResult,r.tag(2,e.C.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.S.onWrite:a)(this.typeName,n,r),r}},s=new class extends e.v{constructor(){super(`aquila.ActionTransferRequest`,[{no:1,name:`logon`,kind:`message`,oneof:`data`,T:()=>i},{no:2,name:`event`,kind:`message`,oneof:`data`,T:()=>r},{no:3,name:`result`,kind:`message`,oneof:`data`,T:()=>o}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.y(this,n,t),n}internalBinaryRead(t,n,a,s){let c=s??this.create(),l=t.pos+n;for(;t.pos<l;){let[n,s]=t.tag();switch(n){case 1:c.data={oneofKind:`logon`,logon:i.internalBinaryRead(t,t.uint32(),a,c.data.logon)};break;case 2:c.data={oneofKind:`event`,event:r.internalBinaryRead(t,t.uint32(),a,c.data.event)};break;case 3:c.data={oneofKind:`result`,result:o.internalBinaryRead(t,t.uint32(),a,c.data.result)};break;default:let l=a.readUnknownField;if(l===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${s}) for ${this.typeName}`);let u=t.skip(s);l!==!1&&(l===!0?e.S.onRead:l)(this.typeName,c,n,s,u)}}return c}internalBinaryWrite(t,n,a){t.data.oneofKind===`logon`&&i.internalBinaryWrite(t.data.logon,n.tag(1,e.C.LengthDelimited).fork(),a).join(),t.data.oneofKind===`event`&&r.internalBinaryWrite(t.data.event,n.tag(2,e.C.LengthDelimited).fork(),a).join(),t.data.oneofKind===`result`&&o.internalBinaryWrite(t.data.result,n.tag(3,e.C.LengthDelimited).fork(),a).join();let s=a.writeUnknownFields;return s!==!1&&(s==1?e.S.onWrite:s)(this.typeName,t,n),n}},c=new class extends e.v{constructor(){super(`aquila.ActionTransferResponse`,[{no:1,name:`execution`,kind:`message`,oneof:`data`,T:()=>a},{no:2,name:`module_configurations`,kind:`message`,oneof:`data`,T:()=>t.s}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.y(this,n,t),n}internalBinaryRead(n,r,i,o){let s=o??this.create(),c=n.pos+r;for(;n.pos<c;){let[r,o]=n.tag();switch(r){case 1:s.data={oneofKind:`execution`,execution:a.internalBinaryRead(n,n.uint32(),i,s.data.execution)};break;case 2:s.data={oneofKind:`moduleConfigurations`,moduleConfigurations:t.s.internalBinaryRead(n,n.uint32(),i,s.data.moduleConfigurations)};break;default:let c=i.readUnknownField;if(c===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${o}) for ${this.typeName}`);let l=n.skip(o);c!==!1&&(c===!0?e.S.onRead:c)(this.typeName,s,r,o,l)}}return s}internalBinaryWrite(n,r,i){n.data.oneofKind===`execution`&&a.internalBinaryWrite(n.data.execution,r.tag(1,e.C.LengthDelimited).fork(),i).join(),n.data.oneofKind===`moduleConfigurations`&&t.s.internalBinaryWrite(n.data.moduleConfigurations,r.tag(2,e.C.LengthDelimited).fork(),i).join();let o=i.writeUnknownFields;return o!==!1&&(o==1?e.S.onWrite:o)(this.typeName,n,r),r}},l=new n.n(`aquila.ActionTransferService`,[{name:`Transfer`,serverStreaming:!0,clientStreaming:!0,options:{},I:s,O:c}]),u=class{constructor(e){this._transport=e,this.typeName=l.typeName,this.methods=l.methods,this.options=l.options}transfer(e){let t=this.methods[0],r=this._transport.mergeOptions(e);return n.t(`duplex`,this._transport,t,r)}},d=new class extends e.v{constructor(){super(`aquila.ExecutionRequest`,[{no:1,name:`execution_result`,kind:`message`,T:()=>t.h}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.y(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.executionResult=t.h.internalBinaryRead(n,n.uint32(),i,o.executionResult);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.S.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.executionResult&&t.h.internalBinaryWrite(n.executionResult,r.tag(1,e.C.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.S.onWrite:a)(this.typeName,n,r),r}},f=new class extends e.v{constructor(){super(`aquila.ExecutionResponse`,[{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.y(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.S.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.success!==!1&&n.tag(1,e.C.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},p=new n.n(`aquila.ExecutionService`,[{name:`Update`,options:{},I:d,O:f}]),m=class{constructor(e){this._transport=e,this.typeName=p.typeName,this.methods=p.methods,this.options=p.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},h=new class extends e.v{constructor(){super(`aquila.ModuleUpdateRequest`,[{no:1,name:`modules`,kind:`message`,repeat:2,T:()=>t.i}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.modules=[],t!==void 0&&e.y(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.modules.push(t.i.internalBinaryRead(n,n.uint32(),i));break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.S.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){for(let a=0;a<n.modules.length;a++)t.i.internalBinaryWrite(n.modules[a],r.tag(1,e.C.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.S.onWrite:a)(this.typeName,n,r),r}},g=new class extends e.v{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.y(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.S.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.success!==!1&&n.tag(1,e.C.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},_=new n.n(`aquila.ModuleService`,[{name:`Update`,options:{},I:h,O:g}]),v=class{constructor(e){this._transport=e,this.typeName=_.typeName,this.methods=_.methods,this.options=_.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},y=new class extends e.v{constructor(){super(`aquila.RuntimeStatusUpdateRequest`,[{no:1,name:`status`,kind:`message`,T:()=>t.t}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.y(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.status=t.t.internalBinaryRead(n,n.uint32(),i,o.status);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.S.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.status&&t.t.internalBinaryWrite(n.status,r.tag(1,e.C.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.S.onWrite:a)(this.typeName,n,r),r}},b=new class extends e.v{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.y(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.S.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.success!==!1&&n.tag(1,e.C.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},x=new n.n(`aquila.RuntimeStatusService`,[{name:`Update`,options:{},I:y,O:b}]),S=class{constructor(e){this._transport=e,this.typeName=x.typeName,this.methods=x.methods,this.options=x.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}};exports.ActionEvent=r,exports.ActionExecutionRequest=a,exports.ActionExecutionResponse=o,exports.ActionLogon=i,exports.ActionTransferRequest=s,exports.ActionTransferResponse=c,exports.ActionTransferService=l,exports.ActionTransferServiceClient=u,exports.ExecutionRequest=d,exports.ExecutionResponse=f,exports.ExecutionService=p,exports.ExecutionServiceClient=m,exports.ModuleService=_,exports.ModuleServiceClient=v,exports.ModuleUpdateRequest=h,exports.ModuleUpdateResponse=g,exports.RuntimeStatusService=x,exports.RuntimeStatusServiceClient=S,exports.RuntimeStatusUpdateRequest=y,exports.RuntimeStatusUpdateResponse=b;
|
package/dist/aquila.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as e, S as t, l as n, u as r, v as i, y as a } from "./shared.function_pb-
|
|
2
|
-
import {
|
|
3
|
-
import { n as
|
|
4
|
-
var
|
|
1
|
+
import { C as e, S as t, l as n, u as r, v as i, y as a } from "./shared.function_pb-Caz-4jvi.js";
|
|
2
|
+
import { g as o, h as s, i as c, s as l, t as u } from "./shared.runtime_status_pb-D7hH22xO.js";
|
|
3
|
+
import { n as d, t as f } from "./rpc-interceptor-d3qh7P9n.js";
|
|
4
|
+
var p = new class extends i {
|
|
5
5
|
constructor() {
|
|
6
6
|
super("aquila.ActionEvent", [
|
|
7
7
|
{
|
|
@@ -57,13 +57,13 @@ var m = new class extends i {
|
|
|
57
57
|
let o = a.writeUnknownFields;
|
|
58
58
|
return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, n, i), i;
|
|
59
59
|
}
|
|
60
|
-
}(),
|
|
60
|
+
}(), m = new class extends i {
|
|
61
61
|
constructor() {
|
|
62
62
|
super("aquila.ActionLogon", [{
|
|
63
63
|
no: 1,
|
|
64
64
|
name: "module",
|
|
65
65
|
kind: "message",
|
|
66
|
-
T: () =>
|
|
66
|
+
T: () => c
|
|
67
67
|
}]);
|
|
68
68
|
}
|
|
69
69
|
create(e) {
|
|
@@ -76,23 +76,23 @@ var m = new class extends i {
|
|
|
76
76
|
let [n, i] = e.tag();
|
|
77
77
|
switch (n) {
|
|
78
78
|
case 1:
|
|
79
|
-
a.module =
|
|
79
|
+
a.module = c.internalBinaryRead(e, e.uint32(), r, a.module);
|
|
80
80
|
break;
|
|
81
81
|
default:
|
|
82
82
|
let o = r.readUnknownField;
|
|
83
83
|
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
84
|
-
let
|
|
85
|
-
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i,
|
|
84
|
+
let s = e.skip(i);
|
|
85
|
+
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
return a;
|
|
89
89
|
}
|
|
90
90
|
internalBinaryWrite(n, r, i) {
|
|
91
|
-
n.module &&
|
|
91
|
+
n.module && c.internalBinaryWrite(n.module, r.tag(1, e.LengthDelimited).fork(), i).join();
|
|
92
92
|
let a = i.writeUnknownFields;
|
|
93
93
|
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
94
94
|
}
|
|
95
|
-
}(),
|
|
95
|
+
}(), h = new class extends i {
|
|
96
96
|
constructor() {
|
|
97
97
|
super("aquila.ActionExecutionRequest", [
|
|
98
98
|
{
|
|
@@ -157,7 +157,7 @@ var m = new class extends i {
|
|
|
157
157
|
let o = a.writeUnknownFields;
|
|
158
158
|
return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, r, i), i;
|
|
159
159
|
}
|
|
160
|
-
}(),
|
|
160
|
+
}(), g = new class extends i {
|
|
161
161
|
constructor() {
|
|
162
162
|
super("aquila.ActionExecutionResponse", [{
|
|
163
163
|
no: 1,
|
|
@@ -200,7 +200,7 @@ var m = new class extends i {
|
|
|
200
200
|
let a = i.writeUnknownFields;
|
|
201
201
|
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
202
202
|
}
|
|
203
|
-
}(),
|
|
203
|
+
}(), _ = new class extends i {
|
|
204
204
|
constructor() {
|
|
205
205
|
super("aquila.ActionTransferRequest", [
|
|
206
206
|
{
|
|
@@ -208,21 +208,21 @@ var m = new class extends i {
|
|
|
208
208
|
name: "logon",
|
|
209
209
|
kind: "message",
|
|
210
210
|
oneof: "data",
|
|
211
|
-
T: () =>
|
|
211
|
+
T: () => m
|
|
212
212
|
},
|
|
213
213
|
{
|
|
214
214
|
no: 2,
|
|
215
215
|
name: "event",
|
|
216
216
|
kind: "message",
|
|
217
217
|
oneof: "data",
|
|
218
|
-
T: () =>
|
|
218
|
+
T: () => p
|
|
219
219
|
},
|
|
220
220
|
{
|
|
221
221
|
no: 3,
|
|
222
222
|
name: "result",
|
|
223
223
|
kind: "message",
|
|
224
224
|
oneof: "data",
|
|
225
|
-
T: () =>
|
|
225
|
+
T: () => g
|
|
226
226
|
}
|
|
227
227
|
]);
|
|
228
228
|
}
|
|
@@ -238,19 +238,19 @@ var m = new class extends i {
|
|
|
238
238
|
case 1:
|
|
239
239
|
a.data = {
|
|
240
240
|
oneofKind: "logon",
|
|
241
|
-
logon:
|
|
241
|
+
logon: m.internalBinaryRead(e, e.uint32(), r, a.data.logon)
|
|
242
242
|
};
|
|
243
243
|
break;
|
|
244
244
|
case 2:
|
|
245
245
|
a.data = {
|
|
246
246
|
oneofKind: "event",
|
|
247
|
-
event:
|
|
247
|
+
event: p.internalBinaryRead(e, e.uint32(), r, a.data.event)
|
|
248
248
|
};
|
|
249
249
|
break;
|
|
250
250
|
case 3:
|
|
251
251
|
a.data = {
|
|
252
252
|
oneofKind: "result",
|
|
253
|
-
result:
|
|
253
|
+
result: g.internalBinaryRead(e, e.uint32(), r, a.data.result)
|
|
254
254
|
};
|
|
255
255
|
break;
|
|
256
256
|
default:
|
|
@@ -263,24 +263,24 @@ var m = new class extends i {
|
|
|
263
263
|
return a;
|
|
264
264
|
}
|
|
265
265
|
internalBinaryWrite(n, r, i) {
|
|
266
|
-
n.data.oneofKind === "logon" &&
|
|
266
|
+
n.data.oneofKind === "logon" && m.internalBinaryWrite(n.data.logon, r.tag(1, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "event" && p.internalBinaryWrite(n.data.event, r.tag(2, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "result" && g.internalBinaryWrite(n.data.result, r.tag(3, e.LengthDelimited).fork(), i).join();
|
|
267
267
|
let a = i.writeUnknownFields;
|
|
268
268
|
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
269
269
|
}
|
|
270
|
-
}(),
|
|
270
|
+
}(), v = new class extends i {
|
|
271
271
|
constructor() {
|
|
272
272
|
super("aquila.ActionTransferResponse", [{
|
|
273
273
|
no: 1,
|
|
274
274
|
name: "execution",
|
|
275
275
|
kind: "message",
|
|
276
276
|
oneof: "data",
|
|
277
|
-
T: () =>
|
|
277
|
+
T: () => h
|
|
278
278
|
}, {
|
|
279
279
|
no: 2,
|
|
280
280
|
name: "module_configurations",
|
|
281
281
|
kind: "message",
|
|
282
282
|
oneof: "data",
|
|
283
|
-
T: () =>
|
|
283
|
+
T: () => l
|
|
284
284
|
}]);
|
|
285
285
|
}
|
|
286
286
|
create(e) {
|
|
@@ -295,13 +295,13 @@ var m = new class extends i {
|
|
|
295
295
|
case 1:
|
|
296
296
|
a.data = {
|
|
297
297
|
oneofKind: "execution",
|
|
298
|
-
execution:
|
|
298
|
+
execution: h.internalBinaryRead(e, e.uint32(), r, a.data.execution)
|
|
299
299
|
};
|
|
300
300
|
break;
|
|
301
301
|
case 2:
|
|
302
302
|
a.data = {
|
|
303
303
|
oneofKind: "moduleConfigurations",
|
|
304
|
-
moduleConfigurations:
|
|
304
|
+
moduleConfigurations: l.internalBinaryRead(e, e.uint32(), r, a.data.moduleConfigurations)
|
|
305
305
|
};
|
|
306
306
|
break;
|
|
307
307
|
default:
|
|
@@ -314,32 +314,32 @@ var m = new class extends i {
|
|
|
314
314
|
return a;
|
|
315
315
|
}
|
|
316
316
|
internalBinaryWrite(n, r, i) {
|
|
317
|
-
n.data.oneofKind === "execution" &&
|
|
317
|
+
n.data.oneofKind === "execution" && h.internalBinaryWrite(n.data.execution, r.tag(1, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "moduleConfigurations" && l.internalBinaryWrite(n.data.moduleConfigurations, r.tag(2, e.LengthDelimited).fork(), i).join();
|
|
318
318
|
let a = i.writeUnknownFields;
|
|
319
319
|
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
320
320
|
}
|
|
321
|
-
}(),
|
|
321
|
+
}(), y = new d("aquila.ActionTransferService", [{
|
|
322
322
|
name: "Transfer",
|
|
323
323
|
serverStreaming: !0,
|
|
324
324
|
clientStreaming: !0,
|
|
325
325
|
options: {},
|
|
326
|
-
I:
|
|
327
|
-
O:
|
|
328
|
-
}]),
|
|
326
|
+
I: _,
|
|
327
|
+
O: v
|
|
328
|
+
}]), b = class {
|
|
329
329
|
constructor(e) {
|
|
330
|
-
this._transport = e, this.typeName =
|
|
330
|
+
this._transport = e, this.typeName = y.typeName, this.methods = y.methods, this.options = y.options;
|
|
331
331
|
}
|
|
332
332
|
transfer(e) {
|
|
333
333
|
let t = this.methods[0], n = this._transport.mergeOptions(e);
|
|
334
|
-
return
|
|
334
|
+
return f("duplex", this._transport, t, n);
|
|
335
335
|
}
|
|
336
|
-
},
|
|
336
|
+
}, x = new class extends i {
|
|
337
337
|
constructor() {
|
|
338
338
|
super("aquila.ExecutionRequest", [{
|
|
339
339
|
no: 1,
|
|
340
340
|
name: "execution_result",
|
|
341
341
|
kind: "message",
|
|
342
|
-
T: () =>
|
|
342
|
+
T: () => s
|
|
343
343
|
}]);
|
|
344
344
|
}
|
|
345
345
|
create(e) {
|
|
@@ -352,23 +352,23 @@ var m = new class extends i {
|
|
|
352
352
|
let [n, i] = e.tag();
|
|
353
353
|
switch (n) {
|
|
354
354
|
case 1:
|
|
355
|
-
a.executionResult =
|
|
355
|
+
a.executionResult = s.internalBinaryRead(e, e.uint32(), r, a.executionResult);
|
|
356
356
|
break;
|
|
357
357
|
default:
|
|
358
358
|
let o = r.readUnknownField;
|
|
359
359
|
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
360
|
-
let
|
|
361
|
-
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i,
|
|
360
|
+
let c = e.skip(i);
|
|
361
|
+
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, c);
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
364
|
return a;
|
|
365
365
|
}
|
|
366
366
|
internalBinaryWrite(n, r, i) {
|
|
367
|
-
n.executionResult &&
|
|
367
|
+
n.executionResult && s.internalBinaryWrite(n.executionResult, r.tag(1, e.LengthDelimited).fork(), i).join();
|
|
368
368
|
let a = i.writeUnknownFields;
|
|
369
369
|
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
370
370
|
}
|
|
371
|
-
}(),
|
|
371
|
+
}(), S = new class extends i {
|
|
372
372
|
constructor() {
|
|
373
373
|
super("aquila.ExecutionResponse", [{
|
|
374
374
|
no: 1,
|
|
@@ -403,27 +403,27 @@ var m = new class extends i {
|
|
|
403
403
|
let a = i.writeUnknownFields;
|
|
404
404
|
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
405
405
|
}
|
|
406
|
-
}(),
|
|
406
|
+
}(), C = new d("aquila.ExecutionService", [{
|
|
407
407
|
name: "Update",
|
|
408
408
|
options: {},
|
|
409
|
-
I:
|
|
410
|
-
O:
|
|
411
|
-
}]),
|
|
409
|
+
I: x,
|
|
410
|
+
O: S
|
|
411
|
+
}]), w = class {
|
|
412
412
|
constructor(e) {
|
|
413
|
-
this._transport = e, this.typeName =
|
|
413
|
+
this._transport = e, this.typeName = C.typeName, this.methods = C.methods, this.options = C.options;
|
|
414
414
|
}
|
|
415
415
|
update(e, t) {
|
|
416
416
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
417
|
-
return
|
|
417
|
+
return f("unary", this._transport, n, r, e);
|
|
418
418
|
}
|
|
419
|
-
},
|
|
419
|
+
}, T = new class extends i {
|
|
420
420
|
constructor() {
|
|
421
421
|
super("aquila.ModuleUpdateRequest", [{
|
|
422
422
|
no: 1,
|
|
423
423
|
name: "modules",
|
|
424
424
|
kind: "message",
|
|
425
425
|
repeat: 2,
|
|
426
|
-
T: () =>
|
|
426
|
+
T: () => c
|
|
427
427
|
}]);
|
|
428
428
|
}
|
|
429
429
|
create(e) {
|
|
@@ -436,23 +436,23 @@ var m = new class extends i {
|
|
|
436
436
|
let [n, i] = e.tag();
|
|
437
437
|
switch (n) {
|
|
438
438
|
case 1:
|
|
439
|
-
a.modules.push(
|
|
439
|
+
a.modules.push(c.internalBinaryRead(e, e.uint32(), r));
|
|
440
440
|
break;
|
|
441
441
|
default:
|
|
442
442
|
let o = r.readUnknownField;
|
|
443
443
|
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
444
|
-
let
|
|
445
|
-
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i,
|
|
444
|
+
let s = e.skip(i);
|
|
445
|
+
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
446
446
|
}
|
|
447
447
|
}
|
|
448
448
|
return a;
|
|
449
449
|
}
|
|
450
450
|
internalBinaryWrite(n, r, i) {
|
|
451
|
-
for (let t = 0; t < n.modules.length; t++)
|
|
451
|
+
for (let t = 0; t < n.modules.length; t++) c.internalBinaryWrite(n.modules[t], r.tag(1, e.LengthDelimited).fork(), i).join();
|
|
452
452
|
let a = i.writeUnknownFields;
|
|
453
453
|
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
454
454
|
}
|
|
455
|
-
}(),
|
|
455
|
+
}(), E = new class extends i {
|
|
456
456
|
constructor() {
|
|
457
457
|
super("aquila.ModuleUpdateResponse", [{
|
|
458
458
|
no: 1,
|
|
@@ -487,20 +487,20 @@ var m = new class extends i {
|
|
|
487
487
|
let a = i.writeUnknownFields;
|
|
488
488
|
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
489
489
|
}
|
|
490
|
-
}(),
|
|
490
|
+
}(), D = new d("aquila.ModuleService", [{
|
|
491
491
|
name: "Update",
|
|
492
492
|
options: {},
|
|
493
|
-
I:
|
|
494
|
-
O:
|
|
495
|
-
}]),
|
|
493
|
+
I: T,
|
|
494
|
+
O: E
|
|
495
|
+
}]), O = class {
|
|
496
496
|
constructor(e) {
|
|
497
|
-
this._transport = e, this.typeName =
|
|
497
|
+
this._transport = e, this.typeName = D.typeName, this.methods = D.methods, this.options = D.options;
|
|
498
498
|
}
|
|
499
499
|
update(e, t) {
|
|
500
500
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
501
|
-
return
|
|
501
|
+
return f("unary", this._transport, n, r, e);
|
|
502
502
|
}
|
|
503
|
-
},
|
|
503
|
+
}, k = new class extends i {
|
|
504
504
|
constructor() {
|
|
505
505
|
super("aquila.RuntimeStatusUpdateRequest", [{
|
|
506
506
|
no: 1,
|
|
@@ -535,7 +535,7 @@ var m = new class extends i {
|
|
|
535
535
|
let a = i.writeUnknownFields;
|
|
536
536
|
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
537
537
|
}
|
|
538
|
-
}(),
|
|
538
|
+
}(), A = new class extends i {
|
|
539
539
|
constructor() {
|
|
540
540
|
super("aquila.RuntimeStatusUpdateResponse", [{
|
|
541
541
|
no: 1,
|
|
@@ -570,103 +570,19 @@ var m = new class extends i {
|
|
|
570
570
|
let a = i.writeUnknownFields;
|
|
571
571
|
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
572
572
|
}
|
|
573
|
-
}(),
|
|
574
|
-
name: "Update",
|
|
575
|
-
options: {},
|
|
576
|
-
I: A,
|
|
577
|
-
O: j
|
|
578
|
-
}]), N = class {
|
|
579
|
-
constructor(e) {
|
|
580
|
-
this._transport = e, this.typeName = M.typeName, this.methods = M.methods, this.options = M.options;
|
|
581
|
-
}
|
|
582
|
-
update(e, t) {
|
|
583
|
-
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
584
|
-
return p("unary", this._transport, n, r, e);
|
|
585
|
-
}
|
|
586
|
-
}, P = new class extends i {
|
|
587
|
-
constructor() {
|
|
588
|
-
super("aquila.RuntimeUsageRequest", [{
|
|
589
|
-
no: 1,
|
|
590
|
-
name: "runtime_usage",
|
|
591
|
-
kind: "message",
|
|
592
|
-
repeat: 2,
|
|
593
|
-
T: () => d
|
|
594
|
-
}]);
|
|
595
|
-
}
|
|
596
|
-
create(e) {
|
|
597
|
-
let t = globalThis.Object.create(this.messagePrototype);
|
|
598
|
-
return t.runtimeUsage = [], e !== void 0 && a(this, t, e), t;
|
|
599
|
-
}
|
|
600
|
-
internalBinaryRead(e, n, r, i) {
|
|
601
|
-
let a = i ?? this.create(), o = e.pos + n;
|
|
602
|
-
for (; e.pos < o;) {
|
|
603
|
-
let [n, i] = e.tag();
|
|
604
|
-
switch (n) {
|
|
605
|
-
case 1:
|
|
606
|
-
a.runtimeUsage.push(d.internalBinaryRead(e, e.uint32(), r));
|
|
607
|
-
break;
|
|
608
|
-
default:
|
|
609
|
-
let o = r.readUnknownField;
|
|
610
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
611
|
-
let s = e.skip(i);
|
|
612
|
-
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
return a;
|
|
616
|
-
}
|
|
617
|
-
internalBinaryWrite(n, r, i) {
|
|
618
|
-
for (let t = 0; t < n.runtimeUsage.length; t++) d.internalBinaryWrite(n.runtimeUsage[t], r.tag(1, e.LengthDelimited).fork(), i).join();
|
|
619
|
-
let a = i.writeUnknownFields;
|
|
620
|
-
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
621
|
-
}
|
|
622
|
-
}(), F = new class extends i {
|
|
623
|
-
constructor() {
|
|
624
|
-
super("aquila.RuntimeUsageResponse", [{
|
|
625
|
-
no: 1,
|
|
626
|
-
name: "success",
|
|
627
|
-
kind: "scalar",
|
|
628
|
-
T: 8
|
|
629
|
-
}]);
|
|
630
|
-
}
|
|
631
|
-
create(e) {
|
|
632
|
-
let t = globalThis.Object.create(this.messagePrototype);
|
|
633
|
-
return t.success = !1, e !== void 0 && a(this, t, e), t;
|
|
634
|
-
}
|
|
635
|
-
internalBinaryRead(e, n, r, i) {
|
|
636
|
-
let a = i ?? this.create(), o = e.pos + n;
|
|
637
|
-
for (; e.pos < o;) {
|
|
638
|
-
let [n, i] = e.tag();
|
|
639
|
-
switch (n) {
|
|
640
|
-
case 1:
|
|
641
|
-
a.success = e.bool();
|
|
642
|
-
break;
|
|
643
|
-
default:
|
|
644
|
-
let o = r.readUnknownField;
|
|
645
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
646
|
-
let s = e.skip(i);
|
|
647
|
-
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
648
|
-
}
|
|
649
|
-
}
|
|
650
|
-
return a;
|
|
651
|
-
}
|
|
652
|
-
internalBinaryWrite(n, r, i) {
|
|
653
|
-
n.success !== !1 && r.tag(1, e.Varint).bool(n.success);
|
|
654
|
-
let a = i.writeUnknownFields;
|
|
655
|
-
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
656
|
-
}
|
|
657
|
-
}(), I = new f("aquila.RuntimeUsageService", [{
|
|
573
|
+
}(), j = new d("aquila.RuntimeStatusService", [{
|
|
658
574
|
name: "Update",
|
|
659
575
|
options: {},
|
|
660
|
-
I:
|
|
661
|
-
O:
|
|
662
|
-
}]),
|
|
576
|
+
I: k,
|
|
577
|
+
O: A
|
|
578
|
+
}]), M = class {
|
|
663
579
|
constructor(e) {
|
|
664
|
-
this._transport = e, this.typeName =
|
|
580
|
+
this._transport = e, this.typeName = j.typeName, this.methods = j.methods, this.options = j.options;
|
|
665
581
|
}
|
|
666
582
|
update(e, t) {
|
|
667
583
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
668
|
-
return
|
|
584
|
+
return f("unary", this._transport, n, r, e);
|
|
669
585
|
}
|
|
670
586
|
};
|
|
671
587
|
//#endregion
|
|
672
|
-
export {
|
|
588
|
+
export { p as ActionEvent, h as ActionExecutionRequest, g as ActionExecutionResponse, m as ActionLogon, _ as ActionTransferRequest, v as ActionTransferResponse, y as ActionTransferService, b as ActionTransferServiceClient, x as ExecutionRequest, S as ExecutionResponse, C as ExecutionService, w as ExecutionServiceClient, D as ModuleService, O as ModuleServiceClient, T as ModuleUpdateRequest, E as ModuleUpdateResponse, j as RuntimeStatusService, M as RuntimeStatusServiceClient, k as RuntimeStatusUpdateRequest, A as RuntimeStatusUpdateResponse };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { RpcTransport, ServiceInfo, UnaryCall, ServerStreamingCall, RpcOptions } from '@protobuf-ts/runtime-rpc';
|
|
2
|
+
import { FlowPushResponse, FlowPushRequest, FlowResponse, FlowLogonRequest } from './sagittarius_gateway.flow_pb';
|
|
3
|
+
/**
|
|
4
|
+
* @generated from protobuf service sagittarius_gateway.FlowService
|
|
5
|
+
*/
|
|
6
|
+
export interface IFlowServiceClient {
|
|
7
|
+
/**
|
|
8
|
+
* Called by Aquila
|
|
9
|
+
*
|
|
10
|
+
* @generated from protobuf rpc: Update
|
|
11
|
+
*/
|
|
12
|
+
update(input: FlowLogonRequest, options?: RpcOptions): ServerStreamingCall<FlowLogonRequest, FlowResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Called by Sagittarius
|
|
15
|
+
*
|
|
16
|
+
* @generated from protobuf rpc: Push
|
|
17
|
+
*/
|
|
18
|
+
push(input: FlowPushRequest, options?: RpcOptions): UnaryCall<FlowPushRequest, FlowPushResponse>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @generated from protobuf service sagittarius_gateway.FlowService
|
|
22
|
+
*/
|
|
23
|
+
export declare class FlowServiceClient implements IFlowServiceClient, ServiceInfo {
|
|
24
|
+
private readonly _transport;
|
|
25
|
+
typeName: string;
|
|
26
|
+
methods: import('@protobuf-ts/runtime-rpc').MethodInfo<any, any>[];
|
|
27
|
+
options: {
|
|
28
|
+
[extensionName: string]: import('@protobuf-ts/runtime').JsonValue;
|
|
29
|
+
};
|
|
30
|
+
constructor(_transport: RpcTransport);
|
|
31
|
+
/**
|
|
32
|
+
* Called by Aquila
|
|
33
|
+
*
|
|
34
|
+
* @generated from protobuf rpc: Update
|
|
35
|
+
*/
|
|
36
|
+
update(input: FlowLogonRequest, options?: RpcOptions): ServerStreamingCall<FlowLogonRequest, FlowResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* Called by Sagittarius
|
|
39
|
+
*
|
|
40
|
+
* @generated from protobuf rpc: Push
|
|
41
|
+
*/
|
|
42
|
+
push(input: FlowPushRequest, options?: RpcOptions): UnaryCall<FlowPushRequest, FlowPushResponse>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { ServiceType } from '@protobuf-ts/runtime-rpc';
|
|
2
|
+
import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, PartialMessage, MessageType } from '@protobuf-ts/runtime';
|
|
3
|
+
import { Flows, ValidationFlow } from './shared.flow_pb';
|
|
4
|
+
/**
|
|
5
|
+
* Aquila sends a request to initialise stream to Sagittarius
|
|
6
|
+
*
|
|
7
|
+
* @generated from protobuf message sagittarius_gateway.FlowLogonRequest
|
|
8
|
+
*/
|
|
9
|
+
export interface FlowLogonRequest {
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Sagittarius sends flow to be updated
|
|
13
|
+
*
|
|
14
|
+
* @generated from protobuf message sagittarius_gateway.FlowResponse
|
|
15
|
+
*/
|
|
16
|
+
export interface FlowResponse {
|
|
17
|
+
/**
|
|
18
|
+
* @generated from protobuf oneof: data
|
|
19
|
+
*/
|
|
20
|
+
data: {
|
|
21
|
+
oneofKind: "updatedFlow";
|
|
22
|
+
/**
|
|
23
|
+
* Updates a single flow
|
|
24
|
+
*
|
|
25
|
+
* @generated from protobuf field: shared.ValidationFlow updated_flow = 1
|
|
26
|
+
*/
|
|
27
|
+
updatedFlow: ValidationFlow;
|
|
28
|
+
} | {
|
|
29
|
+
oneofKind: "deletedFlowId";
|
|
30
|
+
/**
|
|
31
|
+
* Deletes a single flow
|
|
32
|
+
*
|
|
33
|
+
* @generated from protobuf field: int64 deleted_flow_id = 2
|
|
34
|
+
*/
|
|
35
|
+
deletedFlowId: bigint;
|
|
36
|
+
} | {
|
|
37
|
+
oneofKind: "flows";
|
|
38
|
+
/**
|
|
39
|
+
* Replaces all flows in Aquila (only on startup and for releases)
|
|
40
|
+
*
|
|
41
|
+
* @generated from protobuf field: shared.Flows flows = 3
|
|
42
|
+
*/
|
|
43
|
+
flows: Flows;
|
|
44
|
+
} | {
|
|
45
|
+
oneofKind: undefined;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* @generated from protobuf message sagittarius_gateway.FlowPushRequest
|
|
50
|
+
*/
|
|
51
|
+
export interface FlowPushRequest {
|
|
52
|
+
/**
|
|
53
|
+
* @generated from protobuf field: int64 runtime_identifier = 1
|
|
54
|
+
*/
|
|
55
|
+
runtimeIdentifier: bigint;
|
|
56
|
+
/**
|
|
57
|
+
* @generated from protobuf field: sagittarius_gateway.FlowResponse response = 2
|
|
58
|
+
*/
|
|
59
|
+
response?: FlowResponse;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @generated from protobuf message sagittarius_gateway.FlowPushResponse
|
|
63
|
+
*/
|
|
64
|
+
export interface FlowPushResponse {
|
|
65
|
+
}
|
|
66
|
+
declare class FlowLogonRequest$Type extends MessageType<FlowLogonRequest> {
|
|
67
|
+
constructor();
|
|
68
|
+
create(value?: PartialMessage<FlowLogonRequest>): FlowLogonRequest;
|
|
69
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FlowLogonRequest): FlowLogonRequest;
|
|
70
|
+
internalBinaryWrite(message: FlowLogonRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* @generated MessageType for protobuf message sagittarius_gateway.FlowLogonRequest
|
|
74
|
+
*/
|
|
75
|
+
export declare const FlowLogonRequest: FlowLogonRequest$Type;
|
|
76
|
+
declare class FlowResponse$Type extends MessageType<FlowResponse> {
|
|
77
|
+
constructor();
|
|
78
|
+
create(value?: PartialMessage<FlowResponse>): FlowResponse;
|
|
79
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FlowResponse): FlowResponse;
|
|
80
|
+
internalBinaryWrite(message: FlowResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* @generated MessageType for protobuf message sagittarius_gateway.FlowResponse
|
|
84
|
+
*/
|
|
85
|
+
export declare const FlowResponse: FlowResponse$Type;
|
|
86
|
+
declare class FlowPushRequest$Type extends MessageType<FlowPushRequest> {
|
|
87
|
+
constructor();
|
|
88
|
+
create(value?: PartialMessage<FlowPushRequest>): FlowPushRequest;
|
|
89
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FlowPushRequest): FlowPushRequest;
|
|
90
|
+
internalBinaryWrite(message: FlowPushRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* @generated MessageType for protobuf message sagittarius_gateway.FlowPushRequest
|
|
94
|
+
*/
|
|
95
|
+
export declare const FlowPushRequest: FlowPushRequest$Type;
|
|
96
|
+
declare class FlowPushResponse$Type extends MessageType<FlowPushResponse> {
|
|
97
|
+
constructor();
|
|
98
|
+
create(value?: PartialMessage<FlowPushResponse>): FlowPushResponse;
|
|
99
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FlowPushResponse): FlowPushResponse;
|
|
100
|
+
internalBinaryWrite(message: FlowPushResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* @generated MessageType for protobuf message sagittarius_gateway.FlowPushResponse
|
|
104
|
+
*/
|
|
105
|
+
export declare const FlowPushResponse: FlowPushResponse$Type;
|
|
106
|
+
/**
|
|
107
|
+
* @generated ServiceType for protobuf service sagittarius_gateway.FlowService
|
|
108
|
+
*/
|
|
109
|
+
export declare const FlowService: ServiceType;
|
|
110
|
+
export {};
|