@milaboratories/pl-client 3.11.5 → 3.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (206) hide show
  1. package/dist/core/PromiseTracker.cjs.map +1 -1
  2. package/dist/core/PromiseTracker.d.ts.map +1 -1
  3. package/dist/core/PromiseTracker.js.map +1 -1
  4. package/dist/core/StatefulPromise.cjs +2 -0
  5. package/dist/core/StatefulPromise.cjs.map +1 -1
  6. package/dist/core/StatefulPromise.js +2 -0
  7. package/dist/core/StatefulPromise.js.map +1 -1
  8. package/dist/core/abstract_stream.d.ts +1 -1
  9. package/dist/core/advisory_locks.cjs.map +1 -1
  10. package/dist/core/advisory_locks.js.map +1 -1
  11. package/dist/core/auth.cjs.map +1 -1
  12. package/dist/core/auth.d.ts.map +1 -1
  13. package/dist/core/auth.js.map +1 -1
  14. package/dist/core/cache.d.ts.map +1 -1
  15. package/dist/core/capabilities.cjs.map +1 -1
  16. package/dist/core/capabilities.d.ts +2 -3
  17. package/dist/core/capabilities.d.ts.map +1 -1
  18. package/dist/core/capabilities.js.map +1 -1
  19. package/dist/core/client.cjs +23 -6
  20. package/dist/core/client.cjs.map +1 -1
  21. package/dist/core/client.d.ts +14 -4
  22. package/dist/core/client.d.ts.map +1 -1
  23. package/dist/core/client.js +22 -5
  24. package/dist/core/client.js.map +1 -1
  25. package/dist/core/config.cjs.map +1 -1
  26. package/dist/core/config.d.ts.map +1 -1
  27. package/dist/core/config.js.map +1 -1
  28. package/dist/core/default_client.cjs +5 -5
  29. package/dist/core/default_client.cjs.map +1 -1
  30. package/dist/core/default_client.d.ts.map +1 -1
  31. package/dist/core/default_client.js.map +1 -1
  32. package/dist/core/driver.cjs.map +1 -1
  33. package/dist/core/driver.d.ts.map +1 -1
  34. package/dist/core/driver.js.map +1 -1
  35. package/dist/core/error_resource.cjs.map +1 -1
  36. package/dist/core/error_resource.js.map +1 -1
  37. package/dist/core/errors.cjs +11 -11
  38. package/dist/core/errors.cjs.map +1 -1
  39. package/dist/core/errors.d.ts.map +1 -1
  40. package/dist/core/errors.js +11 -10
  41. package/dist/core/errors.js.map +1 -1
  42. package/dist/core/final.cjs +6 -2
  43. package/dist/core/final.cjs.map +1 -1
  44. package/dist/core/final.d.ts.map +1 -1
  45. package/dist/core/final.js +4 -1
  46. package/dist/core/final.js.map +1 -1
  47. package/dist/core/ll_client.cjs +60 -16
  48. package/dist/core/ll_client.cjs.map +1 -1
  49. package/dist/core/ll_client.d.ts +23 -7
  50. package/dist/core/ll_client.d.ts.map +1 -1
  51. package/dist/core/ll_client.js +62 -17
  52. package/dist/core/ll_client.js.map +1 -1
  53. package/dist/core/ll_transaction.cjs +3 -1
  54. package/dist/core/ll_transaction.cjs.map +1 -1
  55. package/dist/core/ll_transaction.d.ts +1 -1
  56. package/dist/core/ll_transaction.d.ts.map +1 -1
  57. package/dist/core/ll_transaction.js +2 -1
  58. package/dist/core/ll_transaction.js.map +1 -1
  59. package/dist/core/stat.cjs.map +1 -1
  60. package/dist/core/stat.js.map +1 -1
  61. package/dist/core/transaction.cjs +91 -4
  62. package/dist/core/transaction.cjs.map +1 -1
  63. package/dist/core/transaction.d.ts +52 -2
  64. package/dist/core/transaction.d.ts.map +1 -1
  65. package/dist/core/transaction.js +90 -5
  66. package/dist/core/transaction.js.map +1 -1
  67. package/dist/core/tree_filter.cjs +73 -18
  68. package/dist/core/tree_filter.cjs.map +1 -1
  69. package/dist/core/tree_filter.d.ts +1 -1
  70. package/dist/core/tree_filter.d.ts.map +1 -1
  71. package/dist/core/tree_filter.js +72 -19
  72. package/dist/core/tree_filter.js.map +1 -1
  73. package/dist/core/type_conversion.cjs +19 -20
  74. package/dist/core/type_conversion.cjs.map +1 -1
  75. package/dist/core/type_conversion.js +19 -19
  76. package/dist/core/type_conversion.js.map +1 -1
  77. package/dist/core/types.cjs +2 -3
  78. package/dist/core/types.cjs.map +1 -1
  79. package/dist/core/types.d.ts.map +1 -1
  80. package/dist/core/types.js +2 -2
  81. package/dist/core/types.js.map +1 -1
  82. package/dist/core/unauth_client.cjs +7 -6
  83. package/dist/core/unauth_client.cjs.map +1 -1
  84. package/dist/core/unauth_client.d.ts +9 -0
  85. package/dist/core/unauth_client.d.ts.map +1 -1
  86. package/dist/core/unauth_client.js +7 -5
  87. package/dist/core/unauth_client.js.map +1 -1
  88. package/dist/core/user_resources.cjs +57 -1
  89. package/dist/core/user_resources.cjs.map +1 -1
  90. package/dist/core/user_resources.d.ts +55 -1
  91. package/dist/core/user_resources.d.ts.map +1 -1
  92. package/dist/core/user_resources.js +57 -0
  93. package/dist/core/user_resources.js.map +1 -1
  94. package/dist/core/websocket_stream.cjs +17 -20
  95. package/dist/core/websocket_stream.cjs.map +1 -1
  96. package/dist/core/websocket_stream.js +16 -19
  97. package/dist/core/websocket_stream.js.map +1 -1
  98. package/dist/core/wire.d.ts.map +1 -1
  99. package/dist/helpers/pl.cjs +25 -0
  100. package/dist/helpers/pl.cjs.map +1 -1
  101. package/dist/helpers/pl.d.ts +1 -1
  102. package/dist/helpers/pl.d.ts.map +1 -1
  103. package/dist/helpers/pl.js +1 -1
  104. package/dist/helpers/pl.js.map +1 -1
  105. package/dist/helpers/poll.cjs +5 -1
  106. package/dist/helpers/poll.cjs.map +1 -1
  107. package/dist/helpers/poll.d.ts.map +1 -1
  108. package/dist/helpers/poll.js +4 -0
  109. package/dist/helpers/poll.js.map +1 -1
  110. package/dist/helpers/retry_strategy.cjs +1 -0
  111. package/dist/helpers/retry_strategy.cjs.map +1 -1
  112. package/dist/helpers/retry_strategy.js +1 -1
  113. package/dist/helpers/retry_strategy.js.map +1 -1
  114. package/dist/helpers/tx_helpers.cjs +0 -1
  115. package/dist/helpers/tx_helpers.cjs.map +1 -1
  116. package/dist/helpers/tx_helpers.d.ts.map +1 -1
  117. package/dist/helpers/tx_helpers.js.map +1 -1
  118. package/dist/index.cjs +3 -1
  119. package/dist/index.d.ts +3 -3
  120. package/dist/index.js +2 -2
  121. package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.cjs +0 -1
  122. package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.cjs.map +1 -1
  123. package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.d.ts.map +1 -1
  124. package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.js.map +1 -1
  125. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.cjs +537 -83
  126. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.cjs.map +1 -1
  127. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs +11 -4
  128. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs.map +1 -1
  129. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +12 -6
  130. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +1 -1
  131. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.js +11 -3
  132. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.js.map +1 -1
  133. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +112 -7
  134. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -1
  135. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.js +336 -83
  136. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.js.map +1 -1
  137. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.cjs +23 -7
  138. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.cjs.map +1 -1
  139. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts +10 -3
  140. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts.map +1 -1
  141. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.js +18 -7
  142. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.js.map +1 -1
  143. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.cjs +1 -2
  144. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.cjs.map +1 -1
  145. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts.map +1 -1
  146. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.js +1 -1
  147. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.js.map +1 -1
  148. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.cjs +2 -2
  149. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.cjs.map +1 -1
  150. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts +1 -1
  151. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts.map +1 -1
  152. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.js +2 -2
  153. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.js.map +1 -1
  154. package/dist/proto-grpc/google/protobuf/any.cjs +1 -2
  155. package/dist/proto-grpc/google/protobuf/any.cjs.map +1 -1
  156. package/dist/proto-grpc/google/protobuf/any.d.ts.map +1 -1
  157. package/dist/proto-grpc/google/protobuf/any.js +1 -1
  158. package/dist/proto-grpc/google/protobuf/any.js.map +1 -1
  159. package/dist/proto-grpc/google/protobuf/duration.cjs +0 -1
  160. package/dist/proto-grpc/google/protobuf/duration.cjs.map +1 -1
  161. package/dist/proto-grpc/google/protobuf/duration.d.ts.map +1 -1
  162. package/dist/proto-grpc/google/protobuf/duration.js.map +1 -1
  163. package/dist/proto-grpc/google/protobuf/timestamp.cjs +0 -1
  164. package/dist/proto-grpc/google/protobuf/timestamp.cjs.map +1 -1
  165. package/dist/proto-grpc/google/protobuf/timestamp.d.ts.map +1 -1
  166. package/dist/proto-grpc/google/protobuf/timestamp.js.map +1 -1
  167. package/dist/proto-grpc/google/rpc/code.d.ts.map +1 -1
  168. package/dist/proto-rest/index.cjs +1 -1
  169. package/dist/proto-rest/index.cjs.map +1 -1
  170. package/dist/proto-rest/index.d.ts +1 -1
  171. package/dist/proto-rest/index.d.ts.map +1 -1
  172. package/dist/proto-rest/index.js.map +1 -1
  173. package/dist/proto-rest/plapi.d.ts +30 -9
  174. package/dist/proto-rest/plapi.d.ts.map +1 -1
  175. package/dist/test/tcp-proxy.cjs +2 -2
  176. package/dist/test/tcp-proxy.cjs.map +1 -1
  177. package/dist/test/tcp-proxy.d.ts +1 -1
  178. package/dist/test/tcp-proxy.js.map +1 -1
  179. package/dist/test/test_config.cjs +8 -2
  180. package/dist/test/test_config.cjs.map +1 -1
  181. package/dist/test/test_config.d.ts +1 -1
  182. package/dist/test/test_config.d.ts.map +1 -1
  183. package/dist/test/test_config.js +1 -1
  184. package/dist/test/test_config.js.map +1 -1
  185. package/dist/util/pl.cjs.map +1 -1
  186. package/dist/util/pl.js.map +1 -1
  187. package/dist/util/util.cjs.map +1 -1
  188. package/dist/util/util.js.map +1 -1
  189. package/package.json +4 -4
  190. package/src/core/capabilities.ts +10 -3
  191. package/src/core/client.ts +30 -3
  192. package/src/core/errors.ts +2 -0
  193. package/src/core/final.ts +4 -0
  194. package/src/core/ll_client.test.ts +15 -2
  195. package/src/core/ll_client.ts +66 -11
  196. package/src/core/transaction.ts +103 -3
  197. package/src/core/unauth_client.ts +17 -2
  198. package/src/core/user_resources.ts +85 -0
  199. package/src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +16 -3
  200. package/src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.ts +335 -12
  201. package/src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.ts +21 -7
  202. package/src/proto-rest/plapi.ts +29 -8
  203. package/dist/proto-grpc/google/rpc/code.cjs +0 -224
  204. package/dist/proto-grpc/google/rpc/code.cjs.map +0 -1
  205. package/dist/proto-grpc/google/rpc/code.js +0 -224
  206. package/dist/proto-grpc/google/rpc/code.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"api.client.js","names":[],"sources":["../../../../../../../src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.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/milaboratory/pl/plapi/plapiproto/api.proto\" (package \"MiLaboratories.PL.API\", syntax proto3)\n// tslint:disable\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { Platform } from \"./api\";\nimport type { MaintenanceAPI_License_Response } from \"./api\";\nimport type { MaintenanceAPI_License_Request } from \"./api\";\nimport type { MaintenanceAPI_Ping_Response } from \"./api\";\nimport type { MaintenanceAPI_Ping_Request } from \"./api\";\nimport type { MiscAPI_ListResourceTypes_Response } from \"./api\";\nimport type { MiscAPI_ListResourceTypes_Request } from \"./api\";\nimport type { AuthAPI_ListUserResources_Response } from \"./api\";\nimport type { AuthAPI_ListUserResources_Request } from \"./api\";\nimport type { AuthAPI_GetUserRoot_Response } from \"./api\";\nimport type { AuthAPI_GetUserRoot_Request } from \"./api\";\nimport type { AuthAPI_MintSignature_Response } from \"./api\";\nimport type { AuthAPI_MintSignature_Request } from \"./api\";\nimport type { AuthAPI_ListGrants_Response } from \"./api\";\nimport type { AuthAPI_ListGrants_Request } from \"./api\";\nimport type { ServerStreamingCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { AuthAPI_RevokeAccess_Response } from \"./api\";\nimport type { AuthAPI_RevokeAccess_Request } from \"./api\";\nimport type { AuthAPI_GrantAccess_Response } from \"./api\";\nimport type { AuthAPI_GrantAccess_Request } from \"./api\";\nimport type { AuthAPI_GetSessionInfo_Response } from \"./api\";\nimport type { AuthAPI_GetSessionInfo_Request } from \"./api\";\nimport type { AuthAPI_RefreshToken_Response } from \"./api\";\nimport type { AuthAPI_RefreshToken_Request } from \"./api\";\nimport type { AuthAPI_BeginSSOLogin_Response } from \"./api\";\nimport type { AuthAPI_BeginSSOLogin_Request } from \"./api\";\nimport type { AuthAPI_Login_Response } from \"./api\";\nimport type { AuthAPI_Login_Request } from \"./api\";\nimport type { AuthAPI_GetJWTToken_Response } from \"./api\";\nimport type { AuthAPI_GetJWTToken_Request } from \"./api\";\nimport type { AuthAPI_ListMethods_Response } from \"./api\";\nimport type { AuthAPI_ListMethods_Request } from \"./api\";\nimport type { LocksAPI_Lease_Release_Response } from \"./api\";\nimport type { LocksAPI_Lease_Release_Request } from \"./api\";\nimport type { LocksAPI_Lease_Update_Response } from \"./api\";\nimport type { LocksAPI_Lease_Update_Request } from \"./api\";\nimport type { LocksAPI_Lease_Create_Response } from \"./api\";\nimport type { LocksAPI_Lease_Create_Request } from \"./api\";\nimport type { LocksAPI_LockFieldValues_Create_Response } from \"./api\";\nimport type { LocksAPI_LockFieldValues_Create_Request } from \"./api\";\nimport type { ControllerAPI_ClearFeatures_Response } from \"./api\";\nimport type { ControllerAPI_ClearFeatures_Request } from \"./api\";\nimport type { ControllerAPI_SetFeatures_Response } from \"./api\";\nimport type { ControllerAPI_SetFeatures_Request } from \"./api\";\nimport type { ControllerAPI_GetUrl_Response } from \"./api\";\nimport type { ControllerAPI_GetUrl_Request } from \"./api\";\nimport type { ControllerAPI_RemoveAliasesAndUrls_Response } from \"./api\";\nimport type { ControllerAPI_RemoveAliasesAndUrls_Request } from \"./api\";\nimport type { ControllerAPI_WriteAliasesAndUrls_Response } from \"./api\";\nimport type { ControllerAPI_WriteAliasesAndUrls_Request } from \"./api\";\nimport type { ControllerAPI_GetNotifications_Response } from \"./api\";\nimport type { ControllerAPI_GetNotifications_Request } from \"./api\";\nimport type { ControllerAPI_AttachSubscription_Response } from \"./api\";\nimport type { ControllerAPI_AttachSubscription_Request } from \"./api\";\nimport type { ControllerAPI_Update_Response } from \"./api\";\nimport type { ControllerAPI_Update_Request } from \"./api\";\nimport type { ControllerAPI_Get_Response } from \"./api\";\nimport type { ControllerAPI_Get_Request } from \"./api\";\nimport type { ControllerAPI_Exists_Response } from \"./api\";\nimport type { ControllerAPI_Exists_Request } from \"./api\";\nimport type { ControllerAPI_Create_Response } from \"./api\";\nimport type { ControllerAPI_Create_Request } from \"./api\";\nimport type { ControllerAPI_Deregister_Response } from \"./api\";\nimport type { ControllerAPI_Deregister_Request } from \"./api\";\nimport type { ControllerAPI_Register_Response } from \"./api\";\nimport type { ControllerAPI_Register_Request } from \"./api\";\nimport type { NotificationAPI_Get_Response } from \"./api\";\nimport type { NotificationAPI_Get_Request } from \"./api\";\nimport type { SubscriptionAPI_DetachFilter_Response } from \"./api\";\nimport type { SubscriptionAPI_DetachFilter_Request } from \"./api\";\nimport type { SubscriptionAPI_AttachFilter_Response } from \"./api\";\nimport type { SubscriptionAPI_AttachFilter_Request } from \"./api\";\nimport type { TxAPI_Sync_Response } from \"./api\";\nimport type { TxAPI_Sync_Request } from \"./api\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { TxAPI_ServerMessage } from \"./api\";\nimport type { TxAPI_ClientMessage } from \"./api\";\nimport type { DuplexStreamingCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n * @generated from protobuf service MiLaboratories.PL.API.Platform\n */\nexport interface IPlatformClient {\n /**\n *\n * Transactions\n *\n *\n * @generated from protobuf rpc: Tx\n */\n tx(options?: RpcOptions): DuplexStreamingCall<TxAPI_ClientMessage, TxAPI_ServerMessage>;\n /**\n * @generated from protobuf rpc: TxSync\n */\n txSync(input: TxAPI_Sync_Request, options?: RpcOptions): UnaryCall<TxAPI_Sync_Request, TxAPI_Sync_Response>;\n /**\n *\n * Subscriptions\n *\n *\n * @generated from protobuf rpc: SubscriptionAttachFilter\n */\n subscriptionAttachFilter(input: SubscriptionAPI_AttachFilter_Request, options?: RpcOptions): UnaryCall<SubscriptionAPI_AttachFilter_Request, SubscriptionAPI_AttachFilter_Response>;\n /**\n * @generated from protobuf rpc: SubscriptionDetachFilter\n */\n subscriptionDetachFilter(input: SubscriptionAPI_DetachFilter_Request, options?: RpcOptions): UnaryCall<SubscriptionAPI_DetachFilter_Request, SubscriptionAPI_DetachFilter_Response>;\n /**\n * @generated from protobuf rpc: NotificationsGet\n */\n notificationsGet(input: NotificationAPI_Get_Request, options?: RpcOptions): UnaryCall<NotificationAPI_Get_Request, NotificationAPI_Get_Response>;\n /**\n *\n * Controllers\n *\n *\n * @generated from protobuf rpc: ControllerRegister\n */\n controllerRegister(input: ControllerAPI_Register_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Register_Request, ControllerAPI_Register_Response>;\n /**\n * @generated from protobuf rpc: ControllerDeregister\n */\n controllerDeregister(input: ControllerAPI_Deregister_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Deregister_Request, ControllerAPI_Deregister_Response>;\n /**\n * @generated from protobuf rpc: ControllerCreate\n */\n controllerCreate(input: ControllerAPI_Create_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Create_Request, ControllerAPI_Create_Response>;\n /**\n * @generated from protobuf rpc: ControllerExists\n */\n controllerExists(input: ControllerAPI_Exists_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Exists_Request, ControllerAPI_Exists_Response>;\n /**\n * @generated from protobuf rpc: ControllerGet\n */\n controllerGet(input: ControllerAPI_Get_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Get_Request, ControllerAPI_Get_Response>;\n /**\n * @generated from protobuf rpc: ControllerUpdate\n */\n controllerUpdate(input: ControllerAPI_Update_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Update_Request, ControllerAPI_Update_Response>;\n /**\n * @generated from protobuf rpc: ControllerAttachSubscription\n */\n controllerAttachSubscription(input: ControllerAPI_AttachSubscription_Request, options?: RpcOptions): UnaryCall<ControllerAPI_AttachSubscription_Request, ControllerAPI_AttachSubscription_Response>;\n /**\n * @generated from protobuf rpc: GetControllerNotifications\n */\n getControllerNotifications(input: ControllerAPI_GetNotifications_Request, options?: RpcOptions): UnaryCall<ControllerAPI_GetNotifications_Request, ControllerAPI_GetNotifications_Response>;\n /**\n * @generated from protobuf rpc: WriteControllerAliasesAndUrls\n */\n writeControllerAliasesAndUrls(input: ControllerAPI_WriteAliasesAndUrls_Request, options?: RpcOptions): UnaryCall<ControllerAPI_WriteAliasesAndUrls_Request, ControllerAPI_WriteAliasesAndUrls_Response>;\n /**\n * @generated from protobuf rpc: RemoveControllerAliasesAndUrls\n */\n removeControllerAliasesAndUrls(input: ControllerAPI_RemoveAliasesAndUrls_Request, options?: RpcOptions): UnaryCall<ControllerAPI_RemoveAliasesAndUrls_Request, ControllerAPI_RemoveAliasesAndUrls_Response>;\n /**\n * @generated from protobuf rpc: GetControllerUrl\n */\n getControllerUrl(input: ControllerAPI_GetUrl_Request, options?: RpcOptions): UnaryCall<ControllerAPI_GetUrl_Request, ControllerAPI_GetUrl_Response>;\n /**\n * @generated from protobuf rpc: ControllerSetFeatures\n */\n controllerSetFeatures(input: ControllerAPI_SetFeatures_Request, options?: RpcOptions): UnaryCall<ControllerAPI_SetFeatures_Request, ControllerAPI_SetFeatures_Response>;\n /**\n * @generated from protobuf rpc: ControllerClearFeatures\n */\n controllerClearFeatures(input: ControllerAPI_ClearFeatures_Request, options?: RpcOptions): UnaryCall<ControllerAPI_ClearFeatures_Request, ControllerAPI_ClearFeatures_Response>;\n // \n // Locks\n // \n\n /**\n * LockFieldValues gets the resource and obtains a lock on all resolved values of listed fields:\n * - get the resource that will take the lock ('FOR' resource) (lock cannot be obtained 'FOR' or 'ON' deleted resource)\n * - list resource's fields, take fields with names set in request\n * - get resolved values of listed fields (IDs of 'ON' resources).\n * - acquire lock on all 'ON' resources, marking 'FOR' resource as an owner.\n *\n * Lock logic constraints:\n * - Locking is optimistic: if two processes try to obtain a lock on the same resource, one of them\n * succeeds, while the other fails with an error (no long waiting)\n * - Only resolved reference can be locked: to obtain a lock for a particular field's value, the backend needs to know\n * the resource ID this field points to. Unless all listed field references are resolved to a final ID, the lock will fail.\n * - Only an original resource can be locked: if a resource is 'pure' (supports deduplication), it has to pass deduplication before\n * being lockable. An attempt to lock a resource that has not become original will fail.\n * - Locking is a one-way operation: it cannot be 'released' or 'revoked'.\n *\n * @generated from protobuf rpc: LockFieldValues\n */\n lockFieldValues(input: LocksAPI_LockFieldValues_Create_Request, options?: RpcOptions): UnaryCall<LocksAPI_LockFieldValues_Create_Request, LocksAPI_LockFieldValues_Create_Response>;\n /**\n * LeaseResource creates a lease for a resource. A lease is a temporary lock that needs periodic renewal to stay valid.\n * Leases are a separate mechanism from locks: leases are focused on 'clients', while locks are focused on 'resources'.\n * To keep the lease active, the client needs the lease ID that is generated when a lease is created and used for lease updates.\n *\n * @generated from protobuf rpc: LeaseResource\n */\n leaseResource(input: LocksAPI_Lease_Create_Request, options?: RpcOptions): UnaryCall<LocksAPI_Lease_Create_Request, LocksAPI_Lease_Create_Response>;\n /**\n * @generated from protobuf rpc: UpdateLease\n */\n updateLease(input: LocksAPI_Lease_Update_Request, options?: RpcOptions): UnaryCall<LocksAPI_Lease_Update_Request, LocksAPI_Lease_Update_Response>;\n /**\n * @generated from protobuf rpc: ReleaseLease\n */\n releaseLease(input: LocksAPI_Lease_Release_Request, options?: RpcOptions): UnaryCall<LocksAPI_Lease_Release_Request, LocksAPI_Lease_Release_Response>;\n /**\n *\n * Authentication\n *\n *\n * @generated from protobuf rpc: AuthMethods\n */\n authMethods(input: AuthAPI_ListMethods_Request, options?: RpcOptions): UnaryCall<AuthAPI_ListMethods_Request, AuthAPI_ListMethods_Response>;\n /**\n * Deprecated: Use Login for session creation and role transitions,\n * and RefreshToken for token renewal. Backends implementing this API always return\n * codes.Unimplemented. Kept here so clients can still call old backends.\n *\n * @deprecated\n * @generated from protobuf rpc: GetJWTToken\n */\n getJWTToken(input: AuthAPI_GetJWTToken_Request, options?: RpcOptions): UnaryCall<AuthAPI_GetJWTToken_Request, AuthAPI_GetJWTToken_Response>;\n /**\n * Login authenticates with the given credentials and returns a new Platforma JWT.\n * Every Login call creates a new session. Use RefreshToken to renew an existing one.\n * This method is public: no Authorization header is required.\n *\n * @generated from protobuf rpc: Login\n */\n login(input: AuthAPI_Login_Request, options?: RpcOptions): UnaryCall<AuthAPI_Login_Request, AuthAPI_Login_Response>;\n /**\n * BeginSSOLogin returns a fresh one-time nonce that the desktop must place\n * into the OIDC auth-request before redirecting to the IdP. Used by the SSO\n * login flow. This method is public: no Authorization header is required.\n *\n * @generated from protobuf rpc: BeginSSOLogin\n */\n beginSSOLogin(input: AuthAPI_BeginSSOLogin_Request, options?: RpcOptions): UnaryCall<AuthAPI_BeginSSOLogin_Request, AuthAPI_BeginSSOLogin_Response>;\n /**\n * RefreshToken accepts a valid Platforma JWT and re-issues it with the same\n * session ID and role. Only the token expiration may be changed.\n * Workflow-scoped tokens cannot be refreshed; call Login instead.\n * This method is public: no Authorization header is required.\n *\n * @generated from protobuf rpc: RefreshToken\n */\n refreshToken(input: AuthAPI_RefreshToken_Request, options?: RpcOptions): UnaryCall<AuthAPI_RefreshToken_Request, AuthAPI_RefreshToken_Response>;\n /**\n * @generated from protobuf rpc: GetSessionInfo\n */\n getSessionInfo(input: AuthAPI_GetSessionInfo_Request, options?: RpcOptions): UnaryCall<AuthAPI_GetSessionInfo_Request, AuthAPI_GetSessionInfo_Response>;\n /**\n * @generated from protobuf rpc: GrantAccess\n */\n grantAccess(input: AuthAPI_GrantAccess_Request, options?: RpcOptions): UnaryCall<AuthAPI_GrantAccess_Request, AuthAPI_GrantAccess_Response>;\n /**\n * @generated from protobuf rpc: RevokeAccess\n */\n revokeAccess(input: AuthAPI_RevokeAccess_Request, options?: RpcOptions): UnaryCall<AuthAPI_RevokeAccess_Request, AuthAPI_RevokeAccess_Response>;\n /**\n * @generated from protobuf rpc: ListGrants\n */\n listGrants(input: AuthAPI_ListGrants_Request, options?: RpcOptions): ServerStreamingCall<AuthAPI_ListGrants_Request, AuthAPI_ListGrants_Response>;\n /**\n * MintSignature creates a resource signature bound to a target session.\n * Controllers use it during workflow bootstrap to pre-sign resources\n * so the workflow can access them under its own isolated session.\n *\n * @generated from protobuf rpc: MintSignature\n */\n mintSignature(input: AuthAPI_MintSignature_Request, options?: RpcOptions): UnaryCall<AuthAPI_MintSignature_Request, AuthAPI_MintSignature_Response>;\n /**\n * @generated from protobuf rpc: GetUserRoot\n */\n getUserRoot(input: AuthAPI_GetUserRoot_Request, options?: RpcOptions): UnaryCall<AuthAPI_GetUserRoot_Request, AuthAPI_GetUserRoot_Response>;\n /**\n * @generated from protobuf rpc: ListUserResources\n */\n listUserResources(input: AuthAPI_ListUserResources_Request, options?: RpcOptions): ServerStreamingCall<AuthAPI_ListUserResources_Request, AuthAPI_ListUserResources_Response>;\n /**\n *\n * Other stuff\n *\n *\n * @generated from protobuf rpc: ListResourceTypes\n */\n listResourceTypes(input: MiscAPI_ListResourceTypes_Request, options?: RpcOptions): UnaryCall<MiscAPI_ListResourceTypes_Request, MiscAPI_ListResourceTypes_Response>;\n /**\n *\n * Various service requests\n *\n *\n * @generated from protobuf rpc: Ping\n */\n ping(input: MaintenanceAPI_Ping_Request, options?: RpcOptions): UnaryCall<MaintenanceAPI_Ping_Request, MaintenanceAPI_Ping_Response>;\n /**\n * @generated from protobuf rpc: License\n */\n license(input: MaintenanceAPI_License_Request, options?: RpcOptions): UnaryCall<MaintenanceAPI_License_Request, MaintenanceAPI_License_Response>;\n}\n/**\n * @generated from protobuf service MiLaboratories.PL.API.Platform\n */\nexport class PlatformClient implements IPlatformClient, ServiceInfo {\n typeName = Platform.typeName;\n methods = Platform.methods;\n options = Platform.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n *\n * Transactions\n *\n *\n * @generated from protobuf rpc: Tx\n */\n tx(options?: RpcOptions): DuplexStreamingCall<TxAPI_ClientMessage, TxAPI_ServerMessage> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<TxAPI_ClientMessage, TxAPI_ServerMessage>(\"duplex\", this._transport, method, opt);\n }\n /**\n * @generated from protobuf rpc: TxSync\n */\n txSync(input: TxAPI_Sync_Request, options?: RpcOptions): UnaryCall<TxAPI_Sync_Request, TxAPI_Sync_Response> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<TxAPI_Sync_Request, TxAPI_Sync_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n *\n * Subscriptions\n *\n *\n * @generated from protobuf rpc: SubscriptionAttachFilter\n */\n subscriptionAttachFilter(input: SubscriptionAPI_AttachFilter_Request, options?: RpcOptions): UnaryCall<SubscriptionAPI_AttachFilter_Request, SubscriptionAPI_AttachFilter_Response> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<SubscriptionAPI_AttachFilter_Request, SubscriptionAPI_AttachFilter_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: SubscriptionDetachFilter\n */\n subscriptionDetachFilter(input: SubscriptionAPI_DetachFilter_Request, options?: RpcOptions): UnaryCall<SubscriptionAPI_DetachFilter_Request, SubscriptionAPI_DetachFilter_Response> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<SubscriptionAPI_DetachFilter_Request, SubscriptionAPI_DetachFilter_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: NotificationsGet\n */\n notificationsGet(input: NotificationAPI_Get_Request, options?: RpcOptions): UnaryCall<NotificationAPI_Get_Request, NotificationAPI_Get_Response> {\n const method = this.methods[4], opt = this._transport.mergeOptions(options);\n return stackIntercept<NotificationAPI_Get_Request, NotificationAPI_Get_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n *\n * Controllers\n *\n *\n * @generated from protobuf rpc: ControllerRegister\n */\n controllerRegister(input: ControllerAPI_Register_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Register_Request, ControllerAPI_Register_Response> {\n const method = this.methods[5], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_Register_Request, ControllerAPI_Register_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ControllerDeregister\n */\n controllerDeregister(input: ControllerAPI_Deregister_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Deregister_Request, ControllerAPI_Deregister_Response> {\n const method = this.methods[6], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_Deregister_Request, ControllerAPI_Deregister_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ControllerCreate\n */\n controllerCreate(input: ControllerAPI_Create_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Create_Request, ControllerAPI_Create_Response> {\n const method = this.methods[7], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_Create_Request, ControllerAPI_Create_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ControllerExists\n */\n controllerExists(input: ControllerAPI_Exists_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Exists_Request, ControllerAPI_Exists_Response> {\n const method = this.methods[8], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_Exists_Request, ControllerAPI_Exists_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ControllerGet\n */\n controllerGet(input: ControllerAPI_Get_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Get_Request, ControllerAPI_Get_Response> {\n const method = this.methods[9], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_Get_Request, ControllerAPI_Get_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ControllerUpdate\n */\n controllerUpdate(input: ControllerAPI_Update_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Update_Request, ControllerAPI_Update_Response> {\n const method = this.methods[10], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_Update_Request, ControllerAPI_Update_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ControllerAttachSubscription\n */\n controllerAttachSubscription(input: ControllerAPI_AttachSubscription_Request, options?: RpcOptions): UnaryCall<ControllerAPI_AttachSubscription_Request, ControllerAPI_AttachSubscription_Response> {\n const method = this.methods[11], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_AttachSubscription_Request, ControllerAPI_AttachSubscription_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetControllerNotifications\n */\n getControllerNotifications(input: ControllerAPI_GetNotifications_Request, options?: RpcOptions): UnaryCall<ControllerAPI_GetNotifications_Request, ControllerAPI_GetNotifications_Response> {\n const method = this.methods[12], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_GetNotifications_Request, ControllerAPI_GetNotifications_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: WriteControllerAliasesAndUrls\n */\n writeControllerAliasesAndUrls(input: ControllerAPI_WriteAliasesAndUrls_Request, options?: RpcOptions): UnaryCall<ControllerAPI_WriteAliasesAndUrls_Request, ControllerAPI_WriteAliasesAndUrls_Response> {\n const method = this.methods[13], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_WriteAliasesAndUrls_Request, ControllerAPI_WriteAliasesAndUrls_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: RemoveControllerAliasesAndUrls\n */\n removeControllerAliasesAndUrls(input: ControllerAPI_RemoveAliasesAndUrls_Request, options?: RpcOptions): UnaryCall<ControllerAPI_RemoveAliasesAndUrls_Request, ControllerAPI_RemoveAliasesAndUrls_Response> {\n const method = this.methods[14], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_RemoveAliasesAndUrls_Request, ControllerAPI_RemoveAliasesAndUrls_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetControllerUrl\n */\n getControllerUrl(input: ControllerAPI_GetUrl_Request, options?: RpcOptions): UnaryCall<ControllerAPI_GetUrl_Request, ControllerAPI_GetUrl_Response> {\n const method = this.methods[15], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_GetUrl_Request, ControllerAPI_GetUrl_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ControllerSetFeatures\n */\n controllerSetFeatures(input: ControllerAPI_SetFeatures_Request, options?: RpcOptions): UnaryCall<ControllerAPI_SetFeatures_Request, ControllerAPI_SetFeatures_Response> {\n const method = this.methods[16], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_SetFeatures_Request, ControllerAPI_SetFeatures_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ControllerClearFeatures\n */\n controllerClearFeatures(input: ControllerAPI_ClearFeatures_Request, options?: RpcOptions): UnaryCall<ControllerAPI_ClearFeatures_Request, ControllerAPI_ClearFeatures_Response> {\n const method = this.methods[17], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_ClearFeatures_Request, ControllerAPI_ClearFeatures_Response>(\"unary\", this._transport, method, opt, input);\n }\n // \n // Locks\n // \n\n /**\n * LockFieldValues gets the resource and obtains a lock on all resolved values of listed fields:\n * - get the resource that will take the lock ('FOR' resource) (lock cannot be obtained 'FOR' or 'ON' deleted resource)\n * - list resource's fields, take fields with names set in request\n * - get resolved values of listed fields (IDs of 'ON' resources).\n * - acquire lock on all 'ON' resources, marking 'FOR' resource as an owner.\n *\n * Lock logic constraints:\n * - Locking is optimistic: if two processes try to obtain a lock on the same resource, one of them\n * succeeds, while the other fails with an error (no long waiting)\n * - Only resolved reference can be locked: to obtain a lock for a particular field's value, the backend needs to know\n * the resource ID this field points to. Unless all listed field references are resolved to a final ID, the lock will fail.\n * - Only an original resource can be locked: if a resource is 'pure' (supports deduplication), it has to pass deduplication before\n * being lockable. An attempt to lock a resource that has not become original will fail.\n * - Locking is a one-way operation: it cannot be 'released' or 'revoked'.\n *\n * @generated from protobuf rpc: LockFieldValues\n */\n lockFieldValues(input: LocksAPI_LockFieldValues_Create_Request, options?: RpcOptions): UnaryCall<LocksAPI_LockFieldValues_Create_Request, LocksAPI_LockFieldValues_Create_Response> {\n const method = this.methods[18], opt = this._transport.mergeOptions(options);\n return stackIntercept<LocksAPI_LockFieldValues_Create_Request, LocksAPI_LockFieldValues_Create_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * LeaseResource creates a lease for a resource. A lease is a temporary lock that needs periodic renewal to stay valid.\n * Leases are a separate mechanism from locks: leases are focused on 'clients', while locks are focused on 'resources'.\n * To keep the lease active, the client needs the lease ID that is generated when a lease is created and used for lease updates.\n *\n * @generated from protobuf rpc: LeaseResource\n */\n leaseResource(input: LocksAPI_Lease_Create_Request, options?: RpcOptions): UnaryCall<LocksAPI_Lease_Create_Request, LocksAPI_Lease_Create_Response> {\n const method = this.methods[19], opt = this._transport.mergeOptions(options);\n return stackIntercept<LocksAPI_Lease_Create_Request, LocksAPI_Lease_Create_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: UpdateLease\n */\n updateLease(input: LocksAPI_Lease_Update_Request, options?: RpcOptions): UnaryCall<LocksAPI_Lease_Update_Request, LocksAPI_Lease_Update_Response> {\n const method = this.methods[20], opt = this._transport.mergeOptions(options);\n return stackIntercept<LocksAPI_Lease_Update_Request, LocksAPI_Lease_Update_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ReleaseLease\n */\n releaseLease(input: LocksAPI_Lease_Release_Request, options?: RpcOptions): UnaryCall<LocksAPI_Lease_Release_Request, LocksAPI_Lease_Release_Response> {\n const method = this.methods[21], opt = this._transport.mergeOptions(options);\n return stackIntercept<LocksAPI_Lease_Release_Request, LocksAPI_Lease_Release_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n *\n * Authentication\n *\n *\n * @generated from protobuf rpc: AuthMethods\n */\n authMethods(input: AuthAPI_ListMethods_Request, options?: RpcOptions): UnaryCall<AuthAPI_ListMethods_Request, AuthAPI_ListMethods_Response> {\n const method = this.methods[22], opt = this._transport.mergeOptions(options);\n return stackIntercept<AuthAPI_ListMethods_Request, AuthAPI_ListMethods_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Deprecated: Use Login for session creation and role transitions,\n * and RefreshToken for token renewal. Backends implementing this API always return\n * codes.Unimplemented. Kept here so clients can still call old backends.\n *\n * @deprecated\n * @generated from protobuf rpc: GetJWTToken\n */\n getJWTToken(input: AuthAPI_GetJWTToken_Request, options?: RpcOptions): UnaryCall<AuthAPI_GetJWTToken_Request, AuthAPI_GetJWTToken_Response> {\n const method = this.methods[23], opt = this._transport.mergeOptions(options);\n return stackIntercept<AuthAPI_GetJWTToken_Request, AuthAPI_GetJWTToken_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Login authenticates with the given credentials and returns a new Platforma JWT.\n * Every Login call creates a new session. Use RefreshToken to renew an existing one.\n * This method is public: no Authorization header is required.\n *\n * @generated from protobuf rpc: Login\n */\n login(input: AuthAPI_Login_Request, options?: RpcOptions): UnaryCall<AuthAPI_Login_Request, AuthAPI_Login_Response> {\n const method = this.methods[24], opt = this._transport.mergeOptions(options);\n return stackIntercept<AuthAPI_Login_Request, AuthAPI_Login_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * BeginSSOLogin returns a fresh one-time nonce that the desktop must place\n * into the OIDC auth-request before redirecting to the IdP. Used by the SSO\n * login flow. This method is public: no Authorization header is required.\n *\n * @generated from protobuf rpc: BeginSSOLogin\n */\n beginSSOLogin(input: AuthAPI_BeginSSOLogin_Request, options?: RpcOptions): UnaryCall<AuthAPI_BeginSSOLogin_Request, AuthAPI_BeginSSOLogin_Response> {\n const method = this.methods[25], opt = this._transport.mergeOptions(options);\n return stackIntercept<AuthAPI_BeginSSOLogin_Request, AuthAPI_BeginSSOLogin_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * RefreshToken accepts a valid Platforma JWT and re-issues it with the same\n * session ID and role. Only the token expiration may be changed.\n * Workflow-scoped tokens cannot be refreshed; call Login instead.\n * This method is public: no Authorization header is required.\n *\n * @generated from protobuf rpc: RefreshToken\n */\n refreshToken(input: AuthAPI_RefreshToken_Request, options?: RpcOptions): UnaryCall<AuthAPI_RefreshToken_Request, AuthAPI_RefreshToken_Response> {\n const method = this.methods[26], opt = this._transport.mergeOptions(options);\n return stackIntercept<AuthAPI_RefreshToken_Request, AuthAPI_RefreshToken_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetSessionInfo\n */\n getSessionInfo(input: AuthAPI_GetSessionInfo_Request, options?: RpcOptions): UnaryCall<AuthAPI_GetSessionInfo_Request, AuthAPI_GetSessionInfo_Response> {\n const method = this.methods[27], opt = this._transport.mergeOptions(options);\n return stackIntercept<AuthAPI_GetSessionInfo_Request, AuthAPI_GetSessionInfo_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GrantAccess\n */\n grantAccess(input: AuthAPI_GrantAccess_Request, options?: RpcOptions): UnaryCall<AuthAPI_GrantAccess_Request, AuthAPI_GrantAccess_Response> {\n const method = this.methods[28], opt = this._transport.mergeOptions(options);\n return stackIntercept<AuthAPI_GrantAccess_Request, AuthAPI_GrantAccess_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: RevokeAccess\n */\n revokeAccess(input: AuthAPI_RevokeAccess_Request, options?: RpcOptions): UnaryCall<AuthAPI_RevokeAccess_Request, AuthAPI_RevokeAccess_Response> {\n const method = this.methods[29], opt = this._transport.mergeOptions(options);\n return stackIntercept<AuthAPI_RevokeAccess_Request, AuthAPI_RevokeAccess_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ListGrants\n */\n listGrants(input: AuthAPI_ListGrants_Request, options?: RpcOptions): ServerStreamingCall<AuthAPI_ListGrants_Request, AuthAPI_ListGrants_Response> {\n const method = this.methods[30], opt = this._transport.mergeOptions(options);\n return stackIntercept<AuthAPI_ListGrants_Request, AuthAPI_ListGrants_Response>(\"serverStreaming\", this._transport, method, opt, input);\n }\n /**\n * MintSignature creates a resource signature bound to a target session.\n * Controllers use it during workflow bootstrap to pre-sign resources\n * so the workflow can access them under its own isolated session.\n *\n * @generated from protobuf rpc: MintSignature\n */\n mintSignature(input: AuthAPI_MintSignature_Request, options?: RpcOptions): UnaryCall<AuthAPI_MintSignature_Request, AuthAPI_MintSignature_Response> {\n const method = this.methods[31], opt = this._transport.mergeOptions(options);\n return stackIntercept<AuthAPI_MintSignature_Request, AuthAPI_MintSignature_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetUserRoot\n */\n getUserRoot(input: AuthAPI_GetUserRoot_Request, options?: RpcOptions): UnaryCall<AuthAPI_GetUserRoot_Request, AuthAPI_GetUserRoot_Response> {\n const method = this.methods[32], opt = this._transport.mergeOptions(options);\n return stackIntercept<AuthAPI_GetUserRoot_Request, AuthAPI_GetUserRoot_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ListUserResources\n */\n listUserResources(input: AuthAPI_ListUserResources_Request, options?: RpcOptions): ServerStreamingCall<AuthAPI_ListUserResources_Request, AuthAPI_ListUserResources_Response> {\n const method = this.methods[33], opt = this._transport.mergeOptions(options);\n return stackIntercept<AuthAPI_ListUserResources_Request, AuthAPI_ListUserResources_Response>(\"serverStreaming\", this._transport, method, opt, input);\n }\n /**\n *\n * Other stuff\n *\n *\n * @generated from protobuf rpc: ListResourceTypes\n */\n listResourceTypes(input: MiscAPI_ListResourceTypes_Request, options?: RpcOptions): UnaryCall<MiscAPI_ListResourceTypes_Request, MiscAPI_ListResourceTypes_Response> {\n const method = this.methods[34], opt = this._transport.mergeOptions(options);\n return stackIntercept<MiscAPI_ListResourceTypes_Request, MiscAPI_ListResourceTypes_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n *\n * Various service requests\n *\n *\n * @generated from protobuf rpc: Ping\n */\n ping(input: MaintenanceAPI_Ping_Request, options?: RpcOptions): UnaryCall<MaintenanceAPI_Ping_Request, MaintenanceAPI_Ping_Response> {\n const method = this.methods[35], opt = this._transport.mergeOptions(options);\n return stackIntercept<MaintenanceAPI_Ping_Request, MaintenanceAPI_Ping_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: License\n */\n license(input: MaintenanceAPI_License_Request, options?: RpcOptions): UnaryCall<MaintenanceAPI_License_Request, MaintenanceAPI_License_Response> {\n const method = this.methods[36], opt = this._transport.mergeOptions(options);\n return stackIntercept<MaintenanceAPI_License_Request, MaintenanceAPI_License_Response>(\"unary\", this._transport, method, opt, input);\n }\n}\n"],"mappings":";;;;;;AAsTA,IAAa,iBAAb,MAAoE;CAChE,WAAW,SAAS;CACpB,UAAU,SAAS;CACnB,UAAU,SAAS;CACnB,YAAY,YAA2C;AAA1B,OAAA,aAAA;;;;;;;;;CAS7B,GAAG,SAAqF;EACpF,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,SAAO,eAAyD,UAAU,KAAK,YAAY,QAAQ,IAAI;;;;;CAK3G,OAAO,OAA2B,SAA0E;EACxG,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,SAAO,eAAwD,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;;;CAShH,yBAAyB,OAA6C,SAA8G;EAChL,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,SAAO,eAA4F,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;CAKpJ,yBAAyB,OAA6C,SAA8G;EAChL,MAAM,SAAS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AAQ;AAC5E,SAAO,eAAsF,mBAAmB,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;;;CASxJ,kBAAkB,OAA0C,SAAwG;EAChK,MAAM,SAAS,KAAK,QAAQ,KAAK,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC5E,SAAO,eAAsF,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;;;CAS9I,KAAK,OAAoC,SAA4F;EACjI,MAAM,SAAS,KAAK,QAAQ,KAAK,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC5E,SAAO,eAA0E,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;CAKlI,QAAQ,OAAuC,SAAkG;EAC7I,MAAM,SAAS,KAAK,QAAQ,KAAK,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC5E,SAAO,eAAgF,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM"}
