@eva_solutions/auth-sdk 0.0.0-stage → 3.0.0-dev-20261107051125

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 (205) hide show
  1. package/CHANGELOG.md +290 -0
  2. package/LICENSE +21 -0
  3. package/README.md +481 -2
  4. package/dist/admin/index.cjs +4 -0
  5. package/dist/admin/index.d.cts +2 -0
  6. package/dist/admin/index.d.ts +2 -0
  7. package/dist/admin/index.js +1 -0
  8. package/dist/admin-DjvuvuI8.js +408 -0
  9. package/dist/admin-DjvuvuI8.js.map +1 -0
  10. package/dist/admin-Q6lbWqLM.cjs +419 -0
  11. package/dist/admin-Q6lbWqLM.cjs.map +1 -0
  12. package/dist/api-path-2Ulruz7R.cjs +34 -0
  13. package/dist/api-path-2Ulruz7R.cjs.map +1 -0
  14. package/dist/api-path-B-vSkL2H.js +29 -0
  15. package/dist/api-path-B-vSkL2H.js.map +1 -0
  16. package/dist/auth-19r-Q6X2.js +84 -0
  17. package/dist/auth-19r-Q6X2.js.map +1 -0
  18. package/dist/auth-DX1N5JA4.cjs +131 -0
  19. package/dist/auth-DX1N5JA4.cjs.map +1 -0
  20. package/dist/auth-handlers-B3iJaPln.js +343 -0
  21. package/dist/auth-handlers-B3iJaPln.js.map +1 -0
  22. package/dist/auth-handlers-BTbXKJms.d.ts +15 -0
  23. package/dist/auth-handlers-BTbXKJms.d.ts.map +1 -0
  24. package/dist/auth-handlers-CDzGFDTu.cjs +404 -0
  25. package/dist/auth-handlers-CDzGFDTu.cjs.map +1 -0
  26. package/dist/auth-handlers-DRUUTEtW.d.cts +15 -0
  27. package/dist/auth-handlers-DRUUTEtW.d.cts.map +1 -0
  28. package/dist/catalog-CHPqldcj.cjs +172 -0
  29. package/dist/catalog-CHPqldcj.cjs.map +1 -0
  30. package/dist/catalog-CIqpzgsM.d.cts +75 -0
  31. package/dist/catalog-CIqpzgsM.d.cts.map +1 -0
  32. package/dist/catalog-CIqpzgsM.d.ts +75 -0
  33. package/dist/catalog-CIqpzgsM.d.ts.map +1 -0
  34. package/dist/catalog-DqPhtCKZ.js +95 -0
  35. package/dist/catalog-DqPhtCKZ.js.map +1 -0
  36. package/dist/config-D6Tr7ev6.d.cts +95 -0
  37. package/dist/config-D6Tr7ev6.d.cts.map +1 -0
  38. package/dist/config-rl4_-VAq.d.ts +95 -0
  39. package/dist/config-rl4_-VAq.d.ts.map +1 -0
  40. package/dist/constants-BE1_9Tod.cjs +52 -0
  41. package/dist/constants-BE1_9Tod.cjs.map +1 -0
  42. package/dist/constants-BY7QZokc.js +29 -0
  43. package/dist/constants-BY7QZokc.js.map +1 -0
  44. package/dist/constants-CcbhOaAP.cjs +153 -0
  45. package/dist/constants-CcbhOaAP.cjs.map +1 -0
  46. package/dist/constants-rNuD5qJn.js +94 -0
  47. package/dist/constants-rNuD5qJn.js.map +1 -0
  48. package/dist/contracts/index.cjs +1006 -0
  49. package/dist/contracts/index.cjs.map +1 -0
  50. package/dist/contracts/index.d.cts +488 -0
  51. package/dist/contracts/index.d.cts.map +1 -0
  52. package/dist/contracts/index.d.ts +488 -0
  53. package/dist/contracts/index.d.ts.map +1 -0
  54. package/dist/contracts/index.js +817 -0
  55. package/dist/contracts/index.js.map +1 -0
  56. package/dist/cookies-DCIcr7uy.cjs +94 -0
  57. package/dist/cookies-DCIcr7uy.cjs.map +1 -0
  58. package/dist/cookies-DKEC7AWv.js +71 -0
  59. package/dist/cookies-DKEC7AWv.js.map +1 -0
  60. package/dist/delegated-token-CVNbMNfy.js +426 -0
  61. package/dist/delegated-token-CVNbMNfy.js.map +1 -0
  62. package/dist/delegated-token-DHSK4rHI.cjs +461 -0
  63. package/dist/delegated-token-DHSK4rHI.cjs.map +1 -0
  64. package/dist/error-helpers-BenWu-_u.d.ts +105 -0
  65. package/dist/error-helpers-BenWu-_u.d.ts.map +1 -0
  66. package/dist/error-helpers-KBHUbkOM.d.cts +105 -0
  67. package/dist/error-helpers-KBHUbkOM.d.cts.map +1 -0
  68. package/dist/error-helpers-XCh4ZJ-g.cjs +282 -0
  69. package/dist/error-helpers-XCh4ZJ-g.cjs.map +1 -0
  70. package/dist/error-helpers-lnwgNOw9.js +145 -0
  71. package/dist/error-helpers-lnwgNOw9.js.map +1 -0
  72. package/dist/error-messages-CGpW1fsg.d.cts +48 -0
  73. package/dist/error-messages-CGpW1fsg.d.cts.map +1 -0
  74. package/dist/error-messages-CGpW1fsg.d.ts +48 -0
  75. package/dist/error-messages-CGpW1fsg.d.ts.map +1 -0
  76. package/dist/event-codes-BBJHon-I.cjs +48 -0
  77. package/dist/event-codes-BBJHon-I.cjs.map +1 -0
  78. package/dist/event-codes-BgcJWsov.d.cts +42 -0
  79. package/dist/event-codes-BgcJWsov.d.cts.map +1 -0
  80. package/dist/event-codes-BgcJWsov.d.ts +42 -0
  81. package/dist/event-codes-BgcJWsov.d.ts.map +1 -0
  82. package/dist/event-codes-DR5_VlaR.js +43 -0
  83. package/dist/event-codes-DR5_VlaR.js.map +1 -0
  84. package/dist/generic/index.cjs +91 -0
  85. package/dist/generic/index.cjs.map +1 -0
  86. package/dist/generic/index.d.cts +27 -0
  87. package/dist/generic/index.d.cts.map +1 -0
  88. package/dist/generic/index.d.ts +27 -0
  89. package/dist/generic/index.d.ts.map +1 -0
  90. package/dist/generic/index.js +80 -0
  91. package/dist/generic/index.js.map +1 -0
  92. package/dist/hono/index.cjs +309 -0
  93. package/dist/hono/index.cjs.map +1 -0
  94. package/dist/hono/index.d.cts +272 -0
  95. package/dist/hono/index.d.cts.map +1 -0
  96. package/dist/hono/index.d.ts +272 -0
  97. package/dist/hono/index.d.ts.map +1 -0
  98. package/dist/hono/index.js +290 -0
  99. package/dist/hono/index.js.map +1 -0
  100. package/dist/hono-openapi/index.cjs +326 -0
  101. package/dist/hono-openapi/index.cjs.map +1 -0
  102. package/dist/hono-openapi/index.d.cts +14 -0
  103. package/dist/hono-openapi/index.d.cts.map +1 -0
  104. package/dist/hono-openapi/index.d.ts +14 -0
  105. package/dist/hono-openapi/index.d.ts.map +1 -0
  106. package/dist/hono-openapi/index.js +307 -0
  107. package/dist/hono-openapi/index.js.map +1 -0
  108. package/dist/http-client-BVF3iktR.cjs +211 -0
  109. package/dist/http-client-BVF3iktR.cjs.map +1 -0
  110. package/dist/http-client-Da0-OMfc.js +206 -0
  111. package/dist/http-client-Da0-OMfc.js.map +1 -0
  112. package/dist/index-BYzDaMR9.d.ts +312 -0
  113. package/dist/index-BYzDaMR9.d.ts.map +1 -0
  114. package/dist/index-CNNMCrdl.d.ts +66 -0
  115. package/dist/index-CNNMCrdl.d.ts.map +1 -0
  116. package/dist/index-DBZoLU4E.d.ts +240 -0
  117. package/dist/index-DBZoLU4E.d.ts.map +1 -0
  118. package/dist/index-DcvQWByo.d.cts +66 -0
  119. package/dist/index-DcvQWByo.d.cts.map +1 -0
  120. package/dist/index-Dold-Ycb.d.cts +1711 -0
  121. package/dist/index-Dold-Ycb.d.cts.map +1 -0
  122. package/dist/index-Dold-Ycb.d.ts +1711 -0
  123. package/dist/index-Dold-Ycb.d.ts.map +1 -0
  124. package/dist/index-jAO62-OD.d.cts +240 -0
  125. package/dist/index-jAO62-OD.d.cts.map +1 -0
  126. package/dist/index-o7nXcl7z.d.cts +312 -0
  127. package/dist/index-o7nXcl7z.d.cts.map +1 -0
  128. package/dist/index.cjs +89 -0
  129. package/dist/index.cjs.map +1 -0
  130. package/dist/index.d.cts +114 -0
  131. package/dist/index.d.cts.map +1 -0
  132. package/dist/index.d.ts +114 -0
  133. package/dist/index.d.ts.map +1 -0
  134. package/dist/index.js +28 -0
  135. package/dist/index.js.map +1 -0
  136. package/dist/jwt-BBNqk0TV.cjs +155 -0
  137. package/dist/jwt-BBNqk0TV.cjs.map +1 -0
  138. package/dist/jwt-DhqgH94B.js +150 -0
  139. package/dist/jwt-DhqgH94B.js.map +1 -0
  140. package/dist/key-resolver-CESqj4-P.cjs +45 -0
  141. package/dist/key-resolver-CESqj4-P.cjs.map +1 -0
  142. package/dist/key-resolver-D56I2Zpz.js +34 -0
  143. package/dist/key-resolver-D56I2Zpz.js.map +1 -0
  144. package/dist/parse-error-response-6qOQS5y9.cjs +316 -0
  145. package/dist/parse-error-response-6qOQS5y9.cjs.map +1 -0
  146. package/dist/parse-error-response-BM9-kjs0.js +239 -0
  147. package/dist/parse-error-response-BM9-kjs0.js.map +1 -0
  148. package/dist/path-segment-C25i6aaH.cjs +29 -0
  149. package/dist/path-segment-C25i6aaH.cjs.map +1 -0
  150. package/dist/path-segment-CyqnaFrP.js +24 -0
  151. package/dist/path-segment-CyqnaFrP.js.map +1 -0
  152. package/dist/react/index.cjs +336 -0
  153. package/dist/react/index.cjs.map +1 -0
  154. package/dist/react/index.d.cts +151 -0
  155. package/dist/react/index.d.cts.map +1 -0
  156. package/dist/react/index.d.ts +151 -0
  157. package/dist/react/index.d.ts.map +1 -0
  158. package/dist/react/index.js +300 -0
  159. package/dist/react/index.js.map +1 -0
  160. package/dist/refresh-dedup-CKaHHe7m.js +14 -0
  161. package/dist/refresh-dedup-CKaHHe7m.js.map +1 -0
  162. package/dist/refresh-dedup-CLdACQXR.cjs +19 -0
  163. package/dist/refresh-dedup-CLdACQXR.cjs.map +1 -0
  164. package/dist/rolldown-runtime-CmQyd0Gu.cjs +27 -0
  165. package/dist/routes-DpAzgY1V.cjs +424 -0
  166. package/dist/routes-DpAzgY1V.cjs.map +1 -0
  167. package/dist/routes-F1g5aVqP.js +347 -0
  168. package/dist/routes-F1g5aVqP.js.map +1 -0
  169. package/dist/s2s/index.cjs +24 -0
  170. package/dist/s2s/index.d.cts +5 -0
  171. package/dist/s2s/index.d.ts +5 -0
  172. package/dist/s2s/index.js +5 -0
  173. package/dist/s2s-6wbotr78.cjs +926 -0
  174. package/dist/s2s-6wbotr78.cjs.map +1 -0
  175. package/dist/s2s-B_0SIQzn.js +897 -0
  176. package/dist/s2s-B_0SIQzn.js.map +1 -0
  177. package/dist/sign-C7y6xdvT.cjs +324 -0
  178. package/dist/sign-C7y6xdvT.cjs.map +1 -0
  179. package/dist/sign-HFtcYwa-.js +259 -0
  180. package/dist/sign-HFtcYwa-.js.map +1 -0
  181. package/dist/tokens-C1nzkn21.cjs +232 -0
  182. package/dist/tokens-C1nzkn21.cjs.map +1 -0
  183. package/dist/tokens-C3Z40qd7.js +107 -0
  184. package/dist/tokens-C3Z40qd7.js.map +1 -0
  185. package/dist/types-B5sf7kKE.d.cts +52 -0
  186. package/dist/types-B5sf7kKE.d.cts.map +1 -0
  187. package/dist/types-CLOIHzRu.d.ts +96 -0
  188. package/dist/types-CLOIHzRu.d.ts.map +1 -0
  189. package/dist/types-CQTZdZIF.d.ts +52 -0
  190. package/dist/types-CQTZdZIF.d.ts.map +1 -0
  191. package/dist/types-DGeQ8j4k.d.cts +538 -0
  192. package/dist/types-DGeQ8j4k.d.cts.map +1 -0
  193. package/dist/types-DIUWza9-.d.ts +538 -0
  194. package/dist/types-DIUWza9-.d.ts.map +1 -0
  195. package/dist/types-qh6ANBCV.d.cts +96 -0
  196. package/dist/types-qh6ANBCV.d.cts.map +1 -0
  197. package/dist/webhooks/index.cjs +8 -0
  198. package/dist/webhooks/index.d.cts +5 -0
  199. package/dist/webhooks/index.d.ts +5 -0
  200. package/dist/webhooks/index.js +4 -0
  201. package/dist/webhooks-B5sAWC9W.js +74 -0
  202. package/dist/webhooks-B5sAWC9W.js.map +1 -0
  203. package/dist/webhooks-Cx11psg1.cjs +79 -0
  204. package/dist/webhooks-Cx11psg1.cjs.map +1 -0
  205. package/package.json +192 -3
