@superdurable/dex 1.14.0 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +42 -3
- package/dist/src/gen/dex.d.ts +26 -0
- package/dist/src/gen/dex.js +256 -5
- package/dist/src/gen/dex.js.map +1 -1
- package/dist/src/options.d.ts +22 -0
- package/dist/src/pull-worker.d.ts +5 -0
- package/dist/src/pull-worker.js +44 -4
- package/dist/src/pull-worker.js.map +1 -1
- package/dist/src/sdk-version.generated.d.ts +1 -1
- package/dist/src/sdk-version.generated.js +1 -1
- package/dist/src/worker.d.ts +12 -0
- package/dist/src/worker.js +14 -0
- package/dist/src/worker.js.map +1 -1
- package/native/windows-x86_64/dex_blob_cache_node.node +0 -0
- package/package.json +1 -1
package/dist/src/gen/dex.js
CHANGED
|
@@ -136,6 +136,13 @@ export var PendingStepMethodPhase;
|
|
|
136
136
|
PendingStepMethodPhase[PendingStepMethodPhase["PENDING_STEP_METHOD_PHASE_STARTED"] = 2] = "PENDING_STEP_METHOD_PHASE_STARTED";
|
|
137
137
|
PendingStepMethodPhase[PendingStepMethodPhase["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
138
138
|
})(PendingStepMethodPhase || (PendingStepMethodPhase = {}));
|
|
139
|
+
export var PullRoutingSource;
|
|
140
|
+
(function (PullRoutingSource) {
|
|
141
|
+
PullRoutingSource[PullRoutingSource["PULL_ROUTING_SOURCE_UNSPECIFIED"] = 0] = "PULL_ROUTING_SOURCE_UNSPECIFIED";
|
|
142
|
+
PullRoutingSource[PullRoutingSource["PULL_ROUTING_SOURCE_STICKY_QUEUE"] = 1] = "PULL_ROUTING_SOURCE_STICKY_QUEUE";
|
|
143
|
+
PullRoutingSource[PullRoutingSource["PULL_ROUTING_SOURCE_FLOW_TYPE_QUEUE"] = 2] = "PULL_ROUTING_SOURCE_FLOW_TYPE_QUEUE";
|
|
144
|
+
PullRoutingSource[PullRoutingSource["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
145
|
+
})(PullRoutingSource || (PullRoutingSource = {}));
|
|
139
146
|
export var ActiveStepPhase;
|
|
140
147
|
(function (ActiveStepPhase) {
|
|
141
148
|
ActiveStepPhase[ActiveStepPhase["ACTIVE_STEP_PHASE_UNSPECIFIED"] = 0] = "ACTIVE_STEP_PHASE_UNSPECIFIED";
|
|
@@ -6447,6 +6454,7 @@ function createBaseFlowContinuedStart() {
|
|
|
6447
6454
|
pendingChannelMessages: {},
|
|
6448
6455
|
attributes: [],
|
|
6449
6456
|
completedSteps: [],
|
|
6457
|
+
stickyAppWorkerId: "",
|
|
6450
6458
|
};
|
|
6451
6459
|
}
|
|
6452
6460
|
export const FlowContinuedStart = {
|
|
@@ -6470,6 +6478,9 @@ export const FlowContinuedStart = {
|
|
|
6470
6478
|
for (const v of message.completedSteps) {
|
|
6471
6479
|
StepCompletionOutput.encode(v, writer.uint32(50).fork()).join();
|
|
6472
6480
|
}
|
|
6481
|
+
if (message.stickyAppWorkerId !== "") {
|
|
6482
|
+
writer.uint32(58).string(message.stickyAppWorkerId);
|
|
6483
|
+
}
|
|
6473
6484
|
return writer;
|
|
6474
6485
|
},
|
|
6475
6486
|
decode(input, length) {
|
|
@@ -6524,6 +6535,13 @@ export const FlowContinuedStart = {
|
|
|
6524
6535
|
message.completedSteps.push(StepCompletionOutput.decode(reader, reader.uint32()));
|
|
6525
6536
|
continue;
|
|
6526
6537
|
}
|
|
6538
|
+
case 7: {
|
|
6539
|
+
if (tag !== 58) {
|
|
6540
|
+
break;
|
|
6541
|
+
}
|
|
6542
|
+
message.stickyAppWorkerId = reader.string();
|
|
6543
|
+
continue;
|
|
6544
|
+
}
|
|
6527
6545
|
}
|
|
6528
6546
|
if ((tag & 7) === 4 || tag === 0) {
|
|
6529
6547
|
break;
|
|
@@ -6549,6 +6567,7 @@ export const FlowContinuedStart = {
|
|
|
6549
6567
|
}, {});
|
|
6550
6568
|
message.attributes = object.attributes?.map((e) => KV.fromPartial(e)) || [];
|
|
6551
6569
|
message.completedSteps = object.completedSteps?.map((e) => StepCompletionOutput.fromPartial(e)) || [];
|
|
6570
|
+
message.stickyAppWorkerId = object.stickyAppWorkerId ?? "";
|
|
6552
6571
|
return message;
|
|
6553
6572
|
},
|
|
6554
6573
|
};
|
|
@@ -6607,7 +6626,7 @@ export const FlowContinuedStart_PendingChannelMessagesEntry = {
|
|
|
6607
6626
|
},
|
|
6608
6627
|
};
|
|
6609
6628
|
function createBaseFlowClosedHistoryEvent() {
|
|
6610
|
-
return { flowStatus: 0, results: [], errorType: 0, errorMessage: "", continuedToRunId: "" };
|
|
6629
|
+
return { flowStatus: 0, results: [], errorType: 0, errorMessage: "", continuedToRunId: "", stickyAppWorkerId: "" };
|
|
6611
6630
|
}
|
|
6612
6631
|
export const FlowClosedHistoryEvent = {
|
|
6613
6632
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -6626,6 +6645,9 @@ export const FlowClosedHistoryEvent = {
|
|
|
6626
6645
|
if (message.continuedToRunId !== "") {
|
|
6627
6646
|
writer.uint32(42).string(message.continuedToRunId);
|
|
6628
6647
|
}
|
|
6648
|
+
if (message.stickyAppWorkerId !== "") {
|
|
6649
|
+
writer.uint32(50).string(message.stickyAppWorkerId);
|
|
6650
|
+
}
|
|
6629
6651
|
return writer;
|
|
6630
6652
|
},
|
|
6631
6653
|
decode(input, length) {
|
|
@@ -6670,6 +6692,13 @@ export const FlowClosedHistoryEvent = {
|
|
|
6670
6692
|
message.continuedToRunId = reader.string();
|
|
6671
6693
|
continue;
|
|
6672
6694
|
}
|
|
6695
|
+
case 6: {
|
|
6696
|
+
if (tag !== 50) {
|
|
6697
|
+
break;
|
|
6698
|
+
}
|
|
6699
|
+
message.stickyAppWorkerId = reader.string();
|
|
6700
|
+
continue;
|
|
6701
|
+
}
|
|
6673
6702
|
}
|
|
6674
6703
|
if ((tag & 7) === 4 || tag === 0) {
|
|
6675
6704
|
break;
|
|
@@ -6688,6 +6717,7 @@ export const FlowClosedHistoryEvent = {
|
|
|
6688
6717
|
message.errorType = object.errorType ?? 0;
|
|
6689
6718
|
message.errorMessage = object.errorMessage ?? "";
|
|
6690
6719
|
message.continuedToRunId = object.continuedToRunId ?? "";
|
|
6720
|
+
message.stickyAppWorkerId = object.stickyAppWorkerId ?? "";
|
|
6691
6721
|
return message;
|
|
6692
6722
|
},
|
|
6693
6723
|
};
|
|
@@ -6759,7 +6789,7 @@ export const StepMethodPendingEvent = {
|
|
|
6759
6789
|
},
|
|
6760
6790
|
};
|
|
6761
6791
|
function createBaseStepMethodFailure() {
|
|
6762
|
-
return { backendError: "", details: undefined, attempt: 0 };
|
|
6792
|
+
return { backendError: "", details: undefined, attempt: 0, pullRouting: undefined };
|
|
6763
6793
|
}
|
|
6764
6794
|
export const StepMethodFailure = {
|
|
6765
6795
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -6772,6 +6802,9 @@ export const StepMethodFailure = {
|
|
|
6772
6802
|
if (message.attempt !== 0) {
|
|
6773
6803
|
writer.uint32(24).int32(message.attempt);
|
|
6774
6804
|
}
|
|
6805
|
+
if (message.pullRouting !== undefined) {
|
|
6806
|
+
PullRouting.encode(message.pullRouting, writer.uint32(34).fork()).join();
|
|
6807
|
+
}
|
|
6775
6808
|
return writer;
|
|
6776
6809
|
},
|
|
6777
6810
|
decode(input, length) {
|
|
@@ -6802,6 +6835,13 @@ export const StepMethodFailure = {
|
|
|
6802
6835
|
message.attempt = reader.int32();
|
|
6803
6836
|
continue;
|
|
6804
6837
|
}
|
|
6838
|
+
case 4: {
|
|
6839
|
+
if (tag !== 34) {
|
|
6840
|
+
break;
|
|
6841
|
+
}
|
|
6842
|
+
message.pullRouting = PullRouting.decode(reader, reader.uint32());
|
|
6843
|
+
continue;
|
|
6844
|
+
}
|
|
6805
6845
|
}
|
|
6806
6846
|
if ((tag & 7) === 4 || tag === 0) {
|
|
6807
6847
|
break;
|
|
@@ -6820,6 +6860,9 @@ export const StepMethodFailure = {
|
|
|
6820
6860
|
? ServiceErrorResponse.fromPartial(object.details)
|
|
6821
6861
|
: undefined;
|
|
6822
6862
|
message.attempt = object.attempt ?? 0;
|
|
6863
|
+
message.pullRouting = (object.pullRouting !== undefined && object.pullRouting !== null)
|
|
6864
|
+
? PullRouting.fromPartial(object.pullRouting)
|
|
6865
|
+
: undefined;
|
|
6823
6866
|
return message;
|
|
6824
6867
|
},
|
|
6825
6868
|
};
|
|
@@ -6983,6 +7026,69 @@ export const StepMethodEventInput = {
|
|
|
6983
7026
|
return message;
|
|
6984
7027
|
},
|
|
6985
7028
|
};
|
|
7029
|
+
function createBasePullRouting() {
|
|
7030
|
+
return { stickyAppWorkerId: "", servedByAppWorkerId: "", source: 0 };
|
|
7031
|
+
}
|
|
7032
|
+
export const PullRouting = {
|
|
7033
|
+
encode(message, writer = new BinaryWriter()) {
|
|
7034
|
+
if (message.stickyAppWorkerId !== "") {
|
|
7035
|
+
writer.uint32(10).string(message.stickyAppWorkerId);
|
|
7036
|
+
}
|
|
7037
|
+
if (message.servedByAppWorkerId !== "") {
|
|
7038
|
+
writer.uint32(18).string(message.servedByAppWorkerId);
|
|
7039
|
+
}
|
|
7040
|
+
if (message.source !== 0) {
|
|
7041
|
+
writer.uint32(24).int32(message.source);
|
|
7042
|
+
}
|
|
7043
|
+
return writer;
|
|
7044
|
+
},
|
|
7045
|
+
decode(input, length) {
|
|
7046
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
7047
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
7048
|
+
const message = createBasePullRouting();
|
|
7049
|
+
while (reader.pos < end) {
|
|
7050
|
+
const tag = reader.uint32();
|
|
7051
|
+
switch (tag >>> 3) {
|
|
7052
|
+
case 1: {
|
|
7053
|
+
if (tag !== 10) {
|
|
7054
|
+
break;
|
|
7055
|
+
}
|
|
7056
|
+
message.stickyAppWorkerId = reader.string();
|
|
7057
|
+
continue;
|
|
7058
|
+
}
|
|
7059
|
+
case 2: {
|
|
7060
|
+
if (tag !== 18) {
|
|
7061
|
+
break;
|
|
7062
|
+
}
|
|
7063
|
+
message.servedByAppWorkerId = reader.string();
|
|
7064
|
+
continue;
|
|
7065
|
+
}
|
|
7066
|
+
case 3: {
|
|
7067
|
+
if (tag !== 24) {
|
|
7068
|
+
break;
|
|
7069
|
+
}
|
|
7070
|
+
message.source = reader.int32();
|
|
7071
|
+
continue;
|
|
7072
|
+
}
|
|
7073
|
+
}
|
|
7074
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
7075
|
+
break;
|
|
7076
|
+
}
|
|
7077
|
+
reader.skip(tag & 7);
|
|
7078
|
+
}
|
|
7079
|
+
return message;
|
|
7080
|
+
},
|
|
7081
|
+
create(base) {
|
|
7082
|
+
return PullRouting.fromPartial(base ?? {});
|
|
7083
|
+
},
|
|
7084
|
+
fromPartial(object) {
|
|
7085
|
+
const message = createBasePullRouting();
|
|
7086
|
+
message.stickyAppWorkerId = object.stickyAppWorkerId ?? "";
|
|
7087
|
+
message.servedByAppWorkerId = object.servedByAppWorkerId ?? "";
|
|
7088
|
+
message.source = object.source ?? 0;
|
|
7089
|
+
return message;
|
|
7090
|
+
},
|
|
7091
|
+
};
|
|
6986
7092
|
function createBaseStepMethodEventContext() {
|
|
6987
7093
|
return {
|
|
6988
7094
|
stepExecutionId: "",
|
|
@@ -6994,6 +7100,7 @@ function createBaseStepMethodEventContext() {
|
|
|
6994
7100
|
duration: undefined,
|
|
6995
7101
|
methodOptions: undefined,
|
|
6996
7102
|
lastFailureInfo: undefined,
|
|
7103
|
+
pullRouting: undefined,
|
|
6997
7104
|
};
|
|
6998
7105
|
}
|
|
6999
7106
|
export const StepMethodEventContext = {
|
|
@@ -7025,6 +7132,9 @@ export const StepMethodEventContext = {
|
|
|
7025
7132
|
if (message.lastFailureInfo !== undefined) {
|
|
7026
7133
|
StepMethodFailure.encode(message.lastFailureInfo, writer.uint32(74).fork()).join();
|
|
7027
7134
|
}
|
|
7135
|
+
if (message.pullRouting !== undefined) {
|
|
7136
|
+
PullRouting.encode(message.pullRouting, writer.uint32(82).fork()).join();
|
|
7137
|
+
}
|
|
7028
7138
|
return writer;
|
|
7029
7139
|
},
|
|
7030
7140
|
decode(input, length) {
|
|
@@ -7097,6 +7207,13 @@ export const StepMethodEventContext = {
|
|
|
7097
7207
|
message.lastFailureInfo = StepMethodFailure.decode(reader, reader.uint32());
|
|
7098
7208
|
continue;
|
|
7099
7209
|
}
|
|
7210
|
+
case 10: {
|
|
7211
|
+
if (tag !== 82) {
|
|
7212
|
+
break;
|
|
7213
|
+
}
|
|
7214
|
+
message.pullRouting = PullRouting.decode(reader, reader.uint32());
|
|
7215
|
+
continue;
|
|
7216
|
+
}
|
|
7100
7217
|
}
|
|
7101
7218
|
if ((tag & 7) === 4 || tag === 0) {
|
|
7102
7219
|
break;
|
|
@@ -7125,6 +7242,9 @@ export const StepMethodEventContext = {
|
|
|
7125
7242
|
message.lastFailureInfo = (object.lastFailureInfo !== undefined && object.lastFailureInfo !== null)
|
|
7126
7243
|
? StepMethodFailure.fromPartial(object.lastFailureInfo)
|
|
7127
7244
|
: undefined;
|
|
7245
|
+
message.pullRouting = (object.pullRouting !== undefined && object.pullRouting !== null)
|
|
7246
|
+
? PullRouting.fromPartial(object.pullRouting)
|
|
7247
|
+
: undefined;
|
|
7128
7248
|
return message;
|
|
7129
7249
|
},
|
|
7130
7250
|
};
|
|
@@ -7668,6 +7788,7 @@ function createBaseRpcExecutionCompletedEvent() {
|
|
|
7668
7788
|
publishToChannel: [],
|
|
7669
7789
|
isSetAttributeApi: false,
|
|
7670
7790
|
deleteFromChannel: [],
|
|
7791
|
+
servedByAppWorkerId: "",
|
|
7671
7792
|
};
|
|
7672
7793
|
}
|
|
7673
7794
|
export const RpcExecutionCompletedEvent = {
|
|
@@ -7699,6 +7820,9 @@ export const RpcExecutionCompletedEvent = {
|
|
|
7699
7820
|
for (const v of message.deleteFromChannel) {
|
|
7700
7821
|
ChannelMessageDeletion.encode(v, writer.uint32(74).fork()).join();
|
|
7701
7822
|
}
|
|
7823
|
+
if (message.servedByAppWorkerId !== "") {
|
|
7824
|
+
writer.uint32(82).string(message.servedByAppWorkerId);
|
|
7825
|
+
}
|
|
7702
7826
|
return writer;
|
|
7703
7827
|
},
|
|
7704
7828
|
decode(input, length) {
|
|
@@ -7771,6 +7895,13 @@ export const RpcExecutionCompletedEvent = {
|
|
|
7771
7895
|
message.deleteFromChannel.push(ChannelMessageDeletion.decode(reader, reader.uint32()));
|
|
7772
7896
|
continue;
|
|
7773
7897
|
}
|
|
7898
|
+
case 10: {
|
|
7899
|
+
if (tag !== 82) {
|
|
7900
|
+
break;
|
|
7901
|
+
}
|
|
7902
|
+
message.servedByAppWorkerId = reader.string();
|
|
7903
|
+
continue;
|
|
7904
|
+
}
|
|
7774
7905
|
}
|
|
7775
7906
|
if ((tag & 7) === 4 || tag === 0) {
|
|
7776
7907
|
break;
|
|
@@ -7797,6 +7928,7 @@ export const RpcExecutionCompletedEvent = {
|
|
|
7797
7928
|
message.publishToChannel = object.publishToChannel?.map((e) => ChannelMessage.fromPartial(e)) || [];
|
|
7798
7929
|
message.isSetAttributeApi = object.isSetAttributeApi ?? false;
|
|
7799
7930
|
message.deleteFromChannel = object.deleteFromChannel?.map((e) => ChannelMessageDeletion.fromPartial(e)) || [];
|
|
7931
|
+
message.servedByAppWorkerId = object.servedByAppWorkerId ?? "";
|
|
7800
7932
|
return message;
|
|
7801
7933
|
},
|
|
7802
7934
|
};
|
|
@@ -8031,6 +8163,8 @@ function createBaseActiveStepExecutionState() {
|
|
|
8031
8163
|
stepExecutionLocals: [],
|
|
8032
8164
|
timers: [],
|
|
8033
8165
|
lastFailureInfo: undefined,
|
|
8166
|
+
waitForPullRouting: undefined,
|
|
8167
|
+
executePullRouting: undefined,
|
|
8034
8168
|
};
|
|
8035
8169
|
}
|
|
8036
8170
|
export const ActiveStepExecutionState = {
|
|
@@ -8065,6 +8199,12 @@ export const ActiveStepExecutionState = {
|
|
|
8065
8199
|
if (message.lastFailureInfo !== undefined) {
|
|
8066
8200
|
StepMethodFailure.encode(message.lastFailureInfo, writer.uint32(82).fork()).join();
|
|
8067
8201
|
}
|
|
8202
|
+
if (message.waitForPullRouting !== undefined) {
|
|
8203
|
+
PullRouting.encode(message.waitForPullRouting, writer.uint32(90).fork()).join();
|
|
8204
|
+
}
|
|
8205
|
+
if (message.executePullRouting !== undefined) {
|
|
8206
|
+
PullRouting.encode(message.executePullRouting, writer.uint32(98).fork()).join();
|
|
8207
|
+
}
|
|
8068
8208
|
return writer;
|
|
8069
8209
|
},
|
|
8070
8210
|
decode(input, length) {
|
|
@@ -8144,6 +8284,20 @@ export const ActiveStepExecutionState = {
|
|
|
8144
8284
|
message.lastFailureInfo = StepMethodFailure.decode(reader, reader.uint32());
|
|
8145
8285
|
continue;
|
|
8146
8286
|
}
|
|
8287
|
+
case 11: {
|
|
8288
|
+
if (tag !== 90) {
|
|
8289
|
+
break;
|
|
8290
|
+
}
|
|
8291
|
+
message.waitForPullRouting = PullRouting.decode(reader, reader.uint32());
|
|
8292
|
+
continue;
|
|
8293
|
+
}
|
|
8294
|
+
case 12: {
|
|
8295
|
+
if (tag !== 98) {
|
|
8296
|
+
break;
|
|
8297
|
+
}
|
|
8298
|
+
message.executePullRouting = PullRouting.decode(reader, reader.uint32());
|
|
8299
|
+
continue;
|
|
8300
|
+
}
|
|
8147
8301
|
}
|
|
8148
8302
|
if ((tag & 7) === 4 || tag === 0) {
|
|
8149
8303
|
break;
|
|
@@ -8175,6 +8329,12 @@ export const ActiveStepExecutionState = {
|
|
|
8175
8329
|
message.lastFailureInfo = (object.lastFailureInfo !== undefined && object.lastFailureInfo !== null)
|
|
8176
8330
|
? StepMethodFailure.fromPartial(object.lastFailureInfo)
|
|
8177
8331
|
: undefined;
|
|
8332
|
+
message.waitForPullRouting = (object.waitForPullRouting !== undefined && object.waitForPullRouting !== null)
|
|
8333
|
+
? PullRouting.fromPartial(object.waitForPullRouting)
|
|
8334
|
+
: undefined;
|
|
8335
|
+
message.executePullRouting = (object.executePullRouting !== undefined && object.executePullRouting !== null)
|
|
8336
|
+
? PullRouting.fromPartial(object.executePullRouting)
|
|
8337
|
+
: undefined;
|
|
8178
8338
|
return message;
|
|
8179
8339
|
},
|
|
8180
8340
|
};
|
|
@@ -8238,6 +8398,7 @@ function createBaseGetFlowStateResponse() {
|
|
|
8238
8398
|
queuedSteps: [],
|
|
8239
8399
|
pendingChannelMessages: {},
|
|
8240
8400
|
completedSteps: [],
|
|
8401
|
+
stickyAppWorkerId: "",
|
|
8241
8402
|
};
|
|
8242
8403
|
}
|
|
8243
8404
|
export const GetFlowStateResponse = {
|
|
@@ -8261,6 +8422,9 @@ export const GetFlowStateResponse = {
|
|
|
8261
8422
|
for (const v of message.completedSteps) {
|
|
8262
8423
|
StepCompletionOutput.encode(v, writer.uint32(50).fork()).join();
|
|
8263
8424
|
}
|
|
8425
|
+
if (message.stickyAppWorkerId !== "") {
|
|
8426
|
+
writer.uint32(58).string(message.stickyAppWorkerId);
|
|
8427
|
+
}
|
|
8264
8428
|
return writer;
|
|
8265
8429
|
},
|
|
8266
8430
|
decode(input, length) {
|
|
@@ -8315,6 +8479,13 @@ export const GetFlowStateResponse = {
|
|
|
8315
8479
|
message.completedSteps.push(StepCompletionOutput.decode(reader, reader.uint32()));
|
|
8316
8480
|
continue;
|
|
8317
8481
|
}
|
|
8482
|
+
case 7: {
|
|
8483
|
+
if (tag !== 58) {
|
|
8484
|
+
break;
|
|
8485
|
+
}
|
|
8486
|
+
message.stickyAppWorkerId = reader.string();
|
|
8487
|
+
continue;
|
|
8488
|
+
}
|
|
8318
8489
|
}
|
|
8319
8490
|
if ((tag & 7) === 4 || tag === 0) {
|
|
8320
8491
|
break;
|
|
@@ -8343,6 +8514,7 @@ export const GetFlowStateResponse = {
|
|
|
8343
8514
|
return acc;
|
|
8344
8515
|
}, {});
|
|
8345
8516
|
message.completedSteps = object.completedSteps?.map((e) => StepCompletionOutput.fromPartial(e)) || [];
|
|
8517
|
+
message.stickyAppWorkerId = object.stickyAppWorkerId ?? "";
|
|
8346
8518
|
return message;
|
|
8347
8519
|
},
|
|
8348
8520
|
};
|
|
@@ -9568,7 +9740,7 @@ export const WorkerErrorResponse = {
|
|
|
9568
9740
|
},
|
|
9569
9741
|
};
|
|
9570
9742
|
function createBaseInternalActivityError() {
|
|
9571
|
-
return { serverDetail: "", workerGrpcStatus: 0, workerError: undefined };
|
|
9743
|
+
return { serverDetail: "", workerGrpcStatus: 0, workerError: undefined, pullRouting: undefined };
|
|
9572
9744
|
}
|
|
9573
9745
|
export const InternalActivityError = {
|
|
9574
9746
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -9581,6 +9753,9 @@ export const InternalActivityError = {
|
|
|
9581
9753
|
if (message.workerError !== undefined) {
|
|
9582
9754
|
InternalWorkerError.encode(message.workerError, writer.uint32(26).fork()).join();
|
|
9583
9755
|
}
|
|
9756
|
+
if (message.pullRouting !== undefined) {
|
|
9757
|
+
PullRouting.encode(message.pullRouting, writer.uint32(34).fork()).join();
|
|
9758
|
+
}
|
|
9584
9759
|
return writer;
|
|
9585
9760
|
},
|
|
9586
9761
|
decode(input, length) {
|
|
@@ -9611,6 +9786,13 @@ export const InternalActivityError = {
|
|
|
9611
9786
|
message.workerError = InternalWorkerError.decode(reader, reader.uint32());
|
|
9612
9787
|
continue;
|
|
9613
9788
|
}
|
|
9789
|
+
case 4: {
|
|
9790
|
+
if (tag !== 34) {
|
|
9791
|
+
break;
|
|
9792
|
+
}
|
|
9793
|
+
message.pullRouting = PullRouting.decode(reader, reader.uint32());
|
|
9794
|
+
continue;
|
|
9795
|
+
}
|
|
9614
9796
|
}
|
|
9615
9797
|
if ((tag & 7) === 4 || tag === 0) {
|
|
9616
9798
|
break;
|
|
@@ -9629,6 +9811,9 @@ export const InternalActivityError = {
|
|
|
9629
9811
|
message.workerError = (object.workerError !== undefined && object.workerError !== null)
|
|
9630
9812
|
? InternalWorkerError.fromPartial(object.workerError)
|
|
9631
9813
|
: undefined;
|
|
9814
|
+
message.pullRouting = (object.pullRouting !== undefined && object.pullRouting !== null)
|
|
9815
|
+
? PullRouting.fromPartial(object.pullRouting)
|
|
9816
|
+
: undefined;
|
|
9632
9817
|
return message;
|
|
9633
9818
|
},
|
|
9634
9819
|
};
|
|
@@ -12812,6 +12997,7 @@ function createBaseStepExecutionResumeInfo() {
|
|
|
12812
12997
|
completedConditions: undefined,
|
|
12813
12998
|
waitingCondition: undefined,
|
|
12814
12999
|
stepExeLocals: [],
|
|
13000
|
+
waitForPullRouting: undefined,
|
|
12815
13001
|
};
|
|
12816
13002
|
}
|
|
12817
13003
|
export const StepExecutionResumeInfo = {
|
|
@@ -12831,6 +13017,9 @@ export const StepExecutionResumeInfo = {
|
|
|
12831
13017
|
for (const v of message.stepExeLocals) {
|
|
12832
13018
|
KV.encode(v, writer.uint32(42).fork()).join();
|
|
12833
13019
|
}
|
|
13020
|
+
if (message.waitForPullRouting !== undefined) {
|
|
13021
|
+
PullRouting.encode(message.waitForPullRouting, writer.uint32(50).fork()).join();
|
|
13022
|
+
}
|
|
12834
13023
|
return writer;
|
|
12835
13024
|
},
|
|
12836
13025
|
decode(input, length) {
|
|
@@ -12875,6 +13064,13 @@ export const StepExecutionResumeInfo = {
|
|
|
12875
13064
|
message.stepExeLocals.push(KV.decode(reader, reader.uint32()));
|
|
12876
13065
|
continue;
|
|
12877
13066
|
}
|
|
13067
|
+
case 6: {
|
|
13068
|
+
if (tag !== 50) {
|
|
13069
|
+
break;
|
|
13070
|
+
}
|
|
13071
|
+
message.waitForPullRouting = PullRouting.decode(reader, reader.uint32());
|
|
13072
|
+
continue;
|
|
13073
|
+
}
|
|
12878
13074
|
}
|
|
12879
13075
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12880
13076
|
break;
|
|
@@ -12899,6 +13095,9 @@ export const StepExecutionResumeInfo = {
|
|
|
12899
13095
|
? WaitingConditionState.fromPartial(object.waitingCondition)
|
|
12900
13096
|
: undefined;
|
|
12901
13097
|
message.stepExeLocals = object.stepExeLocals?.map((e) => KV.fromPartial(e)) || [];
|
|
13098
|
+
message.waitForPullRouting = (object.waitForPullRouting !== undefined && object.waitForPullRouting !== null)
|
|
13099
|
+
? PullRouting.fromPartial(object.waitForPullRouting)
|
|
13100
|
+
: undefined;
|
|
12902
13101
|
return message;
|
|
12903
13102
|
},
|
|
12904
13103
|
};
|
|
@@ -13874,7 +14073,7 @@ export const InvokeWaitForMethodActivityInput = {
|
|
|
13874
14073
|
},
|
|
13875
14074
|
};
|
|
13876
14075
|
function createBaseInvokeWaitForMethodActivityOutput() {
|
|
13877
|
-
return { response: undefined, servedByAppWorkerId: "" };
|
|
14076
|
+
return { response: undefined, servedByAppWorkerId: "", pullRouting: undefined };
|
|
13878
14077
|
}
|
|
13879
14078
|
export const InvokeWaitForMethodActivityOutput = {
|
|
13880
14079
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -13884,6 +14083,9 @@ export const InvokeWaitForMethodActivityOutput = {
|
|
|
13884
14083
|
if (message.servedByAppWorkerId !== "") {
|
|
13885
14084
|
writer.uint32(18).string(message.servedByAppWorkerId);
|
|
13886
14085
|
}
|
|
14086
|
+
if (message.pullRouting !== undefined) {
|
|
14087
|
+
PullRouting.encode(message.pullRouting, writer.uint32(26).fork()).join();
|
|
14088
|
+
}
|
|
13887
14089
|
return writer;
|
|
13888
14090
|
},
|
|
13889
14091
|
decode(input, length) {
|
|
@@ -13907,6 +14109,13 @@ export const InvokeWaitForMethodActivityOutput = {
|
|
|
13907
14109
|
message.servedByAppWorkerId = reader.string();
|
|
13908
14110
|
continue;
|
|
13909
14111
|
}
|
|
14112
|
+
case 3: {
|
|
14113
|
+
if (tag !== 26) {
|
|
14114
|
+
break;
|
|
14115
|
+
}
|
|
14116
|
+
message.pullRouting = PullRouting.decode(reader, reader.uint32());
|
|
14117
|
+
continue;
|
|
14118
|
+
}
|
|
13910
14119
|
}
|
|
13911
14120
|
if ((tag & 7) === 4 || tag === 0) {
|
|
13912
14121
|
break;
|
|
@@ -13924,6 +14133,9 @@ export const InvokeWaitForMethodActivityOutput = {
|
|
|
13924
14133
|
? InvokeWaitForMethodResponse.fromPartial(object.response)
|
|
13925
14134
|
: undefined;
|
|
13926
14135
|
message.servedByAppWorkerId = object.servedByAppWorkerId ?? "";
|
|
14136
|
+
message.pullRouting = (object.pullRouting !== undefined && object.pullRouting !== null)
|
|
14137
|
+
? PullRouting.fromPartial(object.pullRouting)
|
|
14138
|
+
: undefined;
|
|
13927
14139
|
return message;
|
|
13928
14140
|
},
|
|
13929
14141
|
};
|
|
@@ -14085,6 +14297,7 @@ function createBaseInternalLocalStepActivityFailure() {
|
|
|
14085
14297
|
methodOptions: undefined,
|
|
14086
14298
|
attempt: 0,
|
|
14087
14299
|
activityError: undefined,
|
|
14300
|
+
pullRouting: undefined,
|
|
14088
14301
|
};
|
|
14089
14302
|
}
|
|
14090
14303
|
export const InternalLocalStepActivityFailure = {
|
|
@@ -14107,6 +14320,9 @@ export const InternalLocalStepActivityFailure = {
|
|
|
14107
14320
|
if (message.activityError !== undefined) {
|
|
14108
14321
|
InternalActivityError.encode(message.activityError, writer.uint32(42).fork()).join();
|
|
14109
14322
|
}
|
|
14323
|
+
if (message.pullRouting !== undefined) {
|
|
14324
|
+
PullRouting.encode(message.pullRouting, writer.uint32(50).fork()).join();
|
|
14325
|
+
}
|
|
14110
14326
|
return writer;
|
|
14111
14327
|
},
|
|
14112
14328
|
decode(input, length) {
|
|
@@ -14151,6 +14367,13 @@ export const InternalLocalStepActivityFailure = {
|
|
|
14151
14367
|
message.activityError = InternalActivityError.decode(reader, reader.uint32());
|
|
14152
14368
|
continue;
|
|
14153
14369
|
}
|
|
14370
|
+
case 6: {
|
|
14371
|
+
if (tag !== 50) {
|
|
14372
|
+
break;
|
|
14373
|
+
}
|
|
14374
|
+
message.pullRouting = PullRouting.decode(reader, reader.uint32());
|
|
14375
|
+
continue;
|
|
14376
|
+
}
|
|
14154
14377
|
}
|
|
14155
14378
|
if ((tag & 7) === 4 || tag === 0) {
|
|
14156
14379
|
break;
|
|
@@ -14179,11 +14402,14 @@ export const InternalLocalStepActivityFailure = {
|
|
|
14179
14402
|
message.activityError = (object.activityError !== undefined && object.activityError !== null)
|
|
14180
14403
|
? InternalActivityError.fromPartial(object.activityError)
|
|
14181
14404
|
: undefined;
|
|
14405
|
+
message.pullRouting = (object.pullRouting !== undefined && object.pullRouting !== null)
|
|
14406
|
+
? PullRouting.fromPartial(object.pullRouting)
|
|
14407
|
+
: undefined;
|
|
14182
14408
|
return message;
|
|
14183
14409
|
},
|
|
14184
14410
|
};
|
|
14185
14411
|
function createBaseInvokeExecuteMethodActivityOutput() {
|
|
14186
|
-
return { response: undefined, servedByAppWorkerId: "" };
|
|
14412
|
+
return { response: undefined, servedByAppWorkerId: "", pullRouting: undefined };
|
|
14187
14413
|
}
|
|
14188
14414
|
export const InvokeExecuteMethodActivityOutput = {
|
|
14189
14415
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -14193,6 +14419,9 @@ export const InvokeExecuteMethodActivityOutput = {
|
|
|
14193
14419
|
if (message.servedByAppWorkerId !== "") {
|
|
14194
14420
|
writer.uint32(18).string(message.servedByAppWorkerId);
|
|
14195
14421
|
}
|
|
14422
|
+
if (message.pullRouting !== undefined) {
|
|
14423
|
+
PullRouting.encode(message.pullRouting, writer.uint32(26).fork()).join();
|
|
14424
|
+
}
|
|
14196
14425
|
return writer;
|
|
14197
14426
|
},
|
|
14198
14427
|
decode(input, length) {
|
|
@@ -14216,6 +14445,13 @@ export const InvokeExecuteMethodActivityOutput = {
|
|
|
14216
14445
|
message.servedByAppWorkerId = reader.string();
|
|
14217
14446
|
continue;
|
|
14218
14447
|
}
|
|
14448
|
+
case 3: {
|
|
14449
|
+
if (tag !== 26) {
|
|
14450
|
+
break;
|
|
14451
|
+
}
|
|
14452
|
+
message.pullRouting = PullRouting.decode(reader, reader.uint32());
|
|
14453
|
+
continue;
|
|
14454
|
+
}
|
|
14219
14455
|
}
|
|
14220
14456
|
if ((tag & 7) === 4 || tag === 0) {
|
|
14221
14457
|
break;
|
|
@@ -14233,6 +14469,9 @@ export const InvokeExecuteMethodActivityOutput = {
|
|
|
14233
14469
|
? InvokeExecuteMethodResponse.fromPartial(object.response)
|
|
14234
14470
|
: undefined;
|
|
14235
14471
|
message.servedByAppWorkerId = object.servedByAppWorkerId ?? "";
|
|
14472
|
+
message.pullRouting = (object.pullRouting !== undefined && object.pullRouting !== null)
|
|
14473
|
+
? PullRouting.fromPartial(object.pullRouting)
|
|
14474
|
+
: undefined;
|
|
14236
14475
|
return message;
|
|
14237
14476
|
},
|
|
14238
14477
|
};
|
|
@@ -14931,6 +15170,7 @@ function createBaseExecuteRpcSignalRequest() {
|
|
|
14931
15170
|
deleteFromChannel: [],
|
|
14932
15171
|
isDeleteChannelMessageApi: false,
|
|
14933
15172
|
actionPermissionMappings: undefined,
|
|
15173
|
+
servedByAppWorkerId: "",
|
|
14934
15174
|
};
|
|
14935
15175
|
}
|
|
14936
15176
|
export const ExecuteRpcSignalRequest = {
|
|
@@ -14959,6 +15199,9 @@ export const ExecuteRpcSignalRequest = {
|
|
|
14959
15199
|
if (message.actionPermissionMappings !== undefined) {
|
|
14960
15200
|
ActionPermissionMappings.encode(message.actionPermissionMappings, writer.uint32(82).fork()).join();
|
|
14961
15201
|
}
|
|
15202
|
+
if (message.servedByAppWorkerId !== "") {
|
|
15203
|
+
writer.uint32(90).string(message.servedByAppWorkerId);
|
|
15204
|
+
}
|
|
14962
15205
|
return writer;
|
|
14963
15206
|
},
|
|
14964
15207
|
decode(input, length) {
|
|
@@ -15024,6 +15267,13 @@ export const ExecuteRpcSignalRequest = {
|
|
|
15024
15267
|
message.actionPermissionMappings = ActionPermissionMappings.decode(reader, reader.uint32());
|
|
15025
15268
|
continue;
|
|
15026
15269
|
}
|
|
15270
|
+
case 11: {
|
|
15271
|
+
if (tag !== 90) {
|
|
15272
|
+
break;
|
|
15273
|
+
}
|
|
15274
|
+
message.servedByAppWorkerId = reader.string();
|
|
15275
|
+
continue;
|
|
15276
|
+
}
|
|
15027
15277
|
}
|
|
15028
15278
|
if ((tag & 7) === 4 || tag === 0) {
|
|
15029
15279
|
break;
|
|
@@ -15050,6 +15300,7 @@ export const ExecuteRpcSignalRequest = {
|
|
|
15050
15300
|
(object.actionPermissionMappings !== undefined && object.actionPermissionMappings !== null)
|
|
15051
15301
|
? ActionPermissionMappings.fromPartial(object.actionPermissionMappings)
|
|
15052
15302
|
: undefined;
|
|
15303
|
+
message.servedByAppWorkerId = object.servedByAppWorkerId ?? "";
|
|
15053
15304
|
return message;
|
|
15054
15305
|
},
|
|
15055
15306
|
};
|