@xylex-group/athena 2.4.0 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/README.md +124 -2
  2. package/bin/athena-js.js +0 -0
  3. package/dist/browser.cjs +2245 -151
  4. package/dist/browser.cjs.map +1 -1
  5. package/dist/browser.d.cts +8 -7
  6. package/dist/browser.d.ts +8 -7
  7. package/dist/browser.js +2238 -152
  8. package/dist/browser.js.map +1 -1
  9. package/dist/cli/index.cjs +1073 -102
  10. package/dist/cli/index.cjs.map +1 -1
  11. package/dist/cli/index.d.cts +3 -3
  12. package/dist/cli/index.d.ts +3 -3
  13. package/dist/cli/index.js +1073 -102
  14. package/dist/cli/index.js.map +1 -1
  15. package/dist/cookies.d.cts +1 -174
  16. package/dist/cookies.d.ts +1 -174
  17. package/dist/index-CVcQCGyG.d.cts +174 -0
  18. package/dist/index-CVcQCGyG.d.ts +174 -0
  19. package/dist/index.cjs +2246 -152
  20. package/dist/index.cjs.map +1 -1
  21. package/dist/index.d.cts +8 -7
  22. package/dist/index.d.ts +8 -7
  23. package/dist/index.js +2239 -153
  24. package/dist/index.js.map +1 -1
  25. package/dist/{model-form-GzTqhEzM.d.cts → model-form-BaHWi3gm.d.cts} +9 -5
  26. package/dist/{model-form-C0FAbOaf.d.ts → model-form-Dh6gWjL0.d.ts} +9 -5
  27. package/dist/{pipeline-CR4V15jF.d.ts → pipeline-Ce3pTw5h.d.ts} +1 -1
  28. package/dist/{pipeline-DZeExYMA.d.cts → pipeline-D1ZYeoH7.d.cts} +1 -1
  29. package/dist/{react-email-CQJq92zQ.d.cts → react-email-B8O1Jeff.d.cts} +637 -30
  30. package/dist/{react-email-BuApZuyG.d.ts → react-email-CDEF0jij.d.ts} +637 -30
  31. package/dist/react.cjs +84 -4
  32. package/dist/react.cjs.map +1 -1
  33. package/dist/react.d.cts +4 -4
  34. package/dist/react.d.ts +4 -4
  35. package/dist/react.js +84 -4
  36. package/dist/react.js.map +1 -1
  37. package/dist/{types-D1JvL21V.d.cts → types-CUuo4NDi.d.cts} +1 -1
  38. package/dist/{types-09Q4D86N.d.cts → types-DSX6AT5B.d.cts} +3 -3
  39. package/dist/{types-09Q4D86N.d.ts → types-DSX6AT5B.d.ts} +3 -3
  40. package/dist/{types-DU3gNdFv.d.ts → types-DapchQY5.d.ts} +1 -1
  41. package/dist/utils.cjs +131 -0
  42. package/dist/utils.cjs.map +1 -1
  43. package/dist/utils.d.cts +42 -1
  44. package/dist/utils.d.ts +42 -1
  45. package/dist/utils.js +117 -1
  46. package/dist/utils.js.map +1 -1
  47. package/package.json +193 -192
@@ -1,4 +1,4 @@
1
- import { d as AthenaGatewayErrorCode, Z as AthenaGatewayEndpointPath, _ as AthenaGatewayMethod, e as AthenaGatewayErrorDetails, W as AthenaGatewayResponse, L as AnyModelDef, E as RowOf, q as InsertOf, U as UpdateOf } from './types-09Q4D86N.cjs';
1
+ import { d as AthenaGatewayErrorCode, J as AthenaGatewayEndpointPath, K as AthenaGatewayMethod, e as AthenaGatewayErrorDetails, Y as AthenaGatewayResponse, O as AnyModelDef, E as RowOf, q as InsertOf, U as UpdateOf } from './types-DSX6AT5B.cjs';
2
2
 
3
3
  type AthenaAuthMethod = 'GET' | 'POST';