@@ -0,0 +1,488 @@
1
+ import { $ as addGrupoEmpresaRequestSchema, $n as updateServiceClientRequestSchema, $r as LoginRequest, $t as createSucursalRequestSchema, A as autorizacionResponseSchema, An as GetServiceClientResponse, Ar as UsersBatchResponse, At as CreateEmpresaRequest, B as verificarAutorizacionResponseSchema, Bn as UpdateServiceClientResponse, Br as PublicProfile, Bt as ListEmpresasQuery, C as DeleteAutorizacionRequest, Ci as PRIVACY_STATES, Cn as ServiceTokenRequest, Cr as rotateSubscriptionSecretResponseSchema, Ct as UpdateProductoRequest, D as SetProductoPermisosAutorizablesRequest, Dn as serviceTokenResponseSchema, Dr as subscriptionWithSecretResponseSchema, Dt as productoSchema, E as ProductoPermisosAutorizablesResponse, Ei as WEBHOOK_TIMESTAMP_WINDOW_SECONDS, En as serviceTokenRequestSchema, Er as subscriptionSchema, Et as productoResponseSchema, F as listAutorizacionesQuerySchema, Fn as ServiceClientGrant, Fr as sessionListResponseSchema, Ft as EmpresaMemberResponse, G as directorioQuerySchema, Gn as listServiceClientsResponseSchema, Gr as companySchema, Gt as Sucursal, H as DirectorioQuery, Hn as createServiceClientResponseSchema, Hr as UpdateUserRequest, Ht as ReassignTitularRequest, I as listAutorizacionesResponseSchema, In as ServiceClientPublic, Ir as Company, It as EmpresaPerfil, J as CreateGrupoRequest, Jn as serviceClientGrantSchema, Jr as publicProfileSchema, Jt as UpdateEmpresaMemberRequest, K as directorioResponseSchema, Kn as restoreUserResponseSchema, Kr as contractedCompanySchema, Kt as SucursalRecortada, L as productoPermisosAutorizablesResponseSchema, Ln as SetServiceClientGrantRequest, Lr as CompanyListResponse, Lt as EmpresaRecortadaResponse, M as createAutorizacionRequestSchema, Mn as ListServiceClientsResponse, Mr as usersBatchResponseSchema, Mt as DeactivateSucursalRequest, N as deleteAutorizacionRequestSchema, Nn as RestoreUserResponse, Nr as Session, Nt as EmpresaDetailResponse, O as VerificarAutorizacionQuery, On as CreateServiceClientRequest, Or as updateSubscriptionRequestSchema, Ot as updateProductoRequestSchema, P as interEmpresaPermissionSchema, Pn as RotateServiceClientSecretResponse, Pr as SessionListResponse, Pt as EmpresaEstadoResponse, Q as RenameGrupoRequest, Qn as setServiceClientGrantResponseSchema, Qr as GetCodeResponse, Qt as createEmpresaRequestSchema, R as setProductoPermisosAutorizablesRequestSchema, Rn as SetServiceClientGrantResponse, Rr as ContractedCompany, Rt as EmpresaResponse, S as CreateAutorizacionRequest, Si as INTERNAL_HEADERS, Sn as ServiceTokenError, Sr as republishPendingResponseSchema, St as ProductoResponse, T as ListAutorizacionesResponse, Ti as WEBHOOK_HEADERS, Tn as serviceTokenErrorSchema, Tr as subscriptionResponseSchema, Tt as listProductosResponseSchema, U as DirectorioResponse, Un as getServiceClientResponseSchema, Ur as companyGroupSchema, Ut as ReassignTitularResponse, V as DirectorioEmpresa, Vn as createServiceClientRequestSchema, Vr as UncontractedCompany, Vt as ListEmpresasResponse, W as directorioEmpresaSchema, Wn as listServiceClientGrantsResponseSchema, Wr as companyListResponseSchema, Wt as RemoveEmpresaMemberRequest, X as GrupoResponse, Xn as serviceClientSlugSchema, Xr as updateUserRequestSchema, Xt as UpdateSucursalRequest, Y as Grupo, Yn as serviceClientPublicSchema, Yr as uncontractedCompanySchema, Yt as UpdateEmpresaRequest, Z as RemoveGrupoEmpresaRequest, Zn as setServiceClientGrantRequestSchema, Zr as GetCodeRequest, Zt as addEmpresaMemberRequestSchema, _ as serviceClientDelegationSchema, _i as ACTIVITY_STATES, _n as sucursalSchema, _r as createSubscriptionRequestSchema, _t as tokenExchangeRequestSchema, a as empresaBranchEventPayloadSchema, ai as loginRequestSchema, an as empresaRecortadaResponseSchema, ar as CreateSubscriptionRequest, at as Contratacion, b as Autorizacion, bi as ERROR_CODES, bn as updateEmpresaRequestSchema, br as deliverySchema, bt as ListProductosResponse, c as empresaMemberRoleChangedPayloadSchema, ci as setActiveEmpresaRequestSchema, cn as listEmpresasQuerySchema, cr as DeliveryListResponse, ct as SetContratacionRequest, d as grupoMemberEventPayloadSchema, di as MessageWithCountResponse, dn as reassignTitularResponseSchema, dr as RotateSubscriptionSecretResponse, dt as contratadoResponseSchema, ei as LoginResponse, en as deactivateSucursalRequestSchema, er as updateServiceClientResponseSchema, et as createGrupoRequestSchema, f as ListServiceClientDelegationsResponse, fi as messageResponseSchema, fn as removeEmpresaMemberRequestSchema, fr as Subscription, ft as setContratacionRequestSchema, g as listServiceClientDelegationsResponseSchema, gi as ACCOUNT_STATES, gn as sucursalResponseSchema, gr as UpdateSubscriptionRequest, gt as tokenExchangeErrorSchema, h as SetServiceClientDelegationResponse, hi as errorResponseSchema, hn as sucursalRecortadaSchema, hr as SubscriptionWithSecretResponse, ht as TokenExchangeResponse, i as autorizacionEventPayloadSchema, ii as getCodeResponseSchema, in as empresaPerfilSchema, ir as maintenanceCleanupResponseSchema, it as renameGrupoRequestSchema, j as autorizacionSchema, jn as ListServiceClientGrantsResponse, jr as usersBatchRequestSchema, jt as CreateSucursalRequest, k as VerificarAutorizacionResponse, kn as CreateServiceClientResponse, kr as UsersBatchRequest, kt as AddEmpresaMemberRequest, l as empresaProductChangedPayloadSchema, li as setActiveEmpresaResponseSchema, ln as listEmpresasResponseSchema, lr as RepublishPendingQuery, lt as contratacionResponseSchema, m as SetServiceClientDelegationRequest, mi as ErrorResponse, mn as subjectTokenSchema, mr as SubscriptionResponse, mt as TokenExchangeRequest, n as EmpresaProductChangedPayload, ni as SetActiveEmpresaResponse, nn as empresaEstadoResponseSchema, nr as MaintenanceCleanupResponse, nt as grupoSchema, o as empresaEventPayloadSchema, oi as loginResponseSchema, on as empresaResponseSchema, or as DeliveriesQuery, ot as ContratacionResponse, p as ServiceClientDelegation, pi as messageWithCountResponseSchema, pn as subjectTokenRequestSchema, pr as SubscriptionListResponse, pt as TokenExchangeError, q as AddGrupoEmpresaRequest, qn as rotateServiceClientSecretResponseSchema, qr as profileResponseSchema, qt as SucursalResponse, r as IDENTITY_EVENT_PAYLOAD_SCHEMAS, ri as getCodeRequestSchema, rn as empresaMemberResponseSchema, rr as maintenanceCleanupQuerySchema, rt as removeGrupoEmpresaRequestSchema, s as empresaMemberEventPayloadSchema, si as productoSlugSchema, sn as getEmpresaResponseSchema, sr as Delivery, st as ContratadoResponse, t as AutorizacionEventPayload, ti as SetActiveEmpresaRequest, tn as empresaDetailResponseSchema, tr as MaintenanceCleanupQuery, tt as grupoResponseSchema, u as grupoEventPayloadSchema, ui as MessageResponse, un as reassignTitularRequestSchema, ur as RepublishPendingResponse, ut as contratacionSchema, v as setServiceClientDelegationRequestSchema, vi as CoreErrorCode, vn as updateEmpresaMemberRequestSchema, vr as deliveriesQuerySchema, vt as tokenExchangeResponseSchema, w as ListAutorizacionesQuery, wi as USERS_BATCH_MAX_IDS, wn as ServiceTokenResponse, wr as subscriptionListResponseSchema, wt as createProductoRequestSchema, x as AutorizacionResponse, xi as HEADERS, xn as updateSucursalRequestSchema, xr as republishPendingQuerySchema, xt as Producto, y as setServiceClientDelegationResponseSchema, yi as DELIVERY_STATUSES, yn as updateEmpresaPerfilSchema, yr as deliveryListResponseSchema, yt as CreateProductoRequest, z as verificarAutorizacionQuerySchema, zn as UpdateServiceClientRequest, zr as ProfileResponse, zt as GetEmpresaResponse } from "../index-Dold-Ycb.cjs";
2
+ import { n as EventCode, t as EVENT_CODES } from "../event-codes-BgcJWsov.cjs";
3
+ import { _ as isInterEmpresaPermission, a as DelegableScope, c as InterEmpresaOwner, d as SERVICE_AUDIENCE_SCOPES, f as ServiceAudience, g as isDelegableScope, h as isDelegableAudience, i as DelegableAudience, l as InterEmpresaPermission, m as interEmpresaPermissionOwner, n as DELEGABLE_AUDIENCE_SCOPES, o as INTER_EMPRESA_PERMISSIONS, p as ServiceScope, r as DELEGABLE_SCOPES, s as INTER_EMPRESA_PERMISSION_LIST, t as DELEGABLE_AUDIENCES, u as SERVICE_AUDIENCES, v as isScopeOfAudience, y as isServiceAudience } from "../catalog-CIqpzgsM.cjs";
4
+ /**
5
+ * PURE module: it must never reference `zod` or any schema module of this package (see
6
+ * `constants.ts`). Token vocabulary shared by the Auth service and every consumer: issuer, token
7
+ * types, key prefixes, lifetimes and the token endpoint error codes.
8
+ */
9
+ /** Issuer (`iss`) of every token the Auth service signs. */
10
+ declare const TOKEN_ISSUER = "auth-service";
11
+ /**
12
+ * Service client slugs nobody can create: the token issuer name (an `iss`-like value would let a
13
+ * client pass for the service itself).
14
+ */
15
+ declare const RESERVED_SERVICE_CLIENT_SLUGS: readonly ["auth-service"];
16
+ /** True when `slug` is reserved and cannot be used as a service client slug. */
17
+ declare function isReservedServiceClientSlug(slug: string): boolean;
18
+ /**
19
+ * Fixed id (`sub`) of the Auth service itself when it mints its own service tokens (the OTP send).
20
+ * Receivers register it like any other service client id.
21
+ */
22
+ declare const AUTH_SERVICE_SUB = "00000000-0000-4000-8000-000000000001";
23
+ /** Header `typ` of a user access token (RFC 9068). */
24
+ declare const USER_TOKEN_TYP = "at+jwt";
25
+ /** Header `typ` of a service access token. Distinct from the user one on purpose (RFC 8725 3.11). */
26
+ declare const SERVICE_TOKEN_TYP = "svc-at+jwt";
27
+ /** The `kid` of a user signing key starts with this prefix. */
28
+ declare const USER_KID_PREFIX = "usr-";
29
+ /** The `kid` of a service signing key starts with this prefix. */
30
+ declare const SERVICE_KID_PREFIX = "svc-";
31
+ /** Lifetime in seconds of a service token obtained from the token endpoint. */
32
+ declare const SERVICE_TOKEN_LIFETIME_SECONDS = 300;
33
+ /** Lifetime in seconds of the single-use service token Auth mints in-process per OTP send. */
34
+ declare const INTERNAL_SERVICE_TOKEN_LIFETIME_SECONDS = 60;
35
+ /**
36
+ * Error codes of the token endpoint (RFC 6749 5.2 and RFC 8707 2). Throttling a client has no
37
+ * code of its own: it answers `429` with `temporarily_unavailable` and a `Retry-After` header (the
38
+ * SDK token provider reads both).
39
+ */
40
+ declare const SERVICE_TOKEN_ERROR_CODES: readonly ["invalid_request", "invalid_client", "invalid_target", "invalid_scope", "temporarily_unavailable"];
41
+ /**
42
+ * Header `typ` of a delegated access token (token exchange, RFC 8693). A third type, distinct from
43
+ * the user and service ones: it is signed with a SERVICE key (`svc-` kid) but no service verifier
44
+ * accepts it, and the delegated verifier accepts nothing else.
45
+ */
46
+ declare const DELEGATED_TOKEN_TYP = "dlg-at+jwt";
47
+ /** Lifetime in seconds of a delegated token (`exp` never exceeds the one of the subject token). */
48
+ declare const DELEGATED_TOKEN_LIFETIME_SECONDS = 120;
49
+ /**
50
+ * Most levels the `act` (actor) chain of a delegated token can have. A delegated token that
51
+ * already has this many levels cannot be exchanged again.
52
+ */
53
+ declare const DELEGATED_TOKEN_MAX_DEPTH = 3;
54
+ /** `grant_type` of the token exchange request (RFC 8693 2.1). */
55
+ declare const TOKEN_EXCHANGE_GRANT_TYPE = "urn:ietf:params:oauth:grant-type:token-exchange";
56
+ /**
57
+ * Token type identifier for `subject_token_type` (what is exchanged) and `issued_token_type` (what
58
+ * comes back): both are JWT access tokens (RFC 8693 3).
59
+ */
60
+ declare const ACCESS_TOKEN_TYPE = "urn:ietf:params:oauth:token-type:access_token";
61
+ /**
62
+ * Claims of a delegated token (the `act` claim, RFC 8693 4.1): who acts on behalf of the user.
63
+ * `act` of the token is the LAST actor; each nested `act` is the previous one.
64
+ */
65
+ type DelegatedActorClaim = {
66
+ sub: string;
67
+ client_id: string;
68
+ act?: DelegatedActorClaim;
69
+ };
70
+ /**
71
+ * Header with which a service sends the access token of a person on the requests that cannot carry
72
+ * a body (the `GET` that needs a person's role). Every other person-bound request carries it as
73
+ * `subjectToken` in the body.
74
+ */
75
+ declare const SUBJECT_TOKEN_HEADER = "x-eva-subject-token";
76
+ /**
77
+ * Error codes of the token exchange endpoint (RFC 6749 5.2, RFC 8693 2.2.2 and RFC 8707 2).
78
+ * `invalid_grant`: the subject token or what it depends on (session, user, membership, company,
79
+ * contract, depth, cycle) is not valid. Throttling answers `429` with `temporarily_unavailable`.
80
+ */
81
+ declare const TOKEN_EXCHANGE_ERROR_CODES: readonly ["invalid_request", "invalid_client", "invalid_grant", "invalid_target", "invalid_scope", "temporarily_unavailable"];
82
+ /**
83
+ * Failure of the PERSON's token (`subjectToken`) on a person-bound request: invalid, expired, of
84
+ * another product, or its session/user is gone. It answers `403` with this code, never `401`: a
85
+ * `401` on `/internal/*` means the service Bearer was rejected (the S2S client then drops its
86
+ * service token and retries once), and a bad person token must not trigger that.
87
+ */
88
+ declare const SUBJECT_TOKEN_INVALID_STATUS = 403;
89
+ declare const SUBJECT_TOKEN_INVALID_CODE = "subject_token_invalid";
90
+ /**
91
+ * Keys that carry a person or service token in bodies, headers and token endpoint answers. The
92
+ * Auth API redacts them in logs and audit records. It is ADDED to the consumer's own redaction
93
+ * list (which already covers `refresh_token`, `authorization` and the like); it does not replace it.
94
+ */
95
+ declare const TOKEN_BEARING_KEYS: readonly ["subjectToken", "subject_token", "x-eva-subject-token", "access_token"];
96
+ /**
97
+ * PURE module: it must never reference `zod` or any schema module of this package (see
98
+ * `constants.ts`). Vocabulary of companies shared by the API, the SDK and the products: roles,
99
+ * company and contract states, directions of an authorization listing.
100
+ */
101
+ /** Role of a person in a company, from the most to the least powerful. Auth reads it from the DB on every operation. */
102
+ declare const EMPRESA_ROLES: readonly ["titular", "administrador", "miembro"];
103
+ type EmpresaRole = (typeof EMPRESA_ROLES)[number];
104
+ /** True when `role` is at least `minimum` (`titular` > `administrador` > `miembro`). */
105
+ declare function empresaRoleAtLeast(role: EmpresaRole, minimum: EmpresaRole): boolean;
106
+ /** States of a company. A company in `baja` answers 404 to every mutation except `reactivar`. */
107
+ declare const EMPRESA_ESTADOS: readonly ["activa", "baja"];
108
+ type EmpresaEstado = (typeof EMPRESA_ESTADOS)[number];
109
+ /** States of the contract of a product by a company (`empresa_productos.estado`). */
110
+ declare const CONTRATACION_ESTADOS: readonly ["prueba", "pendiente_pago", "activo", "suspendido", "cancelado"];
111
+ type ContratacionEstado = (typeof CONTRATACION_ESTADOS)[number];
112
+ /**
113
+ * The only states that count as contracted (and only while `hasta` is empty or in the future; Auth
114
+ * evaluates it on every read, no event fires when `hasta` passes).
115
+ */
116
+ declare const CONTRATACION_ESTADOS_VIGENTES: readonly ["prueba", "activo"];
117
+ /** States billing or the Auth admin can write on any contract row (a product only asks for `pendiente_pago` or `cancelado`). */
118
+ declare const CONTRATACION_ESTADOS_FACTURACION: readonly ["prueba", "activo", "suspendido", "cancelado"];
119
+ /** True when a contract in `estado` counts as contracted, ignoring `hasta`. */
120
+ declare function isContratacionVigente(estado: ContratacionEstado): boolean;
121
+ /** Directions of the authorizations listing of a company. */
122
+ declare const AUTORIZACION_DIRECCIONES: readonly ["otorgadas", "recibidas"];
123
+ type AutorizacionDireccion = (typeof AUTORIZACION_DIRECCIONES)[number];
124
+ /** What happens to the previous holder when the Auth admin reassigns the holder of a company. */
125
+ declare const TITULAR_ANTERIOR_DESTINOS: readonly ["miembro", "fuera"];
126
+ type TitularAnteriorDestino = (typeof TITULAR_ANTERIOR_DESTINOS)[number];
127
+ /**
128
+ * PURE module: it must never reference `zod` or any schema module of this package (see
129
+ * `constants.ts`). Routes are plain data.
130
+ */
131
+ /** Version prefix of every Auth route except the root ones (JWKS, health, docs UI). */
132
+ declare const API_PREFIX: "/api/v1";
133
+ type HttpMethod = 'get' | 'post' | 'put' | 'patch' | 'delete';
134
+ /**
135
+ * Route as data: `path` is relative to {@link API_PREFIX} and uses the OpenAPI template form
136
+ * (`/sessions/{id}`). `createRoute` stays in the API; the contract only describes the route.
137
+ */
138
+ type RouteDescriptor = {
139
+ readonly method: HttpMethod;
140
+ readonly path: `/${string}`;
141
+ };
142
+ /** Routes of the authenticated user profile. Relative to {@link API_PREFIX}. */
143
+ declare const USER_ROUTES: {
144
+ readonly get: {
145
+ readonly method: "get";
146
+ readonly path: "/user";
147
+ };
148
+ readonly update: {
149
+ readonly method: "patch";
150
+ readonly path: "/user";
151
+ };
152
+ readonly deactivate: {
153
+ readonly method: "delete";
154
+ readonly path: "/user";
155
+ };
156
+ readonly listCompanies: {
157
+ readonly method: "get";
158
+ readonly path: "/user/empresas";
159
+ };
160
+ };
161
+ /** Routes of the authenticated user sessions. Relative to {@link API_PREFIX}. */
162
+ declare const SESSION_ROUTES: {
163
+ readonly list: {
164
+ readonly method: "get";
165
+ readonly path: "/sessions";
166
+ };
167
+ readonly deleteOne: {
168
+ readonly method: "delete";
169
+ readonly path: "/sessions/{id}";
170
+ };
171
+ readonly deleteAll: {
172
+ readonly method: "delete";
173
+ readonly path: "/sessions";
174
+ };
175
+ };
176
+ /** Service-to-service user lookups. Relative to {@link API_PREFIX}. */
177
+ declare const INTERNAL_USER_ROUTES: {
178
+ readonly get: {
179
+ readonly method: "get";
180
+ readonly path: "/internal/users/{id}";
181
+ };
182
+ readonly batch: {
183
+ readonly method: "post";
184
+ readonly path: "/internal/users/batch";
185
+ };
186
+ };
187
+ /**
188
+ * Service token endpoint. The only service-to-service route that authenticates with the signed
189
+ * request of the service client. Relative to {@link API_PREFIX}.
190
+ */
191
+ declare const INTERNAL_TOKEN_ROUTES: {
192
+ readonly issue: {
193
+ readonly method: "post";
194
+ readonly path: "/internal/token";
195
+ };
196
+ };
197
+ /**
198
+ * Token exchange (RFC 8693). Authenticated with the Bearer service token of the actor
199
+ * (`aud: auth-api`, permission `tokens:exchange`), not with the signed request. Relative to
200
+ * {@link API_PREFIX}.
201
+ */
202
+ declare const INTERNAL_TOKEN_EXCHANGE_ROUTES: {
203
+ readonly exchange: {
204
+ readonly method: "post";
205
+ readonly path: "/internal/token-exchange";
206
+ };
207
+ };
208
+ /**
209
+ * Companies, branches, members, contracts and authorizations, service-to-service (Bearer service
210
+ * token plus, where a person acts, the `subjectToken`). Relative to {@link API_PREFIX}.
211
+ */
212
+ declare const INTERNAL_EMPRESA_ROUTES: {
213
+ readonly create: {
214
+ readonly method: "post";
215
+ readonly path: "/internal/empresas";
216
+ };
217
+ readonly list: {
218
+ readonly method: "get";
219
+ readonly path: "/internal/empresas";
220
+ };
221
+ readonly get: {
222
+ readonly method: "get";
223
+ readonly path: "/internal/empresas/{id}";
224
+ };
225
+ readonly update: {
226
+ readonly method: "patch";
227
+ readonly path: "/internal/empresas/{id}";
228
+ };
229
+ readonly baja: {
230
+ readonly method: "post";
231
+ readonly path: "/internal/empresas/{id}/baja";
232
+ };
233
+ readonly reactivar: {
234
+ readonly method: "post";
235
+ readonly path: "/internal/empresas/{id}/reactivar";
236
+ };
237
+ readonly addMember: {
238
+ readonly method: "post";
239
+ readonly path: "/internal/empresas/{id}/miembros";
240
+ };
241
+ readonly updateMember: {
242
+ readonly method: "patch";
243
+ readonly path: "/internal/empresas/{id}/miembros/{userId}";
244
+ };
245
+ readonly removeMember: {
246
+ readonly method: "delete";
247
+ readonly path: "/internal/empresas/{id}/miembros/{userId}";
248
+ };
249
+ readonly createBranch: {
250
+ readonly method: "post";
251
+ readonly path: "/internal/empresas/{id}/sucursales";
252
+ };
253
+ readonly updateBranch: {
254
+ readonly method: "patch";
255
+ readonly path: "/internal/empresas/{id}/sucursales/{sucursalId}";
256
+ };
257
+ readonly deactivateBranch: {
258
+ readonly method: "delete";
259
+ readonly path: "/internal/empresas/{id}/sucursales/{sucursalId}";
260
+ };
261
+ readonly requestContratacion: {
262
+ readonly method: "post";
263
+ readonly path: "/internal/empresas/{id}/productos";
264
+ };
265
+ readonly cancelContratacion: {
266
+ readonly method: "delete";
267
+ readonly path: "/internal/empresas/{id}/productos";
268
+ };
269
+ readonly getContratacion: {
270
+ readonly method: "get";
271
+ readonly path: "/internal/empresas/{id}/productos/{producto}";
272
+ };
273
+ readonly setContratacion: {
274
+ readonly method: "put";
275
+ readonly path: "/internal/empresas/{id}/productos/{producto}";
276
+ };
277
+ readonly createAutorizacion: {
278
+ readonly method: "post";
279
+ readonly path: "/internal/empresas/{id}/autorizaciones";
280
+ };
281
+ readonly listAutorizaciones: {
282
+ readonly method: "get";
283
+ readonly path: "/internal/empresas/{id}/autorizaciones";
284
+ };
285
+ readonly deleteAutorizacion: {
286
+ readonly method: "delete";
287
+ readonly path: "/internal/empresas/{id}/autorizaciones/{autorizacionId}";
288
+ };
289
+ };
290
+ /** Groups of companies, service-to-service. Relative to {@link API_PREFIX}. */
291
+ declare const INTERNAL_GRUPO_ROUTES: {
292
+ readonly create: {
293
+ readonly method: "post";
294
+ readonly path: "/internal/grupos";
295
+ };
296
+ readonly rename: {
297
+ readonly method: "patch";
298
+ readonly path: "/internal/grupos/{id}";
299
+ };
300
+ readonly addEmpresa: {
301
+ readonly method: "post";
302
+ readonly path: "/internal/grupos/{id}/empresas";
303
+ };
304
+ readonly removeEmpresa: {
305
+ readonly method: "delete";
306
+ readonly path: "/internal/grupos/{id}/empresas/{empresaId}";
307
+ };
308
+ };
309
+ /**
310
+ * Authorization check, service-to-service: only for actors whose audience owns the permission
311
+ * (the actor may also have a product). Relative to {@link API_PREFIX}.
312
+ */
313
+ declare const INTERNAL_AUTORIZACION_ROUTES: {
314
+ readonly verificar: {
315
+ readonly method: "get";
316
+ readonly path: "/internal/autorizaciones/verificar";
317
+ };
318
+ };
319
+ /**
320
+ * Directory of companies: users with the access token of any enabled product, and services with
321
+ * `directorio:leer`. Relative to {@link API_PREFIX}.
322
+ */
323
+ declare const DIRECTORIO_ROUTES: {
324
+ readonly search: {
325
+ readonly method: "get";
326
+ readonly path: "/directorio";
327
+ };
328
+ };
329
+ /**
330
+ * Webhook subscription and delivery routes of the service-to-service surface. Relative to
331
+ * {@link API_PREFIX}.
332
+ */
333
+ declare const WEBHOOK_ROUTES: {
334
+ readonly createSubscription: {
335
+ readonly method: "post";
336
+ readonly path: "/internal/webhooks/subscriptions";
337
+ };
338
+ readonly listSubscriptions: {
339
+ readonly method: "get";
340
+ readonly path: "/internal/webhooks/subscriptions";
341
+ };
342
+ readonly getSubscription: {
343
+ readonly method: "get";
344
+ readonly path: "/internal/webhooks/subscriptions/{id}";
345
+ };
346
+ readonly updateSubscription: {
347
+ readonly method: "patch";
348
+ readonly path: "/internal/webhooks/subscriptions/{id}";
349
+ };
350
+ readonly deleteSubscription: {
351
+ readonly method: "delete";
352
+ readonly path: "/internal/webhooks/subscriptions/{id}";
353
+ };
354
+ readonly rotateSubscriptionSecret: {
355
+ readonly method: "post";
356
+ readonly path: "/internal/webhooks/subscriptions/{id}/rotate-secret";
357
+ };
358
+ readonly listDeliveries: {
359
+ readonly method: "get";
360
+ readonly path: "/internal/webhooks/deliveries";
361
+ };
362
+ };
363
+ /**
364
+ * Admin routes: service client provisioning (grants, delegations), products, company holder/baja/contract operations, user restore, webhook delivery republish and maintenance cleanup. Relative to {@link API_PREFIX}.
365
+ */
366
+ declare const ADMIN_ROUTES: {
367
+ readonly createServiceClient: {
368
+ readonly method: "post";
369
+ readonly path: "/admin/service-clients";
370
+ };
371
+ readonly listServiceClients: {
372
+ readonly method: "get";
373
+ readonly path: "/admin/service-clients";
374
+ };
375
+ readonly getServiceClient: {
376
+ readonly method: "get";
377
+ readonly path: "/admin/service-clients/{slug}";
378
+ };
379
+ readonly updateServiceClient: {
380
+ readonly method: "patch";
381
+ readonly path: "/admin/service-clients/{slug}";
382
+ };
383
+ readonly deleteServiceClient: {
384
+ readonly method: "delete";
385
+ readonly path: "/admin/service-clients/{slug}";
386
+ };
387
+ readonly rotateServiceClientSecret: {
388
+ readonly method: "post";
389
+ readonly path: "/admin/service-clients/{slug}/rotate-secret";
390
+ };
391
+ readonly listServiceClientGrants: {
392
+ readonly method: "get";
393
+ readonly path: "/admin/service-clients/{slug}/grants";
394
+ };
395
+ readonly setServiceClientGrant: {
396
+ readonly method: "put";
397
+ readonly path: "/admin/service-clients/{slug}/grants";
398
+ };
399
+ readonly deleteServiceClientGrant: {
400
+ readonly method: "delete";
401
+ readonly path: "/admin/service-clients/{slug}/grants/{audience}";
402
+ };
403
+ readonly listServiceClientDelegations: {
404
+ readonly method: "get";
405
+ readonly path: "/admin/service-clients/{slug}/delegations";
406
+ };
407
+ readonly setServiceClientDelegation: {
408
+ readonly method: "put";
409
+ readonly path: "/admin/service-clients/{slug}/delegations";
410
+ };
411
+ readonly deleteServiceClientDelegation: {
412
+ readonly method: "delete";
413
+ readonly path: "/admin/service-clients/{slug}/delegations/{audience}";
414
+ };
415
+ readonly listProductos: {
416
+ readonly method: "get";
417
+ readonly path: "/admin/productos";
418
+ };
419
+ readonly createProducto: {
420
+ readonly method: "post";
421
+ readonly path: "/admin/productos";
422
+ };
423
+ readonly updateProducto: {
424
+ readonly method: "patch";
425
+ readonly path: "/admin/productos/{slug}";
426
+ };
427
+ readonly getProductoPermisosAutorizables: {
428
+ readonly method: "get";
429
+ readonly path: "/admin/productos/{slug}/permisos-autorizables";
430
+ };
431
+ readonly setProductoPermisosAutorizables: {
432
+ readonly method: "put";
433
+ readonly path: "/admin/productos/{slug}/permisos-autorizables";
434
+ };
435
+ readonly reassignEmpresaTitular: {
436
+ readonly method: "post";
437
+ readonly path: "/admin/empresas/{id}/titular";
438
+ };
439
+ readonly bajaEmpresa: {
440
+ readonly method: "post";
441
+ readonly path: "/admin/empresas/{id}/baja";
442
+ };
443
+ readonly reactivarEmpresa: {
444
+ readonly method: "post";
445
+ readonly path: "/admin/empresas/{id}/reactivar";
446
+ };
447
+ readonly setContratacion: {
448
+ readonly method: "put";
449
+ readonly path: "/admin/empresas/{id}/productos/{producto}";
450
+ };
451
+ readonly restoreUser: {
452
+ readonly method: "post";
453
+ readonly path: "/admin/users/{id}/restore";
454
+ };
455
+ readonly republishPendingWebhooks: {
456
+ readonly method: "post";
457
+ readonly path: "/admin/webhooks/republish-pending";
458
+ };
459
+ readonly maintenanceCleanup: {
460
+ readonly method: "post";
461
+ readonly path: "/admin/maintenance/cleanup";
462
+ };
463
+ };
464
+ /** Login, refresh, logout and active company routes. Relative to {@link API_PREFIX}. */
465
+ declare const AUTH_ROUTES: {
466
+ readonly getCode: {
467
+ readonly method: "post";
468
+ readonly path: "/login/get-code";
469
+ };
470
+ readonly login: {
471
+ readonly method: "post";
472
+ readonly path: "/login";
473
+ };
474
+ readonly refresh: {
475
+ readonly method: "post";
476
+ readonly path: "/login/refresh";
477
+ };
478
+ readonly logout: {
479
+ readonly method: "post";
480
+ readonly path: "/login/logout";
481
+ };
482
+ readonly setActiveEmpresa: {
483
+ readonly method: "post";
484
+ readonly path: "/auth/empresa-activa";
485
+ };
486
+ };
487
+ export { ACCESS_TOKEN_TYPE, ACCOUNT_STATES, ACTIVITY_STATES, ADMIN_ROUTES, API_PREFIX, AUTH_ROUTES, AUTH_SERVICE_SUB, AUTORIZACION_DIRECCIONES, AddEmpresaMemberRequest, AddGrupoEmpresaRequest, Autorizacion, AutorizacionDireccion, AutorizacionEventPayload, AutorizacionResponse, CONTRATACION_ESTADOS, CONTRATACION_ESTADOS_FACTURACION, CONTRATACION_ESTADOS_VIGENTES, Company, CompanyListResponse, ContractedCompany, Contratacion, ContratacionEstado, ContratacionResponse, ContratadoResponse, CoreErrorCode, CreateAutorizacionRequest, CreateEmpresaRequest, CreateGrupoRequest, CreateProductoRequest, CreateServiceClientRequest, CreateServiceClientResponse, CreateSubscriptionRequest, CreateSucursalRequest, DELEGABLE_AUDIENCES, DELEGABLE_AUDIENCE_SCOPES, DELEGABLE_SCOPES, DELEGATED_TOKEN_LIFETIME_SECONDS, DELEGATED_TOKEN_MAX_DEPTH, DELEGATED_TOKEN_TYP, DELIVERY_STATUSES, DIRECTORIO_ROUTES, DeactivateSucursalRequest, DelegableAudience, DelegableScope, DelegatedActorClaim, DeleteAutorizacionRequest, DeliveriesQuery, Delivery, DeliveryListResponse, DirectorioEmpresa, DirectorioQuery, DirectorioResponse, EMPRESA_ESTADOS, EMPRESA_ROLES, ERROR_CODES, EVENT_CODES, EmpresaDetailResponse, EmpresaEstado, EmpresaEstadoResponse, EmpresaMemberResponse, EmpresaPerfil, EmpresaProductChangedPayload, EmpresaRecortadaResponse, EmpresaResponse, EmpresaRole, ErrorResponse, EventCode, GetCodeRequest, GetCodeResponse, GetEmpresaResponse, GetServiceClientResponse, Grupo, GrupoResponse, HEADERS, HttpMethod, IDENTITY_EVENT_PAYLOAD_SCHEMAS, INTERNAL_AUTORIZACION_ROUTES, INTERNAL_EMPRESA_ROUTES, INTERNAL_GRUPO_ROUTES, INTERNAL_HEADERS, INTERNAL_SERVICE_TOKEN_LIFETIME_SECONDS, INTERNAL_TOKEN_EXCHANGE_ROUTES, INTERNAL_TOKEN_ROUTES, INTERNAL_USER_ROUTES, INTER_EMPRESA_PERMISSIONS, INTER_EMPRESA_PERMISSION_LIST, InterEmpresaOwner, InterEmpresaPermission, ListAutorizacionesQuery, ListAutorizacionesResponse, ListEmpresasQuery, ListEmpresasResponse, ListProductosResponse, ListServiceClientDelegationsResponse, ListServiceClientGrantsResponse, ListServiceClientsResponse, LoginRequest, LoginResponse, MaintenanceCleanupQuery, MaintenanceCleanupResponse, MessageResponse, MessageWithCountResponse, PRIVACY_STATES, Producto, ProductoPermisosAutorizablesResponse, ProductoResponse, ProfileResponse, PublicProfile, RESERVED_SERVICE_CLIENT_SLUGS, ReassignTitularRequest, ReassignTitularResponse, RemoveEmpresaMemberRequest, RemoveGrupoEmpresaRequest, RenameGrupoRequest, RepublishPendingQuery, RepublishPendingResponse, RestoreUserResponse, RotateServiceClientSecretResponse, RotateSubscriptionSecretResponse, RouteDescriptor, SERVICE_AUDIENCES, SERVICE_AUDIENCE_SCOPES, SERVICE_KID_PREFIX, SERVICE_TOKEN_ERROR_CODES, SERVICE_TOKEN_LIFETIME_SECONDS, SERVICE_TOKEN_TYP, SESSION_ROUTES, SUBJECT_TOKEN_HEADER, SUBJECT_TOKEN_INVALID_CODE, SUBJECT_TOKEN_INVALID_STATUS, ServiceAudience, ServiceClientDelegation, ServiceClientGrant, ServiceClientPublic, ServiceScope, ServiceTokenError, ServiceTokenRequest, ServiceTokenResponse, Session, SessionListResponse, SetActiveEmpresaRequest, SetActiveEmpresaResponse, SetContratacionRequest, SetProductoPermisosAutorizablesRequest, SetServiceClientDelegationRequest, SetServiceClientDelegationResponse, SetServiceClientGrantRequest, SetServiceClientGrantResponse, Subscription, SubscriptionListResponse, SubscriptionResponse, SubscriptionWithSecretResponse, Sucursal, SucursalRecortada, SucursalResponse, TITULAR_ANTERIOR_DESTINOS, TOKEN_BEARING_KEYS, TOKEN_EXCHANGE_ERROR_CODES, TOKEN_EXCHANGE_GRANT_TYPE, TOKEN_ISSUER, TitularAnteriorDestino, TokenExchangeError, TokenExchangeRequest, TokenExchangeResponse, USERS_BATCH_MAX_IDS, USER_KID_PREFIX, USER_ROUTES, USER_TOKEN_TYP, UncontractedCompany, UpdateEmpresaMemberRequest, UpdateEmpresaRequest, UpdateProductoRequest, UpdateServiceClientRequest, UpdateServiceClientResponse, UpdateSubscriptionRequest, UpdateSucursalRequest, UpdateUserRequest, UsersBatchRequest, UsersBatchResponse, VerificarAutorizacionQuery, VerificarAutorizacionResponse, WEBHOOK_HEADERS, WEBHOOK_ROUTES, WEBHOOK_TIMESTAMP_WINDOW_SECONDS, addEmpresaMemberRequestSchema, addGrupoEmpresaRequestSchema, autorizacionEventPayloadSchema, autorizacionResponseSchema, autorizacionSchema, companyGroupSchema, companyListResponseSchema, companySchema, contractedCompanySchema, contratacionResponseSchema, contratacionSchema, contratadoResponseSchema, createAutorizacionRequestSchema, createEmpresaRequestSchema, createGrupoRequestSchema, createProductoRequestSchema, createServiceClientRequestSchema, createServiceClientResponseSchema, createSubscriptionRequestSchema, createSucursalRequestSchema, deactivateSucursalRequestSchema, deleteAutorizacionRequestSchema, deliveriesQuerySchema, deliveryListResponseSchema, deliverySchema, directorioEmpresaSchema, directorioQuerySchema, directorioResponseSchema, empresaBranchEventPayloadSchema, empresaDetailResponseSchema, empresaEstadoResponseSchema, empresaEventPayloadSchema, empresaMemberEventPayloadSchema, empresaMemberResponseSchema, empresaMemberRoleChangedPayloadSchema, empresaPerfilSchema, empresaProductChangedPayloadSchema, empresaRecortadaResponseSchema, empresaResponseSchema, empresaRoleAtLeast, errorResponseSchema, getCodeRequestSchema, getCodeResponseSchema, getEmpresaResponseSchema, getServiceClientResponseSchema, grupoEventPayloadSchema, grupoMemberEventPayloadSchema, grupoResponseSchema, grupoSchema, interEmpresaPermissionOwner, interEmpresaPermissionSchema, isContratacionVigente, isDelegableAudience, isDelegableScope, isInterEmpresaPermission, isReservedServiceClientSlug, isScopeOfAudience, isServiceAudience, listAutorizacionesQuerySchema, listAutorizacionesResponseSchema, listEmpresasQuerySchema, listEmpresasResponseSchema, listProductosResponseSchema, listServiceClientDelegationsResponseSchema, listServiceClientGrantsResponseSchema, listServiceClientsResponseSchema, loginRequestSchema, loginResponseSchema, maintenanceCleanupQuerySchema, maintenanceCleanupResponseSchema, messageResponseSchema, messageWithCountResponseSchema, productoPermisosAutorizablesResponseSchema, productoResponseSchema, productoSchema, productoSlugSchema, profileResponseSchema, publicProfileSchema, reassignTitularRequestSchema, reassignTitularResponseSchema, removeEmpresaMemberRequestSchema, removeGrupoEmpresaRequestSchema, renameGrupoRequestSchema, republishPendingQuerySchema, republishPendingResponseSchema, restoreUserResponseSchema, rotateServiceClientSecretResponseSchema, rotateSubscriptionSecretResponseSchema, serviceClientDelegationSchema, serviceClientGrantSchema, serviceClientPublicSchema, serviceClientSlugSchema, serviceTokenErrorSchema, serviceTokenRequestSchema, serviceTokenResponseSchema, sessionListResponseSchema, setActiveEmpresaRequestSchema, setActiveEmpresaResponseSchema, setContratacionRequestSchema, setProductoPermisosAutorizablesRequestSchema, setServiceClientDelegationRequestSchema, setServiceClientDelegationResponseSchema, setServiceClientGrantRequestSchema, setServiceClientGrantResponseSchema, subjectTokenRequestSchema, subjectTokenSchema, subscriptionListResponseSchema, subscriptionResponseSchema, subscriptionSchema, subscriptionWithSecretResponseSchema, sucursalRecortadaSchema, sucursalResponseSchema, sucursalSchema, tokenExchangeErrorSchema, tokenExchangeRequestSchema, tokenExchangeResponseSchema, uncontractedCompanySchema, updateEmpresaMemberRequestSchema, updateEmpresaPerfilSchema, updateEmpresaRequestSchema, updateProductoRequestSchema, updateServiceClientRequestSchema, updateServiceClientResponseSchema, updateSubscriptionRequestSchema, updateSucursalRequestSchema, updateUserRequestSchema, usersBatchRequestSchema, usersBatchResponseSchema, verificarAutorizacionQuerySchema, verificarAutorizacionResponseSchema };
488
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../../../auth-contracts/dist/tokens.d.ts","../../../auth-contracts/dist/empresa-vocab.d.ts","../../../auth-contracts/dist/routes.d.ts"],"mappings":";;;;;;;;;cAMc;;;;;cAKA;;iBAEG,4BAA4B;;;;;cAK/B;;cAEA;;cAEA;;cAEA;;cAEA;;cAEA;;cAEA;;;;;;cAMA;;;;;;cAMA;;cAEA;;;;;cAKA;;cAEA;;;;;cAKA;;;;;KAKT;EACH;EACA;EACA,MAAM;;;;;;;cAOM;;;;;;cAMA;;;;;;;cAOA;cACA;;;;;;cAMA;;;;;;;cCrFA;KACT,sBAAsB;;iBAEV,mBAAmB,MAAM,aAAa,SAAS;;cAElD;KACT,wBAAwB;;cAEf;KACT,6BAA6B;;;;;cAKpB;;cAEA;;iBAEG,sBAAsB,QAAQ;;cAEjC;KACT,gCAAgC;;cAEvB;KACT,iCAAiC;;;;;;cCzBxB;KACT;;;;;KAKA;WACM,QAAQ;WACR;;;cAGG;WACH;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;;;cAIC;WACH;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;;;cAIC;WACH;aACE;aACA;;WAEF;aACE;aACA;;;;;;;cAOC;WACH;aACE;aACA;;;;;;;;cAQC;WACH;aACE;aACA;;;;;;;cAOC;WACH;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;;;cAIC;WACH;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;;;;;;cAOC;WACH;aACE;aACA;;;;;;;cAOC;WACH;aACE;aACA;;;;;;;cAOC;WACH;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;;;;;cAMC;WACH;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;;;cAIC;WACH;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA"}