1
+ {"version":3,"file":"api.client.js","names":[],"sources":["../../../../../../../src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.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/milaboratory/pl/plapi/plapiproto/api.proto\" (package \"MiLaboratories.PL.API\", syntax proto3)\n// tslint:disable\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { Platform } from \"./api\";\nimport type { MaintenanceAPI_License_Response } from \"./api\";\nimport type { MaintenanceAPI_License_Request } from \"./api\";\nimport type { MaintenanceAPI_Ping_Response } from \"./api\";\nimport type { MaintenanceAPI_Ping_Request } from \"./api\";\nimport type { MiscAPI_ListResourceTypes_Response } from \"./api\";\nimport type { MiscAPI_ListResourceTypes_Request } from \"./api\";\nimport type { AuthAPI_ListUsers_Response } from \"./api\";\nimport type { AuthAPI_ListUsers_Request } from \"./api\";\nimport type { AuthAPI_ListUserResources_Response } from \"./api\";\nimport type { AuthAPI_ListUserResources_Request } from \"./api\";\nimport type { AuthAPI_GetUserRoot_Response } from \"./api\";\nimport type { AuthAPI_GetUserRoot_Request } from \"./api\";\nimport type { AuthAPI_MintSignature_Response } from \"./api\";\nimport type { AuthAPI_MintSignature_Request } from \"./api\";\nimport type { AuthAPI_ListGrants_Response } from \"./api\";\nimport type { AuthAPI_ListGrants_Request } from \"./api\";\nimport type { ServerStreamingCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { AuthAPI_RevokeAccess_Response } from \"./api\";\nimport type { AuthAPI_RevokeAccess_Request } from \"./api\";\nimport type { AuthAPI_GrantAccess_Response } from \"./api\";\nimport type { AuthAPI_GrantAccess_Request } from \"./api\";\nimport type { AuthAPI_GetSessionInfo_Response } from \"./api\";\nimport type { AuthAPI_GetSessionInfo_Request } from \"./api\";\nimport type { AuthAPI_RefreshToken_Response } from \"./api\";\nimport type { AuthAPI_RefreshToken_Request } from \"./api\";\nimport type { AuthAPI_BeginSSOLogin_Response } from \"./api\";\nimport type { AuthAPI_BeginSSOLogin_Request } from \"./api\";\nimport type { AuthAPI_Login_Response } from \"./api\";\nimport type { AuthAPI_Login_Request } from \"./api\";\nimport type { AuthAPI_GetJWTToken_Response } from \"./api\";\nimport type { AuthAPI_GetJWTToken_Request } from \"./api\";\nimport type { AuthAPI_ListMethods_Response } from \"./api\";\nimport type { AuthAPI_ListMethods_Request } from \"./api\";\nimport type { LocksAPI_Lease_Release_Response } from \"./api\";\nimport type { LocksAPI_Lease_Release_Request } from \"./api\";\nimport type { LocksAPI_Lease_Update_Response } from \"./api\";\nimport type { LocksAPI_Lease_Update_Request } from \"./api\";\nimport type { LocksAPI_Lease_Create_Response } from \"./api\";\nimport type { LocksAPI_Lease_Create_Request } from \"./api\";\nimport type { LocksAPI_LockFieldValues_Create_Response } from \"./api\";\nimport type { LocksAPI_LockFieldValues_Create_Request } from \"./api\";\nimport type { ControllerAPI_ClearFeatures_Response } from \"./api\";\nimport type { ControllerAPI_ClearFeatures_Request } from \"./api\";\nimport type { ControllerAPI_SetFeatures_Response } from \"./api\";\nimport type { ControllerAPI_SetFeatures_Request } from \"./api\";\nimport type { ControllerAPI_GetUrl_Response } from \"./api\";\nimport type { ControllerAPI_GetUrl_Request } from \"./api\";\nimport type { ControllerAPI_RemoveAliasesAndUrls_Response } from \"./api\";\nimport type { ControllerAPI_RemoveAliasesAndUrls_Request } from \"./api\";\nimport type { ControllerAPI_WriteAliasesAndUrls_Response } from \"./api\";\nimport type { ControllerAPI_WriteAliasesAndUrls_Request } from \"./api\";\nimport type { ControllerAPI_GetNotifications_Response } from \"./api\";\nimport type { ControllerAPI_GetNotifications_Request } from \"./api\";\nimport type { ControllerAPI_AttachSubscription_Response } from \"./api\";\nimport type { ControllerAPI_AttachSubscription_Request } from \"./api\";\nimport type { ControllerAPI_Update_Response } from \"./api\";\nimport type { ControllerAPI_Update_Request } from \"./api\";\nimport type { ControllerAPI_Get_Response } from \"./api\";\nimport type { ControllerAPI_Get_Request } from \"./api\";\nimport type { ControllerAPI_Exists_Response } from \"./api\";\nimport type { ControllerAPI_Exists_Request } from \"./api\";\nimport type { ControllerAPI_Create_Response } from \"./api\";\nimport type { ControllerAPI_Create_Request } from \"./api\";\nimport type { ControllerAPI_Deregister_Response } from \"./api\";\nimport type { ControllerAPI_Deregister_Request } from \"./api\";\nimport type { ControllerAPI_Register_Response } from \"./api\";\nimport type { ControllerAPI_Register_Request } from \"./api\";\nimport type { NotificationAPI_Get_Response } from \"./api\";\nimport type { NotificationAPI_Get_Request } from \"./api\";\nimport type { SubscriptionAPI_DetachFilter_Response } from \"./api\";\nimport type { SubscriptionAPI_DetachFilter_Request } from \"./api\";\nimport type { SubscriptionAPI_AttachFilter_Response } from \"./api\";\nimport type { SubscriptionAPI_AttachFilter_Request } from \"./api\";\nimport type { TxAPI_Sync_Response } from \"./api\";\nimport type { TxAPI_Sync_Request } from \"./api\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { TxAPI_ServerMessage } from \"./api\";\nimport type { TxAPI_ClientMessage } from \"./api\";\nimport type { DuplexStreamingCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n * @generated from protobuf service MiLaboratories.PL.API.Platform\n */\nexport interface IPlatformClient {\n /**\n *\n * Transactions\n *\n *\n * @generated from protobuf rpc: Tx\n */\n tx(options?: RpcOptions): DuplexStreamingCall<TxAPI_ClientMessage, TxAPI_ServerMessage>;\n /**\n * @generated from protobuf rpc: TxSync\n */\n txSync(input: TxAPI_Sync_Request, options?: RpcOptions): UnaryCall<TxAPI_Sync_Request, TxAPI_Sync_Response>;\n /**\n *\n * Subscriptions\n *\n *\n * @generated from protobuf rpc: SubscriptionAttachFilter\n */\n subscriptionAttachFilter(input: SubscriptionAPI_AttachFilter_Request, options?: RpcOptions): UnaryCall<SubscriptionAPI_AttachFilter_Request, SubscriptionAPI_AttachFilter_Response>;\n /**\n * @generated from protobuf rpc: SubscriptionDetachFilter\n */\n subscriptionDetachFilter(input: SubscriptionAPI_DetachFilter_Request, options?: RpcOptions): UnaryCall<SubscriptionAPI_DetachFilter_Request, SubscriptionAPI_DetachFilter_Response>;\n /**\n * @generated from protobuf rpc: NotificationsGet\n */\n notificationsGet(input: NotificationAPI_Get_Request, options?: RpcOptions): UnaryCall<NotificationAPI_Get_Request, NotificationAPI_Get_Response>;\n /**\n *\n * Controllers\n *\n *\n * @generated from protobuf rpc: ControllerRegister\n */\n controllerRegister(input: ControllerAPI_Register_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Register_Request, ControllerAPI_Register_Response>;\n /**\n * @generated from protobuf rpc: ControllerDeregister\n */\n controllerDeregister(input: ControllerAPI_Deregister_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Deregister_Request, ControllerAPI_Deregister_Response>;\n /**\n * @generated from protobuf rpc: ControllerCreate\n */\n controllerCreate(input: ControllerAPI_Create_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Create_Request, ControllerAPI_Create_Response>;\n /**\n * @generated from protobuf rpc: ControllerExists\n */\n controllerExists(input: ControllerAPI_Exists_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Exists_Request, ControllerAPI_Exists_Response>;\n /**\n * @generated from protobuf rpc: ControllerGet\n */\n controllerGet(input: ControllerAPI_Get_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Get_Request, ControllerAPI_Get_Response>;\n /**\n * @generated from protobuf rpc: ControllerUpdate\n */\n controllerUpdate(input: ControllerAPI_Update_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Update_Request, ControllerAPI_Update_Response>;\n /**\n * @generated from protobuf rpc: ControllerAttachSubscription\n */\n controllerAttachSubscription(input: ControllerAPI_AttachSubscription_Request, options?: RpcOptions): UnaryCall<ControllerAPI_AttachSubscription_Request, ControllerAPI_AttachSubscription_Response>;\n /**\n * @generated from protobuf rpc: GetControllerNotifications\n */\n getControllerNotifications(input: ControllerAPI_GetNotifications_Request, options?: RpcOptions): UnaryCall<ControllerAPI_GetNotifications_Request, ControllerAPI_GetNotifications_Response>;\n /**\n * @generated from protobuf rpc: WriteControllerAliasesAndUrls\n */\n writeControllerAliasesAndUrls(input: ControllerAPI_WriteAliasesAndUrls_Request, options?: RpcOptions): UnaryCall<ControllerAPI_WriteAliasesAndUrls_Request, ControllerAPI_WriteAliasesAndUrls_Response>;\n /**\n * @generated from protobuf rpc: RemoveControllerAliasesAndUrls\n */\n removeControllerAliasesAndUrls(input: ControllerAPI_RemoveAliasesAndUrls_Request, options?: RpcOptions): UnaryCall<ControllerAPI_RemoveAliasesAndUrls_Request, ControllerAPI_RemoveAliasesAndUrls_Response>;\n /**\n * @generated from protobuf rpc: GetControllerUrl\n */\n getControllerUrl(input: ControllerAPI_GetUrl_Request, options?: RpcOptions): UnaryCall<ControllerAPI_GetUrl_Request, ControllerAPI_GetUrl_Response>;\n /**\n * @generated from protobuf rpc: ControllerSetFeatures\n */\n controllerSetFeatures(input: ControllerAPI_SetFeatures_Request, options?: RpcOptions): UnaryCall<ControllerAPI_SetFeatures_Request, ControllerAPI_SetFeatures_Response>;\n /**\n * @generated from protobuf rpc: ControllerClearFeatures\n */\n controllerClearFeatures(input: ControllerAPI_ClearFeatures_Request, options?: RpcOptions): UnaryCall<ControllerAPI_ClearFeatures_Request, ControllerAPI_ClearFeatures_Response>;\n // \n // Locks\n // \n\n /**\n * LockFieldValues gets the resource and obtains a lock on all resolved values of listed fields:\n * - get the resource that will take the lock ('FOR' resource) (lock cannot be obtained 'FOR' or 'ON' deleted resource)\n * - list resource's fields, take fields with names set in request\n * - get resolved values of listed fields (IDs of 'ON' resources).\n * - acquire lock on all 'ON' resources, marking 'FOR' resource as an owner.\n *\n * Lock logic constraints:\n * - Locking is optimistic: if two processes try to obtain a lock on the same resource, one of them\n * succeeds, while the other fails with an error (no long waiting)\n * - Only resolved reference can be locked: to obtain a lock for a particular field's value, the backend needs to know\n * the resource ID this field points to. Unless all listed field references are resolved to a final ID, the lock will fail.\n * - Only an original resource can be locked: if a resource is 'pure' (supports deduplication), it has to pass deduplication before\n * being lockable. An attempt to lock a resource that has not become original will fail.\n * - Locking is a one-way operation: it cannot be 'released' or 'revoked'.\n *\n * @generated from protobuf rpc: LockFieldValues\n */\n lockFieldValues(input: LocksAPI_LockFieldValues_Create_Request, options?: RpcOptions): UnaryCall<LocksAPI_LockFieldValues_Create_Request, LocksAPI_LockFieldValues_Create_Response>;\n /**\n * LeaseResource creates a lease for a resource. A lease is a temporary lock that needs periodic renewal to stay valid.\n * Leases are a separate mechanism from locks: leases are focused on 'clients', while locks are focused on 'resources'.\n * To keep the lease active, the client needs the lease ID that is generated when a lease is created and used for lease updates.\n *\n * @generated from protobuf rpc: LeaseResource\n */\n leaseResource(input: LocksAPI_Lease_Create_Request, options?: RpcOptions): UnaryCall<LocksAPI_Lease_Create_Request, LocksAPI_Lease_Create_Response>;\n /**\n * @generated from protobuf rpc: UpdateLease\n */\n updateLease(input: LocksAPI_Lease_Update_Request, options?: RpcOptions): UnaryCall<LocksAPI_Lease_Update_Request, LocksAPI_Lease_Update_Response>;\n /**\n * @generated from protobuf rpc: ReleaseLease\n */\n releaseLease(input: LocksAPI_Lease_Release_Request, options?: RpcOptions): UnaryCall<LocksAPI_Lease_Release_Request, LocksAPI_Lease_Release_Response>;\n /**\n *\n * Authentication\n *\n *\n * @generated from protobuf rpc: AuthMethods\n */\n authMethods(input: AuthAPI_ListMethods_Request, options?: RpcOptions): UnaryCall<AuthAPI_ListMethods_Request, AuthAPI_ListMethods_Response>;\n /**\n * Deprecated: Use Login for session creation and role transitions,\n * and RefreshToken for token renewal. Backends implementing this API always return\n * codes.Unimplemented. Kept here so clients can still call old backends.\n *\n * @deprecated\n * @generated from protobuf rpc: GetJWTToken\n */\n getJWTToken(input: AuthAPI_GetJWTToken_Request, options?: RpcOptions): UnaryCall<AuthAPI_GetJWTToken_Request, AuthAPI_GetJWTToken_Response>;\n /**\n * Login authenticates with the given credentials and returns a new Platforma JWT.\n * Every Login call creates a new session. Use RefreshToken to renew an existing one.\n * This method is public: no Authorization header is required.\n *\n * @generated from protobuf rpc: Login\n */\n login(input: AuthAPI_Login_Request, options?: RpcOptions): UnaryCall<AuthAPI_Login_Request, AuthAPI_Login_Response>;\n /**\n * BeginSSOLogin returns a fresh one-time nonce that the desktop must place\n * into the OIDC auth-request before redirecting to the IdP. Used by the SSO\n * login flow. This method is public: no Authorization header is required.\n *\n * @generated from protobuf rpc: BeginSSOLogin\n */\n beginSSOLogin(input: AuthAPI_BeginSSOLogin_Request, options?: RpcOptions): UnaryCall<AuthAPI_BeginSSOLogin_Request, AuthAPI_BeginSSOLogin_Response>;\n /**\n * RefreshToken accepts a valid Platforma JWT and re-issues it with the same\n * session ID and role. Only the token expiration may be changed.\n * Workflow-scoped tokens cannot be refreshed; call Login instead.\n * This method is public: no Authorization header is required.\n *\n * @generated from protobuf rpc: RefreshToken\n */\n refreshToken(input: AuthAPI_RefreshToken_Request, options?: RpcOptions): UnaryCall<AuthAPI_RefreshToken_Request, AuthAPI_RefreshToken_Response>;\n /**\n * @generated from protobuf rpc: GetSessionInfo\n */\n getSessionInfo(input: AuthAPI_GetSessionInfo_Request, options?: RpcOptions): UnaryCall<AuthAPI_GetSessionInfo_Request, AuthAPI_GetSessionInfo_Response>;\n /**\n * @generated from protobuf rpc: GrantAccess\n */\n grantAccess(input: AuthAPI_GrantAccess_Request, options?: RpcOptions): UnaryCall<AuthAPI_GrantAccess_Request, AuthAPI_GrantAccess_Response>;\n /**\n * @generated from protobuf rpc: RevokeAccess\n */\n revokeAccess(input: AuthAPI_RevokeAccess_Request, options?: RpcOptions): UnaryCall<AuthAPI_RevokeAccess_Request, AuthAPI_RevokeAccess_Response>;\n /**\n * @generated from protobuf rpc: ListGrants\n */\n listGrants(input: AuthAPI_ListGrants_Request, options?: RpcOptions): ServerStreamingCall<AuthAPI_ListGrants_Request, AuthAPI_ListGrants_Response>;\n /**\n * MintSignature creates a resource signature bound to a target session.\n * Controllers use it during workflow bootstrap to pre-sign resources\n * so the workflow can access them under its own isolated session.\n *\n * @generated from protobuf rpc: MintSignature\n */\n mintSignature(input: AuthAPI_MintSignature_Request, options?: RpcOptions): UnaryCall<AuthAPI_MintSignature_Request, AuthAPI_MintSignature_Response>;\n /**\n * @generated from protobuf rpc: GetUserRoot\n */\n getUserRoot(input: AuthAPI_GetUserRoot_Request, options?: RpcOptions): UnaryCall<AuthAPI_GetUserRoot_Request, AuthAPI_GetUserRoot_Response>;\n /**\n * @generated from protobuf rpc: ListUserResources\n */\n listUserResources(input: AuthAPI_ListUserResources_Request, options?: RpcOptions): ServerStreamingCall<AuthAPI_ListUserResources_Request, AuthAPI_ListUserResources_Response>;\n /**\n * @generated from protobuf rpc: ListUsers\n */\n listUsers(input: AuthAPI_ListUsers_Request, options?: RpcOptions): UnaryCall<AuthAPI_ListUsers_Request, AuthAPI_ListUsers_Response>;\n /**\n *\n * Other stuff\n *\n *\n * @generated from protobuf rpc: ListResourceTypes\n */\n listResourceTypes(input: MiscAPI_ListResourceTypes_Request, options?: RpcOptions): UnaryCall<MiscAPI_ListResourceTypes_Request, MiscAPI_ListResourceTypes_Response>;\n /**\n *\n * Various service requests\n *\n *\n * @generated from protobuf rpc: Ping\n */\n ping(input: MaintenanceAPI_Ping_Request, options?: RpcOptions): UnaryCall<MaintenanceAPI_Ping_Request, MaintenanceAPI_Ping_Response>;\n /**\n * @generated from protobuf rpc: License\n */\n license(input: MaintenanceAPI_License_Request, options?: RpcOptions): UnaryCall<MaintenanceAPI_License_Request, MaintenanceAPI_License_Response>;\n}\n/**\n * @generated from protobuf service MiLaboratories.PL.API.Platform\n */\nexport class PlatformClient implements IPlatformClient, ServiceInfo {\n typeName = Platform.typeName;\n methods = Platform.methods;\n options = Platform.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n *\n * Transactions\n *\n *\n * @generated from protobuf rpc: Tx\n */\n tx(options?: RpcOptions): DuplexStreamingCall<TxAPI_ClientMessage, TxAPI_ServerMessage> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<TxAPI_ClientMessage, TxAPI_ServerMessage>(\"duplex\", this._transport, method, opt);\n }\n /**\n * @generated from protobuf rpc: TxSync\n */\n txSync(input: TxAPI_Sync_Request, options?: RpcOptions): UnaryCall<TxAPI_Sync_Request, TxAPI_Sync_Response> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<TxAPI_Sync_Request, TxAPI_Sync_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n *\n * Subscriptions\n *\n *\n * @generated from protobuf rpc: SubscriptionAttachFilter\n */\n subscriptionAttachFilter(input: SubscriptionAPI_AttachFilter_Request, options?: RpcOptions): UnaryCall<SubscriptionAPI_AttachFilter_Request, SubscriptionAPI_AttachFilter_Response> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<SubscriptionAPI_AttachFilter_Request, SubscriptionAPI_AttachFilter_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: SubscriptionDetachFilter\n */\n subscriptionDetachFilter(input: SubscriptionAPI_DetachFilter_Request, options?: RpcOptions): UnaryCall<SubscriptionAPI_DetachFilter_Request, SubscriptionAPI_DetachFilter_Response> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<SubscriptionAPI_DetachFilter_Request, SubscriptionAPI_DetachFilter_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: NotificationsGet\n */\n notificationsGet(input: NotificationAPI_Get_Request, options?: RpcOptions): UnaryCall<NotificationAPI_Get_Request, NotificationAPI_Get_Response> {\n const method = this.methods[4], opt = this._transport.mergeOptions(options);\n return stackIntercept<NotificationAPI_Get_Request, NotificationAPI_Get_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n *\n * Controllers\n *\n *\n * @generated from protobuf rpc: ControllerRegister\n */\n controllerRegister(input: ControllerAPI_Register_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Register_Request, ControllerAPI_Register_Response> {\n const method = this.methods[5], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_Register_Request, ControllerAPI_Register_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ControllerDeregister\n */\n controllerDeregister(input: ControllerAPI_Deregister_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Deregister_Request, ControllerAPI_Deregister_Response> {\n const method = this.methods[6], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_Deregister_Request, ControllerAPI_Deregister_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ControllerCreate\n */\n controllerCreate(input: ControllerAPI_Create_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Create_Request, ControllerAPI_Create_Response> {\n const method = this.methods[7], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_Create_Request, ControllerAPI_Create_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ControllerExists\n */\n controllerExists(input: ControllerAPI_Exists_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Exists_Request, ControllerAPI_Exists_Response> {\n const method = this.methods[8], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_Exists_Request, ControllerAPI_Exists_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ControllerGet\n */\n controllerGet(input: ControllerAPI_Get_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Get_Request, ControllerAPI_Get_Response> {\n const method = this.methods[9], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_Get_Request, ControllerAPI_Get_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ControllerUpdate\n */\n controllerUpdate(input: ControllerAPI_Update_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Update_Request, ControllerAPI_Update_Response> {\n const method = this.methods[10], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_Update_Request, ControllerAPI_Update_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ControllerAttachSubscription\n */\n controllerAttachSubscription(input: ControllerAPI_AttachSubscription_Request, options?: RpcOptions): UnaryCall<ControllerAPI_AttachSubscription_Request, ControllerAPI_AttachSubscription_Response> {\n const method = this.methods[11], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_AttachSubscription_Request, ControllerAPI_AttachSubscription_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetControllerNotifications\n */\n getControllerNotifications(input: ControllerAPI_GetNotifications_Request, options?: RpcOptions): UnaryCall<ControllerAPI_GetNotifications_Request, ControllerAPI_GetNotifications_Response> {\n const method = this.methods[12], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_GetNotifications_Request, ControllerAPI_GetNotifications_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: WriteControllerAliasesAndUrls\n */\n writeControllerAliasesAndUrls(input: ControllerAPI_WriteAliasesAndUrls_Request, options?: RpcOptions): UnaryCall<ControllerAPI_WriteAliasesAndUrls_Request, ControllerAPI_WriteAliasesAndUrls_Response> {\n const method = this.methods[13], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_WriteAliasesAndUrls_Request, ControllerAPI_WriteAliasesAndUrls_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: RemoveControllerAliasesAndUrls\n */\n removeControllerAliasesAndUrls(input: ControllerAPI_RemoveAliasesAndUrls_Request, options?: RpcOptions): UnaryCall<ControllerAPI_RemoveAliasesAndUrls_Request, ControllerAPI_RemoveAliasesAndUrls_Response> {\n const method = this.methods[14], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_RemoveAliasesAndUrls_Request, ControllerAPI_RemoveAliasesAndUrls_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetControllerUrl\n */\n getControllerUrl(input: ControllerAPI_GetUrl_Request, options?: RpcOptions): UnaryCall<ControllerAPI_GetUrl_Request, ControllerAPI_GetUrl_Response> {\n const method = this.methods[15], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_GetUrl_Request, ControllerAPI_GetUrl_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ControllerSetFeatures\n */\n controllerSetFeatures(input: ControllerAPI_SetFeatures_Request, options?: RpcOptions): UnaryCall<ControllerAPI_SetFeatures_Request, ControllerAPI_SetFeatures_Response> {\n const method = this.methods[16], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_SetFeatures_Request, ControllerAPI_SetFeatures_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ControllerClearFeatures\n */\n controllerClearFeatures(input: ControllerAPI_ClearFeatures_Request, options?: RpcOptions): UnaryCall<ControllerAPI_ClearFeatures_Request, ControllerAPI_ClearFeatures_Response> {\n const method = this.methods[17], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_ClearFeatures_Request, ControllerAPI_ClearFeatures_Response>(\"unary\", this._transport, method, opt, input);\n }\n // \n // Locks\n // \n\n /**\n * LockFieldValues gets the resource and obtains a lock on all resolved values of listed fields:\n * - get the resource that will take the lock ('FOR' resource) (lock cannot be obtained 'FOR' or 'ON' deleted resource)\n * - list resource's fields, take fields with names set in request\n * - get resolved values of listed fields (IDs of 'ON' resources).\n * - acquire lock on all 'ON' resources, marking 'FOR' resource as an owner.\n *\n * Lock logic constraints:\n * - Locking is optimistic: if two processes try to obtain a lock on the same resource, one of them\n * succeeds, while the other fails with an error (no long waiting)\n * - Only resolved reference can be locked: to obtain a lock for a particular field's value, the backend needs to know\n * the resource ID this field points to. Unless all listed field references are resolved to a final ID, the lock will fail.\n * - Only an original resource can be locked: if a resource is 'pure' (supports deduplication), it has to pass deduplication before\n * being lockable. An attempt to lock a resource that has not become original will fail.\n * - Locking is a one-way operation: it cannot be 'released' or 'revoked'.\n *\n * @generated from protobuf rpc: LockFieldValues\n */\n lockFieldValues(input: LocksAPI_LockFieldValues_Create_Request, options?: RpcOptions): UnaryCall<LocksAPI_LockFieldValues_Create_Request, LocksAPI_LockFieldValues_Create_Response> {\n const method = this.methods[18], opt = this._transport.mergeOptions(options);\n return stackIntercept<LocksAPI_LockFieldValues_Create_Request, LocksAPI_LockFieldValues_Create_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * LeaseResource creates a lease for a resource. A lease is a temporary lock that needs periodic renewal to stay valid.\n * Leases are a separate mechanism from locks: leases are focused on 'clients', while locks are focused on 'resources'.\n * To keep the lease active, the client needs the lease ID that is generated when a lease is created and used for lease updates.\n *\n * @generated from protobuf rpc: LeaseResource\n */\n leaseResource(input: LocksAPI_Lease_Create_Request, options?: RpcOptions): UnaryCall<LocksAPI_Lease_Create_Request, LocksAPI_Lease_Create_Response> {\n const method = this.methods[19], opt = this._transport.mergeOptions(options);\n return stackIntercept<LocksAPI_Lease_Create_Request, LocksAPI_Lease_Create_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: UpdateLease\n */\n updateLease(input: LocksAPI_Lease_Update_Request, options?: RpcOptions): UnaryCall<LocksAPI_Lease_Update_Request, LocksAPI_Lease_Update_Response> {\n const method = this.methods[20], opt = this._transport.mergeOptions(options);\n return stackIntercept<LocksAPI_Lease_Update_Request, LocksAPI_Lease_Update_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ReleaseLease\n */\n releaseLease(input: LocksAPI_Lease_Release_Request, options?: RpcOptions): UnaryCall<LocksAPI_Lease_Release_Request, LocksAPI_Lease_Release_Response> {\n const method = this.methods[21], opt = this._transport.mergeOptions(options);\n return stackIntercept<LocksAPI_Lease_Release_Request, LocksAPI_Lease_Release_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n *\n * Authentication\n *\n *\n * @generated from protobuf rpc: AuthMethods\n */\n authMethods(input: AuthAPI_ListMethods_Request, options?: RpcOptions): UnaryCall<AuthAPI_ListMethods_Request, AuthAPI_ListMethods_Response> {\n const method = this.methods[22], opt = this._transport.mergeOptions(options);\n return stackIntercept<AuthAPI_ListMethods_Request, AuthAPI_ListMethods_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Deprecated: Use Login for session creation and role transitions,\n * and RefreshToken for token renewal. Backends implementing this API always return\n * codes.Unimplemented. Kept here so clients can still call old backends.\n *\n * @deprecated\n * @generated from protobuf rpc: GetJWTToken\n */\n getJWTToken(input: AuthAPI_GetJWTToken_Request, options?: RpcOptions): UnaryCall<AuthAPI_GetJWTToken_Request, AuthAPI_GetJWTToken_Response> {\n const method = this.methods[23], opt = this._transport.mergeOptions(options);\n return stackIntercept<AuthAPI_GetJWTToken_Request, AuthAPI_GetJWTToken_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Login authenticates with the given credentials and returns a new Platforma JWT.\n * Every Login call creates a new session. Use RefreshToken to renew an existing one.\n * This method is public: no Authorization header is required.\n *\n * @generated from protobuf rpc: Login\n */\n login(input: AuthAPI_Login_Request, options?: RpcOptions): UnaryCall<AuthAPI_Login_Request, AuthAPI_Login_Response> {\n const method = this.methods[24], opt = this._transport.mergeOptions(options);\n return stackIntercept<AuthAPI_Login_Request, AuthAPI_Login_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * BeginSSOLogin returns a fresh one-time nonce that the desktop must place\n * into the OIDC auth-request before redirecting to the IdP. Used by the SSO\n * login flow. This method is public: no Authorization header is required.\n *\n * @generated from protobuf rpc: BeginSSOLogin\n */\n beginSSOLogin(input: AuthAPI_BeginSSOLogin_Request, options?: RpcOptions): UnaryCall<AuthAPI_BeginSSOLogin_Request, AuthAPI_BeginSSOLogin_Response> {\n const method = this.methods[25], opt = this._transport.mergeOptions(options);\n return stackIntercept<AuthAPI_BeginSSOLogin_Request, AuthAPI_BeginSSOLogin_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * RefreshToken accepts a valid Platforma JWT and re-issues it with the same\n * session ID and role. Only the token expiration may be changed.\n * Workflow-scoped tokens cannot be refreshed; call Login instead.\n * This method is public: no Authorization header is required.\n *\n * @generated from protobuf rpc: RefreshToken\n */\n refreshToken(input: AuthAPI_RefreshToken_Request, options?: RpcOptions): UnaryCall<AuthAPI_RefreshToken_Request, AuthAPI_RefreshToken_Response> {\n const method = this.methods[26], opt = this._transport.mergeOptions(options);\n return stackIntercept<AuthAPI_RefreshToken_Request, AuthAPI_RefreshToken_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetSessionInfo\n */\n getSessionInfo(input: AuthAPI_GetSessionInfo_Request, options?: RpcOptions): UnaryCall<AuthAPI_GetSessionInfo_Request, AuthAPI_GetSessionInfo_Response> {\n const method = this.methods[27], opt = this._transport.mergeOptions(options);\n return stackIntercept<AuthAPI_GetSessionInfo_Request, AuthAPI_GetSessionInfo_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GrantAccess\n */\n grantAccess(input: AuthAPI_GrantAccess_Request, options?: RpcOptions): UnaryCall<AuthAPI_GrantAccess_Request, AuthAPI_GrantAccess_Response> {\n const method = this.methods[28], opt = this._transport.mergeOptions(options);\n return stackIntercept<AuthAPI_GrantAccess_Request, AuthAPI_GrantAccess_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: RevokeAccess\n */\n revokeAccess(input: AuthAPI_RevokeAccess_Request, options?: RpcOptions): UnaryCall<AuthAPI_RevokeAccess_Request, AuthAPI_RevokeAccess_Response> {\n const method = this.methods[29], opt = this._transport.mergeOptions(options);\n return stackIntercept<AuthAPI_RevokeAccess_Request, AuthAPI_RevokeAccess_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ListGrants\n */\n listGrants(input: AuthAPI_ListGrants_Request, options?: RpcOptions): ServerStreamingCall<AuthAPI_ListGrants_Request, AuthAPI_ListGrants_Response> {\n const method = this.methods[30], opt = this._transport.mergeOptions(options);\n return stackIntercept<AuthAPI_ListGrants_Request, AuthAPI_ListGrants_Response>(\"serverStreaming\", this._transport, method, opt, input);\n }\n /**\n * MintSignature creates a resource signature bound to a target session.\n * Controllers use it during workflow bootstrap to pre-sign resources\n * so the workflow can access them under its own isolated session.\n *\n * @generated from protobuf rpc: MintSignature\n */\n mintSignature(input: AuthAPI_MintSignature_Request, options?: RpcOptions): UnaryCall<AuthAPI_MintSignature_Request, AuthAPI_MintSignature_Response> {\n const method = this.methods[31], opt = this._transport.mergeOptions(options);\n return stackIntercept<AuthAPI_MintSignature_Request, AuthAPI_MintSignature_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetUserRoot\n */\n getUserRoot(input: AuthAPI_GetUserRoot_Request, options?: RpcOptions): UnaryCall<AuthAPI_GetUserRoot_Request, AuthAPI_GetUserRoot_Response> {\n const method = this.methods[32], opt = this._transport.mergeOptions(options);\n return stackIntercept<AuthAPI_GetUserRoot_Request, AuthAPI_GetUserRoot_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ListUserResources\n */\n listUserResources(input: AuthAPI_ListUserResources_Request, options?: RpcOptions): ServerStreamingCall<AuthAPI_ListUserResources_Request, AuthAPI_ListUserResources_Response> {\n const method = this.methods[33], opt = this._transport.mergeOptions(options);\n return stackIntercept<AuthAPI_ListUserResources_Request, AuthAPI_ListUserResources_Response>(\"serverStreaming\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ListUsers\n */\n listUsers(input: AuthAPI_ListUsers_Request, options?: RpcOptions): UnaryCall<AuthAPI_ListUsers_Request, AuthAPI_ListUsers_Response> {\n const method = this.methods[34], opt = this._transport.mergeOptions(options);\n return stackIntercept<AuthAPI_ListUsers_Request, AuthAPI_ListUsers_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n *\n * Other stuff\n *\n *\n * @generated from protobuf rpc: ListResourceTypes\n */\n listResourceTypes(input: MiscAPI_ListResourceTypes_Request, options?: RpcOptions): UnaryCall<MiscAPI_ListResourceTypes_Request, MiscAPI_ListResourceTypes_Response> {\n const method = this.methods[35], opt = this._transport.mergeOptions(options);\n return stackIntercept<MiscAPI_ListResourceTypes_Request, MiscAPI_ListResourceTypes_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n *\n * Various service requests\n *\n *\n * @generated from protobuf rpc: Ping\n */\n ping(input: MaintenanceAPI_Ping_Request, options?: RpcOptions): UnaryCall<MaintenanceAPI_Ping_Request, MaintenanceAPI_Ping_Response> {\n const method = this.methods[36], opt = this._transport.mergeOptions(options);\n return stackIntercept<MaintenanceAPI_Ping_Request, MaintenanceAPI_Ping_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: License\n */\n license(input: MaintenanceAPI_License_Request, options?: RpcOptions): UnaryCall<MaintenanceAPI_License_Request, MaintenanceAPI_License_Response> {\n const method = this.methods[37], opt = this._transport.mergeOptions(options);\n return stackIntercept<MaintenanceAPI_License_Request, MaintenanceAPI_License_Response>(\"unary\", this._transport, method, opt, input);\n }\n}\n"],"mappings":";;;;;;AA4TA,IAAa,iBAAb,MAAoE;CAInC;CAH7B,WAAW,SAAS;CACpB,UAAU,SAAS;CACnB,UAAU,SAAS;CACnB,YAAY,YAA2C;EAA1B,KAAA,aAAA;CAC7B;;;;;;;;CAQA,GAAG,SAAqF;EACpF,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,OAAO;EAC1E,OAAO,eAAyD,UAAU,KAAK,YAAY,QAAQ,GAAG;CAC1G;;;;CAIA,OAAO,OAA2B,SAA0E;EACxG,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,OAAO;EAC1E,OAAO,eAAwD,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CAC/G;;;;;;;;CAQA,yBAAyB,OAA6C,SAA8G;EAChL,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,OAAO;EAC1E,OAAO,eAA4F,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CACnJ;;;;CAIA,yBAAyB,OAA6C,SAA8G;EAChL,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,OAAO;EAC1E,OAAO,eAA4F,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CACnJ;;;;CAIA,iBAAiB,OAAoC,SAA4F;EAC7I,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,OAAO;EAC1E,OAAO,eAA0E,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CACjI;;;;;;;;CAQA,mBAAmB,OAAuC,SAAkG;EACxJ,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,OAAO;EA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AK,MAAM,KAAK,WAAW,aAAa,OAAO;EAC3E,OAAO,eAAsF,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CAC7I;;;;;;;;CAQA,KAAK,OAAoC,SAA4F;EACjI,MAAM,SAAS,KAAK,QAAQ,KAAK,MAAM,KAAK,WAAW,aAAa,OAAO;EAC3E,OAAO,eAA0E,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CACjI;;;;CAIA,QAAQ,OAAuC,SAAkG;EAC7I,MAAM,SAAS,KAAK,QAAQ,KAAK,MAAM,KAAK,WAAW,aAAa,OAAO;EAC3E,OAAO,eAAgF,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CACvI;AACJ"}
@@ -396,6 +396,12 @@ interface TxAPI_ClientMessage {
396
396
  * @generated from protobuf field: MiLaboratories.PL.API.AuthAPI.RevokeAccess.Request revoke_access = 411
397
397
  */
398
398
  revokeAccess: AuthAPI_RevokeAccess_Request;
399
+ } | {
400
+ oneofKind: "listGrants";
401
+ /**
402
+ * @generated from protobuf field: MiLaboratories.PL.API.AuthAPI.ListGrants.Request list_grants = 412
403
+ */
404
+ listGrants: AuthAPI_ListGrants_Request;
399
405
  } | {
400
406
  oneofKind: undefined;
401
407
  };
