@superdurable/dex 1.8.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
|
@@ -12226,6 +12226,7 @@ function createBaseInterpreterWorkflowInput() {
|
|
|
12226
12226
|
continueAsNewInput: undefined,
|
|
12227
12227
|
timeoutHandlerOptions: undefined,
|
|
12228
12228
|
tenantId: "",
|
|
12229
|
+
tenantClaims: {},
|
|
12229
12230
|
};
|
|
12230
12231
|
}
|
|
12231
12232
|
export const InterpreterWorkflowInput = {
|
|
@@ -12266,6 +12267,9 @@ export const InterpreterWorkflowInput = {
|
|
|
12266
12267
|
if (message.tenantId !== "") {
|
|
12267
12268
|
writer.uint32(98).string(message.tenantId);
|
|
12268
12269
|
}
|
|
12270
|
+
globalThis.Object.entries(message.tenantClaims).forEach(([key, value]) => {
|
|
12271
|
+
InterpreterWorkflowInput_TenantClaimsEntry.encode({ key: key, value }, writer.uint32(106).fork()).join();
|
|
12272
|
+
});
|
|
12269
12273
|
return writer;
|
|
12270
12274
|
},
|
|
12271
12275
|
decode(input, length) {
|
|
@@ -12359,6 +12363,16 @@ export const InterpreterWorkflowInput = {
|
|
|
12359
12363
|
message.tenantId = reader.string();
|
|
12360
12364
|
continue;
|
|
12361
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
|
+
}
|
|
12362
12376
|
}
|
|
12363
12377
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12364
12378
|
break;
|
|
@@ -12395,6 +12409,64 @@ export const InterpreterWorkflowInput = {
|
|
|
12395
12409
|
? FlowTimeoutHandlerOptions.fromPartial(object.timeoutHandlerOptions)
|
|
12396
12410
|
: undefined;
|
|
12397
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 ?? "";
|
|
12398
12470
|
return message;
|
|
12399
12471
|
},
|
|
12400
12472
|
};
|
|
@@ -12522,7 +12594,7 @@ export const BlobStoreCleanupWorkflowOutput = {
|
|
|
12522
12594
|
},
|
|
12523
12595
|
};
|
|
12524
12596
|
function createBaseInvokeWaitForMethodActivityInput() {
|
|
12525
|
-
return { workerTarget: undefined, request: undefined, tenantId: "" };
|
|
12597
|
+
return { workerTarget: undefined, request: undefined, tenantId: "", tenantClaims: {} };
|
|
12526
12598
|
}
|
|
12527
12599
|
export const InvokeWaitForMethodActivityInput = {
|
|
12528
12600
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -12535,6 +12607,10 @@ export const InvokeWaitForMethodActivityInput = {
|
|
|
12535
12607
|
if (message.tenantId !== "") {
|
|
12536
12608
|
writer.uint32(26).string(message.tenantId);
|
|
12537
12609
|
}
|
|
12610
|
+
globalThis.Object.entries(message.tenantClaims).forEach(([key, value]) => {
|
|
12611
|
+
InvokeWaitForMethodActivityInput_TenantClaimsEntry.encode({ key: key, value }, writer.uint32(34).fork())
|
|
12612
|
+
.join();
|
|
12613
|
+
});
|
|
12538
12614
|
return writer;
|
|
12539
12615
|
},
|
|
12540
12616
|
decode(input, length) {
|
|
@@ -12565,6 +12641,16 @@ export const InvokeWaitForMethodActivityInput = {
|
|
|
12565
12641
|
message.tenantId = reader.string();
|
|
12566
12642
|
continue;
|
|
12567
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
|
+
}
|
|
12568
12654
|
}
|
|
12569
12655
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12570
12656
|
break;
|
|
@@ -12585,6 +12671,64 @@ export const InvokeWaitForMethodActivityInput = {
|
|
|
12585
12671
|
? InvokeWaitForMethodRequest.fromPartial(object.request)
|
|
12586
12672
|
: undefined;
|
|
12587
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 ?? "";
|
|
12588
12732
|
return message;
|
|
12589
12733
|
},
|
|
12590
12734
|
};
|
|
@@ -12632,7 +12776,7 @@ export const InvokeWaitForMethodActivityOutput = {
|
|
|
12632
12776
|
},
|
|
12633
12777
|
};
|
|
12634
12778
|
function createBaseInvokeExecuteMethodActivityInput() {
|
|
12635
|
-
return { workerTarget: undefined, request: undefined, tenantId: "" };
|
|
12779
|
+
return { workerTarget: undefined, request: undefined, tenantId: "", tenantClaims: {} };
|
|
12636
12780
|
}
|
|
12637
12781
|
export const InvokeExecuteMethodActivityInput = {
|
|
12638
12782
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -12645,6 +12789,10 @@ export const InvokeExecuteMethodActivityInput = {
|
|
|
12645
12789
|
if (message.tenantId !== "") {
|
|
12646
12790
|
writer.uint32(26).string(message.tenantId);
|
|
12647
12791
|
}
|
|
12792
|
+
globalThis.Object.entries(message.tenantClaims).forEach(([key, value]) => {
|
|
12793
|
+
InvokeExecuteMethodActivityInput_TenantClaimsEntry.encode({ key: key, value }, writer.uint32(34).fork())
|
|
12794
|
+
.join();
|
|
12795
|
+
});
|
|
12648
12796
|
return writer;
|
|
12649
12797
|
},
|
|
12650
12798
|
decode(input, length) {
|
|
@@ -12675,6 +12823,16 @@ export const InvokeExecuteMethodActivityInput = {
|
|
|
12675
12823
|
message.tenantId = reader.string();
|
|
12676
12824
|
continue;
|
|
12677
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
|
+
}
|
|
12678
12836
|
}
|
|
12679
12837
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12680
12838
|
break;
|
|
@@ -12695,6 +12853,64 @@ export const InvokeExecuteMethodActivityInput = {
|
|
|
12695
12853
|
? InvokeExecuteMethodRequest.fromPartial(object.request)
|
|
12696
12854
|
: undefined;
|
|
12697
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 ?? "";
|
|
12698
12914
|
return message;
|
|
12699
12915
|
},
|
|
12700
12916
|
};
|
|
@@ -12984,7 +13200,7 @@ export const DumpFlowForContinueAsNewActivityOutput = {
|
|
|
12984
13200
|
},
|
|
12985
13201
|
};
|
|
12986
13202
|
function createBaseInvokeWorkerRPCActivityInput() {
|
|
12987
|
-
return { rpcPrep: undefined, request: undefined, tenantId: "" };
|
|
13203
|
+
return { rpcPrep: undefined, request: undefined, tenantId: "", tenantClaims: {} };
|
|
12988
13204
|
}
|
|
12989
13205
|
export const InvokeWorkerRPCActivityInput = {
|
|
12990
13206
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -12997,6 +13213,10 @@ export const InvokeWorkerRPCActivityInput = {
|
|
|
12997
13213
|
if (message.tenantId !== "") {
|
|
12998
13214
|
writer.uint32(26).string(message.tenantId);
|
|
12999
13215
|
}
|
|
13216
|
+
globalThis.Object.entries(message.tenantClaims).forEach(([key, value]) => {
|
|
13217
|
+
InvokeWorkerRPCActivityInput_TenantClaimsEntry.encode({ key: key, value }, writer.uint32(34).fork())
|
|
13218
|
+
.join();
|
|
13219
|
+
});
|
|
13000
13220
|
return writer;
|
|
13001
13221
|
},
|
|
13002
13222
|
decode(input, length) {
|
|
@@ -13027,6 +13247,16 @@ export const InvokeWorkerRPCActivityInput = {
|
|
|
13027
13247
|
message.tenantId = reader.string();
|
|
13028
13248
|
continue;
|
|
13029
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
|
+
}
|
|
13030
13260
|
}
|
|
13031
13261
|
if ((tag & 7) === 4 || tag === 0) {
|
|
13032
13262
|
break;
|
|
@@ -13047,6 +13277,64 @@ export const InvokeWorkerRPCActivityInput = {
|
|
|
13047
13277
|
? InvokeRPCRequest.fromPartial(object.request)
|
|
13048
13278
|
: undefined;
|
|
13049
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 ?? "";
|
|
13050
13338
|
return message;
|
|
13051
13339
|
},
|
|
13052
13340
|
};
|
|
@@ -13313,7 +13601,13 @@ export const SyncAttributeBatchActivityInput = {
|
|
|
13313
13601
|
},
|
|
13314
13602
|
};
|
|
13315
13603
|
function createBaseStartSubFlowActivityInput() {
|
|
13316
|
-
return {
|
|
13604
|
+
return {
|
|
13605
|
+
condition: undefined,
|
|
13606
|
+
parentFlowConfig: undefined,
|
|
13607
|
+
parentStepExecutionId: "",
|
|
13608
|
+
tenantId: "",
|
|
13609
|
+
tenantClaims: {},
|
|
13610
|
+
};
|
|
13317
13611
|
}
|
|
13318
13612
|
export const StartSubFlowActivityInput = {
|
|
13319
13613
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -13329,6 +13623,9 @@ export const StartSubFlowActivityInput = {
|
|
|
13329
13623
|
if (message.tenantId !== "") {
|
|
13330
13624
|
writer.uint32(34).string(message.tenantId);
|
|
13331
13625
|
}
|
|
13626
|
+
globalThis.Object.entries(message.tenantClaims).forEach(([key, value]) => {
|
|
13627
|
+
StartSubFlowActivityInput_TenantClaimsEntry.encode({ key: key, value }, writer.uint32(42).fork()).join();
|
|
13628
|
+
});
|
|
13332
13629
|
return writer;
|
|
13333
13630
|
},
|
|
13334
13631
|
decode(input, length) {
|
|
@@ -13366,6 +13663,16 @@ export const StartSubFlowActivityInput = {
|
|
|
13366
13663
|
message.tenantId = reader.string();
|
|
13367
13664
|
continue;
|
|
13368
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
|
+
}
|
|
13369
13676
|
}
|
|
13370
13677
|
if ((tag & 7) === 4 || tag === 0) {
|
|
13371
13678
|
break;
|
|
@@ -13387,23 +13694,32 @@ export const StartSubFlowActivityInput = {
|
|
|
13387
13694
|
: undefined;
|
|
13388
13695
|
message.parentStepExecutionId = object.parentStepExecutionId ?? "";
|
|
13389
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
|
+
}, {});
|
|
13390
13703
|
return message;
|
|
13391
13704
|
},
|
|
13392
13705
|
};
|
|
13393
|
-
function
|
|
13394
|
-
return {
|
|
13706
|
+
function createBaseStartSubFlowActivityInput_TenantClaimsEntry() {
|
|
13707
|
+
return { key: "", value: "" };
|
|
13395
13708
|
}
|
|
13396
|
-
export const
|
|
13709
|
+
export const StartSubFlowActivityInput_TenantClaimsEntry = {
|
|
13397
13710
|
encode(message, writer = new BinaryWriter()) {
|
|
13398
|
-
if (message.
|
|
13399
|
-
|
|
13711
|
+
if (message.key !== "") {
|
|
13712
|
+
writer.uint32(10).string(message.key);
|
|
13713
|
+
}
|
|
13714
|
+
if (message.value !== "") {
|
|
13715
|
+
writer.uint32(18).string(message.value);
|
|
13400
13716
|
}
|
|
13401
13717
|
return writer;
|
|
13402
13718
|
},
|
|
13403
13719
|
decode(input, length) {
|
|
13404
13720
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
13405
13721
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13406
|
-
const message =
|
|
13722
|
+
const message = createBaseStartSubFlowActivityInput_TenantClaimsEntry();
|
|
13407
13723
|
while (reader.pos < end) {
|
|
13408
13724
|
const tag = reader.uint32();
|
|
13409
13725
|
switch (tag >>> 3) {
|
|
@@ -13411,7 +13727,14 @@ export const StartSubFlowActivityOutput = {
|
|
|
13411
13727
|
if (tag !== 10) {
|
|
13412
13728
|
break;
|
|
13413
13729
|
}
|
|
13414
|
-
message.
|
|
13730
|
+
message.key = reader.string();
|
|
13731
|
+
continue;
|
|
13732
|
+
}
|
|
13733
|
+
case 2: {
|
|
13734
|
+
if (tag !== 18) {
|
|
13735
|
+
break;
|
|
13736
|
+
}
|
|
13737
|
+
message.value = reader.string();
|
|
13415
13738
|
continue;
|
|
13416
13739
|
}
|
|
13417
13740
|
}
|
|
@@ -13423,7 +13746,49 @@ export const StartSubFlowActivityOutput = {
|
|
|
13423
13746
|
return message;
|
|
13424
13747
|
},
|
|
13425
13748
|
create(base) {
|
|
13426
|
-
return
|
|
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 ?? "";
|
|
13755
|
+
return message;
|
|
13756
|
+
},
|
|
13757
|
+
};
|
|
13758
|
+
function createBaseStartSubFlowActivityOutput() {
|
|
13759
|
+
return { immediateFlowResult: undefined };
|
|
13760
|
+
}
|
|
13761
|
+
export const StartSubFlowActivityOutput = {
|
|
13762
|
+
encode(message, writer = new BinaryWriter()) {
|
|
13763
|
+
if (message.immediateFlowResult !== undefined) {
|
|
13764
|
+
FlowResult.encode(message.immediateFlowResult, writer.uint32(10).fork()).join();
|
|
13765
|
+
}
|
|
13766
|
+
return writer;
|
|
13767
|
+
},
|
|
13768
|
+
decode(input, length) {
|
|
13769
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
13770
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13771
|
+
const message = createBaseStartSubFlowActivityOutput();
|
|
13772
|
+
while (reader.pos < end) {
|
|
13773
|
+
const tag = reader.uint32();
|
|
13774
|
+
switch (tag >>> 3) {
|
|
13775
|
+
case 1: {
|
|
13776
|
+
if (tag !== 10) {
|
|
13777
|
+
break;
|
|
13778
|
+
}
|
|
13779
|
+
message.immediateFlowResult = FlowResult.decode(reader, reader.uint32());
|
|
13780
|
+
continue;
|
|
13781
|
+
}
|
|
13782
|
+
}
|
|
13783
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13784
|
+
break;
|
|
13785
|
+
}
|
|
13786
|
+
reader.skip(tag & 7);
|
|
13787
|
+
}
|
|
13788
|
+
return message;
|
|
13789
|
+
},
|
|
13790
|
+
create(base) {
|
|
13791
|
+
return StartSubFlowActivityOutput.fromPartial(base ?? {});
|
|
13427
13792
|
},
|
|
13428
13793
|
fromPartial(object) {
|
|
13429
13794
|
const message = createBaseStartSubFlowActivityOutput();
|
|
@@ -14708,6 +15073,393 @@ export const StepExecutionNumbers = {
|
|
|
14708
15073
|
return message;
|
|
14709
15074
|
},
|
|
14710
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
|
+
};
|
|
14711
15463
|
export const FlowServiceService = {
|
|
14712
15464
|
/** Returns diagnostic release metadata and the Server's inclusive protocol interval. */
|
|
14713
15465
|
getServerInfo: {
|
|
@@ -14985,6 +15737,38 @@ export const WorkerServiceService = {
|
|
|
14985
15737
|
},
|
|
14986
15738
|
};
|
|
14987
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");
|
|
14988
15772
|
export const InternalServiceService = {
|
|
14989
15773
|
dumpFlowForContinueAsNew: {
|
|
14990
15774
|
path: "/dex.InternalService/DumpFlowForContinueAsNew",
|