@code0-tech/tucana 0.0.80 → 0.0.81

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.
@@ -38,31 +38,6 @@ export interface ActionFlow {
38
38
  */
39
39
  name: string;
40
40
  }
41
- /**
42
- * Event that gets admitted by an action
43
- *
44
- * @generated from protobuf message aquila.ActionEvent
45
- */
46
- export interface ActionEvent {
47
- /**
48
- * Id of Event type
49
- *
50
- * @generated from protobuf field: string event_type = 1
51
- */
52
- eventType: string;
53
- /**
54
- * Project Id that this event is emitted for
55
- *
56
- * @generated from protobuf field: int64 project_id = 2
57
- */
58
- projectId: bigint;
59
- /**
60
- * Payload (JSON) of event params
61
- *
62
- * @generated from protobuf field: shared.Value payload = 3
63
- */
64
- payload?: Value;
65
- }
66
41
  /**
67
42
  * Action flow/event configuration
68
43
  *
@@ -113,6 +88,14 @@ export interface ActionNodeSubFlowValue {
113
88
  * @generated from protobuf field: string execution_identifier = 1
114
89
  */
115
90
  executionIdentifier: string;
91
+ /**
92
+ * @generated from protobuf field: shared.Struct input_schema = 2
93
+ */
94
+ inputSchema?: Struct;
95
+ /**
96
+ * @generated from protobuf field: shared.Struct output_schema = 3
97
+ */
98
+ outputSchema?: Struct;
116
99
  }
117
100
  /**
118
101
  * A single parameter value of a function
@@ -126,11 +109,11 @@ export interface ActionNodeValue {
126
109
  value: {
127
110
  oneofKind: "literalValue";
128
111
  /**
129
- * A literal, already resolved value
112
+ * A literal value that may contain inline references (`${signature}`)
130
113
  *
131
- * @generated from protobuf field: shared.Value literal_value = 1
114
+ * @generated from protobuf field: aquila.ActionLiteralValue literal_value = 1
132
115
  */
133
- literalValue: Value;
116
+ literalValue: ActionLiteralValue;
134
117
  } | {
135
118
  oneofKind: "subFlow";
136
119
  /**
@@ -143,6 +126,54 @@ export interface ActionNodeValue {
143
126
  oneofKind: undefined;
144
127
  };
145
128
  }
129
+ /**
130
+ * A literal value that may contain inline references.
131
+ *
132
+ * Mirrors shared.LiteralValue, but every sub flow in the tree is an
133
+ * ActionNodeSubFlowValue instead of a shared.SubFlow. `value` behaves like a
134
+ * template: any occurrence of `${signature}` inside a (possibly nested) string
135
+ * value gets substituted with the resolved value of the reference whose
136
+ * `signature` matches.
137
+ *
138
+ * @generated from protobuf message aquila.ActionLiteralValue
139
+ */
140
+ export interface ActionLiteralValue {
141
+ /**
142
+ * The raw value. String values may contain `${signature}` placeholders that
143
+ * are resolved from `references`.
144
+ *
145
+ * @generated from protobuf field: shared.Value value = 1
146
+ */
147
+ value?: Value;
148
+ /**
149
+ * Inline references addressable via `${signature}` inside `value`.
150
+ *
151
+ * @generated from protobuf field: repeated aquila.ActionInlineReferenceValue references = 2
152
+ */
153
+ references: ActionInlineReferenceValue[];
154
+ }
155
+ /**
156
+ * A single inline reference of an ActionLiteralValue.
157
+ *
158
+ * Mirrors shared.InlineReferenceValue, but the referenced value is an
159
+ * ActionNodeValue so that any sub flow resolves to an ActionNodeSubFlowValue.
160
+ *
161
+ * @generated from protobuf message aquila.ActionInlineReferenceValue
162
+ */
163
+ export interface ActionInlineReferenceValue {
164
+ /**
165
+ * The key addressed via `${signature}`.
166
+ *
167
+ * @generated from protobuf field: string signature = 1
168
+ */
169
+ signature: string;
170
+ /**
171
+ * The value this reference resolves to.
172
+ *
173
+ * @generated from protobuf field: aquila.ActionNodeValue value = 2
174
+ */
175
+ value?: ActionNodeValue;
176
+ }
146
177
  /**
147
178
  * Request to execute a request a flow
148
179
  *
@@ -192,6 +223,15 @@ export interface ActionSubFlowExecutionRequest {
192
223
  * @generated from protobuf field: repeated shared.Value parameters = 2
193
224
  */
194
225
  parameters: Value[];
226
+ /**
227
+ * Unique identifier scoping this individual invocation, generated by the
228
+ * requester and echoed back in the response so it can be correlated even
229
+ * when the same sub flow is executed multiple times and responses arrive
230
+ * out of order
231
+ *
232
+ * @generated from protobuf field: string correlation_identifier = 3
233
+ */
234
+ correlationIdentifier: string;
195
235
  }
196
236
  /**
197
237
  * Result of a sub flow execution
@@ -227,6 +267,13 @@ export interface ActionSubFlowExecutionResponse {
227
267
  } | {
228
268
  oneofKind: undefined;
229
269
  };
270
+ /**
271
+ * Correlation identifier echoed from the ActionSubFlowExecutionRequest so the
272
+ * response can be linked to the exact invocation that produced it
273
+ *
274
+ * @generated from protobuf field: string correlation_identifier = 4
275
+ */
276
+ correlationIdentifier: string;
230
277
  }
