@xylex-group/athena 2.1.2 → 2.3.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 (42) hide show
  1. package/README.md +287 -116
  2. package/dist/browser.cjs +1628 -156
  3. package/dist/browser.cjs.map +1 -1
  4. package/dist/browser.d.cts +14 -14
  5. package/dist/browser.d.ts +14 -14
  6. package/dist/browser.js +1625 -156
  7. package/dist/browser.js.map +1 -1
  8. package/dist/cli/index.cjs +1532 -145
  9. package/dist/cli/index.cjs.map +1 -1
  10. package/dist/cli/index.d.cts +3 -3
  11. package/dist/cli/index.d.ts +3 -3
  12. package/dist/cli/index.js +1533 -146
  13. package/dist/cli/index.js.map +1 -1
  14. package/dist/index.cjs +1658 -167
  15. package/dist/index.cjs.map +1 -1
  16. package/dist/index.d.cts +7 -7
  17. package/dist/index.d.ts +7 -7
  18. package/dist/index.js +1656 -168
  19. package/dist/index.js.map +1 -1
  20. package/dist/{model-form-2hqmoOUX.d.ts → model-form-BpDXlbxb.d.ts} +97 -2
  21. package/dist/{model-form-Cy-zaO0u.d.cts → model-form-hoE2jHIi.d.cts} +97 -2
  22. package/dist/{pipeline-BOPszLsL.d.ts → pipeline-BNIw8pDQ.d.ts} +1 -1
  23. package/dist/{pipeline-E3FDbs4W.d.cts → pipeline-DNIpEsN8.d.cts} +1 -1
  24. package/dist/{client-dpAp-NZK.d.cts → react-email-BvyCZnfW.d.cts} +349 -174
  25. package/dist/{client-BX0NQqOn.d.ts → react-email-qPA1wjFV.d.ts} +349 -174
  26. package/dist/react.cjs +30 -9
  27. package/dist/react.cjs.map +1 -1
  28. package/dist/react.d.cts +4 -4
  29. package/dist/react.d.ts +4 -4
  30. package/dist/react.js +30 -9
  31. package/dist/react.js.map +1 -1
  32. package/dist/{types-BaBzjwXr.d.cts → types-A5e97acl.d.cts} +2 -1
  33. package/dist/{types-BaBzjwXr.d.ts → types-A5e97acl.d.ts} +2 -1
  34. package/dist/{types-CeBPrnGj.d.ts → types-BnD22-vb.d.ts} +1 -1
  35. package/dist/{types-CpqL-pZx.d.cts → types-bDlr4u7p.d.cts} +1 -1
  36. package/dist/utils.cjs +153 -0
  37. package/dist/utils.cjs.map +1 -0
  38. package/dist/utils.d.cts +23 -0
  39. package/dist/utils.d.ts +23 -0
  40. package/dist/utils.js +146 -0
  41. package/dist/utils.js.map +1 -0
  42. package/package.json +75 -17
@@ -1,4 +1,4 @@
1
- import { b as AthenaGatewayErrorCode, X as AthenaGatewayEndpointPath, Y as AthenaGatewayMethod, c as AthenaGatewayErrorDetails, Q as AthenaGatewayResponse, K as AnyModelDef, z as RowOf, o as InsertOf, U as UpdateOf } from './types-BaBzjwXr.js';
1
+ import { b as AthenaGatewayErrorCode, X as AthenaGatewayEndpointPath, Y as AthenaGatewayMethod, c as AthenaGatewayErrorDetails, Q as AthenaGatewayResponse, J as AnyModelDef, z as RowOf, o as InsertOf, U as UpdateOf } from './types-A5e97acl.js';
2
2
 
3
3
  type AthenaAuthMethod = 'GET' | 'POST';
4
4
  type AthenaAuthCredentials = 'omit' | 'same-origin' | 'include';
