@alienplatform/sdk 1.11.2 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/.turbo/turbo-build.log +18 -44
  2. package/dist/bearerTokenAuthenticationPolicy.js +40 -40
  3. package/dist/{serde.js → checksum.js} +1103 -469
  4. package/dist/dist-cjs.js +15256 -1
  5. package/dist/dist.js +37 -23
  6. package/dist/es5.js +107 -11
  7. package/dist/esm.js +4803 -4946
  8. package/dist/esm2.js +298 -236
  9. package/dist/event-streams.js +571 -4
  10. package/dist/generated/artifact_registry.d.ts +14 -14
  11. package/dist/generated/artifact_registry.d.ts.map +1 -1
  12. package/dist/generated/build.d.ts +6 -6
  13. package/dist/generated/build.d.ts.map +1 -1
  14. package/dist/generated/container.d.ts +6 -6
  15. package/dist/generated/container.d.ts.map +1 -1
  16. package/dist/generated/control.d.ts +8 -8
  17. package/dist/generated/control.d.ts.map +1 -1
  18. package/dist/generated/kv.d.ts +10 -10
  19. package/dist/generated/kv.d.ts.map +1 -1
  20. package/dist/generated/queue.d.ts +6 -6
  21. package/dist/generated/queue.d.ts.map +1 -1
  22. package/dist/generated/service_account.d.ts +4 -4
  23. package/dist/generated/service_account.d.ts.map +1 -1
  24. package/dist/generated/storage.d.ts +28 -28
  25. package/dist/generated/storage.d.ts.map +1 -1
  26. package/dist/generated/vault.d.ts +6 -6
  27. package/dist/generated/vault.d.ts.map +1 -1
  28. package/dist/generated/wait_until.d.ts +8 -8
  29. package/dist/generated/wait_until.d.ts.map +1 -1
  30. package/dist/generated/worker.d.ts +4 -4
  31. package/dist/generated/worker.d.ts.map +1 -1
  32. package/dist/index.js +311 -278
  33. package/dist/open.js +2 -1
  34. package/dist/rolldown-runtime.js +9 -2
  35. package/dist/src.js +10240 -10043
  36. package/dist/src2.js +15 -13
  37. package/package.json +4 -4
  38. package/src/generated/artifact_registry.ts +125 -35
  39. package/src/generated/build.ts +67 -19
  40. package/src/generated/container.ts +28 -10
  41. package/src/generated/control.ts +130 -34
  42. package/src/generated/google/protobuf/duration.ts +1 -1
  43. package/src/generated/google/protobuf/timestamp.ts +1 -1
  44. package/src/generated/kv.ts +53 -21
  45. package/src/generated/queue.ts +37 -13
  46. package/src/generated/service_account.ts +64 -16
  47. package/src/generated/storage.ts +189 -61
  48. package/src/generated/vault.ts +37 -13
  49. package/src/generated/wait_until.ts +68 -20
  50. package/src/generated/worker.ts +29 -11
  51. package/dist/client.js +0 -2376
  52. package/dist/dist-cjs2.js +0 -718
  53. package/dist/dist-cjs3.js +0 -2486
  54. package/dist/dist-cjs4.js +0 -171
  55. package/dist/dist-cjs5.js +0 -429
  56. package/dist/dist-cjs6.js +0 -60
  57. package/dist/dist-cjs7.js +0 -978
  58. package/dist/dist-cjs8.js +0 -86
  59. package/dist/dist-cjs9.js +0 -319
  60. package/dist/package.js +0 -4
  61. package/dist/protocols.js +0 -954
  62. package/dist/protocols2.js +0 -5565
  63. package/dist/signin.js +0 -723
  64. package/dist/sso-oidc.js +0 -940
  65. package/dist/sts.js +0 -1329
  66. package/dist/tslib.es6.js +0 -543
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { o as __toESM, t as __commonJSMin } from "./rolldown-runtime.js";
2
2
  import { a as literal, c as string, i as discriminatedUnion, n as defineError, o as number, s as object, t as AlienError } from "./dist.js";
3
3
  import { t as require_src } from "./src.js";
