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.js CHANGED
@@ -2257,6 +2257,76 @@ function fileDescriptorToJSON(object) {
2257
2257
  return "UNRECOGNIZED";
2258
2258
  }
2259
2259
  }
2260
+ function functionCallInputStatusFromJSON(object) {
2261
+ switch (object) {
2262
+ case 0:
2263
+ case "FUNCTION_CALL_INPUT_STATUS_UNSPECIFIED":
2264
+ return 0 /* FUNCTION_CALL_INPUT_STATUS_UNSPECIFIED */;
2265
+ case 1:
2266
+ case "FUNCTION_CALL_INPUT_STATUS_PENDING":
2267
+ return 1 /* FUNCTION_CALL_INPUT_STATUS_PENDING */;
2268
+ case 2:
2269
+ case "FUNCTION_CALL_INPUT_STATUS_RUNNING":
2270
+ return 2 /* FUNCTION_CALL_INPUT_STATUS_RUNNING */;
2271
+ case 3:
2272
+ case "FUNCTION_CALL_INPUT_STATUS_SUCCESS":
2273
+ return 3 /* FUNCTION_CALL_INPUT_STATUS_SUCCESS */;
2274
+ case 4:
2275
+ case "FUNCTION_CALL_INPUT_STATUS_FAILURE":
2276
+ return 4 /* FUNCTION_CALL_INPUT_STATUS_FAILURE */;
2277
+ case 5:
2278
+ case "FUNCTION_CALL_INPUT_STATUS_TIMEOUT":
2279
+ return 5 /* FUNCTION_CALL_INPUT_STATUS_TIMEOUT */;
2280
+ case 6:
2281
+ case "FUNCTION_CALL_INPUT_STATUS_TERMINATED":
2282
+ return 6 /* FUNCTION_CALL_INPUT_STATUS_TERMINATED */;
2283
+ case 7:
2284
+ case "FUNCTION_CALL_INPUT_STATUS_INIT_FAILURE":
2285
+ return 7 /* FUNCTION_CALL_INPUT_STATUS_INIT_FAILURE */;
2286
+ case 8:
2287
+ case "FUNCTION_CALL_INPUT_STATUS_INTERNAL_FAILURE":
2288
+ return 8 /* FUNCTION_CALL_INPUT_STATUS_INTERNAL_FAILURE */;
2289
+ case 9:
2290
+ case "FUNCTION_CALL_INPUT_STATUS_IDLE_TIMEOUT":
2291
+ return 9 /* FUNCTION_CALL_INPUT_STATUS_IDLE_TIMEOUT */;
2292
+ case 10:
2293
+ case "FUNCTION_CALL_INPUT_STATUS_MEMORY_MANAGER_EVICTION":
2294
+ return 10 /* FUNCTION_CALL_INPUT_STATUS_MEMORY_MANAGER_EVICTION */;
2295
+ case -1:
2296
+ case "UNRECOGNIZED":
2297
+ default:
2298
+ return -1 /* UNRECOGNIZED */;
2299
+ }
2300
+ }
2301
+ function functionCallInputStatusToJSON(object) {
2302
+ switch (object) {
2303
+ case 0 /* FUNCTION_CALL_INPUT_STATUS_UNSPECIFIED */:
2304
+ return "FUNCTION_CALL_INPUT_STATUS_UNSPECIFIED";
2305
+ case 1 /* FUNCTION_CALL_INPUT_STATUS_PENDING */:
2306
+ return "FUNCTION_CALL_INPUT_STATUS_PENDING";
2307
+ case 2 /* FUNCTION_CALL_INPUT_STATUS_RUNNING */:
2308
+ return "FUNCTION_CALL_INPUT_STATUS_RUNNING";
2309
+ case 3 /* FUNCTION_CALL_INPUT_STATUS_SUCCESS */:
2310
+ return "FUNCTION_CALL_INPUT_STATUS_SUCCESS";
2311
+ case 4 /* FUNCTION_CALL_INPUT_STATUS_FAILURE */:
2312
+ return "FUNCTION_CALL_INPUT_STATUS_FAILURE";
2313
+ case 5 /* FUNCTION_CALL_INPUT_STATUS_TIMEOUT */:
2314
+ return "FUNCTION_CALL_INPUT_STATUS_TIMEOUT";
2315
+ case 6 /* FUNCTION_CALL_INPUT_STATUS_TERMINATED */:
2316
+ return "FUNCTION_CALL_INPUT_STATUS_TERMINATED";
2317
+ case 7 /* FUNCTION_CALL_INPUT_STATUS_INIT_FAILURE */:
2318
+ return "FUNCTION_CALL_INPUT_STATUS_INIT_FAILURE";
2319
+ case 8 /* FUNCTION_CALL_INPUT_STATUS_INTERNAL_FAILURE */:
2320
+ return "FUNCTION_CALL_INPUT_STATUS_INTERNAL_FAILURE";
2321
+ case 9 /* FUNCTION_CALL_INPUT_STATUS_IDLE_TIMEOUT */:
2322
+ return "FUNCTION_CALL_INPUT_STATUS_IDLE_TIMEOUT";
2323
+ case 10 /* FUNCTION_CALL_INPUT_STATUS_MEMORY_MANAGER_EVICTION */:
2324
+ return "FUNCTION_CALL_INPUT_STATUS_MEMORY_MANAGER_EVICTION";
2325
+ case -1 /* UNRECOGNIZED */:
2326
+ default:
2327
+ return "UNRECOGNIZED";
2328
+ }
2329
+ }
2260
2330
  function functionCallInvocationTypeFromJSON(object) {
2261
2331
  switch (object) {
2262
2332
  case 0:
@@ -3518,6 +3588,9 @@ function sandboxGetExitSnapshotResponse_ErrorCodeFromJSON(object) {
3518
3588
  case 2:
3519
3589
  case "ERROR_CODE_INTERNAL":
3520
3590
  return 2 /* ERROR_CODE_INTERNAL */;
3591
+ case 3:
3592
+ case "ERROR_CODE_FILESYSTEM_INCONSISTENT":
3593
+ return 3 /* ERROR_CODE_FILESYSTEM_INCONSISTENT */;
3521
3594
  case -1:
3522
3595
  case "UNRECOGNIZED":
3523
3596
  default:
@@ -3532,6 +3605,8 @@ function sandboxGetExitSnapshotResponse_ErrorCodeToJSON(object) {
3532
3605
  return "ERROR_CODE_TIMEOUT";
3533
3606
  case 2 /* ERROR_CODE_INTERNAL */:
3534
3607
  return "ERROR_CODE_INTERNAL";
3608
+ case 3 /* ERROR_CODE_FILESYSTEM_INCONSISTENT */:
3609
+ return "ERROR_CODE_FILESYSTEM_INCONSISTENT";
3535
3610
  case -1 /* UNRECOGNIZED */:
3536
3611
  default:
3537
3612
  return "UNRECOGNIZED";
@@ -24400,6 +24475,193 @@ var FunctionCallCancelRequest = {
24400
24475
  return message;
24401
24476
  }
24402
24477
  };
24478
+ function createBaseFunctionCallFetchRequest() {
24479
+ return { functionId: "", tail: void 0, allVariants: false };
24480
+ }
24481
+ var FunctionCallFetchRequest = {
24482
+ encode(message, writer = new BinaryWriter()) {
24483
+ if (message.functionId !== "") {
24484
+ writer.uint32(10).string(message.functionId);
24485
+ }
24486
+ if (message.tail !== void 0) {
24487
+ FunctionCallFetchRequest_Tail.encode(message.tail, writer.uint32(26).fork()).join();
24488
+ }
24489
+ if (message.allVariants !== false) {
24490
+ writer.uint32(32).bool(message.allVariants);
24491
+ }
24492
+ return writer;
24493
+ },
24494
+ decode(input, length) {
24495
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
24496
+ let end = length === void 0 ? reader.len : reader.pos + length;
24497
+ const message = createBaseFunctionCallFetchRequest();
24498
+ while (reader.pos < end) {
24499
+ const tag = reader.uint32();
24500
+ switch (tag >>> 3) {
24501
+ case 1: {
24502
+ if (tag !== 10) {
24503
+ break;
24504
+ }
24505
+ message.functionId = reader.string();
24506
+ continue;
24507
+ }
24508
+ case 3: {
24509
+ if (tag !== 26) {
24510
+ break;
24511
+ }
24512
+ message.tail = FunctionCallFetchRequest_Tail.decode(reader, reader.uint32());
24513
+ continue;
24514
+ }
24515
+ case 4: {
24516
+ if (tag !== 32) {
24517
+ break;
24518
+ }
24519
+ message.allVariants = reader.bool();
24520
+ continue;
24521
+ }
24522
+ }
24523
+ if ((tag & 7) === 4 || tag === 0) {
24524
+ break;
24525
+ }
24526
+ reader.skip(tag & 7);
24527
+ }
24528
+ return message;
24529
+ },
24530
+ fromJSON(object) {
24531
+ return {
24532
+ functionId: isSet5(object.functionId) ? globalThis.String(object.functionId) : "",
24533
+ tail: isSet5(object.tail) ? FunctionCallFetchRequest_Tail.fromJSON(object.tail) : void 0,
24534
+ allVariants: isSet5(object.allVariants) ? globalThis.Boolean(object.allVariants) : false
24535
+ };
24536
+ },
24537
+ toJSON(message) {
24538
+ const obj = {};
24539
+ if (message.functionId !== "") {
24540
+ obj.functionId = message.functionId;
24541
+ }
24542
+ if (message.tail !== void 0) {
24543
+ obj.tail = FunctionCallFetchRequest_Tail.toJSON(message.tail);
24544
+ }
24545
+ if (message.allVariants !== false) {
24546
+ obj.allVariants = message.allVariants;
24547
+ }
24548
+ return obj;
24549
+ },
24550
+ create(base) {
24551
+ return FunctionCallFetchRequest.fromPartial(base ?? {});
24552
+ },
24553
+ fromPartial(object) {
24554
+ const message = createBaseFunctionCallFetchRequest();
24555
+ message.functionId = object.functionId ?? "";
24556
+ message.tail = object.tail !== void 0 && object.tail !== null ? FunctionCallFetchRequest_Tail.fromPartial(object.tail) : void 0;
24557
+ message.allVariants = object.allVariants ?? false;
24558
+ return message;
24559
+ }
24560
+ };
24561
+ function createBaseFunctionCallFetchRequest_Tail() {
24562
+ return { count: 0 };
24563
+ }
24564
+ var FunctionCallFetchRequest_Tail = {
24565
+ encode(message, writer = new BinaryWriter()) {
24566
+ if (message.count !== 0) {
24567
+ writer.uint32(8).uint32(message.count);
24568
+ }
24569
+ return writer;
24570
+ },
24571
+ decode(input, length) {
24572
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
24573
+ let end = length === void 0 ? reader.len : reader.pos + length;
24574
+ const message = createBaseFunctionCallFetchRequest_Tail();
24575
+ while (reader.pos < end) {
24576
+ const tag = reader.uint32();
24577
+ switch (tag >>> 3) {
24578
+ case 1: {
24579
+ if (tag !== 8) {
24580
+ break;
24581
+ }
24582
+ message.count = reader.uint32();
24583
+ continue;
24584
+ }
24585
+ }
24586
+ if ((tag & 7) === 4 || tag === 0) {
24587
+ break;
24588
+ }
24589
+ reader.skip(tag & 7);
24590
+ }
24591
+ return message;
24592
+ },
24593
+ fromJSON(object) {
24594
+ return { count: isSet5(object.count) ? globalThis.Number(object.count) : 0 };
24595
+ },
24596
+ toJSON(message) {
24597
+ const obj = {};
24598
+ if (message.count !== 0) {
24599
+ obj.count = Math.round(message.count);
24600
+ }
24601
+ return obj;
24602
+ },
24603
+ create(base) {
24604
+ return FunctionCallFetchRequest_Tail.fromPartial(base ?? {});
24605
+ },
24606
+ fromPartial(object) {
24607
+ const message = createBaseFunctionCallFetchRequest_Tail();
24608
+ message.count = object.count ?? 0;
24609
+ return message;
24610
+ }
24611
+ };
24612
+ function createBaseFunctionCallFetchResponse() {
24613
+ return { functionCallInputs: [] };
24614
+ }
24615
+ var FunctionCallFetchResponse = {
24616
+ encode(message, writer = new BinaryWriter()) {
24617
+ for (const v of message.functionCallInputs) {
24618
+ FunctionCallInputInfo.encode(v, writer.uint32(10).fork()).join();
24619
+ }
24620
+ return writer;
24621
+ },
24622
+ decode(input, length) {
24623
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
24624
+ let end = length === void 0 ? reader.len : reader.pos + length;
24625
+ const message = createBaseFunctionCallFetchResponse();
24626
+ while (reader.pos < end) {
24627
+ const tag = reader.uint32();
24628
+ switch (tag >>> 3) {
24629
+ case 1: {
24630
+ if (tag !== 10) {
24631
+ break;
24632
+ }
24633
+ message.functionCallInputs.push(FunctionCallInputInfo.decode(reader, reader.uint32()));
24634
+ continue;
24635
+ }
24636
+ }
24637
+ if ((tag & 7) === 4 || tag === 0) {
24638
+ break;
24639
+ }
24640
+ reader.skip(tag & 7);
24641
+ }
24642
+ return message;
24643
+ },
24644
+ fromJSON(object) {
24645
+ return {
24646
+ functionCallInputs: globalThis.Array.isArray(object?.functionCallInputs) ? object.functionCallInputs.map((e) => FunctionCallInputInfo.fromJSON(e)) : []
24647
+ };
24648
+ },
24649
+ toJSON(message) {
24650
+ const obj = {};
24651
+ if (message.functionCallInputs?.length) {
24652
+ obj.functionCallInputs = message.functionCallInputs.map((e) => FunctionCallInputInfo.toJSON(e));
24653
+ }
24654
+ return obj;
24655
+ },
24656
+ create(base) {
24657
+ return FunctionCallFetchResponse.fromPartial(base ?? {});
24658
+ },
24659
+ fromPartial(object) {
24660
+ const message = createBaseFunctionCallFetchResponse();
24661
+ message.functionCallInputs = object.functionCallInputs?.map((e) => FunctionCallInputInfo.fromPartial(e)) || [];
24662
+ return message;
24663
+ }
24664
+ };
24403
24665
  function createBaseFunctionCallFromIdRequest() {
24404
24666
  return { functionCallId: "" };
24405
24667
  }
@@ -25003,6 +25265,173 @@ var FunctionCallInfo = {
25003
25265
  return message;
25004
25266
  }
25005
25267
  };
25268
+ function createBaseFunctionCallInputInfo() {
25269
+ return {
25270
+ enqueuedAt: void 0,
25271
+ startedAt: void 0,
25272
+ containerId: void 0,
25273
+ startupTimeSeconds: void 0,
25274
+ executionTimeSeconds: void 0,
25275
+ status: 0,
25276
+ functionCallId: "",
25277
+ serviceMethodName: void 0
25278
+ };
25279
+ }
25280
+ var FunctionCallInputInfo = {
25281
+ encode(message, writer = new BinaryWriter()) {
25282
+ if (message.enqueuedAt !== void 0) {
25283
+ Timestamp.encode(toTimestamp(message.enqueuedAt), writer.uint32(10).fork()).join();
25284
+ }
25285
+ if (message.startedAt !== void 0) {
25286
+ Timestamp.encode(toTimestamp(message.startedAt), writer.uint32(18).fork()).join();
25287
+ }
25288
+ if (message.containerId !== void 0) {
25289
+ writer.uint32(26).string(message.containerId);
25290
+ }
25291
+ if (message.startupTimeSeconds !== void 0) {
25292
+ writer.uint32(33).double(message.startupTimeSeconds);
25293
+ }
25294
+ if (message.executionTimeSeconds !== void 0) {
25295
+ writer.uint32(41).double(message.executionTimeSeconds);
25296
+ }
25297
+ if (message.status !== 0) {
25298
+ writer.uint32(48).int32(message.status);
25299
+ }
25300
+ if (message.functionCallId !== "") {
25301
+ writer.uint32(58).string(message.functionCallId);
25302
+ }
25303
+ if (message.serviceMethodName !== void 0) {
25304
+ writer.uint32(66).string(message.serviceMethodName);
25305
+ }
25306
+ return writer;
25307
+ },
25308
+ decode(input, length) {
25309
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
25310
+ let end = length === void 0 ? reader.len : reader.pos + length;
25311
+ const message = createBaseFunctionCallInputInfo();
25312
+ while (reader.pos < end) {
25313
+ const tag = reader.uint32();
25314
+ switch (tag >>> 3) {
25315
+ case 1: {
25316
+ if (tag !== 10) {
25317
+ break;
25318
+ }
25319
+ message.enqueuedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
25320
+ continue;
25321
+ }
25322
+ case 2: {
25323
+ if (tag !== 18) {
25324
+ break;
25325
+ }
25326
+ message.startedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
25327
+ continue;
25328
+ }
25329
+ case 3: {
25330
+ if (tag !== 26) {
25331
+ break;
25332
+ }
25333
+ message.containerId = reader.string();
25334
+ continue;
25335
+ }
25336
+ case 4: {
25337
+ if (tag !== 33) {
25338
+ break;
25339
+ }
25340
+ message.startupTimeSeconds = reader.double();
25341
+ continue;
25342
+ }
25343
+ case 5: {
25344
+ if (tag !== 41) {
25345
+ break;
25346
+ }
25347
+ message.executionTimeSeconds = reader.double();
25348
+ continue;
25349
+ }
25350
+ case 6: {
25351
+ if (tag !== 48) {
25352
+ break;
25353
+ }
25354
+ message.status = reader.int32();
25355
+ continue;
25356
+ }
25357
+ case 7: {
25358
+ if (tag !== 58) {
25359
+ break;
25360
+ }
25361
+ message.functionCallId = reader.string();
25362
+ continue;
25363
+ }
25364
+ case 8: {
25365
+ if (tag !== 66) {
25366
+ break;
25367
+ }
25368
+ message.serviceMethodName = reader.string();
25369
+ continue;
25370
+ }
25371
+ }
25372
+ if ((tag & 7) === 4 || tag === 0) {
25373
+ break;
25374
+ }
25375
+ reader.skip(tag & 7);
25376
+ }
25377
+ return message;
25378
+ },
25379
+ fromJSON(object) {
25380
+ return {
25381
+ enqueuedAt: isSet5(object.enqueuedAt) ? fromJsonTimestamp(object.enqueuedAt) : void 0,
25382
+ startedAt: isSet5(object.startedAt) ? fromJsonTimestamp(object.startedAt) : void 0,
25383
+ containerId: isSet5(object.containerId) ? globalThis.String(object.containerId) : void 0,
25384
+ startupTimeSeconds: isSet5(object.startupTimeSeconds) ? globalThis.Number(object.startupTimeSeconds) : void 0,
25385
+ executionTimeSeconds: isSet5(object.executionTimeSeconds) ? globalThis.Number(object.executionTimeSeconds) : void 0,
25386
+ status: isSet5(object.status) ? functionCallInputStatusFromJSON(object.status) : 0,
25387
+ functionCallId: isSet5(object.functionCallId) ? globalThis.String(object.functionCallId) : "",
25388
+ serviceMethodName: isSet5(object.serviceMethodName) ? globalThis.String(object.serviceMethodName) : void 0
25389
+ };
25390
+ },
25391
+ toJSON(message) {
25392
+ const obj = {};
25393
+ if (message.enqueuedAt !== void 0) {
25394
+ obj.enqueuedAt = message.enqueuedAt.toISOString();
25395
+ }
25396
+ if (message.startedAt !== void 0) {
25397
+ obj.startedAt = message.startedAt.toISOString();
25398
+ }
25399
+ if (message.containerId !== void 0) {
25400
+ obj.containerId = message.containerId;
25401
+ }
25402
+ if (message.startupTimeSeconds !== void 0) {
25403
+ obj.startupTimeSeconds = message.startupTimeSeconds;
25404
+ }
25405
+ if (message.executionTimeSeconds !== void 0) {
25406
+ obj.executionTimeSeconds = message.executionTimeSeconds;
25407
+ }
25408
+ if (message.status !== 0) {
25409
+ obj.status = functionCallInputStatusToJSON(message.status);
25410
+ }
25411
+ if (message.functionCallId !== "") {
25412
+ obj.functionCallId = message.functionCallId;
25413
+ }
25414
+ if (message.serviceMethodName !== void 0) {
25415
+ obj.serviceMethodName = message.serviceMethodName;
25416
+ }
25417
+ return obj;
25418
+ },
25419
+ create(base) {
25420
+ return FunctionCallInputInfo.fromPartial(base ?? {});
25421
+ },
25422
+ fromPartial(object) {
25423
+ const message = createBaseFunctionCallInputInfo();
25424
+ message.enqueuedAt = object.enqueuedAt ?? void 0;
25425
+ message.startedAt = object.startedAt ?? void 0;
25426
+ message.containerId = object.containerId ?? void 0;
25427
+ message.startupTimeSeconds = object.startupTimeSeconds ?? void 0;
25428
+ message.executionTimeSeconds = object.executionTimeSeconds ?? void 0;
25429
+ message.status = object.status ?? 0;
25430
+ message.functionCallId = object.functionCallId ?? "";
25431
+ message.serviceMethodName = object.serviceMethodName ?? void 0;
25432
+ return message;
25433
+ }
25434
+ };
25006
25435
  function createBaseFunctionCallListRequest() {
25007
25436
  return { functionId: "" };
25008
25437
  }
@@ -29331,6 +29760,172 @@ var FunctionInput = {
29331
29760
  return message;
29332
29761
  }
29333
29762
  };
29763
+ function createBaseFunctionListVariantsRequest() {
29764
+ return { functionId: "", cursor: void 0, limit: 0 };
29765
+ }
29766
+ var FunctionListVariantsRequest = {
29767
+ encode(message, writer = new BinaryWriter()) {
29768
+ if (message.functionId !== "") {
29769
+ writer.uint32(10).string(message.functionId);
29770
+ }
29771
+ if (message.cursor !== void 0) {
29772
+ FunctionVariantCursor.encode(message.cursor, writer.uint32(18).fork()).join();
29773
+ }
29774
+ if (message.limit !== 0) {
29775
+ writer.uint32(24).uint32(message.limit);
29776
+ }
29777
+ return writer;
29778
+ },
29779
+ decode(input, length) {
29780
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
29781
+ let end = length === void 0 ? reader.len : reader.pos + length;
29782
+ const message = createBaseFunctionListVariantsRequest();
29783
+ while (reader.pos < end) {
29784
+ const tag = reader.uint32();
29785
+ switch (tag >>> 3) {
29786
+ case 1: {
29787
+ if (tag !== 10) {
29788
+ break;
29789
+ }
29790
+ message.functionId = reader.string();
29791
+ continue;
29792
+ }
29793
+ case 2: {
29794
+ if (tag !== 18) {
29795
+ break;
29796
+ }
29797
+ message.cursor = FunctionVariantCursor.decode(reader, reader.uint32());
29798
+ continue;
29799
+ }
29800
+ case 3: {
29801
+ if (tag !== 24) {
29802
+ break;
29803
+ }
29804
+ message.limit = reader.uint32();
29805
+ continue;
29806
+ }
29807
+ }
29808
+ if ((tag & 7) === 4 || tag === 0) {
29809
+ break;
29810
+ }
29811
+ reader.skip(tag & 7);
29812
+ }
29813
+ return message;
29814
+ },
29815
+ fromJSON(object) {
29816
+ return {
29817
+ functionId: isSet5(object.functionId) ? globalThis.String(object.functionId) : "",
29818
+ cursor: isSet5(object.cursor) ? FunctionVariantCursor.fromJSON(object.cursor) : void 0,
29819
+ limit: isSet5(object.limit) ? globalThis.Number(object.limit) : 0
29820
+ };
29821
+ },
29822
+ toJSON(message) {
29823
+ const obj = {};
29824
+ if (message.functionId !== "") {
29825
+ obj.functionId = message.functionId;
29826
+ }
29827
+ if (message.cursor !== void 0) {
29828
+ obj.cursor = FunctionVariantCursor.toJSON(message.cursor);
29829
+ }
29830
+ if (message.limit !== 0) {
29831
+ obj.limit = Math.round(message.limit);
29832
+ }
29833
+ return obj;
29834
+ },
29835
+ create(base) {
29836
+ return FunctionListVariantsRequest.fromPartial(base ?? {});
29837
+ },
29838
+ fromPartial(object) {
29839
+ const message = createBaseFunctionListVariantsRequest();
29840
+ message.functionId = object.functionId ?? "";
29841
+ message.cursor = object.cursor !== void 0 && object.cursor !== null ? FunctionVariantCursor.fromPartial(object.cursor) : void 0;
29842
+ message.limit = object.limit ?? 0;
29843
+ return message;
29844
+ }
29845
+ };
29846
+ function createBaseFunctionListVariantsResponse() {
29847
+ return { infos: [], nextCursor: void 0, orderedByTaskCount: false };
29848
+ }
29849
+ var FunctionListVariantsResponse = {
29850
+ encode(message, writer = new BinaryWriter()) {
29851
+ for (const v of message.infos) {
29852
+ FunctionVariantInfo.encode(v, writer.uint32(10).fork()).join();
29853
+ }
29854
+ if (message.nextCursor !== void 0) {
29855
+ FunctionVariantCursor.encode(message.nextCursor, writer.uint32(18).fork()).join();
29856
+ }
29857
+ if (message.orderedByTaskCount !== false) {
29858
+ writer.uint32(24).bool(message.orderedByTaskCount);
29859
+ }
29860
+ return writer;
29861
+ },
29862
+ decode(input, length) {
29863
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
29864
+ let end = length === void 0 ? reader.len : reader.pos + length;
29865
+ const message = createBaseFunctionListVariantsResponse();
29866
+ while (reader.pos < end) {
29867
+ const tag = reader.uint32();
29868
+ switch (tag >>> 3) {
29869
+ case 1: {
29870
+ if (tag !== 10) {
29871
+ break;
29872
+ }
29873
+ message.infos.push(FunctionVariantInfo.decode(reader, reader.uint32()));
29874
+ continue;
29875
+ }
29876
+ case 2: {
29877
+ if (tag !== 18) {
29878
+ break;
29879
+ }
29880
+ message.nextCursor = FunctionVariantCursor.decode(reader, reader.uint32());
29881
+ continue;
29882
+ }
29883
+ case 3: {
29884
+ if (tag !== 24) {
29885
+ break;
29886
+ }
29887
+ message.orderedByTaskCount = reader.bool();
29888
+ continue;
29889
+ }
29890
+ }
29891
+ if ((tag & 7) === 4 || tag === 0) {
29892
+ break;
29893
+ }
29894
+ reader.skip(tag & 7);
29895
+ }
29896
+ return message;
29897
+ },
29898
+ fromJSON(object) {
29899
+ return {
29900
+ infos: globalThis.Array.isArray(object?.infos) ? object.infos.map((e) => FunctionVariantInfo.fromJSON(e)) : [],
29901
+ nextCursor: isSet5(object.nextCursor) ? FunctionVariantCursor.fromJSON(object.nextCursor) : void 0,
29902
+ orderedByTaskCount: isSet5(object.orderedByTaskCount) ? globalThis.Boolean(object.orderedByTaskCount) : false
29903
+ };
29904
+ },
29905
+ toJSON(message) {
29906
+ const obj = {};
29907
+ if (message.infos?.length) {
29908
+ obj.infos = message.infos.map((e) => FunctionVariantInfo.toJSON(e));
29909
+ }
29910
+ if (message.nextCursor !== void 0) {
29911
+ obj.nextCursor = FunctionVariantCursor.toJSON(message.nextCursor);
29912
+ }
29913
+ if (message.orderedByTaskCount !== false) {
29914
+ obj.orderedByTaskCount = message.orderedByTaskCount;
29915
+ }
29916
+ return obj;
29917
+ },
29918
+ create(base) {
29919
+ return FunctionListVariantsResponse.fromPartial(base ?? {});
29920
+ },
29921
+ fromPartial(object) {
29922
+ const message = createBaseFunctionListVariantsResponse();
29923
+ message.infos = object.infos?.map((e) => FunctionVariantInfo.fromPartial(e)) || [];
29924
+ message.nextCursor = object.nextCursor !== void 0 && object.nextCursor !== null ? FunctionVariantCursor.fromPartial(object.nextCursor) : void 0;
29925
+ message.orderedByTaskCount = object.orderedByTaskCount ?? false;
29926
+ return message;
29927
+ }
29928
+ };
29334
29929
  function createBaseFunctionMapRequest() {
29335
29930
  return {
29336
29931
  functionId: "",
@@ -31564,6 +32159,157 @@ var FunctionUpdateSchedulingParamsResponse = {
31564
32159
  return message;
31565
32160
  }
31566
32161
  };
32162
+ function createBaseFunctionVariantCursor() {
32163
+ return { createdBefore: 0, functionId: "" };
32164
+ }
32165
+ var FunctionVariantCursor = {
32166
+ encode(message, writer = new BinaryWriter()) {
32167
+ if (message.createdBefore !== 0) {
32168
+ writer.uint32(9).double(message.createdBefore);
32169
+ }
32170
+ if (message.functionId !== "") {
32171
+ writer.uint32(18).string(message.functionId);
32172
+ }
32173
+ return writer;
32174
+ },
32175
+ decode(input, length) {
32176
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
32177
+ let end = length === void 0 ? reader.len : reader.pos + length;
32178
+ const message = createBaseFunctionVariantCursor();
32179
+ while (reader.pos < end) {
32180
+ const tag = reader.uint32();
32181
+ switch (tag >>> 3) {
32182
+ case 1: {
32183
+ if (tag !== 9) {
32184
+ break;
32185
+ }
32186
+ message.createdBefore = reader.double();
32187
+ continue;
32188
+ }
32189
+ case 2: {
32190
+ if (tag !== 18) {
32191
+ break;
32192
+ }
32193
+ message.functionId = reader.string();
32194
+ continue;
32195
+ }
32196
+ }
32197
+ if ((tag & 7) === 4 || tag === 0) {
32198
+ break;
32199
+ }
32200
+ reader.skip(tag & 7);
32201
+ }
32202
+ return message;
32203
+ },
32204
+ fromJSON(object) {
32205
+ return {
32206
+ createdBefore: isSet5(object.createdBefore) ? globalThis.Number(object.createdBefore) : 0,
32207
+ functionId: isSet5(object.functionId) ? globalThis.String(object.functionId) : ""
32208
+ };
32209
+ },
32210
+ toJSON(message) {
32211
+ const obj = {};
32212
+ if (message.createdBefore !== 0) {
32213
+ obj.createdBefore = message.createdBefore;
32214
+ }
32215
+ if (message.functionId !== "") {
32216
+ obj.functionId = message.functionId;
32217
+ }
32218
+ return obj;
32219
+ },
32220
+ create(base) {
32221
+ return FunctionVariantCursor.fromPartial(base ?? {});
32222
+ },
32223
+ fromPartial(object) {
32224
+ const message = createBaseFunctionVariantCursor();
32225
+ message.createdBefore = object.createdBefore ?? 0;
32226
+ message.functionId = object.functionId ?? "";
32227
+ return message;
32228
+ }
32229
+ };
32230
+ function createBaseFunctionVariantInfo() {
32231
+ return { functionId: "", serializedParams: new Uint8Array(0), functionOptions: void 0 };
32232
+ }
32233
+ var FunctionVariantInfo = {
32234
+ encode(message, writer = new BinaryWriter()) {
32235
+ if (message.functionId !== "") {
32236
+ writer.uint32(10).string(message.functionId);
32237
+ }
32238
+ if (message.serializedParams.length !== 0) {
32239
+ writer.uint32(18).bytes(message.serializedParams);
32240
+ }
32241
+ if (message.functionOptions !== void 0) {
32242
+ FunctionOptions.encode(message.functionOptions, writer.uint32(26).fork()).join();
32243
+ }
32244
+ return writer;
32245
+ },
32246
+ decode(input, length) {
32247
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
32248
+ let end = length === void 0 ? reader.len : reader.pos + length;
32249
+ const message = createBaseFunctionVariantInfo();
32250
+ while (reader.pos < end) {
32251
+ const tag = reader.uint32();
32252
+ switch (tag >>> 3) {
32253
+ case 1: {
32254
+ if (tag !== 10) {
32255
+ break;
32256
+ }
32257
+ message.functionId = reader.string();
32258
+ continue;
32259
+ }
32260
+ case 2: {
32261
+ if (tag !== 18) {
32262
+ break;
32263
+ }
32264
+ message.serializedParams = reader.bytes();
32265
+ continue;
32266
+ }
32267
+ case 3: {
32268
+ if (tag !== 26) {
32269
+ break;
32270
+ }
32271
+ message.functionOptions = FunctionOptions.decode(reader, reader.uint32());
32272
+ continue;
32273
+ }
32274
+ }
32275
+ if ((tag & 7) === 4 || tag === 0) {
32276
+ break;
32277
+ }
32278
+ reader.skip(tag & 7);
32279
+ }
32280
+ return message;
32281
+ },
32282
+ fromJSON(object) {
32283
+ return {
32284
+ functionId: isSet5(object.functionId) ? globalThis.String(object.functionId) : "",
32285
+ serializedParams: isSet5(object.serializedParams) ? bytesFromBase642(object.serializedParams) : new Uint8Array(0),
32286
+ functionOptions: isSet5(object.functionOptions) ? FunctionOptions.fromJSON(object.functionOptions) : void 0
32287
+ };
32288
+ },
32289
+ toJSON(message) {
32290
+ const obj = {};
32291
+ if (message.functionId !== "") {
32292
+ obj.functionId = message.functionId;
32293
+ }
32294
+ if (message.serializedParams.length !== 0) {
32295
+ obj.serializedParams = base64FromBytes2(message.serializedParams);
32296
+ }
32297
+ if (message.functionOptions !== void 0) {
32298
+ obj.functionOptions = FunctionOptions.toJSON(message.functionOptions);
32299
+ }
32300
+ return obj;
32301
+ },
32302
+ create(base) {
32303
+ return FunctionVariantInfo.fromPartial(base ?? {});
32304
+ },
32305
+ fromPartial(object) {
32306
+ const message = createBaseFunctionVariantInfo();
32307
+ message.functionId = object.functionId ?? "";
32308
+ message.serializedParams = object.serializedParams ?? new Uint8Array(0);
32309
+ message.functionOptions = object.functionOptions !== void 0 && object.functionOptions !== null ? FunctionOptions.fromPartial(object.functionOptions) : void 0;
32310
+ return message;
32311
+ }
32312
+ };
31567
32313
  function createBaseGPUConfig() {
31568
32314
  return { type: 0, count: 0, gpuType: "" };
31569
32315
  }
@@ -47774,7 +48520,7 @@ var SecretListResponse = {
47774
48520
  }
47775
48521
  };
47776
48522
  function createBaseSecretMetadata() {
47777
- return { name: "", creationInfo: void 0 };
48523
+ return { name: "", creationInfo: void 0, keys: [] };
47778
48524
  }
47779
48525
  var SecretMetadata = {
47780
48526
  encode(message, writer = new BinaryWriter()) {
@@ -47784,6 +48530,9 @@ var SecretMetadata = {
47784
48530
  if (message.creationInfo !== void 0) {
47785
48531
  CreationInfo.encode(message.creationInfo, writer.uint32(18).fork()).join();
47786
48532
  }
48533
+ for (const v of message.keys) {
48534
+ writer.uint32(26).string(v);
48535
+ }
47787
48536
  return writer;
47788
48537
  },
47789
48538
  decode(input, length) {
@@ -47807,6 +48556,13 @@ var SecretMetadata = {
47807
48556
  message.creationInfo = CreationInfo.decode(reader, reader.uint32());
47808
48557
  continue;
47809
48558
  }
48559
+ case 3: {
48560
+ if (tag !== 26) {
48561
+ break;
48562
+ }
48563
+ message.keys.push(reader.string());
48564
+ continue;
48565
+ }
47810
48566
  }
47811
48567
  if ((tag & 7) === 4 || tag === 0) {
47812
48568
  break;
@@ -47818,7 +48574,8 @@ var SecretMetadata = {
47818
48574
  fromJSON(object) {
47819
48575
  return {
47820
48576
  name: isSet5(object.name) ? globalThis.String(object.name) : "",
47821
- creationInfo: isSet5(object.creationInfo) ? CreationInfo.fromJSON(object.creationInfo) : void 0
48577
+ creationInfo: isSet5(object.creationInfo) ? CreationInfo.fromJSON(object.creationInfo) : void 0,
48578
+ keys: globalThis.Array.isArray(object?.keys) ? object.keys.map((e) => globalThis.String(e)) : []
47822
48579
  };
47823
48580
  },
47824
48581
  toJSON(message) {
@@ -47829,6 +48586,9 @@ var SecretMetadata = {
47829
48586
  if (message.creationInfo !== void 0) {
47830
48587
  obj.creationInfo = CreationInfo.toJSON(message.creationInfo);
47831
48588
  }
48589
+ if (message.keys?.length) {
48590
+ obj.keys = message.keys;
48591
+ }
47832
48592
  return obj;
47833
48593
  },
47834
48594
  create(base) {
@@ -47838,6 +48598,7 @@ var SecretMetadata = {
47838
48598
  const message = createBaseSecretMetadata();
47839
48599
  message.name = object.name ?? "";
47840
48600
  message.creationInfo = object.creationInfo !== void 0 && object.creationInfo !== null ? CreationInfo.fromPartial(object.creationInfo) : void 0;
48601
+ message.keys = object.keys?.map((e) => e) || [];
47841
48602
  return message;
47842
48603
  }
47843
48604
  };
@@ -48834,6 +49595,291 @@ var ServerGetTimeRangeStatsResponse_ContainerPercentileStatsEntry = {
48834
49595
  return message;
48835
49596
  }
48836
49597
  };
49598
+ function createBaseServerRequestFetchRequest() {
49599
+ return { functionId: "", tail: void 0 };
49600
+ }
49601
+ var ServerRequestFetchRequest = {
49602
+ encode(message, writer = new BinaryWriter()) {
49603
+ if (message.functionId !== "") {
49604
+ writer.uint32(10).string(message.functionId);
49605
+ }
49606
+ if (message.tail !== void 0) {
49607
+ ServerRequestFetchRequest_Tail.encode(message.tail, writer.uint32(26).fork()).join();
49608
+ }
49609
+ return writer;
49610
+ },
49611
+ decode(input, length) {
49612
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
49613
+ let end = length === void 0 ? reader.len : reader.pos + length;
49614
+ const message = createBaseServerRequestFetchRequest();
49615
+ while (reader.pos < end) {
49616
+ const tag = reader.uint32();
49617
+ switch (tag >>> 3) {
49618
+ case 1: {
49619
+ if (tag !== 10) {
49620
+ break;
49621
+ }
49622
+ message.functionId = reader.string();
49623
+ continue;
49624
+ }
49625
+ case 3: {
49626
+ if (tag !== 26) {
49627
+ break;
49628
+ }
49629
+ message.tail = ServerRequestFetchRequest_Tail.decode(reader, reader.uint32());
49630
+ continue;
49631
+ }
49632
+ }
49633
+ if ((tag & 7) === 4 || tag === 0) {
49634
+ break;
49635
+ }
49636
+ reader.skip(tag & 7);
49637
+ }
49638
+ return message;
49639
+ },
49640
+ fromJSON(object) {
49641
+ return {
49642
+ functionId: isSet5(object.functionId) ? globalThis.String(object.functionId) : "",
49643
+ tail: isSet5(object.tail) ? ServerRequestFetchRequest_Tail.fromJSON(object.tail) : void 0
49644
+ };
49645
+ },
49646
+ toJSON(message) {
49647
+ const obj = {};
49648
+ if (message.functionId !== "") {
49649
+ obj.functionId = message.functionId;
49650
+ }
49651
+ if (message.tail !== void 0) {
49652
+ obj.tail = ServerRequestFetchRequest_Tail.toJSON(message.tail);
49653
+ }
49654
+ return obj;
49655
+ },
49656
+ create(base) {
49657
+ return ServerRequestFetchRequest.fromPartial(base ?? {});
49658
+ },
49659
+ fromPartial(object) {
49660
+ const message = createBaseServerRequestFetchRequest();
49661
+ message.functionId = object.functionId ?? "";
49662
+ message.tail = object.tail !== void 0 && object.tail !== null ? ServerRequestFetchRequest_Tail.fromPartial(object.tail) : void 0;
49663
+ return message;
49664
+ }
49665
+ };
49666
+ function createBaseServerRequestFetchRequest_Tail() {
49667
+ return { count: 0 };
49668
+ }
49669
+ var ServerRequestFetchRequest_Tail = {
49670
+ encode(message, writer = new BinaryWriter()) {
49671
+ if (message.count !== 0) {
49672
+ writer.uint32(8).uint32(message.count);
49673
+ }
49674
+ return writer;
49675
+ },
49676
+ decode(input, length) {
49677
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
49678
+ let end = length === void 0 ? reader.len : reader.pos + length;
49679
+ const message = createBaseServerRequestFetchRequest_Tail();
49680
+ while (reader.pos < end) {
49681
+ const tag = reader.uint32();
49682
+ switch (tag >>> 3) {
49683
+ case 1: {
49684
+ if (tag !== 8) {
49685
+ break;
49686
+ }
49687
+ message.count = reader.uint32();
49688
+ continue;
49689
+ }
49690
+ }
49691
+ if ((tag & 7) === 4 || tag === 0) {
49692
+ break;
49693
+ }
49694
+ reader.skip(tag & 7);
49695
+ }
49696
+ return message;
49697
+ },
49698
+ fromJSON(object) {
49699
+ return { count: isSet5(object.count) ? globalThis.Number(object.count) : 0 };
49700
+ },
49701
+ toJSON(message) {
49702
+ const obj = {};
49703
+ if (message.count !== 0) {
49704
+ obj.count = Math.round(message.count);
49705
+ }
49706
+ return obj;
49707
+ },
49708
+ create(base) {
49709
+ return ServerRequestFetchRequest_Tail.fromPartial(base ?? {});
49710
+ },
49711
+ fromPartial(object) {
49712
+ const message = createBaseServerRequestFetchRequest_Tail();
49713
+ message.count = object.count ?? 0;
49714
+ return message;
49715
+ }
49716
+ };
49717
+ function createBaseServerRequestFetchResponse() {
49718
+ return { requests: [] };
49719
+ }
49720
+ var ServerRequestFetchResponse = {
49721
+ encode(message, writer = new BinaryWriter()) {
49722
+ for (const v of message.requests) {
49723
+ ServerRequestInfo.encode(v, writer.uint32(10).fork()).join();
49724
+ }
49725
+ return writer;
49726
+ },
49727
+ decode(input, length) {
49728
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
49729
+ let end = length === void 0 ? reader.len : reader.pos + length;
49730
+ const message = createBaseServerRequestFetchResponse();
49731
+ while (reader.pos < end) {
49732
+ const tag = reader.uint32();
49733
+ switch (tag >>> 3) {
49734
+ case 1: {
49735
+ if (tag !== 10) {
49736
+ break;
49737
+ }
49738
+ message.requests.push(ServerRequestInfo.decode(reader, reader.uint32()));
49739
+ continue;
49740
+ }
49741
+ }
49742
+ if ((tag & 7) === 4 || tag === 0) {
49743
+ break;
49744
+ }
49745
+ reader.skip(tag & 7);
49746
+ }
49747
+ return message;
49748
+ },
49749
+ fromJSON(object) {
49750
+ return {
49751
+ requests: globalThis.Array.isArray(object?.requests) ? object.requests.map((e) => ServerRequestInfo.fromJSON(e)) : []
49752
+ };
49753
+ },
49754
+ toJSON(message) {
49755
+ const obj = {};
49756
+ if (message.requests?.length) {
49757
+ obj.requests = message.requests.map((e) => ServerRequestInfo.toJSON(e));
49758
+ }
49759
+ return obj;
49760
+ },
49761
+ create(base) {
49762
+ return ServerRequestFetchResponse.fromPartial(base ?? {});
49763
+ },
49764
+ fromPartial(object) {
49765
+ const message = createBaseServerRequestFetchResponse();
49766
+ message.requests = object.requests?.map((e) => ServerRequestInfo.fromPartial(e)) || [];
49767
+ return message;
49768
+ }
49769
+ };
49770
+ function createBaseServerRequestInfo() {
49771
+ return { route: "", timestamp: void 0, containerId: "", durationSeconds: 0, status: 0 };
49772
+ }
49773
+ var ServerRequestInfo = {
49774
+ encode(message, writer = new BinaryWriter()) {
49775
+ if (message.route !== "") {
49776
+ writer.uint32(10).string(message.route);
49777
+ }
49778
+ if (message.timestamp !== void 0) {
49779
+ Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(18).fork()).join();
49780
+ }
49781
+ if (message.containerId !== "") {
49782
+ writer.uint32(26).string(message.containerId);
49783
+ }
49784
+ if (message.durationSeconds !== 0) {
49785
+ writer.uint32(33).double(message.durationSeconds);
49786
+ }
49787
+ if (message.status !== 0) {
49788
+ writer.uint32(40).int32(message.status);
49789
+ }
49790
+ return writer;
49791
+ },
49792
+ decode(input, length) {
49793
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
49794
+ let end = length === void 0 ? reader.len : reader.pos + length;
49795
+ const message = createBaseServerRequestInfo();
49796
+ while (reader.pos < end) {
49797
+ const tag = reader.uint32();
49798
+ switch (tag >>> 3) {
49799
+ case 1: {
49800
+ if (tag !== 10) {
49801
+ break;
49802
+ }
49803
+ message.route = reader.string();
49804
+ continue;
49805
+ }
49806
+ case 2: {
49807
+ if (tag !== 18) {
49808
+ break;
49809
+ }
49810
+ message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
49811
+ continue;
49812
+ }
49813
+ case 3: {
49814
+ if (tag !== 26) {
49815
+ break;
49816
+ }
49817
+ message.containerId = reader.string();
49818
+ continue;
49819
+ }
49820
+ case 4: {
49821
+ if (tag !== 33) {
49822
+ break;
49823
+ }
49824
+ message.durationSeconds = reader.double();
49825
+ continue;
49826
+ }
49827
+ case 5: {
49828
+ if (tag !== 40) {
49829
+ break;
49830
+ }
49831
+ message.status = reader.int32();
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
+ route: isSet5(object.route) ? globalThis.String(object.route) : "",
49845
+ timestamp: isSet5(object.timestamp) ? fromJsonTimestamp(object.timestamp) : void 0,
49846
+ containerId: isSet5(object.containerId) ? globalThis.String(object.containerId) : "",
49847
+ durationSeconds: isSet5(object.durationSeconds) ? globalThis.Number(object.durationSeconds) : 0,
49848
+ status: isSet5(object.status) ? globalThis.Number(object.status) : 0
49849
+ };
49850
+ },
49851
+ toJSON(message) {
49852
+ const obj = {};
49853
+ if (message.route !== "") {
49854
+ obj.route = message.route;
49855
+ }
49856
+ if (message.timestamp !== void 0) {
49857
+ obj.timestamp = message.timestamp.toISOString();
49858
+ }
49859
+ if (message.containerId !== "") {
49860
+ obj.containerId = message.containerId;
49861
+ }
49862
+ if (message.durationSeconds !== 0) {
49863
+ obj.durationSeconds = message.durationSeconds;
49864
+ }
49865
+ if (message.status !== 0) {
49866
+ obj.status = Math.round(message.status);
49867
+ }
49868
+ return obj;
49869
+ },
49870
+ create(base) {
49871
+ return ServerRequestInfo.fromPartial(base ?? {});
49872
+ },
49873
+ fromPartial(object) {
49874
+ const message = createBaseServerRequestInfo();
49875
+ message.route = object.route ?? "";
49876
+ message.timestamp = object.timestamp ?? void 0;
49877
+ message.containerId = object.containerId ?? "";
49878
+ message.durationSeconds = object.durationSeconds ?? 0;
49879
+ message.status = object.status ?? 0;
49880
+ return message;
49881
+ }
49882
+ };
48837
49883
  function createBaseServiceUser() {
48838
49884
  return {
48839
49885
  name: "",
@@ -52437,7 +53483,7 @@ var TokenDeleteRequest = {
52437
53483
  }
52438
53484
  };
52439
53485
  function createBaseTokenFlowCreateRequest() {
52440
- return { utmSource: "", localhostPort: 0, nextUrl: "" };
53486
+ return { utmSource: "", localhostPort: 0, nextUrl: "", expiresInSeconds: 0 };
52441
53487
  }
52442
53488
  var TokenFlowCreateRequest = {
52443
53489
  encode(message, writer = new BinaryWriter()) {
@@ -52450,6 +53496,9 @@ var TokenFlowCreateRequest = {
52450
53496
  if (message.nextUrl !== "") {
52451
53497
  writer.uint32(42).string(message.nextUrl);
52452
53498
  }
53499
+ if (message.expiresInSeconds !== 0) {
53500
+ writer.uint32(48).uint32(message.expiresInSeconds);
53501
+ }
52453
53502
  return writer;
52454
53503
  },
52455
53504
  decode(input, length) {
@@ -52480,6 +53529,13 @@ var TokenFlowCreateRequest = {
52480
53529
  message.nextUrl = reader.string();
52481
53530
  continue;
52482
53531
  }
53532
+ case 6: {
53533
+ if (tag !== 48) {
53534
+ break;
53535
+ }
53536
+ message.expiresInSeconds = reader.uint32();
53537
+ continue;
53538
+ }
52483
53539
  }
52484
53540
  if ((tag & 7) === 4 || tag === 0) {
52485
53541
  break;
@@ -52492,7 +53548,8 @@ var TokenFlowCreateRequest = {
52492
53548
  return {
52493
53549
  utmSource: isSet5(object.utmSource) ? globalThis.String(object.utmSource) : "",
52494
53550
  localhostPort: isSet5(object.localhostPort) ? globalThis.Number(object.localhostPort) : 0,
52495
- nextUrl: isSet5(object.nextUrl) ? globalThis.String(object.nextUrl) : ""
53551
+ nextUrl: isSet5(object.nextUrl) ? globalThis.String(object.nextUrl) : "",
53552
+ expiresInSeconds: isSet5(object.expiresInSeconds) ? globalThis.Number(object.expiresInSeconds) : 0
52496
53553
  };
52497
53554
  },
52498
53555
  toJSON(message) {
@@ -52506,6 +53563,9 @@ var TokenFlowCreateRequest = {
52506
53563
  if (message.nextUrl !== "") {
52507
53564
  obj.nextUrl = message.nextUrl;
52508
53565
  }
53566
+ if (message.expiresInSeconds !== 0) {
53567
+ obj.expiresInSeconds = Math.round(message.expiresInSeconds);
53568
+ }
52509
53569
  return obj;
52510
53570
  },
52511
53571
  create(base) {
@@ -52516,6 +53576,7 @@ var TokenFlowCreateRequest = {
52516
53576
  message.utmSource = object.utmSource ?? "";
52517
53577
  message.localhostPort = object.localhostPort ?? 0;
52518
53578
  message.nextUrl = object.nextUrl ?? "";
53579
+ message.expiresInSeconds = object.expiresInSeconds ?? 0;
52519
53580
  return message;
52520
53581
  }
52521
53582
  };
@@ -60117,6 +61178,14 @@ var ModalClientDefinition = {
60117
61178
  responseStream: false,
60118
61179
  options: {}
60119
61180
  },
61181
+ functionCallFetch: {
61182
+ name: "FunctionCallFetch",
61183
+ requestType: FunctionCallFetchRequest,
61184
+ requestStream: false,
61185
+ responseType: FunctionCallFetchResponse,
61186
+ responseStream: false,
61187
+ options: {}
61188
+ },
60120
61189
  functionCallFromId: {
60121
61190
  name: "FunctionCallFromId",
60122
61191
  requestType: FunctionCallFromIdRequest,
@@ -60272,6 +61341,14 @@ var ModalClientDefinition = {
60272
61341
  responseStream: false,
60273
61342
  options: {}
60274
61343
  },
61344
+ functionListVariants: {
61345
+ name: "FunctionListVariants",
61346
+ requestType: FunctionListVariantsRequest,
61347
+ requestStream: false,
61348
+ responseType: FunctionListVariantsResponse,
61349
+ responseStream: false,
61350
+ options: {}
61351
+ },
60275
61352
  functionMap: {
60276
61353
  name: "FunctionMap",
60277
61354
  requestType: FunctionMapRequest,
@@ -60939,6 +62016,14 @@ var ModalClientDefinition = {
60939
62016
  responseStream: false,
60940
62017
  options: {}
60941
62018
  },
62019
+ serverRequestFetch: {
62020
+ name: "ServerRequestFetch",
62021
+ requestType: ServerRequestFetchRequest,
62022
+ requestStream: false,
62023
+ responseType: ServerRequestFetchResponse,
62024
+ responseStream: false,
62025
+ options: {}
62026
+ },
60942
62027
  /** Service users */
60943
62028
  serviceUserList: {
60944
62029
  name: "ServiceUserList",
@@ -71513,7 +72598,7 @@ var Sandbox2 = class _Sandbox {
71513
72598
  return new Image2(this.#client, resp.success.imageId, "");
71514
72599
  }
71515
72600
  if (resp.error) {
71516
- if (resp.error.errorCode === 1 /* ERROR_CODE_TIMEOUT */) {
72601
+ if (resp.error.errorCode === 1 /* ERROR_CODE_TIMEOUT */ || resp.error.errorCode === 3 /* ERROR_CODE_FILESYSTEM_INCONSISTENT */) {
71517
72602
  throw new SnapshotCreationError(
71518
72603
  resp.error.message || "No exit snapshot image will be produced"
71519
72604
  );
@@ -72207,7 +73292,7 @@ var AuthTokenManager = class {
72207
73292
  };
72208
73293
 
72209
73294
  // src/version.ts
72210
- var SDK_VERSION = "0.10.2-dev.2";
73295
+ var SDK_VERSION = "0.10.2-dev.3";
72211
73296
  function getSDKVersion() {
72212
73297
  return SDK_VERSION;
72213
73298
  }