modal 0.10.2-dev.2 → 0.10.2-dev.3

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
@@ -2350,6 +2350,76 @@ function fileDescriptorToJSON(object) {
2350
2350
  return "UNRECOGNIZED";
2351
2351
  }
2352
2352
  }
2353
+ function functionCallInputStatusFromJSON(object) {
2354
+ switch (object) {
2355
+ case 0:
2356
+ case "FUNCTION_CALL_INPUT_STATUS_UNSPECIFIED":
2357
+ return 0 /* FUNCTION_CALL_INPUT_STATUS_UNSPECIFIED */;
2358
+ case 1:
2359
+ case "FUNCTION_CALL_INPUT_STATUS_PENDING":
2360
+ return 1 /* FUNCTION_CALL_INPUT_STATUS_PENDING */;
2361
+ case 2:
2362
+ case "FUNCTION_CALL_INPUT_STATUS_RUNNING":
2363
+ return 2 /* FUNCTION_CALL_INPUT_STATUS_RUNNING */;
2364
+ case 3:
2365
+ case "FUNCTION_CALL_INPUT_STATUS_SUCCESS":
2366
+ return 3 /* FUNCTION_CALL_INPUT_STATUS_SUCCESS */;
2367
+ case 4:
2368
+ case "FUNCTION_CALL_INPUT_STATUS_FAILURE":
2369
+ return 4 /* FUNCTION_CALL_INPUT_STATUS_FAILURE */;
2370
+ case 5:
2371
+ case "FUNCTION_CALL_INPUT_STATUS_TIMEOUT":
2372
+ return 5 /* FUNCTION_CALL_INPUT_STATUS_TIMEOUT */;
2373
+ case 6:
2374
+ case "FUNCTION_CALL_INPUT_STATUS_TERMINATED":
2375
+ return 6 /* FUNCTION_CALL_INPUT_STATUS_TERMINATED */;
2376
+ case 7:
2377
+ case "FUNCTION_CALL_INPUT_STATUS_INIT_FAILURE":
2378
+ return 7 /* FUNCTION_CALL_INPUT_STATUS_INIT_FAILURE */;
2379
+ case 8:
2380
+ case "FUNCTION_CALL_INPUT_STATUS_INTERNAL_FAILURE":
2381
+ return 8 /* FUNCTION_CALL_INPUT_STATUS_INTERNAL_FAILURE */;
2382
+ case 9:
2383
+ case "FUNCTION_CALL_INPUT_STATUS_IDLE_TIMEOUT":
2384
+ return 9 /* FUNCTION_CALL_INPUT_STATUS_IDLE_TIMEOUT */;
2385
+ case 10:
2386
+ case "FUNCTION_CALL_INPUT_STATUS_MEMORY_MANAGER_EVICTION":
2387
+ return 10 /* FUNCTION_CALL_INPUT_STATUS_MEMORY_MANAGER_EVICTION */;
2388
+ case -1:
2389
+ case "UNRECOGNIZED":
2390
+ default:
2391
+ return -1 /* UNRECOGNIZED */;
2392
+ }
2393
+ }
2394
+ function functionCallInputStatusToJSON(object) {
2395
+ switch (object) {
2396
+ case 0 /* FUNCTION_CALL_INPUT_STATUS_UNSPECIFIED */:
2397
+ return "FUNCTION_CALL_INPUT_STATUS_UNSPECIFIED";
2398
+ case 1 /* FUNCTION_CALL_INPUT_STATUS_PENDING */:
2399
+ return "FUNCTION_CALL_INPUT_STATUS_PENDING";
2400
+ case 2 /* FUNCTION_CALL_INPUT_STATUS_RUNNING */:
2401
+ return "FUNCTION_CALL_INPUT_STATUS_RUNNING";
2402
+ case 3 /* FUNCTION_CALL_INPUT_STATUS_SUCCESS */:
2403
+ return "FUNCTION_CALL_INPUT_STATUS_SUCCESS";
2404
+ case 4 /* FUNCTION_CALL_INPUT_STATUS_FAILURE */:
2405
+ return "FUNCTION_CALL_INPUT_STATUS_FAILURE";
2406
+ case 5 /* FUNCTION_CALL_INPUT_STATUS_TIMEOUT */:
2407
+ return "FUNCTION_CALL_INPUT_STATUS_TIMEOUT";
2408
+ case 6 /* FUNCTION_CALL_INPUT_STATUS_TERMINATED */:
2409
+ return "FUNCTION_CALL_INPUT_STATUS_TERMINATED";
2410
+ case 7 /* FUNCTION_CALL_INPUT_STATUS_INIT_FAILURE */:
2411
+ return "FUNCTION_CALL_INPUT_STATUS_INIT_FAILURE";
2412
+ case 8 /* FUNCTION_CALL_INPUT_STATUS_INTERNAL_FAILURE */:
2413
+ return "FUNCTION_CALL_INPUT_STATUS_INTERNAL_FAILURE";
2414
+ case 9 /* FUNCTION_CALL_INPUT_STATUS_IDLE_TIMEOUT */:
2415
+ return "FUNCTION_CALL_INPUT_STATUS_IDLE_TIMEOUT";
2416
+ case 10 /* FUNCTION_CALL_INPUT_STATUS_MEMORY_MANAGER_EVICTION */:
2417
+ return "FUNCTION_CALL_INPUT_STATUS_MEMORY_MANAGER_EVICTION";
2418
+ case -1 /* UNRECOGNIZED */:
2419
+ default:
2420
+ return "UNRECOGNIZED";
2421
+ }
2422
+ }
2353
2423
  function functionCallInvocationTypeFromJSON(object) {
2354
2424
  switch (object) {
2355
2425
  case 0:
@@ -3611,6 +3681,9 @@ function sandboxGetExitSnapshotResponse_ErrorCodeFromJSON(object) {
3611
3681
  case 2:
3612
3682
  case "ERROR_CODE_INTERNAL":
3613
3683
  return 2 /* ERROR_CODE_INTERNAL */;
3684
+ case 3:
3685
+ case "ERROR_CODE_FILESYSTEM_INCONSISTENT":
3686
+ return 3 /* ERROR_CODE_FILESYSTEM_INCONSISTENT */;
3614
3687
  case -1:
3615
3688
  case "UNRECOGNIZED":
3616
3689
  default:
@@ -3625,6 +3698,8 @@ function sandboxGetExitSnapshotResponse_ErrorCodeToJSON(object) {
3625
3698
  return "ERROR_CODE_TIMEOUT";
3626
3699
  case 2 /* ERROR_CODE_INTERNAL */:
3627
3700
  return "ERROR_CODE_INTERNAL";
3701
+ case 3 /* ERROR_CODE_FILESYSTEM_INCONSISTENT */:
3702
+ return "ERROR_CODE_FILESYSTEM_INCONSISTENT";
3628
3703
  case -1 /* UNRECOGNIZED */:
3629
3704
  default:
3630
3705
  return "UNRECOGNIZED";
@@ -24493,6 +24568,193 @@ var FunctionCallCancelRequest = {
24493
24568
  return message;
24494
24569
  }
24495
24570
  };
24571
+ function createBaseFunctionCallFetchRequest() {
24572
+ return { functionId: "", tail: void 0, allVariants: false };
24573
+ }
24574
+ var FunctionCallFetchRequest = {
24575
+ encode(message, writer = new BinaryWriter()) {
24576
+ if (message.functionId !== "") {
24577
+ writer.uint32(10).string(message.functionId);
24578
+ }
24579
+ if (message.tail !== void 0) {
24580
+ FunctionCallFetchRequest_Tail.encode(message.tail, writer.uint32(26).fork()).join();
24581
+ }
24582
+ if (message.allVariants !== false) {
24583
+ writer.uint32(32).bool(message.allVariants);
24584
+ }
24585
+ return writer;
24586
+ },
24587
+ decode(input, length) {
24588
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
24589
+ let end = length === void 0 ? reader.len : reader.pos + length;
24590
+ const message = createBaseFunctionCallFetchRequest();
24591
+ while (reader.pos < end) {
24592
+ const tag = reader.uint32();
24593
+ switch (tag >>> 3) {
24594
+ case 1: {
24595
+ if (tag !== 10) {
24596
+ break;
24597
+ }
24598
+ message.functionId = reader.string();
24599
+ continue;
24600
+ }
24601
+ case 3: {
24602
+ if (tag !== 26) {
24603
+ break;
24604
+ }
24605
+ message.tail = FunctionCallFetchRequest_Tail.decode(reader, reader.uint32());
24606
+ continue;
24607
+ }
24608
+ case 4: {
24609
+ if (tag !== 32) {
24610
+ break;
24611
+ }
24612
+ message.allVariants = reader.bool();
24613
+ continue;
24614
+ }
24615
+ }
24616
+ if ((tag & 7) === 4 || tag === 0) {
24617
+ break;
24618
+ }
24619
+ reader.skip(tag & 7);
24620
+ }
24621
+ return message;
24622
+ },
24623
+ fromJSON(object) {
24624
+ return {
24625
+ functionId: isSet5(object.functionId) ? globalThis.String(object.functionId) : "",
24626
+ tail: isSet5(object.tail) ? FunctionCallFetchRequest_Tail.fromJSON(object.tail) : void 0,
24627
+ allVariants: isSet5(object.allVariants) ? globalThis.Boolean(object.allVariants) : false
24628
+ };
24629
+ },
24630
+ toJSON(message) {
24631
+ const obj = {};
24632
+ if (message.functionId !== "") {
24633
+ obj.functionId = message.functionId;
24634
+ }
24635
+ if (message.tail !== void 0) {
24636
+ obj.tail = FunctionCallFetchRequest_Tail.toJSON(message.tail);
24637
+ }
24638
+ if (message.allVariants !== false) {
24639
+ obj.allVariants = message.allVariants;
24640
+ }
24641
+ return obj;
24642
+ },
24643
+ create(base) {
24644
+ return FunctionCallFetchRequest.fromPartial(base ?? {});
24645
+ },
24646
+ fromPartial(object) {
24647
+ const message = createBaseFunctionCallFetchRequest();
24648
+ message.functionId = object.functionId ?? "";
24649
+ message.tail = object.tail !== void 0 && object.tail !== null ? FunctionCallFetchRequest_Tail.fromPartial(object.tail) : void 0;
24650
+ message.allVariants = object.allVariants ?? false;
24651
+ return message;
24652
+ }
24653
+ };
24654
+ function createBaseFunctionCallFetchRequest_Tail() {
24655
+ return { count: 0 };
24656
+ }
24657
+ var FunctionCallFetchRequest_Tail = {
24658
+ encode(message, writer = new BinaryWriter()) {
24659
+ if (message.count !== 0) {
24660
+ writer.uint32(8).uint32(message.count);
24661
+ }
24662
+ return writer;
24663
+ },
24664
+ decode(input, length) {
24665
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
24666
+ let end = length === void 0 ? reader.len : reader.pos + length;
24667
+ const message = createBaseFunctionCallFetchRequest_Tail();
24668
+ while (reader.pos < end) {
24669
+ const tag = reader.uint32();
24670
+ switch (tag >>> 3) {
24671
+ case 1: {
24672
+ if (tag !== 8) {
24673
+ break;
24674
+ }
24675
+ message.count = reader.uint32();
24676
+ continue;
24677
+ }
24678
+ }
24679
+ if ((tag & 7) === 4 || tag === 0) {
24680
+ break;
24681
+ }
24682
+ reader.skip(tag & 7);
24683
+ }
24684
+ return message;
24685
+ },
24686
+ fromJSON(object) {
24687
+ return { count: isSet5(object.count) ? globalThis.Number(object.count) : 0 };
24688
+ },
24689
+ toJSON(message) {
24690
+ const obj = {};
24691
+ if (message.count !== 0) {
24692
+ obj.count = Math.round(message.count);
24693
+ }
24694
+ return obj;
24695
+ },
24696
+ create(base) {
24697
+ return FunctionCallFetchRequest_Tail.fromPartial(base ?? {});
24698
+ },
24699
+ fromPartial(object) {
24700
+ const message = createBaseFunctionCallFetchRequest_Tail();
24701
+ message.count = object.count ?? 0;
24702
+ return message;
24703
+ }
24704
+ };
24705
+ function createBaseFunctionCallFetchResponse() {
24706
+ return { functionCallInputs: [] };
24707
+ }
24708
+ var FunctionCallFetchResponse = {
24709
+ encode(message, writer = new BinaryWriter()) {
24710
+ for (const v of message.functionCallInputs) {
24711
+ FunctionCallInputInfo.encode(v, writer.uint32(10).fork()).join();
24712
+ }
24713
+ return writer;
24714
+ },
24715
+ decode(input, length) {
24716
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
24717
+ let end = length === void 0 ? reader.len : reader.pos + length;
24718
+ const message = createBaseFunctionCallFetchResponse();
24719
+ while (reader.pos < end) {
24720
+ const tag = reader.uint32();
24721
+ switch (tag >>> 3) {
24722
+ case 1: {
24723
+ if (tag !== 10) {
24724
+ break;
24725
+ }
24726
+ message.functionCallInputs.push(FunctionCallInputInfo.decode(reader, reader.uint32()));
24727
+ continue;
24728
+ }
24729
+ }
24730
+ if ((tag & 7) === 4 || tag === 0) {
24731
+ break;
24732
+ }
24733
+ reader.skip(tag & 7);
24734
+ }
24735
+ return message;
24736
+ },
24737
+ fromJSON(object) {
24738
+ return {
24739
+ functionCallInputs: globalThis.Array.isArray(object?.functionCallInputs) ? object.functionCallInputs.map((e) => FunctionCallInputInfo.fromJSON(e)) : []
24740
+ };
24741
+ },
24742
+ toJSON(message) {
24743
+ const obj = {};
24744
+ if (message.functionCallInputs?.length) {
24745
+ obj.functionCallInputs = message.functionCallInputs.map((e) => FunctionCallInputInfo.toJSON(e));
24746
+ }
24747
+ return obj;
24748
+ },
24749
+ create(base) {
24750
+ return FunctionCallFetchResponse.fromPartial(base ?? {});
24751
+ },
24752
+ fromPartial(object) {
24753
+ const message = createBaseFunctionCallFetchResponse();
24754
+ message.functionCallInputs = object.functionCallInputs?.map((e) => FunctionCallInputInfo.fromPartial(e)) || [];
24755
+ return message;
24756
+ }
24757
+ };
24496
24758
  function createBaseFunctionCallFromIdRequest() {
24497
24759
  return { functionCallId: "" };
24498
24760
  }
@@ -25096,6 +25358,173 @@ var FunctionCallInfo = {
25096
25358
  return message;
25097
25359
  }
25098
25360
  };
25361
+ function createBaseFunctionCallInputInfo() {
25362
+ return {
25363
+ enqueuedAt: void 0,
25364
+ startedAt: void 0,
25365
+ containerId: void 0,
25366
+ startupTimeSeconds: void 0,
25367
+ executionTimeSeconds: void 0,
25368
+ status: 0,
25369
+ functionCallId: "",
25370
+ serviceMethodName: void 0
25371
+ };
25372
+ }
25373
+ var FunctionCallInputInfo = {
25374
+ encode(message, writer = new BinaryWriter()) {
25375
+ if (message.enqueuedAt !== void 0) {
25376
+ Timestamp.encode(toTimestamp(message.enqueuedAt), writer.uint32(10).fork()).join();
25377
+ }
25378
+ if (message.startedAt !== void 0) {
25379
+ Timestamp.encode(toTimestamp(message.startedAt), writer.uint32(18).fork()).join();
25380
+ }
25381
+ if (message.containerId !== void 0) {
25382
+ writer.uint32(26).string(message.containerId);
25383
+ }
25384
+ if (message.startupTimeSeconds !== void 0) {
25385
+ writer.uint32(33).double(message.startupTimeSeconds);
25386
+ }
25387
+ if (message.executionTimeSeconds !== void 0) {
25388
+ writer.uint32(41).double(message.executionTimeSeconds);
25389
+ }
25390
+ if (message.status !== 0) {
25391
+ writer.uint32(48).int32(message.status);
25392
+ }
25393
+ if (message.functionCallId !== "") {
25394
+ writer.uint32(58).string(message.functionCallId);
25395
+ }
25396
+ if (message.serviceMethodName !== void 0) {
25397
+ writer.uint32(66).string(message.serviceMethodName);
25398
+ }
25399
+ return writer;
25400
+ },
25401
+ decode(input, length) {
25402
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
25403
+ let end = length === void 0 ? reader.len : reader.pos + length;
25404
+ const message = createBaseFunctionCallInputInfo();
25405
+ while (reader.pos < end) {
25406
+ const tag = reader.uint32();
25407
+ switch (tag >>> 3) {
25408
+ case 1: {
25409
+ if (tag !== 10) {
25410
+ break;
25411
+ }
25412
+ message.enqueuedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
25413
+ continue;
25414
+ }
25415
+ case 2: {
25416
+ if (tag !== 18) {
25417
+ break;
25418
+ }
25419
+ message.startedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
25420
+ continue;
25421
+ }
25422
+ case 3: {
25423
+ if (tag !== 26) {
25424
+ break;
25425
+ }
25426
+ message.containerId = reader.string();
25427
+ continue;
25428
+ }
25429
+ case 4: {
25430
+ if (tag !== 33) {
25431
+ break;
25432
+ }
25433
+ message.startupTimeSeconds = reader.double();
25434
+ continue;
25435
+ }
25436
+ case 5: {
25437
+ if (tag !== 41) {
25438
+ break;
25439
+ }
25440
+ message.executionTimeSeconds = reader.double();
25441
+ continue;
25442
+ }
25443
+ case 6: {
25444
+ if (tag !== 48) {
25445
+ break;
25446
+ }
25447
+ message.status = reader.int32();
25448
+ continue;
25449
+ }
25450
+ case 7: {
25451
+ if (tag !== 58) {
25452
+ break;
25453
+ }
25454
+ message.functionCallId = reader.string();
25455
+ continue;
25456
+ }
25457
+ case 8: {
25458
+ if (tag !== 66) {
25459
+ break;
25460
+ }
25461
+ message.serviceMethodName = reader.string();
25462
+ continue;
25463
+ }
25464
+ }
25465
+ if ((tag & 7) === 4 || tag === 0) {
25466
+ break;
25467
+ }
25468
+ reader.skip(tag & 7);
25469
+ }
25470
+ return message;
25471
+ },
25472
+ fromJSON(object) {
25473
+ return {
25474
+ enqueuedAt: isSet5(object.enqueuedAt) ? fromJsonTimestamp(object.enqueuedAt) : void 0,
25475
+ startedAt: isSet5(object.startedAt) ? fromJsonTimestamp(object.startedAt) : void 0,
25476
+ containerId: isSet5(object.containerId) ? globalThis.String(object.containerId) : void 0,
25477
+ startupTimeSeconds: isSet5(object.startupTimeSeconds) ? globalThis.Number(object.startupTimeSeconds) : void 0,
25478
+ executionTimeSeconds: isSet5(object.executionTimeSeconds) ? globalThis.Number(object.executionTimeSeconds) : void 0,
25479
+ status: isSet5(object.status) ? functionCallInputStatusFromJSON(object.status) : 0,
25480
+ functionCallId: isSet5(object.functionCallId) ? globalThis.String(object.functionCallId) : "",
25481
+ serviceMethodName: isSet5(object.serviceMethodName) ? globalThis.String(object.serviceMethodName) : void 0
25482
+ };
25483
+ },
25484
+ toJSON(message) {
25485
+ const obj = {};
25486
+ if (message.enqueuedAt !== void 0) {
25487
+ obj.enqueuedAt = message.enqueuedAt.toISOString();
25488
+ }
25489
+ if (message.startedAt !== void 0) {
25490
+ obj.startedAt = message.startedAt.toISOString();
25491
+ }
25492
+ if (message.containerId !== void 0) {
25493
+ obj.containerId = message.containerId;
25494
+ }
25495
+ if (message.startupTimeSeconds !== void 0) {
25496
+ obj.startupTimeSeconds = message.startupTimeSeconds;
25497
+ }
25498
+ if (message.executionTimeSeconds !== void 0) {
25499
+ obj.executionTimeSeconds = message.executionTimeSeconds;
25500
+ }
25501
+ if (message.status !== 0) {
25502
+ obj.status = functionCallInputStatusToJSON(message.status);
25503
+ }
25504
+ if (message.functionCallId !== "") {
25505
+ obj.functionCallId = message.functionCallId;
25506
+ }
25507
+ if (message.serviceMethodName !== void 0) {
25508
+ obj.serviceMethodName = message.serviceMethodName;
25509
+ }
25510
+ return obj;
25511
+ },
25512
+ create(base) {
25513
+ return FunctionCallInputInfo.fromPartial(base ?? {});
25514
+ },
25515
+ fromPartial(object) {
25516
+ const message = createBaseFunctionCallInputInfo();
25517
+ message.enqueuedAt = object.enqueuedAt ?? void 0;
25518
+ message.startedAt = object.startedAt ?? void 0;
25519
+ message.containerId = object.containerId ?? void 0;
25520
+ message.startupTimeSeconds = object.startupTimeSeconds ?? void 0;
25521
+ message.executionTimeSeconds = object.executionTimeSeconds ?? void 0;
25522
+ message.status = object.status ?? 0;
25523
+ message.functionCallId = object.functionCallId ?? "";
25524
+ message.serviceMethodName = object.serviceMethodName ?? void 0;
25525
+ return message;
25526
+ }
25527
+ };
25099
25528
  function createBaseFunctionCallListRequest() {
25100
25529
  return { functionId: "" };
25101
25530
  }
@@ -29424,6 +29853,172 @@ var FunctionInput = {
29424
29853
  return message;
29425
29854
  }
29426
29855
  };
29856
+ function createBaseFunctionListVariantsRequest() {
29857
+ return { functionId: "", cursor: void 0, limit: 0 };
29858
+ }
29859
+ var FunctionListVariantsRequest = {
29860
+ encode(message, writer = new BinaryWriter()) {
29861
+ if (message.functionId !== "") {
29862
+ writer.uint32(10).string(message.functionId);
29863
+ }
29864
+ if (message.cursor !== void 0) {
29865
+ FunctionVariantCursor.encode(message.cursor, writer.uint32(18).fork()).join();
29866
+ }
29867
+ if (message.limit !== 0) {
29868
+ writer.uint32(24).uint32(message.limit);
29869
+ }
29870
+ return writer;
29871
+ },
29872
+ decode(input, length) {
29873
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
29874
+ let end = length === void 0 ? reader.len : reader.pos + length;
29875
+ const message = createBaseFunctionListVariantsRequest();
29876
+ while (reader.pos < end) {
29877
+ const tag = reader.uint32();
29878
+ switch (tag >>> 3) {
29879
+ case 1: {
29880
+ if (tag !== 10) {
29881
+ break;
29882
+ }
29883
+ message.functionId = reader.string();
29884
+ continue;
29885
+ }
29886
+ case 2: {
29887
+ if (tag !== 18) {
29888
+ break;
29889
+ }
29890
+ message.cursor = FunctionVariantCursor.decode(reader, reader.uint32());
29891
+ continue;
29892
+ }
29893
+ case 3: {
29894
+ if (tag !== 24) {
29895
+ break;
29896
+ }
29897
+ message.limit = reader.uint32();
29898
+ continue;
29899
+ }
29900
+ }
29901
+ if ((tag & 7) === 4 || tag === 0) {
29902
+ break;
29903
+ }
29904
+ reader.skip(tag & 7);
29905
+ }
29906
+ return message;
29907
+ },
29908
+ fromJSON(object) {
29909
+ return {
29910
+ functionId: isSet5(object.functionId) ? globalThis.String(object.functionId) : "",
29911
+ cursor: isSet5(object.cursor) ? FunctionVariantCursor.fromJSON(object.cursor) : void 0,
29912
+ limit: isSet5(object.limit) ? globalThis.Number(object.limit) : 0
29913
+ };
29914
+ },
29915
+ toJSON(message) {
29916
+ const obj = {};
29917
+ if (message.functionId !== "") {
29918
+ obj.functionId = message.functionId;
29919
+ }
29920
+ if (message.cursor !== void 0) {
29921
+ obj.cursor = FunctionVariantCursor.toJSON(message.cursor);
29922
+ }
29923
+ if (message.limit !== 0) {
29924
+ obj.limit = Math.round(message.limit);
29925
+ }
29926
+ return obj;
29927
+ },
29928
+ create(base) {
29929
+ return FunctionListVariantsRequest.fromPartial(base ?? {});
29930
+ },
29931
+ fromPartial(object) {
29932
+ const message = createBaseFunctionListVariantsRequest();
29933
+ message.functionId = object.functionId ?? "";
29934
+ message.cursor = object.cursor !== void 0 && object.cursor !== null ? FunctionVariantCursor.fromPartial(object.cursor) : void 0;
29935
+ message.limit = object.limit ?? 0;
29936
+ return message;
29937
+ }
29938
+ };
29939
+ function createBaseFunctionListVariantsResponse() {
29940
+ return { infos: [], nextCursor: void 0, orderedByTaskCount: false };
29941
+ }
29942
+ var FunctionListVariantsResponse = {
29943
+ encode(message, writer = new BinaryWriter()) {
29944
+ for (const v of message.infos) {
29945
+ FunctionVariantInfo.encode(v, writer.uint32(10).fork()).join();
29946
+ }
29947
+ if (message.nextCursor !== void 0) {
29948
+ FunctionVariantCursor.encode(message.nextCursor, writer.uint32(18).fork()).join();
29949
+ }
29950
+ if (message.orderedByTaskCount !== false) {
29951
+ writer.uint32(24).bool(message.orderedByTaskCount);
29952
+ }
29953
+ return writer;
29954
+ },
29955
+ decode(input, length) {
29956
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
29957
+ let end = length === void 0 ? reader.len : reader.pos + length;
29958
+ const message = createBaseFunctionListVariantsResponse();
29959
+ while (reader.pos < end) {
29960
+ const tag = reader.uint32();
29961
+ switch (tag >>> 3) {
29962
+ case 1: {
29963
+ if (tag !== 10) {
29964
+ break;
29965
+ }
29966
+ message.infos.push(FunctionVariantInfo.decode(reader, reader.uint32()));
29967
+ continue;
29968
+ }
29969
+ case 2: {
29970
+ if (tag !== 18) {
29971
+ break;
29972
+ }
29973
+ message.nextCursor = FunctionVariantCursor.decode(reader, reader.uint32());
29974
+ continue;
29975
+ }
29976
+ case 3: {
29977
+ if (tag !== 24) {
29978
+ break;
29979
+ }
29980
+ message.orderedByTaskCount = reader.bool();
29981
+ continue;
29982
+ }
29983
+ }
29984
+ if ((tag & 7) === 4 || tag === 0) {
29985
+ break;
29986
+ }
29987
+ reader.skip(tag & 7);
29988
+ }
29989
+ return message;
29990
+ },
29991
+ fromJSON(object) {
29992
+ return {
29993
+ infos: globalThis.Array.isArray(object?.infos) ? object.infos.map((e) => FunctionVariantInfo.fromJSON(e)) : [],
29994
+ nextCursor: isSet5(object.nextCursor) ? FunctionVariantCursor.fromJSON(object.nextCursor) : void 0,
29995
+ orderedByTaskCount: isSet5(object.orderedByTaskCount) ? globalThis.Boolean(object.orderedByTaskCount) : false
29996
+ };
29997
+ },
29998
+ toJSON(message) {
29999
+ const obj = {};
30000
+ if (message.infos?.length) {
30001
+ obj.infos = message.infos.map((e) => FunctionVariantInfo.toJSON(e));
30002
+ }
30003
+ if (message.nextCursor !== void 0) {
30004
+ obj.nextCursor = FunctionVariantCursor.toJSON(message.nextCursor);
30005
+ }
30006
+ if (message.orderedByTaskCount !== false) {
30007
+ obj.orderedByTaskCount = message.orderedByTaskCount;
30008
+ }
30009
+ return obj;
30010
+ },
30011
+ create(base) {
30012
+ return FunctionListVariantsResponse.fromPartial(base ?? {});
30013
+ },
30014
+ fromPartial(object) {
30015
+ const message = createBaseFunctionListVariantsResponse();
30016
+ message.infos = object.infos?.map((e) => FunctionVariantInfo.fromPartial(e)) || [];
30017
+ message.nextCursor = object.nextCursor !== void 0 && object.nextCursor !== null ? FunctionVariantCursor.fromPartial(object.nextCursor) : void 0;
30018
+ message.orderedByTaskCount = object.orderedByTaskCount ?? false;
30019
+ return message;
30020
+ }
30021
+ };
29427
30022
  function createBaseFunctionMapRequest() {
29428
30023
  return {
29429
30024
  functionId: "",
@@ -31657,6 +32252,157 @@ var FunctionUpdateSchedulingParamsResponse = {
31657
32252
  return message;
31658
32253
  }
31659
32254
  };
32255
+ function createBaseFunctionVariantCursor() {
32256
+ return { createdBefore: 0, functionId: "" };
32257
+ }
32258
+ var FunctionVariantCursor = {
32259
+ encode(message, writer = new BinaryWriter()) {
32260
+ if (message.createdBefore !== 0) {
32261
+ writer.uint32(9).double(message.createdBefore);
32262
+ }
32263
+ if (message.functionId !== "") {
32264
+ writer.uint32(18).string(message.functionId);
32265
+ }
32266
+ return writer;
32267
+ },
32268
+ decode(input, length) {
32269
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
32270
+ let end = length === void 0 ? reader.len : reader.pos + length;
32271
+ const message = createBaseFunctionVariantCursor();
32272
+ while (reader.pos < end) {
32273
+ const tag = reader.uint32();
32274
+ switch (tag >>> 3) {
32275
+ case 1: {
32276
+ if (tag !== 9) {
32277
+ break;
32278
+ }
32279
+ message.createdBefore = reader.double();
32280
+ continue;
32281
+ }
32282
+ case 2: {
32283
+ if (tag !== 18) {
32284
+ break;
32285
+ }
32286
+ message.functionId = reader.string();
32287
+ continue;
32288
+ }
32289
+ }
32290
+ if ((tag & 7) === 4 || tag === 0) {
32291
+ break;
32292
+ }
32293
+ reader.skip(tag & 7);
32294
+ }
32295
+ return message;
32296
+ },
32297
+ fromJSON(object) {
32298
+ return {
32299
+ createdBefore: isSet5(object.createdBefore) ? globalThis.Number(object.createdBefore) : 0,
32300
+ functionId: isSet5(object.functionId) ? globalThis.String(object.functionId) : ""
32301
+ };
32302
+ },
32303
+ toJSON(message) {
32304
+ const obj = {};
32305
+ if (message.createdBefore !== 0) {
32306
+ obj.createdBefore = message.createdBefore;
32307
+ }
32308
+ if (message.functionId !== "") {
32309
+ obj.functionId = message.functionId;
32310
+ }
32311
+ return obj;
32312
+ },
32313
+ create(base) {
32314
+ return FunctionVariantCursor.fromPartial(base ?? {});
32315
+ },
32316
+ fromPartial(object) {
32317
+ const message = createBaseFunctionVariantCursor();
32318
+ message.createdBefore = object.createdBefore ?? 0;
32319
+ message.functionId = object.functionId ?? "";
32320
+ return message;
32321
+ }
32322
+ };
32323
+ function createBaseFunctionVariantInfo() {
32324
+ return { functionId: "", serializedParams: new Uint8Array(0), functionOptions: void 0 };
32325
+ }
32326
+ var FunctionVariantInfo = {
32327
+ encode(message, writer = new BinaryWriter()) {
32328
+ if (message.functionId !== "") {
32329
+ writer.uint32(10).string(message.functionId);
32330
+ }
32331
+ if (message.serializedParams.length !== 0) {
32332
+ writer.uint32(18).bytes(message.serializedParams);
32333
+ }
32334
+ if (message.functionOptions !== void 0) {
32335
+ FunctionOptions.encode(message.functionOptions, writer.uint32(26).fork()).join();
32336
+ }
32337
+ return writer;
32338
+ },
32339
+ decode(input, length) {
32340
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
32341
+ let end = length === void 0 ? reader.len : reader.pos + length;
32342
+ const message = createBaseFunctionVariantInfo();
32343
+ while (reader.pos < end) {
32344
+ const tag = reader.uint32();
32345
+ switch (tag >>> 3) {
32346
+ case 1: {
32347
+ if (tag !== 10) {
32348
+ break;
32349
+ }
32350
+ message.functionId = reader.string();
32351
+ continue;
32352
+ }
32353
+ case 2: {
32354
+ if (tag !== 18) {
32355
+ break;
32356
+ }
32357
+ message.serializedParams = reader.bytes();
32358
+ continue;
32359
+ }
32360
+ case 3: {
32361
+ if (tag !== 26) {
32362
+ break;
32363
+ }
32364
+ message.functionOptions = FunctionOptions.decode(reader, reader.uint32());
32365
+ continue;
32366
+ }
32367
+ }
32368
+ if ((tag & 7) === 4 || tag === 0) {
32369
+ break;
32370
+ }
32371
+ reader.skip(tag & 7);
32372
+ }
32373
+ return message;
32374
+ },
32375
+ fromJSON(object) {
32376
+ return {
32377
+ functionId: isSet5(object.functionId) ? globalThis.String(object.functionId) : "",
32378
+ serializedParams: isSet5(object.serializedParams) ? bytesFromBase642(object.serializedParams) : new Uint8Array(0),
32379
+ functionOptions: isSet5(object.functionOptions) ? FunctionOptions.fromJSON(object.functionOptions) : void 0
32380
+ };
32381
+ },
32382
+ toJSON(message) {
32383
+ const obj = {};
32384
+ if (message.functionId !== "") {
32385
+ obj.functionId = message.functionId;
32386
+ }
32387
+ if (message.serializedParams.length !== 0) {
32388
+ obj.serializedParams = base64FromBytes2(message.serializedParams);
32389
+ }
32390
+ if (message.functionOptions !== void 0) {
32391
+ obj.functionOptions = FunctionOptions.toJSON(message.functionOptions);
32392
+ }
32393
+ return obj;
32394
+ },
32395
+ create(base) {
32396
+ return FunctionVariantInfo.fromPartial(base ?? {});
32397
+ },
32398
+ fromPartial(object) {
32399
+ const message = createBaseFunctionVariantInfo();
32400
+ message.functionId = object.functionId ?? "";
32401
+ message.serializedParams = object.serializedParams ?? new Uint8Array(0);
32402
+ message.functionOptions = object.functionOptions !== void 0 && object.functionOptions !== null ? FunctionOptions.fromPartial(object.functionOptions) : void 0;
32403
+ return message;
32404
+ }
32405
+ };
31660
32406
  function createBaseGPUConfig() {
31661
32407
  return { type: 0, count: 0, gpuType: "" };
31662
32408
  }
@@ -47867,7 +48613,7 @@ var SecretListResponse = {
47867
48613
  }
47868
48614
  };
47869
48615
  function createBaseSecretMetadata() {
47870
- return { name: "", creationInfo: void 0 };
48616
+ return { name: "", creationInfo: void 0, keys: [] };
47871
48617
  }
47872
48618
  var SecretMetadata = {
47873
48619
  encode(message, writer = new BinaryWriter()) {
@@ -47877,6 +48623,9 @@ var SecretMetadata = {
47877
48623
  if (message.creationInfo !== void 0) {
47878
48624
  CreationInfo.encode(message.creationInfo, writer.uint32(18).fork()).join();
47879
48625
  }
48626
+ for (const v of message.keys) {
48627
+ writer.uint32(26).string(v);
48628
+ }
47880
48629
  return writer;
47881
48630
  },
47882
48631
  decode(input, length) {
@@ -47900,6 +48649,13 @@ var SecretMetadata = {
47900
48649
  message.creationInfo = CreationInfo.decode(reader, reader.uint32());
47901
48650
  continue;
47902
48651
  }
48652
+ case 3: {
48653
+ if (tag !== 26) {
48654
+ break;
48655
+ }
48656
+ message.keys.push(reader.string());
48657
+ continue;
48658
+ }
47903
48659
  }
47904
48660
  if ((tag & 7) === 4 || tag === 0) {
47905
48661
  break;
@@ -47911,7 +48667,8 @@ var SecretMetadata = {
47911
48667
  fromJSON(object) {
47912
48668
  return {
47913
48669
  name: isSet5(object.name) ? globalThis.String(object.name) : "",
47914
- creationInfo: isSet5(object.creationInfo) ? CreationInfo.fromJSON(object.creationInfo) : void 0
48670
+ creationInfo: isSet5(object.creationInfo) ? CreationInfo.fromJSON(object.creationInfo) : void 0,
48671
+ keys: globalThis.Array.isArray(object?.keys) ? object.keys.map((e) => globalThis.String(e)) : []
47915
48672
  };
47916
48673
  },
47917
48674
  toJSON(message) {
@@ -47922,6 +48679,9 @@ var SecretMetadata = {
47922
48679
  if (message.creationInfo !== void 0) {
47923
48680
  obj.creationInfo = CreationInfo.toJSON(message.creationInfo);
47924
48681
  }
48682
+ if (message.keys?.length) {
48683
+ obj.keys = message.keys;
48684
+ }
47925
48685
  return obj;
47926
48686
  },
47927
48687
  create(base) {
@@ -47931,6 +48691,7 @@ var SecretMetadata = {
47931
48691
  const message = createBaseSecretMetadata();
47932
48692
  message.name = object.name ?? "";
47933
48693
  message.creationInfo = object.creationInfo !== void 0 && object.creationInfo !== null ? CreationInfo.fromPartial(object.creationInfo) : void 0;
48694
+ message.keys = object.keys?.map((e) => e) || [];
47934
48695
  return message;
47935
48696
  }
47936
48697
  };
@@ -48927,6 +49688,291 @@ var ServerGetTimeRangeStatsResponse_ContainerPercentileStatsEntry = {
48927
49688
  return message;
48928
49689
  }
48929
49690
  };
49691
+ function createBaseServerRequestFetchRequest() {
49692
+ return { functionId: "", tail: void 0 };
49693
+ }
49694
+ var ServerRequestFetchRequest = {
49695
+ encode(message, writer = new BinaryWriter()) {
49696
+ if (message.functionId !== "") {
49697
+ writer.uint32(10).string(message.functionId);
49698
+ }
49699
+ if (message.tail !== void 0) {
49700
+ ServerRequestFetchRequest_Tail.encode(message.tail, writer.uint32(26).fork()).join();
49701
+ }
49702
+ return writer;
49703
+ },
49704
+ decode(input, length) {
49705
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
49706
+ let end = length === void 0 ? reader.len : reader.pos + length;
49707
+ const message = createBaseServerRequestFetchRequest();
49708
+ while (reader.pos < end) {
49709
+ const tag = reader.uint32();
49710
+ switch (tag >>> 3) {
49711
+ case 1: {
49712
+ if (tag !== 10) {
49713
+ break;
49714
+ }
49715
+ message.functionId = reader.string();
49716
+ continue;
49717
+ }
49718
+ case 3: {
49719
+ if (tag !== 26) {
49720
+ break;
49721
+ }
49722
+ message.tail = ServerRequestFetchRequest_Tail.decode(reader, reader.uint32());
49723
+ continue;
49724
+ }
49725
+ }
49726
+ if ((tag & 7) === 4 || tag === 0) {
49727
+ break;
49728
+ }
49729
+ reader.skip(tag & 7);
49730
+ }
49731
+ return message;
49732
+ },
49733
+ fromJSON(object) {
49734
+ return {
49735
+ functionId: isSet5(object.functionId) ? globalThis.String(object.functionId) : "",
49736
+ tail: isSet5(object.tail) ? ServerRequestFetchRequest_Tail.fromJSON(object.tail) : void 0
49737
+ };
49738
+ },
49739
+ toJSON(message) {
49740
+ const obj = {};
49741
+ if (message.functionId !== "") {
49742
+ obj.functionId = message.functionId;
49743
+ }
49744
+ if (message.tail !== void 0) {
49745
+ obj.tail = ServerRequestFetchRequest_Tail.toJSON(message.tail);
49746
+ }
49747
+ return obj;
49748
+ },
49749
+ create(base) {
49750
+ return ServerRequestFetchRequest.fromPartial(base ?? {});
49751
+ },
49752
+ fromPartial(object) {
49753
+ const message = createBaseServerRequestFetchRequest();
49754
+ message.functionId = object.functionId ?? "";
49755
+ message.tail = object.tail !== void 0 && object.tail !== null ? ServerRequestFetchRequest_Tail.fromPartial(object.tail) : void 0;
49756
+ return message;
49757
+ }
49758
+ };
49759
+ function createBaseServerRequestFetchRequest_Tail() {
49760
+ return { count: 0 };
49761
+ }
49762
+ var ServerRequestFetchRequest_Tail = {
49763
+ encode(message, writer = new BinaryWriter()) {
49764
+ if (message.count !== 0) {
49765
+ writer.uint32(8).uint32(message.count);
49766
+ }
49767
+ return writer;
49768
+ },
49769
+ decode(input, length) {
49770
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
49771
+ let end = length === void 0 ? reader.len : reader.pos + length;
49772
+ const message = createBaseServerRequestFetchRequest_Tail();
49773
+ while (reader.pos < end) {
49774
+ const tag = reader.uint32();
49775
+ switch (tag >>> 3) {
49776
+ case 1: {
49777
+ if (tag !== 8) {
49778
+ break;
49779
+ }
49780
+ message.count = reader.uint32();
49781
+ continue;
49782
+ }
49783
+ }
49784
+ if ((tag & 7) === 4 || tag === 0) {
49785
+ break;
49786
+ }
49787
+ reader.skip(tag & 7);
49788
+ }
49789
+ return message;
49790
+ },
49791
+ fromJSON(object) {
49792
+ return { count: isSet5(object.count) ? globalThis.Number(object.count) : 0 };
49793
+ },
49794
+ toJSON(message) {
49795
+ const obj = {};
49796
+ if (message.count !== 0) {
49797
+ obj.count = Math.round(message.count);
49798
+ }
49799
+ return obj;
49800
+ },
49801
+ create(base) {
49802
+ return ServerRequestFetchRequest_Tail.fromPartial(base ?? {});
49803
+ },
49804
+ fromPartial(object) {
49805
+ const message = createBaseServerRequestFetchRequest_Tail();
49806
+ message.count = object.count ?? 0;
49807
+ return message;
49808
+ }
49809
+ };
49810
+ function createBaseServerRequestFetchResponse() {
49811
+ return { requests: [] };
49812
+ }
49813
+ var ServerRequestFetchResponse = {
49814
+ encode(message, writer = new BinaryWriter()) {
49815
+ for (const v of message.requests) {
49816
+ ServerRequestInfo.encode(v, writer.uint32(10).fork()).join();
49817
+ }
49818
+ return writer;
49819
+ },
49820
+ decode(input, length) {
49821
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
49822
+ let end = length === void 0 ? reader.len : reader.pos + length;
49823
+ const message = createBaseServerRequestFetchResponse();
49824
+ while (reader.pos < end) {
49825
+ const tag = reader.uint32();
49826
+ switch (tag >>> 3) {
49827
+ case 1: {
49828
+ if (tag !== 10) {
49829
+ break;
49830
+ }
49831
+ message.requests.push(ServerRequestInfo.decode(reader, reader.uint32()));
49832
+ continue;
49833
+ }
49834
+ }
49835
+ if ((tag & 7) === 4 || tag === 0) {
49836
+ break;
49837
+ }
49838
+ reader.skip(tag & 7);
49839
+ }
49840
+ return message;
49841
+ },
49842
+ fromJSON(object) {
49843
+ return {
49844
+ requests: globalThis.Array.isArray(object?.requests) ? object.requests.map((e) => ServerRequestInfo.fromJSON(e)) : []
49845
+ };
49846
+ },
49847
+ toJSON(message) {
49848
+ const obj = {};
49849
+ if (message.requests?.length) {
49850
+ obj.requests = message.requests.map((e) => ServerRequestInfo.toJSON(e));
49851
+ }
49852
+ return obj;
49853
+ },
49854
+ create(base) {
49855
+ return ServerRequestFetchResponse.fromPartial(base ?? {});
49856
+ },
49857
+ fromPartial(object) {
49858
+ const message = createBaseServerRequestFetchResponse();
49859
+ message.requests = object.requests?.map((e) => ServerRequestInfo.fromPartial(e)) || [];
49860
+ return message;
49861
+ }
49862
+ };
49863
+ function createBaseServerRequestInfo() {
49864
+ return { route: "", timestamp: void 0, containerId: "", durationSeconds: 0, status: 0 };
49865
+ }
49866
+ var ServerRequestInfo = {
49867
+ encode(message, writer = new BinaryWriter()) {
49868
+ if (message.route !== "") {
49869
+ writer.uint32(10).string(message.route);
49870
+ }
49871
+ if (message.timestamp !== void 0) {
49872
+ Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(18).fork()).join();
49873
+ }
49874
+ if (message.containerId !== "") {
49875
+ writer.uint32(26).string(message.containerId);
49876
+ }
49877
+ if (message.durationSeconds !== 0) {
49878
+ writer.uint32(33).double(message.durationSeconds);
49879
+ }
49880
+ if (message.status !== 0) {
49881
+ writer.uint32(40).int32(message.status);
49882
+ }
49883
+ return writer;
49884
+ },
49885
+ decode(input, length) {
49886
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
49887
+ let end = length === void 0 ? reader.len : reader.pos + length;
49888
+ const message = createBaseServerRequestInfo();
49889
+ while (reader.pos < end) {
49890
+ const tag = reader.uint32();
49891
+ switch (tag >>> 3) {
49892
+ case 1: {
49893
+ if (tag !== 10) {
49894
+ break;
49895
+ }
49896
+ message.route = reader.string();
49897
+ continue;
49898
+ }
49899
+ case 2: {
49900
+ if (tag !== 18) {
49901
+ break;
49902
+ }
49903
+ message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
49904
+ continue;
49905
+ }
49906
+ case 3: {
49907
+ if (tag !== 26) {
49908
+ break;
49909
+ }
49910
+ message.containerId = reader.string();
49911
+ continue;
49912
+ }
49913
+ case 4: {
49914
+ if (tag !== 33) {
49915
+ break;
49916
+ }
49917
+ message.durationSeconds = reader.double();
49918
+ continue;
49919
+ }
49920
+ case 5: {
49921
+ if (tag !== 40) {
49922
+ break;
49923
+ }
49924
+ message.status = reader.int32();
49925
+ continue;
49926
+ }
49927
+ }
49928
+ if ((tag & 7) === 4 || tag === 0) {
49929
+ break;
49930
+ }
49931
+ reader.skip(tag & 7);
49932
+ }
49933
+ return message;
49934
+ },
49935
+ fromJSON(object) {
49936
+ return {
49937
+ route: isSet5(object.route) ? globalThis.String(object.route) : "",
49938
+ timestamp: isSet5(object.timestamp) ? fromJsonTimestamp(object.timestamp) : void 0,
49939
+ containerId: isSet5(object.containerId) ? globalThis.String(object.containerId) : "",
49940
+ durationSeconds: isSet5(object.durationSeconds) ? globalThis.Number(object.durationSeconds) : 0,
49941
+ status: isSet5(object.status) ? globalThis.Number(object.status) : 0
49942
+ };
49943
+ },
49944
+ toJSON(message) {
49945
+ const obj = {};
49946
+ if (message.route !== "") {
49947
+ obj.route = message.route;
49948
+ }
49949
+ if (message.timestamp !== void 0) {
49950
+ obj.timestamp = message.timestamp.toISOString();
49951
+ }
49952
+ if (message.containerId !== "") {
49953
+ obj.containerId = message.containerId;
49954
+ }
49955
+ if (message.durationSeconds !== 0) {
49956
+ obj.durationSeconds = message.durationSeconds;
49957
+ }
49958
+ if (message.status !== 0) {
49959
+ obj.status = Math.round(message.status);
49960
+ }
49961
+ return obj;
49962
+ },
49963
+ create(base) {
49964
+ return ServerRequestInfo.fromPartial(base ?? {});
49965
+ },
49966
+ fromPartial(object) {
49967
+ const message = createBaseServerRequestInfo();
49968
+ message.route = object.route ?? "";
49969
+ message.timestamp = object.timestamp ?? void 0;
49970
+ message.containerId = object.containerId ?? "";
49971
+ message.durationSeconds = object.durationSeconds ?? 0;
49972
+ message.status = object.status ?? 0;
49973
+ return message;
49974
+ }
49975
+ };
48930
49976
  function createBaseServiceUser() {
48931
49977
  return {
48932
49978
  name: "",
@@ -52530,7 +53576,7 @@ var TokenDeleteRequest = {
52530
53576
  }
52531
53577
  };
52532
53578
  function createBaseTokenFlowCreateRequest() {
52533
- return { utmSource: "", localhostPort: 0, nextUrl: "" };
53579
+ return { utmSource: "", localhostPort: 0, nextUrl: "", expiresInSeconds: 0 };
52534
53580
  }
52535
53581
  var TokenFlowCreateRequest = {
52536
53582
  encode(message, writer = new BinaryWriter()) {
@@ -52543,6 +53589,9 @@ var TokenFlowCreateRequest = {
52543
53589
  if (message.nextUrl !== "") {
52544
53590
  writer.uint32(42).string(message.nextUrl);
52545
53591
  }
53592
+ if (message.expiresInSeconds !== 0) {
53593
+ writer.uint32(48).uint32(message.expiresInSeconds);
53594
+ }
52546
53595
  return writer;
52547
53596
  },
52548
53597
  decode(input, length) {
@@ -52573,6 +53622,13 @@ var TokenFlowCreateRequest = {
52573
53622
  message.nextUrl = reader.string();
52574
53623
  continue;
52575
53624
  }
53625
+ case 6: {
53626
+ if (tag !== 48) {
53627
+ break;
53628
+ }
53629
+ message.expiresInSeconds = reader.uint32();
53630
+ continue;
53631
+ }
52576
53632
  }
52577
53633
  if ((tag & 7) === 4 || tag === 0) {
52578
53634
  break;
@@ -52585,7 +53641,8 @@ var TokenFlowCreateRequest = {
52585
53641
  return {
52586
53642
  utmSource: isSet5(object.utmSource) ? globalThis.String(object.utmSource) : "",
52587
53643
  localhostPort: isSet5(object.localhostPort) ? globalThis.Number(object.localhostPort) : 0,
52588
- nextUrl: isSet5(object.nextUrl) ? globalThis.String(object.nextUrl) : ""
53644
+ nextUrl: isSet5(object.nextUrl) ? globalThis.String(object.nextUrl) : "",
53645
+ expiresInSeconds: isSet5(object.expiresInSeconds) ? globalThis.Number(object.expiresInSeconds) : 0
52589
53646
  };
52590
53647
  },
52591
53648
  toJSON(message) {
@@ -52599,6 +53656,9 @@ var TokenFlowCreateRequest = {
52599
53656
  if (message.nextUrl !== "") {
52600
53657
  obj.nextUrl = message.nextUrl;
52601
53658
  }
53659
+ if (message.expiresInSeconds !== 0) {
53660
+ obj.expiresInSeconds = Math.round(message.expiresInSeconds);
53661
+ }
52602
53662
  return obj;
52603
53663
  },
52604
53664
  create(base) {
@@ -52609,6 +53669,7 @@ var TokenFlowCreateRequest = {
52609
53669
  message.utmSource = object.utmSource ?? "";
52610
53670
  message.localhostPort = object.localhostPort ?? 0;
52611
53671
  message.nextUrl = object.nextUrl ?? "";
53672
+ message.expiresInSeconds = object.expiresInSeconds ?? 0;
52612
53673
  return message;
52613
53674
  }
52614
53675
  };
@@ -60210,6 +61271,14 @@ var ModalClientDefinition = {
60210
61271
  responseStream: false,
60211
61272
  options: {}
60212
61273
  },
61274
+ functionCallFetch: {
61275
+ name: "FunctionCallFetch",
61276
+ requestType: FunctionCallFetchRequest,
61277
+ requestStream: false,
61278
+ responseType: FunctionCallFetchResponse,
61279
+ responseStream: false,
61280
+ options: {}
61281
+ },
60213
61282
  functionCallFromId: {
60214
61283
  name: "FunctionCallFromId",
60215
61284
  requestType: FunctionCallFromIdRequest,
@@ -60365,6 +61434,14 @@ var ModalClientDefinition = {
60365
61434
  responseStream: false,
60366
61435
  options: {}
60367
61436
  },
61437
+ functionListVariants: {
61438
+ name: "FunctionListVariants",
61439
+ requestType: FunctionListVariantsRequest,
61440
+ requestStream: false,
61441
+ responseType: FunctionListVariantsResponse,
61442
+ responseStream: false,
61443
+ options: {}
61444
+ },
60368
61445
  functionMap: {
60369
61446
  name: "FunctionMap",
60370
61447
  requestType: FunctionMapRequest,
@@ -61032,6 +62109,14 @@ var ModalClientDefinition = {
61032
62109
  responseStream: false,
61033
62110
  options: {}
61034
62111
  },
62112
+ serverRequestFetch: {
62113
+ name: "ServerRequestFetch",
62114
+ requestType: ServerRequestFetchRequest,
62115
+ requestStream: false,
62116
+ responseType: ServerRequestFetchResponse,
62117
+ responseStream: false,
62118
+ options: {}
62119
+ },
61035
62120
  /** Service users */
61036
62121
  serviceUserList: {
61037
62122
  name: "ServiceUserList",
@@ -71593,7 +72678,7 @@ var Sandbox2 = class _Sandbox {
71593
72678
  return new Image2(this.#client, resp.success.imageId, "");
71594
72679
  }
71595
72680
  if (resp.error) {
71596
- if (resp.error.errorCode === 1 /* ERROR_CODE_TIMEOUT */) {
72681
+ if (resp.error.errorCode === 1 /* ERROR_CODE_TIMEOUT */ || resp.error.errorCode === 3 /* ERROR_CODE_FILESYSTEM_INCONSISTENT */) {
71597
72682
  throw new SnapshotCreationError(
71598
72683
  resp.error.message || "No exit snapshot image will be produced"
71599
72684
  );
@@ -72287,7 +73372,7 @@ var AuthTokenManager = class {
72287
73372
  };
72288
73373
 
72289
73374
  // src/version.ts
72290
- var SDK_VERSION = "0.10.2-dev.2";
73375
+ var SDK_VERSION = "0.10.2-dev.3";
72291
73376
  function getSDKVersion() {
72292
73377
  return SDK_VERSION;
72293
73378
  }