@@ -785,6 +791,12 @@ interface TxAPI_ServerMessage {
785
791
  * @generated from protobuf field: MiLaboratories.PL.API.AuthAPI.RevokeAccess.Response revoke_access = 411
786
792
  */
787
793
  revokeAccess: AuthAPI_RevokeAccess_Response;
794
+ } | {
795
+ oneofKind: "listGrants";
796
+ /**
797
+ * @generated from protobuf field: MiLaboratories.PL.API.AuthAPI.ListGrants.TxResponse list_grants = 412
798
+ */
799
+ listGrants: AuthAPI_ListGrants_TxResponse;
788
800
  } | {
789
801
  oneofKind: undefined;
790
802
  };
@@ -2925,6 +2937,10 @@ interface AuthAPI_ListMethods_SSOAuthMethod {
2925
2937
  * @generated from protobuf field: MiLaboratories.PL.API.AuthAPI.ListMethods.SSOAuthMethod.FlowType flow_type = 10
2926
2938
  */
2927
2939
  flowType: AuthAPI_ListMethods_SSOAuthMethod_FlowType;
2940
+ /**
2941
+ * @generated from protobuf field: optional string access_type = 11
2942
+ */
2943
+ accessType?: string;
2928
2944
  }
2929
2945
  /**
2930
2946
  * @generated from protobuf enum MiLaboratories.PL.API.AuthAPI.ListMethods.SSOAuthMethod.FlowType
@@ -2993,6 +3009,17 @@ interface AuthAPI_BeginSSOLogin_PublicPKCE {
2993
3009
  * @generated from protobuf field: google.protobuf.Timestamp expires_at = 2
2994
3010
  */