@@ -211,6 +211,7 @@ interface AthenaAuthLinkedAccount {
211
211
  }
212
212
  type AthenaAuthPermissionSet = Record<string, unknown> | string[];
213
213
  type AthenaAuthLooseRecord = Record<string, unknown>;
214
+ type AthenaAuthReactEmailProps = Record<string, unknown>;
214
215
  interface AthenaSetPasswordRequest {
215
216
  newPassword: string;
216
217
  }
@@ -515,6 +516,56 @@ interface AthenaAdminEmailGetQuery {
515
516
  interface AthenaAdminEmailGetResponse {
516
517
  email?: AthenaAuthLooseRecord;
517
518
  }
519
+ interface AthenaAuthReactEmailRenderInput {
520
+ /**
521
+ * React email element instance (for example: `<WelcomeEmail {...props} />`).
522
+ */
523
+ element?: unknown;
524
+ /**
525
+ * React email component function. Use with `props` when you prefer component + props inputs.
526
+ */
527
+ component?: AthenaAuthReactEmailComponent;
528
+ /**
529
+ * Props passed to `component` when `element` is omitted.
530
+ */
531
+ props?: AthenaAuthReactEmailProps;
532
+ /**
533
+ * When true, run `pretty(...)` on rendered HTML when available.
534
+ */
535
+ pretty?: boolean;
536
+ /**
537
+ * Override plain-text output. If omitted, text is auto-derived when possible.
538
+ */
539
+ text?: string;
540
+ /**
541
+ * Disable derived plain-text generation. Defaults to `true`.
542
+ */
543
+ includePlainText?: boolean;
544
+ }
545
+ type AthenaAuthReactEmailComponent<TProps extends AthenaAuthReactEmailProps = AthenaAuthReactEmailProps> = (props: TProps) => unknown;
546
+ interface AthenaAuthReactEmailRenderOptions {
547
+ pretty?: boolean;
548
+ includePlainText?: boolean;
549
+ }
550
+ type AthenaAuthReactEmailEventPhase = 'render:start' | 'render:success' | 'render:error';
551
+ interface AthenaAuthReactEmailRenderEvent {
552
+ phase: AthenaAuthReactEmailEventPhase;
553
+ timestamp: string;
554
+ route?: string;
555
+ durationMs?: number;
556
+ message?: string;
557
+ error?: string;
558
+ }
559
+ interface AthenaAuthReactEmailConfig {
560
+ /**
561
+ * Optional default render settings used when request payloads omit `pretty` or `includePlainText`.
562
+ */
563
+ defaults?: AthenaAuthReactEmailRenderOptions;
564
+ /**
565
+ * Optional observer for render lifecycle events.
566
+ */
567
+ observe?: (event: AthenaAuthReactEmailRenderEvent) => void;
568
+ }
518
569
  interface AthenaAdminEmailCreateRequest {
519
570
  recipientEmail: string;
520
571
  subject: string;
@@ -522,6 +573,10 @@ interface AthenaAdminEmailCreateRequest {
522
573
  fromName?: string;
523
574
  textBody?: string;
524
575
  htmlBody?: string;
576
+ /**
577
+ * Optional React Email render input. When provided, `htmlBody` is derived automatically.
578
+ */
579
+ react?: AthenaAuthReactEmailRenderInput;
525
580
  provider: string;
526
581
  flow?: string;
527
582
  metadata?: AthenaAuthLooseRecord;
@@ -534,6 +589,10 @@ interface AthenaAdminEmailUpdateRequest {
534
589
  fromName?: string | null;
535
590
  textBody?: string | null;
536
591
  htmlBody?: string | null;
592
+ /**
593
+ * Optional React Email render input. When provided, `htmlBody` is derived automatically.
594
+ */
595
+ react?: AthenaAuthReactEmailRenderInput;
537
596
  provider?: string;
538
597
  flow?: string | null;
539
598
  metadata?: AthenaAuthLooseRecord;
@@ -605,6 +664,10 @@ interface AthenaAdminEmailTemplateCreateRequest {
605
664
  subjectTemplate: string;
606
665
  textTemplate?: string;
607
666
  htmlTemplate?: string;
667
+ /**
668
+ * Optional React Email render input. When provided, `htmlTemplate` is derived automatically.
669
+ */
670
+ react?: AthenaAuthReactEmailRenderInput;
608
671
  variables?: string[];
609
672
  isActive?: boolean;
610
673
  metadata?: AthenaAuthLooseRecord;
@@ -616,6 +679,10 @@ interface AthenaAdminEmailTemplateUpdateRequest {
616
679
  subjectTemplate?: string;
617
680
  textTemplate?: string | null;
618
681
  htmlTemplate?: string | null;
682
+ /**
683
+ * Optional React Email render input. When provided, `htmlTemplate` is derived automatically.
684
+ */
685
+ react?: AthenaAuthReactEmailRenderInput;
619
686
  variables?: string[];
620
687
  isActive?: boolean;
621
688
  metadata?: AthenaAuthLooseRecord;
@@ -796,6 +863,34 @@ interface AthenaAuthFetchCompatibleInput {
796
863
  }
797
864
  interface AthenaAuthClientConfig extends AthenaAuthCallOptions {
798
865
  fetch?: typeof fetch;
866
+ reactEmail?: AthenaAuthReactEmailConfig;
867
+ }
868
+ interface AthenaAuthEmailTemplateDefinition<TProps extends AthenaAuthReactEmailProps = AthenaAuthReactEmailProps> {
869
+ component: AthenaAuthReactEmailComponent<TProps>;
870
+ templateKey?: string;
871
+ subjectTemplate?: string;
872
+ defaults?: AthenaAuthReactEmailRenderOptions;
873
+ }
874
+ interface AthenaAuthEmailTemplateReactOverrides {
875
+ pretty?: boolean;
876
+ text?: string;
877
+ includePlainText?: boolean;
878
+ }
879
+ interface AthenaAuthEmailTemplateCreateFromDefinitionInput<TProps extends AthenaAuthReactEmailProps = AthenaAuthReactEmailProps> extends Omit<AthenaAdminEmailTemplateCreateRequest, 'react' | 'htmlTemplate' | 'textTemplate' | 'variables' | 'templateKey' | 'subjectTemplate'> {
880
+ props: TProps;
881
+ templateKey?: string;
882
+ subjectTemplate?: string;
883
+ react?: AthenaAuthEmailTemplateReactOverrides;
884
+ }
885
+ interface AthenaAuthEmailTemplateUpdateFromDefinitionInput<TProps extends AthenaAuthReactEmailProps = AthenaAuthReactEmailProps> extends Omit<AthenaAdminEmailTemplateUpdateRequest, 'react' | 'htmlTemplate' | 'textTemplate' | 'variables'> {
886
+ props: TProps;
887
+ react?: AthenaAuthEmailTemplateReactOverrides;
888
+ }
889
+ interface AthenaAuthEmailTemplateBuilder<TProps extends AthenaAuthReactEmailProps = AthenaAuthReactEmailProps> {
890
+ component: AthenaAuthReactEmailComponent<TProps>;
891
+ react: (props: TProps, overrides?: AthenaAuthEmailTemplateReactOverrides) => AthenaAuthReactEmailRenderInput;
892
+ toTemplateCreate: (input: AthenaAuthEmailTemplateCreateFromDefinitionInput<TProps>) => AthenaAdminEmailTemplateCreateRequest;
893
+ toTemplateUpdate: (input: AthenaAuthEmailTemplateUpdateFromDefinitionInput<TProps>) => AthenaAdminEmailTemplateUpdateRequest;
799
894
  }
800
895
  type AthenaAuthGenericInput = AthenaAuthFetchCompatibleInput & Record<string, unknown>;
801
896
  type AthenaAuthGenericQueryInput = AthenaAuthFetchCompatibleInput & {
@@ -1281,4 +1376,4 @@ interface ModelFormAdapter<TModel extends AnyModelDef> {
1281
1376
  */
1282
1377
  declare function createModelFormAdapter<TModel extends AnyModelDef>(model: TModel): ModelFormAdapter<TModel>;
1283
1378
 
1284
- export { type ModelFormNullishMode as $, type AthenaAuthAdminUserSessionRevokeBinding as A, type AthenaAuthSignInResponse as B, type AthenaAuthSignOutResponse as C, type AthenaAuthSocialRedirectResponse as D, type AthenaAuthStatusResponse as E, type AthenaAuthUser as F, type AthenaChangeEmailRequest as G, type AthenaChangePasswordRequest as H, type AthenaDeleteUserCallbackRequest as I, type AthenaDeleteUserRequest as J, type AthenaDeleteUserResponse as K, type AthenaEmailSignInRequest as L, type AthenaEmailSignUpRequest as M, type AthenaForgetPasswordRequest as N, AthenaGatewayError as O, type AthenaLinkSocialRequest as P, type AthenaOAuthAccountTokenRequest as Q, type AthenaOAuthTokenBundle as R, type AthenaResetPasswordRequest as S, type AthenaSendVerificationEmailRequest as T, type AthenaSocialSignInRequest as U, type AthenaUnlinkAccountRequest as V, type AthenaUpdateUserRequest as W, type AthenaUsernameSignInRequest as X, type AthenaVerifyEmailRequest as Y, type ModelFormAdapter as Z, type ModelFormDefaults as _, type AthenaAuthBindings as a, type ModelFormValues as a0, type ToModelFormDefaultsOptions as a1, type ToModelPayloadOptions as a2, createModelFormAdapter as a3, isAthenaGatewayError as a4, toModelFormDefaults as a5, toModelPayload as a6, type AthenaAuthFetchCompatibleInput as a7, type AthenaAuthCallOptions as b, type AthenaAuthClientConfig as c, type AthenaAuthCredentials as d, type AthenaAuthEmailChangeResponse as e, type AthenaAuthEndpointPath as f, type AthenaAuthErrorCode as g, type AthenaAuthErrorDetails as h, type AthenaAuthGenericInput as i, type AthenaAuthGenericQueryInput as j, type AthenaAuthLinkedAccount as k, type AthenaAuthMethod as l, type AthenaAuthOrganization as m, type AthenaAuthOrganizationBindings as n, type AthenaAuthOrganizationInvitation as o, type AthenaAuthOrganizationMember as p, type AthenaAuthQueryPrimitive as q, type AthenaAuthQueryValue as r, type AthenaAuthRequestInput as s, type AthenaAuthResetPasswordBinding as t, type AthenaAuthResult as u, type AthenaAuthRevokeSessionRequest as v, type AthenaAuthSdkClient as w, type AthenaAuthSession as x, type AthenaAuthSessionResponse as y, type AthenaAuthSessionRevokeBinding as z };
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 };
@@ -1,4 +1,4 @@
1
- import { b as AthenaGatewayErrorCode, X as AthenaGatewayEndpointPath, Y as AthenaGatewayMethod, c as AthenaGatewayErrorDetails, Q as AthenaGatewayResponse, K as AnyModelDef, z as RowOf, o as InsertOf, U as UpdateOf } from './types-BaBzjwXr.cjs';
1
+ import { b as AthenaGatewayErrorCode, X as AthenaGatewayEndpointPath, Y as AthenaGatewayMethod, c as AthenaGatewayErrorDetails, Q as AthenaGatewayResponse, J as AnyModelDef, z as RowOf, o as InsertOf, U as UpdateOf } from './types-A5e97acl.cjs';
2
2
 
3
3
  type AthenaAuthMethod = 'GET' | 'POST';
4
4
  type AthenaAuthCredentials = 'omit' | 'same-origin' | 'include';
@@ -211,6 +211,7 @@ interface AthenaAuthLinkedAccount {
211
211
  }
212
212
  type AthenaAuthPermissionSet = Record<string, unknown> | string[];
213
213
  type AthenaAuthLooseRecord = Record<string, unknown>;
214
+ type AthenaAuthReactEmailProps = Record<string, unknown>;
214
215
  interface AthenaSetPasswordRequest {
215
216
  newPassword: string;
216
217
  }
@@ -515,6 +516,56 @@ interface AthenaAdminEmailGetQuery {
515
516
  interface AthenaAdminEmailGetResponse {
516
517
  email?: AthenaAuthLooseRecord;
517
518
  }
519
+ interface AthenaAuthReactEmailRenderInput {
520
+ /**
521
+ * React email element instance (for example: `<WelcomeEmail {...props} />`).
522
+ */
523
+ element?: unknown;
524
+ /**
525
+ * React email component function. Use with `props` when you prefer component + props inputs.
526
+ */
527
+ component?: AthenaAuthReactEmailComponent;
528
+ /**
529
+ * Props passed to `component` when `element` is omitted.
530
+ */
531
+ props?: AthenaAuthReactEmailProps;
532
+ /**
533
+ * When true, run `pretty(...)` on rendered HTML when available.
534
+ */
535
+ pretty?: boolean;
536
+ /**
537
+ * Override plain-text output. If omitted, text is auto-derived when possible.
538
+ */
539
+ text?: string;
540
+ /**
541
+ * Disable derived plain-text generation. Defaults to `true`.
542
+ */
543
+ includePlainText?: boolean;
544
+ }
545
+ type AthenaAuthReactEmailComponent<TProps extends AthenaAuthReactEmailProps = AthenaAuthReactEmailProps> = (props: TProps) => unknown;
546
+ interface AthenaAuthReactEmailRenderOptions {
547
+ pretty?: boolean;
548
+ includePlainText?: boolean;
549
+ }
550
+ type AthenaAuthReactEmailEventPhase = 'render:start' | 'render:success' | 'render:error';
551
+ interface AthenaAuthReactEmailRenderEvent {
552
+ phase: AthenaAuthReactEmailEventPhase;
553
+ timestamp: string;
554
+ route?: string;
555
+ durationMs?: number;
556
+ message?: string;
557
+ error?: string;
558
+ }
559
+ interface AthenaAuthReactEmailConfig {
560
+ /**
561
+ * Optional default render settings used when request payloads omit `pretty` or `includePlainText`.
562
+ */
563
+ defaults?: AthenaAuthReactEmailRenderOptions;
564
+ /**
565
+ * Optional observer for render lifecycle events.
566
+ */
567
+ observe?: (event: AthenaAuthReactEmailRenderEvent) => void;
568
+ }
518
569
  interface AthenaAdminEmailCreateRequest {
519
570
  recipientEmail: string;
520
571
  subject: string;
@@ -522,6 +573,10 @@ interface AthenaAdminEmailCreateRequest {
522
573
  fromName?: string;
523
574
  textBody?: string;
524
575
  htmlBody?: string;
576
+ /**
577
+ * Optional React Email render input. When provided, `htmlBody` is derived automatically.
578
+ */
579
+ react?: AthenaAuthReactEmailRenderInput;
525
580
  provider: string;
526
581
  flow?: string;
527
582
  metadata?: AthenaAuthLooseRecord;
@@ -534,6 +589,10 @@ interface AthenaAdminEmailUpdateRequest {
534
589
  fromName?: string | null;
535
590
  textBody?: string | null;
536
591
  htmlBody?: string | null;
592
+ /**
593
+ * Optional React Email render input. When provided, `htmlBody` is derived automatically.
594
+ */
595
+ react?: AthenaAuthReactEmailRenderInput;
537
596
  provider?: string;
538
597
  flow?: string | null;
539
598
  metadata?: AthenaAuthLooseRecord;
@@ -605,6 +664,10 @@ interface AthenaAdminEmailTemplateCreateRequest {
605
664
  subjectTemplate: string;
606
665
  textTemplate?: string;
607
666
  htmlTemplate?: string;
667
+ /**
668
+ * Optional React Email render input. When provided, `htmlTemplate` is derived automatically.
669
+ */
670
+ react?: AthenaAuthReactEmailRenderInput;
608
671
  variables?: string[];
609
672
  isActive?: boolean;
610
673
  metadata?: AthenaAuthLooseRecord;
@@ -616,6 +679,10 @@ interface AthenaAdminEmailTemplateUpdateRequest {
616
679
  subjectTemplate?: string;
617
680
  textTemplate?: string | null;
618
681
  htmlTemplate?: string | null;
682
+ /**
683
+ * Optional React Email render input. When provided, `htmlTemplate` is derived automatically.
684
+ */
685
+ react?: AthenaAuthReactEmailRenderInput;
619
686
  variables?: string[];
620
687
  isActive?: boolean;
621
688
  metadata?: AthenaAuthLooseRecord;
@@ -796,6 +863,34 @@ interface AthenaAuthFetchCompatibleInput {
796
863
  }
797
864
  interface AthenaAuthClientConfig extends AthenaAuthCallOptions {
798
865
  fetch?: typeof fetch;
866
+ reactEmail?: AthenaAuthReactEmailConfig;
867
+ }
868
+ interface AthenaAuthEmailTemplateDefinition<TProps extends AthenaAuthReactEmailProps = AthenaAuthReactEmailProps> {
869
+ component: AthenaAuthReactEmailComponent<TProps>;
870
+ templateKey?: string;
871
+ subjectTemplate?: string;
872
+ defaults?: AthenaAuthReactEmailRenderOptions;
873
+ }
874
+ interface AthenaAuthEmailTemplateReactOverrides {
875
+ pretty?: boolean;
876
+ text?: string;
877
+ includePlainText?: boolean;
878
+ }
879
+ interface AthenaAuthEmailTemplateCreateFromDefinitionInput<TProps extends AthenaAuthReactEmailProps = AthenaAuthReactEmailProps> extends Omit<AthenaAdminEmailTemplateCreateRequest, 'react' | 'htmlTemplate' | 'textTemplate' | 'variables' | 'templateKey' | 'subjectTemplate'> {
880
+ props: TProps;
881
+ templateKey?: string;
882
+ subjectTemplate?: string;
883
+ react?: AthenaAuthEmailTemplateReactOverrides;
884
+ }
885
+ interface AthenaAuthEmailTemplateUpdateFromDefinitionInput<TProps extends AthenaAuthReactEmailProps = AthenaAuthReactEmailProps> extends Omit<AthenaAdminEmailTemplateUpdateRequest, 'react' | 'htmlTemplate' | 'textTemplate' | 'variables'> {
886
+ props: TProps;
887
+ react?: AthenaAuthEmailTemplateReactOverrides;
888
+ }
889
+ interface AthenaAuthEmailTemplateBuilder<TProps extends AthenaAuthReactEmailProps = AthenaAuthReactEmailProps> {
890
+ component: AthenaAuthReactEmailComponent<TProps>;
891
+ react: (props: TProps, overrides?: AthenaAuthEmailTemplateReactOverrides) => AthenaAuthReactEmailRenderInput;
892
+ toTemplateCreate: (input: AthenaAuthEmailTemplateCreateFromDefinitionInput<TProps>) => AthenaAdminEmailTemplateCreateRequest;
893
+ toTemplateUpdate: (input: AthenaAuthEmailTemplateUpdateFromDefinitionInput<TProps>) => AthenaAdminEmailTemplateUpdateRequest;
799
894
  }
800
895
  type AthenaAuthGenericInput = AthenaAuthFetchCompatibleInput & Record<string, unknown>;
801
896
  type AthenaAuthGenericQueryInput = AthenaAuthFetchCompatibleInput & {
@@ -1281,4 +1376,4 @@ interface ModelFormAdapter<TModel extends AnyModelDef> {
1281
1376
  */
1282
1377
  declare function createModelFormAdapter<TModel extends AnyModelDef>(model: TModel): ModelFormAdapter<TModel>;
1283
1378
 
1284
- export { type ModelFormNullishMode as $, type AthenaAuthAdminUserSessionRevokeBinding as A, type AthenaAuthSignInResponse as B, type AthenaAuthSignOutResponse as C, type AthenaAuthSocialRedirectResponse as D, type AthenaAuthStatusResponse as E, type AthenaAuthUser as F, type AthenaChangeEmailRequest as G, type AthenaChangePasswordRequest as H, type AthenaDeleteUserCallbackRequest as I, type AthenaDeleteUserRequest as J, type AthenaDeleteUserResponse as K, type AthenaEmailSignInRequest as L, type AthenaEmailSignUpRequest as M, type AthenaForgetPasswordRequest as N, AthenaGatewayError as O, type AthenaLinkSocialRequest as P, type AthenaOAuthAccountTokenRequest as Q, type AthenaOAuthTokenBundle as R, type AthenaResetPasswordRequest as S, type AthenaSendVerificationEmailRequest as T, type AthenaSocialSignInRequest as U, type AthenaUnlinkAccountRequest as V, type AthenaUpdateUserRequest as W, type AthenaUsernameSignInRequest as X, type AthenaVerifyEmailRequest as Y, type ModelFormAdapter as Z, type ModelFormDefaults as _, type AthenaAuthBindings as a, type ModelFormValues as a0, type ToModelFormDefaultsOptions as a1, type ToModelPayloadOptions as a2, createModelFormAdapter as a3, isAthenaGatewayError as a4, toModelFormDefaults as a5, toModelPayload as a6, type AthenaAuthFetchCompatibleInput as a7, type AthenaAuthCallOptions as b, type AthenaAuthClientConfig as c, type AthenaAuthCredentials as d, type AthenaAuthEmailChangeResponse as e, type AthenaAuthEndpointPath as f, type AthenaAuthErrorCode as g, type AthenaAuthErrorDetails as h, type AthenaAuthGenericInput as i, type AthenaAuthGenericQueryInput as j, type AthenaAuthLinkedAccount as k, type AthenaAuthMethod as l, type AthenaAuthOrganization as m, type AthenaAuthOrganizationBindings as n, type AthenaAuthOrganizationInvitation as o, type AthenaAuthOrganizationMember as p, type AthenaAuthQueryPrimitive as q, type AthenaAuthQueryValue as r, type AthenaAuthRequestInput as s, type AthenaAuthResetPasswordBinding as t, type AthenaAuthResult as u, type AthenaAuthRevokeSessionRequest as v, type AthenaAuthSdkClient as w, type AthenaAuthSession as x, type AthenaAuthSessionResponse as y, type AthenaAuthSessionRevokeBinding as z };
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 };
@@ -1,4 +1,4 @@
1
- import { R as RunGeneratorOptions, l as RunGeneratorResult } from './types-CeBPrnGj.js';
1
+ import { R as RunGeneratorOptions, l as RunGeneratorResult } from './types-BnD22-vb.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-CpqL-pZx.cjs';
1
+ import { R as RunGeneratorOptions, l as RunGeneratorResult } from './types-bDlr4u7p.cjs';
2
2
 
3
3
  /**
4
4
  * End-to-end generator execution: load config, introspect, render, and optionally write files.