@superdurable/dex 1.4.0 → 1.9.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/dist/src/gen/dex.js
CHANGED
|
@@ -12225,6 +12225,8 @@ function createBaseInterpreterWorkflowInput() {
|
|
|
12225
12225
|
isResumeFromContinueAsNew: false,
|
|
12226
12226
|
continueAsNewInput: undefined,
|
|
12227
12227
|
timeoutHandlerOptions: undefined,
|
|
12228
|
+
tenantId: "",
|
|
12229
|
+
tenantClaims: {},
|
|
12228
12230
|
};
|
|
12229
12231
|
}
|
|
12230
12232
|
export const InterpreterWorkflowInput = {
|
|
@@ -12262,6 +12264,12 @@ export const InterpreterWorkflowInput = {
|
|
|
12262
12264
|
if (message.timeoutHandlerOptions !== undefined) {
|
|
12263
12265
|
FlowTimeoutHandlerOptions.encode(message.timeoutHandlerOptions, writer.uint32(90).fork()).join();
|
|
12264
12266
|
}
|
|
12267
|
+
if (message.tenantId !== "") {
|
|
12268
|
+
writer.uint32(98).string(message.tenantId);
|
|
12269
|
+
}
|
|
12270
|
+
globalThis.Object.entries(message.tenantClaims).forEach(([key, value]) => {
|
|
12271
|
+
InterpreterWorkflowInput_TenantClaimsEntry.encode({ key: key, value }, writer.uint32(106).fork()).join();
|
|
12272
|
+
});
|
|
12265
12273
|
return writer;
|
|
12266
12274
|
},
|
|
12267
12275
|
decode(input, length) {
|
|
@@ -12348,6 +12356,23 @@ export const InterpreterWorkflowInput = {
|
|
|
12348
12356
|
message.timeoutHandlerOptions = FlowTimeoutHandlerOptions.decode(reader, reader.uint32());
|
|
12349
12357
|
continue;
|
|
12350
12358
|
}
|
|
12359
|
+
case 12: {
|
|
12360
|
+
if (tag !== 98) {
|
|
12361
|
+
break;
|
|
12362
|
+
}
|
|
12363
|
+
message.tenantId = reader.string();
|
|
12364
|
+
continue;
|
|
12365
|
+
}
|
|
12366
|
+
case 13: {
|
|
12367
|
+
if (tag !== 106) {
|
|
12368
|
+
break;
|
|
12369
|
+
}
|
|
12370
|
+
const entry13 = InterpreterWorkflowInput_TenantClaimsEntry.decode(reader, reader.uint32());
|
|
12371
|
+
if (entry13.value !== undefined) {
|
|
12372
|
+
message.tenantClaims[entry13.key] = entry13.value;
|
|
12373
|
+
}
|
|
12374
|
+
continue;
|
|
12375
|
+
}
|
|
12351
12376
|
}
|
|
12352
12377
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12353
12378
|
break;
|
|
@@ -12383,6 +12408,65 @@ export const InterpreterWorkflowInput = {
|
|
|
12383
12408
|
(object.timeoutHandlerOptions !== undefined && object.timeoutHandlerOptions !== null)
|
|
12384
12409
|
? FlowTimeoutHandlerOptions.fromPartial(object.timeoutHandlerOptions)
|
|
12385
12410
|
: undefined;
|
|
12411
|
+
message.tenantId = object.tenantId ?? "";
|
|
12412
|
+
message.tenantClaims = globalThis.Object.entries(object.tenantClaims ?? {}).reduce((acc, [key, value]) => {
|
|
12413
|
+
if (value !== undefined) {
|
|
12414
|
+
acc[key] = globalThis.String(value);
|
|
12415
|
+
}
|
|
12416
|
+
return acc;
|
|
12417
|
+
}, {});
|
|
12418
|
+
return message;
|
|
12419
|
+
},
|
|
12420
|
+
};
|
|
12421
|
+
function createBaseInterpreterWorkflowInput_TenantClaimsEntry() {
|
|
12422
|
+
return { key: "", value: "" };
|
|
12423
|
+
}
|
|
12424
|
+
export const InterpreterWorkflowInput_TenantClaimsEntry = {
|
|
12425
|
+
encode(message, writer = new BinaryWriter()) {
|
|
12426
|
+
if (message.key !== "") {
|
|
12427
|
+
writer.uint32(10).string(message.key);
|
|
12428
|
+
}
|
|
12429
|
+
if (message.value !== "") {
|
|
12430
|
+
writer.uint32(18).string(message.value);
|
|
12431
|
+
}
|
|
12432
|
+
return writer;
|
|
12433
|
+
},
|
|
12434
|
+
decode(input, length) {
|
|
12435
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
12436
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
12437
|
+
const message = createBaseInterpreterWorkflowInput_TenantClaimsEntry();
|
|
12438
|
+
while (reader.pos < end) {
|
|
12439
|
+
const tag = reader.uint32();
|
|
12440
|
+
switch (tag >>> 3) {
|
|
12441
|
+
case 1: {
|
|
12442
|
+
if (tag !== 10) {
|
|
12443
|
+
break;
|
|
12444
|
+
}
|
|
12445
|
+
message.key = reader.string();
|
|
12446
|
+
continue;
|
|
12447
|
+
}
|
|
12448
|
+
case 2: {
|
|
12449
|
+
if (tag !== 18) {
|
|
12450
|
+
break;
|
|
12451
|
+
}
|
|
12452
|
+
message.value = reader.string();
|
|
12453
|
+
continue;
|
|
12454
|
+
}
|
|
12455
|
+
}
|
|
12456
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
12457
|
+
break;
|
|
12458
|
+
}
|
|
12459
|
+
reader.skip(tag & 7);
|
|
12460
|
+
}
|
|
12461
|
+
return message;
|
|
12462
|
+
},
|
|
12463
|
+
create(base) {
|
|
12464
|
+
return InterpreterWorkflowInput_TenantClaimsEntry.fromPartial(base ?? {});
|
|
12465
|
+
},
|
|
12466
|
+
fromPartial(object) {
|
|
12467
|
+
const message = createBaseInterpreterWorkflowInput_TenantClaimsEntry();
|
|
12468
|
+
message.key = object.key ?? "";
|
|
12469
|
+
message.value = object.value ?? "";
|
|
12386
12470
|
return message;
|
|
12387
12471
|
},
|
|
12388
12472
|
};
|
|
@@ -12510,7 +12594,7 @@ export const BlobStoreCleanupWorkflowOutput = {
|
|
|
12510
12594
|
},
|
|
12511
12595
|
};
|
|
12512
12596
|
function createBaseInvokeWaitForMethodActivityInput() {
|
|
12513
|
-
return { workerTarget: undefined, request: undefined };
|
|
12597
|
+
return { workerTarget: undefined, request: undefined, tenantId: "", tenantClaims: {} };
|
|
12514
12598
|
}
|
|
12515
12599
|
export const InvokeWaitForMethodActivityInput = {
|
|
12516
12600
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -12520,6 +12604,13 @@ export const InvokeWaitForMethodActivityInput = {
|
|
|
12520
12604
|
if (message.request !== undefined) {
|
|
12521
12605
|
InvokeWaitForMethodRequest.encode(message.request, writer.uint32(18).fork()).join();
|
|
12522
12606
|
}
|
|
12607
|
+
if (message.tenantId !== "") {
|
|
12608
|
+
writer.uint32(26).string(message.tenantId);
|
|
12609
|
+
}
|
|
12610
|
+
globalThis.Object.entries(message.tenantClaims).forEach(([key, value]) => {
|
|
12611
|
+
InvokeWaitForMethodActivityInput_TenantClaimsEntry.encode({ key: key, value }, writer.uint32(34).fork())
|
|
12612
|
+
.join();
|
|
12613
|
+
});
|
|
12523
12614
|
return writer;
|
|
12524
12615
|
},
|
|
12525
12616
|
decode(input, length) {
|
|
@@ -12543,6 +12634,23 @@ export const InvokeWaitForMethodActivityInput = {
|
|
|
12543
12634
|
message.request = InvokeWaitForMethodRequest.decode(reader, reader.uint32());
|
|
12544
12635
|
continue;
|
|
12545
12636
|
}
|
|
12637
|
+
case 3: {
|
|
12638
|
+
if (tag !== 26) {
|
|
12639
|
+
break;
|
|
12640
|
+
}
|
|
12641
|
+
message.tenantId = reader.string();
|
|
12642
|
+
continue;
|
|
12643
|
+
}
|
|
12644
|
+
case 4: {
|
|
12645
|
+
if (tag !== 34) {
|
|
12646
|
+
break;
|
|
12647
|
+
}
|
|
12648
|
+
const entry4 = InvokeWaitForMethodActivityInput_TenantClaimsEntry.decode(reader, reader.uint32());
|
|
12649
|
+
if (entry4.value !== undefined) {
|
|
12650
|
+
message.tenantClaims[entry4.key] = entry4.value;
|
|
12651
|
+
}
|
|
12652
|
+
continue;
|
|
12653
|
+
}
|
|
12546
12654
|
}
|
|
12547
12655
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12548
12656
|
break;
|
|
@@ -12562,6 +12670,65 @@ export const InvokeWaitForMethodActivityInput = {
|
|
|
12562
12670
|
message.request = (object.request !== undefined && object.request !== null)
|
|
12563
12671
|
? InvokeWaitForMethodRequest.fromPartial(object.request)
|
|
12564
12672
|
: undefined;
|
|
12673
|
+
message.tenantId = object.tenantId ?? "";
|
|
12674
|
+
message.tenantClaims = globalThis.Object.entries(object.tenantClaims ?? {}).reduce((acc, [key, value]) => {
|
|
12675
|
+
if (value !== undefined) {
|
|
12676
|
+
acc[key] = globalThis.String(value);
|
|
12677
|
+
}
|
|
12678
|
+
return acc;
|
|
12679
|
+
}, {});
|
|
12680
|
+
return message;
|
|
12681
|
+
},
|
|
12682
|
+
};
|
|
12683
|
+
function createBaseInvokeWaitForMethodActivityInput_TenantClaimsEntry() {
|
|
12684
|
+
return { key: "", value: "" };
|
|
12685
|
+
}
|
|
12686
|
+
export const InvokeWaitForMethodActivityInput_TenantClaimsEntry = {
|
|
12687
|
+
encode(message, writer = new BinaryWriter()) {
|
|
12688
|
+
if (message.key !== "") {
|
|
12689
|
+
writer.uint32(10).string(message.key);
|
|
12690
|
+
}
|
|
12691
|
+
if (message.value !== "") {
|
|
12692
|
+
writer.uint32(18).string(message.value);
|
|
12693
|
+
}
|
|
12694
|
+
return writer;
|
|
12695
|
+
},
|
|
12696
|
+
decode(input, length) {
|
|
12697
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
12698
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
12699
|
+
const message = createBaseInvokeWaitForMethodActivityInput_TenantClaimsEntry();
|
|
12700
|
+
while (reader.pos < end) {
|
|
12701
|
+
const tag = reader.uint32();
|
|
12702
|
+
switch (tag >>> 3) {
|
|
12703
|
+
case 1: {
|
|
12704
|
+
if (tag !== 10) {
|
|
12705
|
+
break;
|
|
12706
|
+
}
|
|
12707
|
+
message.key = reader.string();
|
|
12708
|
+
continue;
|
|
12709
|
+
}
|
|
12710
|
+
case 2: {
|
|
12711
|
+
if (tag !== 18) {
|
|
12712
|
+
break;
|
|
12713
|
+
}
|
|
12714
|
+
message.value = reader.string();
|
|
12715
|
+
continue;
|
|
12716
|
+
}
|
|
12717
|
+
}
|
|
12718
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
12719
|
+
break;
|
|
12720
|
+
}
|
|
12721
|
+
reader.skip(tag & 7);
|
|
12722
|
+
}
|
|
12723
|
+
return message;
|
|
12724
|
+
},
|
|
12725
|
+
create(base) {
|
|
12726
|
+
return InvokeWaitForMethodActivityInput_TenantClaimsEntry.fromPartial(base ?? {});
|
|
12727
|
+
},
|
|
12728
|
+
fromPartial(object) {
|
|
12729
|
+
const message = createBaseInvokeWaitForMethodActivityInput_TenantClaimsEntry();
|
|
12730
|
+
message.key = object.key ?? "";
|
|
12731
|
+
message.value = object.value ?? "";
|
|
12565
12732
|
return message;
|
|
12566
12733
|
},
|
|
12567
12734
|
};
|
|
@@ -12609,7 +12776,7 @@ export const InvokeWaitForMethodActivityOutput = {
|
|
|
12609
12776
|
},
|
|
12610
12777
|
};
|
|
12611
12778
|
function createBaseInvokeExecuteMethodActivityInput() {
|
|
12612
|
-
return { workerTarget: undefined, request: undefined };
|
|
12779
|
+
return { workerTarget: undefined, request: undefined, tenantId: "", tenantClaims: {} };
|
|
12613
12780
|
}
|
|
12614
12781
|
export const InvokeExecuteMethodActivityInput = {
|
|
12615
12782
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -12619,6 +12786,13 @@ export const InvokeExecuteMethodActivityInput = {
|
|
|
12619
12786
|
if (message.request !== undefined) {
|
|
12620
12787
|
InvokeExecuteMethodRequest.encode(message.request, writer.uint32(18).fork()).join();
|
|
12621
12788
|
}
|
|
12789
|
+
if (message.tenantId !== "") {
|
|
12790
|
+
writer.uint32(26).string(message.tenantId);
|
|
12791
|
+
}
|
|
12792
|
+
globalThis.Object.entries(message.tenantClaims).forEach(([key, value]) => {
|
|
12793
|
+
InvokeExecuteMethodActivityInput_TenantClaimsEntry.encode({ key: key, value }, writer.uint32(34).fork())
|
|
12794
|
+
.join();
|
|
12795
|
+
});
|
|
12622
12796
|
return writer;
|
|
12623
12797
|
},
|
|
12624
12798
|
decode(input, length) {
|
|
@@ -12642,6 +12816,23 @@ export const InvokeExecuteMethodActivityInput = {
|
|
|
12642
12816
|
message.request = InvokeExecuteMethodRequest.decode(reader, reader.uint32());
|
|
12643
12817
|
continue;
|
|
12644
12818
|
}
|
|
12819
|
+
case 3: {
|
|
12820
|
+
if (tag !== 26) {
|
|
12821
|
+
break;
|
|
12822
|
+
}
|
|
12823
|
+
message.tenantId = reader.string();
|
|
12824
|
+
continue;
|
|
12825
|
+
}
|
|
12826
|
+
case 4: {
|
|
12827
|
+
if (tag !== 34) {
|
|
12828
|
+
break;
|
|
12829
|
+
}
|
|
12830
|
+
const entry4 = InvokeExecuteMethodActivityInput_TenantClaimsEntry.decode(reader, reader.uint32());
|
|
12831
|
+
if (entry4.value !== undefined) {
|
|
12832
|
+
message.tenantClaims[entry4.key] = entry4.value;
|
|
12833
|
+
}
|
|
12834
|
+
continue;
|
|
12835
|
+
}
|
|
12645
12836
|
}
|
|
12646
12837
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12647
12838
|
break;
|
|
@@ -12661,6 +12852,65 @@ export const InvokeExecuteMethodActivityInput = {
|
|
|
12661
12852
|
message.request = (object.request !== undefined && object.request !== null)
|
|
12662
12853
|
? InvokeExecuteMethodRequest.fromPartial(object.request)
|
|
12663
12854
|
: undefined;
|
|
12855
|
+
message.tenantId = object.tenantId ?? "";
|
|
12856
|
+
message.tenantClaims = globalThis.Object.entries(object.tenantClaims ?? {}).reduce((acc, [key, value]) => {
|
|
12857
|
+
if (value !== undefined) {
|
|
12858
|
+
acc[key] = globalThis.String(value);
|
|
12859
|
+
}
|
|
12860
|
+
return acc;
|
|
12861
|
+
}, {});
|
|
12862
|
+
return message;
|
|
12863
|
+
},
|
|
12864
|
+
};
|
|
12865
|
+
function createBaseInvokeExecuteMethodActivityInput_TenantClaimsEntry() {
|
|
12866
|
+
return { key: "", value: "" };
|
|
12867
|
+
}
|
|
12868
|
+
export const InvokeExecuteMethodActivityInput_TenantClaimsEntry = {
|
|
12869
|
+
encode(message, writer = new BinaryWriter()) {
|
|
12870
|
+
if (message.key !== "") {
|
|
12871
|
+
writer.uint32(10).string(message.key);
|
|
12872
|
+
}
|
|
12873
|
+
if (message.value !== "") {
|
|
12874
|
+
writer.uint32(18).string(message.value);
|
|
12875
|
+
}
|
|
12876
|
+
return writer;
|
|
12877
|
+
},
|
|
12878
|
+
decode(input, length) {
|
|
12879
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
12880
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
12881
|
+
const message = createBaseInvokeExecuteMethodActivityInput_TenantClaimsEntry();
|
|
12882
|
+
while (reader.pos < end) {
|
|
12883
|
+
const tag = reader.uint32();
|
|
12884
|
+
switch (tag >>> 3) {
|
|
12885
|
+
case 1: {
|
|
12886
|
+
if (tag !== 10) {
|
|
12887
|
+
break;
|
|
12888
|
+
}
|
|
12889
|
+
message.key = reader.string();
|
|
12890
|
+
continue;
|
|
12891
|
+
}
|
|
12892
|
+
case 2: {
|
|
12893
|
+
if (tag !== 18) {
|
|
12894
|
+
break;
|
|
12895
|
+
}
|
|
12896
|
+
message.value = reader.string();
|
|
12897
|
+
continue;
|
|
12898
|
+
}
|
|
12899
|
+
}
|
|
12900
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
12901
|
+
break;
|
|
12902
|
+
}
|
|
12903
|
+
reader.skip(tag & 7);
|
|
12904
|
+
}
|
|
12905
|
+
return message;
|
|
12906
|
+
},
|
|
12907
|
+
create(base) {
|
|
12908
|
+
return InvokeExecuteMethodActivityInput_TenantClaimsEntry.fromPartial(base ?? {});
|
|
12909
|
+
},
|
|
12910
|
+
fromPartial(object) {
|
|
12911
|
+
const message = createBaseInvokeExecuteMethodActivityInput_TenantClaimsEntry();
|
|
12912
|
+
message.key = object.key ?? "";
|
|
12913
|
+
message.value = object.value ?? "";
|
|
12664
12914
|
return message;
|
|
12665
12915
|
},
|
|
12666
12916
|
};
|
|
@@ -12950,7 +13200,7 @@ export const DumpFlowForContinueAsNewActivityOutput = {
|
|
|
12950
13200
|
},
|
|
12951
13201
|
};
|
|
12952
13202
|
function createBaseInvokeWorkerRPCActivityInput() {
|
|
12953
|
-
return { rpcPrep: undefined, request: undefined };
|
|
13203
|
+
return { rpcPrep: undefined, request: undefined, tenantId: "", tenantClaims: {} };
|
|
12954
13204
|
}
|
|
12955
13205
|
export const InvokeWorkerRPCActivityInput = {
|
|
12956
13206
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -12960,6 +13210,13 @@ export const InvokeWorkerRPCActivityInput = {
|
|
|
12960
13210
|
if (message.request !== undefined) {
|
|
12961
13211
|
InvokeRPCRequest.encode(message.request, writer.uint32(18).fork()).join();
|
|
12962
13212
|
}
|
|
13213
|
+
if (message.tenantId !== "") {
|
|
13214
|
+
writer.uint32(26).string(message.tenantId);
|
|
13215
|
+
}
|
|
13216
|
+
globalThis.Object.entries(message.tenantClaims).forEach(([key, value]) => {
|
|
13217
|
+
InvokeWorkerRPCActivityInput_TenantClaimsEntry.encode({ key: key, value }, writer.uint32(34).fork())
|
|
13218
|
+
.join();
|
|
13219
|
+
});
|
|
12963
13220
|
return writer;
|
|
12964
13221
|
},
|
|
12965
13222
|
decode(input, length) {
|
|
@@ -12983,6 +13240,23 @@ export const InvokeWorkerRPCActivityInput = {
|
|
|
12983
13240
|
message.request = InvokeRPCRequest.decode(reader, reader.uint32());
|
|
12984
13241
|
continue;
|
|
12985
13242
|
}
|
|
13243
|
+
case 3: {
|
|
13244
|
+
if (tag !== 26) {
|
|
13245
|
+
break;
|
|
13246
|
+
}
|
|
13247
|
+
message.tenantId = reader.string();
|
|
13248
|
+
continue;
|
|
13249
|
+
}
|
|
13250
|
+
case 4: {
|
|
13251
|
+
if (tag !== 34) {
|
|
13252
|
+
break;
|
|
13253
|
+
}
|
|
13254
|
+
const entry4 = InvokeWorkerRPCActivityInput_TenantClaimsEntry.decode(reader, reader.uint32());
|
|
13255
|
+
if (entry4.value !== undefined) {
|
|
13256
|
+
message.tenantClaims[entry4.key] = entry4.value;
|
|
13257
|
+
}
|
|
13258
|
+
continue;
|
|
13259
|
+
}
|
|
12986
13260
|
}
|
|
12987
13261
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12988
13262
|
break;
|
|
@@ -13002,6 +13276,65 @@ export const InvokeWorkerRPCActivityInput = {
|
|
|
13002
13276
|
message.request = (object.request !== undefined && object.request !== null)
|
|
13003
13277
|
? InvokeRPCRequest.fromPartial(object.request)
|
|
13004
13278
|
: undefined;
|
|
13279
|
+
message.tenantId = object.tenantId ?? "";
|
|
13280
|
+
message.tenantClaims = globalThis.Object.entries(object.tenantClaims ?? {}).reduce((acc, [key, value]) => {
|
|
13281
|
+
if (value !== undefined) {
|
|
13282
|
+
acc[key] = globalThis.String(value);
|
|
13283
|
+
}
|
|
13284
|
+
return acc;
|
|
13285
|
+
}, {});
|
|
13286
|
+
return message;
|
|
13287
|
+
},
|
|
13288
|
+
};
|
|
13289
|
+
function createBaseInvokeWorkerRPCActivityInput_TenantClaimsEntry() {
|
|
13290
|
+
return { key: "", value: "" };
|
|
13291
|
+
}
|
|
13292
|
+
export const InvokeWorkerRPCActivityInput_TenantClaimsEntry = {
|
|
13293
|
+
encode(message, writer = new BinaryWriter()) {
|
|
13294
|
+
if (message.key !== "") {
|
|
13295
|
+
writer.uint32(10).string(message.key);
|
|
13296
|
+
}
|
|
13297
|
+
if (message.value !== "") {
|
|
13298
|
+
writer.uint32(18).string(message.value);
|
|
13299
|
+
}
|
|
13300
|
+
return writer;
|
|
13301
|
+
},
|
|
13302
|
+
decode(input, length) {
|
|
13303
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
13304
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13305
|
+
const message = createBaseInvokeWorkerRPCActivityInput_TenantClaimsEntry();
|
|
13306
|
+
while (reader.pos < end) {
|
|
13307
|
+
const tag = reader.uint32();
|
|
13308
|
+
switch (tag >>> 3) {
|
|
13309
|
+
case 1: {
|
|
13310
|
+
if (tag !== 10) {
|
|
13311
|
+
break;
|
|
13312
|
+
}
|
|
13313
|
+
message.key = reader.string();
|
|
13314
|
+
continue;
|
|
13315
|
+
}
|
|
13316
|
+
case 2: {
|
|
13317
|
+
if (tag !== 18) {
|
|
13318
|
+
break;
|
|
13319
|
+
}
|
|
13320
|
+
message.value = reader.string();
|
|
13321
|
+
continue;
|
|
13322
|
+
}
|
|
13323
|
+
}
|
|
13324
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13325
|
+
break;
|
|
13326
|
+
}
|
|
13327
|
+
reader.skip(tag & 7);
|
|
13328
|
+
}
|
|
13329
|
+
return message;
|
|
13330
|
+
},
|
|
13331
|
+
create(base) {
|
|
13332
|
+
return InvokeWorkerRPCActivityInput_TenantClaimsEntry.fromPartial(base ?? {});
|
|
13333
|
+
},
|
|
13334
|
+
fromPartial(object) {
|
|
13335
|
+
const message = createBaseInvokeWorkerRPCActivityInput_TenantClaimsEntry();
|
|
13336
|
+
message.key = object.key ?? "";
|
|
13337
|
+
message.value = object.value ?? "";
|
|
13005
13338
|
return message;
|
|
13006
13339
|
},
|
|
13007
13340
|
};
|
|
@@ -13268,7 +13601,13 @@ export const SyncAttributeBatchActivityInput = {
|
|
|
13268
13601
|
},
|
|
13269
13602
|
};
|
|
13270
13603
|
function createBaseStartSubFlowActivityInput() {
|
|
13271
|
-
return {
|
|
13604
|
+
return {
|
|
13605
|
+
condition: undefined,
|
|
13606
|
+
parentFlowConfig: undefined,
|
|
13607
|
+
parentStepExecutionId: "",
|
|
13608
|
+
tenantId: "",
|
|
13609
|
+
tenantClaims: {},
|
|
13610
|
+
};
|
|
13272
13611
|
}
|
|
13273
13612
|
export const StartSubFlowActivityInput = {
|
|
13274
13613
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -13281,6 +13620,12 @@ export const StartSubFlowActivityInput = {
|
|
|
13281
13620
|
if (message.parentStepExecutionId !== "") {
|
|
13282
13621
|
writer.uint32(26).string(message.parentStepExecutionId);
|
|
13283
13622
|
}
|
|
13623
|
+
if (message.tenantId !== "") {
|
|
13624
|
+
writer.uint32(34).string(message.tenantId);
|
|
13625
|
+
}
|
|
13626
|
+
globalThis.Object.entries(message.tenantClaims).forEach(([key, value]) => {
|
|
13627
|
+
StartSubFlowActivityInput_TenantClaimsEntry.encode({ key: key, value }, writer.uint32(42).fork()).join();
|
|
13628
|
+
});
|
|
13284
13629
|
return writer;
|
|
13285
13630
|
},
|
|
13286
13631
|
decode(input, length) {
|
|
@@ -13311,8 +13656,25 @@ export const StartSubFlowActivityInput = {
|
|
|
13311
13656
|
message.parentStepExecutionId = reader.string();
|
|
13312
13657
|
continue;
|
|
13313
13658
|
}
|
|
13314
|
-
|
|
13315
|
-
|
|
13659
|
+
case 4: {
|
|
13660
|
+
if (tag !== 34) {
|
|
13661
|
+
break;
|
|
13662
|
+
}
|
|
13663
|
+
message.tenantId = reader.string();
|
|
13664
|
+
continue;
|
|
13665
|
+
}
|
|
13666
|
+
case 5: {
|
|
13667
|
+
if (tag !== 42) {
|
|
13668
|
+
break;
|
|
13669
|
+
}
|
|
13670
|
+
const entry5 = StartSubFlowActivityInput_TenantClaimsEntry.decode(reader, reader.uint32());
|
|
13671
|
+
if (entry5.value !== undefined) {
|
|
13672
|
+
message.tenantClaims[entry5.key] = entry5.value;
|
|
13673
|
+
}
|
|
13674
|
+
continue;
|
|
13675
|
+
}
|
|
13676
|
+
}
|
|
13677
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13316
13678
|
break;
|
|
13317
13679
|
}
|
|
13318
13680
|
reader.skip(tag & 7);
|
|
@@ -13331,6 +13693,65 @@ export const StartSubFlowActivityInput = {
|
|
|
13331
13693
|
? FlowConfig.fromPartial(object.parentFlowConfig)
|
|
13332
13694
|
: undefined;
|
|
13333
13695
|
message.parentStepExecutionId = object.parentStepExecutionId ?? "";
|
|
13696
|
+
message.tenantId = object.tenantId ?? "";
|
|
13697
|
+
message.tenantClaims = globalThis.Object.entries(object.tenantClaims ?? {}).reduce((acc, [key, value]) => {
|
|
13698
|
+
if (value !== undefined) {
|
|
13699
|
+
acc[key] = globalThis.String(value);
|
|
13700
|
+
}
|
|
13701
|
+
return acc;
|
|
13702
|
+
}, {});
|
|
13703
|
+
return message;
|
|
13704
|
+
},
|
|
13705
|
+
};
|
|
13706
|
+
function createBaseStartSubFlowActivityInput_TenantClaimsEntry() {
|
|
13707
|
+
return { key: "", value: "" };
|
|
13708
|
+
}
|
|
13709
|
+
export const StartSubFlowActivityInput_TenantClaimsEntry = {
|
|
13710
|
+
encode(message, writer = new BinaryWriter()) {
|
|
13711
|
+
if (message.key !== "") {
|
|
13712
|
+
writer.uint32(10).string(message.key);
|
|
13713
|
+
}
|
|
13714
|
+
if (message.value !== "") {
|
|
13715
|
+
writer.uint32(18).string(message.value);
|
|
13716
|
+
}
|
|
13717
|
+
return writer;
|
|
13718
|
+
},
|
|
13719
|
+
decode(input, length) {
|
|
13720
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
13721
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13722
|
+
const message = createBaseStartSubFlowActivityInput_TenantClaimsEntry();
|
|
13723
|
+
while (reader.pos < end) {
|
|
13724
|
+
const tag = reader.uint32();
|
|
13725
|
+
switch (tag >>> 3) {
|
|
13726
|
+
case 1: {
|
|
13727
|
+
if (tag !== 10) {
|
|
13728
|
+
break;
|
|
13729
|
+
}
|
|
13730
|
+
message.key = reader.string();
|
|
13731
|
+
continue;
|
|
13732
|
+
}
|
|
13733
|
+
case 2: {
|
|
13734
|
+
if (tag !== 18) {
|
|
13735
|
+
break;
|
|
13736
|
+
}
|
|
13737
|
+
message.value = reader.string();
|
|
13738
|
+
continue;
|
|
13739
|
+
}
|
|
13740
|
+
}
|
|
13741
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13742
|
+
break;
|
|
13743
|
+
}
|
|
13744
|
+
reader.skip(tag & 7);
|
|
13745
|
+
}
|
|
13746
|
+
return message;
|
|
13747
|
+
},
|
|
13748
|
+
create(base) {
|
|
13749
|
+
return StartSubFlowActivityInput_TenantClaimsEntry.fromPartial(base ?? {});
|
|
13750
|
+
},
|
|
13751
|
+
fromPartial(object) {
|
|
13752
|
+
const message = createBaseStartSubFlowActivityInput_TenantClaimsEntry();
|
|
13753
|
+
message.key = object.key ?? "";
|
|
13754
|
+
message.value = object.value ?? "";
|
|
13334
13755
|
return message;
|
|
13335
13756
|
},
|
|
13336
13757
|
};
|
|
@@ -13528,8 +13949,6 @@ export const ReportSubFlowCompletionActivityOutput = {
|
|
|
13528
13949
|
};
|
|
13529
13950
|
function createBaseExecuteRpcSignalRequest() {
|
|
13530
13951
|
return {
|
|
13531
|
-
rpcInput: undefined,
|
|
13532
|
-
rpcOutput: undefined,
|
|
13533
13952
|
upsertAttributes: [],
|
|
13534
13953
|
stepDecision: undefined,
|
|
13535
13954
|
recordEvents: [],
|
|
@@ -13542,12 +13961,6 @@ function createBaseExecuteRpcSignalRequest() {
|
|
|
13542
13961
|
}
|
|
13543
13962
|
export const ExecuteRpcSignalRequest = {
|
|
13544
13963
|
encode(message, writer = new BinaryWriter()) {
|
|
13545
|
-
if (message.rpcInput !== undefined) {
|
|
13546
|
-
Value.encode(message.rpcInput, writer.uint32(10).fork()).join();
|
|
13547
|
-
}
|
|
13548
|
-
if (message.rpcOutput !== undefined) {
|
|
13549
|
-
Value.encode(message.rpcOutput, writer.uint32(18).fork()).join();
|
|
13550
|
-
}
|
|
13551
13964
|
for (const v of message.upsertAttributes) {
|
|
13552
13965
|
AttributeWrite.encode(v, writer.uint32(26).fork()).join();
|
|
13553
13966
|
}
|
|
@@ -13581,20 +13994,6 @@ export const ExecuteRpcSignalRequest = {
|
|
|
13581
13994
|
while (reader.pos < end) {
|
|
13582
13995
|
const tag = reader.uint32();
|
|
13583
13996
|
switch (tag >>> 3) {
|
|
13584
|
-
case 1: {
|
|
13585
|
-
if (tag !== 10) {
|
|
13586
|
-
break;
|
|
13587
|
-
}
|
|
13588
|
-
message.rpcInput = Value.decode(reader, reader.uint32());
|
|
13589
|
-
continue;
|
|
13590
|
-
}
|
|
13591
|
-
case 2: {
|
|
13592
|
-
if (tag !== 18) {
|
|
13593
|
-
break;
|
|
13594
|
-
}
|
|
13595
|
-
message.rpcOutput = Value.decode(reader, reader.uint32());
|
|
13596
|
-
continue;
|
|
13597
|
-
}
|
|
13598
13997
|
case 3: {
|
|
13599
13998
|
if (tag !== 26) {
|
|
13600
13999
|
break;
|
|
@@ -13664,12 +14063,6 @@ export const ExecuteRpcSignalRequest = {
|
|
|
13664
14063
|
},
|
|
13665
14064
|
fromPartial(object) {
|
|
13666
14065
|
const message = createBaseExecuteRpcSignalRequest();
|
|
13667
|
-
message.rpcInput = (object.rpcInput !== undefined && object.rpcInput !== null)
|
|
13668
|
-
? Value.fromPartial(object.rpcInput)
|
|
13669
|
-
: undefined;
|
|
13670
|
-
message.rpcOutput = (object.rpcOutput !== undefined && object.rpcOutput !== null)
|
|
13671
|
-
? Value.fromPartial(object.rpcOutput)
|
|
13672
|
-
: undefined;
|
|
13673
14066
|
message.upsertAttributes = object.upsertAttributes?.map((e) => AttributeWrite.fromPartial(e)) || [];
|
|
13674
14067
|
message.stepDecision = (object.stepDecision !== undefined && object.stepDecision !== null)
|
|
13675
14068
|
? StepDecision.fromPartial(object.stepDecision)
|
|
@@ -14680,6 +15073,393 @@ export const StepExecutionNumbers = {
|
|
|
14680
15073
|
return message;
|
|
14681
15074
|
},
|
|
14682
15075
|
};
|
|
15076
|
+
function createBaseTenantAdminState() {
|
|
15077
|
+
return {
|
|
15078
|
+
tenantId: "",
|
|
15079
|
+
isTombstoned: false,
|
|
15080
|
+
tombstonedTime: undefined,
|
|
15081
|
+
purgeDoneTime: undefined,
|
|
15082
|
+
tombstoneExpiryTime: undefined,
|
|
15083
|
+
};
|
|
15084
|
+
}
|
|
15085
|
+
export const TenantAdminState = {
|
|
15086
|
+
encode(message, writer = new BinaryWriter()) {
|
|
15087
|
+
if (message.tenantId !== "") {
|
|
15088
|
+
writer.uint32(10).string(message.tenantId);
|
|
15089
|
+
}
|
|
15090
|
+
if (message.isTombstoned !== false) {
|
|
15091
|
+
writer.uint32(16).bool(message.isTombstoned);
|
|
15092
|
+
}
|
|
15093
|
+
if (message.tombstonedTime !== undefined) {
|
|
15094
|
+
Timestamp.encode(toTimestamp(message.tombstonedTime), writer.uint32(26).fork()).join();
|
|
15095
|
+
}
|
|
15096
|
+
if (message.purgeDoneTime !== undefined) {
|
|
15097
|
+
Timestamp.encode(toTimestamp(message.purgeDoneTime), writer.uint32(34).fork()).join();
|
|
15098
|
+
}
|
|
15099
|
+
if (message.tombstoneExpiryTime !== undefined) {
|
|
15100
|
+
Timestamp.encode(toTimestamp(message.tombstoneExpiryTime), writer.uint32(42).fork()).join();
|
|
15101
|
+
}
|
|
15102
|
+
return writer;
|
|
15103
|
+
},
|
|
15104
|
+
decode(input, length) {
|
|
15105
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
15106
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
15107
|
+
const message = createBaseTenantAdminState();
|
|
15108
|
+
while (reader.pos < end) {
|
|
15109
|
+
const tag = reader.uint32();
|
|
15110
|
+
switch (tag >>> 3) {
|
|
15111
|
+
case 1: {
|
|
15112
|
+
if (tag !== 10) {
|
|
15113
|
+
break;
|
|
15114
|
+
}
|
|
15115
|
+
message.tenantId = reader.string();
|
|
15116
|
+
continue;
|
|
15117
|
+
}
|
|
15118
|
+
case 2: {
|
|
15119
|
+
if (tag !== 16) {
|
|
15120
|
+
break;
|
|
15121
|
+
}
|
|
15122
|
+
message.isTombstoned = reader.bool();
|
|
15123
|
+
continue;
|
|
15124
|
+
}
|
|
15125
|
+
case 3: {
|
|
15126
|
+
if (tag !== 26) {
|
|
15127
|
+
break;
|
|
15128
|
+
}
|
|
15129
|
+
message.tombstonedTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
15130
|
+
continue;
|
|
15131
|
+
}
|
|
15132
|
+
case 4: {
|
|
15133
|
+
if (tag !== 34) {
|
|
15134
|
+
break;
|
|
15135
|
+
}
|
|
15136
|
+
message.purgeDoneTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
15137
|
+
continue;
|
|
15138
|
+
}
|
|
15139
|
+
case 5: {
|
|
15140
|
+
if (tag !== 42) {
|
|
15141
|
+
break;
|
|
15142
|
+
}
|
|
15143
|
+
message.tombstoneExpiryTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
15144
|
+
continue;
|
|
15145
|
+
}
|
|
15146
|
+
}
|
|
15147
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
15148
|
+
break;
|
|
15149
|
+
}
|
|
15150
|
+
reader.skip(tag & 7);
|
|
15151
|
+
}
|
|
15152
|
+
return message;
|
|
15153
|
+
},
|
|
15154
|
+
create(base) {
|
|
15155
|
+
return TenantAdminState.fromPartial(base ?? {});
|
|
15156
|
+
},
|
|
15157
|
+
fromPartial(object) {
|
|
15158
|
+
const message = createBaseTenantAdminState();
|
|
15159
|
+
message.tenantId = object.tenantId ?? "";
|
|
15160
|
+
message.isTombstoned = object.isTombstoned ?? false;
|
|
15161
|
+
message.tombstonedTime = object.tombstonedTime ?? undefined;
|
|
15162
|
+
message.purgeDoneTime = object.purgeDoneTime ?? undefined;
|
|
15163
|
+
message.tombstoneExpiryTime = object.tombstoneExpiryTime ?? undefined;
|
|
15164
|
+
return message;
|
|
15165
|
+
},
|
|
15166
|
+
};
|
|
15167
|
+
function createBaseTombstoneTenantRequest() {
|
|
15168
|
+
return { tenantId: "" };
|
|
15169
|
+
}
|
|
15170
|
+
export const TombstoneTenantRequest = {
|
|
15171
|
+
encode(message, writer = new BinaryWriter()) {
|
|
15172
|
+
if (message.tenantId !== "") {
|
|
15173
|
+
writer.uint32(10).string(message.tenantId);
|
|
15174
|
+
}
|
|
15175
|
+
return writer;
|
|
15176
|
+
},
|
|
15177
|
+
decode(input, length) {
|
|
15178
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
15179
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
15180
|
+
const message = createBaseTombstoneTenantRequest();
|
|
15181
|
+
while (reader.pos < end) {
|
|
15182
|
+
const tag = reader.uint32();
|
|
15183
|
+
switch (tag >>> 3) {
|
|
15184
|
+
case 1: {
|
|
15185
|
+
if (tag !== 10) {
|
|
15186
|
+
break;
|
|
15187
|
+
}
|
|
15188
|
+
message.tenantId = reader.string();
|
|
15189
|
+
continue;
|
|
15190
|
+
}
|
|
15191
|
+
}
|
|
15192
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
15193
|
+
break;
|
|
15194
|
+
}
|
|
15195
|
+
reader.skip(tag & 7);
|
|
15196
|
+
}
|
|
15197
|
+
return message;
|
|
15198
|
+
},
|
|
15199
|
+
create(base) {
|
|
15200
|
+
return TombstoneTenantRequest.fromPartial(base ?? {});
|
|
15201
|
+
},
|
|
15202
|
+
fromPartial(object) {
|
|
15203
|
+
const message = createBaseTombstoneTenantRequest();
|
|
15204
|
+
message.tenantId = object.tenantId ?? "";
|
|
15205
|
+
return message;
|
|
15206
|
+
},
|
|
15207
|
+
};
|
|
15208
|
+
function createBaseTombstoneTenantResponse() {
|
|
15209
|
+
return { state: undefined };
|
|
15210
|
+
}
|
|
15211
|
+
export const TombstoneTenantResponse = {
|
|
15212
|
+
encode(message, writer = new BinaryWriter()) {
|
|
15213
|
+
if (message.state !== undefined) {
|
|
15214
|
+
TenantAdminState.encode(message.state, writer.uint32(10).fork()).join();
|
|
15215
|
+
}
|
|
15216
|
+
return writer;
|
|
15217
|
+
},
|
|
15218
|
+
decode(input, length) {
|
|
15219
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
15220
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
15221
|
+
const message = createBaseTombstoneTenantResponse();
|
|
15222
|
+
while (reader.pos < end) {
|
|
15223
|
+
const tag = reader.uint32();
|
|
15224
|
+
switch (tag >>> 3) {
|
|
15225
|
+
case 1: {
|
|
15226
|
+
if (tag !== 10) {
|
|
15227
|
+
break;
|
|
15228
|
+
}
|
|
15229
|
+
message.state = TenantAdminState.decode(reader, reader.uint32());
|
|
15230
|
+
continue;
|
|
15231
|
+
}
|
|
15232
|
+
}
|
|
15233
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
15234
|
+
break;
|
|
15235
|
+
}
|
|
15236
|
+
reader.skip(tag & 7);
|
|
15237
|
+
}
|
|
15238
|
+
return message;
|
|
15239
|
+
},
|
|
15240
|
+
create(base) {
|
|
15241
|
+
return TombstoneTenantResponse.fromPartial(base ?? {});
|
|
15242
|
+
},
|
|
15243
|
+
fromPartial(object) {
|
|
15244
|
+
const message = createBaseTombstoneTenantResponse();
|
|
15245
|
+
message.state = (object.state !== undefined && object.state !== null)
|
|
15246
|
+
? TenantAdminState.fromPartial(object.state)
|
|
15247
|
+
: undefined;
|
|
15248
|
+
return message;
|
|
15249
|
+
},
|
|
15250
|
+
};
|
|
15251
|
+
function createBasePurgeTenantRequest() {
|
|
15252
|
+
return { tenantId: "" };
|
|
15253
|
+
}
|
|
15254
|
+
export const PurgeTenantRequest = {
|
|
15255
|
+
encode(message, writer = new BinaryWriter()) {
|
|
15256
|
+
if (message.tenantId !== "") {
|
|
15257
|
+
writer.uint32(10).string(message.tenantId);
|
|
15258
|
+
}
|
|
15259
|
+
return writer;
|
|
15260
|
+
},
|
|
15261
|
+
decode(input, length) {
|
|
15262
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
15263
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
15264
|
+
const message = createBasePurgeTenantRequest();
|
|
15265
|
+
while (reader.pos < end) {
|
|
15266
|
+
const tag = reader.uint32();
|
|
15267
|
+
switch (tag >>> 3) {
|
|
15268
|
+
case 1: {
|
|
15269
|
+
if (tag !== 10) {
|
|
15270
|
+
break;
|
|
15271
|
+
}
|
|
15272
|
+
message.tenantId = reader.string();
|
|
15273
|
+
continue;
|
|
15274
|
+
}
|
|
15275
|
+
}
|
|
15276
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
15277
|
+
break;
|
|
15278
|
+
}
|
|
15279
|
+
reader.skip(tag & 7);
|
|
15280
|
+
}
|
|
15281
|
+
return message;
|
|
15282
|
+
},
|
|
15283
|
+
create(base) {
|
|
15284
|
+
return PurgeTenantRequest.fromPartial(base ?? {});
|
|
15285
|
+
},
|
|
15286
|
+
fromPartial(object) {
|
|
15287
|
+
const message = createBasePurgeTenantRequest();
|
|
15288
|
+
message.tenantId = object.tenantId ?? "";
|
|
15289
|
+
return message;
|
|
15290
|
+
},
|
|
15291
|
+
};
|
|
15292
|
+
function createBasePurgeTenantResponse() {
|
|
15293
|
+
return { state: undefined, terminatedExecutions: 0, deletedExecutions: 0, deletedBlobObjects: 0, done: false };
|
|
15294
|
+
}
|
|
15295
|
+
export const PurgeTenantResponse = {
|
|
15296
|
+
encode(message, writer = new BinaryWriter()) {
|
|
15297
|
+
if (message.state !== undefined) {
|
|
15298
|
+
TenantAdminState.encode(message.state, writer.uint32(10).fork()).join();
|
|
15299
|
+
}
|
|
15300
|
+
if (message.terminatedExecutions !== 0) {
|
|
15301
|
+
writer.uint32(16).int32(message.terminatedExecutions);
|
|
15302
|
+
}
|
|
15303
|
+
if (message.deletedExecutions !== 0) {
|
|
15304
|
+
writer.uint32(24).int32(message.deletedExecutions);
|
|
15305
|
+
}
|
|
15306
|
+
if (message.deletedBlobObjects !== 0) {
|
|
15307
|
+
writer.uint32(32).int32(message.deletedBlobObjects);
|
|
15308
|
+
}
|
|
15309
|
+
if (message.done !== false) {
|
|
15310
|
+
writer.uint32(40).bool(message.done);
|
|
15311
|
+
}
|
|
15312
|
+
return writer;
|
|
15313
|
+
},
|
|
15314
|
+
decode(input, length) {
|
|
15315
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
15316
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
15317
|
+
const message = createBasePurgeTenantResponse();
|
|
15318
|
+
while (reader.pos < end) {
|
|
15319
|
+
const tag = reader.uint32();
|
|
15320
|
+
switch (tag >>> 3) {
|
|
15321
|
+
case 1: {
|
|
15322
|
+
if (tag !== 10) {
|
|
15323
|
+
break;
|
|
15324
|
+
}
|
|
15325
|
+
message.state = TenantAdminState.decode(reader, reader.uint32());
|
|
15326
|
+
continue;
|
|
15327
|
+
}
|
|
15328
|
+
case 2: {
|
|
15329
|
+
if (tag !== 16) {
|
|
15330
|
+
break;
|
|
15331
|
+
}
|
|
15332
|
+
message.terminatedExecutions = reader.int32();
|
|
15333
|
+
continue;
|
|
15334
|
+
}
|
|
15335
|
+
case 3: {
|
|
15336
|
+
if (tag !== 24) {
|
|
15337
|
+
break;
|
|
15338
|
+
}
|
|
15339
|
+
message.deletedExecutions = reader.int32();
|
|
15340
|
+
continue;
|
|
15341
|
+
}
|
|
15342
|
+
case 4: {
|
|
15343
|
+
if (tag !== 32) {
|
|
15344
|
+
break;
|
|
15345
|
+
}
|
|
15346
|
+
message.deletedBlobObjects = reader.int32();
|
|
15347
|
+
continue;
|
|
15348
|
+
}
|
|
15349
|
+
case 5: {
|
|
15350
|
+
if (tag !== 40) {
|
|
15351
|
+
break;
|
|
15352
|
+
}
|
|
15353
|
+
message.done = reader.bool();
|
|
15354
|
+
continue;
|
|
15355
|
+
}
|
|
15356
|
+
}
|
|
15357
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
15358
|
+
break;
|
|
15359
|
+
}
|
|
15360
|
+
reader.skip(tag & 7);
|
|
15361
|
+
}
|
|
15362
|
+
return message;
|
|
15363
|
+
},
|
|
15364
|
+
create(base) {
|
|
15365
|
+
return PurgeTenantResponse.fromPartial(base ?? {});
|
|
15366
|
+
},
|
|
15367
|
+
fromPartial(object) {
|
|
15368
|
+
const message = createBasePurgeTenantResponse();
|
|
15369
|
+
message.state = (object.state !== undefined && object.state !== null)
|
|
15370
|
+
? TenantAdminState.fromPartial(object.state)
|
|
15371
|
+
: undefined;
|
|
15372
|
+
message.terminatedExecutions = object.terminatedExecutions ?? 0;
|
|
15373
|
+
message.deletedExecutions = object.deletedExecutions ?? 0;
|
|
15374
|
+
message.deletedBlobObjects = object.deletedBlobObjects ?? 0;
|
|
15375
|
+
message.done = object.done ?? false;
|
|
15376
|
+
return message;
|
|
15377
|
+
},
|
|
15378
|
+
};
|
|
15379
|
+
function createBaseDescribeTenantRequest() {
|
|
15380
|
+
return { tenantId: "" };
|
|
15381
|
+
}
|
|
15382
|
+
export const DescribeTenantRequest = {
|
|
15383
|
+
encode(message, writer = new BinaryWriter()) {
|
|
15384
|
+
if (message.tenantId !== "") {
|
|
15385
|
+
writer.uint32(10).string(message.tenantId);
|
|
15386
|
+
}
|
|
15387
|
+
return writer;
|
|
15388
|
+
},
|
|
15389
|
+
decode(input, length) {
|
|
15390
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
15391
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
15392
|
+
const message = createBaseDescribeTenantRequest();
|
|
15393
|
+
while (reader.pos < end) {
|
|
15394
|
+
const tag = reader.uint32();
|
|
15395
|
+
switch (tag >>> 3) {
|
|
15396
|
+
case 1: {
|
|
15397
|
+
if (tag !== 10) {
|
|
15398
|
+
break;
|
|
15399
|
+
}
|
|
15400
|
+
message.tenantId = reader.string();
|
|
15401
|
+
continue;
|
|
15402
|
+
}
|
|
15403
|
+
}
|
|
15404
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
15405
|
+
break;
|
|
15406
|
+
}
|
|
15407
|
+
reader.skip(tag & 7);
|
|
15408
|
+
}
|
|
15409
|
+
return message;
|
|
15410
|
+
},
|
|
15411
|
+
create(base) {
|
|
15412
|
+
return DescribeTenantRequest.fromPartial(base ?? {});
|
|
15413
|
+
},
|
|
15414
|
+
fromPartial(object) {
|
|
15415
|
+
const message = createBaseDescribeTenantRequest();
|
|
15416
|
+
message.tenantId = object.tenantId ?? "";
|
|
15417
|
+
return message;
|
|
15418
|
+
},
|
|
15419
|
+
};
|
|
15420
|
+
function createBaseDescribeTenantResponse() {
|
|
15421
|
+
return { state: undefined };
|
|
15422
|
+
}
|
|
15423
|
+
export const DescribeTenantResponse = {
|
|
15424
|
+
encode(message, writer = new BinaryWriter()) {
|
|
15425
|
+
if (message.state !== undefined) {
|
|
15426
|
+
TenantAdminState.encode(message.state, writer.uint32(10).fork()).join();
|
|
15427
|
+
}
|
|
15428
|
+
return writer;
|
|
15429
|
+
},
|
|
15430
|
+
decode(input, length) {
|
|
15431
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
15432
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
15433
|
+
const message = createBaseDescribeTenantResponse();
|
|
15434
|
+
while (reader.pos < end) {
|
|
15435
|
+
const tag = reader.uint32();
|
|
15436
|
+
switch (tag >>> 3) {
|
|
15437
|
+
case 1: {
|
|
15438
|
+
if (tag !== 10) {
|
|
15439
|
+
break;
|
|
15440
|
+
}
|
|
15441
|
+
message.state = TenantAdminState.decode(reader, reader.uint32());
|
|
15442
|
+
continue;
|
|
15443
|
+
}
|
|
15444
|
+
}
|
|
15445
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
15446
|
+
break;
|
|
15447
|
+
}
|
|
15448
|
+
reader.skip(tag & 7);
|
|
15449
|
+
}
|
|
15450
|
+
return message;
|
|
15451
|
+
},
|
|
15452
|
+
create(base) {
|
|
15453
|
+
return DescribeTenantResponse.fromPartial(base ?? {});
|
|
15454
|
+
},
|
|
15455
|
+
fromPartial(object) {
|
|
15456
|
+
const message = createBaseDescribeTenantResponse();
|
|
15457
|
+
message.state = (object.state !== undefined && object.state !== null)
|
|
15458
|
+
? TenantAdminState.fromPartial(object.state)
|
|
15459
|
+
: undefined;
|
|
15460
|
+
return message;
|
|
15461
|
+
},
|
|
15462
|
+
};
|
|
14683
15463
|
export const FlowServiceService = {
|
|
14684
15464
|
/** Returns diagnostic release metadata and the Server's inclusive protocol interval. */
|
|
14685
15465
|
getServerInfo: {
|
|
@@ -14957,6 +15737,38 @@ export const WorkerServiceService = {
|
|
|
14957
15737
|
},
|
|
14958
15738
|
};
|
|
14959
15739
|
export const WorkerServiceClient = makeGenericClientConstructor(WorkerServiceService, "dex.WorkerService");
|
|
15740
|
+
export const TenantAdminServiceService = {
|
|
15741
|
+
/** Refuses every credential of the tenant within the tombstone refresh interval. Idempotent. */
|
|
15742
|
+
tombstoneTenant: {
|
|
15743
|
+
path: "/dex.TenantAdminService/TombstoneTenant",
|
|
15744
|
+
requestStream: false,
|
|
15745
|
+
responseStream: false,
|
|
15746
|
+
requestSerialize: (value) => Buffer.from(TombstoneTenantRequest.encode(value).finish()),
|
|
15747
|
+
requestDeserialize: (value) => TombstoneTenantRequest.decode(value),
|
|
15748
|
+
responseSerialize: (value) => Buffer.from(TombstoneTenantResponse.encode(value).finish()),
|
|
15749
|
+
responseDeserialize: (value) => TombstoneTenantResponse.decode(value),
|
|
15750
|
+
},
|
|
15751
|
+
/** Deletes one bounded batch of the tombstoned tenant's data. Repeat until done is true. */
|
|
15752
|
+
purgeTenant: {
|
|
15753
|
+
path: "/dex.TenantAdminService/PurgeTenant",
|
|
15754
|
+
requestStream: false,
|
|
15755
|
+
responseStream: false,
|
|
15756
|
+
requestSerialize: (value) => Buffer.from(PurgeTenantRequest.encode(value).finish()),
|
|
15757
|
+
requestDeserialize: (value) => PurgeTenantRequest.decode(value),
|
|
15758
|
+
responseSerialize: (value) => Buffer.from(PurgeTenantResponse.encode(value).finish()),
|
|
15759
|
+
responseDeserialize: (value) => PurgeTenantResponse.decode(value),
|
|
15760
|
+
},
|
|
15761
|
+
describeTenant: {
|
|
15762
|
+
path: "/dex.TenantAdminService/DescribeTenant",
|
|
15763
|
+
requestStream: false,
|
|
15764
|
+
responseStream: false,
|
|
15765
|
+
requestSerialize: (value) => Buffer.from(DescribeTenantRequest.encode(value).finish()),
|
|
15766
|
+
requestDeserialize: (value) => DescribeTenantRequest.decode(value),
|
|
15767
|
+
responseSerialize: (value) => Buffer.from(DescribeTenantResponse.encode(value).finish()),
|
|
15768
|
+
responseDeserialize: (value) => DescribeTenantResponse.decode(value),
|
|
15769
|
+
},
|
|
15770
|
+
};
|
|
15771
|
+
export const TenantAdminServiceClient = makeGenericClientConstructor(TenantAdminServiceService, "dex.TenantAdminService");
|
|
14960
15772
|
export const InternalServiceService = {
|
|
14961
15773
|
dumpFlowForContinueAsNew: {
|
|
14962
15774
|
path: "/dex.InternalService/DumpFlowForContinueAsNew",
|