4
- //#region ../../node_modules/.pnpm/nice-grpc-common@2.0.2/node_modules/nice-grpc-common/lib/Metadata.js
4
+ //#region ../../node_modules/.pnpm/nice-grpc-common@2.0.3/node_modules/nice-grpc-common/lib/Metadata.js
5
5
  var require_Metadata = /* @__PURE__ */ __commonJSMin(((exports) => {
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.Metadata = void 0;
@@ -78,10 +78,16 @@ var require_Metadata = /* @__PURE__ */ __commonJSMin(((exports) => {
78
78
  }
79
79
  }));
80
80
  //#endregion
81
- //#region ../../node_modules/.pnpm/nice-grpc-common@2.0.2/node_modules/nice-grpc-common/lib/Status.js
81
+ //#region ../../node_modules/.pnpm/nice-grpc-common@2.0.3/node_modules/nice-grpc-common/lib/Status.js
82
82
  var require_Status = /* @__PURE__ */ __commonJSMin(((exports) => {
83
83
  Object.defineProperty(exports, "__esModule", { value: true });
84
84
  exports.Status = void 0;
85
+ /**
86
+ * gRPC status code.
87
+ *
88
+ * See https://grpc.github.io/grpc/core/md_doc_statuscodes.html.
89
+ */
90
+ var Status;
85
91
  (function(Status) {
86
92
  /**
87
93
  * Not an error; returned on success.
@@ -228,28 +234,28 @@ var require_Status = /* @__PURE__ */ __commonJSMin(((exports) => {
228
234
  * operation.
229
235
  */
230
236
  Status[Status["UNAUTHENTICATED"] = 16] = "UNAUTHENTICATED";
231
- })(exports.Status || (exports.Status = {}));
237
+ })(Status || (exports.Status = Status = {}));
232
238
  }));
233
239
  //#endregion
234
- //#region ../../node_modules/.pnpm/nice-grpc-common@2.0.2/node_modules/nice-grpc-common/lib/MethodDescriptor.js
240
+ //#region ../../node_modules/.pnpm/nice-grpc-common@2.0.3/node_modules/nice-grpc-common/lib/MethodDescriptor.js
235
241
  var require_MethodDescriptor = /* @__PURE__ */ __commonJSMin(((exports) => {
236
242
  Object.defineProperty(exports, "__esModule", { value: true });
237
243
  }));
238
244
  //#endregion
239
- //#region ../../node_modules/.pnpm/nice-grpc-common@2.0.2/node_modules/nice-grpc-common/lib/client/CallOptions.js
245
+ //#region ../../node_modules/.pnpm/nice-grpc-common@2.0.3/node_modules/nice-grpc-common/lib/client/CallOptions.js
240
246
  var require_CallOptions = /* @__PURE__ */ __commonJSMin(((exports) => {
241
247
  Object.defineProperty(exports, "__esModule", { value: true });
242
248
  }));
243
249
  //#endregion
244
- //#region ../../node_modules/.pnpm/nice-grpc-common@2.0.2/node_modules/nice-grpc-common/lib/client/ClientMiddleware.js
250
+ //#region ../../node_modules/.pnpm/nice-grpc-common@2.0.3/node_modules/nice-grpc-common/lib/client/ClientMiddleware.js
245
251
  var require_ClientMiddleware = /* @__PURE__ */ __commonJSMin(((exports) => {
246
252
  Object.defineProperty(exports, "__esModule", { value: true });
247
253
  }));
248
254
  //#endregion
249
- //#region ../../node_modules/.pnpm/nice-grpc-common@2.0.2/node_modules/nice-grpc-common/lib/client/composeClientMiddleware.js
255
+ //#region ../../node_modules/.pnpm/nice-grpc-common@2.0.3/node_modules/nice-grpc-common/lib/client/composeClientMiddleware.js
250
256
  var require_composeClientMiddleware = /* @__PURE__ */ __commonJSMin(((exports) => {
251
257
  Object.defineProperty(exports, "__esModule", { value: true });
252
- exports.composeClientMiddleware = void 0;
258
+ exports.composeClientMiddleware = composeClientMiddleware;
253
259
  function composeClientMiddleware(middleware1, middleware2) {
254
260
  return (call, options) => {
255
261
  return middleware2(Object.assign(Object.assign({}, call), { next: (request, options2) => {
@@ -257,7 +263,6 @@ var require_composeClientMiddleware = /* @__PURE__ */ __commonJSMin(((exports) =
257
263
  } }), options);
258
264
  };
259
265
  }
260
- exports.composeClientMiddleware = composeClientMiddleware;
261
266
  }));
262
267
  //#endregion
263
268
  //#region ../../node_modules/.pnpm/ts-error@1.0.6/node_modules/ts-error/lib/helpers.js
@@ -371,7 +376,7 @@ var require_cjs = /* @__PURE__ */ __commonJSMin(((exports) => {
371
376
  exports["default"] = exports.ExtendableError;
372
377
  }));
373
378
  //#endregion
374
- //#region ../../node_modules/.pnpm/nice-grpc-common@2.0.2/node_modules/nice-grpc-common/lib/client/ClientError.js
379
+ //#region ../../node_modules/.pnpm/nice-grpc-common@2.0.3/node_modules/nice-grpc-common/lib/client/ClientError.js
375
380
  var require_ClientError = /* @__PURE__ */ __commonJSMin(((exports) => {
376
381
  Object.defineProperty(exports, "__esModule", { value: true });
377
382
  exports.ClientError = void 0;
@@ -394,20 +399,20 @@ var require_ClientError = /* @__PURE__ */ __commonJSMin(((exports) => {
394
399
  };
395
400
  }));
396
401
  //#endregion
397
- //#region ../../node_modules/.pnpm/nice-grpc-common@2.0.2/node_modules/nice-grpc-common/lib/server/CallContext.js
402
+ //#region ../../node_modules/.pnpm/nice-grpc-common@2.0.3/node_modules/nice-grpc-common/lib/server/CallContext.js
398
403
  var require_CallContext = /* @__PURE__ */ __commonJSMin(((exports) => {
399
404
  Object.defineProperty(exports, "__esModule", { value: true });
400
405
  }));
401
406
  //#endregion
402
- //#region ../../node_modules/.pnpm/nice-grpc-common@2.0.2/node_modules/nice-grpc-common/lib/server/ServerMiddleware.js
407
+ //#region ../../node_modules/.pnpm/nice-grpc-common@2.0.3/node_modules/nice-grpc-common/lib/server/ServerMiddleware.js
403
408
  var require_ServerMiddleware = /* @__PURE__ */ __commonJSMin(((exports) => {
404
409
  Object.defineProperty(exports, "__esModule", { value: true });
405
410
  }));
406
411
  //#endregion
407
- //#region ../../node_modules/.pnpm/nice-grpc-common@2.0.2/node_modules/nice-grpc-common/lib/server/composeServerMiddleware.js
412
+ //#region ../../node_modules/.pnpm/nice-grpc-common@2.0.3/node_modules/nice-grpc-common/lib/server/composeServerMiddleware.js
408
413
  var require_composeServerMiddleware = /* @__PURE__ */ __commonJSMin(((exports) => {
409
414
  Object.defineProperty(exports, "__esModule", { value: true });
410
- exports.composeServerMiddleware = void 0;
415
+ exports.composeServerMiddleware = composeServerMiddleware;
411
416
  function composeServerMiddleware(middleware1, middleware2) {
412
417
  return (call, context) => {
413
418
  return middleware1(Object.assign(Object.assign({}, call), { next: (request, context1) => {
@@ -415,10 +420,9 @@ var require_composeServerMiddleware = /* @__PURE__ */ __commonJSMin(((exports) =
415
420
  } }), context);
416
421
  };
417
422
  }
418
- exports.composeServerMiddleware = composeServerMiddleware;
419
423
  }));
420
424
  //#endregion
421
- //#region ../../node_modules/.pnpm/nice-grpc-common@2.0.2/node_modules/nice-grpc-common/lib/server/ServerError.js
425
+ //#region ../../node_modules/.pnpm/nice-grpc-common@2.0.3/node_modules/nice-grpc-common/lib/server/ServerError.js
422
426
  var require_ServerError = /* @__PURE__ */ __commonJSMin(((exports) => {
423
427
  Object.defineProperty(exports, "__esModule", { value: true });
424
428
  exports.ServerError = void 0;
@@ -440,7 +444,7 @@ var require_ServerError = /* @__PURE__ */ __commonJSMin(((exports) => {
440
444
  };
441
445
  }));
442
446
  //#endregion
443
- //#region ../../node_modules/.pnpm/nice-grpc-common@2.0.2/node_modules/nice-grpc-common/lib/index.js
447
+ //#region ../../node_modules/.pnpm/nice-grpc-common@2.0.3/node_modules/nice-grpc-common/lib/index.js
444
448
  var require_lib$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
445
449
  var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
446
450
  if (k2 === void 0) k2 = k;
@@ -473,7 +477,7 @@ var require_lib$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
473
477
  __exportStar(require_ServerError(), exports);
474
478
  }));
475
479
  //#endregion
476
- //#region ../../node_modules/.pnpm/nice-grpc@2.1.14/node_modules/nice-grpc/lib/service-definitions/grpc-js.js
480
+ //#region ../../node_modules/.pnpm/nice-grpc@2.1.16/node_modules/nice-grpc/lib/service-definitions/grpc-js.js
477
481
  var require_grpc_js = /* @__PURE__ */ __commonJSMin(((exports) => {
478
482
  Object.defineProperty(exports, "__esModule", { value: true });
479
483
  exports.fromGrpcJsServiceDefinition = fromGrpcJsServiceDefinition;
@@ -497,7 +501,7 @@ var require_grpc_js = /* @__PURE__ */ __commonJSMin(((exports) => {
497
501
  }
498
502
  }));
499
503
  //#endregion
500
- //#region ../../node_modules/.pnpm/nice-grpc@2.1.14/node_modules/nice-grpc/lib/service-definitions/ts-proto.js
504
+ //#region ../../node_modules/.pnpm/nice-grpc@2.1.16/node_modules/nice-grpc/lib/service-definitions/ts-proto.js
501
505
  var require_ts_proto = /* @__PURE__ */ __commonJSMin(((exports) => {
502
506
  Object.defineProperty(exports, "__esModule", { value: true });
503
507
  exports.fromTsProtoServiceDefinition = fromTsProtoServiceDefinition;
@@ -527,7 +531,7 @@ var require_ts_proto = /* @__PURE__ */ __commonJSMin(((exports) => {
527
531
  }
528
532
  }));
529
533
  //#endregion
530
- //#region ../../node_modules/.pnpm/nice-grpc@2.1.14/node_modules/nice-grpc/lib/service-definitions/index.js
534
+ //#region ../../node_modules/.pnpm/nice-grpc@2.1.16/node_modules/nice-grpc/lib/service-definitions/index.js
531
535
  var require_service_definitions = /* @__PURE__ */ __commonJSMin(((exports) => {
532
536
  Object.defineProperty(exports, "__esModule", { value: true });
533
537
  exports.normalizeServiceDefinition = normalizeServiceDefinition;
@@ -561,7 +565,7 @@ var require_service_definitions = /* @__PURE__ */ __commonJSMin(((exports) => {
561
565
  }
562
566
  }));
563
567
  //#endregion
564
- //#region ../../node_modules/.pnpm/abort-controller-x@0.4.3/node_modules/abort-controller-x/lib/AbortError.js
568
+ //#region ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/AbortError.js
565
569
  var require_AbortError = /* @__PURE__ */ __commonJSMin(((exports) => {
566
570
  Object.defineProperty(exports, "__esModule", { value: true });
567
571
  exports.catchAbortError = exports.rethrowAbortError = exports.throwIfAborted = exports.isAbortError = exports.AbortError = void 0;
@@ -571,12 +575,16 @@ var require_AbortError = /* @__PURE__ */ __commonJSMin(((exports) => {
571
575
  * **Warning**: do not use `instanceof` with this class. Instead, use
572
576
  * `isAbortError` function.
573
577
  */
574
- var AbortError = class extends Error {
575
- constructor() {
576
- super("The operation has been aborted");
577
- this.message = "The operation has been aborted";
578
+ var AbortError = class {
579
+ constructor(message = "The operation has been aborted", captureStackTrace = true) {
580
+ this.message = message;
578
581
  this.name = "AbortError";
579
- if (typeof Error.captureStackTrace === "function") Error.captureStackTrace(this, this.constructor);
582
+ this.stack = "";
583
+ if (captureStackTrace) Error.captureStackTrace?.(this, this.constructor);
584
+ Object.setPrototypeOf(this, Error.prototype);
585
+ }
586
+ static [Symbol.hasInstance](instance) {
587
+ return isAbortError(instance);
580
588
  }
581
589
  };
582
590
  exports.AbortError = AbortError;
@@ -628,7 +636,7 @@ var require_AbortError = /* @__PURE__ */ __commonJSMin(((exports) => {
628
636
  exports.catchAbortError = catchAbortError;
629
637
  }));
630
638
  //#endregion
631
- //#region ../../node_modules/.pnpm/abort-controller-x@0.4.3/node_modules/abort-controller-x/lib/execute.js
639
+ //#region ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/execute.js
632
640
  var require_execute = /* @__PURE__ */ __commonJSMin(((exports) => {
633
641
  Object.defineProperty(exports, "__esModule", { value: true });
634
642
  exports.execute = void 0;
@@ -646,7 +654,7 @@ var require_execute = /* @__PURE__ */ __commonJSMin(((exports) => {
646
654
  function execute(signal, executor) {
647
655
  return new Promise((resolve, reject) => {
648
656
  if (signal.aborted) {
649
- reject(new AbortError_1.AbortError());
657
+ reject(signal.reason ?? new AbortError_1.AbortError());
650
658
  return;
651
659
  }
652
660
  let removeAbortListener;
@@ -665,19 +673,19 @@ var require_execute = /* @__PURE__ */ __commonJSMin(((exports) => {
665
673
  finish();
666
674
  });
667
675
  if (!finished) {
668
- const listener = () => {
669
- const callbackResult = callback();
670
- if (callbackResult == null) reject(new AbortError_1.AbortError());
676
+ const abortListener = () => {
677
+ const callbackResult = callback(signal.reason);
678
+ if (callbackResult == null) reject(signal.reason ?? new AbortError_1.AbortError());
671
679
  else callbackResult.then(() => {
672
- reject(new AbortError_1.AbortError());
680
+ reject(signal.reason ?? new AbortError_1.AbortError());
673
681
  }, (reason) => {
674
682
  reject(reason);
675
683
  });
676
684
  finish();
677
685
  };
678
- signal.addEventListener("abort", listener);
686
+ signal.addEventListener("abort", abortListener);
679
687
  removeAbortListener = () => {
680
- signal.removeEventListener("abort", listener);
688
+ signal.removeEventListener("abort", abortListener);
681
689
  };
682
690
  }
683
691
  });
@@ -685,7 +693,7 @@ var require_execute = /* @__PURE__ */ __commonJSMin(((exports) => {
685
693
  exports.execute = execute;
686
694
  }));
687
695
  //#endregion
688
- //#region ../../node_modules/.pnpm/abort-controller-x@0.4.3/node_modules/abort-controller-x/lib/abortable.js
696
+ //#region ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/abortable.js
689
697
  var require_abortable = /* @__PURE__ */ __commonJSMin(((exports) => {
690
698
  Object.defineProperty(exports, "__esModule", { value: true });
691
699
  exports.abortable = void 0;
@@ -709,7 +717,7 @@ var require_abortable = /* @__PURE__ */ __commonJSMin(((exports) => {
709
717
  exports.abortable = abortable;
710
718
  }));
711
719
  //#endregion
712
- //#region ../../node_modules/.pnpm/abort-controller-x@0.4.3/node_modules/abort-controller-x/lib/delay.js
720
+ //#region ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/delay.js
713
721
  var require_delay = /* @__PURE__ */ __commonJSMin(((exports) => {
714
722
  Object.defineProperty(exports, "__esModule", { value: true });
715
723
  exports.delay = void 0;
@@ -755,7 +763,7 @@ var require_delay = /* @__PURE__ */ __commonJSMin(((exports) => {
755
763
  exports.delay = delay;
756
764
  }));
757
765
  //#endregion
758
- //#region ../../node_modules/.pnpm/abort-controller-x@0.4.3/node_modules/abort-controller-x/lib/forever.js
766
+ //#region ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/forever.js
759
767
  var require_forever = /* @__PURE__ */ __commonJSMin(((exports) => {
760
768
  Object.defineProperty(exports, "__esModule", { value: true });
761
769
  exports.forever = void 0;
@@ -770,7 +778,7 @@ var require_forever = /* @__PURE__ */ __commonJSMin(((exports) => {
770
778
  exports.forever = forever;
771
779
  }));
772
780
  //#endregion
773
- //#region ../../node_modules/.pnpm/abort-controller-x@0.4.3/node_modules/abort-controller-x/lib/waitForEvent.js
781
+ //#region ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/waitForEvent.js
774
782
  var require_waitForEvent = /* @__PURE__ */ __commonJSMin(((exports) => {
775
783
  Object.defineProperty(exports, "__esModule", { value: true });
776
784
  exports.waitForEvent = void 0;
@@ -839,7 +847,7 @@ var require_waitForEvent = /* @__PURE__ */ __commonJSMin(((exports) => {
839
847
  const isFunction = (obj) => typeof obj === "function";
840
848
  }));
841
849
  //#endregion
842
- //#region ../../node_modules/.pnpm/abort-controller-x@0.4.3/node_modules/abort-controller-x/lib/all.js
850
+ //#region ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/all.js
843
851
  var require_all = /* @__PURE__ */ __commonJSMin(((exports) => {
844
852
  Object.defineProperty(exports, "__esModule", { value: true });
845
853
  exports.all = void 0;
@@ -847,7 +855,7 @@ var require_all = /* @__PURE__ */ __commonJSMin(((exports) => {
847
855
  function all(signal, executor) {
848
856
  return new Promise((resolve, reject) => {
849
857
  if (signal.aborted) {
850
- reject(new AbortError_1.AbortError());
858
+ reject(signal.reason ?? new AbortError_1.AbortError());
851
859
  return;
852
860
  }
853
861
  const innerAbortController = new AbortController();
@@ -857,7 +865,7 @@ var require_all = /* @__PURE__ */ __commonJSMin(((exports) => {
857
865
  return;
858
866
  }
859
867
  const abortListener = () => {
860
- innerAbortController.abort();
868
+ innerAbortController.abort(signal.reason ?? new AbortError_1.AbortError());
861
869
  };
862
870
  signal.addEventListener("abort", abortListener);
863
871
  let rejection;
@@ -875,7 +883,7 @@ var require_all = /* @__PURE__ */ __commonJSMin(((exports) => {
875
883
  results[i] = value;
876
884
  settled();
877
885
  }, (reason) => {
878
- innerAbortController.abort();
886
+ innerAbortController.abort(new AbortError_1.AbortError("One of the promises passed to all() rejected", false));
879
887
  if (rejection == null || !(0, AbortError_1.isAbortError)(reason) && (0, AbortError_1.isAbortError)(rejection.reason)) rejection = { reason };
880
888
  settled();
881
889
  });
@@ -884,7 +892,7 @@ var require_all = /* @__PURE__ */ __commonJSMin(((exports) => {
884
892
  exports.all = all;
885
893
  }));
886
894
  //#endregion
887
- //#region ../../node_modules/.pnpm/abort-controller-x@0.4.3/node_modules/abort-controller-x/lib/race.js
895
+ //#region ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/race.js
888
896
  var require_race = /* @__PURE__ */ __commonJSMin(((exports) => {
889
897
  Object.defineProperty(exports, "__esModule", { value: true });
890
898
  exports.race = void 0;
@@ -920,18 +928,18 @@ var require_race = /* @__PURE__ */ __commonJSMin(((exports) => {
920
928
  function race(signal, executor) {
921
929
  return new Promise((resolve, reject) => {
922
930
  if (signal.aborted) {
923
- reject(new AbortError_1.AbortError());
931
+ reject(signal.reason ?? new AbortError_1.AbortError());
924
932
  return;
925
933
  }
926
934
  const innerAbortController = new AbortController();
927
935
  const promises = executor(innerAbortController.signal);
928
936
  const abortListener = () => {
929
- innerAbortController.abort();
937
+ innerAbortController.abort(signal.reason ?? new AbortError_1.AbortError());
930
938
  };
931
939
  signal.addEventListener("abort", abortListener);
932
940
  let settledCount = 0;
933
941
  function settled(result) {
934
- innerAbortController.abort();
942
+ innerAbortController.abort(new AbortError_1.AbortError("One of the promises passed to race() settled", false));
935
943
  settledCount += 1;
936
944
  if (settledCount === promises.length) {
937
945
  signal.removeEventListener("abort", abortListener);
@@ -958,7 +966,7 @@ var require_race = /* @__PURE__ */ __commonJSMin(((exports) => {
958
966
  exports.race = race;
959
967
  }));
960
968
  //#endregion
961
- //#region ../../node_modules/.pnpm/abort-controller-x@0.4.3/node_modules/abort-controller-x/lib/retry.js
969
+ //#region ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/retry.js
962
970
  var require_retry = /* @__PURE__ */ __commonJSMin(((exports) => {
963
971
  Object.defineProperty(exports, "__esModule", { value: true });
964
972
  exports.retry = void 0;
@@ -996,7 +1004,7 @@ var require_retry = /* @__PURE__ */ __commonJSMin(((exports) => {
996
1004
  exports.retry = retry;
997
1005
  }));
998
1006
  //#endregion
999
- //#region ../../node_modules/.pnpm/abort-controller-x@0.4.3/node_modules/abort-controller-x/lib/spawn.js
1007
+ //#region ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/spawn.js
1000
1008
  var require_spawn = /* @__PURE__ */ __commonJSMin(((exports) => {
1001
1009
  Object.defineProperty(exports, "__esModule", { value: true });
1002
1010
  exports.spawn = void 0;
@@ -1094,12 +1102,12 @@ var require_spawn = /* @__PURE__ */ __commonJSMin(((exports) => {
1094
1102
  */
1095
1103
  const spawnAbortController = new AbortController();
1096
1104
  const spawnSignal = spawnAbortController.signal;
1097
- const abortSpawn = () => {
1098
- spawnAbortController.abort();
1105
+ const abortListener = () => {
1106
+ spawnAbortController.abort(signal.reason ?? new AbortError_1.AbortError());
1099
1107
  };
1100
- signal.addEventListener("abort", abortSpawn);
1108
+ signal.addEventListener("abort", abortListener);
1101
1109
  const removeAbortListener = () => {
1102
- signal.removeEventListener("abort", abortSpawn);
1110
+ signal.removeEventListener("abort", abortListener);
1103
1111
  };
1104
1112
  const tasks = /* @__PURE__ */ new Set();
1105
1113
  const abortTasks = () => {
@@ -1118,10 +1126,10 @@ var require_spawn = /* @__PURE__ */ __commonJSMin(((exports) => {
1118
1126
  },
1119
1127
  fork
1120
1128
  })).join().then((value) => {
1121
- spawnAbortController.abort();
1129
+ spawnAbortController.abort(new AbortError_1.AbortError("spawn() function finished", false));
1122
1130
  result = { value };
1123
1131
  }, (error) => {
1124
- spawnAbortController.abort();
1132
+ spawnAbortController.abort((0, AbortError_1.isAbortError)(error) ? error : new AbortError_1.AbortError("spawn() function threw", false));
1125
1133
  if (!(0, AbortError_1.isAbortError)(error) || failure == null) failure = { error };
1126
1134
  });
1127
1135
  function fork(forkFn) {
@@ -1143,7 +1151,7 @@ var require_spawn = /* @__PURE__ */ __commonJSMin(((exports) => {
1143
1151
  tasks.add(task);
1144
1152
  taskPromise.catch(AbortError_1.catchAbortError).catch((error) => {
1145
1153
  failure = { error };
1146
- spawnAbortController.abort();
1154
+ spawnAbortController.abort(new AbortError_1.AbortError("A function forked by spawn() threw", false));
1147
1155
  }).finally(() => {
1148
1156
  tasks.delete(task);
1149
1157
  if (tasks.size === 0) if (failure != null) reject(failure.error);
@@ -1164,7 +1172,7 @@ var require_spawn = /* @__PURE__ */ __commonJSMin(((exports) => {
1164
1172
  exports.spawn = spawn;
1165
1173
  }));
1166
1174
  //#endregion
1167
- //#region ../../node_modules/.pnpm/abort-controller-x@0.4.3/node_modules/abort-controller-x/lib/run.js
1175
+ //#region ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/run.js
1168
1176
  var require_run = /* @__PURE__ */ __commonJSMin(((exports) => {
1169
1177
  Object.defineProperty(exports, "__esModule", { value: true });
1170
1178
  exports.run = void 0;
@@ -1205,7 +1213,7 @@ var require_run = /* @__PURE__ */ __commonJSMin(((exports) => {
1205
1213
  exports.run = run;
1206
1214
  }));
1207
1215
  //#endregion
1208
- //#region ../../node_modules/.pnpm/abort-controller-x@0.4.3/node_modules/abort-controller-x/lib/proactiveRetry.js
1216
+ //#region ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/proactiveRetry.js
1209
1217
  var require_proactiveRetry = /* @__PURE__ */ __commonJSMin(((exports) => {
1210
1218
  Object.defineProperty(exports, "__esModule", { value: true });
1211
1219
  exports.proactiveRetry = void 0;
@@ -1227,7 +1235,7 @@ var require_proactiveRetry = /* @__PURE__ */ __commonJSMin(((exports) => {
1227
1235
  let attemptsExhausted = false;
1228
1236
  const promises = /* @__PURE__ */ new Map();
1229
1237
  function handleFulfilled(value) {
1230
- innerAbortController.abort();
1238
+ innerAbortController.abort(new AbortError_1.AbortError("One of the proactiveRetry() attempts fulfilled", false));
1231
1239
  promises.clear();
1232
1240
  resolve(value);
1233
1241
  }
@@ -1241,7 +1249,7 @@ var require_proactiveRetry = /* @__PURE__ */ __commonJSMin(((exports) => {
1241
1249
  if (onError) try {
1242
1250
  onError(err, attempt);
1243
1251
  } catch (err) {
1244
- innerAbortController.abort();
1252
+ innerAbortController.abort(new AbortError_1.AbortError("Error was thrown from proactiveRetry() onError callback", false));
1245
1253
  promises.clear();
1246
1254
  reject(err);
1247
1255
  }
@@ -1259,15 +1267,15 @@ var require_proactiveRetry = /* @__PURE__ */ __commonJSMin(((exports) => {
1259
1267
  attemptsExhausted = true;
1260
1268
  }
1261
1269
  makeAttempts(innerAbortController.signal).catch(AbortError_1.catchAbortError);
1262
- return () => {
1263
- innerAbortController.abort();
1270
+ return (reason) => {
1271
+ innerAbortController.abort(reason ?? new AbortError_1.AbortError());
1264
1272
  };
1265
1273
  });
1266
1274
  }
1267
1275
  exports.proactiveRetry = proactiveRetry;
1268
1276
  }));
1269
1277
  //#endregion
1270
- //#region ../../node_modules/.pnpm/abort-controller-x@0.4.3/node_modules/abort-controller-x/lib/index.js
1278
+ //#region ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/index.js
1271
1279
  var require_lib$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
1272
1280
  var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
1273
1281
  if (k2 === void 0) k2 = k;
@@ -1301,7 +1309,7 @@ var require_lib$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
1301
1309
  __exportStar(require_proactiveRetry(), exports);
1302
1310
  }));
1303
1311
  //#endregion
1304
- //#region ../../node_modules/.pnpm/nice-grpc@2.1.14/node_modules/nice-grpc/lib/utils/convertMetadata.js
1312
+ //#region ../../node_modules/.pnpm/nice-grpc@2.1.16/node_modules/nice-grpc/lib/utils/convertMetadata.js
1305
1313
  var require_convertMetadata = /* @__PURE__ */ __commonJSMin(((exports) => {
1306
1314
  var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
1307
1315
  if (k2 === void 0) k2 = k;
@@ -1366,7 +1374,7 @@ var require_convertMetadata = /* @__PURE__ */ __commonJSMin(((exports) => {
1366
1374
  }
1367
1375
  }));
1368
1376
  //#endregion
1369
- //#region ../../node_modules/.pnpm/nice-grpc@2.1.14/node_modules/nice-grpc/lib/utils/isAsyncIterable.js
1377
+ //#region ../../node_modules/.pnpm/nice-grpc@2.1.16/node_modules/nice-grpc/lib/utils/isAsyncIterable.js
1370
1378
  var require_isAsyncIterable = /* @__PURE__ */ __commonJSMin(((exports) => {
1371
1379
  Object.defineProperty(exports, "__esModule", { value: true });
1372
1380
  exports.isAsyncIterable = isAsyncIterable;
@@ -1376,10 +1384,11 @@ var require_isAsyncIterable = /* @__PURE__ */ __commonJSMin(((exports) => {
1376
1384
  }
1377
1385
  }));
1378
1386
  //#endregion
1379
- //#region ../../node_modules/.pnpm/nice-grpc@2.1.14/node_modules/nice-grpc/lib/utils/readableToAsyncIterable.js
1387
+ //#region ../../node_modules/.pnpm/nice-grpc@2.1.16/node_modules/nice-grpc/lib/utils/readableToAsyncIterable.js
1380
1388
  var require_readableToAsyncIterable = /* @__PURE__ */ __commonJSMin(((exports) => {
1381
1389
  Object.defineProperty(exports, "__esModule", { value: true });
1382
1390
  exports.readableToAsyncIterable = readableToAsyncIterable;
1391
+ const abort_controller_x_1 = require_lib$1();
1383
1392
  let nodejsInternalsCompatibilityCheckedOnce = false;
1384
1393
  /**
1385
1394
  * Exactly once check that an object has Node.js readable stream internal object looks roughly like we expect.
@@ -1398,7 +1407,7 @@ var require_readableToAsyncIterable = /* @__PURE__ */ __commonJSMin(((exports) =
1398
1407
  *
1399
1408
  * @internal
1400
1409
  */
1401
- async function* readableToAsyncIterable(stream) {
1410
+ async function* readableToAsyncIterable(stream, signal) {
1402
1411
  let callback = nop;
1403
1412
  function next(resolve) {
1404
1413
  if (this === stream) {
@@ -1426,8 +1435,14 @@ var require_readableToAsyncIterable = /* @__PURE__ */ __commonJSMin(((exports) =
1426
1435
  while (true) {
1427
1436
  const chunk = stream.destroyed ? null : stream.read();
1428
1437
  if (chunk !== null) yield chunk;
1429
- else if (errorEmitted) throw error;
1430
- else if (endEmitted) break;
1438
+ else if (errorEmitted) {
1439
+ if (signal?.aborted) {
1440
+ const abortError = new abort_controller_x_1.AbortError();
1441
+ abortError.cause = error;
1442
+ throw abortError;
1443
+ }
1444
+ throw error;
1445
+ } else if (endEmitted) break;
1431
1446
  else if (closeEmitted) break;
1432
1447
  else await new Promise(next);
1433
1448
  }
@@ -1435,7 +1450,7 @@ var require_readableToAsyncIterable = /* @__PURE__ */ __commonJSMin(((exports) =
1435
1450
  const nop = () => {};
1436
1451
  }));
1437
1452
  //#endregion
1438
- //#region ../../node_modules/.pnpm/nice-grpc@2.1.14/node_modules/nice-grpc/lib/server/createCallContext.js
1453
+ //#region ../../node_modules/.pnpm/nice-grpc@2.1.16/node_modules/nice-grpc/lib/server/createCallContext.js
1439
1454
  var require_createCallContext = /* @__PURE__ */ __commonJSMin(((exports) => {
1440
1455
  Object.defineProperty(exports, "__esModule", { value: true });
1441
1456
  exports.createCallContext = createCallContext;
@@ -1490,7 +1505,7 @@ var require_createCallContext = /* @__PURE__ */ __commonJSMin(((exports) => {
1490
1505
  }
1491
1506
  }));
1492
1507
  //#endregion
1493
- //#region ../../node_modules/.pnpm/nice-grpc@2.1.14/node_modules/nice-grpc/lib/server/createErrorStatusObject.js
1508
+ //#region ../../node_modules/.pnpm/nice-grpc@2.1.16/node_modules/nice-grpc/lib/server/createErrorStatusObject.js
1494
1509
  var require_createErrorStatusObject = /* @__PURE__ */ __commonJSMin(((exports) => {
1495
1510
  Object.defineProperty(exports, "__esModule", { value: true });
1496
1511
  exports.createErrorStatusObject = createErrorStatusObject;
@@ -1520,7 +1535,7 @@ var require_createErrorStatusObject = /* @__PURE__ */ __commonJSMin(((exports) =
1520
1535
  }
1521
1536
  }));
1522
1537
  //#endregion
1523
- //#region ../../node_modules/.pnpm/nice-grpc@2.1.14/node_modules/nice-grpc/lib/server/handleBidiStreamingCall.js
1538
+ //#region ../../node_modules/.pnpm/nice-grpc@2.1.16/node_modules/nice-grpc/lib/server/handleBidiStreamingCall.js
1524
1539
  var require_handleBidiStreamingCall = /* @__PURE__ */ __commonJSMin(((exports) => {
1525
1540
  Object.defineProperty(exports, "__esModule", { value: true });
1526
1541
  exports.createBidiStreamingMethodHandler = createBidiStreamingMethodHandler;
@@ -1552,7 +1567,7 @@ var require_handleBidiStreamingCall = /* @__PURE__ */ __commonJSMin(((exports) =
1552
1567
  return (call) => {
1553
1568
  const { context, maybeCancel } = (0, createCallContext_1.createCallContext)(call);
1554
1569
  Promise.resolve().then(async () => {
1555
- const iterator = handler((0, readableToAsyncIterable_1.readableToAsyncIterable)(call), context)[Symbol.asyncIterator]();
1570
+ const iterator = handler((0, readableToAsyncIterable_1.readableToAsyncIterable)(call, context.signal), context)[Symbol.asyncIterator]();
1556
1571
  try {
1557
1572
  let result = await iterator.next();
1558
1573
  while (true) {
@@ -1586,7 +1601,7 @@ var require_handleBidiStreamingCall = /* @__PURE__ */ __commonJSMin(((exports) =
1586
1601
  }
1587
1602
  }));
1588
1603
  //#endregion
1589
- //#region ../../node_modules/.pnpm/nice-grpc@2.1.14/node_modules/nice-grpc/lib/server/handleClientStreamingCall.js
1604
+ //#region ../../node_modules/.pnpm/nice-grpc@2.1.16/node_modules/nice-grpc/lib/server/handleClientStreamingCall.js
1590
1605
  var require_handleClientStreamingCall = /* @__PURE__ */ __commonJSMin(((exports) => {
1591
1606
  Object.defineProperty(exports, "__esModule", { value: true });
1592
1607
  exports.createClientStreamingMethodHandler = createClientStreamingMethodHandler;
@@ -1617,7 +1632,7 @@ var require_handleClientStreamingCall = /* @__PURE__ */ __commonJSMin(((exports)
1617
1632
  return (call, callback) => {
1618
1633
  const { context, maybeCancel } = (0, createCallContext_1.createCallContext)(call);
1619
1634
  Promise.resolve().then(async () => {
1620
- const iterator = handler((0, readableToAsyncIterable_1.readableToAsyncIterable)(call), context)[Symbol.asyncIterator]();
1635
+ const iterator = handler((0, readableToAsyncIterable_1.readableToAsyncIterable)(call, context.signal), context)[Symbol.asyncIterator]();
1621
1636
  try {
1622
1637
  let result = await iterator.next();
1623
1638
  while (true) {
@@ -1644,7 +1659,7 @@ var require_handleClientStreamingCall = /* @__PURE__ */ __commonJSMin(((exports)
1644
1659
  }
1645
1660
  }));
1646
1661
  //#endregion
1647
- //#region ../../node_modules/.pnpm/nice-grpc@2.1.14/node_modules/nice-grpc/lib/server/handleServerStreamingCall.js
1662
+ //#region ../../node_modules/.pnpm/nice-grpc@2.1.16/node_modules/nice-grpc/lib/server/handleServerStreamingCall.js
1648
1663
  var require_handleServerStreamingCall = /* @__PURE__ */ __commonJSMin(((exports) => {
1649
1664
  Object.defineProperty(exports, "__esModule", { value: true });
1650
1665
  exports.createServerStreamingMethodHandler = createServerStreamingMethodHandler;
@@ -1709,7 +1724,7 @@ var require_handleServerStreamingCall = /* @__PURE__ */ __commonJSMin(((exports)
1709
1724
  }
1710
1725
  }));
1711
1726
  //#endregion
1712
- //#region ../../node_modules/.pnpm/nice-grpc@2.1.14/node_modules/nice-grpc/lib/server/handleUnaryCall.js
1727
+ //#region ../../node_modules/.pnpm/nice-grpc@2.1.16/node_modules/nice-grpc/lib/server/handleUnaryCall.js
1713
1728
  var require_handleUnaryCall = /* @__PURE__ */ __commonJSMin(((exports) => {
1714
1729
  Object.defineProperty(exports, "__esModule", { value: true });
1715
1730
  exports.createUnaryMethodHandler = createUnaryMethodHandler;
@@ -1766,7 +1781,7 @@ var require_handleUnaryCall = /* @__PURE__ */ __commonJSMin(((exports) => {
1766
1781
  }
1767
1782
  }));
1768
1783
  //#endregion
1769
- //#region ../../node_modules/.pnpm/nice-grpc@2.1.14/node_modules/nice-grpc/lib/server/Server.js
1784
+ //#region ../../node_modules/.pnpm/nice-grpc@2.1.16/node_modules/nice-grpc/lib/server/Server.js
1770
1785
  var require_Server = /* @__PURE__ */ __commonJSMin(((exports) => {
1771
1786
  Object.defineProperty(exports, "__esModule", { value: true });
1772
1787
  exports.createServer = createServer;
@@ -1853,18 +1868,18 @@ var require_Server = /* @__PURE__ */ __commonJSMin(((exports) => {
1853
1868
  }
1854
1869
  }));
1855
1870
  //#endregion
1856
- //#region ../../node_modules/.pnpm/nice-grpc@2.1.14/node_modules/nice-grpc/lib/server/ServiceImplementation.js
1871
+ //#region ../../node_modules/.pnpm/nice-grpc@2.1.16/node_modules/nice-grpc/lib/server/ServiceImplementation.js
1857
1872
  var require_ServiceImplementation = /* @__PURE__ */ __commonJSMin(((exports) => {
1858
1873
  Object.defineProperty(exports, "__esModule", { value: true });
1859
1874
  }));
1860
1875
  //#endregion
1861
- //#region ../../node_modules/.pnpm/nice-grpc@2.1.14/node_modules/nice-grpc/lib/client/channel.js
1876
+ //#region ../../node_modules/.pnpm/nice-grpc@2.1.16/node_modules/nice-grpc/lib/client/channel.js
1862
1877
  var require_channel = /* @__PURE__ */ __commonJSMin(((exports) => {
1863
1878
  Object.defineProperty(exports, "__esModule", { value: true });
1864
1879
  exports.createChannel = createChannel;
1865
1880
  exports.waitForChannelReady = waitForChannelReady;
1866
1881
  const grpc_js_1 = require_src();
1867
- const knownProtocols = new Set(["http", "https"]);
1882
+ const knownProtocols = /* @__PURE__ */ new Set(["http", "https"]);
1868
1883
  /**
1869
1884
  * Creates a new channel. The channel represents a remote endpoint that can be
1870
1885
  * connected to.
@@ -1912,7 +1927,7 @@ var require_channel = /* @__PURE__ */ __commonJSMin(((exports) => {
1912
1927
  }
1913
1928
  }));
1914
1929
  //#endregion
1915
- //#region ../../node_modules/.pnpm/nice-grpc@2.1.14/node_modules/nice-grpc/lib/client/wrapClientError.js
1930
+ //#region ../../node_modules/.pnpm/nice-grpc@2.1.16/node_modules/nice-grpc/lib/client/wrapClientError.js
1916
1931
  var require_wrapClientError = /* @__PURE__ */ __commonJSMin(((exports) => {
1917
1932
  Object.defineProperty(exports, "__esModule", { value: true });
1918
1933
  exports.wrapClientError = wrapClientError;
@@ -1928,7 +1943,7 @@ var require_wrapClientError = /* @__PURE__ */ __commonJSMin(((exports) => {
1928
1943
  }
1929
1944
  }));
1930
1945
  //#endregion
1931
- //#region ../../node_modules/.pnpm/nice-grpc@2.1.14/node_modules/nice-grpc/lib/client/createBidiStreamingMethod.js
1946
+ //#region ../../node_modules/.pnpm/nice-grpc@2.1.16/node_modules/nice-grpc/lib/client/createBidiStreamingMethod.js
1932
1947
  var require_createBidiStreamingMethod = /* @__PURE__ */ __commonJSMin(((exports) => {
1933
1948
  Object.defineProperty(exports, "__esModule", { value: true });
1934
1949
  exports.createBidiStreamingMethod = createBidiStreamingMethod;
@@ -2023,7 +2038,7 @@ var require_createBidiStreamingMethod = /* @__PURE__ */ __commonJSMin(((exports)
2023
2038
  }
2024
2039
  }));
2025
2040
  //#endregion
2026
- //#region ../../node_modules/.pnpm/nice-grpc@2.1.14/node_modules/nice-grpc/lib/client/createClientStreamingMethod.js
2041
+ //#region ../../node_modules/.pnpm/nice-grpc@2.1.16/node_modules/nice-grpc/lib/client/createClientStreamingMethod.js
2027
2042
  var require_createClientStreamingMethod = /* @__PURE__ */ __commonJSMin(((exports) => {
2028
2043
  Object.defineProperty(exports, "__esModule", { value: true });
2029
2044
  exports.createClientStreamingMethod = createClientStreamingMethod;
@@ -2106,7 +2121,7 @@ var require_createClientStreamingMethod = /* @__PURE__ */ __commonJSMin(((export
2106
2121
  }
2107
2122
  }));
2108
2123
  //#endregion
2109
- //#region ../../node_modules/.pnpm/nice-grpc@2.1.14/node_modules/nice-grpc/lib/client/createServerStreamingMethod.js
2124
+ //#region ../../node_modules/.pnpm/nice-grpc@2.1.16/node_modules/nice-grpc/lib/client/createServerStreamingMethod.js
2110
2125
  var require_createServerStreamingMethod = /* @__PURE__ */ __commonJSMin(((exports) => {
2111
2126
  Object.defineProperty(exports, "__esModule", { value: true });
2112
2127
  exports.createServerStreamingMethod = createServerStreamingMethod;
@@ -2182,7 +2197,7 @@ var require_createServerStreamingMethod = /* @__PURE__ */ __commonJSMin(((export
2182
2197
  }
2183
2198
  }));
2184
2199
  //#endregion
2185
- //#region ../../node_modules/.pnpm/nice-grpc@2.1.14/node_modules/nice-grpc/lib/client/createUnaryMethod.js
2200
+ //#region ../../node_modules/.pnpm/nice-grpc@2.1.16/node_modules/nice-grpc/lib/client/createUnaryMethod.js
2186
2201
  var require_createUnaryMethod = /* @__PURE__ */ __commonJSMin(((exports) => {
2187
2202
  Object.defineProperty(exports, "__esModule", { value: true });
2188
2203
  exports.createUnaryMethod = createUnaryMethod;
@@ -2248,7 +2263,7 @@ var require_createUnaryMethod = /* @__PURE__ */ __commonJSMin(((exports) => {
2248
2263
  }
2249
2264
  }));
2250
2265
  //#endregion
2251
- //#region ../../node_modules/.pnpm/nice-grpc@2.1.14/node_modules/nice-grpc/lib/client/ClientFactory.js
2266
+ //#region ../../node_modules/.pnpm/nice-grpc@2.1.16/node_modules/nice-grpc/lib/client/ClientFactory.js
2252
2267
  var require_ClientFactory = /* @__PURE__ */ __commonJSMin(((exports) => {
2253
2268
  Object.defineProperty(exports, "__esModule", { value: true });
2254
2269
  exports.createClientFactory = createClientFactory;
@@ -2299,12 +2314,12 @@ var require_ClientFactory = /* @__PURE__ */ __commonJSMin(((exports) => {
2299
2314
  }
2300
2315
  }));
2301
2316
  //#endregion
2302
- //#region ../../node_modules/.pnpm/nice-grpc@2.1.14/node_modules/nice-grpc/lib/client/Client.js
2317
+ //#region ../../node_modules/.pnpm/nice-grpc@2.1.16/node_modules/nice-grpc/lib/client/Client.js
2303
2318
  var require_Client = /* @__PURE__ */ __commonJSMin(((exports) => {
2304
2319
  Object.defineProperty(exports, "__esModule", { value: true });
2305
2320
  }));
2306
2321
  //#endregion
2307
- //#region ../../node_modules/.pnpm/nice-grpc@2.1.14/node_modules/nice-grpc/lib/index.js
2322
+ //#region ../../node_modules/.pnpm/nice-grpc@2.1.16/node_modules/nice-grpc/lib/index.js
2308
2323
  var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
2309
2324
  var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
2310
2325
  if (k2 === void 0) k2 = k;
@@ -2358,7 +2373,7 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
2358
2373
  __exportStar(require_Client(), exports);
2359
2374
  }));
2360
2375
  //#endregion
2361
- //#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.10.2/node_modules/@bufbuild/protobuf/dist/esm/wire/varint.js
2376
+ //#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/wire/varint.js
2362
2377
  /**
2363
2378
  * Read a 64 bit varint as two JS numbers.
2364
2379
  *
@@ -2587,14 +2602,14 @@ function varint32read() {
2587
2602
  return result >>> 0;
2588
2603
  }
2589
2604
  //#endregion
2590
- //#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.10.2/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.js
2605
+ //#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.js
2591
2606
  /**
2592
2607
  * Int64Support for the current environment.
2593
2608
  */
2594
2609
  const protoInt64 = /*@__PURE__*/ makeInt64Support();
2595
2610
  function makeInt64Support() {
2596
2611
  const dv = /* @__PURE__ */ new DataView(/* @__PURE__ */ new ArrayBuffer(8));
2597
- if (typeof BigInt === "function" && typeof dv.getBigInt64 === "function" && typeof dv.getBigUint64 === "function" && typeof dv.setBigInt64 === "function" && typeof dv.setBigUint64 === "function" && (!!globalThis.Deno || typeof process != "object" || typeof process.env != "object" || process.env.BUF_BIGINT_DISABLE !== "1")) {
2612
+ if (typeof BigInt === "function" && typeof dv.getBigInt64 === "function" && typeof dv.getBigUint64 === "function" && typeof dv.setBigInt64 === "function" && typeof dv.setBigUint64 === "function" && (!!globalThis.Deno || !!globalThis.Bun || typeof process != "object" || typeof process.env != "object" || process.env.BUF_BIGINT_DISABLE !== "1")) {
2598
2613
  const MIN = BigInt("-9223372036854775808");
2599
2614
  const MAX = BigInt("9223372036854775807");
2600
2615
  const UMIN = BigInt("0");
@@ -2676,17 +2691,22 @@ function assertUInt64String(value) {
2676
2691
  if (!/^[0-9]+$/.test(value)) throw new Error("invalid uint64: " + value);
2677
2692
  }
2678
2693
  //#endregion
2679
- //#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.10.2/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js
2694
+ //#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js
2680
2695
  const symbol = Symbol.for("@bufbuild/protobuf/text-encoding");
2681
2696
  function getTextEncoding() {
2682
2697
  if (globalThis[symbol] == void 0) {
2683
2698
  const te = new globalThis.TextEncoder();
2684
2699
  const td = new globalThis.TextDecoder();
2700
+ let tdStrict;
2685
2701
  globalThis[symbol] = {
2686
2702
  encodeUtf8(text) {
2687
2703
  return te.encode(text);
2688
2704
  },
2689
- decodeUtf8(bytes) {
2705
+ decodeUtf8(bytes, strict) {
2706
+ if (strict) {
2707
+ if (tdStrict === void 0) tdStrict = new globalThis.TextDecoder("utf-8", { fatal: true });
2708
+ return tdStrict.decode(bytes);
2709
+ }
2690
2710
  return td.decode(bytes);
2691
2711
  },
2692
2712
  checkUtf8(text) {
@@ -2701,7 +2721,7 @@ function getTextEncoding() {
2701
2721
  return globalThis[symbol];
2702
2722
  }
2703
2723
  //#endregion
2704
- //#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.10.2/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.js
2724
+ //#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.js
2705
2725
  /**
2706
2726
  * Protobuf binary format wire types.
2707
2727
  *
@@ -2843,7 +2863,7 @@ var BinaryWriter = class {
2843
2863
  return this;
2844
2864
  }
2845
2865
  /**
2846
- * Write a `bool` value, a variant.
2866
+ * Write a `bool` value, a varint.
2847
2867
  */
2848
2868
  bool(value) {
2849
2869
  this.buf.push(value ? 1 : 0);
@@ -2869,7 +2889,7 @@ var BinaryWriter = class {
2869
2889
  */
2870
2890
  float(value) {
2871
2891
  assertFloat32(value);
2872
- let chunk = new Uint8Array(4);
2892
+ let chunk = /* @__PURE__ */ new Uint8Array(4);
2873
2893
  new DataView(chunk.buffer).setFloat32(0, value, true);
2874
2894
  return this.raw(chunk);
2875
2895
  }
@@ -2877,7 +2897,7 @@ var BinaryWriter = class {
2877
2897
  * Write a `double` value, a 64-bit floating point number.
2878
2898
  */
2879
2899
  double(value) {
2880
- let chunk = new Uint8Array(8);
2900
+ let chunk = /* @__PURE__ */ new Uint8Array(8);
2881
2901
  new DataView(chunk.buffer).setFloat64(0, value, true);
2882
2902
  return this.raw(chunk);
2883
2903
  }
@@ -2886,7 +2906,7 @@ var BinaryWriter = class {
2886
2906
  */
2887
2907
  fixed32(value) {
2888
2908
  assertUInt32(value);
2889
- let chunk = new Uint8Array(4);
2909
+ let chunk = /* @__PURE__ */ new Uint8Array(4);
2890
2910
  new DataView(chunk.buffer).setUint32(0, value, true);
2891
2911
  return this.raw(chunk);
2892
2912
  }
@@ -2895,7 +2915,7 @@ var BinaryWriter = class {
2895
2915
  */
2896
2916
  sfixed32(value) {
2897
2917
  assertInt32(value);
2898
- let chunk = new Uint8Array(4);
2918
+ let chunk = /* @__PURE__ */ new Uint8Array(4);
2899
2919
  new DataView(chunk.buffer).setInt32(0, value, true);
2900
2920
  return this.raw(chunk);
2901
2921
  }
@@ -2909,10 +2929,10 @@ var BinaryWriter = class {
2909
2929
  return this;
2910
2930
  }
2911
2931
  /**
2912
- * Write a `fixed64` value, a signed, fixed-length 64-bit integer.
2932
+ * Write a `sfixed64` value, a signed, fixed-length 64-bit integer.
2913
2933
  */
2914
2934
  sfixed64(value) {
2915
- let chunk = new Uint8Array(8), view = new DataView(chunk.buffer), tc = protoInt64.enc(value);
2935
+ let chunk = /* @__PURE__ */ new Uint8Array(8), view = new DataView(chunk.buffer), tc = protoInt64.enc(value);
2916
2936
  view.setInt32(0, tc.lo, true);
2917
2937
  view.setInt32(4, tc.hi, true);
2918
2938
  return this.raw(chunk);
@@ -2921,7 +2941,7 @@ var BinaryWriter = class {
2921
2941
  * Write a `fixed64` value, an unsigned, fixed-length 64 bit integer.
2922
2942
  */
2923
2943
  fixed64(value) {
2924
- let chunk = new Uint8Array(8), view = new DataView(chunk.buffer), tc = protoInt64.uEnc(value);
2944
+ let chunk = /* @__PURE__ */ new Uint8Array(8), view = new DataView(chunk.buffer), tc = protoInt64.uEnc(value);
2925
2945
  view.setInt32(0, tc.lo, true);
2926
2946
  view.setInt32(4, tc.hi, true);
2927
2947
  return this.raw(chunk);
@@ -2965,20 +2985,28 @@ var BinaryReader = class {
2965
2985
  this.view = new DataView(buf.buffer, buf.byteOffset, buf.byteLength);
2966
2986
  }
2967
2987
  /**
2968
- * Reads a tag - field number and wire type.
2988
+ * Reads a tag - field number and wire type. Tags are uint32 varints; values
2989
+ * that do not fit in uint32 are rejected.
2969
2990
  */
2970
2991
  tag() {
2971
- let tag = this.uint32(), fieldNo = tag >>> 3, wireType = tag & 7;
2972
- if (fieldNo <= 0 || wireType < 0 || wireType > 5) throw new Error("illegal tag: field no " + fieldNo + " wire type " + wireType);
2992
+ const start = this.pos;
2993
+ const tag = this.uint32();
2994
+ const bytesRead = this.pos - start;
2995
+ if (bytesRead > 5 || bytesRead == 5 && this.buf[this.pos - 1] > 15) throw new Error("illegal tag: varint overflows uint32");
2996
+ const fieldNo = tag >>> 3;
2997
+ const wireType = tag & 7;
2998
+ if (fieldNo <= 0 || wireType > 5) throw new Error("illegal tag: field no " + fieldNo + " wire type " + wireType);
2973
2999
  return [fieldNo, wireType];
2974
3000
  }
2975
3001
  /**
2976
3002
  * Skip one element and return the skipped data.
2977
3003
  *
2978
3004
  * When skipping StartGroup, provide the tags field number to check for
2979
- * matching field number in the EndGroup tag.
3005
+ * matching field number in the EndGroup tag. Recursion into nested groups
3006
+ * is guarded by the `recursionLimit` argument: When the limit is reached,
3007
+ * this method throws.
2980
3008
  */
2981
- skip(wireType, fieldNo) {
3009
+ skip(wireType, fieldNo, recursionLimit = 100) {
2982
3010
  let start = this.pos;
2983
3011
  switch (wireType) {
2984
3012
  case WireType.Varint:
@@ -2993,13 +3021,14 @@ var BinaryReader = class {
2993
3021
  this.pos += len;
2994
3022
  break;
2995
3023
  case WireType.StartGroup:
3024
+ if (recursionLimit <= 0) throw new Error("maximum recursion depth reached");
2996
3025
  for (;;) {
2997
3026
  const [fn, wt] = this.tag();
2998
3027
  if (wt === WireType.EndGroup) {
2999
3028
  if (fieldNo !== void 0 && fn !== fieldNo) throw new Error("invalid end group tag");
3000
3029
  break;
3001
3030
  }
3002
- this.skip(wt, fn);
3031
+ this.skip(wt, fn, recursionLimit - 1);
3003
3032
  }
3004
3033
  break;
3005
3034
  default: throw new Error("cant skip wire type " + wireType);
@@ -3101,10 +3130,11 @@ var BinaryReader = class {
3101
3130
  return this.buf.subarray(start, start + len);
3102
3131
  }
3103
3132
  /**
3104
- * Read a `string` field, length-delimited data converted to UTF-8 text.
3133
+ * Read a `string` field, length-delimited data converted to UTF-8 text. If
3134
+ * `strict` is true, throw on invalid UTF-8 instead of substituting U+FFFD.
3105
3135
  */
3106
- string() {
3107
- return this.decodeUtf8(this.bytes());
3136
+ string(strict) {
3137
+ return this.decodeUtf8(this.bytes(), strict);
3108
3138
  }
3109
3139
  };
3110
3140
  /**
@@ -3217,8 +3247,8 @@ const CreateRepositoryRequest = {
3217
3247
  },
3218
3248
  fromJSON(object) {
3219
3249
  return {
3220
- bindingName: isSet$11(object.bindingName) ? globalThis.String(object.bindingName) : "",
3221
- repoName: isSet$11(object.repoName) ? globalThis.String(object.repoName) : ""
3250
+ bindingName: isSet$11(object.bindingName) ? globalThis.String(object.bindingName) : isSet$11(object.binding_name) ? globalThis.String(object.binding_name) : "",
3251
+ repoName: isSet$11(object.repoName) ? globalThis.String(object.repoName) : isSet$11(object.repo_name) ? globalThis.String(object.repo_name) : ""
3222
3252
  };
3223
3253
  },
3224
3254
  toJSON(message) {
@@ -3314,8 +3344,8 @@ const GetRepositoryRequest = {
3314
3344
  },
3315
3345
  fromJSON(object) {
3316
3346
  return {
3317
- bindingName: isSet$11(object.bindingName) ? globalThis.String(object.bindingName) : "",
3318
- repoId: isSet$11(object.repoId) ? globalThis.String(object.repoId) : ""
3347
+ bindingName: isSet$11(object.bindingName) ? globalThis.String(object.bindingName) : isSet$11(object.binding_name) ? globalThis.String(object.binding_name) : "",
3348
+ repoId: isSet$11(object.repoId) ? globalThis.String(object.repoId) : isSet$11(object.repo_id) ? globalThis.String(object.repo_id) : ""
3319
3349
  };
3320
3350
  },
3321
3351
  toJSON(message) {
@@ -3417,8 +3447,8 @@ const AddCrossAccountAccessRequest = {
3417
3447
  },
3418
3448
  fromJSON(object) {
3419
3449
  return {
3420
- bindingName: isSet$11(object.bindingName) ? globalThis.String(object.bindingName) : "",
3421
- repoId: isSet$11(object.repoId) ? globalThis.String(object.repoId) : "",
3450
+ bindingName: isSet$11(object.bindingName) ? globalThis.String(object.bindingName) : isSet$11(object.binding_name) ? globalThis.String(object.binding_name) : "",
3451
+ repoId: isSet$11(object.repoId) ? globalThis.String(object.repoId) : isSet$11(object.repo_id) ? globalThis.String(object.repo_id) : "",
3422
3452
  access: isSet$11(object.access) ? CrossAccountAccess.fromJSON(object.access) : void 0
3423
3453
  };
3424
3454
  },
@@ -3513,8 +3543,8 @@ const RemoveCrossAccountAccessRequest = {
3513
3543
  },
3514
3544
  fromJSON(object) {
3515
3545
  return {
3516
- bindingName: isSet$11(object.bindingName) ? globalThis.String(object.bindingName) : "",
3517
- repoId: isSet$11(object.repoId) ? globalThis.String(object.repoId) : "",
3546
+ bindingName: isSet$11(object.bindingName) ? globalThis.String(object.bindingName) : isSet$11(object.binding_name) ? globalThis.String(object.binding_name) : "",
3547
+ repoId: isSet$11(object.repoId) ? globalThis.String(object.repoId) : isSet$11(object.repo_id) ? globalThis.String(object.repo_id) : "",
3518
3548
  access: isSet$11(object.access) ? CrossAccountAccess.fromJSON(object.access) : void 0
3519
3549
  };
3520
3550
  },
@@ -3603,8 +3633,8 @@ const GetCrossAccountAccessRequest = {
3603
3633
  },
3604
3634
  fromJSON(object) {
3605
3635
  return {
3606
- bindingName: isSet$11(object.bindingName) ? globalThis.String(object.bindingName) : "",
3607
- repoId: isSet$11(object.repoId) ? globalThis.String(object.repoId) : ""
3636
+ bindingName: isSet$11(object.bindingName) ? globalThis.String(object.bindingName) : isSet$11(object.binding_name) ? globalThis.String(object.binding_name) : "",
3637
+ repoId: isSet$11(object.repoId) ? globalThis.String(object.repoId) : isSet$11(object.repo_id) ? globalThis.String(object.repo_id) : ""
3608
3638
  };
3609
3639
  },
3610
3640
  toJSON(message) {
@@ -3712,10 +3742,10 @@ const GenerateCredentialsRequest = {
3712
3742
  },
3713
3743
  fromJSON(object) {
3714
3744
  return {
3715
- bindingName: isSet$11(object.bindingName) ? globalThis.String(object.bindingName) : "",
3716
- repoId: isSet$11(object.repoId) ? globalThis.String(object.repoId) : "",
3745
+ bindingName: isSet$11(object.bindingName) ? globalThis.String(object.bindingName) : isSet$11(object.binding_name) ? globalThis.String(object.binding_name) : "",
3746
+ repoId: isSet$11(object.repoId) ? globalThis.String(object.repoId) : isSet$11(object.repo_id) ? globalThis.String(object.repo_id) : "",
3717
3747
  permissions: isSet$11(object.permissions) ? artifactRegistryPermissionsFromJSON(object.permissions) : 0,
3718
- ttlSeconds: isSet$11(object.ttlSeconds) ? globalThis.Number(object.ttlSeconds) : void 0
3748
+ ttlSeconds: isSet$11(object.ttlSeconds) ? globalThis.Number(object.ttlSeconds) : isSet$11(object.ttl_seconds) ? globalThis.Number(object.ttl_seconds) : void 0
3719
3749
  };
3720
3750
  },
3721
3751
  toJSON(message) {
@@ -3815,8 +3845,8 @@ const DeleteRepositoryRequest = {
3815
3845
  },
3816
3846
  fromJSON(object) {
3817
3847
  return {
3818
- bindingName: isSet$11(object.bindingName) ? globalThis.String(object.bindingName) : "",
3819
- repoId: isSet$11(object.repoId) ? globalThis.String(object.repoId) : ""
3848
+ bindingName: isSet$11(object.bindingName) ? globalThis.String(object.bindingName) : isSet$11(object.binding_name) ? globalThis.String(object.binding_name) : "",
3849
+ repoId: isSet$11(object.repoId) ? globalThis.String(object.repoId) : isSet$11(object.repo_id) ? globalThis.String(object.repo_id) : ""
3820
3850
  };
3821
3851
  },
3822
3852
  toJSON(message) {
@@ -3923,9 +3953,9 @@ const AwsCrossAccountAccess = {
3923
3953
  },
3924
3954
  fromJSON(object) {
3925
3955
  return {
3926
- accountIds: globalThis.Array.isArray(object?.accountIds) ? object.accountIds.map((e) => globalThis.String(e)) : [],
3927
- allowedServiceTypes: globalThis.Array.isArray(object?.allowedServiceTypes) ? object.allowedServiceTypes.map((e) => computeServiceTypeFromJSON(e)) : [],
3928
- roleArns: globalThis.Array.isArray(object?.roleArns) ? object.roleArns.map((e) => globalThis.String(e)) : [],
3956
+ accountIds: globalThis.Array.isArray(object?.accountIds) ? object.accountIds.map((e) => globalThis.String(e)) : globalThis.Array.isArray(object?.account_ids) ? object.account_ids.map((e) => globalThis.String(e)) : [],
3957
+ allowedServiceTypes: globalThis.Array.isArray(object?.allowedServiceTypes) ? object.allowedServiceTypes.map((e) => computeServiceTypeFromJSON(e)) : globalThis.Array.isArray(object?.allowed_service_types) ? object.allowed_service_types.map((e) => computeServiceTypeFromJSON(e)) : [],
3958
+ roleArns: globalThis.Array.isArray(object?.roleArns) ? object.roleArns.map((e) => globalThis.String(e)) : globalThis.Array.isArray(object?.role_arns) ? object.role_arns.map((e) => globalThis.String(e)) : [],
3929
3959
  regions: globalThis.Array.isArray(object?.regions) ? object.regions.map((e) => globalThis.String(e)) : []
3930
3960
  };
3931
3961
  },
@@ -3999,9 +4029,9 @@ const GcpCrossAccountAccess = {
3999
4029
  },
4000
4030
  fromJSON(object) {
4001
4031
  return {
4002
- projectNumbers: globalThis.Array.isArray(object?.projectNumbers) ? object.projectNumbers.map((e) => globalThis.String(e)) : [],
4003
- allowedServiceTypes: globalThis.Array.isArray(object?.allowedServiceTypes) ? object.allowedServiceTypes.map((e) => computeServiceTypeFromJSON(e)) : [],
4004
- serviceAccountEmails: globalThis.Array.isArray(object?.serviceAccountEmails) ? object.serviceAccountEmails.map((e) => globalThis.String(e)) : []
4032
+ projectNumbers: globalThis.Array.isArray(object?.projectNumbers) ? object.projectNumbers.map((e) => globalThis.String(e)) : globalThis.Array.isArray(object?.project_numbers) ? object.project_numbers.map((e) => globalThis.String(e)) : [],
4033
+ allowedServiceTypes: globalThis.Array.isArray(object?.allowedServiceTypes) ? object.allowedServiceTypes.map((e) => computeServiceTypeFromJSON(e)) : globalThis.Array.isArray(object?.allowed_service_types) ? object.allowed_service_types.map((e) => computeServiceTypeFromJSON(e)) : [],
4034
+ serviceAccountEmails: globalThis.Array.isArray(object?.serviceAccountEmails) ? object.serviceAccountEmails.map((e) => globalThis.String(e)) : globalThis.Array.isArray(object?.service_account_emails) ? object.service_account_emails.map((e) => globalThis.String(e)) : []
4005
4035
  };
4006
4036
  },
4007
4037
  toJSON(message) {
@@ -4113,7 +4143,7 @@ const CrossAccountPermissions = {
4113
4143
  fromJSON(object) {
4114
4144
  return {
4115
4145
  access: isSet$11(object.access) ? CrossAccountAccess.fromJSON(object.access) : void 0,
4116
- lastUpdated: isSet$11(object.lastUpdated) ? globalThis.String(object.lastUpdated) : void 0
4146
+ lastUpdated: isSet$11(object.lastUpdated) ? globalThis.String(object.lastUpdated) : isSet$11(object.last_updated) ? globalThis.String(object.last_updated) : void 0
4117
4147
  };
4118
4148
  },
4119
4149
  toJSON(message) {
@@ -4175,7 +4205,7 @@ const RepositoryResult = {
4175
4205
  return {
4176
4206
  name: isSet$11(object.name) ? globalThis.String(object.name) : "",
4177
4207
  uri: isSet$11(object.uri) ? globalThis.String(object.uri) : void 0,
4178
- createdAt: isSet$11(object.createdAt) ? globalThis.String(object.createdAt) : void 0
4208
+ createdAt: isSet$11(object.createdAt) ? globalThis.String(object.createdAt) : isSet$11(object.created_at) ? globalThis.String(object.created_at) : void 0
4179
4209
  };
4180
4210
  },
4181
4211
  toJSON(message) {
@@ -4245,8 +4275,8 @@ const Credentials = {
4245
4275
  return {
4246
4276
  username: isSet$11(object.username) ? globalThis.String(object.username) : "",
4247
4277
  password: isSet$11(object.password) ? globalThis.String(object.password) : "",
4248
- expiresAt: isSet$11(object.expiresAt) ? globalThis.String(object.expiresAt) : void 0,
4249
- authMethod: isSet$11(object.authMethod) ? authMethodFromJSON(object.authMethod) : 0
4278
+ expiresAt: isSet$11(object.expiresAt) ? globalThis.String(object.expiresAt) : isSet$11(object.expires_at) ? globalThis.String(object.expires_at) : void 0,
4279
+ authMethod: isSet$11(object.authMethod) ? authMethodFromJSON(object.authMethod) : isSet$11(object.auth_method) ? authMethodFromJSON(object.auth_method) : 0
4250
4280
  };
4251
4281
  },
4252
4282
  toJSON(message) {
@@ -4968,7 +4998,7 @@ const StartBuildRequest = {
4968
4998
  },
4969
4999
  fromJSON(object) {
4970
5000
  return {
4971
- bindingName: isSet$10(object.bindingName) ? globalThis.String(object.bindingName) : "",
5001
+ bindingName: isSet$10(object.bindingName) ? globalThis.String(object.bindingName) : isSet$10(object.binding_name) ? globalThis.String(object.binding_name) : "",
4972
5002
  config: isSet$10(object.config) ? BuildConfig.fromJSON(object.config) : void 0
4973
5003
  };
4974
5004
  },
@@ -5065,8 +5095,8 @@ const GetBuildStatusRequest = {
5065
5095
  },
5066
5096
  fromJSON(object) {
5067
5097
  return {
5068
- bindingName: isSet$10(object.bindingName) ? globalThis.String(object.bindingName) : "",
5069
- buildId: isSet$10(object.buildId) ? globalThis.String(object.buildId) : ""
5098
+ bindingName: isSet$10(object.bindingName) ? globalThis.String(object.bindingName) : isSet$10(object.binding_name) ? globalThis.String(object.binding_name) : "",
5099
+ buildId: isSet$10(object.buildId) ? globalThis.String(object.buildId) : isSet$10(object.build_id) ? globalThis.String(object.build_id) : ""
5070
5100
  };
5071
5101
  },
5072
5102
  toJSON(message) {
@@ -5162,8 +5192,8 @@ const StopBuildRequest = {
5162
5192
  },
5163
5193
  fromJSON(object) {
5164
5194
  return {
5165
- bindingName: isSet$10(object.bindingName) ? globalThis.String(object.bindingName) : "",
5166
- buildId: isSet$10(object.buildId) ? globalThis.String(object.buildId) : ""
5195
+ bindingName: isSet$10(object.bindingName) ? globalThis.String(object.bindingName) : isSet$10(object.binding_name) ? globalThis.String(object.binding_name) : "",
5196
+ buildId: isSet$10(object.buildId) ? globalThis.String(object.buildId) : isSet$10(object.build_id) ? globalThis.String(object.build_id) : ""
5167
5197
  };
5168
5198
  },
5169
5199
  toJSON(message) {
@@ -5279,8 +5309,8 @@ const BuildConfig = {
5279
5309
  acc[key] = globalThis.String(value);
5280
5310
  return acc;
5281
5311
  }, {}) : {},
5282
- computeType: isSet$10(object.computeType) ? computeTypeFromJSON(object.computeType) : 0,
5283
- timeoutSeconds: isSet$10(object.timeoutSeconds) ? globalThis.Number(object.timeoutSeconds) : void 0,
5312
+ computeType: isSet$10(object.computeType) ? computeTypeFromJSON(object.computeType) : isSet$10(object.compute_type) ? computeTypeFromJSON(object.compute_type) : 0,
5313
+ timeoutSeconds: isSet$10(object.timeoutSeconds) ? globalThis.Number(object.timeoutSeconds) : isSet$10(object.timeout_seconds) ? globalThis.Number(object.timeout_seconds) : void 0,
5284
5314
  monitoring: isSet$10(object.monitoring) ? MonitoringConfig.fromJSON(object.monitoring) : void 0
5285
5315
  };
5286
5316
  },
@@ -5437,9 +5467,9 @@ const MonitoringConfig = {
5437
5467
  acc[key] = globalThis.String(value);
5438
5468
  return acc;
5439
5469
  }, {}) : {},
5440
- logsUri: isSet$10(object.logsUri) ? globalThis.String(object.logsUri) : "",
5441
- tlsEnabled: isSet$10(object.tlsEnabled) ? globalThis.Boolean(object.tlsEnabled) : false,
5442
- tlsVerify: isSet$10(object.tlsVerify) ? globalThis.Boolean(object.tlsVerify) : false
5470
+ logsUri: isSet$10(object.logsUri) ? globalThis.String(object.logsUri) : isSet$10(object.logs_uri) ? globalThis.String(object.logs_uri) : "",
5471
+ tlsEnabled: isSet$10(object.tlsEnabled) ? globalThis.Boolean(object.tlsEnabled) : isSet$10(object.tls_enabled) ? globalThis.Boolean(object.tls_enabled) : false,
5472
+ tlsVerify: isSet$10(object.tlsVerify) ? globalThis.Boolean(object.tlsVerify) : isSet$10(object.tls_verify) ? globalThis.Boolean(object.tls_verify) : false
5443
5473
  };
5444
5474
  },
5445
5475
  toJSON(message) {
@@ -5579,8 +5609,8 @@ const BuildExecution = {
5579
5609
  return {
5580
5610
  id: isSet$10(object.id) ? globalThis.String(object.id) : "",
5581
5611
  status: isSet$10(object.status) ? buildStatusFromJSON(object.status) : 0,
5582
- startTime: isSet$10(object.startTime) ? globalThis.String(object.startTime) : void 0,
5583
- endTime: isSet$10(object.endTime) ? globalThis.String(object.endTime) : void 0
5612
+ startTime: isSet$10(object.startTime) ? globalThis.String(object.startTime) : isSet$10(object.start_time) ? globalThis.String(object.start_time) : void 0,
5613
+ endTime: isSet$10(object.endTime) ? globalThis.String(object.endTime) : isSet$10(object.end_time) ? globalThis.String(object.end_time) : void 0
5584
5614
  };
5585
5615
  },
5586
5616
  toJSON(message) {
@@ -5810,7 +5840,7 @@ const GetRequest = {
5810
5840
  },
5811
5841
  fromJSON(object) {
5812
5842
  return {
5813
- bindingName: isSet$9(object.bindingName) ? globalThis.String(object.bindingName) : "",
5843
+ bindingName: isSet$9(object.bindingName) ? globalThis.String(object.bindingName) : isSet$9(object.binding_name) ? globalThis.String(object.binding_name) : "",
5814
5844
  key: isSet$9(object.key) ? globalThis.String(object.key) : ""
5815
5845
  };
5816
5846
  },
@@ -5876,7 +5906,7 @@ function createBasePutRequest() {
5876
5906
  return {
5877
5907
  bindingName: "",
5878
5908
  key: "",
5879
- value: new Uint8Array(0),
5909
+ value: /* @__PURE__ */ new Uint8Array(0),
5880
5910
  options: void 0
5881
5911
  };
5882
5912
  }
@@ -5919,9 +5949,9 @@ const PutRequest = {
5919
5949
  },
5920
5950
  fromJSON(object) {
5921
5951
  return {
5922
- bindingName: isSet$9(object.bindingName) ? globalThis.String(object.bindingName) : "",
5952
+ bindingName: isSet$9(object.bindingName) ? globalThis.String(object.bindingName) : isSet$9(object.binding_name) ? globalThis.String(object.binding_name) : "",
5923
5953
  key: isSet$9(object.key) ? globalThis.String(object.key) : "",
5924
- value: isSet$9(object.value) ? bytesFromBase64$3(object.value) : new Uint8Array(0),
5954
+ value: isSet$9(object.value) ? bytesFromBase64$3(object.value) : /* @__PURE__ */ new Uint8Array(0),
5925
5955
  options: isSet$9(object.options) ? PutOptions.fromJSON(object.options) : void 0
5926
5956
  };
5927
5957
  },
@@ -5940,7 +5970,7 @@ const PutRequest = {
5940
5970
  const message = createBasePutRequest();
5941
5971
  message.bindingName = object.bindingName ?? "";
5942
5972
  message.key = object.key ?? "";
5943
- message.value = object.value ?? new Uint8Array(0);
5973
+ message.value = object.value ?? /* @__PURE__ */ new Uint8Array(0);
5944
5974
  message.options = object.options !== void 0 && object.options !== null ? PutOptions.fromPartial(object.options) : void 0;
5945
5975
  return message;
5946
5976
  }
@@ -5980,8 +6010,8 @@ const PutOptions = {
5980
6010
  },
5981
6011
  fromJSON(object) {
5982
6012
  return {
5983
- ttlSeconds: isSet$9(object.ttlSeconds) ? globalThis.Number(object.ttlSeconds) : void 0,
5984
- ifNotExists: isSet$9(object.ifNotExists) ? globalThis.Boolean(object.ifNotExists) : false
6013
+ ttlSeconds: isSet$9(object.ttlSeconds) ? globalThis.Number(object.ttlSeconds) : isSet$9(object.ttl_seconds) ? globalThis.Number(object.ttl_seconds) : void 0,
6014
+ ifNotExists: isSet$9(object.ifNotExists) ? globalThis.Boolean(object.ifNotExists) : isSet$9(object.if_not_exists) ? globalThis.Boolean(object.if_not_exists) : false
5985
6015
  };
5986
6016
  },
5987
6017
  toJSON(message) {
@@ -6077,7 +6107,7 @@ const DeleteRequest = {
6077
6107
  },
6078
6108
  fromJSON(object) {
6079
6109
  return {
6080
- bindingName: isSet$9(object.bindingName) ? globalThis.String(object.bindingName) : "",
6110
+ bindingName: isSet$9(object.bindingName) ? globalThis.String(object.bindingName) : isSet$9(object.binding_name) ? globalThis.String(object.binding_name) : "",
6081
6111
  key: isSet$9(object.key) ? globalThis.String(object.key) : ""
6082
6112
  };
6083
6113
  },
@@ -6164,7 +6194,7 @@ const ExistsRequest = {
6164
6194
  },
6165
6195
  fromJSON(object) {
6166
6196
  return {
6167
- bindingName: isSet$9(object.bindingName) ? globalThis.String(object.bindingName) : "",
6197
+ bindingName: isSet$9(object.bindingName) ? globalThis.String(object.bindingName) : isSet$9(object.binding_name) ? globalThis.String(object.binding_name) : "",
6168
6198
  key: isSet$9(object.key) ? globalThis.String(object.key) : ""
6169
6199
  };
6170
6200
  },
@@ -6273,7 +6303,7 @@ const ScanPrefixRequest = {
6273
6303
  },
6274
6304
  fromJSON(object) {
6275
6305
  return {
6276
- bindingName: isSet$9(object.bindingName) ? globalThis.String(object.bindingName) : "",
6306
+ bindingName: isSet$9(object.bindingName) ? globalThis.String(object.bindingName) : isSet$9(object.binding_name) ? globalThis.String(object.binding_name) : "",
6277
6307
  prefix: isSet$9(object.prefix) ? globalThis.String(object.prefix) : "",
6278
6308
  limit: isSet$9(object.limit) ? globalThis.Number(object.limit) : void 0,
6279
6309
  cursor: isSet$9(object.cursor) ? globalThis.String(object.cursor) : void 0
@@ -6335,7 +6365,7 @@ const ScanPrefixResponse = {
6335
6365
  fromJSON(object) {
6336
6366
  return {
6337
6367
  items: globalThis.Array.isArray(object?.items) ? object.items.map((e) => KvItem.fromJSON(e)) : [],
6338
- nextCursor: isSet$9(object.nextCursor) ? globalThis.String(object.nextCursor) : void 0
6368
+ nextCursor: isSet$9(object.nextCursor) ? globalThis.String(object.nextCursor) : isSet$9(object.next_cursor) ? globalThis.String(object.next_cursor) : void 0
6339
6369
  };
6340
6370
  },
6341
6371
  toJSON(message) {
@@ -6357,7 +6387,7 @@ const ScanPrefixResponse = {
6357
6387
  function createBaseKvItem() {
6358
6388
  return {
6359
6389
  key: "",
6360
- value: new Uint8Array(0)
6390
+ value: /* @__PURE__ */ new Uint8Array(0)
6361
6391
  };
6362
6392
  }
6363
6393
  const KvItem = {
@@ -6390,7 +6420,7 @@ const KvItem = {
6390
6420
  fromJSON(object) {
6391
6421
  return {
6392
6422
  key: isSet$9(object.key) ? globalThis.String(object.key) : "",
6393
- value: isSet$9(object.value) ? bytesFromBase64$3(object.value) : new Uint8Array(0)
6423
+ value: isSet$9(object.value) ? bytesFromBase64$3(object.value) : /* @__PURE__ */ new Uint8Array(0)
6394
6424
  };
6395
6425
  },
6396
6426
  toJSON(message) {
@@ -6405,7 +6435,7 @@ const KvItem = {
6405
6435
  fromPartial(object) {
6406
6436
  const message = createBaseKvItem();
6407
6437
  message.key = object.key ?? "";
6408
- message.value = object.value ?? new Uint8Array(0);
6438
+ message.value = object.value ?? /* @__PURE__ */ new Uint8Array(0);
6409
6439
  return message;
6410
6440
  }
6411
6441
  };
@@ -6719,7 +6749,7 @@ const SendRequest = {
6719
6749
  },
6720
6750
  fromJSON(object) {
6721
6751
  return {
6722
- bindingName: isSet$8(object.bindingName) ? globalThis.String(object.bindingName) : "",
6752
+ bindingName: isSet$8(object.bindingName) ? globalThis.String(object.bindingName) : isSet$8(object.binding_name) ? globalThis.String(object.binding_name) : "",
6723
6753
  queue: isSet$8(object.queue) ? globalThis.String(object.queue) : "",
6724
6754
  message: isSet$8(object.message) ? MessagePayload.fromJSON(object.message) : void 0
6725
6755
  };
@@ -6815,9 +6845,9 @@ const ReceiveRequest = {
6815
6845
  },
6816
6846
  fromJSON(object) {
6817
6847
  return {
6818
- bindingName: isSet$8(object.bindingName) ? globalThis.String(object.bindingName) : "",
6848
+ bindingName: isSet$8(object.bindingName) ? globalThis.String(object.bindingName) : isSet$8(object.binding_name) ? globalThis.String(object.binding_name) : "",
6819
6849
  queue: isSet$8(object.queue) ? globalThis.String(object.queue) : "",
6820
- maxMessages: isSet$8(object.maxMessages) ? globalThis.Number(object.maxMessages) : 0
6850
+ maxMessages: isSet$8(object.maxMessages) ? globalThis.Number(object.maxMessages) : isSet$8(object.max_messages) ? globalThis.Number(object.max_messages) : 0
6821
6851
  };
6822
6852
  },
6823
6853
  toJSON(message) {
@@ -6921,9 +6951,9 @@ const AckRequest = {
6921
6951
  },
6922
6952
  fromJSON(object) {
6923
6953
  return {
6924
- bindingName: isSet$8(object.bindingName) ? globalThis.String(object.bindingName) : "",
6954
+ bindingName: isSet$8(object.bindingName) ? globalThis.String(object.bindingName) : isSet$8(object.binding_name) ? globalThis.String(object.binding_name) : "",
6925
6955
  queue: isSet$8(object.queue) ? globalThis.String(object.queue) : "",
6926
- receiptHandle: isSet$8(object.receiptHandle) ? globalThis.String(object.receiptHandle) : ""
6956
+ receiptHandle: isSet$8(object.receiptHandle) ? globalThis.String(object.receiptHandle) : isSet$8(object.receipt_handle) ? globalThis.String(object.receipt_handle) : ""
6927
6957
  };
6928
6958
  },
6929
6959
  toJSON(message) {
@@ -7067,7 +7097,7 @@ const QueueMessage$1 = {
7067
7097
  fromJSON(object) {
7068
7098
  return {
7069
7099
  payload: isSet$8(object.payload) ? MessagePayload.fromJSON(object.payload) : void 0,
7070
- receiptHandle: isSet$8(object.receiptHandle) ? globalThis.String(object.receiptHandle) : ""
7100
+ receiptHandle: isSet$8(object.receiptHandle) ? globalThis.String(object.receiptHandle) : isSet$8(object.receipt_handle) ? globalThis.String(object.receipt_handle) : ""
7071
7101
  };
7072
7102
  },
7073
7103
  toJSON(message) {
@@ -7283,7 +7313,7 @@ const GetInfoRequest = {
7283
7313
  return message;
7284
7314
  },
7285
7315
  fromJSON(object) {
7286
- return { bindingName: isSet$7(object.bindingName) ? globalThis.String(object.bindingName) : "" };
7316
+ return { bindingName: isSet$7(object.bindingName) ? globalThis.String(object.bindingName) : isSet$7(object.binding_name) ? globalThis.String(object.binding_name) : "" };
7287
7317
  },
7288
7318
  toJSON(message) {
7289
7319
  const obj = {};
@@ -7334,8 +7364,8 @@ const AwsServiceAccountInfo = {
7334
7364
  },
7335
7365
  fromJSON(object) {
7336
7366
  return {
7337
- roleName: isSet$7(object.roleName) ? globalThis.String(object.roleName) : "",
7338
- roleArn: isSet$7(object.roleArn) ? globalThis.String(object.roleArn) : ""
7367
+ roleName: isSet$7(object.roleName) ? globalThis.String(object.roleName) : isSet$7(object.role_name) ? globalThis.String(object.role_name) : "",
7368
+ roleArn: isSet$7(object.roleArn) ? globalThis.String(object.roleArn) : isSet$7(object.role_arn) ? globalThis.String(object.role_arn) : ""
7339
7369
  };
7340
7370
  },
7341
7371
  toJSON(message) {
@@ -7390,7 +7420,7 @@ const GcpServiceAccountInfo = {
7390
7420
  fromJSON(object) {
7391
7421
  return {
7392
7422
  email: isSet$7(object.email) ? globalThis.String(object.email) : "",
7393
- uniqueId: isSet$7(object.uniqueId) ? globalThis.String(object.uniqueId) : ""
7423
+ uniqueId: isSet$7(object.uniqueId) ? globalThis.String(object.uniqueId) : isSet$7(object.unique_id) ? globalThis.String(object.unique_id) : ""
7394
7424
  };
7395
7425
  },
7396
7426
  toJSON(message) {
@@ -7450,9 +7480,9 @@ const AzureServiceAccountInfo = {
7450
7480
  },
7451
7481
  fromJSON(object) {
7452
7482
  return {
7453
- clientId: isSet$7(object.clientId) ? globalThis.String(object.clientId) : "",
7454
- resourceId: isSet$7(object.resourceId) ? globalThis.String(object.resourceId) : "",
7455
- principalId: isSet$7(object.principalId) ? globalThis.String(object.principalId) : ""
7483
+ clientId: isSet$7(object.clientId) ? globalThis.String(object.clientId) : isSet$7(object.client_id) ? globalThis.String(object.client_id) : "",
7484
+ resourceId: isSet$7(object.resourceId) ? globalThis.String(object.resourceId) : isSet$7(object.resource_id) ? globalThis.String(object.resource_id) : "",
7485
+ principalId: isSet$7(object.principalId) ? globalThis.String(object.principalId) : isSet$7(object.principal_id) ? globalThis.String(object.principal_id) : ""
7456
7486
  };
7457
7487
  },
7458
7488
  toJSON(message) {
@@ -7626,9 +7656,9 @@ const ImpersonateRequest = {
7626
7656
  },
7627
7657
  fromJSON(object) {
7628
7658
  return {
7629
- bindingName: isSet$7(object.bindingName) ? globalThis.String(object.bindingName) : "",
7630
- sessionName: isSet$7(object.sessionName) ? globalThis.String(object.sessionName) : void 0,
7631
- durationSeconds: isSet$7(object.durationSeconds) ? globalThis.Number(object.durationSeconds) : void 0,
7659
+ bindingName: isSet$7(object.bindingName) ? globalThis.String(object.bindingName) : isSet$7(object.binding_name) ? globalThis.String(object.binding_name) : "",
7660
+ sessionName: isSet$7(object.sessionName) ? globalThis.String(object.sessionName) : isSet$7(object.session_name) ? globalThis.String(object.session_name) : void 0,
7661
+ durationSeconds: isSet$7(object.durationSeconds) ? globalThis.Number(object.durationSeconds) : isSet$7(object.duration_seconds) ? globalThis.Number(object.duration_seconds) : void 0,
7632
7662
  scopes: globalThis.Array.isArray(object?.scopes) ? object.scopes.map((e) => globalThis.String(e)) : []
7633
7663
  };
7634
7664
  },
@@ -7678,7 +7708,7 @@ const ImpersonateResponse = {
7678
7708
  return message;
7679
7709
  },
7680
7710
  fromJSON(object) {
7681
- return { clientConfigJson: isSet$7(object.clientConfigJson) ? globalThis.String(object.clientConfigJson) : "" };
7711
+ return { clientConfigJson: isSet$7(object.clientConfigJson) ? globalThis.String(object.clientConfigJson) : isSet$7(object.client_config_json) ? globalThis.String(object.client_config_json) : "" };
7682
7712
  },
7683
7713
  toJSON(message) {
7684
7714
  const obj = {};
@@ -8017,8 +8047,8 @@ const StorageGetRangeOption = {
8017
8047
  fromJSON(object) {
8018
8048
  return {
8019
8049
  bounded: isSet$5(object.bounded) ? StorageRange.fromJSON(object.bounded) : void 0,
8020
- offsetFromStart: isSet$5(object.offsetFromStart) ? globalThis.Number(object.offsetFromStart) : void 0,
8021
- suffixLength: isSet$5(object.suffixLength) ? globalThis.Number(object.suffixLength) : void 0
8050
+ offsetFromStart: isSet$5(object.offsetFromStart) ? globalThis.Number(object.offsetFromStart) : isSet$5(object.offset_from_start) ? globalThis.Number(object.offset_from_start) : void 0,
8051
+ suffixLength: isSet$5(object.suffixLength) ? globalThis.Number(object.suffixLength) : isSet$5(object.suffix_length) ? globalThis.Number(object.suffix_length) : void 0
8022
8052
  };
8023
8053
  },
8024
8054
  toJSON(message) {
@@ -8104,10 +8134,10 @@ const StorageGetOptions = {
8104
8134
  },
8105
8135
  fromJSON(object) {
8106
8136
  return {
8107
- ifMatch: isSet$5(object.ifMatch) ? globalThis.String(object.ifMatch) : void 0,
8108
- ifNoneMatch: isSet$5(object.ifNoneMatch) ? globalThis.String(object.ifNoneMatch) : void 0,
8109
- ifModifiedSince: isSet$5(object.ifModifiedSince) ? fromJsonTimestamp$1(object.ifModifiedSince) : void 0,
8110
- ifUnmodifiedSince: isSet$5(object.ifUnmodifiedSince) ? fromJsonTimestamp$1(object.ifUnmodifiedSince) : void 0,
8137
+ ifMatch: isSet$5(object.ifMatch) ? globalThis.String(object.ifMatch) : isSet$5(object.if_match) ? globalThis.String(object.if_match) : void 0,
8138
+ ifNoneMatch: isSet$5(object.ifNoneMatch) ? globalThis.String(object.ifNoneMatch) : isSet$5(object.if_none_match) ? globalThis.String(object.if_none_match) : void 0,
8139
+ ifModifiedSince: isSet$5(object.ifModifiedSince) ? fromJsonTimestamp$1(object.ifModifiedSince) : isSet$5(object.if_modified_since) ? fromJsonTimestamp$1(object.if_modified_since) : void 0,
8140
+ ifUnmodifiedSince: isSet$5(object.ifUnmodifiedSince) ? fromJsonTimestamp$1(object.ifUnmodifiedSince) : isSet$5(object.if_unmodified_since) ? fromJsonTimestamp$1(object.if_unmodified_since) : void 0,
8111
8141
  range: isSet$5(object.range) ? StorageGetRangeOption.fromJSON(object.range) : void 0,
8112
8142
  version: isSet$5(object.version) ? globalThis.String(object.version) : void 0,
8113
8143
  head: isSet$5(object.head) ? globalThis.Boolean(object.head) : false
@@ -8174,7 +8204,7 @@ const StorageUpdateVersion = {
8174
8204
  },
8175
8205
  fromJSON(object) {
8176
8206
  return {
8177
- eTag: isSet$5(object.eTag) ? globalThis.String(object.eTag) : void 0,
8207
+ eTag: isSet$5(object.eTag) ? globalThis.String(object.eTag) : isSet$5(object.e_tag) ? globalThis.String(object.e_tag) : void 0,
8178
8208
  version: isSet$5(object.version) ? globalThis.String(object.version) : void 0
8179
8209
  };
8180
8210
  },
@@ -8491,7 +8521,7 @@ const StoragePutOptions = {
8491
8521
  fromJSON(object) {
8492
8522
  return {
8493
8523
  mode: isSet$5(object.mode) ? storagePutModeEnumFromJSON(object.mode) : 0,
8494
- updateVersionDetails: isSet$5(object.updateVersionDetails) ? StorageUpdateVersion.fromJSON(object.updateVersionDetails) : void 0,
8524
+ updateVersionDetails: isSet$5(object.updateVersionDetails) ? StorageUpdateVersion.fromJSON(object.updateVersionDetails) : isSet$5(object.update_version_details) ? StorageUpdateVersion.fromJSON(object.update_version_details) : void 0,
8495
8525
  tags: isSet$5(object.tags) ? StorageTagSet.fromJSON(object.tags) : void 0,
8496
8526
  attributes: isSet$5(object.attributes) ? StorageAttributesMap.fromJSON(object.attributes) : void 0
8497
8527
  };
@@ -8612,7 +8642,7 @@ const StorageGetRequest = {
8612
8642
  },
8613
8643
  fromJSON(object) {
8614
8644
  return {
8615
- bindingName: isSet$5(object.bindingName) ? globalThis.String(object.bindingName) : "",
8645
+ bindingName: isSet$5(object.bindingName) ? globalThis.String(object.bindingName) : isSet$5(object.binding_name) ? globalThis.String(object.binding_name) : "",
8616
8646
  path: isSet$5(object.path) ? globalThis.String(object.path) : "",
8617
8647
  options: isSet$5(object.options) ? StorageGetOptions.fromJSON(object.options) : void 0
8618
8648
  };
@@ -8671,7 +8701,7 @@ const GetResponsePart = {
8671
8701
  fromJSON(object) {
8672
8702
  return {
8673
8703
  metadata: isSet$5(object.metadata) ? StorageObjectMeta.fromJSON(object.metadata) : void 0,
8674
- chunkData: isSet$5(object.chunkData) ? bytesFromBase64$2(object.chunkData) : void 0
8704
+ chunkData: isSet$5(object.chunkData) ? bytesFromBase64$2(object.chunkData) : isSet$5(object.chunk_data) ? bytesFromBase64$2(object.chunk_data) : void 0
8675
8705
  };
8676
8706
  },
8677
8707
  toJSON(message) {
@@ -8726,7 +8756,7 @@ const StoragePutMultipartChunkRequest = {
8726
8756
  fromJSON(object) {
8727
8757
  return {
8728
8758
  metadata: isSet$5(object.metadata) ? StoragePutMultipartMetadata.fromJSON(object.metadata) : void 0,
8729
- chunkData: isSet$5(object.chunkData) ? bytesFromBase64$2(object.chunkData) : void 0
8759
+ chunkData: isSet$5(object.chunkData) ? bytesFromBase64$2(object.chunkData) : isSet$5(object.chunk_data) ? bytesFromBase64$2(object.chunk_data) : void 0
8730
8760
  };
8731
8761
  },
8732
8762
  toJSON(message) {
@@ -8786,7 +8816,7 @@ const StoragePutMultipartMetadata = {
8786
8816
  },
8787
8817
  fromJSON(object) {
8788
8818
  return {
8789
- bindingName: isSet$5(object.bindingName) ? globalThis.String(object.bindingName) : "",
8819
+ bindingName: isSet$5(object.bindingName) ? globalThis.String(object.bindingName) : isSet$5(object.binding_name) ? globalThis.String(object.binding_name) : "",
8790
8820
  path: isSet$5(object.path) ? globalThis.String(object.path) : "",
8791
8821
  options: isSet$5(object.options) ? StoragePutMultipartOptions.fromJSON(object.options) : void 0
8792
8822
  };
@@ -8844,7 +8874,7 @@ const StoragePutResponse = {
8844
8874
  },
8845
8875
  fromJSON(object) {
8846
8876
  return {
8847
- eTag: isSet$5(object.eTag) ? globalThis.String(object.eTag) : void 0,
8877
+ eTag: isSet$5(object.eTag) ? globalThis.String(object.eTag) : isSet$5(object.e_tag) ? globalThis.String(object.e_tag) : void 0,
8848
8878
  version: isSet$5(object.version) ? globalThis.String(object.version) : void 0
8849
8879
  };
8850
8880
  },
@@ -8868,7 +8898,7 @@ function createBaseStoragePutRequest() {
8868
8898
  return {
8869
8899
  bindingName: "",
8870
8900
  path: "",
8871
- data: new Uint8Array(0),
8901
+ data: /* @__PURE__ */ new Uint8Array(0),
8872
8902
  options: void 0
8873
8903
  };
8874
8904
  }
@@ -8911,9 +8941,9 @@ const StoragePutRequest = {
8911
8941
  },
8912
8942
  fromJSON(object) {
8913
8943
  return {
8914
- bindingName: isSet$5(object.bindingName) ? globalThis.String(object.bindingName) : "",
8944
+ bindingName: isSet$5(object.bindingName) ? globalThis.String(object.bindingName) : isSet$5(object.binding_name) ? globalThis.String(object.binding_name) : "",
8915
8945
  path: isSet$5(object.path) ? globalThis.String(object.path) : "",
8916
- data: isSet$5(object.data) ? bytesFromBase64$2(object.data) : new Uint8Array(0),
8946
+ data: isSet$5(object.data) ? bytesFromBase64$2(object.data) : /* @__PURE__ */ new Uint8Array(0),
8917
8947
  options: isSet$5(object.options) ? StoragePutOptions.fromJSON(object.options) : void 0
8918
8948
  };
8919
8949
  },
@@ -8932,7 +8962,7 @@ const StoragePutRequest = {
8932
8962
  const message = createBaseStoragePutRequest();
8933
8963
  message.bindingName = object.bindingName ?? "";
8934
8964
  message.path = object.path ?? "";
8935
- message.data = object.data ?? new Uint8Array(0);
8965
+ message.data = object.data ?? /* @__PURE__ */ new Uint8Array(0);
8936
8966
  message.options = object.options !== void 0 && object.options !== null ? StoragePutOptions.fromPartial(object.options) : void 0;
8937
8967
  return message;
8938
8968
  }
@@ -8972,7 +9002,7 @@ const StorageDeleteRequest = {
8972
9002
  },
8973
9003
  fromJSON(object) {
8974
9004
  return {
8975
- bindingName: isSet$5(object.bindingName) ? globalThis.String(object.bindingName) : "",
9005
+ bindingName: isSet$5(object.bindingName) ? globalThis.String(object.bindingName) : isSet$5(object.binding_name) ? globalThis.String(object.binding_name) : "",
8976
9006
  path: isSet$5(object.path) ? globalThis.String(object.path) : ""
8977
9007
  };
8978
9008
  },
@@ -9065,7 +9095,7 @@ const StorageListRequest = {
9065
9095
  },
9066
9096
  fromJSON(object) {
9067
9097
  return {
9068
- bindingName: isSet$5(object.bindingName) ? globalThis.String(object.bindingName) : "",
9098
+ bindingName: isSet$5(object.bindingName) ? globalThis.String(object.bindingName) : isSet$5(object.binding_name) ? globalThis.String(object.binding_name) : "",
9069
9099
  prefix: isSet$5(object.prefix) ? globalThis.String(object.prefix) : void 0,
9070
9100
  offset: isSet$5(object.offset) ? globalThis.String(object.offset) : void 0
9071
9101
  };
@@ -9142,9 +9172,9 @@ const StorageObjectMeta = {
9142
9172
  fromJSON(object) {
9143
9173
  return {
9144
9174
  location: isSet$5(object.location) ? globalThis.String(object.location) : "",
9145
- lastModified: isSet$5(object.lastModified) ? fromJsonTimestamp$1(object.lastModified) : void 0,
9175
+ lastModified: isSet$5(object.lastModified) ? fromJsonTimestamp$1(object.lastModified) : isSet$5(object.last_modified) ? fromJsonTimestamp$1(object.last_modified) : void 0,
9146
9176
  size: isSet$5(object.size) ? globalThis.Number(object.size) : 0,
9147
- eTag: isSet$5(object.eTag) ? globalThis.String(object.eTag) : void 0,
9177
+ eTag: isSet$5(object.eTag) ? globalThis.String(object.eTag) : isSet$5(object.e_tag) ? globalThis.String(object.e_tag) : void 0,
9148
9178
  version: isSet$5(object.version) ? globalThis.String(object.version) : void 0
9149
9179
  };
9150
9180
  },
@@ -9205,7 +9235,7 @@ const StorageListWithDelimiterRequest = {
9205
9235
  },
9206
9236
  fromJSON(object) {
9207
9237
  return {
9208
- bindingName: isSet$5(object.bindingName) ? globalThis.String(object.bindingName) : "",
9238
+ bindingName: isSet$5(object.bindingName) ? globalThis.String(object.bindingName) : isSet$5(object.binding_name) ? globalThis.String(object.binding_name) : "",
9209
9239
  prefix: isSet$5(object.prefix) ? globalThis.String(object.prefix) : void 0
9210
9240
  };
9211
9241
  },
@@ -9260,7 +9290,7 @@ const StorageListResultProto = {
9260
9290
  },
9261
9291
  fromJSON(object) {
9262
9292
  return {
9263
- commonPrefixes: globalThis.Array.isArray(object?.commonPrefixes) ? object.commonPrefixes.map((e) => globalThis.String(e)) : [],
9293
+ commonPrefixes: globalThis.Array.isArray(object?.commonPrefixes) ? object.commonPrefixes.map((e) => globalThis.String(e)) : globalThis.Array.isArray(object?.common_prefixes) ? object.common_prefixes.map((e) => globalThis.String(e)) : [],
9264
9294
  objects: globalThis.Array.isArray(object?.objects) ? object.objects.map((e) => StorageObjectMeta.fromJSON(e)) : []
9265
9295
  };
9266
9296
  },
@@ -9315,7 +9345,7 @@ const StorageHeadRequest = {
9315
9345
  },
9316
9346
  fromJSON(object) {
9317
9347
  return {
9318
- bindingName: isSet$5(object.bindingName) ? globalThis.String(object.bindingName) : "",
9348
+ bindingName: isSet$5(object.bindingName) ? globalThis.String(object.bindingName) : isSet$5(object.binding_name) ? globalThis.String(object.binding_name) : "",
9319
9349
  path: isSet$5(object.path) ? globalThis.String(object.path) : ""
9320
9350
  };
9321
9351
  },
@@ -9361,7 +9391,7 @@ const StorageGetBaseDirRequest = {
9361
9391
  return message;
9362
9392
  },
9363
9393
  fromJSON(object) {
9364
- return { bindingName: isSet$5(object.bindingName) ? globalThis.String(object.bindingName) : "" };
9394
+ return { bindingName: isSet$5(object.bindingName) ? globalThis.String(object.bindingName) : isSet$5(object.binding_name) ? globalThis.String(object.binding_name) : "" };
9365
9395
  },
9366
9396
  toJSON(message) {
9367
9397
  const obj = {};
@@ -9445,7 +9475,7 @@ const StorageGetUrlRequest = {
9445
9475
  return message;
9446
9476
  },
9447
9477
  fromJSON(object) {
9448
- return { bindingName: isSet$5(object.bindingName) ? globalThis.String(object.bindingName) : "" };
9478
+ return { bindingName: isSet$5(object.bindingName) ? globalThis.String(object.bindingName) : isSet$5(object.binding_name) ? globalThis.String(object.binding_name) : "" };
9449
9479
  },
9450
9480
  toJSON(message) {
9451
9481
  const obj = {};
@@ -9544,9 +9574,9 @@ const StorageCopyRequest = {
9544
9574
  },
9545
9575
  fromJSON(object) {
9546
9576
  return {
9547
- bindingName: isSet$5(object.bindingName) ? globalThis.String(object.bindingName) : "",
9548
- fromPath: isSet$5(object.fromPath) ? globalThis.String(object.fromPath) : "",
9549
- toPath: isSet$5(object.toPath) ? globalThis.String(object.toPath) : ""
9577
+ bindingName: isSet$5(object.bindingName) ? globalThis.String(object.bindingName) : isSet$5(object.binding_name) ? globalThis.String(object.binding_name) : "",
9578
+ fromPath: isSet$5(object.fromPath) ? globalThis.String(object.fromPath) : isSet$5(object.from_path) ? globalThis.String(object.from_path) : "",
9579
+ toPath: isSet$5(object.toPath) ? globalThis.String(object.toPath) : isSet$5(object.to_path) ? globalThis.String(object.to_path) : ""
9550
9580
  };
9551
9581
  },
9552
9582
  toJSON(message) {
@@ -9608,9 +9638,9 @@ const StorageRenameRequest = {
9608
9638
  },
9609
9639
  fromJSON(object) {
9610
9640
  return {
9611
- bindingName: isSet$5(object.bindingName) ? globalThis.String(object.bindingName) : "",
9612
- fromPath: isSet$5(object.fromPath) ? globalThis.String(object.fromPath) : "",
9613
- toPath: isSet$5(object.toPath) ? globalThis.String(object.toPath) : ""
9641
+ bindingName: isSet$5(object.bindingName) ? globalThis.String(object.bindingName) : isSet$5(object.binding_name) ? globalThis.String(object.binding_name) : "",
9642
+ fromPath: isSet$5(object.fromPath) ? globalThis.String(object.fromPath) : isSet$5(object.from_path) ? globalThis.String(object.from_path) : "",
9643
+ toPath: isSet$5(object.toPath) ? globalThis.String(object.toPath) : isSet$5(object.to_path) ? globalThis.String(object.to_path) : ""
9614
9644
  };
9615
9645
  },
9616
9646
  toJSON(message) {
@@ -9678,10 +9708,10 @@ const StorageSignedUrlRequest = {
9678
9708
  },
9679
9709
  fromJSON(object) {
9680
9710
  return {
9681
- bindingName: isSet$5(object.bindingName) ? globalThis.String(object.bindingName) : "",
9711
+ bindingName: isSet$5(object.bindingName) ? globalThis.String(object.bindingName) : isSet$5(object.binding_name) ? globalThis.String(object.binding_name) : "",
9682
9712
  path: isSet$5(object.path) ? globalThis.String(object.path) : "",
9683
- httpMethod: isSet$5(object.httpMethod) ? storageHttpMethodFromJSON(object.httpMethod) : 0,
9684
- expirationTime: isSet$5(object.expirationTime) ? fromJsonTimestamp$1(object.expirationTime) : void 0
9713
+ httpMethod: isSet$5(object.httpMethod) ? storageHttpMethodFromJSON(object.httpMethod) : isSet$5(object.http_method) ? storageHttpMethodFromJSON(object.http_method) : 0,
9714
+ expirationTime: isSet$5(object.expirationTime) ? fromJsonTimestamp$1(object.expirationTime) : isSet$5(object.expiration_time) ? fromJsonTimestamp$1(object.expiration_time) : void 0
9685
9715
  };
9686
9716
  },
9687
9717
  toJSON(message) {
@@ -10358,8 +10388,8 @@ const GetSecretRequest = {
10358
10388
  },
10359
10389
  fromJSON(object) {
10360
10390
  return {
10361
- bindingName: isSet$4(object.bindingName) ? globalThis.String(object.bindingName) : "",
10362
- secretName: isSet$4(object.secretName) ? globalThis.String(object.secretName) : ""
10391
+ bindingName: isSet$4(object.bindingName) ? globalThis.String(object.bindingName) : isSet$4(object.binding_name) ? globalThis.String(object.binding_name) : "",
10392
+ secretName: isSet$4(object.secretName) ? globalThis.String(object.secretName) : isSet$4(object.secret_name) ? globalThis.String(object.secret_name) : ""
10363
10393
  };
10364
10394
  },
10365
10395
  toJSON(message) {
@@ -10461,8 +10491,8 @@ const SetSecretRequest = {
10461
10491
  },
10462
10492
  fromJSON(object) {
10463
10493
  return {
10464
- bindingName: isSet$4(object.bindingName) ? globalThis.String(object.bindingName) : "",
10465
- secretName: isSet$4(object.secretName) ? globalThis.String(object.secretName) : "",
10494
+ bindingName: isSet$4(object.bindingName) ? globalThis.String(object.bindingName) : isSet$4(object.binding_name) ? globalThis.String(object.binding_name) : "",
10495
+ secretName: isSet$4(object.secretName) ? globalThis.String(object.secretName) : isSet$4(object.secret_name) ? globalThis.String(object.secret_name) : "",
10466
10496
  value: isSet$4(object.value) ? globalThis.String(object.value) : ""
10467
10497
  };
10468
10498
  },
@@ -10551,8 +10581,8 @@ const DeleteSecretRequest = {
10551
10581
  },
10552
10582
  fromJSON(object) {
10553
10583
  return {
10554
- bindingName: isSet$4(object.bindingName) ? globalThis.String(object.bindingName) : "",
10555
- secretName: isSet$4(object.secretName) ? globalThis.String(object.secretName) : ""
10584
+ bindingName: isSet$4(object.bindingName) ? globalThis.String(object.bindingName) : isSet$4(object.binding_name) ? globalThis.String(object.binding_name) : "",
10585
+ secretName: isSet$4(object.secretName) ? globalThis.String(object.secretName) : isSet$4(object.secret_name) ? globalThis.String(object.secret_name) : ""
10556
10586
  };
10557
10587
  },
10558
10588
  toJSON(message) {
@@ -10759,7 +10789,7 @@ function createBaseInvokeRequest() {
10759
10789
  method: "",
10760
10790
  path: "",
10761
10791
  headers: {},
10762
- body: new Uint8Array(0),
10792
+ body: /* @__PURE__ */ new Uint8Array(0),
10763
10793
  timeoutSeconds: void 0
10764
10794
  };
10765
10795
  }
@@ -10824,16 +10854,16 @@ const InvokeRequest = {
10824
10854
  },
10825
10855
  fromJSON(object) {
10826
10856
  return {
10827
- bindingName: isSet$3(object.bindingName) ? globalThis.String(object.bindingName) : "",
10828
- targetWorker: isSet$3(object.targetWorker) ? globalThis.String(object.targetWorker) : "",
10857
+ bindingName: isSet$3(object.bindingName) ? globalThis.String(object.bindingName) : isSet$3(object.binding_name) ? globalThis.String(object.binding_name) : "",
10858
+ targetWorker: isSet$3(object.targetWorker) ? globalThis.String(object.targetWorker) : isSet$3(object.target_worker) ? globalThis.String(object.target_worker) : "",
10829
10859
  method: isSet$3(object.method) ? globalThis.String(object.method) : "",
10830
10860
  path: isSet$3(object.path) ? globalThis.String(object.path) : "",
10831
10861
  headers: isObject$1(object.headers) ? globalThis.Object.entries(object.headers).reduce((acc, [key, value]) => {
10832
10862
  acc[key] = globalThis.String(value);
10833
10863
  return acc;
10834
10864
  }, {}) : {},
10835
- body: isSet$3(object.body) ? bytesFromBase64$1(object.body) : new Uint8Array(0),
10836
- timeoutSeconds: isSet$3(object.timeoutSeconds) ? globalThis.Number(object.timeoutSeconds) : void 0
10865
+ body: isSet$3(object.body) ? bytesFromBase64$1(object.body) : /* @__PURE__ */ new Uint8Array(0),
10866
+ timeoutSeconds: isSet$3(object.timeoutSeconds) ? globalThis.Number(object.timeoutSeconds) : isSet$3(object.timeout_seconds) ? globalThis.Number(object.timeout_seconds) : void 0
10837
10867
  };
10838
10868
  },
10839
10869
  toJSON(message) {
@@ -10868,7 +10898,7 @@ const InvokeRequest = {
10868
10898
  if (value !== void 0) acc[key] = globalThis.String(value);
10869
10899
  return acc;
10870
10900
  }, {});
10871
- message.body = object.body ?? new Uint8Array(0);
10901
+ message.body = object.body ?? /* @__PURE__ */ new Uint8Array(0);
10872
10902
  message.timeoutSeconds = object.timeoutSeconds ?? void 0;
10873
10903
  return message;
10874
10904
  }
@@ -10932,7 +10962,7 @@ function createBaseInvokeResponse() {
10932
10962
  return {
10933
10963
  status: 0,
10934
10964
  headers: {},
10935
- body: new Uint8Array(0)
10965
+ body: /* @__PURE__ */ new Uint8Array(0)
10936
10966
  };
10937
10967
  }
10938
10968
  const InvokeResponse = {
@@ -10981,7 +11011,7 @@ const InvokeResponse = {
10981
11011
  acc[key] = globalThis.String(value);
10982
11012
  return acc;
10983
11013
  }, {}) : {},
10984
- body: isSet$3(object.body) ? bytesFromBase64$1(object.body) : new Uint8Array(0)
11014
+ body: isSet$3(object.body) ? bytesFromBase64$1(object.body) : /* @__PURE__ */ new Uint8Array(0)
10985
11015
  };
10986
11016
  },
10987
11017
  toJSON(message) {
@@ -11009,7 +11039,7 @@ const InvokeResponse = {
11009
11039
  if (value !== void 0) acc[key] = globalThis.String(value);
11010
11040
  return acc;
11011
11041
  }, {});
11012
- message.body = object.body ?? new Uint8Array(0);
11042
+ message.body = object.body ?? /* @__PURE__ */ new Uint8Array(0);
11013
11043
  return message;
11014
11044
  }
11015
11045
  };
@@ -11094,7 +11124,7 @@ const GetWorkerUrlRequest = {
11094
11124
  return message;
11095
11125
  },
11096
11126
  fromJSON(object) {
11097
- return { bindingName: isSet$3(object.bindingName) ? globalThis.String(object.bindingName) : "" };
11127
+ return { bindingName: isSet$3(object.bindingName) ? globalThis.String(object.bindingName) : isSet$3(object.binding_name) ? globalThis.String(object.binding_name) : "" };
11098
11128
  },
11099
11129
  toJSON(message) {
11100
11130
  const obj = {};
@@ -11255,7 +11285,7 @@ var WorkerBinding = class {
11255
11285
  method: request.method,
11256
11286
  path: request.path,
11257
11287
  headers: request.headers ?? {},
11258
- body: request.body ?? new Uint8Array(),
11288
+ body: request.body ?? /* @__PURE__ */ new Uint8Array(),
11259
11289
  timeoutSeconds: request.timeoutMs ? Math.floor(request.timeoutMs / 1e3) : void 0
11260
11290
  });
11261
11291
  return {
@@ -11563,8 +11593,8 @@ const RegisterEventHandlerRequest = {
11563
11593
  },
11564
11594
  fromJSON(object) {
11565
11595
  return {
11566
- handlerType: isSet$2(object.handlerType) ? globalThis.String(object.handlerType) : "",
11567
- resourceName: isSet$2(object.resourceName) ? globalThis.String(object.resourceName) : ""
11596
+ handlerType: isSet$2(object.handlerType) ? globalThis.String(object.handlerType) : isSet$2(object.handler_type) ? globalThis.String(object.handler_type) : "",
11597
+ resourceName: isSet$2(object.resourceName) ? globalThis.String(object.resourceName) : isSet$2(object.resource_name) ? globalThis.String(object.resource_name) : ""
11568
11598
  };
11569
11599
  },
11570
11600
  toJSON(message) {
@@ -11651,7 +11681,7 @@ const WaitForTasksRequest = {
11651
11681
  return message;
11652
11682
  },
11653
11683
  fromJSON(object) {
11654
- return { applicationId: isSet$2(object.applicationId) ? globalThis.String(object.applicationId) : "" };
11684
+ return { applicationId: isSet$2(object.applicationId) ? globalThis.String(object.applicationId) : isSet$2(object.application_id) ? globalThis.String(object.application_id) : "" };
11655
11685
  },
11656
11686
  toJSON(message) {
11657
11687
  const obj = {};
@@ -11720,11 +11750,11 @@ const Task = {
11720
11750
  },
11721
11751
  fromJSON(object) {
11722
11752
  return {
11723
- taskId: isSet$2(object.taskId) ? globalThis.String(object.taskId) : "",
11724
- storageEvent: isSet$2(object.storageEvent) ? StorageEvent.fromJSON(object.storageEvent) : void 0,
11725
- cronEvent: isSet$2(object.cronEvent) ? CronEvent.fromJSON(object.cronEvent) : void 0,
11726
- queueMessage: isSet$2(object.queueMessage) ? QueueMessage.fromJSON(object.queueMessage) : void 0,
11727
- arcCommand: isSet$2(object.arcCommand) ? ArcCommand.fromJSON(object.arcCommand) : void 0
11753
+ taskId: isSet$2(object.taskId) ? globalThis.String(object.taskId) : isSet$2(object.task_id) ? globalThis.String(object.task_id) : "",
11754
+ storageEvent: isSet$2(object.storageEvent) ? StorageEvent.fromJSON(object.storageEvent) : isSet$2(object.storage_event) ? StorageEvent.fromJSON(object.storage_event) : void 0,
11755
+ cronEvent: isSet$2(object.cronEvent) ? CronEvent.fromJSON(object.cronEvent) : isSet$2(object.cron_event) ? CronEvent.fromJSON(object.cron_event) : void 0,
11756
+ queueMessage: isSet$2(object.queueMessage) ? QueueMessage.fromJSON(object.queueMessage) : isSet$2(object.queue_message) ? QueueMessage.fromJSON(object.queue_message) : void 0,
11757
+ arcCommand: isSet$2(object.arcCommand) ? ArcCommand.fromJSON(object.arcCommand) : isSet$2(object.arc_command) ? ArcCommand.fromJSON(object.arc_command) : void 0
11728
11758
  };
11729
11759
  },
11730
11760
  toJSON(message) {
@@ -11846,15 +11876,15 @@ const StorageEvent = {
11846
11876
  fromJSON(object) {
11847
11877
  return {
11848
11878
  key: isSet$2(object.key) ? globalThis.String(object.key) : "",
11849
- eventType: isSet$2(object.eventType) ? globalThis.String(object.eventType) : "",
11879
+ eventType: isSet$2(object.eventType) ? globalThis.String(object.eventType) : isSet$2(object.event_type) ? globalThis.String(object.event_type) : "",
11850
11880
  bucket: isSet$2(object.bucket) ? globalThis.String(object.bucket) : "",
11851
11881
  size: isSet$2(object.size) ? globalThis.Number(object.size) : 0,
11852
- contentType: isSet$2(object.contentType) ? globalThis.String(object.contentType) : "",
11882
+ contentType: isSet$2(object.contentType) ? globalThis.String(object.contentType) : isSet$2(object.content_type) ? globalThis.String(object.content_type) : "",
11853
11883
  timestamp: isSet$2(object.timestamp) ? fromJsonTimestamp(object.timestamp) : void 0,
11854
11884
  etag: isSet$2(object.etag) ? globalThis.String(object.etag) : "",
11855
11885
  region: isSet$2(object.region) ? globalThis.String(object.region) : "",
11856
- versionId: isSet$2(object.versionId) ? globalThis.String(object.versionId) : "",
11857
- currentTier: isSet$2(object.currentTier) ? globalThis.String(object.currentTier) : "",
11886
+ versionId: isSet$2(object.versionId) ? globalThis.String(object.versionId) : isSet$2(object.version_id) ? globalThis.String(object.version_id) : "",
11887
+ currentTier: isSet$2(object.currentTier) ? globalThis.String(object.currentTier) : isSet$2(object.current_tier) ? globalThis.String(object.current_tier) : "",
11858
11888
  metadata: isObject(object.metadata) ? globalThis.Object.entries(object.metadata).reduce((acc, [key, value]) => {
11859
11889
  acc[key] = globalThis.String(value);
11860
11890
  return acc;
@@ -11996,8 +12026,8 @@ const CronEvent = {
11996
12026
  },
11997
12027
  fromJSON(object) {
11998
12028
  return {
11999
- scheduleName: isSet$2(object.scheduleName) ? globalThis.String(object.scheduleName) : "",
12000
- scheduledTime: isSet$2(object.scheduledTime) ? fromJsonTimestamp(object.scheduledTime) : void 0
12029
+ scheduleName: isSet$2(object.scheduleName) ? globalThis.String(object.scheduleName) : isSet$2(object.schedule_name) ? globalThis.String(object.schedule_name) : "",
12030
+ scheduledTime: isSet$2(object.scheduledTime) ? fromJsonTimestamp(object.scheduledTime) : isSet$2(object.scheduled_time) ? fromJsonTimestamp(object.scheduled_time) : void 0
12001
12031
  };
12002
12032
  },
12003
12033
  toJSON(message) {
@@ -12019,7 +12049,7 @@ const CronEvent = {
12019
12049
  function createBaseQueueMessage() {
12020
12050
  return {
12021
12051
  id: "",
12022
- payload: new Uint8Array(0),
12052
+ payload: /* @__PURE__ */ new Uint8Array(0),
12023
12053
  receiptHandle: "",
12024
12054
  source: "",
12025
12055
  attemptCount: 0,
@@ -12089,10 +12119,10 @@ const QueueMessage = {
12089
12119
  fromJSON(object) {
12090
12120
  return {
12091
12121
  id: isSet$2(object.id) ? globalThis.String(object.id) : "",
12092
- payload: isSet$2(object.payload) ? bytesFromBase64(object.payload) : new Uint8Array(0),
12093
- receiptHandle: isSet$2(object.receiptHandle) ? globalThis.String(object.receiptHandle) : "",
12122
+ payload: isSet$2(object.payload) ? bytesFromBase64(object.payload) : /* @__PURE__ */ new Uint8Array(0),
12123
+ receiptHandle: isSet$2(object.receiptHandle) ? globalThis.String(object.receiptHandle) : isSet$2(object.receipt_handle) ? globalThis.String(object.receipt_handle) : "",
12094
12124
  source: isSet$2(object.source) ? globalThis.String(object.source) : "",
12095
- attemptCount: isSet$2(object.attemptCount) ? globalThis.Number(object.attemptCount) : 0,
12125
+ attemptCount: isSet$2(object.attemptCount) ? globalThis.Number(object.attemptCount) : isSet$2(object.attempt_count) ? globalThis.Number(object.attempt_count) : 0,
12096
12126
  timestamp: isSet$2(object.timestamp) ? fromJsonTimestamp(object.timestamp) : void 0,
12097
12127
  attributes: isObject(object.attributes) ? globalThis.Object.entries(object.attributes).reduce((acc, [key, value]) => {
12098
12128
  acc[key] = globalThis.String(value);
@@ -12125,7 +12155,7 @@ const QueueMessage = {
12125
12155
  fromPartial(object) {
12126
12156
  const message = createBaseQueueMessage();
12127
12157
  message.id = object.id ?? "";
12128
- message.payload = object.payload ?? new Uint8Array(0);
12158
+ message.payload = object.payload ?? /* @__PURE__ */ new Uint8Array(0);
12129
12159
  message.receiptHandle = object.receiptHandle ?? "";
12130
12160
  message.source = object.source ?? "";
12131
12161
  message.attemptCount = object.attemptCount ?? 0;
@@ -12196,7 +12226,7 @@ function createBaseArcCommand() {
12196
12226
  return {
12197
12227
  commandId: "",
12198
12228
  commandName: "",
12199
- params: new Uint8Array(0),
12229
+ params: /* @__PURE__ */ new Uint8Array(0),
12200
12230
  attempt: 0,
12201
12231
  deadline: void 0,
12202
12232
  responseUrl: "",
@@ -12263,14 +12293,14 @@ const ArcCommand = {
12263
12293
  },
12264
12294
  fromJSON(object) {
12265
12295
  return {
12266
- commandId: isSet$2(object.commandId) ? globalThis.String(object.commandId) : "",
12267
- commandName: isSet$2(object.commandName) ? globalThis.String(object.commandName) : "",
12268
- params: isSet$2(object.params) ? bytesFromBase64(object.params) : new Uint8Array(0),
12296
+ commandId: isSet$2(object.commandId) ? globalThis.String(object.commandId) : isSet$2(object.command_id) ? globalThis.String(object.command_id) : "",
12297
+ commandName: isSet$2(object.commandName) ? globalThis.String(object.commandName) : isSet$2(object.command_name) ? globalThis.String(object.command_name) : "",
12298
+ params: isSet$2(object.params) ? bytesFromBase64(object.params) : /* @__PURE__ */ new Uint8Array(0),
12269
12299
  attempt: isSet$2(object.attempt) ? globalThis.Number(object.attempt) : 0,
12270
12300
  deadline: isSet$2(object.deadline) ? fromJsonTimestamp(object.deadline) : void 0,
12271
- responseUrl: isSet$2(object.responseUrl) ? globalThis.String(object.responseUrl) : "",
12272
- storageUploadUrl: isSet$2(object.storageUploadUrl) ? globalThis.String(object.storageUploadUrl) : "",
12273
- maxInlineBytes: isSet$2(object.maxInlineBytes) ? globalThis.Number(object.maxInlineBytes) : 0
12301
+ responseUrl: isSet$2(object.responseUrl) ? globalThis.String(object.responseUrl) : isSet$2(object.response_url) ? globalThis.String(object.response_url) : "",
12302
+ storageUploadUrl: isSet$2(object.storageUploadUrl) ? globalThis.String(object.storageUploadUrl) : isSet$2(object.storage_upload_url) ? globalThis.String(object.storage_upload_url) : "",
12303
+ maxInlineBytes: isSet$2(object.maxInlineBytes) ? globalThis.Number(object.maxInlineBytes) : isSet$2(object.max_inline_bytes) ? globalThis.Number(object.max_inline_bytes) : 0
12274
12304
  };
12275
12305
  },
12276
12306
  toJSON(message) {
@@ -12292,7 +12322,7 @@ const ArcCommand = {
12292
12322
  const message = createBaseArcCommand();
12293
12323
  message.commandId = object.commandId ?? "";
12294
12324
  message.commandName = object.commandName ?? "";
12295
- message.params = object.params ?? new Uint8Array(0);
12325
+ message.params = object.params ?? /* @__PURE__ */ new Uint8Array(0);
12296
12326
  message.attempt = object.attempt ?? 0;
12297
12327
  message.deadline = object.deadline ?? void 0;
12298
12328
  message.responseUrl = object.responseUrl ?? "";
@@ -12342,7 +12372,7 @@ const SendTaskResultRequest = {
12342
12372
  },
12343
12373
  fromJSON(object) {
12344
12374
  return {
12345
- taskId: isSet$2(object.taskId) ? globalThis.String(object.taskId) : "",
12375
+ taskId: isSet$2(object.taskId) ? globalThis.String(object.taskId) : isSet$2(object.task_id) ? globalThis.String(object.task_id) : "",
12346
12376
  success: isSet$2(object.success) ? TaskSuccess.fromJSON(object.success) : void 0,
12347
12377
  error: isSet$2(object.error) ? TaskError.fromJSON(object.error) : void 0
12348
12378
  };
@@ -12366,7 +12396,7 @@ const SendTaskResultRequest = {
12366
12396
  }
12367
12397
  };
12368
12398
  function createBaseTaskSuccess() {
12369
- return { responseData: new Uint8Array(0) };
12399
+ return { responseData: /* @__PURE__ */ new Uint8Array(0) };
12370
12400
  }
12371
12401
  const TaskSuccess = {
12372
12402
  encode(message, writer = new BinaryWriter()) {
@@ -12391,7 +12421,7 @@ const TaskSuccess = {
12391
12421
  return message;
12392
12422
  },
12393
12423
  fromJSON(object) {
12394
- return { responseData: isSet$2(object.responseData) ? bytesFromBase64(object.responseData) : new Uint8Array(0) };
12424
+ return { responseData: isSet$2(object.responseData) ? bytesFromBase64(object.responseData) : isSet$2(object.response_data) ? bytesFromBase64(object.response_data) : /* @__PURE__ */ new Uint8Array(0) };
12395
12425
  },
12396
12426
  toJSON(message) {
12397
12427
  const obj = {};
@@ -12403,7 +12433,7 @@ const TaskSuccess = {
12403
12433
  },
12404
12434
  fromPartial(object) {
12405
12435
  const message = createBaseTaskSuccess();
12406
- message.responseData = object.responseData ?? new Uint8Array(0);
12436
+ message.responseData = object.responseData ?? /* @__PURE__ */ new Uint8Array(0);
12407
12437
  return message;
12408
12438
  }
12409
12439
  };
@@ -12836,7 +12866,7 @@ var EventLoop = class {
12836
12866
  const signal = AbortSignal.timeout(3e4);
12837
12867
  await wrapGrpcCall("ControlService", "SendTaskResult", async () => {
12838
12868
  if (result.success) {
12839
- const responseData = result.data ? new TextEncoder().encode(JSON.stringify(result.data)) : new Uint8Array();
12869
+ const responseData = result.data ? new TextEncoder().encode(JSON.stringify(result.data)) : /* @__PURE__ */ new Uint8Array();
12840
12870
  await client.sendTaskResult({
12841
12871
  taskId,
12842
12872
  success: { responseData }
@@ -13011,8 +13041,8 @@ const NotifyTaskRegisteredRequest = {
13011
13041
  },
13012
13042
  fromJSON(object) {
13013
13043
  return {
13014
- applicationId: isSet(object.applicationId) ? globalThis.String(object.applicationId) : "",
13015
- taskDescription: isSet(object.taskDescription) ? globalThis.String(object.taskDescription) : void 0
13044
+ applicationId: isSet(object.applicationId) ? globalThis.String(object.applicationId) : isSet(object.application_id) ? globalThis.String(object.application_id) : "",
13045
+ taskDescription: isSet(object.taskDescription) ? globalThis.String(object.taskDescription) : isSet(object.task_description) ? globalThis.String(object.task_description) : void 0
13016
13046
  };
13017
13047
  },
13018
13048
  toJSON(message) {
@@ -13108,7 +13138,7 @@ const WaitForDrainSignalRequest = {
13108
13138
  },
13109
13139
  fromJSON(object) {
13110
13140
  return {
13111
- applicationId: isSet(object.applicationId) ? globalThis.String(object.applicationId) : "",
13141
+ applicationId: isSet(object.applicationId) ? globalThis.String(object.applicationId) : isSet(object.application_id) ? globalThis.String(object.application_id) : "",
13112
13142
  timeout: isSet(object.timeout) ? Duration.fromJSON(object.timeout) : void 0
13113
13143
  };
13114
13144
  },
@@ -13169,9 +13199,9 @@ const WaitForDrainSignalResponse = {
13169
13199
  },
13170
13200
  fromJSON(object) {
13171
13201
  return {
13172
- shouldDrain: isSet(object.shouldDrain) ? globalThis.Boolean(object.shouldDrain) : false,
13173
- drainTimeout: isSet(object.drainTimeout) ? Duration.fromJSON(object.drainTimeout) : void 0,
13174
- drainReason: isSet(object.drainReason) ? globalThis.String(object.drainReason) : ""
13202
+ shouldDrain: isSet(object.shouldDrain) ? globalThis.Boolean(object.shouldDrain) : isSet(object.should_drain) ? globalThis.Boolean(object.should_drain) : false,
13203
+ drainTimeout: isSet(object.drainTimeout) ? Duration.fromJSON(object.drainTimeout) : isSet(object.drain_timeout) ? Duration.fromJSON(object.drain_timeout) : void 0,
13204
+ drainReason: isSet(object.drainReason) ? globalThis.String(object.drainReason) : isSet(object.drain_reason) ? globalThis.String(object.drain_reason) : ""
13175
13205
  };
13176
13206
  },
13177
13207
  toJSON(message) {
@@ -13239,10 +13269,10 @@ const NotifyDrainCompleteRequest = {
13239
13269
  },
13240
13270
  fromJSON(object) {
13241
13271
  return {
13242
- applicationId: isSet(object.applicationId) ? globalThis.String(object.applicationId) : "",
13243
- tasksDrained: isSet(object.tasksDrained) ? globalThis.Number(object.tasksDrained) : 0,
13272
+ applicationId: isSet(object.applicationId) ? globalThis.String(object.applicationId) : isSet(object.application_id) ? globalThis.String(object.application_id) : "",
13273
+ tasksDrained: isSet(object.tasksDrained) ? globalThis.Number(object.tasksDrained) : isSet(object.tasks_drained) ? globalThis.Number(object.tasks_drained) : 0,
13244
13274
  success: isSet(object.success) ? globalThis.Boolean(object.success) : false,
13245
- errorMessage: isSet(object.errorMessage) ? globalThis.String(object.errorMessage) : void 0
13275
+ errorMessage: isSet(object.errorMessage) ? globalThis.String(object.errorMessage) : isSet(object.error_message) ? globalThis.String(object.error_message) : void 0
13246
13276
  };
13247
13277
  },
13248
13278
  toJSON(message) {
@@ -13333,7 +13363,7 @@ const GetTaskCountRequest = {
13333
13363
  return message;
13334
13364
  },
13335
13365
  fromJSON(object) {
13336
- return { applicationId: isSet(object.applicationId) ? globalThis.String(object.applicationId) : "" };
13366
+ return { applicationId: isSet(object.applicationId) ? globalThis.String(object.applicationId) : isSet(object.application_id) ? globalThis.String(object.application_id) : "" };
13337
13367
  },
13338
13368
  toJSON(message) {
13339
13369
  const obj = {};
@@ -13375,7 +13405,7 @@ const GetTaskCountResponse = {
13375
13405
  return message;
13376
13406
  },
13377
13407
  fromJSON(object) {
13378
- return { taskCount: isSet(object.taskCount) ? globalThis.Number(object.taskCount) : 0 };
13408
+ return { taskCount: isSet(object.taskCount) ? globalThis.Number(object.taskCount) : isSet(object.task_count) ? globalThis.Number(object.task_count) : 0 };
13379
13409
  },
13380
13410
  toJSON(message) {
13381
13411
  const obj = {};
@@ -13662,7 +13692,8 @@ var AlienContext = class AlienContext {
13662
13692
  message: "ALIEN_BINDINGS_GRPC_ADDRESS environment variable is not set",
13663
13693
  suggestion: "Make sure you're running inside an Alien worker or set the variable manually"
13664
13694
  }));
13665
- return new AlienContext(await getOrCreateChannel(address));
13695
+ const channel = await getOrCreateChannel(address);
13696
+ return new AlienContext(channel);
13666
13697
  }
13667
13698
  /**
13668
13699
  * Create a context with explicit configuration.
@@ -13672,7 +13703,8 @@ var AlienContext = class AlienContext {
13672
13703
  message: "gRPC address is required",
13673
13704
  suggestion: "Provide grpcAddress in the config"
13674
13705
  }));
13675
- return new AlienContext(await createGrpcChannel(config.grpcAddress));
13706
+ const channel = await createGrpcChannel(config.grpcAddress);
13707
+ return new AlienContext(channel);
13676
13708
  }
13677
13709
  /**
13678
13710
  * Create a context for connecting to a remote agent.
@@ -13680,7 +13712,8 @@ var AlienContext = class AlienContext {
13680
13712
  * @param address - gRPC address of the remote agent
13681
13713
  */
13682
13714
  static async forRemoteAgent(address) {
13683
- return new AlienContext(await createGrpcChannel(address));
13715
+ const channel = await createGrpcChannel(address);
13716
+ return new AlienContext(channel);
13684
13717
  }
13685
13718
  /**
13686
13719
  * Get or create a cached binding instance.
@@ -14221,7 +14254,7 @@ async function getPostgresConnection(bindingName) {
14221
14254
  async function readAwsSecret(secretArn) {
14222
14255
  let sdk;
14223
14256
  try {
14224
- sdk = await import("./dist-cjs3.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1));
14257
+ sdk = await import("./dist-cjs.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1));
14225
14258
  } catch (cause) {
14226
14259
  throw (await AlienError.from(cause)).withContext(InvalidBindingConfigError.create({
14227
14260
  message: "Failed to load '@aws-sdk/client-secrets-manager'",