@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.
- package/README.md +124 -2
- package/bin/athena-js.js +0 -0
- package/dist/browser.cjs +2245 -151
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +8 -7
- package/dist/browser.d.ts +8 -7
- package/dist/browser.js +2238 -152
- package/dist/browser.js.map +1 -1
- package/dist/cli/index.cjs +1073 -102
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.d.cts +3 -3
- package/dist/cli/index.d.ts +3 -3
- package/dist/cli/index.js +1073 -102
- package/dist/cli/index.js.map +1 -1
- package/dist/cookies.d.cts +1 -174
- package/dist/cookies.d.ts +1 -174
- package/dist/index-CVcQCGyG.d.cts +174 -0
- package/dist/index-CVcQCGyG.d.ts +174 -0
- package/dist/index.cjs +2246 -152
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -7
- package/dist/index.d.ts +8 -7
- package/dist/index.js +2239 -153
- package/dist/index.js.map +1 -1
- package/dist/{model-form-GzTqhEzM.d.cts → model-form-BaHWi3gm.d.cts} +9 -5
- package/dist/{model-form-C0FAbOaf.d.ts → model-form-Dh6gWjL0.d.ts} +9 -5
- package/dist/{pipeline-CR4V15jF.d.ts → pipeline-Ce3pTw5h.d.ts} +1 -1
- package/dist/{pipeline-DZeExYMA.d.cts → pipeline-D1ZYeoH7.d.cts} +1 -1
- package/dist/{react-email-CQJq92zQ.d.cts → react-email-B8O1Jeff.d.cts} +637 -30
- package/dist/{react-email-BuApZuyG.d.ts → react-email-CDEF0jij.d.ts} +637 -30
- package/dist/react.cjs +84 -4
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +4 -4
- package/dist/react.d.ts +4 -4
- package/dist/react.js +84 -4
- package/dist/react.js.map +1 -1
- package/dist/{types-D1JvL21V.d.cts → types-CUuo4NDi.d.cts} +1 -1
- package/dist/{types-09Q4D86N.d.cts → types-DSX6AT5B.d.cts} +3 -3
- package/dist/{types-09Q4D86N.d.ts → types-DSX6AT5B.d.ts} +3 -3
- package/dist/{types-DU3gNdFv.d.ts → types-DapchQY5.d.ts} +1 -1
- package/dist/utils.cjs +131 -0
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.d.cts +42 -1
- package/dist/utils.d.ts +42 -1
- package/dist/utils.js +117 -1
- package/dist/utils.js.map +1 -1
- package/package.json +193 -192
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as AthenaGatewayErrorCode,
|
|
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?:
|
|
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?:
|
|
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 =
|
|
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
|
|
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,
|
|
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?:
|
|
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?:
|
|
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 =
|
|
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
|
|
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-
|
|
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-
|
|
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.
|