modal 0.7.2 → 0.7.3-dev.1

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/index.cjs CHANGED
@@ -12682,6 +12682,125 @@ var DictEntry = {
12682
12682
  return message;
12683
12683
  }
12684
12684
  };
12685
+ function createBaseDictGetByIdRequest() {
12686
+ return { dictId: "" };
12687
+ }
12688
+ var DictGetByIdRequest = {
12689
+ encode(message, writer = new BinaryWriter()) {
12690
+ if (message.dictId !== "") {
12691
+ writer.uint32(10).string(message.dictId);
12692
+ }
12693
+ return writer;
12694
+ },
12695
+ decode(input, length) {
12696
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
12697
+ let end = length === void 0 ? reader.len : reader.pos + length;
12698
+ const message = createBaseDictGetByIdRequest();
12699
+ while (reader.pos < end) {
12700
+ const tag = reader.uint32();
12701
+ switch (tag >>> 3) {
12702
+ case 1: {
12703
+ if (tag !== 10) {
12704
+ break;
12705
+ }
12706
+ message.dictId = reader.string();
12707
+ continue;
12708
+ }
12709
+ }
12710
+ if ((tag & 7) === 4 || tag === 0) {
12711
+ break;
12712
+ }
12713
+ reader.skip(tag & 7);
12714
+ }
12715
+ return message;
12716
+ },
12717
+ fromJSON(object) {
12718
+ return { dictId: isSet4(object.dictId) ? globalThis.String(object.dictId) : "" };
12719
+ },
12720
+ toJSON(message) {
12721
+ const obj = {};
12722
+ if (message.dictId !== "") {
12723
+ obj.dictId = message.dictId;
12724
+ }
12725
+ return obj;
12726
+ },
12727
+ create(base) {
12728
+ return DictGetByIdRequest.fromPartial(base ?? {});
12729
+ },
12730
+ fromPartial(object) {
12731
+ const message = createBaseDictGetByIdRequest();
12732
+ message.dictId = object.dictId ?? "";
12733
+ return message;
12734
+ }
12735
+ };
12736
+ function createBaseDictGetByIdResponse() {
12737
+ return { dictId: "", metadata: void 0 };
12738
+ }
12739
+ var DictGetByIdResponse = {
12740
+ encode(message, writer = new BinaryWriter()) {
12741
+ if (message.dictId !== "") {
12742
+ writer.uint32(10).string(message.dictId);
12743
+ }
12744
+ if (message.metadata !== void 0) {
12745
+ DictMetadata.encode(message.metadata, writer.uint32(18).fork()).join();
12746
+ }
12747
+ return writer;
12748
+ },
12749
+ decode(input, length) {
12750
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
12751
+ let end = length === void 0 ? reader.len : reader.pos + length;
12752
+ const message = createBaseDictGetByIdResponse();
12753
+ while (reader.pos < end) {
12754
+ const tag = reader.uint32();
12755
+ switch (tag >>> 3) {
12756
+ case 1: {
12757
+ if (tag !== 10) {
12758
+ break;
12759
+ }
12760
+ message.dictId = reader.string();
12761
+ continue;
12762
+ }
12763
+ case 2: {
12764
+ if (tag !== 18) {
12765
+ break;
12766
+ }
12767
+ message.metadata = DictMetadata.decode(reader, reader.uint32());
12768
+ continue;
12769
+ }
12770
+ }
12771
+ if ((tag & 7) === 4 || tag === 0) {
12772
+ break;
12773
+ }
12774
+ reader.skip(tag & 7);
12775
+ }
12776
+ return message;
12777
+ },
12778
+ fromJSON(object) {
12779
+ return {
12780
+ dictId: isSet4(object.dictId) ? globalThis.String(object.dictId) : "",
12781
+ metadata: isSet4(object.metadata) ? DictMetadata.fromJSON(object.metadata) : void 0
12782
+ };
12783
+ },
12784
+ toJSON(message) {
12785
+ const obj = {};
12786
+ if (message.dictId !== "") {
12787
+ obj.dictId = message.dictId;
12788
+ }
12789
+ if (message.metadata !== void 0) {
12790
+ obj.metadata = DictMetadata.toJSON(message.metadata);
12791
+ }
12792
+ return obj;
12793
+ },
12794
+ create(base) {
12795
+ return DictGetByIdResponse.fromPartial(base ?? {});
12796
+ },
12797
+ fromPartial(object) {
12798
+ const message = createBaseDictGetByIdResponse();
12799
+ message.dictId = object.dictId ?? "";
12800
+ message.metadata = object.metadata !== void 0 && object.metadata !== null ? DictMetadata.fromPartial(object.metadata) : void 0;
12801
+ return message;
12802
+ }
12803
+ };
12685
12804
  function createBaseDictGetOrCreateRequest() {
12686
12805
  return { deploymentName: "", environmentName: "", objectCreationType: 0, data: [] };
12687
12806
  }
