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.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
  }
@@ -23277,7 +23396,7 @@ var FunctionSchema = {
23277
23396
  }
23278
23397
  };
23279
23398
  function createBaseFunctionStats() {
23280
- return { backlog: 0, numTotalTasks: 0 };
23399
+ return { backlog: 0, numTotalTasks: 0, numRunningInputs: 0 };
23281
23400
  }
23282
23401
  var FunctionStats = {
23283
23402
  encode(message, writer = new BinaryWriter()) {
@@ -23287,6 +23406,9 @@ var FunctionStats = {
23287
23406
  if (message.numTotalTasks !== 0) {
23288
23407
  writer.uint32(24).uint32(message.numTotalTasks);
23289
23408
  }
23409
+ if (message.numRunningInputs !== 0) {
23410
+ writer.uint32(32).uint32(message.numRunningInputs);
23411
+ }
23290
23412
  return writer;
23291
23413
  },
23292
23414
  decode(input, length) {
@@ -23310,6 +23432,13 @@ var FunctionStats = {
23310
23432
  message.numTotalTasks = reader.uint32();
23311
23433
  continue;
23312
23434
  }
23435
+ case 4: {
23436
+ if (tag !== 32) {
23437
+ break;
23438
+ }
23439
+ message.numRunningInputs = reader.uint32();
23440
+ continue;
23441
+ }
23313
23442
  }
23314
23443
  if ((tag & 7) === 4 || tag === 0) {
23315
23444
  break;
@@ -23321,7 +23450,8 @@ var FunctionStats = {
23321
23450
  fromJSON(object) {
23322
23451
  return {
23323
23452
  backlog: isSet4(object.backlog) ? globalThis.Number(object.backlog) : 0,
23324
- numTotalTasks: isSet4(object.numTotalTasks) ? globalThis.Number(object.numTotalTasks) : 0
23453
+ numTotalTasks: isSet4(object.numTotalTasks) ? globalThis.Number(object.numTotalTasks) : 0,
23454
+ numRunningInputs: isSet4(object.numRunningInputs) ? globalThis.Number(object.numRunningInputs) : 0
23325
23455
  };
23326
23456
  },
23327
23457
  toJSON(message) {
@@ -23332,6 +23462,9 @@ var FunctionStats = {
23332
23462
  if (message.numTotalTasks !== 0) {
23333
23463
  obj.numTotalTasks = Math.round(message.numTotalTasks);
23334
23464
  }
23465
+ if (message.numRunningInputs !== 0) {
23466
+ obj.numRunningInputs = Math.round(message.numRunningInputs);
23467
+ }
23335
23468
  return obj;
23336
23469
  },
23337
23470
  create(base) {
@@ -23341,6 +23474,7 @@ var FunctionStats = {
23341
23474
  const message = createBaseFunctionStats();
23342
23475
  message.backlog = object.backlog ?? 0;
23343
23476
  message.numTotalTasks = object.numTotalTasks ?? 0;
23477
+ message.numRunningInputs = object.numRunningInputs ?? 0;
23344
23478
  return message;
23345
23479
  }
23346
23480
  };
@@ -29392,6 +29526,125 @@ var QueueDeleteRequest = {
29392
29526
  return message;
29393
29527
  }
29394
29528
  };
29529
+ function createBaseQueueGetByIdRequest() {
29530
+ return { queueId: "" };
29531
+ }
29532
+ var QueueGetByIdRequest = {
29533
+ encode(message, writer = new BinaryWriter()) {
29534
+ if (message.queueId !== "") {
29535
+ writer.uint32(10).string(message.queueId);
29536
+ }
29537
+ return writer;
29538
+ },
29539
+ decode(input, length) {
29540
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
29541
+ let end = length === void 0 ? reader.len : reader.pos + length;
29542
+ const message = createBaseQueueGetByIdRequest();
29543
+ while (reader.pos < end) {
29544
+ const tag = reader.uint32();
29545
+ switch (tag >>> 3) {
29546
+ case 1: {
29547
+ if (tag !== 10) {
29548
+ break;
29549
+ }
29550
+ message.queueId = reader.string();
29551
+ continue;
29552
+ }
29553
+ }
29554
+ if ((tag & 7) === 4 || tag === 0) {
29555
+ break;
29556
+ }
29557
+ reader.skip(tag & 7);
29558
+ }
29559
+ return message;
29560
+ },
29561
+ fromJSON(object) {
29562
+ return { queueId: isSet4(object.queueId) ? globalThis.String(object.queueId) : "" };
29563
+ },
29564
+ toJSON(message) {
29565
+ const obj = {};
29566
+ if (message.queueId !== "") {
29567
+ obj.queueId = message.queueId;
29568
+ }
29569
+ return obj;
29570
+ },
29571
+ create(base) {
29572
+ return QueueGetByIdRequest.fromPartial(base ?? {});
29573
+ },
29574
+ fromPartial(object) {
29575
+ const message = createBaseQueueGetByIdRequest();
29576
+ message.queueId = object.queueId ?? "";
29577
+ return message;
29578
+ }
29579
+ };
29580
+ function createBaseQueueGetByIdResponse() {
29581
+ return { queueId: "", metadata: void 0 };
29582
+ }
29583
+ var QueueGetByIdResponse = {
29584
+ encode(message, writer = new BinaryWriter()) {
29585
+ if (message.queueId !== "") {
29586
+ writer.uint32(10).string(message.queueId);
29587
+ }
29588
+ if (message.metadata !== void 0) {
29589
+ QueueMetadata.encode(message.metadata, writer.uint32(18).fork()).join();
29590
+ }
29591
+ return writer;
29592
+ },
29593
+ decode(input, length) {
29594
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
29595
+ let end = length === void 0 ? reader.len : reader.pos + length;
29596
+ const message = createBaseQueueGetByIdResponse();
29597
+ while (reader.pos < end) {
29598
+ const tag = reader.uint32();
29599
+ switch (tag >>> 3) {
29600
+ case 1: {
29601
+ if (tag !== 10) {
29602
+ break;
29603
+ }
29604
+ message.queueId = reader.string();
29605
+ continue;
29606
+ }
29607
+ case 2: {
29608
+ if (tag !== 18) {
29609
+ break;
29610
+ }
29611
+ message.metadata = QueueMetadata.decode(reader, reader.uint32());
29612
+ continue;
29613
+ }
29614
+ }
29615
+ if ((tag & 7) === 4 || tag === 0) {
29616
+ break;
29617
+ }
29618
+ reader.skip(tag & 7);
29619
+ }
29620
+ return message;
29621
+ },
29622
+ fromJSON(object) {
29623
+ return {
29624
+ queueId: isSet4(object.queueId) ? globalThis.String(object.queueId) : "",
29625
+ metadata: isSet4(object.metadata) ? QueueMetadata.fromJSON(object.metadata) : void 0
29626
+ };
29627
+ },
29628
+ toJSON(message) {
29629
+ const obj = {};
29630
+ if (message.queueId !== "") {
29631
+ obj.queueId = message.queueId;
29632
+ }
29633
+ if (message.metadata !== void 0) {
29634
+ obj.metadata = QueueMetadata.toJSON(message.metadata);
29635
+ }
29636
+ return obj;
29637
+ },
29638
+ create(base) {
29639
+ return QueueGetByIdResponse.fromPartial(base ?? {});
29640
+ },
29641
+ fromPartial(object) {
29642
+ const message = createBaseQueueGetByIdResponse();
29643
+ message.queueId = object.queueId ?? "";
29644
+ message.metadata = object.metadata !== void 0 && object.metadata !== null ? QueueMetadata.fromPartial(object.metadata) : void 0;
29645
+ return message;
29646
+ }
29647
+ };
29395
29648
  function createBaseQueueGetOrCreateRequest() {
29396
29649
  return { deploymentName: "", environmentName: "", objectCreationType: 0 };
29397
29650
  }
@@ -31385,7 +31638,8 @@ function createBaseSandbox() {
31385
31638
  idleTimeoutSecs: void 0,
31386
31639
  directSandboxCommandsEnabled: false,
31387
31640
  RestoreInstanceType: "",
31388
- customDomain: ""
31641
+ customDomain: "",
31642
+ includeOidcIdentityToken: false
31389
31643
  };
31390
31644
  }
31391
31645
  var Sandbox = {
@@ -31492,6 +31746,9 @@ var Sandbox = {
31492
31746
  if (message.customDomain !== "") {
31493
31747
  writer.uint32(290).string(message.customDomain);
31494
31748
  }
31749
+ if (message.includeOidcIdentityToken !== false) {
31750
+ writer.uint32(296).bool(message.includeOidcIdentityToken);
31751
+ }
31495
31752
  return writer;
31496
31753
  },
31497
31754
  decode(input, length) {
@@ -31742,6 +31999,13 @@ var Sandbox = {
31742
31999
  message.customDomain = reader.string();
31743
32000
  continue;
31744
32001
  }
32002
+ case 37: {
32003
+ if (tag !== 296) {
32004
+ break;
32005
+ }
32006
+ message.includeOidcIdentityToken = reader.bool();
32007
+ continue;
32008
+ }
31745
32009
  }
31746
32010
  if ((tag & 7) === 4 || tag === 0) {
31747
32011
  break;
@@ -31788,7 +32052,8 @@ var Sandbox = {
31788
32052
  idleTimeoutSecs: isSet4(object.idleTimeoutSecs) ? globalThis.Number(object.idleTimeoutSecs) : void 0,
31789
32053
  directSandboxCommandsEnabled: isSet4(object.directSandboxCommandsEnabled) ? globalThis.Boolean(object.directSandboxCommandsEnabled) : false,
31790
32054
  RestoreInstanceType: isSet4(object.RestoreInstanceType) ? globalThis.String(object.RestoreInstanceType) : "",
31791
- customDomain: isSet4(object.customDomain) ? globalThis.String(object.customDomain) : ""
32055
+ customDomain: isSet4(object.customDomain) ? globalThis.String(object.customDomain) : "",
32056
+ includeOidcIdentityToken: isSet4(object.includeOidcIdentityToken) ? globalThis.Boolean(object.includeOidcIdentityToken) : false
31792
32057
  };
31793
32058
  },
31794
32059
  toJSON(message) {
@@ -31901,6 +32166,9 @@ var Sandbox = {
31901
32166
  if (message.customDomain !== "") {
31902
32167
  obj.customDomain = message.customDomain;
31903
32168
  }
32169
+ if (message.includeOidcIdentityToken !== false) {
32170
+ obj.includeOidcIdentityToken = message.includeOidcIdentityToken;
32171
+ }
31904
32172
  return obj;
31905
32173
  },
31906
32174
  create(base) {
@@ -31950,6 +32218,7 @@ var Sandbox = {
31950
32218
  message.directSandboxCommandsEnabled = object.directSandboxCommandsEnabled ?? false;
31951
32219
  message.RestoreInstanceType = object.RestoreInstanceType ?? "";
31952
32220
  message.customDomain = object.customDomain ?? "";
32221
+ message.includeOidcIdentityToken = object.includeOidcIdentityToken ?? false;
31953
32222
  return message;
31954
32223
  }
31955
32224
  };
@@ -35836,6 +36105,142 @@ var SecretMetadata = {
35836
36105
  return message;
35837
36106
  }
35838
36107
  };
36108
+ function createBaseSecretUpdateRequest() {
36109
+ return { secretId: "", updates: [] };
36110
+ }
36111
+ var SecretUpdateRequest = {
36112
+ encode(message, writer = new BinaryWriter()) {
36113
+ if (message.secretId !== "") {
36114
+ writer.uint32(10).string(message.secretId);
36115
+ }
36116
+ for (const v of message.updates) {
36117
+ SecretUpdateRequest_Update.encode(v, writer.uint32(18).fork()).join();
36118
+ }
36119
+ return writer;
36120
+ },
36121
+ decode(input, length) {
36122
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
36123
+ let end = length === void 0 ? reader.len : reader.pos + length;
36124
+ const message = createBaseSecretUpdateRequest();
36125
+ while (reader.pos < end) {
36126
+ const tag = reader.uint32();
36127
+ switch (tag >>> 3) {
36128
+ case 1: {
36129
+ if (tag !== 10) {
36130
+ break;
36131
+ }
36132
+ message.secretId = reader.string();
36133
+ continue;
36134
+ }
36135
+ case 2: {
36136
+ if (tag !== 18) {
36137
+ break;
36138
+ }
36139
+ message.updates.push(SecretUpdateRequest_Update.decode(reader, reader.uint32()));
36140
+ continue;
36141
+ }
36142
+ }
36143
+ if ((tag & 7) === 4 || tag === 0) {
36144
+ break;
36145
+ }
36146
+ reader.skip(tag & 7);
36147
+ }
36148
+ return message;
36149
+ },
36150
+ fromJSON(object) {
36151
+ return {
36152
+ secretId: isSet4(object.secretId) ? globalThis.String(object.secretId) : "",
36153
+ updates: globalThis.Array.isArray(object?.updates) ? object.updates.map((e) => SecretUpdateRequest_Update.fromJSON(e)) : []
36154
+ };
36155
+ },
36156
+ toJSON(message) {
36157
+ const obj = {};
36158
+ if (message.secretId !== "") {
36159
+ obj.secretId = message.secretId;
36160
+ }
36161
+ if (message.updates?.length) {
36162
+ obj.updates = message.updates.map((e) => SecretUpdateRequest_Update.toJSON(e));
36163
+ }
36164
+ return obj;
36165
+ },
36166
+ create(base) {
36167
+ return SecretUpdateRequest.fromPartial(base ?? {});
36168
+ },
36169
+ fromPartial(object) {
36170
+ const message = createBaseSecretUpdateRequest();
36171
+ message.secretId = object.secretId ?? "";
36172
+ message.updates = object.updates?.map((e) => SecretUpdateRequest_Update.fromPartial(e)) || [];
36173
+ return message;
36174
+ }
36175
+ };
36176
+ function createBaseSecretUpdateRequest_Update() {
36177
+ return { key: "", value: void 0 };
36178
+ }
36179
+ var SecretUpdateRequest_Update = {
36180
+ encode(message, writer = new BinaryWriter()) {
36181
+ if (message.key !== "") {
36182
+ writer.uint32(10).string(message.key);
36183
+ }
36184
+ if (message.value !== void 0) {
36185
+ writer.uint32(18).string(message.value);
36186
+ }
36187
+ return writer;
36188
+ },
36189
+ decode(input, length) {
36190
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
36191
+ let end = length === void 0 ? reader.len : reader.pos + length;
36192
+ const message = createBaseSecretUpdateRequest_Update();
36193
+ while (reader.pos < end) {
36194
+ const tag = reader.uint32();
36195
+ switch (tag >>> 3) {
36196
+ case 1: {
36197
+ if (tag !== 10) {
36198
+ break;
36199
+ }
36200
+ message.key = reader.string();
36201
+ continue;
36202
+ }
36203
+ case 2: {
36204
+ if (tag !== 18) {
36205
+ break;
36206
+ }
36207
+ message.value = reader.string();
36208
+ continue;
36209
+ }
36210
+ }
36211
+ if ((tag & 7) === 4 || tag === 0) {
36212
+ break;
36213
+ }
36214
+ reader.skip(tag & 7);
36215
+ }
36216
+ return message;
36217
+ },
36218
+ fromJSON(object) {
36219
+ return {
36220
+ key: isSet4(object.key) ? globalThis.String(object.key) : "",
36221
+ value: isSet4(object.value) ? globalThis.String(object.value) : void 0
36222
+ };
36223
+ },
36224
+ toJSON(message) {
36225
+ const obj = {};
36226
+ if (message.key !== "") {
36227
+ obj.key = message.key;
36228
+ }
36229
+ if (message.value !== void 0) {
36230
+ obj.value = message.value;
36231
+ }
36232
+ return obj;
36233
+ },
36234
+ create(base) {
36235
+ return SecretUpdateRequest_Update.fromPartial(base ?? {});
36236
+ },
36237
+ fromPartial(object) {
36238
+ const message = createBaseSecretUpdateRequest_Update();
36239
+ message.key = object.key ?? "";
36240
+ message.value = object.value ?? void 0;
36241
+ return message;
36242
+ }
36243
+ };
35839
36244
  function createBaseServiceUserIdentity() {
35840
36245
  return { serviceUserId: "", serviceUserName: "", createdBy: void 0 };
35841
36246
  }
@@ -38831,7 +39236,8 @@ function createBaseTokenInfoGetResponse() {
38831
39236
  userIdentity: void 0,
38832
39237
  serviceUserIdentity: void 0,
38833
39238
  createdAt: void 0,
38834
- expiresAt: void 0
39239
+ expiresAt: void 0,
39240
+ tokenName: ""
38835
39241
  };
38836
39242
  }
38837
39243
  var TokenInfoGetResponse = {
@@ -38857,6 +39263,9 @@ var TokenInfoGetResponse = {
38857
39263
  if (message.expiresAt !== void 0) {
38858
39264
  Timestamp.encode(toTimestamp(message.expiresAt), writer.uint32(58).fork()).join();
38859
39265
  }
39266
+ if (message.tokenName !== "") {
39267
+ writer.uint32(66).string(message.tokenName);
39268
+ }
38860
39269
  return writer;
38861
39270
  },
38862
39271
  decode(input, length) {
@@ -38915,6 +39324,13 @@ var TokenInfoGetResponse = {
38915
39324
  message.expiresAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
38916
39325
  continue;
38917
39326
  }
39327
+ case 8: {
39328
+ if (tag !== 66) {
39329
+ break;
39330
+ }
39331
+ message.tokenName = reader.string();
39332
+ continue;
39333
+ }
38918
39334
  }
38919
39335
  if ((tag & 7) === 4 || tag === 0) {
38920
39336
  break;
@@ -38931,7 +39347,8 @@ var TokenInfoGetResponse = {
38931
39347
  userIdentity: isSet4(object.userIdentity) ? UserIdentity.fromJSON(object.userIdentity) : void 0,
38932
39348
  serviceUserIdentity: isSet4(object.serviceUserIdentity) ? ServiceUserIdentity.fromJSON(object.serviceUserIdentity) : void 0,
38933
39349
  createdAt: isSet4(object.createdAt) ? fromJsonTimestamp(object.createdAt) : void 0,
38934
- expiresAt: isSet4(object.expiresAt) ? fromJsonTimestamp(object.expiresAt) : void 0
39350
+ expiresAt: isSet4(object.expiresAt) ? fromJsonTimestamp(object.expiresAt) : void 0,
39351
+ tokenName: isSet4(object.tokenName) ? globalThis.String(object.tokenName) : ""
38935
39352
  };
38936
39353
  },
38937
39354
  toJSON(message) {
@@ -38957,6 +39374,9 @@ var TokenInfoGetResponse = {
38957
39374
  if (message.expiresAt !== void 0) {
38958
39375
  obj.expiresAt = message.expiresAt.toISOString();
38959
39376
  }
39377
+ if (message.tokenName !== "") {
39378
+ obj.tokenName = message.tokenName;
39379
+ }
38960
39380
  return obj;
38961
39381
  },
38962
39382
  create(base) {
@@ -38971,6 +39391,7 @@ var TokenInfoGetResponse = {
38971
39391
  message.serviceUserIdentity = object.serviceUserIdentity !== void 0 && object.serviceUserIdentity !== null ? ServiceUserIdentity.fromPartial(object.serviceUserIdentity) : void 0;
38972
39392
  message.createdAt = object.createdAt ?? void 0;
38973
39393
  message.expiresAt = object.expiresAt ?? void 0;
39394
+ message.tokenName = object.tokenName ?? "";
38974
39395
  return message;
38975
39396
  }
38976
39397
  };
@@ -39855,6 +40276,125 @@ var VolumeDeleteRequest = {
39855
40276
  return message;
39856
40277
  }
39857
40278
  };
40279
+ function createBaseVolumeGetByIdRequest() {
40280
+ return { volumeId: "" };
40281
+ }
40282
+ var VolumeGetByIdRequest = {
40283
+ encode(message, writer = new BinaryWriter()) {
40284
+ if (message.volumeId !== "") {
40285
+ writer.uint32(10).string(message.volumeId);
40286
+ }
40287
+ return writer;
40288
+ },
40289
+ decode(input, length) {
40290
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
40291
+ let end = length === void 0 ? reader.len : reader.pos + length;
40292
+ const message = createBaseVolumeGetByIdRequest();
40293
+ while (reader.pos < end) {
40294
+ const tag = reader.uint32();
40295
+ switch (tag >>> 3) {
40296
+ case 1: {
40297
+ if (tag !== 10) {
40298
+ break;
40299
+ }
40300
+ message.volumeId = reader.string();
40301
+ continue;
40302
+ }
40303
+ }
40304
+ if ((tag & 7) === 4 || tag === 0) {
40305
+ break;
40306
+ }
40307
+ reader.skip(tag & 7);
40308
+ }
40309
+ return message;
40310
+ },
40311
+ fromJSON(object) {
40312
+ return { volumeId: isSet4(object.volumeId) ? globalThis.String(object.volumeId) : "" };
40313
+ },
40314
+ toJSON(message) {
40315
+ const obj = {};
40316
+ if (message.volumeId !== "") {
40317
+ obj.volumeId = message.volumeId;
40318
+ }
40319
+ return obj;
40320
+ },
40321
+ create(base) {
40322
+ return VolumeGetByIdRequest.fromPartial(base ?? {});
40323
+ },
40324
+ fromPartial(object) {
40325
+ const message = createBaseVolumeGetByIdRequest();
40326
+ message.volumeId = object.volumeId ?? "";
40327
+ return message;
40328
+ }
40329
+ };
40330
+ function createBaseVolumeGetByIdResponse() {
40331
+ return { volumeId: "", metadata: void 0 };
40332
+ }
40333
+ var VolumeGetByIdResponse = {
40334
+ encode(message, writer = new BinaryWriter()) {
40335
+ if (message.volumeId !== "") {
40336
+ writer.uint32(10).string(message.volumeId);
40337
+ }
40338
+ if (message.metadata !== void 0) {
40339
+ VolumeMetadata.encode(message.metadata, writer.uint32(18).fork()).join();
40340
+ }
40341
+ return writer;
40342
+ },
40343
+ decode(input, length) {
40344
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
40345
+ let end = length === void 0 ? reader.len : reader.pos + length;
40346
+ const message = createBaseVolumeGetByIdResponse();
40347
+ while (reader.pos < end) {
40348
+ const tag = reader.uint32();
40349
+ switch (tag >>> 3) {
40350
+ case 1: {
40351
+ if (tag !== 10) {
40352
+ break;
40353
+ }
40354
+ message.volumeId = reader.string();
40355
+ continue;
40356
+ }
40357
+ case 2: {
40358
+ if (tag !== 18) {
40359
+ break;
40360
+ }
40361
+ message.metadata = VolumeMetadata.decode(reader, reader.uint32());
40362
+ continue;
40363
+ }
40364
+ }
40365
+ if ((tag & 7) === 4 || tag === 0) {
40366
+ break;
40367
+ }
40368
+ reader.skip(tag & 7);
40369
+ }
40370
+ return message;
40371
+ },
40372
+ fromJSON(object) {
40373
+ return {
40374
+ volumeId: isSet4(object.volumeId) ? globalThis.String(object.volumeId) : "",
40375
+ metadata: isSet4(object.metadata) ? VolumeMetadata.fromJSON(object.metadata) : void 0
40376
+ };
40377
+ },
40378
+ toJSON(message) {
40379
+ const obj = {};
40380
+ if (message.volumeId !== "") {
40381
+ obj.volumeId = message.volumeId;
40382
+ }
40383
+ if (message.metadata !== void 0) {
40384
+ obj.metadata = VolumeMetadata.toJSON(message.metadata);
40385
+ }
40386
+ return obj;
40387
+ },
40388
+ create(base) {
40389
+ return VolumeGetByIdResponse.fromPartial(base ?? {});
40390
+ },
40391
+ fromPartial(object) {
40392
+ const message = createBaseVolumeGetByIdResponse();
40393
+ message.volumeId = object.volumeId ?? "";
40394
+ message.metadata = object.metadata !== void 0 && object.metadata !== null ? VolumeMetadata.fromPartial(object.metadata) : void 0;
40395
+ return message;
40396
+ }
40397
+ };
39858
40398
  function createBaseVolumeGetFile2Request() {
39859
40399
  return { volumeId: "", path: "", start: 0, len: 0 };
39860
40400
  }
@@ -42640,6 +43180,108 @@ var WorkspaceBillingReportRequest = {
42640
43180
  return message;
42641
43181
  }
42642
43182
  };
43183
+ function createBaseWorkspaceDashboardUrlRequest() {
43184
+ return { environmentName: "" };
43185
+ }
43186
+ var WorkspaceDashboardUrlRequest = {
43187
+ encode(message, writer = new BinaryWriter()) {
43188
+ if (message.environmentName !== "") {
43189
+ writer.uint32(10).string(message.environmentName);
43190
+ }
43191
+ return writer;
43192
+ },
43193
+ decode(input, length) {
43194
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
43195
+ let end = length === void 0 ? reader.len : reader.pos + length;
43196
+ const message = createBaseWorkspaceDashboardUrlRequest();
43197
+ while (reader.pos < end) {
43198
+ const tag = reader.uint32();
43199
+ switch (tag >>> 3) {
43200
+ case 1: {
43201
+ if (tag !== 10) {
43202
+ break;
43203
+ }
43204
+ message.environmentName = reader.string();
43205
+ continue;
43206
+ }
43207
+ }
43208
+ if ((tag & 7) === 4 || tag === 0) {
43209
+ break;
43210
+ }
43211
+ reader.skip(tag & 7);
43212
+ }
43213
+ return message;
43214
+ },
43215
+ fromJSON(object) {
43216
+ return { environmentName: isSet4(object.environmentName) ? globalThis.String(object.environmentName) : "" };
43217
+ },
43218
+ toJSON(message) {
43219
+ const obj = {};
43220
+ if (message.environmentName !== "") {
43221
+ obj.environmentName = message.environmentName;
43222
+ }
43223
+ return obj;
43224
+ },
43225
+ create(base) {
43226
+ return WorkspaceDashboardUrlRequest.fromPartial(base ?? {});
43227
+ },
43228
+ fromPartial(object) {
43229
+ const message = createBaseWorkspaceDashboardUrlRequest();
43230
+ message.environmentName = object.environmentName ?? "";
43231
+ return message;
43232
+ }
43233
+ };
43234
+ function createBaseWorkspaceDashboardUrlResponse() {
43235
+ return { url: "" };
43236
+ }
43237
+ var WorkspaceDashboardUrlResponse = {
43238
+ encode(message, writer = new BinaryWriter()) {
43239
+ if (message.url !== "") {
43240
+ writer.uint32(10).string(message.url);
43241
+ }
43242
+ return writer;
43243
+ },
43244
+ decode(input, length) {
43245
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
43246
+ let end = length === void 0 ? reader.len : reader.pos + length;
43247
+ const message = createBaseWorkspaceDashboardUrlResponse();
43248
+ while (reader.pos < end) {
43249
+ const tag = reader.uint32();
43250
+ switch (tag >>> 3) {
43251
+ case 1: {
43252
+ if (tag !== 10) {
43253
+ break;
43254
+ }
43255
+ message.url = reader.string();
43256
+ continue;
43257
+ }
43258
+ }
43259
+ if ((tag & 7) === 4 || tag === 0) {
43260
+ break;
43261
+ }
43262
+ reader.skip(tag & 7);
43263
+ }
43264
+ return message;
43265
+ },
43266
+ fromJSON(object) {
43267
+ return { url: isSet4(object.url) ? globalThis.String(object.url) : "" };
43268
+ },
43269
+ toJSON(message) {
43270
+ const obj = {};
43271
+ if (message.url !== "") {
43272
+ obj.url = message.url;
43273
+ }
43274
+ return obj;
43275
+ },
43276
+ create(base) {
43277
+ return WorkspaceDashboardUrlResponse.fromPartial(base ?? {});
43278
+ },
43279
+ fromPartial(object) {
43280
+ const message = createBaseWorkspaceDashboardUrlResponse();
43281
+ message.url = object.url ?? "";
43282
+ return message;
43283
+ }
43284
+ };
42643
43285
  function createBaseWorkspaceNameLookupResponse() {
42644
43286
  return { workspaceName: "", username: "" };
42645
43287
  }
@@ -43089,6 +43731,14 @@ var ModalClientDefinition = {
43089
43731
  responseStream: false,
43090
43732
  options: {}
43091
43733
  },
43734
+ dictGetById: {
43735
+ name: "DictGetById",
43736
+ requestType: DictGetByIdRequest,
43737
+ requestStream: false,
43738
+ responseType: DictGetByIdResponse,
43739
+ responseStream: false,
43740
+ options: {}
43741
+ },
43092
43742
  dictGetOrCreate: {
43093
43743
  name: "DictGetOrCreate",
43094
43744
  requestType: DictGetOrCreateRequest,
@@ -43599,6 +44249,14 @@ var ModalClientDefinition = {
43599
44249
  responseStream: false,
43600
44250
  options: {}
43601
44251
  },
44252
+ queueGetById: {
44253
+ name: "QueueGetById",
44254
+ requestType: QueueGetByIdRequest,
44255
+ requestStream: false,
44256
+ responseType: QueueGetByIdResponse,
44257
+ responseStream: false,
44258
+ options: {}
44259
+ },
43602
44260
  queueGetOrCreate: {
43603
44261
  name: "QueueGetOrCreate",
43604
44262
  requestType: QueueGetOrCreateRequest,
@@ -43834,6 +44492,14 @@ var ModalClientDefinition = {
43834
44492
  responseStream: false,
43835
44493
  options: {}
43836
44494
  },
44495
+ secretUpdate: {
44496
+ name: "SecretUpdate",
44497
+ requestType: SecretUpdateRequest,
44498
+ requestStream: false,
44499
+ responseType: Empty,
44500
+ responseStream: false,
44501
+ options: {}
44502
+ },
43837
44503
  /** SharedVolumes */
43838
44504
  sharedVolumeDelete: {
43839
44505
  name: "SharedVolumeDelete",
@@ -44023,6 +44689,14 @@ var ModalClientDefinition = {
44023
44689
  responseStream: false,
44024
44690
  options: {}
44025
44691
  },
44692
+ volumeGetById: {
44693
+ name: "VolumeGetById",
44694
+ requestType: VolumeGetByIdRequest,
44695
+ requestStream: false,
44696
+ responseType: VolumeGetByIdResponse,
44697
+ responseStream: false,
44698
+ options: {}
44699
+ },
44026
44700
  volumeGetFile: {
44027
44701
  name: "VolumeGetFile",
44028
44702
  requestType: VolumeGetFileRequest,
@@ -44136,6 +44810,14 @@ var ModalClientDefinition = {
44136
44810
  responseStream: true,
44137
44811
  options: {}
44138
44812
  },
44813
+ workspaceDashboardUrlGet: {
44814
+ name: "WorkspaceDashboardUrlGet",
44815
+ requestType: WorkspaceDashboardUrlRequest,
44816
+ requestStream: false,
44817
+ responseType: WorkspaceDashboardUrlResponse,
44818
+ responseStream: false,
44819
+ options: {}
44820
+ },
44139
44821
  workspaceNameLookup: {
44140
44822
  name: "WorkspaceNameLookup",
44141
44823
  requestType: Empty,
@@ -49541,7 +50223,7 @@ var AuthTokenManager = class {
49541
50223
 
49542
50224
  // src/version.ts
49543
50225
  function getSDKVersion() {
49544
- return true ? "0.7.2" : "0.0.0";
50226
+ return true ? "0.7.3-dev.1" : "0.0.0";
49545
50227
  }
49546
50228
 
49547
50229
  // src/logger.ts