modal 0.7.2 → 0.7.3-dev.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 +51 -31
- package/dist/index.cjs +672 -5
- package/dist/index.d.cts +93 -0
- package/dist/index.d.ts +93 -0
- package/dist/index.js +672 -5
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -12607,6 +12607,125 @@ var DictEntry = {
|
|
|
12607
12607
|
return message;
|
|
12608
12608
|
}
|
|
12609
12609
|
};
|
|
12610
|
+
function createBaseDictGetByIdRequest() {
|
|
12611
|
+
return { dictId: "" };
|
|
12612
|
+
}
|
|
12613
|
+
var DictGetByIdRequest = {
|
|
12614
|
+
encode(message, writer = new BinaryWriter()) {
|
|
12615
|
+
if (message.dictId !== "") {
|
|
12616
|
+
writer.uint32(10).string(message.dictId);
|
|
12617
|
+
}
|
|
12618
|
+
return writer;
|
|
12619
|
+
},
|
|
12620
|
+
decode(input, length) {
|
|
12621
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
12622
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
12623
|
+
const message = createBaseDictGetByIdRequest();
|
|
12624
|
+
while (reader.pos < end) {
|
|
12625
|
+
const tag = reader.uint32();
|
|
12626
|
+
switch (tag >>> 3) {
|
|
12627
|
+
case 1: {
|
|
12628
|
+
if (tag !== 10) {
|
|
12629
|
+
break;
|
|
12630
|
+
}
|
|
12631
|
+
message.dictId = reader.string();
|
|
12632
|
+
continue;
|
|
12633
|
+
}
|
|
12634
|
+
}
|
|
12635
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
12636
|
+
break;
|
|
12637
|
+
}
|
|
12638
|
+
reader.skip(tag & 7);
|
|
12639
|
+
}
|
|
12640
|
+
return message;
|
|
12641
|
+
},
|
|
12642
|
+
fromJSON(object) {
|
|
12643
|
+
return { dictId: isSet4(object.dictId) ? globalThis.String(object.dictId) : "" };
|
|
12644
|
+
},
|
|
12645
|
+
toJSON(message) {
|
|
12646
|
+
const obj = {};
|
|
12647
|
+
if (message.dictId !== "") {
|
|
12648
|
+
obj.dictId = message.dictId;
|
|
12649
|
+
}
|
|
12650
|
+
return obj;
|
|
12651
|
+
},
|
|
12652
|
+
create(base) {
|
|
12653
|
+
return DictGetByIdRequest.fromPartial(base ?? {});
|
|
12654
|
+
},
|
|
12655
|
+
fromPartial(object) {
|
|
12656
|
+
const message = createBaseDictGetByIdRequest();
|
|
12657
|
+
message.dictId = object.dictId ?? "";
|
|
12658
|
+
return message;
|
|
12659
|
+
}
|
|
12660
|
+
};
|
|
12661
|
+
function createBaseDictGetByIdResponse() {
|
|
12662
|
+
return { dictId: "", metadata: void 0 };
|
|
12663
|
+
}
|
|
12664
|
+
var DictGetByIdResponse = {
|
|
12665
|
+
encode(message, writer = new BinaryWriter()) {
|
|
12666
|
+
if (message.dictId !== "") {
|
|
12667
|
+
writer.uint32(10).string(message.dictId);
|
|
12668
|
+
}
|
|
12669
|
+
if (message.metadata !== void 0) {
|
|
12670
|
+
DictMetadata.encode(message.metadata, writer.uint32(18).fork()).join();
|
|
12671
|
+
}
|
|
12672
|
+
return writer;
|
|
12673
|
+
},
|
|
12674
|
+
decode(input, length) {
|
|
12675
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
12676
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
12677
|
+
const message = createBaseDictGetByIdResponse();
|
|
12678
|
+
while (reader.pos < end) {
|
|
12679
|
+
const tag = reader.uint32();
|
|
12680
|
+
switch (tag >>> 3) {
|
|
12681
|
+
case 1: {
|
|
12682
|
+
if (tag !== 10) {
|
|
12683
|
+
break;
|
|
12684
|
+
}
|
|
12685
|
+
message.dictId = reader.string();
|
|
12686
|
+
continue;
|
|
12687
|
+
}
|
|
12688
|
+
case 2: {
|
|
12689
|
+
if (tag !== 18) {
|
|
12690
|
+
break;
|
|
12691
|
+
}
|
|
12692
|
+
message.metadata = DictMetadata.decode(reader, reader.uint32());
|
|
12693
|
+
continue;
|
|
12694
|
+
}
|
|
12695
|
+
}
|
|
12696
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
12697
|
+
break;
|
|
12698
|
+
}
|
|
12699
|
+
reader.skip(tag & 7);
|
|
12700
|
+
}
|
|
12701
|
+
return message;
|
|
12702
|
+
},
|
|
12703
|
+
fromJSON(object) {
|
|
12704
|
+
return {
|
|
12705
|
+
dictId: isSet4(object.dictId) ? globalThis.String(object.dictId) : "",
|
|
12706
|
+
metadata: isSet4(object.metadata) ? DictMetadata.fromJSON(object.metadata) : void 0
|
|
12707
|
+
};
|
|
12708
|
+
},
|
|
12709
|
+
toJSON(message) {
|
|
12710
|
+
const obj = {};
|
|
12711
|
+
if (message.dictId !== "") {
|
|
12712
|
+
obj.dictId = message.dictId;
|
|
12713
|
+
}
|
|
12714
|
+
if (message.metadata !== void 0) {
|
|
12715
|
+
obj.metadata = DictMetadata.toJSON(message.metadata);
|
|
12716
|
+
}
|
|
12717
|
+
return obj;
|
|
12718
|
+
},
|
|
12719
|
+
create(base) {
|
|
12720
|
+
return DictGetByIdResponse.fromPartial(base ?? {});
|
|
12721
|
+
},
|
|
12722
|
+
fromPartial(object) {
|
|
12723
|
+
const message = createBaseDictGetByIdResponse();
|
|
12724
|
+
message.dictId = object.dictId ?? "";
|
|
12725
|
+
message.metadata = object.metadata !== void 0 && object.metadata !== null ? DictMetadata.fromPartial(object.metadata) : void 0;
|
|
12726
|
+
return message;
|
|
12727
|
+
}
|
|
12728
|
+
};
|
|
12610
12729
|
function createBaseDictGetOrCreateRequest() {
|
|
12611
12730
|
return { deploymentName: "", environmentName: "", objectCreationType: 0, data: [] };
|
|
12612
12731
|
}
|
|
@@ -29392,6 +29511,125 @@ var QueueDeleteRequest = {
|
|
|
29392
29511
|
return message;
|
|
29393
29512
|
}
|
|
29394
29513
|
};
|
|
29514
|
+
function createBaseQueueGetByIdRequest() {
|
|
29515
|
+
return { queueId: "" };
|
|
29516
|
+
}
|
|
29517
|
+
var QueueGetByIdRequest = {
|
|
29518
|
+
encode(message, writer = new BinaryWriter()) {
|
|
29519
|
+
if (message.queueId !== "") {
|
|
29520
|
+
writer.uint32(10).string(message.queueId);
|
|
29521
|
+
}
|
|
29522
|
+
return writer;
|
|
29523
|
+
},
|
|
29524
|
+
decode(input, length) {
|
|
29525
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
29526
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
29527
|
+
const message = createBaseQueueGetByIdRequest();
|
|
29528
|
+
while (reader.pos < end) {
|
|
29529
|
+
const tag = reader.uint32();
|
|
29530
|
+
switch (tag >>> 3) {
|
|
29531
|
+
case 1: {
|
|
29532
|
+
if (tag !== 10) {
|
|
29533
|
+
break;
|
|
29534
|
+
}
|
|
29535
|
+
message.queueId = reader.string();
|
|
29536
|
+
continue;
|
|
29537
|
+
}
|
|
29538
|
+
}
|
|
29539
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
29540
|
+
break;
|
|
29541
|
+
}
|
|
29542
|
+
reader.skip(tag & 7);
|
|
29543
|
+
}
|
|
29544
|
+
return message;
|
|
29545
|
+
},
|
|
29546
|
+
fromJSON(object) {
|
|
29547
|
+
return { queueId: isSet4(object.queueId) ? globalThis.String(object.queueId) : "" };
|
|
29548
|
+
},
|
|
29549
|
+
toJSON(message) {
|
|
29550
|
+
const obj = {};
|
|
29551
|
+
if (message.queueId !== "") {
|
|
29552
|
+
obj.queueId = message.queueId;
|
|
29553
|
+
}
|
|
29554
|
+
return obj;
|
|
29555
|
+
},
|
|
29556
|
+
create(base) {
|
|
29557
|
+
return QueueGetByIdRequest.fromPartial(base ?? {});
|
|
29558
|
+
},
|
|
29559
|
+
fromPartial(object) {
|
|
29560
|
+
const message = createBaseQueueGetByIdRequest();
|
|
29561
|
+
message.queueId = object.queueId ?? "";
|
|
29562
|
+
return message;
|
|
29563
|
+
}
|
|
29564
|
+
};
|
|
29565
|
+
function createBaseQueueGetByIdResponse() {
|
|
29566
|
+
return { queueId: "", metadata: void 0 };
|
|
29567
|
+
}
|
|
29568
|
+
var QueueGetByIdResponse = {
|
|
29569
|
+
encode(message, writer = new BinaryWriter()) {
|
|
29570
|
+
if (message.queueId !== "") {
|
|
29571
|
+
writer.uint32(10).string(message.queueId);
|
|
29572
|
+
}
|
|
29573
|
+
if (message.metadata !== void 0) {
|
|
29574
|
+
QueueMetadata.encode(message.metadata, writer.uint32(18).fork()).join();
|
|
29575
|
+
}
|
|
29576
|
+
return writer;
|
|
29577
|
+
},
|
|
29578
|
+
decode(input, length) {
|
|
29579
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
29580
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
29581
|
+
const message = createBaseQueueGetByIdResponse();
|
|
29582
|
+
while (reader.pos < end) {
|
|
29583
|
+
const tag = reader.uint32();
|
|
29584
|
+
switch (tag >>> 3) {
|
|
29585
|
+
case 1: {
|
|
29586
|
+
if (tag !== 10) {
|
|
29587
|
+
break;
|
|
29588
|
+
}
|
|
29589
|
+
message.queueId = reader.string();
|
|
29590
|
+
continue;
|
|
29591
|
+
}
|
|
29592
|
+
case 2: {
|
|
29593
|
+
if (tag !== 18) {
|
|
29594
|
+
break;
|
|
29595
|
+
}
|
|
29596
|
+
message.metadata = QueueMetadata.decode(reader, reader.uint32());
|
|
29597
|
+
continue;
|
|
29598
|
+
}
|
|
29599
|
+
}
|
|
29600
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
29601
|
+
break;
|
|
29602
|
+
}
|
|
29603
|
+
reader.skip(tag & 7);
|
|
29604
|
+
}
|
|
29605
|
+
return message;
|
|
29606
|
+
},
|
|
29607
|
+
fromJSON(object) {
|
|
29608
|
+
return {
|
|
29609
|
+
queueId: isSet4(object.queueId) ? globalThis.String(object.queueId) : "",
|
|
29610
|
+
metadata: isSet4(object.metadata) ? QueueMetadata.fromJSON(object.metadata) : void 0
|
|
29611
|
+
};
|
|
29612
|
+
},
|
|
29613
|
+
toJSON(message) {
|
|
29614
|
+
const obj = {};
|
|
29615
|
+
if (message.queueId !== "") {
|
|
29616
|
+
obj.queueId = message.queueId;
|
|
29617
|
+
}
|
|
29618
|
+
if (message.metadata !== void 0) {
|
|
29619
|
+
obj.metadata = QueueMetadata.toJSON(message.metadata);
|
|
29620
|
+
}
|
|
29621
|
+
return obj;
|
|
29622
|
+
},
|
|
29623
|
+
create(base) {
|
|
29624
|
+
return QueueGetByIdResponse.fromPartial(base ?? {});
|
|
29625
|
+
},
|
|
29626
|
+
fromPartial(object) {
|
|
29627
|
+
const message = createBaseQueueGetByIdResponse();
|
|
29628
|
+
message.queueId = object.queueId ?? "";
|
|
29629
|
+
message.metadata = object.metadata !== void 0 && object.metadata !== null ? QueueMetadata.fromPartial(object.metadata) : void 0;
|
|
29630
|
+
return message;
|
|
29631
|
+
}
|
|
29632
|
+
};
|
|
29395
29633
|
function createBaseQueueGetOrCreateRequest() {
|
|
29396
29634
|
return { deploymentName: "", environmentName: "", objectCreationType: 0 };
|
|
29397
29635
|
}
|
|
@@ -31385,7 +31623,8 @@ function createBaseSandbox() {
|
|
|
31385
31623
|
idleTimeoutSecs: void 0,
|
|
31386
31624
|
directSandboxCommandsEnabled: false,
|
|
31387
31625
|
RestoreInstanceType: "",
|
|
31388
|
-
customDomain: ""
|
|
31626
|
+
customDomain: "",
|
|
31627
|
+
includeOidcIdentityToken: false
|
|
31389
31628
|
};
|
|
31390
31629
|
}
|
|
31391
31630
|
var Sandbox = {
|
|
@@ -31492,6 +31731,9 @@ var Sandbox = {
|
|
|
31492
31731
|
if (message.customDomain !== "") {
|
|
31493
31732
|
writer.uint32(290).string(message.customDomain);
|
|
31494
31733
|
}
|
|
31734
|
+
if (message.includeOidcIdentityToken !== false) {
|
|
31735
|
+
writer.uint32(296).bool(message.includeOidcIdentityToken);
|
|
31736
|
+
}
|
|
31495
31737
|
return writer;
|
|
31496
31738
|
},
|
|
31497
31739
|
decode(input, length) {
|
|
@@ -31742,6 +31984,13 @@ var Sandbox = {
|
|
|
31742
31984
|
message.customDomain = reader.string();
|
|
31743
31985
|
continue;
|
|
31744
31986
|
}
|
|
31987
|
+
case 37: {
|
|
31988
|
+
if (tag !== 296) {
|
|
31989
|
+
break;
|
|
31990
|
+
}
|
|
31991
|
+
message.includeOidcIdentityToken = reader.bool();
|
|
31992
|
+
continue;
|
|
31993
|
+
}
|
|
31745
31994
|
}
|
|
31746
31995
|
if ((tag & 7) === 4 || tag === 0) {
|
|
31747
31996
|
break;
|
|
@@ -31788,7 +32037,8 @@ var Sandbox = {
|
|
|
31788
32037
|
idleTimeoutSecs: isSet4(object.idleTimeoutSecs) ? globalThis.Number(object.idleTimeoutSecs) : void 0,
|
|
31789
32038
|
directSandboxCommandsEnabled: isSet4(object.directSandboxCommandsEnabled) ? globalThis.Boolean(object.directSandboxCommandsEnabled) : false,
|
|
31790
32039
|
RestoreInstanceType: isSet4(object.RestoreInstanceType) ? globalThis.String(object.RestoreInstanceType) : "",
|
|
31791
|
-
customDomain: isSet4(object.customDomain) ? globalThis.String(object.customDomain) : ""
|
|
32040
|
+
customDomain: isSet4(object.customDomain) ? globalThis.String(object.customDomain) : "",
|
|
32041
|
+
includeOidcIdentityToken: isSet4(object.includeOidcIdentityToken) ? globalThis.Boolean(object.includeOidcIdentityToken) : false
|
|
31792
32042
|
};
|
|
31793
32043
|
},
|
|
31794
32044
|
toJSON(message) {
|
|
@@ -31901,6 +32151,9 @@ var Sandbox = {
|
|
|
31901
32151
|
if (message.customDomain !== "") {
|
|
31902
32152
|
obj.customDomain = message.customDomain;
|
|
31903
32153
|
}
|
|
32154
|
+
if (message.includeOidcIdentityToken !== false) {
|
|
32155
|
+
obj.includeOidcIdentityToken = message.includeOidcIdentityToken;
|
|
32156
|
+
}
|
|
31904
32157
|
return obj;
|
|
31905
32158
|
},
|
|
31906
32159
|
create(base) {
|
|
@@ -31950,6 +32203,7 @@ var Sandbox = {
|
|
|
31950
32203
|
message.directSandboxCommandsEnabled = object.directSandboxCommandsEnabled ?? false;
|
|
31951
32204
|
message.RestoreInstanceType = object.RestoreInstanceType ?? "";
|
|
31952
32205
|
message.customDomain = object.customDomain ?? "";
|
|
32206
|
+
message.includeOidcIdentityToken = object.includeOidcIdentityToken ?? false;
|
|
31953
32207
|
return message;
|
|
31954
32208
|
}
|
|
31955
32209
|
};
|
|
@@ -35836,6 +36090,142 @@ var SecretMetadata = {
|
|
|
35836
36090
|
return message;
|
|
35837
36091
|
}
|
|
35838
36092
|
};
|
|
36093
|
+
function createBaseSecretUpdateRequest() {
|
|
36094
|
+
return { secretId: "", updates: [] };
|
|
36095
|
+
}
|
|
36096
|
+
var SecretUpdateRequest = {
|
|
36097
|
+
encode(message, writer = new BinaryWriter()) {
|
|
36098
|
+
if (message.secretId !== "") {
|
|
36099
|
+
writer.uint32(10).string(message.secretId);
|
|
36100
|
+
}
|
|
36101
|
+
for (const v of message.updates) {
|
|
36102
|
+
SecretUpdateRequest_Update.encode(v, writer.uint32(18).fork()).join();
|
|
36103
|
+
}
|
|
36104
|
+
return writer;
|
|
36105
|
+
},
|
|
36106
|
+
decode(input, length) {
|
|
36107
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
36108
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
36109
|
+
const message = createBaseSecretUpdateRequest();
|
|
36110
|
+
while (reader.pos < end) {
|
|
36111
|
+
const tag = reader.uint32();
|
|
36112
|
+
switch (tag >>> 3) {
|
|
36113
|
+
case 1: {
|
|
36114
|
+
if (tag !== 10) {
|
|
36115
|
+
break;
|
|
36116
|
+
}
|
|
36117
|
+
message.secretId = reader.string();
|
|
36118
|
+
continue;
|
|
36119
|
+
}
|
|
36120
|
+
case 2: {
|
|
36121
|
+
if (tag !== 18) {
|
|
36122
|
+
break;
|
|
36123
|
+
}
|
|
36124
|
+
message.updates.push(SecretUpdateRequest_Update.decode(reader, reader.uint32()));
|
|
36125
|
+
continue;
|
|
36126
|
+
}
|
|
36127
|
+
}
|
|
36128
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
36129
|
+
break;
|
|
36130
|
+
}
|
|
36131
|
+
reader.skip(tag & 7);
|
|
36132
|
+
}
|
|
36133
|
+
return message;
|
|
36134
|
+
},
|
|
36135
|
+
fromJSON(object) {
|
|
36136
|
+
return {
|
|
36137
|
+
secretId: isSet4(object.secretId) ? globalThis.String(object.secretId) : "",
|
|
36138
|
+
updates: globalThis.Array.isArray(object?.updates) ? object.updates.map((e) => SecretUpdateRequest_Update.fromJSON(e)) : []
|
|
36139
|
+
};
|
|
36140
|
+
},
|
|
36141
|
+
toJSON(message) {
|
|
36142
|
+
const obj = {};
|
|
36143
|
+
if (message.secretId !== "") {
|
|
36144
|
+
obj.secretId = message.secretId;
|
|
36145
|
+
}
|
|
36146
|
+
if (message.updates?.length) {
|
|
36147
|
+
obj.updates = message.updates.map((e) => SecretUpdateRequest_Update.toJSON(e));
|
|
36148
|
+
}
|
|
36149
|
+
return obj;
|
|
36150
|
+
},
|
|
36151
|
+
create(base) {
|
|
36152
|
+
return SecretUpdateRequest.fromPartial(base ?? {});
|
|
36153
|
+
},
|
|
36154
|
+
fromPartial(object) {
|
|
36155
|
+
const message = createBaseSecretUpdateRequest();
|
|
36156
|
+
message.secretId = object.secretId ?? "";
|
|
36157
|
+
message.updates = object.updates?.map((e) => SecretUpdateRequest_Update.fromPartial(e)) || [];
|
|
36158
|
+
return message;
|
|
36159
|
+
}
|
|
36160
|
+
};
|
|
36161
|
+
function createBaseSecretUpdateRequest_Update() {
|
|
36162
|
+
return { key: "", value: void 0 };
|
|
36163
|
+
}
|
|
36164
|
+
var SecretUpdateRequest_Update = {
|
|
36165
|
+
encode(message, writer = new BinaryWriter()) {
|
|
36166
|
+
if (message.key !== "") {
|
|
36167
|
+
writer.uint32(10).string(message.key);
|
|
36168
|
+
}
|
|
36169
|
+
if (message.value !== void 0) {
|
|
36170
|
+
writer.uint32(18).string(message.value);
|
|
36171
|
+
}
|
|
36172
|
+
return writer;
|
|
36173
|
+
},
|
|
36174
|
+
decode(input, length) {
|
|
36175
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
36176
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
36177
|
+
const message = createBaseSecretUpdateRequest_Update();
|
|
36178
|
+
while (reader.pos < end) {
|
|
36179
|
+
const tag = reader.uint32();
|
|
36180
|
+
switch (tag >>> 3) {
|
|
36181
|
+
case 1: {
|
|
36182
|
+
if (tag !== 10) {
|
|
36183
|
+
break;
|
|
36184
|
+
}
|
|
36185
|
+
message.key = reader.string();
|
|
36186
|
+
continue;
|
|
36187
|
+
}
|
|
36188
|
+
case 2: {
|
|
36189
|
+
if (tag !== 18) {
|
|
36190
|
+
break;
|
|
36191
|
+
}
|
|
36192
|
+
message.value = reader.string();
|
|
36193
|
+
continue;
|
|
36194
|
+
}
|
|
36195
|
+
}
|
|
36196
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
36197
|
+
break;
|
|
36198
|
+
}
|
|
36199
|
+
reader.skip(tag & 7);
|
|
36200
|
+
}
|
|
36201
|
+
return message;
|
|
36202
|
+
},
|
|
36203
|
+
fromJSON(object) {
|
|
36204
|
+
return {
|
|
36205
|
+
key: isSet4(object.key) ? globalThis.String(object.key) : "",
|
|
36206
|
+
value: isSet4(object.value) ? globalThis.String(object.value) : void 0
|
|
36207
|
+
};
|
|
36208
|
+
},
|
|
36209
|
+
toJSON(message) {
|
|
36210
|
+
const obj = {};
|
|
36211
|
+
if (message.key !== "") {
|
|
36212
|
+
obj.key = message.key;
|
|
36213
|
+
}
|
|
36214
|
+
if (message.value !== void 0) {
|
|
36215
|
+
obj.value = message.value;
|
|
36216
|
+
}
|
|
36217
|
+
return obj;
|
|
36218
|
+
},
|
|
36219
|
+
create(base) {
|
|
36220
|
+
return SecretUpdateRequest_Update.fromPartial(base ?? {});
|
|
36221
|
+
},
|
|
36222
|
+
fromPartial(object) {
|
|
36223
|
+
const message = createBaseSecretUpdateRequest_Update();
|
|
36224
|
+
message.key = object.key ?? "";
|
|
36225
|
+
message.value = object.value ?? void 0;
|
|
36226
|
+
return message;
|
|
36227
|
+
}
|
|
36228
|
+
};
|
|
35839
36229
|
function createBaseServiceUserIdentity() {
|
|
35840
36230
|
return { serviceUserId: "", serviceUserName: "", createdBy: void 0 };
|
|
35841
36231
|
}
|
|
@@ -38831,7 +39221,8 @@ function createBaseTokenInfoGetResponse() {
|
|
|
38831
39221
|
userIdentity: void 0,
|
|
38832
39222
|
serviceUserIdentity: void 0,
|
|
38833
39223
|
createdAt: void 0,
|
|
38834
|
-
expiresAt: void 0
|
|
39224
|
+
expiresAt: void 0,
|
|
39225
|
+
tokenName: ""
|
|
38835
39226
|
};
|
|
38836
39227
|
}
|
|
38837
39228
|
var TokenInfoGetResponse = {
|
|
@@ -38857,6 +39248,9 @@ var TokenInfoGetResponse = {
|
|
|
38857
39248
|
if (message.expiresAt !== void 0) {
|
|
38858
39249
|
Timestamp.encode(toTimestamp(message.expiresAt), writer.uint32(58).fork()).join();
|
|
38859
39250
|
}
|
|
39251
|
+
if (message.tokenName !== "") {
|
|
39252
|
+
writer.uint32(66).string(message.tokenName);
|
|
39253
|
+
}
|
|
38860
39254
|
return writer;
|
|
38861
39255
|
},
|
|
38862
39256
|
decode(input, length) {
|
|
@@ -38915,6 +39309,13 @@ var TokenInfoGetResponse = {
|
|
|
38915
39309
|
message.expiresAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
38916
39310
|
continue;
|
|
38917
39311
|
}
|
|
39312
|
+
case 8: {
|
|
39313
|
+
if (tag !== 66) {
|
|
39314
|
+
break;
|
|
39315
|
+
}
|
|
39316
|
+
message.tokenName = reader.string();
|
|
39317
|
+
continue;
|
|
39318
|
+
}
|
|
38918
39319
|
}
|
|
38919
39320
|
if ((tag & 7) === 4 || tag === 0) {
|
|
38920
39321
|
break;
|
|
@@ -38931,7 +39332,8 @@ var TokenInfoGetResponse = {
|
|
|
38931
39332
|
userIdentity: isSet4(object.userIdentity) ? UserIdentity.fromJSON(object.userIdentity) : void 0,
|
|
38932
39333
|
serviceUserIdentity: isSet4(object.serviceUserIdentity) ? ServiceUserIdentity.fromJSON(object.serviceUserIdentity) : void 0,
|
|
38933
39334
|
createdAt: isSet4(object.createdAt) ? fromJsonTimestamp(object.createdAt) : void 0,
|
|
38934
|
-
expiresAt: isSet4(object.expiresAt) ? fromJsonTimestamp(object.expiresAt) : void 0
|
|
39335
|
+
expiresAt: isSet4(object.expiresAt) ? fromJsonTimestamp(object.expiresAt) : void 0,
|
|
39336
|
+
tokenName: isSet4(object.tokenName) ? globalThis.String(object.tokenName) : ""
|
|
38935
39337
|
};
|
|
38936
39338
|
},
|
|
38937
39339
|
toJSON(message) {
|
|
@@ -38957,6 +39359,9 @@ var TokenInfoGetResponse = {
|
|
|
38957
39359
|
if (message.expiresAt !== void 0) {
|
|
38958
39360
|
obj.expiresAt = message.expiresAt.toISOString();
|
|
38959
39361
|
}
|
|
39362
|
+
if (message.tokenName !== "") {
|
|
39363
|
+
obj.tokenName = message.tokenName;
|
|
39364
|
+
}
|
|
38960
39365
|
return obj;
|
|
38961
39366
|
},
|
|
38962
39367
|
create(base) {
|
|
@@ -38971,6 +39376,7 @@ var TokenInfoGetResponse = {
|
|
|
38971
39376
|
message.serviceUserIdentity = object.serviceUserIdentity !== void 0 && object.serviceUserIdentity !== null ? ServiceUserIdentity.fromPartial(object.serviceUserIdentity) : void 0;
|
|
38972
39377
|
message.createdAt = object.createdAt ?? void 0;
|
|
38973
39378
|
message.expiresAt = object.expiresAt ?? void 0;
|
|
39379
|
+
message.tokenName = object.tokenName ?? "";
|
|
38974
39380
|
return message;
|
|
38975
39381
|
}
|
|
38976
39382
|
};
|
|
@@ -39855,6 +40261,125 @@ var VolumeDeleteRequest = {
|
|
|
39855
40261
|
return message;
|
|
39856
40262
|
}
|
|
39857
40263
|
};
|
|
40264
|
+
function createBaseVolumeGetByIdRequest() {
|
|
40265
|
+
return { volumeId: "" };
|
|
40266
|
+
}
|
|
40267
|
+
var VolumeGetByIdRequest = {
|
|
40268
|
+
encode(message, writer = new BinaryWriter()) {
|
|
40269
|
+
if (message.volumeId !== "") {
|
|
40270
|
+
writer.uint32(10).string(message.volumeId);
|
|
40271
|
+
}
|
|
40272
|
+
return writer;
|
|
40273
|
+
},
|
|
40274
|
+
decode(input, length) {
|
|
40275
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
40276
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
40277
|
+
const message = createBaseVolumeGetByIdRequest();
|
|
40278
|
+
while (reader.pos < end) {
|
|
40279
|
+
const tag = reader.uint32();
|
|
40280
|
+
switch (tag >>> 3) {
|
|
40281
|
+
case 1: {
|
|
40282
|
+
if (tag !== 10) {
|
|
40283
|
+
break;
|
|
40284
|
+
}
|
|
40285
|
+
message.volumeId = reader.string();
|
|
40286
|
+
continue;
|
|
40287
|
+
}
|
|
40288
|
+
}
|
|
40289
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
40290
|
+
break;
|
|
40291
|
+
}
|
|
40292
|
+
reader.skip(tag & 7);
|
|
40293
|
+
}
|
|
40294
|
+
return message;
|
|
40295
|
+
},
|
|
40296
|
+
fromJSON(object) {
|
|
40297
|
+
return { volumeId: isSet4(object.volumeId) ? globalThis.String(object.volumeId) : "" };
|
|
40298
|
+
},
|
|
40299
|
+
toJSON(message) {
|
|
40300
|
+
const obj = {};
|
|
40301
|
+
if (message.volumeId !== "") {
|
|
40302
|
+
obj.volumeId = message.volumeId;
|
|
40303
|
+
}
|
|
40304
|
+
return obj;
|
|
40305
|
+
},
|
|
40306
|
+
create(base) {
|
|
40307
|
+
return VolumeGetByIdRequest.fromPartial(base ?? {});
|
|
40308
|
+
},
|
|
40309
|
+
fromPartial(object) {
|
|
40310
|
+
const message = createBaseVolumeGetByIdRequest();
|
|
40311
|
+
message.volumeId = object.volumeId ?? "";
|
|
40312
|
+
return message;
|
|
40313
|
+
}
|
|
40314
|
+
};
|
|
40315
|
+
function createBaseVolumeGetByIdResponse() {
|
|
40316
|
+
return { volumeId: "", metadata: void 0 };
|
|
40317
|
+
}
|
|
40318
|
+
var VolumeGetByIdResponse = {
|
|
40319
|
+
encode(message, writer = new BinaryWriter()) {
|
|
40320
|
+
if (message.volumeId !== "") {
|
|
40321
|
+
writer.uint32(10).string(message.volumeId);
|
|
40322
|
+
}
|
|
40323
|
+
if (message.metadata !== void 0) {
|
|
40324
|
+
VolumeMetadata.encode(message.metadata, writer.uint32(18).fork()).join();
|
|
40325
|
+
}
|
|
40326
|
+
return writer;
|
|
40327
|
+
},
|
|
40328
|
+
decode(input, length) {
|
|
40329
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
40330
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
40331
|
+
const message = createBaseVolumeGetByIdResponse();
|
|
40332
|
+
while (reader.pos < end) {
|
|
40333
|
+
const tag = reader.uint32();
|
|
40334
|
+
switch (tag >>> 3) {
|
|
40335
|
+
case 1: {
|
|
40336
|
+
if (tag !== 10) {
|
|
40337
|
+
break;
|
|
40338
|
+
}
|
|
40339
|
+
message.volumeId = reader.string();
|
|
40340
|
+
continue;
|
|
40341
|
+
}
|
|
40342
|
+
case 2: {
|
|
40343
|
+
if (tag !== 18) {
|
|
40344
|
+
break;
|
|
40345
|
+
}
|
|
40346
|
+
message.metadata = VolumeMetadata.decode(reader, reader.uint32());
|
|
40347
|
+
continue;
|
|
40348
|
+
}
|
|
40349
|
+
}
|
|
40350
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
40351
|
+
break;
|
|
40352
|
+
}
|
|
40353
|
+
reader.skip(tag & 7);
|
|
40354
|
+
}
|
|
40355
|
+
return message;
|
|
40356
|
+
},
|
|
40357
|
+
fromJSON(object) {
|
|
40358
|
+
return {
|
|
40359
|
+
volumeId: isSet4(object.volumeId) ? globalThis.String(object.volumeId) : "",
|
|
40360
|
+
metadata: isSet4(object.metadata) ? VolumeMetadata.fromJSON(object.metadata) : void 0
|
|
40361
|
+
};
|
|
40362
|
+
},
|
|
40363
|
+
toJSON(message) {
|
|
40364
|
+
const obj = {};
|
|
40365
|
+
if (message.volumeId !== "") {
|
|
40366
|
+
obj.volumeId = message.volumeId;
|
|
40367
|
+
}
|
|
40368
|
+
if (message.metadata !== void 0) {
|
|
40369
|
+
obj.metadata = VolumeMetadata.toJSON(message.metadata);
|
|
40370
|
+
}
|
|
40371
|
+
return obj;
|
|
40372
|
+
},
|
|
40373
|
+
create(base) {
|
|
40374
|
+
return VolumeGetByIdResponse.fromPartial(base ?? {});
|
|
40375
|
+
},
|
|
40376
|
+
fromPartial(object) {
|
|
40377
|
+
const message = createBaseVolumeGetByIdResponse();
|
|
40378
|
+
message.volumeId = object.volumeId ?? "";
|
|
40379
|
+
message.metadata = object.metadata !== void 0 && object.metadata !== null ? VolumeMetadata.fromPartial(object.metadata) : void 0;
|
|
40380
|
+
return message;
|
|
40381
|
+
}
|
|
40382
|
+
};
|
|
39858
40383
|
function createBaseVolumeGetFile2Request() {
|
|
39859
40384
|
return { volumeId: "", path: "", start: 0, len: 0 };
|
|
39860
40385
|
}
|
|
@@ -42640,6 +43165,108 @@ var WorkspaceBillingReportRequest = {
|
|
|
42640
43165
|
return message;
|
|
42641
43166
|
}
|
|
42642
43167
|
};
|
|
43168
|
+
function createBaseWorkspaceDashboardUrlRequest() {
|
|
43169
|
+
return { environmentName: "" };
|
|
43170
|
+
}
|
|
43171
|
+
var WorkspaceDashboardUrlRequest = {
|
|
43172
|
+
encode(message, writer = new BinaryWriter()) {
|
|
43173
|
+
if (message.environmentName !== "") {
|
|
43174
|
+
writer.uint32(10).string(message.environmentName);
|
|
43175
|
+
}
|
|
43176
|
+
return writer;
|
|
43177
|
+
},
|
|
43178
|
+
decode(input, length) {
|
|
43179
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
43180
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
43181
|
+
const message = createBaseWorkspaceDashboardUrlRequest();
|
|
43182
|
+
while (reader.pos < end) {
|
|
43183
|
+
const tag = reader.uint32();
|
|
43184
|
+
switch (tag >>> 3) {
|
|
43185
|
+
case 1: {
|
|
43186
|
+
if (tag !== 10) {
|
|
43187
|
+
break;
|
|
43188
|
+
}
|
|
43189
|
+
message.environmentName = reader.string();
|
|
43190
|
+
continue;
|
|
43191
|
+
}
|
|
43192
|
+
}
|
|
43193
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
43194
|
+
break;
|
|
43195
|
+
}
|
|
43196
|
+
reader.skip(tag & 7);
|
|
43197
|
+
}
|
|
43198
|
+
return message;
|
|
43199
|
+
},
|
|
43200
|
+
fromJSON(object) {
|
|
43201
|
+
return { environmentName: isSet4(object.environmentName) ? globalThis.String(object.environmentName) : "" };
|
|
43202
|
+
},
|
|
43203
|
+
toJSON(message) {
|
|
43204
|
+
const obj = {};
|
|
43205
|
+
if (message.environmentName !== "") {
|
|
43206
|
+
obj.environmentName = message.environmentName;
|
|
43207
|
+
}
|
|
43208
|
+
return obj;
|
|
43209
|
+
},
|
|
43210
|
+
create(base) {
|
|
43211
|
+
return WorkspaceDashboardUrlRequest.fromPartial(base ?? {});
|
|
43212
|
+
},
|
|
43213
|
+
fromPartial(object) {
|
|
43214
|
+
const message = createBaseWorkspaceDashboardUrlRequest();
|
|
43215
|
+
message.environmentName = object.environmentName ?? "";
|
|
43216
|
+
return message;
|
|
43217
|
+
}
|
|
43218
|
+
};
|
|
43219
|
+
function createBaseWorkspaceDashboardUrlResponse() {
|
|
43220
|
+
return { url: "" };
|
|
43221
|
+
}
|
|
43222
|
+
var WorkspaceDashboardUrlResponse = {
|
|
43223
|
+
encode(message, writer = new BinaryWriter()) {
|
|
43224
|
+
if (message.url !== "") {
|
|
43225
|
+
writer.uint32(10).string(message.url);
|
|
43226
|
+
}
|
|
43227
|
+
return writer;
|
|
43228
|
+
},
|
|
43229
|
+
decode(input, length) {
|
|
43230
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
43231
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
43232
|
+
const message = createBaseWorkspaceDashboardUrlResponse();
|
|
43233
|
+
while (reader.pos < end) {
|
|
43234
|
+
const tag = reader.uint32();
|
|
43235
|
+
switch (tag >>> 3) {
|
|
43236
|
+
case 1: {
|
|
43237
|
+
if (tag !== 10) {
|
|
43238
|
+
break;
|
|
43239
|
+
}
|
|
43240
|
+
message.url = reader.string();
|
|
43241
|
+
continue;
|
|
43242
|
+
}
|
|
43243
|
+
}
|
|
43244
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
43245
|
+
break;
|
|
43246
|
+
}
|
|
43247
|
+
reader.skip(tag & 7);
|
|
43248
|
+
}
|
|
43249
|
+
return message;
|
|
43250
|
+
},
|
|
43251
|
+
fromJSON(object) {
|
|
43252
|
+
return { url: isSet4(object.url) ? globalThis.String(object.url) : "" };
|
|
43253
|
+
},
|
|
43254
|
+
toJSON(message) {
|
|
43255
|
+
const obj = {};
|
|
43256
|
+
if (message.url !== "") {
|
|
43257
|
+
obj.url = message.url;
|
|
43258
|
+
}
|
|
43259
|
+
return obj;
|
|
43260
|
+
},
|
|
43261
|
+
create(base) {
|
|
43262
|
+
return WorkspaceDashboardUrlResponse.fromPartial(base ?? {});
|
|
43263
|
+
},
|
|
43264
|
+
fromPartial(object) {
|
|
43265
|
+
const message = createBaseWorkspaceDashboardUrlResponse();
|
|
43266
|
+
message.url = object.url ?? "";
|
|
43267
|
+
return message;
|
|
43268
|
+
}
|
|
43269
|
+
};
|
|
42643
43270
|
function createBaseWorkspaceNameLookupResponse() {
|
|
42644
43271
|
return { workspaceName: "", username: "" };
|
|
42645
43272
|
}
|
|
@@ -43089,6 +43716,14 @@ var ModalClientDefinition = {
|
|
|
43089
43716
|
responseStream: false,
|
|
43090
43717
|
options: {}
|
|
43091
43718
|
},
|
|
43719
|
+
dictGetById: {
|
|
43720
|
+
name: "DictGetById",
|
|
43721
|
+
requestType: DictGetByIdRequest,
|
|
43722
|
+
requestStream: false,
|
|
43723
|
+
responseType: DictGetByIdResponse,
|
|
43724
|
+
responseStream: false,
|
|
43725
|
+
options: {}
|
|
43726
|
+
},
|
|
43092
43727
|
dictGetOrCreate: {
|
|
43093
43728
|
name: "DictGetOrCreate",
|
|
43094
43729
|
requestType: DictGetOrCreateRequest,
|
|
@@ -43599,6 +44234,14 @@ var ModalClientDefinition = {
|
|
|
43599
44234
|
responseStream: false,
|
|
43600
44235
|
options: {}
|
|
43601
44236
|
},
|
|
44237
|
+
queueGetById: {
|
|
44238
|
+
name: "QueueGetById",
|
|
44239
|
+
requestType: QueueGetByIdRequest,
|
|
44240
|
+
requestStream: false,
|
|
44241
|
+
responseType: QueueGetByIdResponse,
|
|
44242
|
+
responseStream: false,
|
|
44243
|
+
options: {}
|
|
44244
|
+
},
|
|
43602
44245
|
queueGetOrCreate: {
|
|
43603
44246
|
name: "QueueGetOrCreate",
|
|
43604
44247
|
requestType: QueueGetOrCreateRequest,
|
|
@@ -43834,6 +44477,14 @@ var ModalClientDefinition = {
|
|
|
43834
44477
|
responseStream: false,
|
|
43835
44478
|
options: {}
|
|
43836
44479
|
},
|
|
44480
|
+
secretUpdate: {
|
|
44481
|
+
name: "SecretUpdate",
|
|
44482
|
+
requestType: SecretUpdateRequest,
|
|
44483
|
+
requestStream: false,
|
|
44484
|
+
responseType: Empty,
|
|
44485
|
+
responseStream: false,
|
|
44486
|
+
options: {}
|
|
44487
|
+
},
|
|
43837
44488
|
/** SharedVolumes */
|
|
43838
44489
|
sharedVolumeDelete: {
|
|
43839
44490
|
name: "SharedVolumeDelete",
|
|
@@ -44023,6 +44674,14 @@ var ModalClientDefinition = {
|
|
|
44023
44674
|
responseStream: false,
|
|
44024
44675
|
options: {}
|
|
44025
44676
|
},
|
|
44677
|
+
volumeGetById: {
|
|
44678
|
+
name: "VolumeGetById",
|
|
44679
|
+
requestType: VolumeGetByIdRequest,
|
|
44680
|
+
requestStream: false,
|
|
44681
|
+
responseType: VolumeGetByIdResponse,
|
|
44682
|
+
responseStream: false,
|
|
44683
|
+
options: {}
|
|
44684
|
+
},
|
|
44026
44685
|
volumeGetFile: {
|
|
44027
44686
|
name: "VolumeGetFile",
|
|
44028
44687
|
requestType: VolumeGetFileRequest,
|
|
@@ -44136,6 +44795,14 @@ var ModalClientDefinition = {
|
|
|
44136
44795
|
responseStream: true,
|
|
44137
44796
|
options: {}
|
|
44138
44797
|
},
|
|
44798
|
+
workspaceDashboardUrlGet: {
|
|
44799
|
+
name: "WorkspaceDashboardUrlGet",
|
|
44800
|
+
requestType: WorkspaceDashboardUrlRequest,
|
|
44801
|
+
requestStream: false,
|
|
44802
|
+
responseType: WorkspaceDashboardUrlResponse,
|
|
44803
|
+
responseStream: false,
|
|
44804
|
+
options: {}
|
|
44805
|
+
},
|
|
44139
44806
|
workspaceNameLookup: {
|
|
44140
44807
|
name: "WorkspaceNameLookup",
|
|
44141
44808
|
requestType: Empty,
|
|
@@ -49541,7 +50208,7 @@ var AuthTokenManager = class {
|
|
|
49541
50208
|
|
|
49542
50209
|
// src/version.ts
|
|
49543
50210
|
function getSDKVersion() {
|
|
49544
|
-
return true ? "0.7.
|
|
50211
|
+
return true ? "0.7.3-dev.0" : "0.0.0";
|
|
49545
50212
|
}
|
|
49546
50213
|
|
|
49547
50214
|
// src/logger.ts
|