@milaboratories/pl-client 3.4.2 → 3.6.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 (74) hide show
  1. package/dist/core/final.cjs.map +1 -1
  2. package/dist/core/final.js.map +1 -1
  3. package/dist/core/ll_client.cjs +7 -1
  4. package/dist/core/ll_client.cjs.map +1 -1
  5. package/dist/core/ll_client.d.ts.map +1 -1
  6. package/dist/core/ll_client.js +7 -1
  7. package/dist/core/ll_client.js.map +1 -1
  8. package/dist/core/ll_transaction.cjs +151 -26
  9. package/dist/core/ll_transaction.cjs.map +1 -1
  10. package/dist/core/ll_transaction.d.ts +1 -0
  11. package/dist/core/ll_transaction.d.ts.map +1 -1
  12. package/dist/core/ll_transaction.js +151 -26
  13. package/dist/core/ll_transaction.js.map +1 -1
  14. package/dist/core/transaction.cjs +89 -0
  15. package/dist/core/transaction.cjs.map +1 -1
  16. package/dist/core/transaction.d.ts +47 -1
  17. package/dist/core/transaction.d.ts.map +1 -1
  18. package/dist/core/transaction.js +90 -1
  19. package/dist/core/transaction.js.map +1 -1
  20. package/dist/core/tree_filter.cjs +106 -0
  21. package/dist/core/tree_filter.cjs.map +1 -0
  22. package/dist/core/tree_filter.d.ts +85 -0
  23. package/dist/core/tree_filter.d.ts.map +1 -0
  24. package/dist/core/tree_filter.js +106 -0
  25. package/dist/core/tree_filter.js.map +1 -0
  26. package/dist/core/type_conversion.cjs +1 -0
  27. package/dist/core/type_conversion.cjs.map +1 -1
  28. package/dist/core/type_conversion.js +1 -1
  29. package/dist/core/type_conversion.js.map +1 -1
  30. package/dist/core/types.cjs +10 -0
  31. package/dist/core/types.cjs.map +1 -1
  32. package/dist/core/types.d.ts +4 -1
  33. package/dist/core/types.d.ts.map +1 -1
  34. package/dist/core/types.js +10 -1
  35. package/dist/core/types.js.map +1 -1
  36. package/dist/index.cjs +6 -0
  37. package/dist/index.d.ts +5 -3
  38. package/dist/index.js +4 -2
  39. package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.cjs.map +1 -1
  40. package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.js.map +1 -1
  41. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.cjs +450 -4
  42. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.cjs.map +1 -1
  43. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +328 -2
  44. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -1
  45. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.js +449 -5
  46. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.js.map +1 -1
  47. package/dist/proto-grpc/google/protobuf/timestamp.cjs.map +1 -1
  48. package/dist/proto-grpc/google/protobuf/timestamp.d.ts +9 -8
  49. package/dist/proto-grpc/google/protobuf/timestamp.d.ts.map +1 -1
  50. package/dist/proto-grpc/google/protobuf/timestamp.js.map +1 -1
  51. package/dist/proto-grpc/google/rpc/code.cjs.map +1 -1
  52. package/dist/proto-grpc/google/rpc/code.js.map +1 -1
  53. package/package.json +6 -6
  54. package/src/core/final.ts +1 -1
  55. package/src/core/ll_client.ts +11 -1
  56. package/src/core/ll_transaction.test.ts +13 -18
  57. package/src/core/ll_transaction.ts +237 -60
  58. package/src/core/transaction.test.ts +38 -0
  59. package/src/core/transaction.ts +136 -1
  60. package/src/core/tree_filter.test.ts +217 -0
  61. package/src/core/tree_filter.ts +182 -0
  62. package/src/core/type_conversion.ts +1 -1
  63. package/src/core/types.ts +13 -3
  64. package/src/index.ts +1 -0
  65. package/src/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.ts +1 -1
  66. package/src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.ts +604 -6
  67. package/src/proto-grpc/google/api/http.ts +1 -1
  68. package/src/proto-grpc/google/protobuf/descriptor.ts +242 -12
  69. package/src/proto-grpc/google/protobuf/timestamp.ts +9 -8
  70. package/src/proto-grpc/google/protobuf/wrappers.ts +38 -4
  71. package/src/proto-grpc/google/rpc/code.ts +1 -1
  72. package/src/proto-grpc/google/rpc/error_details.ts +5 -5
  73. package/src/proto-grpc/google/rpc/http.ts +1 -1
  74. package/src/proto-grpc/google/rpc/status.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"status.cjs","names":["MessageType","Any","UnknownFieldHandler","WireType"],"sources":["../../../../../../../src/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"github.com/googleapis/googleapis/google/rpc/status.proto\" (package \"google.rpc\", syntax proto3)\n// tslint:disable\n//\n// Copyright 2025 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n//\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { Any } from \"../../../../../google/protobuf/any\";\n/**\n * The `Status` type defines a logical error model that is suitable for\n * different programming environments, including REST APIs and RPC APIs. It is\n * used by [gRPC](https://github.com/grpc). Each `Status` message contains\n * three pieces of data: error code, error message, and error details.\n *\n * You can find out more about this error model and how to work with it in the\n * [API Design Guide](https://cloud.google.com/apis/design/errors).\n *\n * @generated from protobuf message google.rpc.Status\n */\nexport interface Status {\n /**\n * The status code, which should be an enum value of\n * [google.rpc.Code][google.rpc.Code].\n *\n * @generated from protobuf field: int32 code = 1\n */\n code: number;\n /**\n * A developer-facing error message, which should be in English. Any\n * user-facing error message should be localized and sent in the\n * [google.rpc.Status.details][google.rpc.Status.details] field, or localized\n * by the client.\n *\n * @generated from protobuf field: string message = 2\n */\n message: string;\n /**\n * A list of messages that carry the error details. There is a common set of\n * message types for APIs to use.\n *\n * @generated from protobuf field: repeated google.protobuf.Any details = 3\n */\n details: Any[];\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Status$Type extends MessageType<Status> {\n constructor() {\n super(\"google.rpc.Status\", [\n { no: 1, name: \"code\", kind: \"scalar\", T: 5 /*ScalarType.INT32*/ },\n { no: 2, name: \"message\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"details\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Any }\n ]);\n }\n create(value?: PartialMessage<Status>): Status {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.code = 0;\n message.message = \"\";\n message.details = [];\n if (value !== undefined)\n reflectionMergePartial<Status>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Status): Status {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* int32 code */ 1:\n message.code = reader.int32();\n break;\n case /* string message */ 2:\n message.message = reader.string();\n break;\n case /* repeated google.protobuf.Any details */ 3:\n message.details.push(Any.internalBinaryRead(reader, reader.uint32(), options));\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: Status, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* int32 code = 1; */\n if (message.code !== 0)\n writer.tag(1, WireType.Varint).int32(message.code);\n /* string message = 2; */\n if (message.message !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.message);\n /* repeated google.protobuf.Any details = 3; */\n for (let i = 0; i < message.details.length; i++)\n Any.internalBinaryWrite(message.details[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message google.rpc.Status\n */\nexport const Status = new Status$Type();\n"],"mappings":";;;;AAiEA,IAAM,cAAN,cAA0BA,qBAAAA,YAAoB;CAC1C,cAAc;AACV,QAAM,qBAAqB;GACvB;IAAE,IAAI;IAAG,MAAM;IAAQ,MAAM;IAAU,GAAG;IAAwB;GAClE;IAAE,IAAI;IAAG,MAAM;IAAW,MAAM;IAAU,GAAG;IAAyB;GACtE;IAAE,IAAI;IAAG,MAAM;IAAW,MAAM;IAAW,QAAQ;IAA2B,SAASC,YAAAA;IAAK;GAC/F,CAAC;;CAEN,OAAO,OAAwC;EAC3C,MAAM,UAAU,WAAW,OAAO,OAAQ,KAAK,iBAAmB;AAClE,UAAQ,OAAO;AACf,UAAQ,UAAU;AAClB,UAAQ,UAAU,EAAE;AACpB,MAAI,UAAU,KAAA,EACV,EAAA,GAAA,qBAAA,wBAA+B,MAAM,SAAS,MAAM;AACxD,SAAO;;CAEX,mBAAmB,QAAuB,QAAgB,SAA4B,QAAyB;EAC3G,IAAI,UAAU,UAAU,KAAK,QAAQ,EAAE,MAAM,OAAO,MAAM;AAC1D,SAAO,OAAO,MAAM,KAAK;GACrB,IAAI,CAAC,SAAS,YA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.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"github.com/googleapis/googleapis/google/rpc/status.proto\" (package \"google.rpc\", syntax proto3)\n// tslint:disable\n//\n// Copyright 2026 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n//\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { Any } from \"../../../../../google/protobuf/any\";\n/**\n * The `Status` type defines a logical error model that is suitable for\n * different programming environments, including REST APIs and RPC APIs. It is\n * used by [gRPC](https://github.com/grpc). Each `Status` message contains\n * three pieces of data: error code, error message, and error details.\n *\n * You can find out more about this error model and how to work with it in the\n * [API Design Guide](https://cloud.google.com/apis/design/errors).\n *\n * @generated from protobuf message google.rpc.Status\n */\nexport interface Status {\n /**\n * The status code, which should be an enum value of\n * [google.rpc.Code][google.rpc.Code].\n *\n * @generated from protobuf field: int32 code = 1\n */\n code: number;\n /**\n * A developer-facing error message, which should be in English. Any\n * user-facing error message should be localized and sent in the\n * [google.rpc.Status.details][google.rpc.Status.details] field, or localized\n * by the client.\n *\n * @generated from protobuf field: string message = 2\n */\n message: string;\n /**\n * A list of messages that carry the error details. There is a common set of\n * message types for APIs to use.\n *\n * @generated from protobuf field: repeated google.protobuf.Any details = 3\n */\n details: Any[];\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Status$Type extends MessageType<Status> {\n constructor() {\n super(\"google.rpc.Status\", [\n { no: 1, name: \"code\", kind: \"scalar\", T: 5 /*ScalarType.INT32*/ },\n { no: 2, name: \"message\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"details\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Any }\n ]);\n }\n create(value?: PartialMessage<Status>): Status {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.code = 0;\n message.message = \"\";\n message.details = [];\n if (value !== undefined)\n reflectionMergePartial<Status>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Status): Status {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* int32 code */ 1:\n message.code = reader.int32();\n break;\n case /* string message */ 2:\n message.message = reader.string();\n break;\n case /* repeated google.protobuf.Any details */ 3:\n message.details.push(Any.internalBinaryRead(reader, reader.uint32(), options));\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: Status, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* int32 code = 1; */\n if (message.code !== 0)\n writer.tag(1, WireType.Varint).int32(message.code);\n /* string message = 2; */\n if (message.message !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.message);\n /* repeated google.protobuf.Any details = 3; */\n for (let i = 0; i < message.details.length; i++)\n Any.internalBinaryWrite(message.details[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message google.rpc.Status\n */\nexport const Status = new Status$Type();\n"],"mappings":";;;;AAiEA,IAAM,cAAN,cAA0BA,qBAAAA,YAAoB;CAC1C,cAAc;AACV,QAAM,qBAAqB;GACvB;IAAE,IAAI;IAAG,MAAM;IAAQ,MAAM;IAAU,GAAG;IAAwB;GAClE;IAAE,IAAI;IAAG,MAAM;IAAW,MAAM;IAAU,GAAG;IAAyB;GACtE;IAAE,IAAI;IAAG,MAAM;IAAW,MAAM;IAAW,QAAQ;IAA2B,SAASC,YAAAA;IAAK;GAC/F,CAAC;;CAEN,OAAO,OAAwC;EAC3C,MAAM,UAAU,WAAW,OAAO,OAAQ,KAAK,iBAAmB;AAClE,UAAQ,OAAO;AACf,UAAQ,UAAU;AAClB,UAAQ,UAAU,EAAE;AACpB,MAAI,UAAU,KAAA,EACV,EAAA,GAAA,qBAAA,wBAA+B,MAAM,SAAS,MAAM;AACxD,SAAO;;CAEX,mBAAmB,QAAuB,QAAgB,SAA4B,QAAyB;EAC3G,IAAI,UAAU,UAAU,KAAK,QAAQ,EAAE,MAAM,OAAO,MAAM;AAC1D,SAAO,OAAO,MAAM,KAAK;GACrB,IAAI,CAAC,SAAS,YAAY,OAAO,KAAK;AACtC,WAAQ,SAAR;IACI,KAAsB;AAClB,aAAQ,OAAO,OAAO,OAAO;AAC7B;IACJ,KAA0B;AACtB,aAAQ,UAAU,OAAO,QAAQ;AACjC;IACJ,KAAgD;AAC5C,aAAQ,QAAQ,KAAKA,YAAAA,IAAI,mBAAmB,QAAQ,OAAO,QAAQ,EAAE,QAAQ,CAAC;AAC9E;IACJ;KACI,IAAI,IAAI,QAAQ;AAChB,SAAI,MAAM,QACN,OAAM,IAAI,WAAW,MAAM,iBAAiB,QAAQ,cAAc,SAAS,QAAQ,KAAK,WAAW;KACvG,IAAI,IAAI,OAAO,KAAK,SAAS;AAC7B,SAAI,MAAM,MACN,EAAC,MAAM,OAAOC,qBAAAA,oBAAoB,SAAS,GAAG,KAAK,UAAU,SAAS,SAAS,UAAU,EAAE;;;AAG3G,SAAO;;CAEX,oBAAoB,SAAiB,QAAuB,SAA4C;AAEpG,MAAI,QAAQ,SAAS,EACjB,QAAO,IAAI,GAAGC,qBAAAA,SAAS,OAAO,CAAC,MAAM,QAAQ,KAAK;AAEtD,MAAI,QAAQ,YAAY,GACpB,QAAO,IAAI,GAAGA,qBAAAA,SAAS,gBAAgB,CAAC,OAAO,QAAQ,QAAQ;AAEnE,OAAK,IAAI,IAAI,GAAG,IAAI,QAAQ,QAAQ,QAAQ,IACxC,aAAA,IAAI,oBAAoB,QAAQ,QAAQ,IAAI,OAAO,IAAI,GAAGA,qBAAAA,SAAS,gBAAgB,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM;EAC/G,IAAI,IAAI,QAAQ;AAChB,MAAI,MAAM,MACN,EAAC,KAAK,OAAOD,qBAAAA,oBAAoB,UAAU,GAAG,KAAK,UAAU,SAAS,OAAO;AACjF,SAAO;;;;;;AAMf,MAAa,SAAS,IAAI,aAAa"}