2995
3011
  expiresAt?: Timestamp;
3012
+ /**
3013
+ * Confidential-client secret for the IdP token exchange; absent for public clients.
3014
+ * Rationale: Google's OIDC does not support public clients — it requires a
3015
+ * client_secret at the token endpoint even for the PKCE auth-code flow. That is a
3016
+ * gap in Google Cloud OIDC: a desktop app cannot use Google OIDC without the secret
3017
+ * leaving the server. So the backend holds the secret and forwards it here to the
3018
+ * desktop, which performs the token exchange as a confidential client.
3019
+ *
3020
+ * @generated from protobuf field: optional string client_secret = 3
3021
+ */
3022
+ clientSecret?: string;
2996
3023
  }
2997
3024
  /**
2998
3025
  * @generated from protobuf message MiLaboratories.PL.API.AuthAPI.BeginSSOLogin.Response
@@ -3217,17 +3244,17 @@ interface AuthAPI_GrantAccess_Response {}
3217
3244
  */
3218
3245
  declare enum AuthAPI_GrantAccess_GrantType {
3219
3246
  /**
3220
- * regular user-to-user grant (default)
3247
+ * grants access for single user (default).
3221
3248
  *
3222
- * @generated from protobuf enum value: GENERAL = 0;
3249
+ * @generated from protobuf enum value: SINGLE_USER = 0;
3223
3250
  */
3224
- GENERAL = 0,
3251
+ SINGLE_USER = 0,
3225
3252
  /**
3226
- * make resource publically-accessible, showing it in ListUserResources for all users. Requires controller role.
3253
+ * makes resource publically-accessible, showing it in ListUserResources for all authorised clients.
3227
3254
  *
3228
- * @generated from protobuf enum value: MAKE_RESOURCE_PUBLIC = 1;
3255
+ * @generated from protobuf enum value: ANY_AUTHORISED = 1;
3229
3256
  */
3230
- MAKE_RESOURCE_PUBLIC = 1
3257
+ ANY_AUTHORISED = 1
3231
3258
  }
