@milaboratories/pl-client 3.14.7 → 3.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/dist/core/PromiseTracker.d.ts +1 -2
  2. package/dist/core/PromiseTracker.d.ts.map +1 -1
  3. package/dist/core/abstract_stream.d.ts +2 -3
  4. package/dist/core/abstract_stream.d.ts.map +1 -1
  5. package/dist/core/auth.d.ts +2 -4
  6. package/dist/core/auth.d.ts.map +1 -1
  7. package/dist/core/cache.d.ts +1 -3
  8. package/dist/core/cache.d.ts.map +1 -1
  9. package/dist/core/capabilities.d.ts +2 -3
  10. package/dist/core/capabilities.d.ts.map +1 -1
  11. package/dist/core/client.cjs +7 -0
  12. package/dist/core/client.cjs.map +1 -1
  13. package/dist/core/client.d.ts +8 -5
  14. package/dist/core/client.d.ts.map +1 -1
  15. package/dist/core/client.js +7 -0
  16. package/dist/core/client.js.map +1 -1
  17. package/dist/core/config.d.ts +29 -31
  18. package/dist/core/config.d.ts.map +1 -1
  19. package/dist/core/default_client.d.ts +2 -4
  20. package/dist/core/default_client.d.ts.map +1 -1
  21. package/dist/core/driver.d.ts +4 -6
  22. package/dist/core/driver.d.ts.map +1 -1
  23. package/dist/core/errors.d.ts +20 -22
  24. package/dist/core/errors.d.ts.map +1 -1
  25. package/dist/core/final.d.ts +4 -5
  26. package/dist/core/final.d.ts.map +1 -1
  27. package/dist/core/ll_client.cjs +45 -18
  28. package/dist/core/ll_client.cjs.map +1 -1
  29. package/dist/core/ll_client.d.ts +21 -10
  30. package/dist/core/ll_client.d.ts.map +1 -1
  31. package/dist/core/ll_client.js +45 -18
  32. package/dist/core/ll_client.js.map +1 -1
  33. package/dist/core/ll_transaction.d.ts +4 -6
  34. package/dist/core/ll_transaction.d.ts.map +1 -1
  35. package/dist/core/stat.d.ts +2 -3
  36. package/dist/core/stat.d.ts.map +1 -1
  37. package/dist/core/transaction.cjs +2 -1
  38. package/dist/core/transaction.cjs.map +1 -1
  39. package/dist/core/transaction.d.ts +30 -32
  40. package/dist/core/transaction.d.ts.map +1 -1
  41. package/dist/core/transaction.js +2 -1
  42. package/dist/core/transaction.js.map +1 -1
  43. package/dist/core/tree_filter.d.ts +14 -10
  44. package/dist/core/tree_filter.d.ts.map +1 -1
  45. package/dist/core/types.d.ts +54 -55
  46. package/dist/core/types.d.ts.map +1 -1
  47. package/dist/core/unauth_client.cjs +79 -32
  48. package/dist/core/unauth_client.cjs.map +1 -1
  49. package/dist/core/unauth_client.d.ts +53 -20
  50. package/dist/core/unauth_client.d.ts.map +1 -1
  51. package/dist/core/unauth_client.js +79 -32
  52. package/dist/core/unauth_client.js.map +1 -1
  53. package/dist/core/user_resources.cjs +23 -0
  54. package/dist/core/user_resources.cjs.map +1 -1
  55. package/dist/core/user_resources.d.ts +33 -7
  56. package/dist/core/user_resources.d.ts.map +1 -1
  57. package/dist/core/user_resources.js +23 -0
  58. package/dist/core/user_resources.js.map +1 -1
  59. package/dist/core/wire.d.ts +5 -7
  60. package/dist/core/wire.d.ts.map +1 -1
  61. package/dist/helpers/pl.d.ts +32 -34
  62. package/dist/helpers/pl.d.ts.map +1 -1
  63. package/dist/helpers/poll.d.ts +8 -9
  64. package/dist/helpers/poll.d.ts.map +1 -1
  65. package/dist/helpers/tx_helpers.d.ts +2 -4
  66. package/dist/helpers/tx_helpers.d.ts.map +1 -1
  67. package/dist/index.d.ts +3 -3
  68. package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.d.ts +2 -4
  69. package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.d.ts.map +1 -1
  70. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.cjs +310 -15
  71. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.cjs.map +1 -1
  72. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs +19 -3
  73. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs.map +1 -1
  74. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +29 -5
  75. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +1 -1
  76. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.js +19 -3
  77. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.js.map +1 -1
  78. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +2336 -429
  79. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -1
  80. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.js +309 -16
  81. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.js.map +1 -1
  82. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts +51 -30
  83. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts.map +1 -1
  84. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts +7 -9
  85. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts.map +1 -1
  86. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts +6 -8
  87. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts.map +1 -1
  88. package/dist/proto-grpc/google/protobuf/any.d.ts +2 -4
  89. package/dist/proto-grpc/google/protobuf/any.d.ts.map +1 -1
  90. package/dist/proto-grpc/google/protobuf/duration.d.ts +2 -4
  91. package/dist/proto-grpc/google/protobuf/duration.d.ts.map +1 -1
  92. package/dist/proto-grpc/google/protobuf/timestamp.d.ts +2 -4
  93. package/dist/proto-grpc/google/protobuf/timestamp.d.ts.map +1 -1
  94. package/dist/proto-grpc/google/rpc/code.d.ts +1 -2
  95. package/dist/proto-grpc/google/rpc/code.d.ts.map +1 -1
  96. package/dist/proto-rest/index.d.ts +6 -8
  97. package/dist/proto-rest/index.d.ts.map +1 -1
  98. package/dist/proto-rest/plapi.d.ts +248 -123
  99. package/dist/proto-rest/plapi.d.ts.map +1 -1
  100. package/dist/test/tcp-proxy.d.ts +3 -5
  101. package/dist/test/tcp-proxy.d.ts.map +1 -1
  102. package/dist/test/test_config.d.ts +13 -14
  103. package/dist/test/test_config.d.ts.map +1 -1
  104. package/package.json +6 -6
  105. package/src/core/client.ts +9 -0
  106. package/src/core/ll_client.ts +40 -13
  107. package/src/core/transaction.ts +2 -0
  108. package/src/core/unauth_client.test.ts +69 -1
  109. package/src/core/unauth_client.ts +108 -34
  110. package/src/core/unauth_client_branch.test.ts +416 -5
  111. package/src/core/user_resources.ts +39 -0
  112. package/src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +34 -3
  113. package/src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.ts +431 -15
  114. package/src/proto-rest/plapi.ts +8 -2