4
4
  type AthenaAuthCredentials = 'omit' | 'same-origin' | 'include';
@@ -399,17 +399,21 @@ interface AthenaAdminBanUserRequest extends AthenaAdminTargetUserRequest {
399
399
  banReason?: string;
400
400
  banExpiresIn?: string;
401
401
  }
402
+ type AthenaAuthSearchOperator = 'contains' | 'starts_with' | 'ends_with';
403
+ type AthenaAuthFilterOperator = 'eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte' | 'in' | 'not_in' | 'contains' | 'starts_with' | 'ends_with';
404
+ type AthenaAdminListUsersSearchOperator = AthenaAuthSearchOperator;
405
+ type AthenaAdminListUsersFilterOperator = AthenaAuthFilterOperator;
402
406
  interface AthenaAdminListUsersQuery {
403
407
  searchValue?: string;
404
408
  searchField?: string;
405
- searchOperator?: string;
409
+ searchOperator?: AthenaAdminListUsersSearchOperator;
406
410
  limit?: number | string;
407
411
  offset?: number | string;
408
412
  sortBy?: string;
409
413
  sortDirection?: string;
410
414
  filterField?: string;
411
415
  filterValue?: string;
412
- filterOperator?: string;
416
+ filterOperator?: AthenaAdminListUsersFilterOperator;
413
417
  }