3232
3259
  /**
3233
3260
  * @generated from protobuf message MiLaboratories.PL.API.AuthAPI.RevokeAccess.Request
@@ -3272,6 +3299,15 @@ interface AuthAPI_ListGrants_Response {
3272
3299
  */
3273
3300
  grant?: AuthAPI_Grant;
3274
3301
  }
3302
+ /**
3303
+ * @generated from protobuf message MiLaboratories.PL.API.AuthAPI.ListGrants.TxResponse
3304
+ */
3305
+ interface AuthAPI_ListGrants_TxResponse {
3306
+ /**
3307
+ * @generated from protobuf field: repeated MiLaboratories.PL.API.AuthAPI.Grant grants = 1
3308
+ */
3309
+ grants: AuthAPI_Grant[];
3310
+ }
3275
3311
  /**
3276
3312
  * @generated from protobuf message MiLaboratories.PL.API.AuthAPI.Grant
3277
3313
  */
@@ -3454,6 +3490,35 @@ interface AuthAPI_ListUserResources_SharedResource {
3454
3490
  */
3455
3491
  permissions?: AuthAPI_Grant_Permissions;
3456
3492
  }
3493
+ /**
3494
+ * @generated from protobuf message MiLaboratories.PL.API.AuthAPI.User
3495
+ */
3496
+ interface AuthAPI_User {
3497
+ /**
3498
+ * login is the stable identifier of the user — the grant target and the
3499
+ * GetUserRoot key. Further fields (e.g. first name, last name, email) may
3500
+ * be added later without breaking compatibility.
3501
+ *
3502
+ * @generated from protobuf field: string login = 1
3503
+ */
3504
+ login: string;
3505
+ }
3506
+ /**
3507
+ * @generated from protobuf message MiLaboratories.PL.API.AuthAPI.ListUsers.Request
3508
+ */
3509
+ interface AuthAPI_ListUsers_Request {}
3510
+ /**
3511
+ * Lists users known to the server. A user becomes known on first login;
3512
+ * provisioned users who have never logged in do not appear.
3513
+ *
3514
+ * @generated from protobuf message MiLaboratories.PL.API.AuthAPI.ListUsers.Response
3515
+ */
3516
+ interface AuthAPI_ListUsers_Response {
3517
+ /**
3518
+ * @generated from protobuf field: repeated MiLaboratories.PL.API.AuthAPI.User users = 1
3519
+ */
3520
+ users: AuthAPI_User[];
3521
+ }
3457
3522
  /**
3458
3523
  * @generated from protobuf enum MiLaboratories.PL.API.AuthAPI.Role
3459
3524
  */