231
278
  /**
232
279
  * @generated from protobuf message aquila.ActionFlowExecutionRequest
@@ -334,20 +381,12 @@ export interface ActionTransferRequest {
334
381
  * @generated from protobuf field: aquila.ActionLogon logon = 1
335
382
  */
336
383
  logon: ActionLogon;
337
- } | {
338
- oneofKind: "event";
339
- /**
340
- * Event that got admitted
341
- *
342
- * @generated from protobuf field: aquila.ActionEvent event = 2
343
- */
344
- event: ActionEvent;
345
384
  } | {
346
385
  oneofKind: "result";
347
386
  /**
348
387
  * Result of execution that was triggered by a execution request
349
388
  *
350
- * @generated from protobuf field: aquila.ActionExecutionResponse result = 3
389
+ * @generated from protobuf field: aquila.ActionExecutionResponse result = 2
351
390
  */
352
391
  result: ActionExecutionResponse;
353
392
  } | {
@@ -355,7 +394,7 @@ export interface ActionTransferRequest {
355
394
  /**
356
395
  * Request to execute a sub flow
357
396
  *
358
- * @generated from protobuf field: aquila.ActionSubFlowExecutionRequest sub_flow_execution = 4
397
+ * @generated from protobuf field: aquila.ActionSubFlowExecutionRequest sub_flow_execution = 3
359
398
  */
360
399
  subFlowExecution: ActionSubFlowExecutionRequest;
361
400
  } | {
@@ -363,7 +402,7 @@ export interface ActionTransferRequest {
363
402
  /**
364
403
  * Request to execute one of the action's own flows
365
404
  *
366
- * @generated from protobuf field: aquila.ActionFlowExecutionRequest flow_execution = 5
405
+ * @generated from protobuf field: aquila.ActionFlowExecutionRequest flow_execution = 4
367
406
  */
368
407
  flowExecution: ActionFlowExecutionRequest;
369
408
  } | {
@@ -433,16 +472,6 @@ declare class ActionFlow$Type extends MessageType<ActionFlow> {
433
472
  * @generated MessageType for protobuf message aquila.ActionFlow
434
473
  */
435
474
  export declare const ActionFlow: ActionFlow$Type;
436
- declare class ActionEvent$Type extends MessageType<ActionEvent> {
437
- constructor();
438
- create(value?: PartialMessage<ActionEvent>): ActionEvent;
439
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionEvent): ActionEvent;
440
- internalBinaryWrite(message: ActionEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
441
- }
442
- /**
443
- * @generated MessageType for protobuf message aquila.ActionEvent
444
- */
445
- export declare const ActionEvent: ActionEvent$Type;
446
475
  declare class ActionLogon$Type extends MessageType<ActionLogon> {
447
476
  constructor();
448
477
  create(value?: PartialMessage<ActionLogon>): ActionLogon;
@@ -473,6 +502,26 @@ declare class ActionNodeValue$Type extends MessageType<ActionNodeValue> {
473
502
  * @generated MessageType for protobuf message aquila.ActionNodeValue
474
503
  */
475
504
  export declare const ActionNodeValue: ActionNodeValue$Type;
505
+ declare class ActionLiteralValue$Type extends MessageType<ActionLiteralValue> {
506
+ constructor();
507
+ create(value?: PartialMessage<ActionLiteralValue>): ActionLiteralValue;
508
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionLiteralValue): ActionLiteralValue;
509
+ internalBinaryWrite(message: ActionLiteralValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
510
+ }
511
+ /**
512
+ * @generated MessageType for protobuf message aquila.ActionLiteralValue
513
+ */
514
+ export declare const ActionLiteralValue: ActionLiteralValue$Type;
515
+ declare class ActionInlineReferenceValue$Type extends MessageType<ActionInlineReferenceValue> {
516
+ constructor();
517
+ create(value?: PartialMessage<ActionInlineReferenceValue>): ActionInlineReferenceValue;
518
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionInlineReferenceValue): ActionInlineReferenceValue;
519
+ internalBinaryWrite(message: ActionInlineReferenceValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
520
+ }
521
+ /**
522
+ * @generated MessageType for protobuf message aquila.ActionInlineReferenceValue
523
+ */
524
+ export declare const ActionInlineReferenceValue: ActionInlineReferenceValue$Type;
476
525
  declare class ActionExecutionRequest$Type extends MessageType<ActionExecutionRequest> {
477
526
  constructor();
478
527
  create(value?: PartialMessage<ActionExecutionRequest>): ActionExecutionRequest;
@@ -180,9 +180,9 @@ export interface NodeValue {
180
180
  value: {
181
181
  oneofKind: "literalValue";
182
182
  /**
183
- * @generated from protobuf field: shared.Value literal_value = 1
183
+ * @generated from protobuf field: shared.LiteralValue literal_value = 1
184
184
  */
185
- literalValue: Value;
185
+ literalValue: LiteralValue;
186
186
  } | {
187
187
  oneofKind: "referenceValue";
188
188
  /**
@@ -199,6 +199,54 @@ export interface NodeValue {
199
199
  oneofKind: undefined;
200
200
  };
201
201
  }
202
+ /**
203
+ * A literal value that may contain inline references.
204
+ *
205
+ * `value` behaves like a template: any occurrence of `${signature}` inside a
206
+ * (possibly nested) string value gets substituted with the resolved value of
207
+ * the reference whose `signature` matches. A single LiteralValue can hold as
208
+ * many references as needed.
209
+ *
210
+ * @generated from protobuf message shared.LiteralValue
211
+ */
212
+ export interface LiteralValue {
213
+ /**
214
+ * The raw value. String values may contain `${signature}` placeholders that
215
+ * are resolved from `references`.
216
+ *
217
+ * @generated from protobuf field: shared.Value value = 1
218
+ */
219
+ value?: Value;
220
+ /**
221
+ * Inline references addressable via `${signature}` inside `value`.
222
+ *
223
+ * @generated from protobuf field: repeated shared.InlineReferenceValue references = 2
224
+ */
225
+ references: InlineReferenceValue[];
226
+ }
227
+ /**
228
+ * A single inline reference of a LiteralValue.
229
+ *
230
+ * `signature` is the key used inside `value` via the `${signature}` syntax.
231
+ * The referenced value is again a NodeValue, so it can be a LiteralValue
232
+ * (allowing nested references), a ReferenceValue or a SubFlow.
233
+ *
234
+ * @generated from protobuf message shared.InlineReferenceValue
235
+ */
236
+ export interface InlineReferenceValue {
237
+ /**
238
+ * The key addressed via `${signature}`.
239
+ *
240
+ * @generated from protobuf field: string signature = 1
241
+ */
242
+ signature: string;
243
+ /**
244
+ * The value this reference resolves to.
245
+ *
246
+ * @generated from protobuf field: shared.NodeValue value = 2
247
+ */
248
+ value?: NodeValue;
249
+ }
202
250
  /**
203
251
  * @generated from protobuf message shared.NodeParameter
204
252
  */
@@ -447,6 +495,26 @@ declare class NodeValue$Type extends MessageType<NodeValue> {
447
495
  * @generated MessageType for protobuf message shared.NodeValue
448
496
  */
449
497
  export declare const NodeValue: NodeValue$Type;
498
+ declare class LiteralValue$Type extends MessageType<LiteralValue> {
499
+ constructor();
500
+ create(value?: PartialMessage<LiteralValue>): LiteralValue;
501
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LiteralValue): LiteralValue;
502
+ internalBinaryWrite(message: LiteralValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
503
+ }
504
+ /**
505
+ * @generated MessageType for protobuf message shared.LiteralValue
506
+ */
507
+ export declare const LiteralValue: LiteralValue$Type;
508
+ declare class InlineReferenceValue$Type extends MessageType<InlineReferenceValue> {
509
+ constructor();
510
+ create(value?: PartialMessage<InlineReferenceValue>): InlineReferenceValue;
511
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InlineReferenceValue): InlineReferenceValue;
512
+ internalBinaryWrite(message: InlineReferenceValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
513
+ }
514
+ /**
515
+ * @generated MessageType for protobuf message shared.InlineReferenceValue
516
+ */
517
+ export declare const InlineReferenceValue: InlineReferenceValue$Type;
450
518
  declare class NodeParameter$Type extends MessageType<NodeParameter> {
451
519
  constructor();
452
520
  create(value?: PartialMessage<NodeParameter>): NodeParameter;
@@ -1,4 +1,4 @@
1
- import { F as e, I as t } from "./shared.function_pb-CPUNe7pa.js";
1
+ import { L as e, R as t } from "./shared.function_pb-BgHMLoxn.js";
2
2
  //#region node_modules/@protobuf-ts/runtime-rpc/build/es2015/reflection-info.js
3
3
  function n(e, n) {
4
4
  let r = e;
@@ -1 +1 @@
1
- const e=require("./shared.function_pb-BxQgyP8l.cjs");function t(t,n){let r=t;return r.service=n,r.localName=r.localName??e.I(r.name),r.serverStreaming=!!r.serverStreaming,r.clientStreaming=!!r.clientStreaming,r.options=r.options??{},r.idempotency=r.idempotency??void 0,r}var n=class{constructor(e,n,r){this.typeName=e,this.methods=n.map(e=>t(e,this)),this.options=r??{}}};function r(t,n,r,i,a){if(t==`unary`){let e=(e,t,r)=>n.unary(e,t,r);for(let t of(i.interceptors??[]).filter(e=>e.interceptUnary).reverse()){let n=e;e=(e,r,i)=>t.interceptUnary(n,e,r,i)}return e(r,a,i)}if(t==`serverStreaming`){let e=(e,t,r)=>n.serverStreaming(e,t,r);for(let t of(i.interceptors??[]).filter(e=>e.interceptServerStreaming).reverse()){let n=e;e=(e,r,i)=>t.interceptServerStreaming(n,e,r,i)}return e(r,a,i)}if(t==`clientStreaming`){let e=(e,t)=>n.clientStreaming(e,t);for(let t of(i.interceptors??[]).filter(e=>e.interceptClientStreaming).reverse()){let n=e;e=(e,r)=>t.interceptClientStreaming(n,e,r)}return e(r,i)}if(t==`duplex`){let e=(e,t)=>n.duplex(e,t);for(let t of(i.interceptors??[]).filter(e=>e.interceptDuplex).reverse()){let n=e;e=(e,r)=>t.interceptDuplex(n,e,r)}return e(r,i)}e.F(t)}Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return r}});
1
+ const e=require("./shared.function_pb-Cs0BROjh.cjs");function t(t,n){let r=t;return r.service=n,r.localName=r.localName??e.R(r.name),r.serverStreaming=!!r.serverStreaming,r.clientStreaming=!!r.clientStreaming,r.options=r.options??{},r.idempotency=r.idempotency??void 0,r}var n=class{constructor(e,n,r){this.typeName=e,this.methods=n.map(e=>t(e,this)),this.options=r??{}}};function r(t,n,r,i,a){if(t==`unary`){let e=(e,t,r)=>n.unary(e,t,r);for(let t of(i.interceptors??[]).filter(e=>e.interceptUnary).reverse()){let n=e;e=(e,r,i)=>t.interceptUnary(n,e,r,i)}return e(r,a,i)}if(t==`serverStreaming`){let e=(e,t,r)=>n.serverStreaming(e,t,r);for(let t of(i.interceptors??[]).filter(e=>e.interceptServerStreaming).reverse()){let n=e;e=(e,r,i)=>t.interceptServerStreaming(n,e,r,i)}return e(r,a,i)}if(t==`clientStreaming`){let e=(e,t)=>n.clientStreaming(e,t);for(let t of(i.interceptors??[]).filter(e=>e.interceptClientStreaming).reverse()){let n=e;e=(e,r)=>t.interceptClientStreaming(n,e,r)}return e(r,i)}if(t==`duplex`){let e=(e,t)=>n.duplex(e,t);for(let t of(i.interceptors??[]).filter(e=>e.interceptDuplex).reverse()){let n=e;e=(e,r)=>t.interceptDuplex(n,e,r)}return e(r,i)}e.L(t)}Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return r}});
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./shared.function_pb-BxQgyP8l.cjs"),t=require("./shared.runtime_status_pb-v763gk52.cjs"),n=require("./rpc-interceptor-D-IMsC9l.cjs");var r=new class extends e.N{constructor(){super(`sagittarius_gateway.FlowLogonRequest`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.P(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){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.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},i=new class extends e.N{constructor(){super(`sagittarius_gateway.FlowResponse`,[{no:1,name:`updated_flow`,kind:`message`,oneof:`data`,T:()=>e.b},{no:2,name:`deleted_flow_id`,kind:`scalar`,oneof:`data`,T:3,L:0},{no:3,name:`flows`,kind:`message`,oneof:`data`,T:()=>e.l}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.P(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.data={oneofKind:`updatedFlow`,updatedFlow:e.b.internalBinaryRead(t,t.uint32(),r,a.data.updatedFlow)};break;case 2:a.data={oneofKind:`deletedFlowId`,deletedFlowId:t.int64().toBigInt()};break;case 3:a.data={oneofKind:`flows`,flows:e.l.internalBinaryRead(t,t.uint32(),r,a.data.flows)};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.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.data.oneofKind===`updatedFlow`&&e.b.internalBinaryWrite(t.data.updatedFlow,n.tag(1,e.R.LengthDelimited).fork(),r).join(),t.data.oneofKind===`deletedFlowId`&&n.tag(2,e.R.Varint).int64(t.data.deletedFlowId),t.data.oneofKind===`flows`&&e.l.internalBinaryWrite(t.data.flows,n.tag(3,e.R.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},a=new class extends e.N{constructor(){super(`sagittarius_gateway.FlowPushRequest`,[{no:1,name:`runtime_identifier`,kind:`scalar`,T:3,L:0},{no:2,name:`response`,kind:`message`,T:()=>i}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.runtimeIdentifier=0n,t!==void 0&&e.P(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.runtimeIdentifier=t.int64().toBigInt();break;case 2:o.response=i.internalBinaryRead(t,t.uint32(),r,o.response);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.L.onRead:s)(this.typeName,o,n,a,c)}}return o}internalBinaryWrite(t,n,r){t.runtimeIdentifier!==0n&&n.tag(1,e.R.Varint).int64(t.runtimeIdentifier),t.response&&i.internalBinaryWrite(t.response,n.tag(2,e.R.LengthDelimited).fork(),r).join();let a=r.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,t,n),n}},o=new class extends e.N{constructor(){super(`sagittarius_gateway.FlowPushResponse`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.P(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){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.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},s=new n.n(`sagittarius_gateway.FlowService`,[{name:`Update`,serverStreaming:!0,options:{},I:r,O:i},{name:`Push`,options:{},I:a,O:o}]),c=class{constructor(e){this._transport=e,this.typeName=s.typeName,this.methods=s.methods,this.options=s.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`serverStreaming`,this._transport,r,i,e)}push(e,t){let r=this.methods[1],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},l=new class extends e.N{constructor(){super(`sagittarius_gateway.ModuleUpdateRequest`,[{no:1,name:`modules`,kind:`message`,repeat:2,T:()=>t.a},{no:2,name:`available_definition_sources`,kind:`scalar`,repeat:2,T:9}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.modules=[],n.availableDefinitionSources=[],t!==void 0&&e.P(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;case 2:o.availableDefinitionSources.push(n.string());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.L.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.R.LengthDelimited).fork(),i).join();for(let t=0;t<n.availableDefinitionSources.length;t++)r.tag(2,e.R.LengthDelimited).string(n.availableDefinitionSources[t]);let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},u=new class extends e.N{constructor(){super(`sagittarius_gateway.ModuleUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.x}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.P(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.success=n.bool();break;case 2:o.error=t.x.internalBinaryRead(n,n.uint32(),i,o.error);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.L.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.success!==!1&&r.tag(1,e.R.Varint).bool(n.success),n.error&&t.x.internalBinaryWrite(n.error,r.tag(2,e.R.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},d=new class extends e.N{constructor(){super(`sagittarius_gateway.ModuleConfigurationRequest`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.P(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){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.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},f=new class extends e.N{constructor(){super(`sagittarius_gateway.ModuleConfigurationResponse`,[{no:1,name:`module_configurations`,kind:`message`,T:()=>t.c}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.P(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.moduleConfigurations=t.c.internalBinaryRead(n,n.uint32(),i,o.moduleConfigurations);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.L.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.moduleConfigurations&&t.c.internalBinaryWrite(n.moduleConfigurations,r.tag(1,e.R.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},p=new class extends e.N{constructor(){super(`sagittarius_gateway.ModuleConfigurationPushRequest`,[{no:1,name:`runtime_identifier`,kind:`scalar`,T:3,L:0},{no:2,name:`response`,kind:`message`,T:()=>f}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.runtimeIdentifier=0n,t!==void 0&&e.P(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.runtimeIdentifier=t.int64().toBigInt();break;case 2:a.response=f.internalBinaryRead(t,t.uint32(),r,a.response);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.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.runtimeIdentifier!==0n&&n.tag(1,e.R.Varint).int64(t.runtimeIdentifier),t.response&&f.internalBinaryWrite(t.response,n.tag(2,e.R.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},m=new class extends e.N{constructor(){super(`sagittarius_gateway.ModuleConfigurationPushResponse`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.P(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){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.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},h=new n.n(`sagittarius_gateway.ModuleService`,[{name:`Update`,options:{},I:l,O:u},{name:`Configurations`,serverStreaming:!0,options:{},I:d,O:f},{name:`Push`,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,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}configurations(e,t){let r=this.methods[1],i=this._transport.mergeOptions(t);return n.t(`serverStreaming`,this._transport,r,i,e)}push(e,t){let r=this.methods[2],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},_=new class extends e.N{constructor(){super(`sagittarius_gateway.RuntimeStatusUpdateRequest`,[{no:1,name:`module_status`,kind:`message`,oneof:`status`,T:()=>t.t},{no:2,name:`runtime_status`,kind:`message`,oneof:`status`,T:()=>t.r}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.status={oneofKind:void 0},t!==void 0&&e.P(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={oneofKind:`moduleStatus`,moduleStatus:t.t.internalBinaryRead(n,n.uint32(),i,o.status.moduleStatus)};break;case 2:o.status={oneofKind:`runtimeStatus`,runtimeStatus:t.r.internalBinaryRead(n,n.uint32(),i,o.status.runtimeStatus)};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.L.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.status.oneofKind===`moduleStatus`&&t.t.internalBinaryWrite(n.status.moduleStatus,r.tag(1,e.R.LengthDelimited).fork(),i).join(),n.status.oneofKind===`runtimeStatus`&&t.r.internalBinaryWrite(n.status.runtimeStatus,r.tag(2,e.R.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},v=new class extends e.N{constructor(){super(`sagittarius_gateway.RuntimeStatusUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.x}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.P(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.success=n.bool();break;case 2:o.error=t.x.internalBinaryRead(n,n.uint32(),i,o.error);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.L.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.success!==!1&&r.tag(1,e.R.Varint).bool(n.success),n.error&&t.x.internalBinaryWrite(n.error,r.tag(2,e.R.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},y=new n.n(`sagittarius_gateway.RuntimeStatusService`,[{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,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},x=new class extends e.N{constructor(){super(`sagittarius_gateway.Logon`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.P(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){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.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},S=new class extends e.N{constructor(){super(`sagittarius_gateway.TestExecutionRequest`,[{no:1,name:`flow_id`,kind:`scalar`,T:3,L:0},{no:2,name:`execution_identifier`,kind:`scalar`,T:9},{no:3,name:`body`,kind:`message`,T:()=>e.T}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.flowId=0n,n.executionIdentifier=``,t!==void 0&&e.P(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.flowId=t.int64().toBigInt();break;case 2:a.executionIdentifier=t.string();break;case 3:a.body=e.T.internalBinaryRead(t,t.uint32(),r,a.body);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.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.flowId!==0n&&n.tag(1,e.R.Varint).int64(t.flowId),t.executionIdentifier!==``&&n.tag(2,e.R.LengthDelimited).string(t.executionIdentifier),t.body&&e.T.internalBinaryWrite(t.body,n.tag(3,e.R.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},C=new class extends e.N{constructor(){super(`sagittarius_gateway.ExecutionLogonRequest`,[{no:1,name:`logon`,kind:`message`,oneof:`data`,T:()=>x},{no:2,name:`response`,kind:`message`,oneof:`data`,T:()=>t.g}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.P(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.data={oneofKind:`logon`,logon:x.internalBinaryRead(n,n.uint32(),i,o.data.logon)};break;case 2:o.data={oneofKind:`response`,response:t.g.internalBinaryRead(n,n.uint32(),i,o.data.response)};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.L.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.data.oneofKind===`logon`&&x.internalBinaryWrite(n.data.logon,r.tag(1,e.R.LengthDelimited).fork(),i).join(),n.data.oneofKind===`response`&&t.g.internalBinaryWrite(n.data.response,r.tag(2,e.R.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},w=new class extends e.N{constructor(){super(`sagittarius_gateway.ExecutionLogonResponse`,[{no:1,name:`request`,kind:`message`,T:()=>S}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.P(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.request=S.internalBinaryRead(t,t.uint32(),r,a.request);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.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.request&&S.internalBinaryWrite(t.request,n.tag(1,e.R.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},T=new class extends e.N{constructor(){super(`sagittarius_gateway.ExecutionPushRequest`,[{no:1,name:`request`,kind:`message`,T:()=>S}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.P(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.request=S.internalBinaryRead(t,t.uint32(),r,a.request);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.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.request&&S.internalBinaryWrite(t.request,n.tag(1,e.R.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},E=new class extends e.N{constructor(){super(`sagittarius_gateway.ExecutionPushResponse`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.P(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){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.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},D=new n.n(`sagittarius_gateway.ExecutionService`,[{name:`Update`,serverStreaming:!0,clientStreaming:!0,options:{},I:C,O:w},{name:`Push`,options:{},I:T,O:E}]),O=class{constructor(e){this._transport=e,this.typeName=D.typeName,this.methods=D.methods,this.options=D.options}update(e){let t=this.methods[0],r=this._transport.mergeOptions(e);return n.t(`duplex`,this._transport,t,r)}push(e,t){let r=this.methods[1],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}};exports.ExecutionLogonRequest=C,exports.ExecutionLogonResponse=w,exports.ExecutionPushRequest=T,exports.ExecutionPushResponse=E,exports.ExecutionService=D,exports.ExecutionServiceClient=O,exports.FlowLogonRequest=r,exports.FlowPushRequest=a,exports.FlowPushResponse=o,exports.FlowResponse=i,exports.FlowService=s,exports.FlowServiceClient=c,exports.Logon=x,exports.ModuleConfigurationPushRequest=p,exports.ModuleConfigurationPushResponse=m,exports.ModuleConfigurationRequest=d,exports.ModuleConfigurationResponse=f,exports.ModuleService=h,exports.ModuleServiceClient=g,exports.ModuleUpdateRequest=l,exports.ModuleUpdateResponse=u,exports.RuntimeStatusService=y,exports.RuntimeStatusServiceClient=b,exports.RuntimeStatusUpdateRequest=_,exports.RuntimeStatusUpdateResponse=v,exports.TestExecutionRequest=S;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./shared.function_pb-Cs0BROjh.cjs"),t=require("./shared.runtime_status_pb-CU9pDTDp.cjs"),n=require("./rpc-interceptor-DZzmQmGJ.cjs");var r=new class extends e.F{constructor(){super(`sagittarius_gateway.FlowLogonRequest`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.I(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){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.z.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.z.onWrite:i)(this.typeName,t,n),n}},i=new class extends e.F{constructor(){super(`sagittarius_gateway.FlowResponse`,[{no:1,name:`updated_flow`,kind:`message`,oneof:`data`,T:()=>e.S},{no:2,name:`deleted_flow_id`,kind:`scalar`,oneof:`data`,T:3,L:0},{no:3,name:`flows`,kind:`message`,oneof:`data`,T:()=>e.l}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.I(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.data={oneofKind:`updatedFlow`,updatedFlow:e.S.internalBinaryRead(t,t.uint32(),r,a.data.updatedFlow)};break;case 2:a.data={oneofKind:`deletedFlowId`,deletedFlowId:t.int64().toBigInt()};break;case 3:a.data={oneofKind:`flows`,flows:e.l.internalBinaryRead(t,t.uint32(),r,a.data.flows)};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.z.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.data.oneofKind===`updatedFlow`&&e.S.internalBinaryWrite(t.data.updatedFlow,n.tag(1,e.B.LengthDelimited).fork(),r).join(),t.data.oneofKind===`deletedFlowId`&&n.tag(2,e.B.Varint).int64(t.data.deletedFlowId),t.data.oneofKind===`flows`&&e.l.internalBinaryWrite(t.data.flows,n.tag(3,e.B.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.z.onWrite:i)(this.typeName,t,n),n}},a=new class extends e.F{constructor(){super(`sagittarius_gateway.FlowPushRequest`,[{no:1,name:`runtime_identifier`,kind:`scalar`,T:3,L:0},{no:2,name:`response`,kind:`message`,T:()=>i}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.runtimeIdentifier=0n,t!==void 0&&e.I(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.runtimeIdentifier=t.int64().toBigInt();break;case 2:o.response=i.internalBinaryRead(t,t.uint32(),r,o.response);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.z.onRead:s)(this.typeName,o,n,a,c)}}return o}internalBinaryWrite(t,n,r){t.runtimeIdentifier!==0n&&n.tag(1,e.B.Varint).int64(t.runtimeIdentifier),t.response&&i.internalBinaryWrite(t.response,n.tag(2,e.B.LengthDelimited).fork(),r).join();let a=r.writeUnknownFields;return a!==!1&&(a==1?e.z.onWrite:a)(this.typeName,t,n),n}},o=new class extends e.F{constructor(){super(`sagittarius_gateway.FlowPushResponse`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.I(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){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.z.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.z.onWrite:i)(this.typeName,t,n),n}},s=new n.n(`sagittarius_gateway.FlowService`,[{name:`Update`,serverStreaming:!0,options:{},I:r,O:i},{name:`Push`,options:{},I:a,O:o}]),c=class{constructor(e){this._transport=e,this.typeName=s.typeName,this.methods=s.methods,this.options=s.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`serverStreaming`,this._transport,r,i,e)}push(e,t){let r=this.methods[1],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},l=new class extends e.F{constructor(){super(`sagittarius_gateway.ModuleUpdateRequest`,[{no:1,name:`modules`,kind:`message`,repeat:2,T:()=>t.a},{no:2,name:`available_definition_sources`,kind:`scalar`,repeat:2,T:9}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.modules=[],n.availableDefinitionSources=[],t!==void 0&&e.I(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;case 2:o.availableDefinitionSources.push(n.string());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.z.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.B.LengthDelimited).fork(),i).join();for(let t=0;t<n.availableDefinitionSources.length;t++)r.tag(2,e.B.LengthDelimited).string(n.availableDefinitionSources[t]);let a=i.writeUnknownFields;return a!==!1&&(a==1?e.z.onWrite:a)(this.typeName,n,r),r}},u=new class extends e.F{constructor(){super(`sagittarius_gateway.ModuleUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.x}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.I(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.success=n.bool();break;case 2:o.error=t.x.internalBinaryRead(n,n.uint32(),i,o.error);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.z.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.success!==!1&&r.tag(1,e.B.Varint).bool(n.success),n.error&&t.x.internalBinaryWrite(n.error,r.tag(2,e.B.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.z.onWrite:a)(this.typeName,n,r),r}},d=new class extends e.F{constructor(){super(`sagittarius_gateway.ModuleConfigurationRequest`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.I(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){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.z.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.z.onWrite:i)(this.typeName,t,n),n}},f=new class extends e.F{constructor(){super(`sagittarius_gateway.ModuleConfigurationResponse`,[{no:1,name:`module_configurations`,kind:`message`,T:()=>t.c}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.I(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.moduleConfigurations=t.c.internalBinaryRead(n,n.uint32(),i,o.moduleConfigurations);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.z.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.moduleConfigurations&&t.c.internalBinaryWrite(n.moduleConfigurations,r.tag(1,e.B.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.z.onWrite:a)(this.typeName,n,r),r}},p=new class extends e.F{constructor(){super(`sagittarius_gateway.ModuleConfigurationPushRequest`,[{no:1,name:`runtime_identifier`,kind:`scalar`,T:3,L:0},{no:2,name:`response`,kind:`message`,T:()=>f}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.runtimeIdentifier=0n,t!==void 0&&e.I(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.runtimeIdentifier=t.int64().toBigInt();break;case 2:a.response=f.internalBinaryRead(t,t.uint32(),r,a.response);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.z.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.runtimeIdentifier!==0n&&n.tag(1,e.B.Varint).int64(t.runtimeIdentifier),t.response&&f.internalBinaryWrite(t.response,n.tag(2,e.B.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.z.onWrite:i)(this.typeName,t,n),n}},m=new class extends e.F{constructor(){super(`sagittarius_gateway.ModuleConfigurationPushResponse`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.I(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){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.z.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.z.onWrite:i)(this.typeName,t,n),n}},h=new n.n(`sagittarius_gateway.ModuleService`,[{name:`Update`,options:{},I:l,O:u},{name:`Configurations`,serverStreaming:!0,options:{},I:d,O:f},{name:`Push`,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,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}configurations(e,t){let r=this.methods[1],i=this._transport.mergeOptions(t);return n.t(`serverStreaming`,this._transport,r,i,e)}push(e,t){let r=this.methods[2],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},_=new class extends e.F{constructor(){super(`sagittarius_gateway.RuntimeStatusUpdateRequest`,[{no:1,name:`module_status`,kind:`message`,oneof:`status`,T:()=>t.t},{no:2,name:`runtime_status`,kind:`message`,oneof:`status`,T:()=>t.r}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.status={oneofKind:void 0},t!==void 0&&e.I(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={oneofKind:`moduleStatus`,moduleStatus:t.t.internalBinaryRead(n,n.uint32(),i,o.status.moduleStatus)};break;case 2:o.status={oneofKind:`runtimeStatus`,runtimeStatus:t.r.internalBinaryRead(n,n.uint32(),i,o.status.runtimeStatus)};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.z.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.status.oneofKind===`moduleStatus`&&t.t.internalBinaryWrite(n.status.moduleStatus,r.tag(1,e.B.LengthDelimited).fork(),i).join(),n.status.oneofKind===`runtimeStatus`&&t.r.internalBinaryWrite(n.status.runtimeStatus,r.tag(2,e.B.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.z.onWrite:a)(this.typeName,n,r),r}},v=new class extends e.F{constructor(){super(`sagittarius_gateway.RuntimeStatusUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.x}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.I(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.success=n.bool();break;case 2:o.error=t.x.internalBinaryRead(n,n.uint32(),i,o.error);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.z.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.success!==!1&&r.tag(1,e.B.Varint).bool(n.success),n.error&&t.x.internalBinaryWrite(n.error,r.tag(2,e.B.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.z.onWrite:a)(this.typeName,n,r),r}},y=new n.n(`sagittarius_gateway.RuntimeStatusService`,[{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,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},x=new class extends e.F{constructor(){super(`sagittarius_gateway.Logon`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.I(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){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.z.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.z.onWrite:i)(this.typeName,t,n),n}},S=new class extends e.F{constructor(){super(`sagittarius_gateway.TestExecutionRequest`,[{no:1,name:`flow_id`,kind:`scalar`,T:3,L:0},{no:2,name:`execution_identifier`,kind:`scalar`,T:9},{no:3,name:`body`,kind:`message`,T:()=>e.D}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.flowId=0n,n.executionIdentifier=``,t!==void 0&&e.I(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.flowId=t.int64().toBigInt();break;case 2:a.executionIdentifier=t.string();break;case 3:a.body=e.D.internalBinaryRead(t,t.uint32(),r,a.body);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.z.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.flowId!==0n&&n.tag(1,e.B.Varint).int64(t.flowId),t.executionIdentifier!==``&&n.tag(2,e.B.LengthDelimited).string(t.executionIdentifier),t.body&&e.D.internalBinaryWrite(t.body,n.tag(3,e.B.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.z.onWrite:i)(this.typeName,t,n),n}},C=new class extends e.F{constructor(){super(`sagittarius_gateway.ExecutionLogonRequest`,[{no:1,name:`logon`,kind:`message`,oneof:`data`,T:()=>x},{no:2,name:`response`,kind:`message`,oneof:`data`,T:()=>t.g}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.I(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.data={oneofKind:`logon`,logon:x.internalBinaryRead(n,n.uint32(),i,o.data.logon)};break;case 2:o.data={oneofKind:`response`,response:t.g.internalBinaryRead(n,n.uint32(),i,o.data.response)};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.z.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.data.oneofKind===`logon`&&x.internalBinaryWrite(n.data.logon,r.tag(1,e.B.LengthDelimited).fork(),i).join(),n.data.oneofKind===`response`&&t.g.internalBinaryWrite(n.data.response,r.tag(2,e.B.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.z.onWrite:a)(this.typeName,n,r),r}},w=new class extends e.F{constructor(){super(`sagittarius_gateway.ExecutionLogonResponse`,[{no:1,name:`request`,kind:`message`,T:()=>S}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.I(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.request=S.internalBinaryRead(t,t.uint32(),r,a.request);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.z.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.request&&S.internalBinaryWrite(t.request,n.tag(1,e.B.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.z.onWrite:i)(this.typeName,t,n),n}},T=new class extends e.F{constructor(){super(`sagittarius_gateway.ExecutionPushRequest`,[{no:1,name:`request`,kind:`message`,T:()=>S}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.I(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.request=S.internalBinaryRead(t,t.uint32(),r,a.request);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.z.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.request&&S.internalBinaryWrite(t.request,n.tag(1,e.B.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.z.onWrite:i)(this.typeName,t,n),n}},E=new class extends e.F{constructor(){super(`sagittarius_gateway.ExecutionPushResponse`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.I(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){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.z.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.z.onWrite:i)(this.typeName,t,n),n}},D=new n.n(`sagittarius_gateway.ExecutionService`,[{name:`Update`,serverStreaming:!0,clientStreaming:!0,options:{},I:C,O:w},{name:`Push`,options:{},I:T,O:E}]),O=class{constructor(e){this._transport=e,this.typeName=D.typeName,this.methods=D.methods,this.options=D.options}update(e){let t=this.methods[0],r=this._transport.mergeOptions(e);return n.t(`duplex`,this._transport,t,r)}push(e,t){let r=this.methods[1],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}};exports.ExecutionLogonRequest=C,exports.ExecutionLogonResponse=w,exports.ExecutionPushRequest=T,exports.ExecutionPushResponse=E,exports.ExecutionService=D,exports.ExecutionServiceClient=O,exports.FlowLogonRequest=r,exports.FlowPushRequest=a,exports.FlowPushResponse=o,exports.FlowResponse=i,exports.FlowService=s,exports.FlowServiceClient=c,exports.Logon=x,exports.ModuleConfigurationPushRequest=p,exports.ModuleConfigurationPushResponse=m,exports.ModuleConfigurationRequest=d,exports.ModuleConfigurationResponse=f,exports.ModuleService=h,exports.ModuleServiceClient=g,exports.ModuleUpdateRequest=l,exports.ModuleUpdateResponse=u,exports.RuntimeStatusService=y,exports.RuntimeStatusServiceClient=b,exports.RuntimeStatusUpdateRequest=_,exports.RuntimeStatusUpdateResponse=v,exports.TestExecutionRequest=S;