414
418
  interface AthenaAdminListUsersResponse {
415
419
  users: AthenaAuthUser[];
@@ -820,7 +824,7 @@ interface AthenaAuthOrganizationListInvitationsQuery {
820
824
  interface AthenaAuthOrganizationListUserInvitationsQuery {
821
825
  email?: string;
822
826
  }
823
- type AthenaAuthOrganizationListMembersFilterOperator = 'eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte' | 'in' | 'not_in' | 'contains' | 'starts_with' | 'ends_with';
827
+ type AthenaAuthOrganizationListMembersFilterOperator = AthenaAuthFilterOperator;
824
828
  interface AthenaAuthOrganizationListMembersQuery {
825
829
  organizationId?: string;
826
830
  limit?: number;
@@ -1376,4 +1380,4 @@ interface ModelFormAdapter<TModel extends AnyModelDef> {
1376
1380
  */
1377
1381
  declare function createModelFormAdapter<TModel extends AnyModelDef>(model: TModel): ModelFormAdapter<TModel>;
1378
1382
 
1379
- export { type AthenaLinkSocialRequest as $, type AthenaAuthAdminUserSessionRevokeBinding as A, type AthenaAuthReactEmailProps as B, type AthenaAuthReactEmailRenderEvent as C, type AthenaAuthReactEmailRenderInput as D, type AthenaAuthReactEmailRenderOptions as E, type AthenaAuthRequestInput as F, type AthenaAuthResetPasswordBinding as G, type AthenaAuthResult as H, type AthenaAuthRevokeSessionRequest as I, type AthenaAuthSdkClient as J, type AthenaAuthSession as K, type AthenaAuthSessionResponse as L, type AthenaAuthSessionRevokeBinding as M, type AthenaAuthSignInResponse as N, type AthenaAuthSignOutResponse as O, type AthenaAuthSocialRedirectResponse as P, type AthenaAuthStatusResponse as Q, type AthenaAuthUser as R, type AthenaChangeEmailRequest as S, type AthenaChangePasswordRequest as T, type AthenaDeleteUserCallbackRequest as U, type AthenaDeleteUserRequest as V, type AthenaDeleteUserResponse as W, type AthenaEmailSignInRequest as X, type AthenaEmailSignUpRequest as Y, type AthenaForgetPasswordRequest as Z, AthenaGatewayError as _, type AthenaAuthBindings as a, type AthenaOAuthAccountTokenRequest as a0, type AthenaOAuthTokenBundle as a1, type AthenaResetPasswordRequest as a2, type AthenaSendVerificationEmailRequest as a3, type AthenaSocialSignInRequest as a4, type AthenaUnlinkAccountRequest as a5, type AthenaUpdateUserRequest as a6, type AthenaUsernameSignInRequest as a7, type AthenaVerifyEmailRequest as a8, type ModelFormAdapter as a9, type ModelFormDefaults as aa, type ModelFormNullishMode as ab, type ModelFormValues as ac, type ToModelFormDefaultsOptions as ad, type ToModelPayloadOptions as ae, createModelFormAdapter as af, isAthenaGatewayError as ag, toModelFormDefaults as ah, toModelPayload as ai, type AthenaAuthFetchCompatibleInput as aj, type AthenaAuthCallOptions as b, type AthenaAuthClientConfig as c, type AthenaAuthCredentials as d, type AthenaAuthEmailChangeResponse as e, type AthenaAuthEmailTemplateBuilder as f, type AthenaAuthEmailTemplateCreateFromDefinitionInput as g, type AthenaAuthEmailTemplateDefinition as h, type AthenaAuthEmailTemplateReactOverrides as i, type AthenaAuthEmailTemplateUpdateFromDefinitionInput as j, type AthenaAuthEndpointPath as k, type AthenaAuthErrorCode as l, type AthenaAuthErrorDetails as m, type AthenaAuthGenericInput as n, type AthenaAuthGenericQueryInput as o, type AthenaAuthLinkedAccount as p, type AthenaAuthMethod as q, type AthenaAuthOrganization as r, type AthenaAuthOrganizationBindings as s, type AthenaAuthOrganizationInvitation as t, type AthenaAuthOrganizationMember as u, type AthenaAuthQueryPrimitive as v, type AthenaAuthQueryValue as w, type AthenaAuthReactEmailComponent as x, type AthenaAuthReactEmailConfig as y, type AthenaAuthReactEmailEventPhase as z };
1383
+ export { type AthenaDeleteUserResponse as $, type AthenaAdminListUsersFilterOperator as A, type AthenaAuthQueryValue as B, type AthenaAuthReactEmailComponent as C, type AthenaAuthReactEmailConfig as D, type AthenaAuthReactEmailEventPhase as E, type AthenaAuthReactEmailProps as F, type AthenaAuthReactEmailRenderEvent as G, type AthenaAuthReactEmailRenderInput as H, type AthenaAuthReactEmailRenderOptions as I, type AthenaAuthRequestInput as J, type AthenaAuthResetPasswordBinding as K, type AthenaAuthResult as L, type AthenaAuthRevokeSessionRequest as M, type AthenaAuthSdkClient as N, type AthenaAuthSearchOperator as O, type AthenaAuthSession as P, type AthenaAuthSessionResponse as Q, type AthenaAuthSessionRevokeBinding as R, type AthenaAuthSignInResponse as S, type AthenaAuthSignOutResponse as T, type AthenaAuthSocialRedirectResponse as U, type AthenaAuthStatusResponse as V, type AthenaAuthUser as W, type AthenaChangeEmailRequest as X, type AthenaChangePasswordRequest as Y, type AthenaDeleteUserCallbackRequest as Z, type AthenaDeleteUserRequest as _, type AthenaAdminListUsersQuery as a, type AthenaEmailSignInRequest as a0, type AthenaEmailSignUpRequest as a1, type AthenaForgetPasswordRequest as a2, AthenaGatewayError as a3, type AthenaLinkSocialRequest as a4, type AthenaOAuthAccountTokenRequest as a5, type AthenaOAuthTokenBundle as a6, type AthenaResetPasswordRequest as a7, type AthenaSendVerificationEmailRequest as a8, type AthenaSocialSignInRequest as a9, type AthenaUnlinkAccountRequest as aa, type AthenaUpdateUserRequest as ab, type AthenaUsernameSignInRequest as ac, type AthenaVerifyEmailRequest as ad, type ModelFormAdapter as ae, type ModelFormDefaults as af, type ModelFormNullishMode as ag, type ModelFormValues as ah, type ToModelFormDefaultsOptions as ai, type ToModelPayloadOptions as aj, createModelFormAdapter as ak, isAthenaGatewayError as al, toModelFormDefaults as am, toModelPayload as an, type AthenaAuthFetchCompatibleInput as ao, type AthenaAdminListUsersSearchOperator as b, type AthenaAuthAdminUserSessionRevokeBinding as c, type AthenaAuthBindings as d, type AthenaAuthCallOptions as e, type AthenaAuthClientConfig as f, type AthenaAuthCredentials as g, type AthenaAuthEmailChangeResponse as h, type AthenaAuthEmailTemplateBuilder as i, type AthenaAuthEmailTemplateCreateFromDefinitionInput as j, type AthenaAuthEmailTemplateDefinition as k, type AthenaAuthEmailTemplateReactOverrides as l, type AthenaAuthEmailTemplateUpdateFromDefinitionInput as m, type AthenaAuthEndpointPath as n, type AthenaAuthErrorCode as o, type AthenaAuthErrorDetails as p, type AthenaAuthFilterOperator as q, type AthenaAuthGenericInput as r, type AthenaAuthGenericQueryInput as s, type AthenaAuthLinkedAccount as t, type AthenaAuthMethod as u, type AthenaAuthOrganization as v, type AthenaAuthOrganizationBindings as w, type AthenaAuthOrganizationInvitation as x, type AthenaAuthOrganizationMember as y, type AthenaAuthQueryPrimitive as z };
@@ -1,4 +1,4 @@
1
- import { d as AthenaGatewayErrorCode, Z as AthenaGatewayEndpointPath, _ as AthenaGatewayMethod, e as AthenaGatewayErrorDetails, W as AthenaGatewayResponse, L as AnyModelDef, E as RowOf, q as InsertOf, U as UpdateOf } from './types-09Q4D86N.js';
1
+ import { d as AthenaGatewayErrorCode, J as AthenaGatewayEndpointPath, K as AthenaGatewayMethod, e as AthenaGatewayErrorDetails, Y as AthenaGatewayResponse, O as AnyModelDef, E as RowOf, q as InsertOf, U as UpdateOf } from './types-DSX6AT5B.js';
2
2
 
3
3
  type AthenaAuthMethod = 'GET' | 'POST';
4
4
  type AthenaAuthCredentials = 'omit' | 'same-origin' | 'include';
@@ -399,17 +399,21 @@ interface AthenaAdminBanUserRequest extends AthenaAdminTargetUserRequest {
399
399
  banReason?: string;
400
400
  banExpiresIn?: string;
401
401
  }
402
+ type AthenaAuthSearchOperator = 'contains' | 'starts_with' | 'ends_with';
403
+ type AthenaAuthFilterOperator = 'eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte' | 'in' | 'not_in' | 'contains' | 'starts_with' | 'ends_with';
404
+ type AthenaAdminListUsersSearchOperator = AthenaAuthSearchOperator;
405
+ type AthenaAdminListUsersFilterOperator = AthenaAuthFilterOperator;
402
406
  interface AthenaAdminListUsersQuery {
403
407
  searchValue?: string;
404
408
  searchField?: string;
405
- searchOperator?: string;
409
+ searchOperator?: AthenaAdminListUsersSearchOperator;
406
410
  limit?: number | string;
407
411
  offset?: number | string;
408
412
  sortBy?: string;
409
413
  sortDirection?: string;
410
414
  filterField?: string;
411
415
  filterValue?: string;
412
- filterOperator?: string;
416
+ filterOperator?: AthenaAdminListUsersFilterOperator;
413
417
  }
414
418
  interface AthenaAdminListUsersResponse {
415
419
  users: AthenaAuthUser[];
@@ -820,7 +824,7 @@ interface AthenaAuthOrganizationListInvitationsQuery {
820
824
  interface AthenaAuthOrganizationListUserInvitationsQuery {
821
825
  email?: string;
822
826
  }
823
- type AthenaAuthOrganizationListMembersFilterOperator = 'eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte' | 'in' | 'not_in' | 'contains' | 'starts_with' | 'ends_with';
827
+ type AthenaAuthOrganizationListMembersFilterOperator = AthenaAuthFilterOperator;
824
828
  interface AthenaAuthOrganizationListMembersQuery {
825
829
  organizationId?: string;
826
830
  limit?: number;
@@ -1376,4 +1380,4 @@ interface ModelFormAdapter<TModel extends AnyModelDef> {
1376
1380
  */
1377
1381
  declare function createModelFormAdapter<TModel extends AnyModelDef>(model: TModel): ModelFormAdapter<TModel>;
1378
1382
 
1379
- export { type AthenaLinkSocialRequest as $, type AthenaAuthAdminUserSessionRevokeBinding as A, type AthenaAuthReactEmailProps as B, type AthenaAuthReactEmailRenderEvent as C, type AthenaAuthReactEmailRenderInput as D, type AthenaAuthReactEmailRenderOptions as E, type AthenaAuthRequestInput as F, type AthenaAuthResetPasswordBinding as G, type AthenaAuthResult as H, type AthenaAuthRevokeSessionRequest as I, type AthenaAuthSdkClient as J, type AthenaAuthSession as K, type AthenaAuthSessionResponse as L, type AthenaAuthSessionRevokeBinding as M, type AthenaAuthSignInResponse as N, type AthenaAuthSignOutResponse as O, type AthenaAuthSocialRedirectResponse as P, type AthenaAuthStatusResponse as Q, type AthenaAuthUser as R, type AthenaChangeEmailRequest as S, type AthenaChangePasswordRequest as T, type AthenaDeleteUserCallbackRequest as U, type AthenaDeleteUserRequest as V, type AthenaDeleteUserResponse as W, type AthenaEmailSignInRequest as X, type AthenaEmailSignUpRequest as Y, type AthenaForgetPasswordRequest as Z, AthenaGatewayError as _, type AthenaAuthBindings as a, type AthenaOAuthAccountTokenRequest as a0, type AthenaOAuthTokenBundle as a1, type AthenaResetPasswordRequest as a2, type AthenaSendVerificationEmailRequest as a3, type AthenaSocialSignInRequest as a4, type AthenaUnlinkAccountRequest as a5, type AthenaUpdateUserRequest as a6, type AthenaUsernameSignInRequest as a7, type AthenaVerifyEmailRequest as a8, type ModelFormAdapter as a9, type ModelFormDefaults as aa, type ModelFormNullishMode as ab, type ModelFormValues as ac, type ToModelFormDefaultsOptions as ad, type ToModelPayloadOptions as ae, createModelFormAdapter as af, isAthenaGatewayError as ag, toModelFormDefaults as ah, toModelPayload as ai, type AthenaAuthFetchCompatibleInput as aj, type AthenaAuthCallOptions as b, type AthenaAuthClientConfig as c, type AthenaAuthCredentials as d, type AthenaAuthEmailChangeResponse as e, type AthenaAuthEmailTemplateBuilder as f, type AthenaAuthEmailTemplateCreateFromDefinitionInput as g, type AthenaAuthEmailTemplateDefinition as h, type AthenaAuthEmailTemplateReactOverrides as i, type AthenaAuthEmailTemplateUpdateFromDefinitionInput as j, type AthenaAuthEndpointPath as k, type AthenaAuthErrorCode as l, type AthenaAuthErrorDetails as m, type AthenaAuthGenericInput as n, type AthenaAuthGenericQueryInput as o, type AthenaAuthLinkedAccount as p, type AthenaAuthMethod as q, type AthenaAuthOrganization as r, type AthenaAuthOrganizationBindings as s, type AthenaAuthOrganizationInvitation as t, type AthenaAuthOrganizationMember as u, type AthenaAuthQueryPrimitive as v, type AthenaAuthQueryValue as w, type AthenaAuthReactEmailComponent as x, type AthenaAuthReactEmailConfig as y, type AthenaAuthReactEmailEventPhase as z };
1383
+ export { type AthenaDeleteUserResponse as $, type AthenaAdminListUsersFilterOperator as A, type AthenaAuthQueryValue as B, type AthenaAuthReactEmailComponent as C, type AthenaAuthReactEmailConfig as D, type AthenaAuthReactEmailEventPhase as E, type AthenaAuthReactEmailProps as F, type AthenaAuthReactEmailRenderEvent as G, type AthenaAuthReactEmailRenderInput as H, type AthenaAuthReactEmailRenderOptions as I, type AthenaAuthRequestInput as J, type AthenaAuthResetPasswordBinding as K, type AthenaAuthResult as L, type AthenaAuthRevokeSessionRequest as M, type AthenaAuthSdkClient as N, type AthenaAuthSearchOperator as O, type AthenaAuthSession as P, type AthenaAuthSessionResponse as Q, type AthenaAuthSessionRevokeBinding as R, type AthenaAuthSignInResponse as S, type AthenaAuthSignOutResponse as T, type AthenaAuthSocialRedirectResponse as U, type AthenaAuthStatusResponse as V, type AthenaAuthUser as W, type AthenaChangeEmailRequest as X, type AthenaChangePasswordRequest as Y, type AthenaDeleteUserCallbackRequest as Z, type AthenaDeleteUserRequest as _, type AthenaAdminListUsersQuery as a, type AthenaEmailSignInRequest as a0, type AthenaEmailSignUpRequest as a1, type AthenaForgetPasswordRequest as a2, AthenaGatewayError as a3, type AthenaLinkSocialRequest as a4, type AthenaOAuthAccountTokenRequest as a5, type AthenaOAuthTokenBundle as a6, type AthenaResetPasswordRequest as a7, type AthenaSendVerificationEmailRequest as a8, type AthenaSocialSignInRequest as a9, type AthenaUnlinkAccountRequest as aa, type AthenaUpdateUserRequest as ab, type AthenaUsernameSignInRequest as ac, type AthenaVerifyEmailRequest as ad, type ModelFormAdapter as ae, type ModelFormDefaults as af, type ModelFormNullishMode as ag, type ModelFormValues as ah, type ToModelFormDefaultsOptions as ai, type ToModelPayloadOptions as aj, createModelFormAdapter as ak, isAthenaGatewayError as al, toModelFormDefaults as am, toModelPayload as an, type AthenaAuthFetchCompatibleInput as ao, type AthenaAdminListUsersSearchOperator as b, type AthenaAuthAdminUserSessionRevokeBinding as c, type AthenaAuthBindings as d, type AthenaAuthCallOptions as e, type AthenaAuthClientConfig as f, type AthenaAuthCredentials as g, type AthenaAuthEmailChangeResponse as h, type AthenaAuthEmailTemplateBuilder as i, type AthenaAuthEmailTemplateCreateFromDefinitionInput as j, type AthenaAuthEmailTemplateDefinition as k, type AthenaAuthEmailTemplateReactOverrides as l, type AthenaAuthEmailTemplateUpdateFromDefinitionInput as m, type AthenaAuthEndpointPath as n, type AthenaAuthErrorCode as o, type AthenaAuthErrorDetails as p, type AthenaAuthFilterOperator as q, type AthenaAuthGenericInput as r, type AthenaAuthGenericQueryInput as s, type AthenaAuthLinkedAccount as t, type AthenaAuthMethod as u, type AthenaAuthOrganization as v, type AthenaAuthOrganizationBindings as w, type AthenaAuthOrganizationInvitation as x, type AthenaAuthOrganizationMember as y, type AthenaAuthQueryPrimitive as z };
@@ -1,4 +1,4 @@
1
- import { R as RunGeneratorOptions, l as RunGeneratorResult } from './types-DU3gNdFv.js';
1
+ import { R as RunGeneratorOptions, l as RunGeneratorResult } from './types-DapchQY5.js';
2
2
 
3
3
  /**
4
4
  * End-to-end generator execution: load config, introspect, render, and optionally write files.
@@ -1,4 +1,4 @@
1
- import { R as RunGeneratorOptions, l as RunGeneratorResult } from './types-D1JvL21V.cjs';
1
+ import { R as RunGeneratorOptions, l as RunGeneratorResult } from './types-CUuo4NDi.cjs';
2
2
 
3
3
  /**
4
4
  * End-to-end generator execution: load config, introspect, render, and optionally write files.