@@ -1 +1 @@
1
- {"version":3,"file":"status.js","names":[],"sources":["../../../../../../../src/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"github.com/googleapis/googleapis/google/rpc/status.proto\" (package \"google.rpc\", syntax proto3)\n// tslint:disable\n//\n// Copyright 2025 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n//\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { Any } from \"../../../../../google/protobuf/any\";\n/**\n * The `Status` type defines a logical error model that is suitable for\n * different programming environments, including REST APIs and RPC APIs. It is\n * used by [gRPC](https://github.com/grpc). Each `Status` message contains\n * three pieces of data: error code, error message, and error details.\n *\n * You can find out more about this error model and how to work with it in the\n * [API Design Guide](https://cloud.google.com/apis/design/errors).\n *\n * @generated from protobuf message google.rpc.Status\n */\nexport interface Status {\n /**\n * The status code, which should be an enum value of\n * [google.rpc.Code][google.rpc.Code].\n *\n * @generated from protobuf field: int32 code = 1\n */\n code: number;\n /**\n * A developer-facing error message, which should be in English. Any\n * user-facing error message should be localized and sent in the\n * [google.rpc.Status.details][google.rpc.Status.details] field, or localized\n * by the client.\n *\n * @generated from protobuf field: string message = 2\n */\n message: string;\n /**\n * A list of messages that carry the error details. There is a common set of\n * message types for APIs to use.\n *\n * @generated from protobuf field: repeated google.protobuf.Any details = 3\n */\n details: Any[];\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Status$Type extends MessageType<Status> {\n constructor() {\n super(\"google.rpc.Status\", [\n { no: 1, name: \"code\", kind: \"scalar\", T: 5 /*ScalarType.INT32*/ },\n { no: 2, name: \"message\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"details\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Any }\n ]);\n }\n create(value?: PartialMessage<Status>): Status {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.code = 0;\n message.message = \"\";\n message.details = [];\n if (value !== undefined)\n reflectionMergePartial<Status>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Status): Status {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* int32 code */ 1:\n message.code = reader.int32();\n break;\n case /* string message */ 2:\n message.message = reader.string();\n break;\n case /* repeated google.protobuf.Any details */ 3:\n message.details.push(Any.internalBinaryRead(reader, reader.uint32(), options));\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: Status, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* int32 code = 1; */\n if (message.code !== 0)\n writer.tag(1, WireType.Varint).int32(message.code);\n /* string message = 2; */\n if (message.message !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.message);\n /* repeated google.protobuf.Any details = 3; */\n for (let i = 0; i < message.details.length; i++)\n Any.internalBinaryWrite(message.details[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message google.rpc.Status\n */\nexport const Status = new Status$Type();\n"],"mappings":";;;AAiEA,IAAM,cAAN,cAA0B,YAAoB;CAC1C,cAAc;AACV,QAAM,qBAAqB;GACvB;IAAE,IAAI;IAAG,MAAM;IAAQ,MAAM;IAAU,GAAG;IAAwB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O,QAAQ,QAAQ;AAEnE,OAAK,IAAI,IAAI,GAAG,IAAI,QAAQ,QAAQ,QAAQ,IACxC,KAAI,oBAAoB,QAAQ,QAAQ,IAAI,OAAO,IAAI,GAAG,SAAS,gBAAgB,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM;EAC/G,IAAI,IAAI,QAAQ;AAChB,MAAI,MAAM,MACN,EAAC,KAAK,OAAO,oBAAoB,UAAU,GAAG,KAAK,UAAU,SAAS,OAAO;AACjF,SAAO;;;;;;AAMf,MAAa,SAAS,IAAI,aAAa"}
1
+ {"version":3,"file":"status.js","names":[],"sources":["../../../../../../../src/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"github.com/googleapis/googleapis/google/rpc/status.proto\" (package \"google.rpc\", syntax proto3)\n// tslint:disable\n//\n// Copyright 2026 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n//\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { Any } from \"../../../../../google/protobuf/any\";\n/**\n * The `Status` type defines a logical error model that is suitable for\n * different programming environments, including REST APIs and RPC APIs. It is\n * used by [gRPC](https://github.com/grpc). Each `Status` message contains\n * three pieces of data: error code, error message, and error details.\n *\n * You can find out more about this error model and how to work with it in the\n * [API Design Guide](https://cloud.google.com/apis/design/errors).\n *\n * @generated from protobuf message google.rpc.Status\n */\nexport interface Status {\n /**\n * The status code, which should be an enum value of\n * [google.rpc.Code][google.rpc.Code].\n *\n * @generated from protobuf field: int32 code = 1\n */\n code: number;\n /**\n * A developer-facing error message, which should be in English. Any\n * user-facing error message should be localized and sent in the\n * [google.rpc.Status.details][google.rpc.Status.details] field, or localized\n * by the client.\n *\n * @generated from protobuf field: string message = 2\n */\n message: string;\n /**\n * A list of messages that carry the error details. There is a common set of\n * message types for APIs to use.\n *\n * @generated from protobuf field: repeated google.protobuf.Any details = 3\n */\n details: Any[];\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Status$Type extends MessageType<Status> {\n constructor() {\n super(\"google.rpc.Status\", [\n { no: 1, name: \"code\", kind: \"scalar\", T: 5 /*ScalarType.INT32*/ },\n { no: 2, name: \"message\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"details\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Any }\n ]);\n }\n create(value?: PartialMessage<Status>): Status {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.code = 0;\n message.message = \"\";\n message.details = [];\n if (value !== undefined)\n reflectionMergePartial<Status>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Status): Status {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* int32 code */ 1:\n message.code = reader.int32();\n break;\n case /* string message */ 2:\n message.message = reader.string();\n break;\n case /* repeated google.protobuf.Any details */ 3:\n message.details.push(Any.internalBinaryRead(reader, reader.uint32(), options));\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: Status, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* int32 code = 1; */\n if (message.code !== 0)\n writer.tag(1, WireType.Varint).int32(message.code);\n /* string message = 2; */\n if (message.message !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.message);\n /* repeated google.protobuf.Any details = 3; */\n for (let i = 0; i < message.details.length; i++)\n Any.internalBinaryWrite(message.details[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message google.rpc.Status\n */\nexport const Status = new Status$Type();\n"],"mappings":";;;AAiEA,IAAM,cAAN,cAA0B,YAAoB;CAC1C,cAAc;AACV,QAAM,qBAAqB;GACvB;IAAE,IAAI;IAAG,MAAM;IAAQ,MAAM;IAAU,GAAG;IAAwB;GAClE;IAAE,IAAI;IAAG,MAAM;IAAW,MAAM;IAAU,GAAG;IAAyB;GACtE;IAAE,IAAI;IAAG,MAAM;IAAW,MAAM;IAAW,QAAQ;IAA2B,SAAS;IAAK;GAC/F,CAAC;;CAEN,OAAO,OAAwC;EAC3C,MAAM,UAAU,WAAW,OAAO,OAAQ,KAAK,iBAAmB;AAClE,UAAQ,OAAO;AACf,UAAQ,UAAU;AAClB,UAAQ,UAAU,EAAE;AACpB,MAAI,UAAU,KAAA,EACV,wBAA+B,MAAM,SAAS,MAAM;AACxD,SAAO;;CAEX,mBAAmB,QAAuB,QAAgB,SAA4B,QAAyB;EAC3G,IAAI,UAAU,UAAU,KAAK,QAAQ,EAAE,MAAM,OAAO,MAAM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({});
29
29
  /**
30
+ * @generated from protobuf enum MiLaboratories.PL.API.ResourceAPI.Tree.Filter.OperatorType
31
+ */
32
+ let ResourceAPI_Tree_Filter_OperatorType = /* @__PURE__ */ function(ResourceAPI_Tree_Filter_OperatorType) {
33
+ /**
34
+ * @generated from protobuf enum value: UNSPECIFIED = 0;
35
+ */
36
+ ResourceAPI_Tree_Filter_OperatorType[ResourceAPI_Tree_Filter_OperatorType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
37
+ /**
38
+ * @generated from protobuf enum value: EQUAL = 1;
39
+ */
40
+ ResourceAPI_Tree_Filter_OperatorType[ResourceAPI_Tree_Filter_OperatorType["EQUAL"] = 1] = "EQUAL";
41
+ /**
42
+ * @generated from protobuf enum value: MATCH = 2;
43
+ */
44
+ ResourceAPI_Tree_Filter_OperatorType[ResourceAPI_Tree_Filter_OperatorType["MATCH"] = 2] = "MATCH";
45
+ /**
46
+ * @generated from protobuf enum value: OR = 3;
47
+ */
48
+ ResourceAPI_Tree_Filter_OperatorType[ResourceAPI_Tree_Filter_OperatorType["OR"] = 3] = "OR";
49
+ /**
50
+ * @generated from protobuf enum value: AND = 4;
51
+ */
52
+ ResourceAPI_Tree_Filter_OperatorType[ResourceAPI_Tree_Filter_OperatorType["AND"] = 4] = "AND";
53
+ /**
54
+ * @generated from protobuf enum value: NOT = 5;
55
+ */
56
+ ResourceAPI_Tree_Filter_OperatorType[ResourceAPI_Tree_Filter_OperatorType["NOT"] = 5] = "NOT";
57
+ return ResourceAPI_Tree_Filter_OperatorType;
58
+ }({});
59
+ /**
60
+ * @generated from protobuf enum MiLaboratories.PL.API.ResourceAPI.Tree.Filter.Property
61
+ */
62
+ let ResourceAPI_Tree_Filter_Property = /* @__PURE__ */ function(ResourceAPI_Tree_Filter_Property) {
63
+ /**
64
+ * @generated from protobuf enum value: FIELD_NAME = 0;
65
+ */
66
+ ResourceAPI_Tree_Filter_Property[ResourceAPI_Tree_Filter_Property["FIELD_NAME"] = 0] = "FIELD_NAME";
67
+ /**
68
+ * @generated from protobuf enum value: RESOURCE_TYPE = 1;
69
+ */
70
+ ResourceAPI_Tree_Filter_Property[ResourceAPI_Tree_Filter_Property["RESOURCE_TYPE"] = 1] = "RESOURCE_TYPE";
71
+ /**
72
+ * Status().IsFinal(): true when status is Original, Duplicate, or Error.
73
+ * Does NOT require AllInputsFinal — a resource with unresolved input fields
74
+ * can still report IS_FINAL=true if its own status is terminal. Use
75
+ * RESOURCE_READY_FOR_CALCULATION + IS_DUPLICATE + HAS_ERRORS to mirror the
76
+ * client-side readyOrDuplicateOrError predicate precisely.
77
+ *
78
+ * @generated from protobuf enum value: IS_FINAL = 2;
79
+ */
80
+ ResourceAPI_Tree_Filter_Property[ResourceAPI_Tree_Filter_Property["IS_FINAL"] = 2] = "IS_FINAL";
81
+ /**
82
+ * Evaluated per resource node (traverse_stop_rules only). True when every non-error
83
+ * output field has a final value. Matches the TypeScript readyAndHasAllOutputsFilled check.
84
+ *
85
+ * @generated from protobuf enum value: ALL_OUTPUTS_FINAL = 3;
86
+ */
87
+ ResourceAPI_Tree_Filter_Property[ResourceAPI_Tree_Filter_Property["ALL_OUTPUTS_FINAL"] = 3] = "ALL_OUTPUTS_FINAL";
88
+ /**
89
+ * IsReadyForCalculation(): Status==Original AND AllInputsFinal AND no input errors AND IO feature.
90
+ * Mirrors the client-side r.resourceReady property used in readyOrDuplicateOrError.
91
+ *
92
+ * @generated from protobuf enum value: RESOURCE_READY_FOR_CALCULATION = 4;
93
+ */
94
+ ResourceAPI_Tree_Filter_Property[ResourceAPI_Tree_Filter_Property["RESOURCE_READY_FOR_CALCULATION"] = 4] = "RESOURCE_READY_FOR_CALCULATION";
95
+ /**
96
+ * True when status is Duplicate (original_resource_id != 0). Mirrors the
97
+ * isNotNullSignedResourceId(r.originalResourceId) branch of readyOrDuplicateOrError.
98
+ *
99
+ * @generated from protobuf enum value: IS_DUPLICATE = 5;
100
+ */
101
+ ResourceAPI_Tree_Filter_Property[ResourceAPI_Tree_Filter_Property["IS_DUPLICATE"] = 5] = "IS_DUPLICATE";
102
+ /**
103
+ * True when the resource has at least one field carrying an error
104
+ * (aggregated has-error flag). Mirrors the isNotNullSignedResourceId(r.error)
105
+ * branch of readyOrDuplicateOrError. Note: this can be true even when the
106
+ * resource's own status is not Error (e.g., an Original resource with a
107
+ * failed input field).
108
+ *
109
+ * @generated from protobuf enum value: HAS_ERRORS = 6;
110
+ */
111
+ ResourceAPI_Tree_Filter_Property[ResourceAPI_Tree_Filter_Property["HAS_ERRORS"] = 6] = "HAS_ERRORS";
112
+ /**
113
+ * True when no further output fields can be added to the resource.
114
+ *
115
+ * @generated from protobuf enum value: OUTPUTS_LOCKED = 7;
116
+ */
117
+ ResourceAPI_Tree_Filter_Property[ResourceAPI_Tree_Filter_Property["OUTPUTS_LOCKED"] = 7] = "OUTPUTS_LOCKED";
118
+ return ResourceAPI_Tree_Filter_Property;
119
+ }({});
120
+ /**
30
121
  * GrantType distinguishes regular grants from system-level grants.
31
122
  *
32
123
  * @generated from protobuf enum MiLaboratories.PL.API.AuthAPI.GrantAccess.GrantType
@@ -5424,6 +5515,31 @@ var ResourceAPI_Tree_Request$Type = class extends _protobuf_ts_runtime.MessageTy
5424
5515
  kind: "scalar",
5425
5516
  opt: true,
5426
5517
  T: 13
5518
+ },
5519
+ {
5520
+ no: 5,
5521
+ name: "field_filter",
5522
+ kind: "message",
5523
+ T: () => ResourceAPI_Tree_Filter
5524
+ },
5525
+ {
5526
+ no: 6,
5527
+ name: "include_kv",
5528
+ kind: "scalar",
5529
+ T: 8
5530
+ },
5531
+ {
5532
+ no: 7,
5533
+ name: "traverse_stop_rules",
5534
+ kind: "message",
5535
+ T: () => ResourceAPI_Tree_Filter
5536
+ },
5537
+ {
5538
+ no: 8,
5539
+ name: "seeds",
5540
+ kind: "message",
5541
+ repeat: 2,
5542
+ T: () => ResourceAPI_Tree_SeedResource
5427
5543
  }
5428
5544
  ]);
5429
5545
  }
@@ -5431,6 +5547,8 @@ var ResourceAPI_Tree_Request$Type = class extends _protobuf_ts_runtime.MessageTy
5431
5547
  const message = globalThis.Object.create(this.messagePrototype);
5432
5548
  message.resourceId = 0n;
5433
5549
  message.resourceSignature = new Uint8Array(0);
5550
+ message.includeKv = false;
5551
+ message.seeds = [];
5434
5552
  if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
5435
5553
  return message;
5436
5554
  }
@@ -5448,6 +5566,18 @@ var ResourceAPI_Tree_Request$Type = class extends _protobuf_ts_runtime.MessageTy
5448
5566
  case 2:
5449
5567
  message.maxDepth = reader.uint32();
5450
5568
  break;
5569
+ case 5:
5570
+ message.fieldFilter = ResourceAPI_Tree_Filter.internalBinaryRead(reader, reader.uint32(), options, message.fieldFilter);
5571
+ break;
5572
+ case 6:
5573
+ message.includeKv = reader.bool();
5574
+ break;
5575
+ case 7:
5576
+ message.traverseStopRules = ResourceAPI_Tree_Filter.internalBinaryRead(reader, reader.uint32(), options, message.traverseStopRules);
5577
+ break;
5578
+ case 8:
5579
+ message.seeds.push(ResourceAPI_Tree_SeedResource.internalBinaryRead(reader, reader.uint32(), options));
5580
+ break;
5451
5581
  default:
5452
5582
  let u = options.readUnknownField;
5453
5583
  if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
@@ -5461,6 +5591,10 @@ var ResourceAPI_Tree_Request$Type = class extends _protobuf_ts_runtime.MessageTy
5461
5591
  if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
5462
5592
  if (message.maxDepth !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.Varint).uint32(message.maxDepth);
5463
5593
  if (message.resourceSignature.length) writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
5594
+ if (message.fieldFilter) ResourceAPI_Tree_Filter.internalBinaryWrite(message.fieldFilter, writer.tag(5, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
5595
+ if (message.includeKv !== false) writer.tag(6, _protobuf_ts_runtime.WireType.Varint).bool(message.includeKv);
5596
+ if (message.traverseStopRules) ResourceAPI_Tree_Filter.internalBinaryWrite(message.traverseStopRules, writer.tag(7, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
5597
+ for (let i = 0; i < message.seeds.length; i++) ResourceAPI_Tree_SeedResource.internalBinaryWrite(message.seeds[i], writer.tag(8, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
5464
5598
  let u = options.writeUnknownFields;
5465
5599
  if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
5466
5600
  return writer;
@@ -5470,17 +5604,299 @@ var ResourceAPI_Tree_Request$Type = class extends _protobuf_ts_runtime.MessageTy
5470
5604
  * @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.Tree.Request
5471
5605
  */
5472
5606
  const ResourceAPI_Tree_Request = new ResourceAPI_Tree_Request$Type();
5473
- var ResourceAPI_Tree_Response$Type = class extends _protobuf_ts_runtime.MessageType {
5607
+ var ResourceAPI_Tree_SeedResource$Type = class extends _protobuf_ts_runtime.MessageType {
5474
5608
  constructor() {
5475
- super("MiLaboratories.PL.API.ResourceAPI.Tree.Response", [{
5609
+ super("MiLaboratories.PL.API.ResourceAPI.Tree.SeedResource", [{
5476
5610
  no: 1,
5477
- name: "resource",
5611
+ name: "resource_id",
5612
+ kind: "scalar",
5613
+ T: 4,
5614
+ L: 0
5615
+ }, {
5616
+ no: 2,
5617
+ name: "resource_signature",
5618
+ kind: "scalar",
5619
+ T: 12
5620
+ }]);
5621
+ }
5622
+ create(value) {
5623
+ const message = globalThis.Object.create(this.messagePrototype);
5624
+ message.resourceId = 0n;
5625
+ message.resourceSignature = new Uint8Array(0);
5626
+ if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
5627
+ return message;
5628
+ }
5629
+ internalBinaryRead(reader, length, options, target) {
5630
+ let message = target ?? this.create(), end = reader.pos + length;
5631
+ while (reader.pos < end) {
5632
+ let [fieldNo, wireType] = reader.tag();
5633
+ switch (fieldNo) {
5634
+ case 1:
5635
+ message.resourceId = reader.uint64().toBigInt();
5636
+ break;
5637
+ case 2:
5638
+ message.resourceSignature = reader.bytes();
5639
+ break;
5640
+ default:
5641
+ let u = options.readUnknownField;
5642
+ if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
5643
+ let d = reader.skip(wireType);
5644
+ if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
5645
+ }
5646
+ }
5647
+ return message;
5648
+ }
5649
+ internalBinaryWrite(message, writer, options) {
5650
+ if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
5651
+ if (message.resourceSignature.length) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
5652
+ let u = options.writeUnknownFields;
5653
+ if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
5654
+ return writer;
5655
+ }
5656
+ };
5657
+ /**
5658
+ * @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.Tree.SeedResource
5659
+ */
5660
+ const ResourceAPI_Tree_SeedResource = new ResourceAPI_Tree_SeedResource$Type();
5661
+ var ResourceAPI_Tree_Filter$Type = class extends _protobuf_ts_runtime.MessageType {
5662
+ constructor() {
5663
+ super("MiLaboratories.PL.API.ResourceAPI.Tree.Filter", [
5664
+ {
5665
+ no: 1,
5666
+ name: "key",
5667
+ kind: "enum",
5668
+ opt: true,
5669
+ T: () => ["MiLaboratories.PL.API.ResourceAPI.Tree.Filter.Property", ResourceAPI_Tree_Filter_Property]
5670
+ },
5671
+ {
5672
+ no: 2,
5673
+ name: "operator",
5674
+ kind: "enum",
5675
+ T: () => ["MiLaboratories.PL.API.ResourceAPI.Tree.Filter.OperatorType", ResourceAPI_Tree_Filter_OperatorType]
5676
+ },
5677
+ {
5678
+ no: 3,
5679
+ name: "bool_value",
5680
+ kind: "scalar",
5681
+ oneof: "value",
5682
+ T: 8
5683
+ },
5684
+ {
5685
+ no: 4,
5686
+ name: "string_value",
5687
+ kind: "scalar",
5688
+ oneof: "value",
5689
+ T: 9
5690
+ },
5691
+ {
5692
+ no: 5,
5693
+ name: "filters_value",
5694
+ kind: "message",
5695
+ oneof: "value",
5696
+ T: () => ResourceAPI_Tree_Filter_FilterGroup
5697
+ }
5698
+ ]);
5699
+ }
5700
+ create(value) {
5701
+ const message = globalThis.Object.create(this.messagePrototype);
5702
+ message.operator = 0;
5703
+ message.value = { oneofKind: void 0 };
5704
+ if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
5705
+ return message;
5706
+ }
5707
+ internalBinaryRead(reader, length, options, target) {
5708
+ let message = target ?? this.create(), end = reader.pos + length;
5709
+ while (reader.pos < end) {
5710
+ let [fieldNo, wireType] = reader.tag();
5711
+ switch (fieldNo) {
5712
+ case 1:
5713
+ message.key = reader.int32();
5714
+ break;
5715
+ case 2:
5716
+ message.operator = reader.int32();
5717
+ break;
5718
+ case 3:
5719
+ message.value = {
5720
+ oneofKind: "boolValue",
5721
+ boolValue: reader.bool()
5722
+ };
5723
+ break;
5724
+ case 4:
5725
+ message.value = {
5726
+ oneofKind: "stringValue",
5727
+ stringValue: reader.string()
5728
+ };
5729
+ break;
5730
+ case 5:
5731
+ message.value = {
5732
+ oneofKind: "filtersValue",
5733
+ filtersValue: ResourceAPI_Tree_Filter_FilterGroup.internalBinaryRead(reader, reader.uint32(), options, message.value.filtersValue)
5734
+ };
5735
+ break;
5736
+ default:
5737
+ let u = options.readUnknownField;
5738
+ if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
5739
+ let d = reader.skip(wireType);
5740
+ if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
5741
+ }
5742
+ }
5743
+ return message;
5744
+ }
5745
+ internalBinaryWrite(message, writer, options) {
5746
+ if (message.key !== void 0) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).int32(message.key);
5747
+ if (message.operator !== 0) writer.tag(2, _protobuf_ts_runtime.WireType.Varint).int32(message.operator);
5748
+ if (message.value.oneofKind === "boolValue") writer.tag(3, _protobuf_ts_runtime.WireType.Varint).bool(message.value.boolValue);
5749
+ if (message.value.oneofKind === "stringValue") writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.value.stringValue);
5750
+ if (message.value.oneofKind === "filtersValue") ResourceAPI_Tree_Filter_FilterGroup.internalBinaryWrite(message.value.filtersValue, writer.tag(5, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
5751
+ let u = options.writeUnknownFields;
5752
+ if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
5753
+ return writer;
5754
+ }
5755
+ };
5756
+ /**
5757
+ * @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.Tree.Filter
5758
+ */
5759
+ const ResourceAPI_Tree_Filter = new ResourceAPI_Tree_Filter$Type();
5760
+ var ResourceAPI_Tree_Filter_FilterGroup$Type = class extends _protobuf_ts_runtime.MessageType {
5761
+ constructor() {
5762
+ super("MiLaboratories.PL.API.ResourceAPI.Tree.Filter.FilterGroup", [{
5763
+ no: 1,
5764
+ name: "filters",
5478
5765
  kind: "message",
5479
- T: () => require_api_types.Resource
5766
+ repeat: 2,
5767
+ T: () => ResourceAPI_Tree_Filter
5768
+ }]);
5769
+ }
5770
+ create(value) {
5771
+ const message = globalThis.Object.create(this.messagePrototype);
5772
+ message.filters = [];
5773
+ if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
5774
+ return message;
5775
+ }
5776
+ internalBinaryRead(reader, length, options, target) {
5777
+ let message = target ?? this.create(), end = reader.pos + length;
5778
+ while (reader.pos < end) {
5779
+ let [fieldNo, wireType] = reader.tag();
5780
+ switch (fieldNo) {
5781
+ case 1:
5782
+ message.filters.push(ResourceAPI_Tree_Filter.internalBinaryRead(reader, reader.uint32(), options));
5783
+ break;
5784
+ default:
5785
+ let u = options.readUnknownField;
5786
+ if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
5787
+ let d = reader.skip(wireType);
5788
+ if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
5789
+ }
5790
+ }
5791
+ return message;
5792
+ }
5793
+ internalBinaryWrite(message, writer, options) {
5794
+ for (let i = 0; i < message.filters.length; i++) ResourceAPI_Tree_Filter.internalBinaryWrite(message.filters[i], writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
5795
+ let u = options.writeUnknownFields;
5796
+ if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
5797
+ return writer;
5798
+ }
5799
+ };
5800
+ /**
5801
+ * @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.Tree.Filter.FilterGroup
5802
+ */
5803
+ const ResourceAPI_Tree_Filter_FilterGroup = new ResourceAPI_Tree_Filter_FilterGroup$Type();
5804
+ var ResourceAPI_Tree_KV$Type = class extends _protobuf_ts_runtime.MessageType {
5805
+ constructor() {
5806
+ super("MiLaboratories.PL.API.ResourceAPI.Tree.KV", [{
5807
+ no: 1,
5808
+ name: "key",
5809
+ kind: "scalar",
5810
+ T: 9
5811
+ }, {
5812
+ no: 2,
5813
+ name: "value",
5814
+ kind: "scalar",
5815
+ T: 12
5480
5816
  }]);
5481
5817
  }
5482
5818
  create(value) {
5483
5819
  const message = globalThis.Object.create(this.messagePrototype);
5820
+ message.key = "";
5821
+ message.value = new Uint8Array(0);
5822
+ if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
5823
+ return message;
5824
+ }
5825
+ internalBinaryRead(reader, length, options, target) {
5826
+ let message = target ?? this.create(), end = reader.pos + length;
5827
+ while (reader.pos < end) {
5828
+ let [fieldNo, wireType] = reader.tag();
5829
+ switch (fieldNo) {
5830
+ case 1:
5831
+ message.key = reader.string();
5832
+ break;
5833
+ case 2:
5834
+ message.value = reader.bytes();
5835
+ break;
5836
+ default:
5837
+ let u = options.readUnknownField;
5838
+ if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
5839
+ let d = reader.skip(wireType);
5840
+ if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
5841
+ }
5842
+ }
5843
+ return message;
5844
+ }
5845
+ internalBinaryWrite(message, writer, options) {
5846
+ if (message.key !== "") writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.key);
5847
+ if (message.value.length) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.value);
5848
+ let u = options.writeUnknownFields;
5849
+ if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
5850
+ return writer;
5851
+ }
5852
+ };
5853
+ /**
5854
+ * @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.Tree.KV
5855
+ */
5856
+ const ResourceAPI_Tree_KV = new ResourceAPI_Tree_KV$Type();
5857
+ var ResourceAPI_Tree_Response$Type = class extends _protobuf_ts_runtime.MessageType {
5858
+ constructor() {
5859
+ super("MiLaboratories.PL.API.ResourceAPI.Tree.Response", [
5860
+ {
5861
+ no: 1,
5862
+ name: "resource",
5863
+ kind: "message",
5864
+ T: () => require_api_types.Resource
5865
+ },
5866
+ {
5867
+ no: 2,
5868
+ name: "kv",
5869
+ kind: "message",
5870
+ repeat: 2,
5871
+ T: () => ResourceAPI_Tree_KV
5872
+ },
5873
+ {
5874
+ no: 3,
5875
+ name: "traverse_was_stopped",
5876
+ kind: "scalar",
5877
+ T: 8
5878
+ },
5879
+ {
5880
+ no: 4,
5881
+ name: "resource_id",
5882
+ kind: "scalar",
5883
+ T: 4,
5884
+ L: 0
5885
+ },
5886
+ {
5887
+ no: 5,
5888
+ name: "resource_signature",
5889
+ kind: "scalar",
5890
+ T: 12
5891
+ }
5892
+ ]);
5893
+ }
5894
+ create(value) {
5895
+ const message = globalThis.Object.create(this.messagePrototype);
5896
+ message.kv = [];
5897
+ message.traverseWasStopped = false;
5898
+ message.resourceId = 0n;
5899
+ message.resourceSignature = new Uint8Array(0);
5484
5900
  if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
5485
5901
  return message;
5486
5902
  }
@@ -5492,6 +5908,18 @@ var ResourceAPI_Tree_Response$Type = class extends _protobuf_ts_runtime.MessageT
5492
5908
  case 1:
5493
5909
  message.resource = require_api_types.Resource.internalBinaryRead(reader, reader.uint32(), options, message.resource);
5494
5910
  break;
5911
+ case 2:
5912
+ message.kv.push(ResourceAPI_Tree_KV.internalBinaryRead(reader, reader.uint32(), options));
5913
+ break;
5914
+ case 3:
5915
+ message.traverseWasStopped = reader.bool();
5916
+ break;
5917
+ case 4:
5918
+ message.resourceId = reader.uint64().toBigInt();
5919
+ break;
5920
+ case 5:
5921
+ message.resourceSignature = reader.bytes();
5922
+ break;
5495
5923
  default:
5496
5924
  let u = options.readUnknownField;
5497
5925
  if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
@@ -5503,6 +5931,10 @@ var ResourceAPI_Tree_Response$Type = class extends _protobuf_ts_runtime.MessageT
5503
5931
  }
5504
5932
  internalBinaryWrite(message, writer, options) {
5505
5933
  if (message.resource) require_api_types.Resource.internalBinaryWrite(message.resource, writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
5934
+ for (let i = 0; i < message.kv.length; i++) ResourceAPI_Tree_KV.internalBinaryWrite(message.kv[i], writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
5935
+ if (message.traverseWasStopped !== false) writer.tag(3, _protobuf_ts_runtime.WireType.Varint).bool(message.traverseWasStopped);
5936
+ if (message.resourceId !== 0n) writer.tag(4, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
5937
+ if (message.resourceSignature.length) writer.tag(5, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
5506
5938
  let u = options.writeUnknownFields;
5507
5939
  if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
5508
5940
  return writer;
@@ -14144,6 +14576,13 @@ var MaintenanceAPI_Ping_Response$Type = class extends _protobuf_ts_runtime.Messa
14144
14576
  name: "arch",
14145
14577
  kind: "scalar",
14146
14578
  T: 9
14579
+ },
14580
+ {
14581
+ no: 9,
14582
+ name: "capabilities",
14583
+ kind: "scalar",
14584
+ repeat: 2,
14585
+ T: 9
14147
14586
  }
14148
14587
  ]);
14149
14588
  }
@@ -14156,6 +14595,7 @@ var MaintenanceAPI_Ping_Response$Type = class extends _protobuf_ts_runtime.Messa
14156
14595
  message.platform = "";
14157
14596
  message.os = "";
14158
14597
  message.arch = "";
14598
+ message.capabilities = [];
14159
14599
  if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
14160
14600
  return message;
14161
14601
  }
@@ -14185,6 +14625,9 @@ var MaintenanceAPI_Ping_Response$Type = class extends _protobuf_ts_runtime.Messa
14185
14625
  case 8:
14186
14626
  message.arch = reader.string();
14187
14627
  break;
14628
+ case 9:
14629
+ message.capabilities.push(reader.string());
14630
+ break;
14188
14631
  default:
14189
14632
  let u = options.readUnknownField;
14190
14633
  if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
@@ -14202,6 +14645,7 @@ var MaintenanceAPI_Ping_Response$Type = class extends _protobuf_ts_runtime.Messa
14202
14645
  if (message.platform !== "") writer.tag(6, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.platform);
14203
14646
  if (message.os !== "") writer.tag(7, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.os);
14204
14647
  if (message.arch !== "") writer.tag(8, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.arch);
14648
+ for (let i = 0; i < message.capabilities.length; i++) writer.tag(9, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.capabilities[i]);
14205
14649
  let u = options.writeUnknownFields;
14206
14650
  if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
14207
14651
  return writer;
@@ -14702,6 +15146,8 @@ const Platform = new _protobuf_ts_runtime_rpc.ServiceType("MiLaboratories.PL.API
14702
15146
  exports.AuthAPI_Role = AuthAPI_Role;
14703
15147
  exports.MaintenanceAPI_Ping_Response_Compression = MaintenanceAPI_Ping_Response_Compression;
14704
15148
  exports.Platform = Platform;
15149
+ exports.ResourceAPI_Tree_Filter_OperatorType = ResourceAPI_Tree_Filter_OperatorType;
15150
+ exports.ResourceAPI_Tree_Filter_Property = ResourceAPI_Tree_Filter_Property;
14705
15151
  exports.TxAPI_ClientMessage = TxAPI_ClientMessage;
14706
15152
  exports.TxAPI_Open_Request_WritableTx = TxAPI_Open_Request_WritableTx;
14707
15153
  exports.TxAPI_ServerMessage = TxAPI_ServerMessage;