@@ -5416,6 +5481,16 @@ declare class AuthAPI_ListGrants_Response$Type extends MessageType<AuthAPI_ListG
5416
5481
  * @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListGrants.Response
5417
5482
  */
5418
5483
  declare const AuthAPI_ListGrants_Response: AuthAPI_ListGrants_Response$Type;
5484
+ declare class AuthAPI_ListGrants_TxResponse$Type extends MessageType<AuthAPI_ListGrants_TxResponse> {
5485
+ constructor();
5486
+ create(value?: PartialMessage<AuthAPI_ListGrants_TxResponse>): AuthAPI_ListGrants_TxResponse;
5487
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuthAPI_ListGrants_TxResponse): AuthAPI_ListGrants_TxResponse;
5488
+ internalBinaryWrite(message: AuthAPI_ListGrants_TxResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
5489
+ }
5490
+ /**
5491
+ * @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListGrants.TxResponse
5492
+ */
5493
+ declare const AuthAPI_ListGrants_TxResponse: AuthAPI_ListGrants_TxResponse$Type;
5419
5494
  declare class AuthAPI_Grant$Type extends MessageType<AuthAPI_Grant> {
5420
5495
  constructor();
5421
5496
  create(value?: PartialMessage<AuthAPI_Grant>): AuthAPI_Grant;
@@ -5516,6 +5591,36 @@ declare class AuthAPI_ListUserResources_SharedResource$Type extends MessageType<
5516
5591
  * @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListUserResources.SharedResource
5517
5592
  */
5518
5593
  declare const AuthAPI_ListUserResources_SharedResource: AuthAPI_ListUserResources_SharedResource$Type;
5594
+ declare class AuthAPI_User$Type extends MessageType<AuthAPI_User> {
5595
+ constructor();
5596
+ create(value?: PartialMessage<AuthAPI_User>): AuthAPI_User;
5597
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuthAPI_User): AuthAPI_User;
5598
+ internalBinaryWrite(message: AuthAPI_User, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
5599
+ }
5600
+ /**
5601
+ * @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.User
5602
+ */
5603
+ declare const AuthAPI_User: AuthAPI_User$Type;
5604
+ declare class AuthAPI_ListUsers_Request$Type extends MessageType<AuthAPI_ListUsers_Request> {
5605
+ constructor();
5606
+ create(value?: PartialMessage<AuthAPI_ListUsers_Request>): AuthAPI_ListUsers_Request;
5607
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuthAPI_ListUsers_Request): AuthAPI_ListUsers_Request;
5608
+ internalBinaryWrite(message: AuthAPI_ListUsers_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
5609
+ }
5610
+ /**
5611
+ * @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListUsers.Request
5612
+ */
5613
+ declare const AuthAPI_ListUsers_Request: AuthAPI_ListUsers_Request$Type;
5614
+ declare class AuthAPI_ListUsers_Response$Type extends MessageType<AuthAPI_ListUsers_Response> {
5615
+ constructor();
5616
+ create(value?: PartialMessage<AuthAPI_ListUsers_Response>): AuthAPI_ListUsers_Response;
5617
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuthAPI_ListUsers_Response): AuthAPI_ListUsers_Response;
5618
+ internalBinaryWrite(message: AuthAPI_ListUsers_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
5619
+ }
5620
+ /**
5621
+ * @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListUsers.Response
5622
+ */
5623
+ declare const AuthAPI_ListUsers_Response: AuthAPI_ListUsers_Response$Type;
5519
5624
  declare class MiscAPI_ListResourceTypes_Request$Type extends MessageType<MiscAPI_ListResourceTypes_Request> {
5520
5625
  constructor();
5521
5626
  create(value?: PartialMessage<MiscAPI_ListResourceTypes_Request>): MiscAPI_ListResourceTypes_Request;
@@ -5587,5 +5692,5 @@ declare class Util_Deprecated$Type extends MessageType<Util_Deprecated> {
5587
5692
  */
5588
5693
  declare const Util_Deprecated: Util_Deprecated$Type;
5589
5694
  //#endregion
5590
- export { AuthAPI_BeginSSOLogin_Request, AuthAPI_BeginSSOLogin_Response, AuthAPI_GetJWTToken_Request, AuthAPI_GetJWTToken_Response, AuthAPI_GetSessionInfo_Request, AuthAPI_GetSessionInfo_Response, AuthAPI_GetUserRoot_Request, AuthAPI_GetUserRoot_Response, AuthAPI_GrantAccess_Request, AuthAPI_GrantAccess_Response, AuthAPI_ListGrants_Request, AuthAPI_ListGrants_Response, AuthAPI_ListMethods_Request, AuthAPI_ListMethods_Response, AuthAPI_ListUserResources_Request, AuthAPI_ListUserResources_Response, AuthAPI_Login_Request, AuthAPI_Login_Response, AuthAPI_MintSignature_Request, AuthAPI_MintSignature_Response, AuthAPI_RefreshToken_Request, AuthAPI_RefreshToken_Response, AuthAPI_RevokeAccess_Request, AuthAPI_RevokeAccess_Response, AuthAPI_Role, ControllerAPI_AttachSubscription_Request, ControllerAPI_AttachSubscription_Response, ControllerAPI_ClearFeatures_Request, ControllerAPI_ClearFeatures_Response, ControllerAPI_Create_Request, ControllerAPI_Create_Response, ControllerAPI_Deregister_Request, ControllerAPI_Deregister_Response, ControllerAPI_Exists_Request, ControllerAPI_Exists_Response, ControllerAPI_GetNotifications_Request, ControllerAPI_GetNotifications_Response, ControllerAPI_GetUrl_Request, ControllerAPI_GetUrl_Response, ControllerAPI_Get_Request, ControllerAPI_Get_Response, ControllerAPI_Register_Request, ControllerAPI_Register_Response, ControllerAPI_RemoveAliasesAndUrls_Request, ControllerAPI_RemoveAliasesAndUrls_Response, ControllerAPI_SetFeatures_Request, ControllerAPI_SetFeatures_Response, ControllerAPI_Update_Request, ControllerAPI_Update_Response, ControllerAPI_WriteAliasesAndUrls_Request, ControllerAPI_WriteAliasesAndUrls_Response, LocksAPI_Lease_Create_Request, LocksAPI_Lease_Create_Response, LocksAPI_Lease_Release_Request, LocksAPI_Lease_Release_Response, LocksAPI_Lease_Update_Request, LocksAPI_Lease_Update_Response, LocksAPI_LockFieldValues_Create_Request, LocksAPI_LockFieldValues_Create_Response, MaintenanceAPI_License_Request, MaintenanceAPI_License_Response, MaintenanceAPI_Ping_Request, MaintenanceAPI_Ping_Response, MiscAPI_ListResourceTypes_Request, MiscAPI_ListResourceTypes_Response, NotificationAPI_Get_Request, NotificationAPI_Get_Response, ResourceAPI_Tree_Filter, ResourceAPI_Tree_Filter_OperatorType, ResourceAPI_Tree_Filter_Property, SubscriptionAPI_AttachFilter_Request, SubscriptionAPI_AttachFilter_Response, SubscriptionAPI_DetachFilter_Request, SubscriptionAPI_DetachFilter_Response, TxAPI_ClientMessage, TxAPI_ServerMessage, TxAPI_Sync_Request, TxAPI_Sync_Response };
5695
+ export { AuthAPI_BeginSSOLogin_PublicPKCE, AuthAPI_BeginSSOLogin_Request, AuthAPI_BeginSSOLogin_Response, AuthAPI_GetJWTToken_Request, AuthAPI_GetJWTToken_Response, AuthAPI_GetSessionInfo_Request, AuthAPI_GetSessionInfo_Response, AuthAPI_GetUserRoot_Request, AuthAPI_GetUserRoot_Response, AuthAPI_Grant, AuthAPI_GrantAccess_GrantType, AuthAPI_GrantAccess_Request, AuthAPI_GrantAccess_Response, AuthAPI_Grant_Permissions, AuthAPI_ListGrants_Request, AuthAPI_ListGrants_Response, AuthAPI_ListGrants_TxResponse, AuthAPI_ListMethods_BasicAuthMethod, AuthAPI_ListMethods_MethodInfo, AuthAPI_ListMethods_Request, AuthAPI_ListMethods_Response, AuthAPI_ListMethods_SSOAuthMethod, AuthAPI_ListMethods_SSOAuthMethod_FlowType, AuthAPI_ListMethods_TokenAuthMethod, AuthAPI_ListUserResources_Request, AuthAPI_ListUserResources_Response, AuthAPI_ListUserResources_SharedResource, AuthAPI_ListUsers_Request, AuthAPI_ListUsers_Response, AuthAPI_Login_BasicCredentials, AuthAPI_Login_Request, AuthAPI_Login_Response, AuthAPI_Login_SSOCredentials, AuthAPI_Login_TokenCredentials, AuthAPI_MintSignature_Request, AuthAPI_MintSignature_Response, AuthAPI_RefreshToken_Request, AuthAPI_RefreshToken_Response, AuthAPI_RevokeAccess_Request, AuthAPI_RevokeAccess_Response, AuthAPI_Role, AuthAPI_User, AuthAPI_UserRoot, CacheAPI_SetToField_Request, CacheAPI_SetToField_Response, ControllerAPI_AttachSubscription_Request, ControllerAPI_AttachSubscription_Response, ControllerAPI_ClearFeatures_Request, ControllerAPI_ClearFeatures_Response, ControllerAPI_Create_Request, ControllerAPI_Create_Response, ControllerAPI_Deregister_Request, ControllerAPI_Deregister_Response, ControllerAPI_Exists_Request, ControllerAPI_Exists_Response, ControllerAPI_GetNotifications_Request, ControllerAPI_GetNotifications_Response, ControllerAPI_GetUrl_Request, ControllerAPI_GetUrl_Response, ControllerAPI_Get_Request, ControllerAPI_Get_Response, ControllerAPI_Register_Request, ControllerAPI_Register_Response, ControllerAPI_RemoveAliasesAndUrls_Request, ControllerAPI_RemoveAliasesAndUrls_Response, ControllerAPI_SetFeatures_Request, ControllerAPI_SetFeatures_Response, ControllerAPI_Update_Request, ControllerAPI_Update_Response, ControllerAPI_WriteAliasesAndUrls_Request, ControllerAPI_WriteAliasesAndUrls_Response, ControllerKVAPI_GetFlagIfExists_Request, ControllerKVAPI_GetFlagIfExists_Response, ControllerKVAPI_GetFlag_Request, ControllerKVAPI_GetFlag_Response, ControllerKVAPI_GetIfExists_Request, ControllerKVAPI_GetIfExists_Response, ControllerKVAPI_Get_Request, ControllerKVAPI_Get_Response, ControllerKVAPI_SetFlag_Request, ControllerKVAPI_SetFlag_Response, ControllerKVAPI_Set_Request, ControllerKVAPI_Set_Response, FieldAPI_Create_Request, FieldAPI_Create_Response, FieldAPI_Exists_Request, FieldAPI_Exists_Response, FieldAPI_Get_Request, FieldAPI_Get_Response, FieldAPI_List_Request, FieldAPI_List_Response, FieldAPI_Remove_Request, FieldAPI_Remove_Response, FieldAPI_Reset_Request, FieldAPI_Reset_Response, FieldAPI_SetError_Request, FieldAPI_SetError_Response, FieldAPI_Set_Request, FieldAPI_Set_Response, LocksAPI_Lease_Create_Request, LocksAPI_Lease_Create_Response, LocksAPI_Lease_Release_Request, LocksAPI_Lease_Release_Response, LocksAPI_Lease_Update_Request, LocksAPI_Lease_Update_Response, LocksAPI_LockFieldValues_Create_Request, LocksAPI_LockFieldValues_Create_Response, LocksAPI_LockFieldValues_Create_Response_LockInfo, MaintenanceAPI_License_Request, MaintenanceAPI_License_Response, MaintenanceAPI_Ping_Request, MaintenanceAPI_Ping_Response, MaintenanceAPI_Ping_Response_Compression, MiscAPI_ListResourceTypes_Request, MiscAPI_ListResourceTypes_Response, NotificationAPI_Ack_Request, NotificationAPI_Ack_Response, NotificationAPI_Discard_Request, NotificationAPI_Discard_Response, NotificationAPI_Get_Request, NotificationAPI_Get_Response, ResourceAPI_CreateChild_Request, ResourceAPI_CreateChild_Response, ResourceAPI_CreateEphemeral_Request, ResourceAPI_CreateEphemeral_Response, ResourceAPI_CreateRoot_Request, ResourceAPI_CreateRoot_Response, ResourceAPI_CreateSingleton_Request, ResourceAPI_CreateSingleton_Response, ResourceAPI_CreateStruct_Request, ResourceAPI_CreateStruct_Response, ResourceAPI_CreateValue_Request, ResourceAPI_CreateValue_Response, ResourceAPI_Exists_Request, ResourceAPI_Exists_Response, ResourceAPI_GetSingleton_Request, ResourceAPI_GetSingleton_Response, ResourceAPI_GetValueID_Request, ResourceAPI_GetValueID_Response, ResourceAPI_Get_Request, ResourceAPI_Get_Response, ResourceAPI_List_ByType_Request, ResourceAPI_List_ByType_Response, ResourceAPI_LockInputs_Request, ResourceAPI_LockInputs_Response, ResourceAPI_LockOutputs_Request, ResourceAPI_LockOutputs_Response, ResourceAPI_Name_Delete_Request, ResourceAPI_Name_Delete_Response, ResourceAPI_Name_Exists_Request, ResourceAPI_Name_Exists_Response, ResourceAPI_Name_Get_Request, ResourceAPI_Name_Get_Response, ResourceAPI_Name_Set_Request, ResourceAPI_Name_Set_Response, ResourceAPI_Remove_Request, ResourceAPI_Remove_Response, ResourceAPI_SetError_Request, ResourceAPI_SetError_Response, ResourceAPI_TreeSize_Request, ResourceAPI_TreeSize_Response, ResourceAPI_Tree_Filter, ResourceAPI_Tree_Filter_FilterGroup, ResourceAPI_Tree_Filter_OperatorType, ResourceAPI_Tree_Filter_Property, ResourceAPI_Tree_KV, ResourceAPI_Tree_Request, ResourceAPI_Tree_Response, ResourceAPI_Tree_SeedResource, ResourceKVAPI_Delete_Request, ResourceKVAPI_Delete_Response, ResourceKVAPI_GetFlag_Request, ResourceKVAPI_GetFlag_Response, ResourceKVAPI_GetIfExists_Request, ResourceKVAPI_GetIfExists_Response, ResourceKVAPI_Get_Request, ResourceKVAPI_Get_Response, ResourceKVAPI_List_Request, ResourceKVAPI_List_Response, ResourceKVAPI_List_Response_KV, ResourceKVAPI_SetFlag_Request, ResourceKVAPI_SetFlag_Response, ResourceKVAPI_Set_Request, ResourceKVAPI_Set_Response, SubscriptionAPI_AttachFilter_Request, SubscriptionAPI_AttachFilter_Response, SubscriptionAPI_CreateFilter_Request, SubscriptionAPI_CreateFilter_Response, SubscriptionAPI_CreateSubscription_Request, SubscriptionAPI_CreateSubscription_Response, SubscriptionAPI_DetachFilter_Request, SubscriptionAPI_DetachFilter_Response, TxAPI_ClientMessage, TxAPI_CloseStream_Request, TxAPI_CloseStream_Response, TxAPI_Commit_Request, TxAPI_Commit_Response, TxAPI_Discard_Request, TxAPI_Discard_Response, TxAPI_Open_Request, TxAPI_Open_Request_WritableTx, TxAPI_Open_Response, TxAPI_ServerMessage, TxAPI_ServerMessage_Multi, TxAPI_SetDefaultColor_Request, TxAPI_SetDefaultColor_Response, TxAPI_Sync_Request, TxAPI_Sync_Response, Util_Deprecated };
5591
5696
  //# sourceMappingURL=api.d.ts.map