@@ -23352,7 +23471,7 @@ var FunctionSchema = {
23352
23471
  }
23353
23472
  };
23354
23473
  function createBaseFunctionStats() {
23355
- return { backlog: 0, numTotalTasks: 0 };
23474
+ return { backlog: 0, numTotalTasks: 0, numRunningInputs: 0 };
23356
23475
  }
23357
23476
  var FunctionStats = {
23358
23477
  encode(message, writer = new BinaryWriter()) {
@@ -23362,6 +23481,9 @@ var FunctionStats = {
23362
23481
  if (message.numTotalTasks !== 0) {
23363
23482
  writer.uint32(24).uint32(message.numTotalTasks);
23364
23483
  }
23484
+ if (message.numRunningInputs !== 0) {
23485
+ writer.uint32(32).uint32(message.numRunningInputs);
23486
+ }
23365
23487
  return writer;
23366
23488
  },
23367
23489
  decode(input, length) {
@@ -23385,6 +23507,13 @@ var FunctionStats = {
23385
23507
  message.numTotalTasks = reader.uint32();
23386
23508
  continue;
23387
23509
  }
23510
+ case 4: {
23511
+ if (tag !== 32) {
23512
+ break;
23513
+ }
23514
+ message.numRunningInputs = reader.uint32();
23515
+ continue;
23516
+ }
23388
23517
  }
23389
23518
  if ((tag & 7) === 4 || tag === 0) {
23390
23519
  break;
@@ -23396,7 +23525,8 @@ var FunctionStats = {
23396
23525
  fromJSON(object) {
23397
23526
  return {
23398
23527
  backlog: isSet4(object.backlog) ? globalThis.Number(object.backlog) : 0,
23399
- numTotalTasks: isSet4(object.numTotalTasks) ? globalThis.Number(object.numTotalTasks) : 0
23528
+ numTotalTasks: isSet4(object.numTotalTasks) ? globalThis.Number(object.numTotalTasks) : 0,
23529
+ numRunningInputs: isSet4(object.numRunningInputs) ? globalThis.Number(object.numRunningInputs) : 0
23400
23530
  };
23401
23531
  },
23402
23532
  toJSON(message) {
@@ -23407,6 +23537,9 @@ var FunctionStats = {
23407
23537
  if (message.numTotalTasks !== 0) {
23408
23538
  obj.numTotalTasks = Math.round(message.numTotalTasks);
23409
23539
  }
23540
+ if (message.numRunningInputs !== 0) {
23541
+ obj.numRunningInputs = Math.round(message.numRunningInputs);
23542
+ }
23410
23543
  return obj;
23411
23544
  },
23412
23545
  create(base) {
@@ -23416,6 +23549,7 @@ var FunctionStats = {
23416
23549
  const message = createBaseFunctionStats();
23417
23550
  message.backlog = object.backlog ?? 0;
23418
23551
  message.numTotalTasks = object.numTotalTasks ?? 0;
23552
+ message.numRunningInputs = object.numRunningInputs ?? 0;
23419
23553
  return message;
23420
23554
  }
23421
23555
  };
@@ -29467,6 +29601,125 @@ var QueueDeleteRequest = {
29467
29601
  return message;
29468
29602
  }
29469
29603
  };
29604
+ function createBaseQueueGetByIdRequest() {
29605
+ return { queueId: "" };
29606
+ }
29607
+ var QueueGetByIdRequest = {
29608
+ encode(message, writer = new BinaryWriter()) {
29609
+ if (message.queueId !== "") {
29610
+ writer.uint32(10).string(message.queueId);
29611
+ }
29612
+ return writer;
29613
+ },
29614
+ decode(input, length) {
29615
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
29616
+ let end = length === void 0 ? reader.len : reader.pos + length;
29617
+ const message = createBaseQueueGetByIdRequest();
29618
+ while (reader.pos < end) {
29619
+ const tag = reader.uint32();
29620
+ switch (tag >>> 3) {
29621
+ case 1: {
29622
+ if (tag !== 10) {
29623
+ break;
29624
+ }
29625
+ message.queueId = reader.string();
29626
+ continue;
29627
+ }
29628
+ }
29629
+ if ((tag & 7) === 4 || tag === 0) {
29630
+ break;
29631
+ }
29632
+ reader.skip(tag & 7);
29633
+ }
29634
+ return message;
29635
+ },
29636
+ fromJSON(object) {
29637
+ return { queueId: isSet4(object.queueId) ? globalThis.String(object.queueId) : "" };
29638
+ },
29639
+ toJSON(message) {
29640
+ const obj = {};
29641
+ if (message.queueId !== "") {
29642
+ obj.queueId = message.queueId;
29643
+ }
29644
+ return obj;
29645
+ },
29646
+ create(base) {
29647
+ return QueueGetByIdRequest.fromPartial(base ?? {});
29648
+ },
29649
+ fromPartial(object) {
29650
+ const message = createBaseQueueGetByIdRequest();
29651
+ message.queueId = object.queueId ?? "";
29652
+ return message;
29653
+ }
29654
+ };
29655
+ function createBaseQueueGetByIdResponse() {
29656
+ return { queueId: "", metadata: void 0 };
29657
+ }
29658
+ var QueueGetByIdResponse = {
29659
+ encode(message, writer = new BinaryWriter()) {
29660
+ if (message.queueId !== "") {
29661
+ writer.uint32(10).string(message.queueId);
29662
+ }
29663
+ if (message.metadata !== void 0) {
29664
+ QueueMetadata.encode(message.metadata, writer.uint32(18).fork()).join();
29665
+ }
29666
+ return writer;
29667
+ },
29668
+ decode(input, length) {
29669
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
29670
+ let end = length === void 0 ? reader.len : reader.pos + length;
29671
+ const message = createBaseQueueGetByIdResponse();
29672
+ while (reader.pos < end) {
29673
+ const tag = reader.uint32();
29674
+ switch (tag >>> 3) {
29675
+ case 1: {
29676
+ if (tag !== 10) {
29677
+ break;
29678
+ }
29679
+ message.queueId = reader.string();
29680
+ continue;
29681
+ }
29682
+ case 2: {
29683
+ if (tag !== 18) {
29684
+ break;
29685
+ }
29686
+ message.metadata = QueueMetadata.decode(reader, reader.uint32());
29687
+ continue;
29688
+ }
29689
+ }
29690
+ if ((tag & 7) === 4 || tag === 0) {
29691
+ break;
29692
+ }
29693
+ reader.skip(tag & 7);
29694
+ }
29695
+ return message;
29696
+ },
29697
+ fromJSON(object) {
29698
+ return {
29699
+ queueId: isSet4(object.queueId) ? globalThis.String(object.queueId) : "",
29700
+ metadata: isSet4(object.metadata) ? QueueMetadata.fromJSON(object.metadata) : void 0
29701
+ };
29702
+ },
29703
+ toJSON(message) {
29704
+ const obj = {};
29705
+ if (message.queueId !== "") {
29706
+ obj.queueId = message.queueId;
29707
+ }
29708
+ if (message.metadata !== void 0) {
29709
+ obj.metadata = QueueMetadata.toJSON(message.metadata);
29710
+ }
29711
+ return obj;
29712
+ },
29713
+ create(base) {
29714
+ return QueueGetByIdResponse.fromPartial(base ?? {});
29715
+ },
29716
+ fromPartial(object) {
29717
+ const message = createBaseQueueGetByIdResponse();
29718
+ message.queueId = object.queueId ?? "";
29719
+ message.metadata = object.metadata !== void 0 && object.metadata !== null ? QueueMetadata.fromPartial(object.metadata) : void 0;
29720
+ return message;
29721
+ }
29722
+ };
29470
29723
  function createBaseQueueGetOrCreateRequest() {
29471
29724
  return { deploymentName: "", environmentName: "", objectCreationType: 0 };
29472
29725
  }
@@ -31460,7 +31713,8 @@ function createBaseSandbox() {
31460
31713
  idleTimeoutSecs: void 0,
31461
31714
  directSandboxCommandsEnabled: false,
31462
31715
  RestoreInstanceType: "",
31463
- customDomain: ""
31716
+ customDomain: "",
31717
+ includeOidcIdentityToken: false
31464
31718
  };
31465
31719
  }
31466
31720
  var Sandbox = {
@@ -31567,6 +31821,9 @@ var Sandbox = {
31567
31821
  if (message.customDomain !== "") {
31568
31822
  writer.uint32(290).string(message.customDomain);
31569
31823
  }
31824
+ if (message.includeOidcIdentityToken !== false) {
31825
+ writer.uint32(296).bool(message.includeOidcIdentityToken);
31826
+ }
31570
31827
  return writer;
31571
31828
  },
31572
31829
  decode(input, length) {
@@ -31817,6 +32074,13 @@ var Sandbox = {
31817
32074
  message.customDomain = reader.string();
31818
32075
  continue;
31819
32076
  }
32077
+ case 37: {
32078
+ if (tag !== 296) {
32079
+ break;
32080
+ }
32081
+ message.includeOidcIdentityToken = reader.bool();
32082
+ continue;
32083
+ }
31820
32084
  }
31821
32085
  if ((tag & 7) === 4 || tag === 0) {
31822
32086
  break;
@@ -31863,7 +32127,8 @@ var Sandbox = {
31863
32127
  idleTimeoutSecs: isSet4(object.idleTimeoutSecs) ? globalThis.Number(object.idleTimeoutSecs) : void 0,
31864
32128
  directSandboxCommandsEnabled: isSet4(object.directSandboxCommandsEnabled) ? globalThis.Boolean(object.directSandboxCommandsEnabled) : false,
31865
32129
  RestoreInstanceType: isSet4(object.RestoreInstanceType) ? globalThis.String(object.RestoreInstanceType) : "",
31866
- customDomain: isSet4(object.customDomain) ? globalThis.String(object.customDomain) : ""
32130
+ customDomain: isSet4(object.customDomain) ? globalThis.String(object.customDomain) : "",
32131
+ includeOidcIdentityToken: isSet4(object.includeOidcIdentityToken) ? globalThis.Boolean(object.includeOidcIdentityToken) : false
31867
32132
  };
31868
32133
  },
31869
32134
  toJSON(message) {
@@ -31976,6 +32241,9 @@ var Sandbox = {
31976
32241
  if (message.customDomain !== "") {
31977
32242
  obj.customDomain = message.customDomain;
31978
32243
  }
32244
+ if (message.includeOidcIdentityToken !== false) {
32245
+ obj.includeOidcIdentityToken = message.includeOidcIdentityToken;
32246
+ }
31979
32247
  return obj;
31980
32248
  },
31981
32249
  create(base) {
@@ -32025,6 +32293,7 @@ var Sandbox = {
32025
32293
  message.directSandboxCommandsEnabled = object.directSandboxCommandsEnabled ?? false;
32026
32294
  message.RestoreInstanceType = object.RestoreInstanceType ?? "";
32027
32295
  message.customDomain = object.customDomain ?? "";
32296
+ message.includeOidcIdentityToken = object.includeOidcIdentityToken ?? false;
32028
32297
  return message;
32029
32298
  }
32030
32299
  };
@@ -35911,6 +36180,142 @@ var SecretMetadata = {
35911
36180
  return message;
35912
36181
  }
35913
36182
  };
36183
+ function createBaseSecretUpdateRequest() {
36184
+ return { secretId: "", updates: [] };
36185
+ }
36186
+ var SecretUpdateRequest = {
36187
+ encode(message, writer = new BinaryWriter()) {
36188
+ if (message.secretId !== "") {
36189
+ writer.uint32(10).string(message.secretId);
36190
+ }
36191
+ for (const v of message.updates) {
36192
+ SecretUpdateRequest_Update.encode(v, writer.uint32(18).fork()).join();
36193
+ }
36194
+ return writer;
36195
+ },
36196
+ decode(input, length) {
36197
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
36198
+ let end = length === void 0 ? reader.len : reader.pos + length;
36199
+ const message = createBaseSecretUpdateRequest();
36200
+ while (reader.pos < end) {
36201
+ const tag = reader.uint32();
36202
+ switch (tag >>> 3) {
36203
+ case 1: {
36204
+ if (tag !== 10) {
36205
+ break;
36206
+ }
36207
+ message.secretId = reader.string();
36208
+ continue;
36209
+ }
36210
+ case 2: {
36211
+ if (tag !== 18) {
36212
+ break;
36213
+ }
36214
+ message.updates.push(SecretUpdateRequest_Update.decode(reader, reader.uint32()));
36215
+ continue;
36216
+ }
36217
+ }
36218
+ if ((tag & 7) === 4 || tag === 0) {
36219
+ break;
36220
+ }
36221
+ reader.skip(tag & 7);
36222
+ }
36223
+ return message;
36224
+ },
36225
+ fromJSON(object) {
36226
+ return {
36227
+ secretId: isSet4(object.secretId) ? globalThis.String(object.secretId) : "",
36228
+ updates: globalThis.Array.isArray(object?.updates) ? object.updates.map((e) => SecretUpdateRequest_Update.fromJSON(e)) : []
36229
+ };
36230
+ },
36231
+ toJSON(message) {
36232
+ const obj = {};
36233
+ if (message.secretId !== "") {
36234
+ obj.secretId = message.secretId;
36235
+ }
36236
+ if (message.updates?.length) {
36237
+ obj.updates = message.updates.map((e) => SecretUpdateRequest_Update.toJSON(e));
36238
+ }
36239
+ return obj;
36240
+ },
36241
+ create(base) {
36242
+ return SecretUpdateRequest.fromPartial(base ?? {});
36243
+ },
36244
+ fromPartial(object) {
36245
+ const message = createBaseSecretUpdateRequest();
36246
+ message.secretId = object.secretId ?? "";
36247
+ message.updates = object.updates?.map((e) => SecretUpdateRequest_Update.fromPartial(e)) || [];
36248
+ return message;
36249
+ }
36250
+ };
36251
+ function createBaseSecretUpdateRequest_Update() {
36252
+ return { key: "", value: void 0 };
36253
+ }
36254
+ var SecretUpdateRequest_Update = {
36255
+ encode(message, writer = new BinaryWriter()) {
36256
+ if (message.key !== "") {
36257
+ writer.uint32(10).string(message.key);
36258
+ }
36259
+ if (message.value !== void 0) {
36260
+ writer.uint32(18).string(message.value);
36261
+ }
36262
+ return writer;
36263
+ },
36264
+ decode(input, length) {
36265
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
36266
+ let end = length === void 0 ? reader.len : reader.pos + length;
36267
+ const message = createBaseSecretUpdateRequest_Update();
36268
+ while (reader.pos < end) {
36269
+ const tag = reader.uint32();
36270
+ switch (tag >>> 3) {
36271
+ case 1: {
36272
+ if (tag !== 10) {
36273
+ break;
36274
+ }
36275
+ message.key = reader.string();
36276
+ continue;
36277
+ }
36278
+ case 2: {
36279
+ if (tag !== 18) {
36280
+ break;
36281
+ }
36282
+ message.value = reader.string();
36283
+ continue;
36284
+ }
36285
+ }
36286
+ if ((tag & 7) === 4 || tag === 0) {
36287
+ break;
36288
+ }
36289
+ reader.skip(tag & 7);
36290
+ }
36291
+ return message;
36292
+ },
36293
+ fromJSON(object) {
36294
+ return {
36295
+ key: isSet4(object.key) ? globalThis.String(object.key) : "",
36296
+ value: isSet4(object.value) ? globalThis.String(object.value) : void 0
36297
+ };
36298
+ },
36299
+ toJSON(message) {
36300
+ const obj = {};
36301
+ if (message.key !== "") {
36302
+ obj.key = message.key;
36303
+ }
36304
+ if (message.value !== void 0) {
36305
+ obj.value = message.value;
36306
+ }
36307
+ return obj;
36308
+ },
36309
+ create(base) {
36310
+ return SecretUpdateRequest_Update.fromPartial(base ?? {});
36311
+ },
36312
+ fromPartial(object) {
36313
+ const message = createBaseSecretUpdateRequest_Update();
36314
+ message.key = object.key ?? "";
36315
+ message.value = object.value ?? void 0;
36316
+ return message;
36317
+ }
36318
+ };
35914
36319
  function createBaseServiceUserIdentity() {
35915
36320
  return { serviceUserId: "", serviceUserName: "", createdBy: void 0 };
35916
36321
  }
@@ -38906,7 +39311,8 @@ function createBaseTokenInfoGetResponse() {
38906
39311
  userIdentity: void 0,
38907
39312
  serviceUserIdentity: void 0,
38908
39313
  createdAt: void 0,
38909
- expiresAt: void 0
39314
+ expiresAt: void 0,
39315
+ tokenName: ""
38910
39316
  };
38911
39317
  }
38912
39318
  var TokenInfoGetResponse = {
@@ -38932,6 +39338,9 @@ var TokenInfoGetResponse = {
38932
39338
  if (message.expiresAt !== void 0) {
38933
39339
  Timestamp.encode(toTimestamp(message.expiresAt), writer.uint32(58).fork()).join();
38934
39340
  }
39341
+ if (message.tokenName !== "") {
39342
+ writer.uint32(66).string(message.tokenName);
39343
+ }
38935
39344
  return writer;
38936
39345
  },
38937
39346
  decode(input, length) {
@@ -38990,6 +39399,13 @@ var TokenInfoGetResponse = {
38990
39399
  message.expiresAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
38991
39400
  continue;
38992
39401
  }
39402
+ case 8: {
39403
+ if (tag !== 66) {
39404
+ break;
39405
+ }
39406
+ message.tokenName = reader.string();
39407
+ continue;
39408
+ }
38993
39409
  }
38994
39410
  if ((tag & 7) === 4 || tag === 0) {
38995
39411
  break;
@@ -39006,7 +39422,8 @@ var TokenInfoGetResponse = {
39006
39422
  userIdentity: isSet4(object.userIdentity) ? UserIdentity.fromJSON(object.userIdentity) : void 0,
39007
39423
  serviceUserIdentity: isSet4(object.serviceUserIdentity) ? ServiceUserIdentity.fromJSON(object.serviceUserIdentity) : void 0,
39008
39424
  createdAt: isSet4(object.createdAt) ? fromJsonTimestamp(object.createdAt) : void 0,
39009
- expiresAt: isSet4(object.expiresAt) ? fromJsonTimestamp(object.expiresAt) : void 0
39425
+ expiresAt: isSet4(object.expiresAt) ? fromJsonTimestamp(object.expiresAt) : void 0,
39426
+ tokenName: isSet4(object.tokenName) ? globalThis.String(object.tokenName) : ""
39010
39427
  };
39011
39428
  },
39012
39429
  toJSON(message) {
@@ -39032,6 +39449,9 @@ var TokenInfoGetResponse = {
39032
39449
  if (message.expiresAt !== void 0) {
39033
39450
  obj.expiresAt = message.expiresAt.toISOString();
39034
39451
  }
39452
+ if (message.tokenName !== "") {
39453
+ obj.tokenName = message.tokenName;
39454
+ }
39035
39455
  return obj;
39036
39456
  },
39037
39457
  create(base) {
@@ -39046,6 +39466,7 @@ var TokenInfoGetResponse = {
39046
39466
  message.serviceUserIdentity = object.serviceUserIdentity !== void 0 && object.serviceUserIdentity !== null ? ServiceUserIdentity.fromPartial(object.serviceUserIdentity) : void 0;
39047
39467
  message.createdAt = object.createdAt ?? void 0;
39048
39468
  message.expiresAt = object.expiresAt ?? void 0;
39469
+ message.tokenName = object.tokenName ?? "";
39049
39470
  return message;
39050
39471
  }
39051
39472
  };
@@ -39930,6 +40351,125 @@ var VolumeDeleteRequest = {
39930
40351
  return message;
39931
40352
  }
39932
40353
  };
40354
+ function createBaseVolumeGetByIdRequest() {
40355
+ return { volumeId: "" };
40356
+ }
40357
+ var VolumeGetByIdRequest = {
40358
+ encode(message, writer = new BinaryWriter()) {
40359
+ if (message.volumeId !== "") {
40360
+ writer.uint32(10).string(message.volumeId);
40361
+ }
40362
+ return writer;
40363
+ },
40364
+ decode(input, length) {
40365
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
40366
+ let end = length === void 0 ? reader.len : reader.pos + length;
40367
+ const message = createBaseVolumeGetByIdRequest();
40368
+ while (reader.pos < end) {
40369
+ const tag = reader.uint32();
40370
+ switch (tag >>> 3) {
40371
+ case 1: {
40372
+ if (tag !== 10) {
40373
+ break;
40374
+ }
40375
+ message.volumeId = reader.string();
40376
+ continue;
40377
+ }
40378
+ }
40379
+ if ((tag & 7) === 4 || tag === 0) {
40380
+ break;
40381
+ }
40382
+ reader.skip(tag & 7);
40383
+ }
40384
+ return message;
40385
+ },
40386
+ fromJSON(object) {
40387
+ return { volumeId: isSet4(object.volumeId) ? globalThis.String(object.volumeId) : "" };
40388
+ },
40389
+ toJSON(message) {
40390
+ const obj = {};
40391
+ if (message.volumeId !== "") {
40392
+ obj.volumeId = message.volumeId;
40393
+ }
40394
+ return obj;
40395
+ },
40396
+ create(base) {
40397
+ return VolumeGetByIdRequest.fromPartial(base ?? {});
40398
+ },
40399
+ fromPartial(object) {
40400
+ const message = createBaseVolumeGetByIdRequest();
40401
+ message.volumeId = object.volumeId ?? "";
40402
+ return message;
40403
+ }
40404
+ };
40405
+ function createBaseVolumeGetByIdResponse() {
40406
+ return { volumeId: "", metadata: void 0 };
40407
+ }
40408
+ var VolumeGetByIdResponse = {
40409
+ encode(message, writer = new BinaryWriter()) {
40410
+ if (message.volumeId !== "") {
40411
+ writer.uint32(10).string(message.volumeId);
40412
+ }
40413
+ if (message.metadata !== void 0) {
40414
+ VolumeMetadata.encode(message.metadata, writer.uint32(18).fork()).join();
40415
+ }
40416
+ return writer;
40417
+ },
40418
+ decode(input, length) {
40419
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
40420
+ let end = length === void 0 ? reader.len : reader.pos + length;
40421
+ const message = createBaseVolumeGetByIdResponse();
40422
+ while (reader.pos < end) {
40423
+ const tag = reader.uint32();
40424
+ switch (tag >>> 3) {
40425
+ case 1: {
40426
+ if (tag !== 10) {
40427
+ break;
40428
+ }
40429
+ message.volumeId = reader.string();
40430
+ continue;
40431
+ }
40432
+ case 2: {
40433
+ if (tag !== 18) {
40434
+ break;
40435
+ }
40436
+ message.metadata = VolumeMetadata.decode(reader, reader.uint32());
40437
+ continue;
40438
+ }
40439
+ }
40440
+ if ((tag & 7) === 4 || tag === 0) {
40441
+ break;
40442
+ }
40443
+ reader.skip(tag & 7);
40444
+ }
40445
+ return message;
40446
+ },
40447
+ fromJSON(object) {
40448
+ return {
40449
+ volumeId: isSet4(object.volumeId) ? globalThis.String(object.volumeId) : "",
40450
+ metadata: isSet4(object.metadata) ? VolumeMetadata.fromJSON(object.metadata) : void 0
40451
+ };
40452
+ },
40453
+ toJSON(message) {
40454
+ const obj = {};
40455
+ if (message.volumeId !== "") {
40456
+ obj.volumeId = message.volumeId;
40457
+ }
40458
+ if (message.metadata !== void 0) {
40459
+ obj.metadata = VolumeMetadata.toJSON(message.metadata);
40460
+ }
40461
+ return obj;
40462
+ },
40463
+ create(base) {
40464
+ return VolumeGetByIdResponse.fromPartial(base ?? {});
40465
+ },
40466
+ fromPartial(object) {
40467
+ const message = createBaseVolumeGetByIdResponse();
40468
+ message.volumeId = object.volumeId ?? "";
40469
+ message.metadata = object.metadata !== void 0 && object.metadata !== null ? VolumeMetadata.fromPartial(object.metadata) : void 0;
40470
+ return message;
40471
+ }
40472
+ };
39933
40473
  function createBaseVolumeGetFile2Request() {
39934
40474
  return { volumeId: "", path: "", start: 0, len: 0 };
39935
40475
  }
@@ -42715,6 +43255,108 @@ var WorkspaceBillingReportRequest = {
42715
43255
  return message;
42716
43256
  }
42717
43257
  };
43258
+ function createBaseWorkspaceDashboardUrlRequest() {
43259
+ return { environmentName: "" };
43260
+ }
43261
+ var WorkspaceDashboardUrlRequest = {
43262
+ encode(message, writer = new BinaryWriter()) {
43263
+ if (message.environmentName !== "") {
43264
+ writer.uint32(10).string(message.environmentName);
43265
+ }
43266
+ return writer;
43267
+ },
43268
+ decode(input, length) {
43269
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
43270
+ let end = length === void 0 ? reader.len : reader.pos + length;
43271
+ const message = createBaseWorkspaceDashboardUrlRequest();
43272
+ while (reader.pos < end) {
43273
+ const tag = reader.uint32();
43274
+ switch (tag >>> 3) {
43275
+ case 1: {
43276
+ if (tag !== 10) {
43277
+ break;
43278
+ }
43279
+ message.environmentName = reader.string();
43280
+ continue;
43281
+ }
43282
+ }
43283
+ if ((tag & 7) === 4 || tag === 0) {
43284
+ break;
43285
+ }
43286
+ reader.skip(tag & 7);
43287
+ }
43288
+ return message;
43289
+ },
43290
+ fromJSON(object) {
43291
+ return { environmentName: isSet4(object.environmentName) ? globalThis.String(object.environmentName) : "" };
43292
+ },
43293
+ toJSON(message) {
43294
+ const obj = {};
43295
+ if (message.environmentName !== "") {
43296
+ obj.environmentName = message.environmentName;
43297
+ }
43298
+ return obj;
43299
+ },
43300
+ create(base) {
43301
+ return WorkspaceDashboardUrlRequest.fromPartial(base ?? {});
43302
+ },
43303
+ fromPartial(object) {
43304
+ const message = createBaseWorkspaceDashboardUrlRequest();
43305
+ message.environmentName = object.environmentName ?? "";
43306
+ return message;
43307
+ }
43308
+ };
43309
+ function createBaseWorkspaceDashboardUrlResponse() {
43310
+ return { url: "" };
43311
+ }
43312
+ var WorkspaceDashboardUrlResponse = {
43313
+ encode(message, writer = new BinaryWriter()) {
43314
+ if (message.url !== "") {
43315
+ writer.uint32(10).string(message.url);
43316
+ }
43317
+ return writer;
43318
+ },
43319
+ decode(input, length) {
43320
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
43321
+ let end = length === void 0 ? reader.len : reader.pos + length;
43322
+ const message = createBaseWorkspaceDashboardUrlResponse();
43323
+ while (reader.pos < end) {
43324
+ const tag = reader.uint32();
43325
+ switch (tag >>> 3) {
43326
+ case 1: {
43327
+ if (tag !== 10) {
43328
+ break;
43329
+ }
43330
+ message.url = reader.string();
43331
+ continue;
43332
+ }
43333
+ }
43334
+ if ((tag & 7) === 4 || tag === 0) {
43335
+ break;
43336
+ }
43337
+ reader.skip(tag & 7);
43338
+ }
43339
+ return message;
43340
+ },
43341
+ fromJSON(object) {
43342
+ return { url: isSet4(object.url) ? globalThis.String(object.url) : "" };
43343
+ },
43344
+ toJSON(message) {
43345
+ const obj = {};
43346
+ if (message.url !== "") {
43347
+ obj.url = message.url;
43348
+ }
43349
+ return obj;
43350
+ },
43351
+ create(base) {
43352
+ return WorkspaceDashboardUrlResponse.fromPartial(base ?? {});
43353
+ },
43354
+ fromPartial(object) {
43355
+ const message = createBaseWorkspaceDashboardUrlResponse();
43356
+ message.url = object.url ?? "";
43357
+ return message;
43358
+ }
43359
+ };
42718
43360
  function createBaseWorkspaceNameLookupResponse() {
42719
43361
  return { workspaceName: "", username: "" };
42720
43362
  }
@@ -43164,6 +43806,14 @@ var ModalClientDefinition = {
43164
43806
  responseStream: false,
43165
43807
  options: {}
43166
43808
  },
43809
+ dictGetById: {
43810
+ name: "DictGetById",
43811
+ requestType: DictGetByIdRequest,
43812
+ requestStream: false,
43813
+ responseType: DictGetByIdResponse,
43814
+ responseStream: false,
43815
+ options: {}
43816
+ },
43167
43817
  dictGetOrCreate: {
43168
43818
  name: "DictGetOrCreate",
43169
43819
  requestType: DictGetOrCreateRequest,
@@ -43674,6 +44324,14 @@ var ModalClientDefinition = {
43674
44324
  responseStream: false,
43675
44325
  options: {}
43676
44326
  },
44327
+ queueGetById: {
44328
+ name: "QueueGetById",
44329
+ requestType: QueueGetByIdRequest,
44330
+ requestStream: false,
44331
+ responseType: QueueGetByIdResponse,
44332
+ responseStream: false,
44333
+ options: {}
44334
+ },
43677
44335
  queueGetOrCreate: {
43678
44336
  name: "QueueGetOrCreate",
43679
44337
  requestType: QueueGetOrCreateRequest,
@@ -43909,6 +44567,14 @@ var ModalClientDefinition = {
43909
44567
  responseStream: false,
43910
44568
  options: {}
43911
44569
  },
44570
+ secretUpdate: {
44571
+ name: "SecretUpdate",
44572
+ requestType: SecretUpdateRequest,
44573
+ requestStream: false,
44574
+ responseType: Empty,
44575
+ responseStream: false,
44576
+ options: {}
44577
+ },
43912
44578
  /** SharedVolumes */
43913
44579
  sharedVolumeDelete: {
43914
44580
  name: "SharedVolumeDelete",
@@ -44098,6 +44764,14 @@ var ModalClientDefinition = {
44098
44764
  responseStream: false,
44099
44765
  options: {}
44100
44766
  },
44767
+ volumeGetById: {
44768
+ name: "VolumeGetById",
44769
+ requestType: VolumeGetByIdRequest,
44770
+ requestStream: false,
44771
+ responseType: VolumeGetByIdResponse,
44772
+ responseStream: false,
44773
+ options: {}
44774
+ },
44101
44775
  volumeGetFile: {
44102
44776
  name: "VolumeGetFile",
44103
44777
  requestType: VolumeGetFileRequest,
@@ -44211,6 +44885,14 @@ var ModalClientDefinition = {
44211
44885
  responseStream: true,
44212
44886
  options: {}
44213
44887
  },
44888
+ workspaceDashboardUrlGet: {
44889
+ name: "WorkspaceDashboardUrlGet",
44890
+ requestType: WorkspaceDashboardUrlRequest,
44891
+ requestStream: false,
44892
+ responseType: WorkspaceDashboardUrlResponse,
44893
+ responseStream: false,
44894
+ options: {}
44895
+ },
44214
44896
  workspaceNameLookup: {
44215
44897
  name: "WorkspaceNameLookup",
44216
44898
  requestType: Empty,
@@ -49603,7 +50285,7 @@ var AuthTokenManager = class {
49603
50285
 
49604
50286
  // src/version.ts
49605
50287
  function getSDKVersion() {
49606
- return true ? "0.7.2" : "0.0.0";
50288
+ return true ? "0.7.3-dev.1" : "0.0.0";
49607
50289
  }
49608
50290
 
49609
50291
  // src/logger.ts