@code0-tech/tucana 0.0.80 → 0.0.82

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.
@@ -18,51 +18,30 @@ export interface ActionFlow {
18
18
  */
19
19
  projectId: bigint;
20
20
  /**
21
- * @generated from protobuf field: repeated shared.FlowSetting settings = 3
21
+ * @generated from protobuf field: string type = 3
22
+ */
23
+ type: string;
24
+ /**
25
+ * @generated from protobuf field: repeated shared.FlowSetting settings = 4
22
26
  */
23
27
  settings: FlowSetting[];
24
28
  /**
25
- * @generated from protobuf field: shared.Struct input_schema = 4
29
+ * @generated from protobuf field: shared.Struct input_schema = 5
26
30
  */
27
31
  inputSchema?: Struct;
28
32
  /**
29
- * @generated from protobuf field: shared.Struct output_schema = 5
33
+ * @generated from protobuf field: shared.Struct output_schema = 6
30
34
  */
31
35
  outputSchema?: Struct;
32
36
  /**
33
- * @generated from protobuf field: string project_slug = 6
37
+ * @generated from protobuf field: string project_slug = 7
34
38
  */
35
39
  projectSlug: string;
36
40
  /**
37
- * @generated from protobuf field: string name = 7
41
+ * @generated from protobuf field: string name = 8
38
42
  */
39
43
  name: string;
40
44
  }
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
45
  /**
67
46
  * Action flow/event configuration
68
47
  *
@@ -113,6 +92,14 @@ export interface ActionNodeSubFlowValue {
113
92
  * @generated from protobuf field: string execution_identifier = 1
114
93
  */
115
94
  executionIdentifier: string;
95
+ /**
96
+ * @generated from protobuf field: shared.Struct input_schema = 2
97
+ */
98
+ inputSchema?: Struct;
99
+ /**
100
+ * @generated from protobuf field: shared.Struct output_schema = 3
101
+ */
102
+ outputSchema?: Struct;
116
103
  }
117
104
  /**
118
105
  * A single parameter value of a function
@@ -126,11 +113,11 @@ export interface ActionNodeValue {
126
113
  value: {
127
114
  oneofKind: "literalValue";
128
115
  /**
129
- * A literal, already resolved value
116
+ * A literal value that may contain inline references (`${signature}`)
130
117
  *
131
- * @generated from protobuf field: shared.Value literal_value = 1
118
+ * @generated from protobuf field: aquila.ActionLiteralValue literal_value = 1
132
119
  */
133
- literalValue: Value;
120
+ literalValue: ActionLiteralValue;
134
121
  } | {
135
122
  oneofKind: "subFlow";
136
123
  /**
@@ -143,6 +130,54 @@ export interface ActionNodeValue {
143
130
  oneofKind: undefined;
144
131
  };
145
132
  }
133
+ /**
134
+ * A literal value that may contain inline references.
135
+ *
136
+ * Mirrors shared.LiteralValue, but every sub flow in the tree is an
137
+ * ActionNodeSubFlowValue instead of a shared.SubFlow. `value` behaves like a
138
+ * template: any occurrence of `${signature}` inside a (possibly nested) string
139
+ * value gets substituted with the resolved value of the reference whose
140
+ * `signature` matches.
141
+ *
142
+ * @generated from protobuf message aquila.ActionLiteralValue
143
+ */
144
+ export interface ActionLiteralValue {
145
+ /**
146
+ * The raw value. String values may contain `${signature}` placeholders that
147
+ * are resolved from `references`.
148
+ *
149
+ * @generated from protobuf field: shared.Value value = 1
150
+ */
151
+ value?: Value;
152
+ /**
153
+ * Inline references addressable via `${signature}` inside `value`.
154
+ *
155
+ * @generated from protobuf field: repeated aquila.ActionInlineReferenceValue references = 2
156
+ */
157
+ references: ActionInlineReferenceValue[];
158
+ }
159
+ /**
160
+ * A single inline reference of an ActionLiteralValue.
161
+ *
162
+ * Mirrors shared.InlineReferenceValue, but the referenced value is an
163
+ * ActionNodeValue so that any sub flow resolves to an ActionNodeSubFlowValue.
164
+ *
165
+ * @generated from protobuf message aquila.ActionInlineReferenceValue
166
+ */
167
+ export interface ActionInlineReferenceValue {
168
+ /**
169
+ * The key addressed via `${signature}`.
170
+ *
171
+ * @generated from protobuf field: string signature = 1
172
+ */
173
+ signature: string;
174
+ /**
175
+ * The value this reference resolves to.
176
+ *
177
+ * @generated from protobuf field: aquila.ActionNodeValue value = 2
178
+ */
179
+ value?: ActionNodeValue;
180
+ }
146
181
  /**
147
182
  * Request to execute a request a flow
148
183
  *
@@ -192,6 +227,15 @@ export interface ActionSubFlowExecutionRequest {
192
227
  * @generated from protobuf field: repeated shared.Value parameters = 2
193
228
  */
194
229
  parameters: Value[];
230
+ /**
231
+ * Unique identifier scoping this individual invocation, generated by the
232
+ * requester and echoed back in the response so it can be correlated even
233
+ * when the same sub flow is executed multiple times and responses arrive
234
+ * out of order
235
+ *
236
+ * @generated from protobuf field: string correlation_identifier = 3
237
+ */
238
+ correlationIdentifier: string;
195
239
  }