@@ -315,6 +315,22 @@ var PlatformClient = class {
315
315
  return (0, _protobuf_ts_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
316
316
  }
317
317
  /**
318
+ * DeleteUser removes a user account from the instance: the user record, every login-index
319
+ * entry that resolves to it, every grant it holds, and its root resource with everything
320
+ * still attached under it. Admin-only and irreversible - re-attach anything worth keeping
321
+ * to another user's root before calling (`pl-cli admin delete-user` does both steps).
322
+ *
323
+ * Exists because multi-provider auth can mint a duplicate account for one person: the waste
324
+ * record shows up in the sharing UI and its projects keep taking part in deduplication, and
325
+ * until now nothing could remove it.
326
+ *
327
+ * @generated from protobuf rpc: DeleteUser
328
+ */
329
+ deleteUser(input, options) {
330
+ const method = this.methods[35], opt = this._transport.mergeOptions(options);
331
+ return (0, _protobuf_ts_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
332
+ }
333
+ /**
318
334
  *
319
335
  * Other stuff
320
336
  *
@@ -322,7 +338,7 @@ var PlatformClient = class {
322
338
  * @generated from protobuf rpc: ListResourceTypes
323
339
  */
324
340
  listResourceTypes(input, options) {
325
- const method = this.methods[35], opt = this._transport.mergeOptions(options);
341
+ const method = this.methods[36], opt = this._transport.mergeOptions(options);
326
342
  return (0, _protobuf_ts_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
327
343
  }
328
344
  /**
@@ -333,14 +349,14 @@ var PlatformClient = class {
333
349
  * @generated from protobuf rpc: Ping
334
350
  */
335
351
  ping(input, options) {
336
- const method = this.methods[36], opt = this._transport.mergeOptions(options);
352
+ const method = this.methods[37], opt = this._transport.mergeOptions(options);
337
353
  return (0, _protobuf_ts_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
338
354
  }
339
355
  /**
340
356
  * @generated from protobuf rpc: License
341
357
  */
342
358
  license(input, options) {
343
- const method = this.methods[37], opt = this._transport.mergeOptions(options);
359
+ const method = this.methods[38], opt = this._transport.mergeOptions(options);
344
360
  return (0, _protobuf_ts_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
345
361
  }
346
362
  };
@@ -1 +1 @@
1
- {"version":3,"file":"api.client.cjs","names":["Platform"],"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,WAAWA,YAAAA,SAAS;CACpB,UAAUA,YAAAA,SAAS;CACnB,UAAUA,YAAAA,SAAS;CACnB,YAAY,YAA2C;EAA1B,KAAA,aAAA;CAC7B;;;;;;;;CAQA,GAAG,SAAqF;EACpF,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,OAAO;EAC1E,QAAA,GAAA,yBAAA,eAAA,CAAgE,UAAU,KAAK,YAAY,QAAQ,GAAG;CAC1G;;;;CAIA,OAAO,OAA2B,SAA0E;EACxG,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,OAAO;EAC1E,QAAA,GAAA,yBAAA,eAAA,CAA+D,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CAC/G;;;;;;;;CAQA,yBAAyB,OAA6C,SAA8G;EAChL,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,OAAO;EAC1E,QAAA,GAAA,yBAAA,eAAA,CAAmG,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CACnJ;;;;CAIA,yBAAyB,OAA6C,SAA8G;EAChL,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,OAAO;EAC1E,QAAA,GAAA,yBAAA,eAAA,CAAmG,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CACnJ;;;;CAIA,iBAAiB,OAAoC,SAA4F;EAC7I,MAAM,SAAS,K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,GAAA,yBAAA,eAAA,CAAuF,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CACvI;AACJ"}
1
+ {"version":3,"file":"api.client.cjs","names":["Platform"],"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_DeleteUser_Response } from \"./api\";\nimport type { AuthAPI_DeleteUser_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 * DeleteUser removes a user account from the instance: the user record, every login-index\n * entry that resolves to it, every grant it holds, and its root resource with everything\n * still attached under it. Admin-only and irreversible - re-attach anything worth keeping\n * to another user's root before calling (`pl-cli admin delete-user` does both steps).\n *\n * Exists because multi-provider auth can mint a duplicate account for one person: the waste\n * record shows up in the sharing UI and its projects keep taking part in deduplication, and\n * until now nothing could remove it.\n *\n * @generated from protobuf rpc: DeleteUser\n */\n deleteUser(input: AuthAPI_DeleteUser_Request, options?: RpcOptions): UnaryCall<AuthAPI_DeleteUser_Request, AuthAPI_DeleteUser_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 * DeleteUser removes a user account from the instance: the user record, every login-index\n * entry that resolves to it, every grant it holds, and its root resource with everything\n * still attached under it. Admin-only and irreversible - re-attach anything worth keeping\n * to another user's root before calling (`pl-cli admin delete-user` does both steps).\n *\n * Exists because multi-provider auth can mint a duplicate account for one person: the waste\n * record shows up in the sharing UI and its projects keep taking part in deduplication, and\n * until now nothing could remove it.\n *\n * @generated from protobuf rpc: DeleteUser\n */\n deleteUser(input: AuthAPI_DeleteUser_Request, options?: RpcOptions): UnaryCall<AuthAPI_DeleteUser_Request, AuthAPI_DeleteUser_Response> {\n const method = this.methods[35], opt = this._transport.mergeOptions(options);\n return stackIntercept<AuthAPI_DeleteUser_Request, AuthAPI_DeleteUser_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[36], 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[37], 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[38], opt = this._transport.mergeOptions(options);\n return stackIntercept<MaintenanceAPI_License_Request, MaintenanceAPI_License_Response>(\"unary\", this._transport, method, opt, input);\n }\n}\n"],"mappings":";;;;;;AA2UA,IAAa,iBAAb,MAAoE;CAInC;CAH7B,WAAWA,YAAAA,SAAS;CACpB,UAAUA,YAAAA,SAAS;CACnB,UAAUA,YAAAA,SAAS;CACnB,YAAY,YAA2C;EAA1B,KAAA,aAAA;CAC7B;;;;;;;;CAQA,GAAG,SAAqF;EACpF,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,OAAO;EAC1E,QAAA,GAAA,yBAAA,eAAA,CAAgE,UAAU,KAAK,YAAY,QAAQ,GAAG;CAC1G;;;;CAIA,OAAO,OAA2B,SAA0E;EACxG,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,OAAO;EAC1E,QAAA,GAAA,yBAAA,eAAA,CAA+D,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CAC/G;;;;;;;;CAQA,yBAAyB,OAA6C,SAA8G;EAChL,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,OAAO;E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QAAQ,KAAK,KAAK;CAC/H;;;;;;;;CAQA,kBAAkB,OAA0C,SAAwG;EAChK,MAAM,SAAS,KAAK,QAAQ,KAAK,MAAM,KAAK,WAAW,aAAa,OAAO;EAC3E,QAAA,GAAA,yBAAA,eAAA,CAA6F,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CAC7I;;;;;;;;CAQA,KAAK,OAAoC,SAA4F;EACjI,MAAM,SAAS,KAAK,QAAQ,KAAK,MAAM,KAAK,WAAW,aAAa,OAAO;EAC3E,QAAA,GAAA,yBAAA,eAAA,CAAiF,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CACjI;;;;CAIA,QAAQ,OAAuC,SAAkG;EAC7I,MAAM,SAAS,KAAK,QAAQ,KAAK,MAAM,KAAK,WAAW,aAAa,OAAO;EAC3E,QAAA,GAAA,yBAAA,eAAA,CAAuF,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CACvI;AACJ"}
@@ -1,11 +1,10 @@
1
- import { 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_ListUsers_Request, AuthAPI_ListUsers_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, 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, SubscriptionAPI_AttachFilter_Request, SubscriptionAPI_AttachFilter_Response, SubscriptionAPI_DetachFilter_Request, SubscriptionAPI_DetachFilter_Response, TxAPI_ClientMessage, TxAPI_ServerMessage, TxAPI_Sync_Request, TxAPI_Sync_Response } from "./api.js";
1
+ import { AuthAPI_BeginSSOLogin_Request, AuthAPI_BeginSSOLogin_Response, AuthAPI_DeleteUser_Request, AuthAPI_DeleteUser_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_ListUsers_Request, AuthAPI_ListUsers_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, 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, SubscriptionAPI_AttachFilter_Request, SubscriptionAPI_AttachFilter_Response, SubscriptionAPI_DetachFilter_Request, SubscriptionAPI_DetachFilter_Response, TxAPI_ClientMessage, TxAPI_ServerMessage, TxAPI_Sync_Request, TxAPI_Sync_Response } from "./api.js";
2
2
  import { DuplexStreamingCall, RpcOptions, RpcTransport, ServerStreamingCall, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
3
-
4
3
  //#region src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts
5
4
  /**
6
5
  * @generated from protobuf service MiLaboratories.PL.API.Platform
7
6
  */
8
- interface IPlatformClient {
7
+ export interface IPlatformClient {
9
8
  /**
10
9
  *
11
10
  * Transactions
@@ -203,6 +202,19 @@ interface IPlatformClient {
203
202
  * @generated from protobuf rpc: ListUsers
204
203
  */
205
204
  listUsers(input: AuthAPI_ListUsers_Request, options?: RpcOptions): UnaryCall<AuthAPI_ListUsers_Request, AuthAPI_ListUsers_Response>;
205
+ /**
206
+ * DeleteUser removes a user account from the instance: the user record, every login-index
207
+ * entry that resolves to it, every grant it holds, and its root resource with everything
208
+ * still attached under it. Admin-only and irreversible - re-attach anything worth keeping
209
+ * to another user's root before calling (`pl-cli admin delete-user` does both steps).
210
+ *
211
+ * Exists because multi-provider auth can mint a duplicate account for one person: the waste
212
+ * record shows up in the sharing UI and its projects keep taking part in deduplication, and
213
+ * until now nothing could remove it.
214
+ *
215
+ * @generated from protobuf rpc: DeleteUser
216
+ */
217
+ deleteUser(input: AuthAPI_DeleteUser_Request, options?: RpcOptions): UnaryCall<AuthAPI_DeleteUser_Request, AuthAPI_DeleteUser_Response>;
206
218
  /**
207
219
  *
208
220
  * Other stuff
@@ -227,7 +239,7 @@ interface IPlatformClient {
227
239
  /**
228
240
  * @generated from protobuf service MiLaboratories.PL.API.Platform
229
241
  */
230
- declare class PlatformClient implements IPlatformClient, ServiceInfo {
242
+ export declare class PlatformClient implements IPlatformClient, ServiceInfo {
231
243
  private readonly _transport;
232
244
  typeName: string;
233
245
  methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
@@ -432,6 +444,19 @@ declare class PlatformClient implements IPlatformClient, ServiceInfo {
432
444
  * @generated from protobuf rpc: ListUsers
433
445
  */
434
446
  listUsers(input: AuthAPI_ListUsers_Request, options?: RpcOptions): UnaryCall<AuthAPI_ListUsers_Request, AuthAPI_ListUsers_Response>;
447
+ /**
448
+ * DeleteUser removes a user account from the instance: the user record, every login-index
449
+ * entry that resolves to it, every grant it holds, and its root resource with everything
450
+ * still attached under it. Admin-only and irreversible - re-attach anything worth keeping
451
+ * to another user's root before calling (`pl-cli admin delete-user` does both steps).
452
+ *
453
+ * Exists because multi-provider auth can mint a duplicate account for one person: the waste
454
+ * record shows up in the sharing UI and its projects keep taking part in deduplication, and
455
+ * until now nothing could remove it.
456
+ *
457
+ * @generated from protobuf rpc: DeleteUser
458
+ */
459
+ deleteUser(input: AuthAPI_DeleteUser_Request, options?: RpcOptions): UnaryCall<AuthAPI_DeleteUser_Request, AuthAPI_DeleteUser_Response>;
435
460
  /**
436
461
  *
437
462
  * Other stuff
@@ -454,5 +479,4 @@ declare class PlatformClient implements IPlatformClient, ServiceInfo {
454
479
  license(input: MaintenanceAPI_License_Request, options?: RpcOptions): UnaryCall<MaintenanceAPI_License_Request, MaintenanceAPI_License_Response>;
455
480
  }
456
481
  //#endregion
457
- export { IPlatformClient, PlatformClient };
458
482
  //# sourceMappingURL=api.client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"api.client.d.ts","names":[],"sources":["../../../../../../../src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts"],"mappings":";;;;;;;UA0FiB,eAAA;EAgFgB;;;;;;;EAxE7B,EAAA,CAAG,OAAA,GAAU,UAAA,GAAa,mBAAA,CAAoB,mBAAA,EAAqB,mBAAA;EA4EuE;;;EAxE1I,MAAA,CAAO,KAAA,EAAO,kBAAA,EAAoB,OAAA,GAAU,UAAA,GAAa,SAAA,CAAU,kBAAA,EAAoB,mBAAA;EA+FU;;;;;;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AAU,OAAO,2BAA2B,UAAU,aAAa,UAAU,2BAA2B;;;;;;;;;;;;;EAgBxG,WAAW,OAAO,4BAA4B,UAAU,aAAa,UAAU,4BAA4B;;;;;;;;EAW3G,kBAAkB,OAAO,mCAAmC,UAAU,aAAa,UAAU,mCAAmC;;;;;;;;EAWhI,KAAK,OAAO,6BAA6B,UAAU,aAAa,UAAU,6BAA6B;;;;EAOvG,QAAQ,OAAO,gCAAgC,UAAU,aAAa,UAAU,gCAAgC"}
@@ -315,6 +315,22 @@ var PlatformClient = class {
315
315
  return stackIntercept("unary", this._transport, method, opt, input);
316
316
  }
317
317
  /**
318
+ * DeleteUser removes a user account from the instance: the user record, every login-index
319
+ * entry that resolves to it, every grant it holds, and its root resource with everything
320
+ * still attached under it. Admin-only and irreversible - re-attach anything worth keeping
321
+ * to another user's root before calling (`pl-cli admin delete-user` does both steps).
322
+ *
323
+ * Exists because multi-provider auth can mint a duplicate account for one person: the waste
324
+ * record shows up in the sharing UI and its projects keep taking part in deduplication, and
325
+ * until now nothing could remove it.
326
+ *
327
+ * @generated from protobuf rpc: DeleteUser
328
+ */
329
+ deleteUser(input, options) {
330
+ const method = this.methods[35], opt = this._transport.mergeOptions(options);
331
+ return stackIntercept("unary", this._transport, method, opt, input);
332
+ }
333
+ /**
318
334
  *
319
335
  * Other stuff
320
336
  *
@@ -322,7 +338,7 @@ var PlatformClient = class {
322
338
  * @generated from protobuf rpc: ListResourceTypes
323
339
  */
324
340
  listResourceTypes(input, options) {
325
- const method = this.methods[35], opt = this._transport.mergeOptions(options);
341
+ const method = this.methods[36], opt = this._transport.mergeOptions(options);
326
342
  return stackIntercept("unary", this._transport, method, opt, input);
327
343
  }
328
344
  /**
@@ -333,14 +349,14 @@ var PlatformClient = class {
333
349
  * @generated from protobuf rpc: Ping
334
350
  */
335
351
  ping(input, options) {
336
- const method = this.methods[36], opt = this._transport.mergeOptions(options);
352
+ const method = this.methods[37], opt = this._transport.mergeOptions(options);
337
353
  return stackIntercept("unary", this._transport, method, opt, input);
338
354
  }
339
355
  /**
340
356
  * @generated from protobuf rpc: License
341
357
  */
342
358
  license(input, options) {
343
- const method = this.methods[37], opt = this._transport.mergeOptions(options);
359
+ const method = this.methods[38], opt = this._transport.mergeOptions(options);
344
360
  return stackIntercept("unary", this._transport, method, opt, input);
345
361
  }
346
362
  };