196
240
  /**
197
241
  * Result of a sub flow execution
@@ -227,6 +271,13 @@ export interface ActionSubFlowExecutionResponse {
227
271
  } | {
228
272
  oneofKind: undefined;
229
273
  };
274
+ /**
275
+ * Correlation identifier echoed from the ActionSubFlowExecutionRequest so the
276
+ * response can be linked to the exact invocation that produced it
277
+ *
278
+ * @generated from protobuf field: string correlation_identifier = 4
279
+ */
280
+ correlationIdentifier: string;
230
281
  }
231
282
  /**
232
283
  * @generated from protobuf message aquila.ActionFlowExecutionRequest
@@ -334,20 +385,12 @@ export interface ActionTransferRequest {
334
385
  * @generated from protobuf field: aquila.ActionLogon logon = 1
335
386
  */
336
387
  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
388
  } | {
346
389
  oneofKind: "result";
347
390
  /**
348
391
  * Result of execution that was triggered by a execution request
349
392
  *
350
- * @generated from protobuf field: aquila.ActionExecutionResponse result = 3
393
+ * @generated from protobuf field: aquila.ActionExecutionResponse result = 2
351
394
  */
352
395
  result: ActionExecutionResponse;
353
396
  } | {
@@ -355,7 +398,7 @@ export interface ActionTransferRequest {
355
398
  /**
356
399
  * Request to execute a sub flow
357
400
  *
358
- * @generated from protobuf field: aquila.ActionSubFlowExecutionRequest sub_flow_execution = 4
401
+ * @generated from protobuf field: aquila.ActionSubFlowExecutionRequest sub_flow_execution = 3
359
402
  */
360
403
  subFlowExecution: ActionSubFlowExecutionRequest;
361
404
  } | {
@@ -363,7 +406,7 @@ export interface ActionTransferRequest {
363
406
  /**
364
407
  * Request to execute one of the action's own flows
365
408
  *
366
- * @generated from protobuf field: aquila.ActionFlowExecutionRequest flow_execution = 5
409
+ * @generated from protobuf field: aquila.ActionFlowExecutionRequest flow_execution = 4
367
410
  */
368
411
  flowExecution: ActionFlowExecutionRequest;
369
412
  } | {
@@ -433,16 +476,6 @@ declare class ActionFlow$Type extends MessageType<ActionFlow> {
433
476
  * @generated MessageType for protobuf message aquila.ActionFlow
434
477
  */
435
478
  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
479
  declare class ActionLogon$Type extends MessageType<ActionLogon> {
447
480
  constructor();
448
481
  create(value?: PartialMessage<ActionLogon>): ActionLogon;
@@ -473,6 +506,26 @@ declare class ActionNodeValue$Type extends MessageType<ActionNodeValue> {
473
506
  * @generated MessageType for protobuf message aquila.ActionNodeValue
474
507
  */
475
508
  export declare const ActionNodeValue: ActionNodeValue$Type;
509
+ declare class ActionLiteralValue$Type extends MessageType<ActionLiteralValue> {
510
+ constructor();
511
+ create(value?: PartialMessage<ActionLiteralValue>): ActionLiteralValue;
512
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionLiteralValue): ActionLiteralValue;
513
+ internalBinaryWrite(message: ActionLiteralValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
514
+ }
515
+ /**
516
+ * @generated MessageType for protobuf message aquila.ActionLiteralValue
517
+ */
518
+ export declare const ActionLiteralValue: ActionLiteralValue$Type;
519
+ declare class ActionInlineReferenceValue$Type extends MessageType<ActionInlineReferenceValue> {
520
+ constructor();
521
+ create(value?: PartialMessage<ActionInlineReferenceValue>): ActionInlineReferenceValue;
522
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionInlineReferenceValue): ActionInlineReferenceValue;
523
+ internalBinaryWrite(message: ActionInlineReferenceValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
524
+ }
525
+ /**
526
+ * @generated MessageType for protobuf message aquila.ActionInlineReferenceValue
527
+ */
528
+ export declare const ActionInlineReferenceValue: ActionInlineReferenceValue$Type;
476
529
  declare class ActionExecutionRequest$Type extends MessageType<ActionExecutionRequest> {
477
530
  constructor();
478
531
  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;