@xylex-group/athena 2.9.0 → 2.11.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 +112 -28
- package/dist/browser.cjs +865 -74
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +3 -3
- package/dist/browser.d.ts +3 -3
- package/dist/browser.js +862 -75
- package/dist/browser.js.map +1 -1
- package/dist/cli/index.cjs +785 -40
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.js +785 -40
- package/dist/cli/index.js.map +1 -1
- package/dist/{client-D6EIJdQS.d.ts → client-DD_UeF3Q.d.ts} +508 -22
- package/dist/{client-CfAE_QOj.d.cts → client-WqBuu60O.d.cts} +508 -22
- package/dist/index.cjs +865 -74
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +862 -75
- package/dist/index.js.map +1 -1
- package/dist/{react-email-BvJ3fj_F.d.cts → module-BFMyVmwX.d.cts} +97 -2
- package/dist/{react-email-PLAJuZuO.d.ts → module-DRkIHtY-.d.ts} +97 -2
- package/dist/next/client.cjs +793 -40
- package/dist/next/client.cjs.map +1 -1
- package/dist/next/client.d.cts +3 -4
- package/dist/next/client.d.ts +3 -4
- package/dist/next/client.js +793 -40
- package/dist/next/client.js.map +1 -1
- package/dist/next/server.cjs +793 -40
- package/dist/next/server.cjs.map +1 -1
- package/dist/next/server.d.cts +2 -2
- package/dist/next/server.d.ts +2 -2
- package/dist/next/server.js +793 -40
- package/dist/next/server.js.map +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +2 -3
- package/dist/react.d.ts +2 -3
- package/dist/react.js +1 -1
- package/dist/react.js.map +1 -1
- package/dist/{shared-BW6hoLBY.d.cts → shared-B1ueL-Ox.d.cts} +3 -1
- package/dist/{shared-BiJvoURI.d.ts → shared-GPAprhBb.d.ts} +3 -1
- package/package.json +2 -2
|
@@ -4,7 +4,7 @@ type AthenaAuthMethod = 'GET' | 'POST';
|
|
|
4
4
|
type AthenaAuthCredentials = 'omit' | 'same-origin' | 'include';
|
|
5
5
|
type AthenaAuthQueryPrimitive = string | number | boolean;
|
|
6
6
|
type AthenaAuthQueryValue = AthenaAuthQueryPrimitive | AthenaAuthQueryPrimitive[] | null | undefined;
|
|
7
|
-
type AthenaAuthEndpointPath = '/sign-in/social' | '/sign-in/email' | '/sign-in/username' | '/sign-up/email' | '/get-session' | '/sign-out' | '/forget-password' | '/reset-password' | '/verify-email' | '/send-verification-email' | '/change-email' | '/change-email/verify' | '/change-password' | '/set-password' | '/update-user' | '/delete-user' | '/delete-user/verify' | '/delete-user/callback' | '/email-list' | '/email/list' | '/list-sessions' | '/revoke-session' | '/revoke-sessions' | '/revoke-other-sessions' | '/link-social' | '/list-accounts' | '/unlink-account' | '/refresh-token' | '/get-access-token' | '/two-factor/get-totp-uri' | '/two-factor/verify-totp' | '/two-factor/send-otp' | '/two-factor/verify-otp' | '/two-factor/verify-backup-code' | '/two-factor/generate-backup-codes' | '/two-factor/enable' | '/two-factor/disable' | '/passkey/generate-register-options' | '/passkey/generate-authenticate-options' | '/passkey/verify-registration' | '/passkey/verify-authentication' | '/passkey/list-user-passkeys' | '/passkey/delete-passkey' | '/passkey/update-passkey' | '/.well-known/webauthn' | '/admin/set-role' | '/admin/list-users' | '/admin/list-user-sessions' | '/admin/create-user' | '/admin/unban-user' | '/admin/ban-user' | '/admin/impersonate-user' | '/admin/stop-impersonating' | '/admin/revoke-user-session' | '/admin/revoke-user-sessions' | '/admin/remove-user' | '/admin/set-user-password' | '/admin/has-permission' | '/admin/api-key/create' | '/admin/athena-client/create' | '/admin/athena-client/list' | '/admin/audit-log/list' | '/admin/email/get' | '/admin/email/create' | '/admin/email/update' | '/admin/email/delete' | '/admin/email-failure/list' | '/admin/email-failure/get' | '/admin/email-failure/create' | '/admin/email-failure/update' | '/admin/email-failure/delete' | '/admin/email-template/get' | '/admin/email-template/create' | '/admin/email-template/delete' | '/admin/email-template/list' | '/admin/email-template/update' | '/admin/email/list' | '/api-key/create' | '/api-key/get' | '/api-key/update' | '/api-key/delete' | '/api-key/list' | '/api-key/verify' | '/api-key/delete-all-expired-api-keys' | '/organization/create' | '/organization/check-slug' | '/organization/list' | '/organization/set-active' | '/organization/get-full-organization' | '/organization/update' | '/organization/delete' | '/organization/invite-member' | '/organization/accept-invitation' | '/organization/cancel-invitation' | '/organization/reject-invitation' | '/organization/get-invitation' | '/organization/list-invitations' | '/organization/list-user-invitations' | '/organization/list-members' | '/organization/remove-member' | '/organization/update-member-role' | '/organization/get-active-member' | '/organization/leave' | '/organization/has-permission' | `/callback/${string}` | '/health' | '/ok' | '/error' | `/reset-password/${string}`;
|
|
7
|
+
type AthenaAuthEndpointPath = '/sign-in/social' | '/sign-in/email' | '/sign-in/username' | '/sign-up/email' | '/get-session' | '/sign-out' | '/forget-password' | '/reset-password' | '/verify-email' | '/send-verification-email' | '/change-email' | '/change-email/verify' | '/change-password' | '/set-password' | '/update-user' | '/delete-user' | '/delete-user/verify' | '/delete-user/callback' | '/email-list' | '/email/list' | '/list-sessions' | '/revoke-session' | '/revoke-sessions' | '/revoke-other-sessions' | '/link-social' | '/list-accounts' | '/unlink-account' | '/refresh-token' | '/get-access-token' | '/two-factor/get-totp-uri' | '/two-factor/verify-totp' | '/two-factor/send-otp' | '/two-factor/verify-otp' | '/two-factor/verify-backup-code' | '/two-factor/generate-backup-codes' | '/two-factor/enable' | '/two-factor/disable' | '/passkey/generate-register-options' | '/passkey/generate-authenticate-options' | '/passkey/verify-registration' | '/passkey/verify-authentication' | '/passkey/list-user-passkeys' | '/passkey/delete-passkey' | '/passkey/update-passkey' | '/.well-known/webauthn' | '/admin/set-role' | '/admin/list-users' | '/admin/list-user-sessions' | '/admin/create-user' | '/admin/unban-user' | '/admin/ban-user' | '/admin/impersonate-user' | '/admin/stop-impersonating' | '/admin/revoke-user-session' | '/admin/revoke-user-sessions' | '/admin/remove-user' | '/admin/set-user-password' | '/admin/has-permission' | '/admin/api-key/create' | '/admin/athena-client/create' | '/admin/athena-client/list' | '/admin/audit-log/list' | '/admin/email/get' | '/admin/email/create' | '/admin/email/update' | '/admin/email/delete' | '/admin/email-failure/list' | '/admin/email-failure/get' | '/admin/email-failure/create' | '/admin/email-failure/update' | '/admin/email-failure/delete' | '/admin/email-template/get' | '/admin/email-template/create' | '/admin/email-template/delete' | '/admin/email-template/list' | '/admin/email-template/update' | '/admin/email-template/send' | '/admin/email-event-type/list' | '/admin/email/list' | '/api-key/create' | '/api-key/get' | '/api-key/update' | '/api-key/delete' | '/api-key/list' | '/api-key/verify' | '/api-key/delete-all-expired-api-keys' | '/organization/create' | '/organization/check-slug' | '/organization/list' | '/organization/set-active' | '/organization/get-full-organization' | '/organization/update' | '/organization/delete' | '/organization/invite-member' | '/organization/accept-invitation' | '/organization/cancel-invitation' | '/organization/reject-invitation' | '/organization/get-invitation' | '/organization/list-invitations' | '/organization/list-user-invitations' | '/organization/list-members' | '/organization/remove-member' | '/organization/update-member-role' | '/organization/get-active-member' | '/organization/leave' | '/organization/has-permission' | `/callback/${string}` | '/health' | '/ok' | '/error' | `/reset-password/${string}`;
|
|
8
8
|
type AthenaAuthErrorCode = 'NETWORK_ERROR' | 'HTTP_ERROR' | 'INVALID_JSON' | 'UNKNOWN_ERROR';
|
|
9
9
|
interface AthenaAuthErrorDetails {
|
|
10
10
|
code: AthenaAuthErrorCode;
|
|
@@ -655,43 +655,77 @@ interface AthenaAdminEmailFailureDeleteRequest {
|
|
|
655
655
|
interface AthenaAdminEmailTemplateListQuery {
|
|
656
656
|
limit?: number;
|
|
657
657
|
offset?: number;
|
|
658
|
-
|
|
658
|
+
template_key?: string;
|
|
659
|
+
event_type?: string;
|
|
659
660
|
locale?: string;
|
|
660
|
-
|
|
661
|
+
is_active?: boolean;
|
|
662
|
+
}
|
|
663
|
+
interface AthenaAuthEmailTemplateVariableBinding {
|
|
664
|
+
name: string;
|
|
665
|
+
source: string;
|
|
666
|
+
required?: boolean;
|
|
667
|
+
}
|
|
668
|
+
interface AthenaAuthEmailTemplateAttachment {
|
|
669
|
+
file_url: string;
|
|
670
|
+
filename?: string;
|
|
671
|
+
}
|
|
672
|
+
interface AthenaAdminEmailTemplateRecord {
|
|
673
|
+
id?: string;
|
|
674
|
+
template_key: string;
|
|
675
|
+
event_type?: string | null;
|
|
676
|
+
subject_template?: string | null;
|
|
677
|
+
text_template?: string | null;
|
|
678
|
+
html_template?: string | null;
|
|
679
|
+
variables?: string[];
|
|
680
|
+
variable_bindings?: AthenaAuthEmailTemplateVariableBinding[];
|
|
681
|
+
attachments?: AthenaAuthEmailTemplateAttachment[];
|
|
682
|
+
attachment_failure_mode?: 'fail' | 'skip' | null;
|
|
683
|
+
is_active?: boolean;
|
|
684
|
+
metadata?: AthenaAuthLooseRecord;
|
|
685
|
+
created_at?: string;
|
|
686
|
+
updated_at?: string;
|
|
661
687
|
}
|
|
662
688
|
interface AthenaAdminEmailTemplateListResponse {
|
|
663
689
|
total?: number;
|
|
664
690
|
limit?: number;
|
|
665
691
|
offset?: number;
|
|
666
|
-
|
|
692
|
+
email_templates?: AthenaAdminEmailTemplateRecord[];
|
|
667
693
|
}
|
|
668
694
|
interface AthenaAdminEmailTemplateCreateRequest {
|
|
669
|
-
|
|
695
|
+
template_key: string;
|
|
696
|
+
event_type?: string;
|
|
670
697
|
locale?: string;
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
698
|
+
subject_template?: string;
|
|
699
|
+
text_template?: string;
|
|
700
|
+
html_template?: string;
|
|
674
701
|
/**
|
|
675
|
-
* Optional React Email render input. When provided, `
|
|
702
|
+
* Optional React Email render input. When provided, `html_template` is derived automatically.
|
|
676
703
|
*/
|
|
677
704
|
react?: AthenaAuthReactEmailRenderInput;
|
|
678
705
|
variables?: string[];
|
|
679
|
-
|
|
706
|
+
variable_bindings?: AthenaAuthEmailTemplateVariableBinding[];
|
|
707
|
+
attachments?: string | AthenaAuthEmailTemplateAttachment | AthenaAuthEmailTemplateAttachment[];
|
|
708
|
+
attachment_failure_mode?: 'fail' | 'skip';
|
|
709
|
+
is_active?: boolean;
|
|
680
710
|
metadata?: AthenaAuthLooseRecord;
|
|
681
711
|
}
|
|
682
712
|
interface AthenaAdminEmailTemplateUpdateRequest {
|
|
683
713
|
id: string;
|
|
684
|
-
|
|
714
|
+
template_key?: string;
|
|
715
|
+
event_type?: string;
|
|
685
716
|
locale?: string;
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
717
|
+
subject_template?: string;
|
|
718
|
+
text_template?: string | null;
|
|
719
|
+
html_template?: string | null;
|
|
689
720
|
/**
|
|
690
|
-
* Optional React Email render input. When provided, `
|
|
721
|
+
* Optional React Email render input. When provided, `html_template` is derived automatically.
|
|
691
722
|
*/
|
|
692
723
|
react?: AthenaAuthReactEmailRenderInput;
|
|
693
724
|
variables?: string[];
|
|
694
|
-
|
|
725
|
+
variable_bindings?: AthenaAuthEmailTemplateVariableBinding[];
|
|
726
|
+
attachments?: string | AthenaAuthEmailTemplateAttachment | AthenaAuthEmailTemplateAttachment[];
|
|
727
|
+
attachment_failure_mode?: 'fail' | 'skip';
|
|
728
|
+
is_active?: boolean;
|
|
695
729
|
metadata?: AthenaAuthLooseRecord;
|
|
696
730
|
}
|
|
697
731
|
interface AthenaAdminEmailTemplateDeleteRequest {
|
|
@@ -701,7 +735,39 @@ interface AthenaAdminEmailTemplateGetQuery {
|
|
|
701
735
|
id: string;
|
|
702
736
|
}
|
|
703
737
|
interface AthenaAdminEmailTemplateGetResponse {
|
|
704
|
-
|
|
738
|
+
email_template?: AthenaAdminEmailTemplateRecord;
|
|
739
|
+
}
|
|
740
|
+
interface AthenaAdminEmailTemplateSendRequest {
|
|
741
|
+
template_id: string;
|
|
742
|
+
recipient_email: string;
|
|
743
|
+
render_variables?: AthenaAuthLooseRecord;
|
|
744
|
+
user_id?: string;
|
|
745
|
+
organization_id?: string;
|
|
746
|
+
session_token?: string;
|
|
747
|
+
attachments?: string | AthenaAuthEmailTemplateAttachment | AthenaAuthEmailTemplateAttachment[];
|
|
748
|
+
attachment_failure_mode?: 'fail' | 'skip';
|
|
749
|
+
metadata?: AthenaAuthLooseRecord;
|
|
750
|
+
}
|
|
751
|
+
interface AthenaAdminEmailTemplateSendResponse {
|
|
752
|
+
success: boolean;
|
|
753
|
+
flow?: string | null;
|
|
754
|
+
template_id?: string | null;
|
|
755
|
+
template_key?: string | null;
|
|
756
|
+
event_type?: string | null;
|
|
757
|
+
recipient_email?: string | null;
|
|
758
|
+
subject?: string | null;
|
|
759
|
+
attachment_count?: number | null;
|
|
760
|
+
delivery_metadata?: AthenaAuthLooseRecord | null;
|
|
761
|
+
email_send_failure_id?: string | null;
|
|
762
|
+
error?: string | null;
|
|
763
|
+
}
|
|
764
|
+
interface AthenaAdminEmailEventTypeRecord {
|
|
765
|
+
event_type: string;
|
|
766
|
+
label?: string | null;
|
|
767
|
+
description?: string | null;
|
|
768
|
+
}
|
|
769
|
+
interface AthenaAdminEmailEventTypeListResponse {
|
|
770
|
+
event_types?: AthenaAdminEmailEventTypeRecord[];
|
|
705
771
|
}
|
|
706
772
|
interface AthenaApiKeyCreateRequest {
|
|
707
773
|
name?: string;
|
|
@@ -1207,11 +1273,17 @@ interface AthenaAuthBindings {
|
|
|
1207
1273
|
query: AthenaAdminEmailTemplateGetQuery;
|
|
1208
1274
|
} & AthenaAuthFetchCompatibleInput, options?: AthenaAuthCallOptions) => Promise<AthenaAuthResult<AthenaAdminEmailTemplateGetResponse>>;
|
|
1209
1275
|
/** Create email template. Route: `POST /admin/email-template/create`. */
|
|
1210
|
-
create: (input: AthenaAdminEmailTemplateCreateRequest & AthenaAuthFetchCompatibleInput, options?: AthenaAuthCallOptions) => Promise<AthenaAuthResult<
|
|
1276
|
+
create: (input: AthenaAdminEmailTemplateCreateRequest & AthenaAuthFetchCompatibleInput, options?: AthenaAuthCallOptions) => Promise<AthenaAuthResult<AthenaAdminEmailTemplateRecord>>;
|
|
1211
1277
|
/** Update email template. Route: `POST /admin/email-template/update`. */
|
|
1212
|
-
update: (input: AthenaAdminEmailTemplateUpdateRequest & AthenaAuthFetchCompatibleInput, options?: AthenaAuthCallOptions) => Promise<AthenaAuthResult<
|
|
1278
|
+
update: (input: AthenaAdminEmailTemplateUpdateRequest & AthenaAuthFetchCompatibleInput, options?: AthenaAuthCallOptions) => Promise<AthenaAuthResult<AthenaAdminEmailTemplateRecord>>;
|
|
1213
1279
|
/** Delete email template. Route: `POST /admin/email-template/delete`. */
|
|
1214
1280
|
delete: (input: AthenaAdminEmailTemplateDeleteRequest & AthenaAuthFetchCompatibleInput, options?: AthenaAuthCallOptions) => Promise<AthenaAuthResult<AthenaAdminSuccessResponse>>;
|
|
1281
|
+
/** Send one stored email template. Route: `POST /admin/email-template/send`. */
|
|
1282
|
+
send: (input: AthenaAdminEmailTemplateSendRequest & AthenaAuthFetchCompatibleInput, options?: AthenaAuthCallOptions) => Promise<AthenaAuthResult<AthenaAdminEmailTemplateSendResponse>>;
|
|
1283
|
+
};
|
|
1284
|
+
eventType: {
|
|
1285
|
+
/** List canonical admin email event types. Route: `GET /admin/email-event-type/list`. */
|
|
1286
|
+
list: (input?: AthenaAuthFetchCompatibleInput, options?: AthenaAuthCallOptions) => Promise<AthenaAuthResult<AthenaAdminEmailEventTypeListResponse>>;
|
|
1215
1287
|
};
|
|
1216
1288
|
};
|
|
1217
1289
|
emailTemplate: {
|
|
@@ -1220,7 +1292,7 @@ interface AthenaAuthBindings {
|
|
|
1220
1292
|
query: AthenaAdminEmailTemplateGetQuery;
|
|
1221
1293
|
} & AthenaAuthFetchCompatibleInput, options?: AthenaAuthCallOptions) => Promise<AthenaAuthResult<AthenaAdminEmailTemplateGetResponse>>;
|
|
1222
1294
|
/** Create email template. Route: `POST /admin/email-template/create`. */
|
|
1223
|
-
create: (input: AthenaAdminEmailTemplateCreateRequest & AthenaAuthFetchCompatibleInput, options?: AthenaAuthCallOptions) => Promise<AthenaAuthResult<
|
|
1295
|
+
create: (input: AthenaAdminEmailTemplateCreateRequest & AthenaAuthFetchCompatibleInput, options?: AthenaAuthCallOptions) => Promise<AthenaAuthResult<AthenaAdminEmailTemplateRecord>>;
|
|
1224
1296
|
/** Delete email template. Route: `POST /admin/email-template/delete`. */
|
|
1225
1297
|
delete: (input: AthenaAdminEmailTemplateDeleteRequest & AthenaAuthFetchCompatibleInput, options?: AthenaAuthCallOptions) => Promise<AthenaAuthResult<AthenaAdminSuccessResponse>>;
|
|
1226
1298
|
/** List email templates. Route: `GET /admin/email-template/list`. */
|
|
@@ -1228,7 +1300,13 @@ interface AthenaAuthBindings {
|
|
|
1228
1300
|
query?: AthenaAdminEmailTemplateListQuery;
|
|
1229
1301
|
} & AthenaAuthFetchCompatibleInput, options?: AthenaAuthCallOptions) => Promise<AthenaAuthResult<AthenaAdminEmailTemplateListResponse>>;
|
|
1230
1302
|
/** Update email template. Route: `POST /admin/email-template/update`. */
|
|
1231
|
-
update: (input: AthenaAdminEmailTemplateUpdateRequest & AthenaAuthFetchCompatibleInput, options?: AthenaAuthCallOptions) => Promise<AthenaAuthResult<
|
|
1303
|
+
update: (input: AthenaAdminEmailTemplateUpdateRequest & AthenaAuthFetchCompatibleInput, options?: AthenaAuthCallOptions) => Promise<AthenaAuthResult<AthenaAdminEmailTemplateRecord>>;
|
|
1304
|
+
/** Send one stored email template. Route: `POST /admin/email-template/send`. */
|
|
1305
|
+
send: (input: AthenaAdminEmailTemplateSendRequest & AthenaAuthFetchCompatibleInput, options?: AthenaAuthCallOptions) => Promise<AthenaAuthResult<AthenaAdminEmailTemplateSendResponse>>;
|
|
1306
|
+
};
|
|
1307
|
+
emailEventType: {
|
|
1308
|
+
/** List canonical admin email event types. Route: `GET /admin/email-event-type/list`. */
|
|
1309
|
+
list: (input?: AthenaAuthFetchCompatibleInput, options?: AthenaAuthCallOptions) => Promise<AthenaAuthResult<AthenaAdminEmailEventTypeListResponse>>;
|
|
1232
1310
|
};
|
|
1233
1311
|
};
|
|
1234
1312
|
apiKey: {
|
|
@@ -2969,6 +3047,380 @@ interface AthenaStorageModule extends AthenaStorageBaseModule {
|
|
|
2969
3047
|
declare function createAthenaStorageError(input: AthenaStorageErrorInput): AthenaStorageError;
|
|
2970
3048
|
declare function createStorageModule(gateway: AthenaGatewayClient, runtimeOptions?: AthenaStorageClientConfig): AthenaStorageModule;
|
|
2971
3049
|
|
|
3050
|
+
type AthenaChatRoomKind = 'dm' | 'group' | 'channel';
|
|
3051
|
+
type AthenaChatMemberRole = 'owner' | 'admin' | 'member';
|
|
3052
|
+
interface AthenaChatAttachmentInput {
|
|
3053
|
+
file_id: string;
|
|
3054
|
+
ordinal: number;
|
|
3055
|
+
}
|
|
3056
|
+
interface AthenaChatAttachmentView extends AthenaChatAttachmentInput {
|
|
3057
|
+
file_name?: string | null;
|
|
3058
|
+
original_name?: string | null;
|
|
3059
|
+
content_type?: string | null;
|
|
3060
|
+
mime_type?: string | null;
|
|
3061
|
+
extension?: string | null;
|
|
3062
|
+
size_bytes?: number | null;
|
|
3063
|
+
status?: string | null;
|
|
3064
|
+
visibility?: string | null;
|
|
3065
|
+
file_url?: string | null;
|
|
3066
|
+
bucket?: string | null;
|
|
3067
|
+
storage_key?: string | null;
|
|
3068
|
+
authorized_url_path: string;
|
|
3069
|
+
proxy_url_path: string;
|
|
3070
|
+
public_url_path: string;
|
|
3071
|
+
}
|
|
3072
|
+
interface AthenaChatReactionCount {
|
|
3073
|
+
emoji: string;
|
|
3074
|
+
count: number;
|
|
3075
|
+
reacted: boolean;
|
|
3076
|
+
}
|
|
3077
|
+
interface AthenaChatReactionSummary {
|
|
3078
|
+
message_id: string;
|
|
3079
|
+
reactions: AthenaChatReactionCount[];
|
|
3080
|
+
}
|
|
3081
|
+
interface AthenaChatMessage {
|
|
3082
|
+
id: string;
|
|
3083
|
+
room_id: string;
|
|
3084
|
+
room_seq: number;
|
|
3085
|
+
sender_id: string;
|
|
3086
|
+
client_message_id?: string | null;
|
|
3087
|
+
body_text?: string | null;
|
|
3088
|
+
body_json?: Record<string, unknown> | null;
|
|
3089
|
+
reply_to_message_id?: string | null;
|
|
3090
|
+
created_at: string;
|
|
3091
|
+
edited_at?: string | null;
|
|
3092
|
+
deleted_at?: string | null;
|
|
3093
|
+
metadata_json?: Record<string, unknown> | null;
|
|
3094
|
+
attachments: AthenaChatAttachmentView[];
|
|
3095
|
+
reactions: AthenaChatReactionCount[];
|
|
3096
|
+
}
|
|
3097
|
+
interface AthenaChatMessagePage {
|
|
3098
|
+
items: AthenaChatMessage[];
|
|
3099
|
+
next_before_seq?: number | null;
|
|
3100
|
+
}
|
|
3101
|
+
interface AthenaChatRoom {
|
|
3102
|
+
id: string;
|
|
3103
|
+
organization_id: string;
|
|
3104
|
+
kind: AthenaChatRoomKind;
|
|
3105
|
+
title?: string | null;
|
|
3106
|
+
created_by: string;
|
|
3107
|
+
created_at: string;
|
|
3108
|
+
updated_at: string;
|
|
3109
|
+
archived_at?: string | null;
|
|
3110
|
+
last_message_id?: string | null;
|
|
3111
|
+
last_message_seq: number;
|
|
3112
|
+
last_message_at?: string | null;
|
|
3113
|
+
version: number;
|
|
3114
|
+
}
|
|
3115
|
+
interface AthenaChatRoomPage {
|
|
3116
|
+
items: AthenaChatRoom[];
|
|
3117
|
+
}
|
|
3118
|
+
interface AthenaChatMember {
|
|
3119
|
+
room_id: string;
|
|
3120
|
+
user_id: string;
|
|
3121
|
+
role: AthenaChatMemberRole;
|
|
3122
|
+
joined_at: string;
|
|
3123
|
+
last_read_seq: number;
|
|
3124
|
+
last_read_message_id?: string | null;
|
|
3125
|
+
muted: boolean;
|
|
3126
|
+
notification_mode?: string | null;
|
|
3127
|
+
hidden_at?: string | null;
|
|
3128
|
+
}
|
|
3129
|
+
interface AthenaChatReadCursor {
|
|
3130
|
+
room_id: string;
|
|
3131
|
+
user_id: string;
|
|
3132
|
+
last_read_seq: number;
|
|
3133
|
+
last_read_message_id?: string | null;
|
|
3134
|
+
}
|
|
3135
|
+
interface AthenaChatDeleteResult {
|
|
3136
|
+
ok: boolean;
|
|
3137
|
+
message_id: string;
|
|
3138
|
+
}
|
|
3139
|
+
interface AthenaChatRemoveResult {
|
|
3140
|
+
ok: boolean;
|
|
3141
|
+
user_id: string;
|
|
3142
|
+
}
|
|
3143
|
+
interface AthenaChatSearchHit {
|
|
3144
|
+
room_id: string;
|
|
3145
|
+
message: AthenaChatMessage;
|
|
3146
|
+
}
|
|
3147
|
+
interface AthenaChatSearchPage {
|
|
3148
|
+
items: AthenaChatSearchHit[];
|
|
3149
|
+
}
|
|
3150
|
+
interface AthenaChatCreateRoomRequest {
|
|
3151
|
+
kind: AthenaChatRoomKind;
|
|
3152
|
+
title?: string | null;
|
|
3153
|
+
member_user_ids?: string[];
|
|
3154
|
+
}
|
|
3155
|
+
interface AthenaChatUpdateRoomRequest {
|
|
3156
|
+
title?: string | null;
|
|
3157
|
+
}
|
|
3158
|
+
interface AthenaChatSendMessageRequest {
|
|
3159
|
+
client_message_id?: string | null;
|
|
3160
|
+
body_text?: string | null;
|
|
3161
|
+
body_json?: Record<string, unknown> | null;
|
|
3162
|
+
reply_to_message_id?: string | null;
|
|
3163
|
+
metadata_json?: Record<string, unknown> | null;
|
|
3164
|
+
attachments?: AthenaChatAttachmentInput[];
|
|
3165
|
+
}
|
|
3166
|
+
interface AthenaChatEditMessageRequest {
|
|
3167
|
+
body_text?: string | null;
|
|
3168
|
+
body_json?: Record<string, unknown> | null;
|
|
3169
|
+
metadata_json?: Record<string, unknown> | null;
|
|
3170
|
+
}
|
|
3171
|
+
interface AthenaChatMarkReadUpToRequest {
|
|
3172
|
+
message_id?: string | null;
|
|
3173
|
+
seq?: number | null;
|
|
3174
|
+
}
|
|
3175
|
+
interface AthenaChatAddMembersRequest {
|
|
3176
|
+
user_ids: string[];
|
|
3177
|
+
role?: AthenaChatMemberRole | null;
|
|
3178
|
+
}
|
|
3179
|
+
interface AthenaChatAddReactionRequest {
|
|
3180
|
+
emoji: string;
|
|
3181
|
+
}
|
|
3182
|
+
interface AthenaChatSearchMessagesRequest {
|
|
3183
|
+
query: string;
|
|
3184
|
+
room_id?: string | null;
|
|
3185
|
+
limit?: number | null;
|
|
3186
|
+
}
|
|
3187
|
+
interface AthenaChatRoomCreatedResponse {
|
|
3188
|
+
status: 'success';
|
|
3189
|
+
message: string;
|
|
3190
|
+
data: AthenaChatRoom;
|
|
3191
|
+
}
|
|
3192
|
+
interface AthenaChatMessageCreatedResponse {
|
|
3193
|
+
status: 'success';
|
|
3194
|
+
message: string;
|
|
3195
|
+
data: AthenaChatMessage;
|
|
3196
|
+
}
|
|
3197
|
+
interface AthenaChatListRoomsQuery {
|
|
3198
|
+
limit?: number;
|
|
3199
|
+
offset?: number;
|
|
3200
|
+
include_archived?: boolean;
|
|
3201
|
+
}
|
|
3202
|
+
interface AthenaChatListMessagesQuery {
|
|
3203
|
+
limit?: number;
|
|
3204
|
+
before_seq?: number;
|
|
3205
|
+
after_seq?: number;
|
|
3206
|
+
}
|
|
3207
|
+
interface AthenaChatRealtimeInfoResponse {
|
|
3208
|
+
status?: string;
|
|
3209
|
+
message?: string;
|
|
3210
|
+
data?: {
|
|
3211
|
+
transport?: string;
|
|
3212
|
+
path?: string;
|
|
3213
|
+
api_base?: string;
|
|
3214
|
+
actions?: string[];
|
|
3215
|
+
};
|
|
3216
|
+
}
|
|
3217
|
+
interface AthenaChatResumeRoomCursor {
|
|
3218
|
+
room_id: string;
|
|
3219
|
+
last_seq: number;
|
|
3220
|
+
}
|
|
3221
|
+
interface AthenaChatPresenceUser {
|
|
3222
|
+
user_id: string;
|
|
3223
|
+
state: string;
|
|
3224
|
+
active_room_id?: string | null;
|
|
3225
|
+
at?: string | null;
|
|
3226
|
+
}
|
|
3227
|
+
interface AthenaChatWsAuthHelloCommand {
|
|
3228
|
+
type: 'auth.hello';
|
|
3229
|
+
token?: string | null;
|
|
3230
|
+
room_subscriptions?: string[] | null;
|
|
3231
|
+
}
|
|
3232
|
+
interface AthenaChatWsSubscribeCommand {
|
|
3233
|
+
type: 'chat.subscribe';
|
|
3234
|
+
room_id: string;
|
|
3235
|
+
from_seq?: number | null;
|
|
3236
|
+
}
|
|
3237
|
+
interface AthenaChatWsUnsubscribeCommand {
|
|
3238
|
+
type: 'chat.unsubscribe';
|
|
3239
|
+
room_id: string;
|
|
3240
|
+
}
|
|
3241
|
+
interface AthenaChatWsResumeCommand {
|
|
3242
|
+
type: 'chat.resume';
|
|
3243
|
+
rooms: AthenaChatResumeRoomCursor[];
|
|
3244
|
+
}
|
|
3245
|
+
interface AthenaChatWsTypingStartCommand {
|
|
3246
|
+
type: 'chat.typing.start';
|
|
3247
|
+
room_id: string;
|
|
3248
|
+
}
|
|
3249
|
+
interface AthenaChatWsTypingStopCommand {
|
|
3250
|
+
type: 'chat.typing.stop';
|
|
3251
|
+
room_id: string;
|
|
3252
|
+
}
|
|
3253
|
+
interface AthenaChatWsPresenceHeartbeatCommand {
|
|
3254
|
+
type: 'chat.presence.heartbeat';
|
|
3255
|
+
active_room_id?: string | null;
|
|
3256
|
+
}
|
|
3257
|
+
interface AthenaChatWsReadUpToCommand {
|
|
3258
|
+
type: 'chat.read.up_to';
|
|
3259
|
+
room_id: string;
|
|
3260
|
+
message_id?: string | null;
|
|
3261
|
+
seq?: number | null;
|
|
3262
|
+
}
|
|
3263
|
+
interface AthenaChatWsPingCommand {
|
|
3264
|
+
type: 'ping';
|
|
3265
|
+
at: string;
|
|
3266
|
+
}
|
|
3267
|
+
type AthenaChatWsClientCommand = AthenaChatWsAuthHelloCommand | AthenaChatWsSubscribeCommand | AthenaChatWsUnsubscribeCommand | AthenaChatWsResumeCommand | AthenaChatWsTypingStartCommand | AthenaChatWsTypingStopCommand | AthenaChatWsPresenceHeartbeatCommand | AthenaChatWsReadUpToCommand | AthenaChatWsPingCommand;
|
|
3268
|
+
interface AthenaChatWsHelloOkEvent {
|
|
3269
|
+
type: 'hello.ok';
|
|
3270
|
+
connection_id: string;
|
|
3271
|
+
server_time: string;
|
|
3272
|
+
}
|
|
3273
|
+
interface AthenaChatWsSubscribedEvent {
|
|
3274
|
+
type: 'chat.subscribed';
|
|
3275
|
+
room_id: string;
|
|
3276
|
+
from_seq?: number | null;
|
|
3277
|
+
}
|
|
3278
|
+
interface AthenaChatWsRoomEventBase {
|
|
3279
|
+
room_id: string;
|
|
3280
|
+
room: AthenaChatRoom;
|
|
3281
|
+
}
|
|
3282
|
+
interface AthenaChatWsRoomCreatedEvent extends AthenaChatWsRoomEventBase {
|
|
3283
|
+
type: 'chat.room.created';
|
|
3284
|
+
}
|
|
3285
|
+
interface AthenaChatWsRoomUpdatedEvent extends AthenaChatWsRoomEventBase {
|
|
3286
|
+
type: 'chat.room.updated';
|
|
3287
|
+
}
|
|
3288
|
+
interface AthenaChatWsRoomArchivedEvent extends AthenaChatWsRoomEventBase {
|
|
3289
|
+
type: 'chat.room.archived';
|
|
3290
|
+
}
|
|
3291
|
+
interface AthenaChatWsMessageEventBase {
|
|
3292
|
+
room_id: string;
|
|
3293
|
+
message: AthenaChatMessage;
|
|
3294
|
+
}
|
|
3295
|
+
interface AthenaChatWsMessageCreatedEvent extends AthenaChatWsMessageEventBase {
|
|
3296
|
+
type: 'chat.message.created';
|
|
3297
|
+
}
|
|
3298
|
+
interface AthenaChatWsMessageUpdatedEvent extends AthenaChatWsMessageEventBase {
|
|
3299
|
+
type: 'chat.message.updated';
|
|
3300
|
+
}
|
|
3301
|
+
interface AthenaChatWsMessageDeletedEvent {
|
|
3302
|
+
type: 'chat.message.deleted';
|
|
3303
|
+
room_id: string;
|
|
3304
|
+
message_id: string;
|
|
3305
|
+
room_seq: number;
|
|
3306
|
+
}
|
|
3307
|
+
interface AthenaChatWsReadUpdatedEvent {
|
|
3308
|
+
type: 'chat.read.updated';
|
|
3309
|
+
room_id: string;
|
|
3310
|
+
read_cursor: AthenaChatReadCursor;
|
|
3311
|
+
}
|
|
3312
|
+
interface AthenaChatWsMembersUpdatedEvent {
|
|
3313
|
+
type: 'chat.members.updated';
|
|
3314
|
+
room_id: string;
|
|
3315
|
+
members: AthenaChatMember[];
|
|
3316
|
+
}
|
|
3317
|
+
interface AthenaChatWsTypingUpdatedEvent {
|
|
3318
|
+
type: 'chat.typing.updated';
|
|
3319
|
+
room_id: string;
|
|
3320
|
+
user_ids: string[];
|
|
3321
|
+
}
|
|
3322
|
+
interface AthenaChatWsPresenceUpdatedEvent {
|
|
3323
|
+
type: 'chat.presence.updated';
|
|
3324
|
+
room_id?: string | null;
|
|
3325
|
+
users: AthenaChatPresenceUser[];
|
|
3326
|
+
}
|
|
3327
|
+
interface AthenaChatWsSyncRequiredEvent {
|
|
3328
|
+
type: 'chat.sync.required';
|
|
3329
|
+
room_id?: string | null;
|
|
3330
|
+
reason?: string | null;
|
|
3331
|
+
}
|
|
3332
|
+
interface AthenaChatWsReactionUpdatedEvent {
|
|
3333
|
+
type: 'chat.reaction.updated';
|
|
3334
|
+
room_id: string;
|
|
3335
|
+
summary: AthenaChatReactionSummary;
|
|
3336
|
+
}
|
|
3337
|
+
interface AthenaChatWsPongEvent {
|
|
3338
|
+
type: 'pong';
|
|
3339
|
+
at: string;
|
|
3340
|
+
}
|
|
3341
|
+
interface AthenaChatWsErrorEvent {
|
|
3342
|
+
type: 'error';
|
|
3343
|
+
error: string;
|
|
3344
|
+
code?: string | null;
|
|
3345
|
+
}
|
|
3346
|
+
type AthenaChatWsServerEvent = AthenaChatWsHelloOkEvent | AthenaChatWsSubscribedEvent | AthenaChatWsRoomCreatedEvent | AthenaChatWsRoomUpdatedEvent | AthenaChatWsRoomArchivedEvent | AthenaChatWsMessageCreatedEvent | AthenaChatWsMessageUpdatedEvent | AthenaChatWsMessageDeletedEvent | AthenaChatWsReadUpdatedEvent | AthenaChatWsMembersUpdatedEvent | AthenaChatWsTypingUpdatedEvent | AthenaChatWsPresenceUpdatedEvent | AthenaChatWsSyncRequiredEvent | AthenaChatWsReactionUpdatedEvent | AthenaChatWsPongEvent | AthenaChatWsErrorEvent;
|
|
3347
|
+
interface AthenaChatCallOptions {
|
|
3348
|
+
headers?: Record<string, string>;
|
|
3349
|
+
signal?: AbortSignal;
|
|
3350
|
+
client?: string;
|
|
3351
|
+
bearerToken?: string | null;
|
|
3352
|
+
cookie?: string | null;
|
|
3353
|
+
sessionToken?: string | null;
|
|
3354
|
+
forceNoCache?: boolean;
|
|
3355
|
+
}
|
|
3356
|
+
interface AthenaChatWebSocketLike {
|
|
3357
|
+
close(code?: number, reason?: string): void;
|
|
3358
|
+
send(data: string): void;
|
|
3359
|
+
addEventListener?(type: 'open' | 'message' | 'error' | 'close', listener: (event: unknown) => void): void;
|
|
3360
|
+
removeEventListener?(type: 'open' | 'message' | 'error' | 'close', listener: (event: unknown) => void): void;
|
|
3361
|
+
onopen?: ((event: unknown) => void) | null;
|
|
3362
|
+
onmessage?: ((event: {
|
|
3363
|
+
data?: string | ArrayBuffer | Uint8Array | Blob;
|
|
3364
|
+
}) => void) | null;
|
|
3365
|
+
onerror?: ((event: unknown) => void) | null;
|
|
3366
|
+
onclose?: ((event: unknown) => void) | null;
|
|
3367
|
+
}
|
|
3368
|
+
type AthenaChatWebSocketFactory = ((url: string, protocols?: string | string[]) => AthenaChatWebSocketLike) | (new (url: string, protocols?: string | string[]) => AthenaChatWebSocketLike);
|
|
3369
|
+
interface AthenaChatConnectOptions {
|
|
3370
|
+
protocols?: string | string[];
|
|
3371
|
+
hello?: AthenaChatWsAuthHelloCommand;
|
|
3372
|
+
onMessage?: (message: AthenaChatWsServerEvent | Record<string, unknown>) => void;
|
|
3373
|
+
}
|
|
3374
|
+
interface AthenaChatRealtimeConnection {
|
|
3375
|
+
readonly socket: AthenaChatWebSocketLike;
|
|
3376
|
+
send(command: AthenaChatWsClientCommand): void;
|
|
3377
|
+
hello(command?: Omit<AthenaChatWsAuthHelloCommand, 'type'>): void;
|
|
3378
|
+
subscribe(roomId: string, fromSeq?: number | null): void;
|
|
3379
|
+
unsubscribe(roomId: string): void;
|
|
3380
|
+
resume(rooms: AthenaChatResumeRoomCursor[]): void;
|
|
3381
|
+
typingStart(roomId: string): void;
|
|
3382
|
+
typingStop(roomId: string): void;
|
|
3383
|
+
presenceHeartbeat(activeRoomId?: string | null): void;
|
|
3384
|
+
readUpTo(roomId: string, input?: Omit<AthenaChatMarkReadUpToRequest, never>): void;
|
|
3385
|
+
ping(at?: string): void;
|
|
3386
|
+
close(code?: number, reason?: string): void;
|
|
3387
|
+
}
|
|
3388
|
+
interface AthenaChatRealtimeModule {
|
|
3389
|
+
info(options?: AthenaChatCallOptions): Promise<AthenaChatRealtimeInfoResponse>;
|
|
3390
|
+
connect(options?: AthenaChatConnectOptions): AthenaChatRealtimeConnection;
|
|
3391
|
+
}
|
|
3392
|
+
interface AthenaChatModule {
|
|
3393
|
+
room: {
|
|
3394
|
+
list(query?: AthenaChatListRoomsQuery, options?: AthenaChatCallOptions): Promise<AthenaChatRoomPage>;
|
|
3395
|
+
create(input: AthenaChatCreateRoomRequest, options?: AthenaChatCallOptions): Promise<AthenaChatRoomCreatedResponse>;
|
|
3396
|
+
get(roomId: string, options?: AthenaChatCallOptions): Promise<AthenaChatRoom>;
|
|
3397
|
+
update(roomId: string, input: AthenaChatUpdateRoomRequest, options?: AthenaChatCallOptions): Promise<AthenaChatRoom>;
|
|
3398
|
+
archive(roomId: string, options?: AthenaChatCallOptions): Promise<AthenaChatRoom>;
|
|
3399
|
+
readCursor: {
|
|
3400
|
+
upTo(roomId: string, input?: AthenaChatMarkReadUpToRequest, options?: AthenaChatCallOptions): Promise<AthenaChatReadCursor>;
|
|
3401
|
+
};
|
|
3402
|
+
member: {
|
|
3403
|
+
list(roomId: string, options?: AthenaChatCallOptions): Promise<AthenaChatMember[]>;
|
|
3404
|
+
add(roomId: string, input: AthenaChatAddMembersRequest, options?: AthenaChatCallOptions): Promise<AthenaChatMember[]>;
|
|
3405
|
+
remove(roomId: string, userId: string, options?: AthenaChatCallOptions): Promise<AthenaChatRemoveResult>;
|
|
3406
|
+
};
|
|
3407
|
+
message: {
|
|
3408
|
+
list(roomId: string, query?: AthenaChatListMessagesQuery, options?: AthenaChatCallOptions): Promise<AthenaChatMessagePage>;
|
|
3409
|
+
send(roomId: string, input: AthenaChatSendMessageRequest, options?: AthenaChatCallOptions): Promise<AthenaChatMessageCreatedResponse>;
|
|
3410
|
+
update(roomId: string, messageId: string, input: AthenaChatEditMessageRequest, options?: AthenaChatCallOptions): Promise<AthenaChatMessage>;
|
|
3411
|
+
delete(roomId: string, messageId: string, options?: AthenaChatCallOptions): Promise<AthenaChatDeleteResult>;
|
|
3412
|
+
};
|
|
3413
|
+
};
|
|
3414
|
+
message: {
|
|
3415
|
+
reaction: {
|
|
3416
|
+
add(messageId: string, input: AthenaChatAddReactionRequest, options?: AthenaChatCallOptions): Promise<AthenaChatReactionSummary>;
|
|
3417
|
+
remove(messageId: string, emoji: string, options?: AthenaChatCallOptions): Promise<AthenaChatReactionSummary>;
|
|
3418
|
+
};
|
|
3419
|
+
search(input: AthenaChatSearchMessagesRequest, options?: AthenaChatCallOptions): Promise<AthenaChatSearchPage>;
|
|
3420
|
+
};
|
|
3421
|
+
realtime: AthenaChatRealtimeModule;
|
|
3422
|
+
}
|
|
3423
|
+
|
|
2972
3424
|
type AthenaRowShape$1 = Record<string, AthenaJsonValue | undefined>;
|
|
2973
3425
|
type FilterColumnKey$1<Row> = Extract<keyof NonNullable<Row>, string>;
|
|
2974
3426
|
type ResolvedFilterColumnKey$1<Row> = [FilterColumnKey$1<Row>] extends [never] ? string : FilterColumnKey$1<Row>;
|
|
@@ -3274,6 +3726,31 @@ interface AthenaResultError {
|
|
|
3274
3726
|
cause?: string;
|
|
3275
3727
|
raw: unknown;
|
|
3276
3728
|
}
|
|
3729
|
+
type AthenaRequestService = 'db' | 'auth' | 'chat' | 'storage';
|
|
3730
|
+
type AthenaRequestMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'HEAD' | 'OPTIONS';
|
|
3731
|
+
interface AthenaRequestQueryValueMap {
|
|
3732
|
+
[key: string]: string | number | boolean | null | undefined | Array<string | number | boolean | null | undefined>;
|
|
3733
|
+
}
|
|
3734
|
+
interface AthenaRequestOptions {
|
|
3735
|
+
service?: AthenaRequestService;
|
|
3736
|
+
url?: string;
|
|
3737
|
+
path?: string;
|
|
3738
|
+
method?: AthenaRequestMethod;
|
|
3739
|
+
headers?: Record<string, string>;
|
|
3740
|
+
query?: AthenaRequestQueryValueMap;
|
|
3741
|
+
body?: RequestInit['body'] | Record<string, unknown> | unknown[] | null;
|
|
3742
|
+
signal?: AbortSignal;
|
|
3743
|
+
credentials?: RequestInit['credentials'];
|
|
3744
|
+
responseType?: 'json' | 'text' | 'response';
|
|
3745
|
+
}
|
|
3746
|
+
interface AthenaRequestResponse<T = unknown> {
|
|
3747
|
+
ok: boolean;
|
|
3748
|
+
status: number;
|
|
3749
|
+
statusText: string;
|
|
3750
|
+
headers: Headers;
|
|
3751
|
+
data: T | string | null;
|
|
3752
|
+
raw: Response;
|
|
3753
|
+
}
|
|
3277
3754
|
interface AthenaClientExperimentalOptions {
|
|
3278
3755
|
/**
|
|
3279
3756
|
* @deprecated Failed `AthenaResult` values now include normalized structured `error`
|
|
@@ -3467,12 +3944,14 @@ interface AthenaSdkClient<TStrict extends boolean = false> {
|
|
|
3467
3944
|
db: AthenaDbModule<TStrict>;
|
|
3468
3945
|
rpc<Row = unknown, Args extends AthenaJsonObject = AthenaJsonObject>(fn: string, args?: Args, options?: AthenaRpcCallOptions): RpcQueryBuilder<Row, TStrict>;
|
|
3469
3946
|
query<Row = unknown>(query: string, options?: AthenaGatewayCallOptions): Promise<AthenaResult<Row[]>>;
|
|
3947
|
+
request<T = unknown>(options: AthenaRequestOptions): Promise<AthenaRequestResponse<T>>;
|
|
3470
3948
|
verifyConnection(options?: AthenaGatewayConnectionOptions): Promise<AthenaGatewayConnectionResult>;
|
|
3471
3949
|
withContext(context?: AthenaClientContextOptions): AthenaSdkClient<TStrict>;
|
|
3472
3950
|
withSession(session?: AthenaClientSessionLike | null, options?: AthenaClientSessionOptions): AthenaSdkClient<TStrict>;
|
|
3473
3951
|
}
|
|
3474
3952
|
interface AthenaSdkClientWithAuth<TStrict extends boolean = false> extends AthenaSdkClient<TStrict> {
|
|
3475
3953
|
auth: AthenaAuthBindings;
|
|
3954
|
+
chat: AthenaChatModule;
|
|
3476
3955
|
withContext(context?: AthenaClientContextOptions): AthenaSdkClientWithAuth<TStrict>;
|
|
3477
3956
|
withSession(session?: AthenaClientSessionLike | null, options?: AthenaClientSessionOptions): AthenaSdkClientWithAuth<TStrict>;
|
|
3478
3957
|
withOptions(options?: AthenaClientOverrideOptions): AthenaSdkClientWithAuth<TStrict>;
|
|
@@ -3498,6 +3977,10 @@ interface AthenaClientSessionLike {
|
|
|
3498
3977
|
interface AthenaCreateClientServiceUrlConfig {
|
|
3499
3978
|
url?: string | null | undefined;
|
|
3500
3979
|
}
|
|
3980
|
+
interface AthenaCreateClientChatOptions extends AthenaCreateClientServiceUrlConfig {
|
|
3981
|
+
wsUrl?: string | null | undefined;
|
|
3982
|
+
webSocketFactory?: AthenaChatWebSocketFactory | null | undefined;
|
|
3983
|
+
}
|
|
3501
3984
|
interface AthenaCreateClientAuthOptions extends Omit<AthenaAuthClientConfig, 'baseUrl' | 'apiKey' | 'bearerToken' | 'cookie' | 'sessionToken'> {
|
|
3502
3985
|
url?: string | null | undefined;
|
|
3503
3986
|
baseUrl?: string | null | undefined;
|
|
@@ -3516,10 +3999,13 @@ interface AthenaCreateClientOptions {
|
|
|
3516
3999
|
db?: AthenaCreateClientServiceUrlConfig;
|
|
3517
4000
|
gateway?: AthenaCreateClientServiceUrlConfig;
|
|
3518
4001
|
auth?: AthenaCreateClientAuthOptions;
|
|
4002
|
+
chat?: AthenaCreateClientChatOptions;
|
|
3519
4003
|
storage?: AthenaCreateClientServiceUrlConfig;
|
|
3520
4004
|
dbUrl?: string | null | undefined;
|
|
3521
4005
|
gatewayUrl?: string | null | undefined;
|
|
3522
4006
|
authUrl?: string | null | undefined;
|
|
4007
|
+
chatUrl?: string | null | undefined;
|
|
4008
|
+
chatWsUrl?: string | null | undefined;
|
|
3523
4009
|
storageUrl?: string | null | undefined;
|
|
3524
4010
|
experimental?: AthenaClientExperimentalOptions;
|
|
3525
4011
|
}
|
|
@@ -3643,4 +4129,4 @@ declare function createClient(url: string | null | undefined, apiKey: string | n
|
|
|
3643
4129
|
declare function createClient(url: string | null | undefined, apiKey: string | null | undefined, options: AthenaCreateClientOptionsWithTypecheckedColumns): AthenaSdkClientWithAuth<true>;
|
|
3644
4130
|
declare function createClient(url: string | null | undefined, apiKey: string | null | undefined, options?: AthenaCreateClientOptions): AthenaSdkClientWithAuth<false>;
|
|
3645
4131
|
|
|
3646
|
-
export { type AthenaAuthOrganizationMember as $, type AthenaAdminEmailCreateRequest as A, type AthenaAuthBindings as B, type AthenaAuthCallOptions as C, type AthenaAuthClientConfig as D, type AthenaAuthCredentials as E, type AthenaAuthEmailChangeResponse as F, type AthenaAuthEmailTemplateBuilder as G, type AthenaAuthEmailTemplateCreateFromDefinitionInput as H, type AthenaAuthEmailTemplateDefinition as I, type AthenaAuthEmailTemplateReactOverrides as J, type AthenaAuthEmailTemplateUpdateFromDefinitionInput as K, type AthenaAuthEndpointPath as L, type AthenaAuthErrorCode as M, type AthenaAuthErrorDetails as N, type AthenaAuthFilterOperator as O, type AthenaAuthGenericInput as P, type AthenaAuthGenericQueryInput as Q, type AthenaAuthGetUserResponse as R, type AthenaAuthGuardFailure as S, type AthenaAuthGuardReason as T, type AthenaAuthGuardResult as U, type AthenaAuthGuardSuccess as V, type AthenaAuthLinkedAccount as W, type AthenaAuthMethod as X, type AthenaAuthOrganization as Y, type AthenaAuthOrganizationBindings as Z, type AthenaAuthOrganizationInvitation as _, type AthenaAdminEmailDeleteRequest as a, type AthenaFromOptions as a$, type AthenaAuthQueryPrimitive as a0, type AthenaAuthQueryValue as a1, type AthenaAuthReactEmailComponent as a2, type AthenaAuthReactEmailConfig as a3, type AthenaAuthReactEmailEventPhase as a4, type AthenaAuthReactEmailProps as a5, type AthenaAuthReactEmailRenderEvent as a6, type AthenaAuthReactEmailRenderInput as a7, type AthenaAuthReactEmailRenderOptions as a8, type AthenaAuthRequestInput as a9, type AthenaCreateClientAuthOptions as aA, type AthenaCreateClientConfig as aB, type AthenaCreateClientConfigWithStorage as aC, type AthenaCreateClientConfigWithStorageAndTypecheckedColumns as aD, type AthenaCreateClientConfigWithTypecheckedColumns as aE, type AthenaCreateClientOptions as aF, type AthenaCreateClientOptionsWithStorage as aG, type AthenaCreateClientOptionsWithStorageAndTypecheckedColumns as aH, type AthenaCreateClientOptionsWithTypecheckedColumns as aI, type AthenaCreateClientServiceUrlConfig as aJ, type AthenaDbModule as aK, type AthenaDeleteDebugAst as aL, type AthenaDeleteUserCallbackRequest as aM, type AthenaDeleteUserRequest as aN, type AthenaDeleteUserResponse as aO, type AthenaEmailSignInRequest as aP, type AthenaEmailSignUpRequest as aQ, type AthenaEnvelope as aR, AthenaError as aS, AthenaErrorCategory as aT, AthenaErrorCode as aU, type AthenaErrorInput as aV, AthenaErrorKind as aW, type AthenaFindManyDebugAst as aX, type AthenaFindManyOptions as aY, type AthenaFindManyResult as aZ, type AthenaForgetPasswordRequest as a_, type AthenaAuthResetPasswordBinding as aa, type AthenaAuthResult as ab, type AthenaAuthRevokeSessionRequest as ac, type AthenaAuthSdkClient as ad, type AthenaAuthSearchOperator as ae, type AthenaAuthSession as af, type AthenaAuthSessionResponse as ag, type AthenaAuthSessionRevokeBinding as ah, type AthenaAuthSignInResponse as ai, type AthenaAuthSignOutResponse as aj, type AthenaAuthSocialRedirectResponse as ak, type AthenaAuthStatusResponse as al, type AthenaAuthUser as am, type AthenaChangeEmailRequest as an, type AthenaChangePasswordRequest as ao, AthenaClient as ap, type AthenaClientBuilder as aq, type AthenaClientContextOptions as ar, type AthenaClientExperimentalOptions as as, type AthenaClientFromEnvironmentOptions as at, type AthenaClientFromEnvironmentOptionsWithStorage as au, type AthenaClientFromEnvironmentOptionsWithStorageAndTypecheckedColumns as av, type AthenaClientFromEnvironmentOptionsWithTypecheckedColumns as aw, type AthenaClientOverrideOptions as ax, type AthenaClientSessionLike as ay, type AthenaClientSessionOptions as az, type AthenaAdminEmailFailureCreateRequest as b, type AthenaStorageTemplateVars as b$, type AthenaHeaderBag as b0, type AthenaInsertDebugAst as b1, type AthenaLinkSocialRequest as b2, type AthenaOAuthAccountTokenRequest as b3, type AthenaOAuthTokenBundle as b4, type AthenaOperationContext as b5, type AthenaOrderBy as b6, type AthenaQueryDebugAst as b7, type AthenaQueryTraceCallsite as b8, type AthenaQueryTraceEvent as b9, AthenaStorageError as bA, AthenaStorageErrorCode as bB, type AthenaStorageErrorDetails as bC, type AthenaStorageErrorHandler as bD, type AthenaStorageErrorInput as bE, type AthenaStorageFileConfig as bF, type AthenaStorageFileDeleteInput as bG, type AthenaStorageFileDownloadInput as bH, type AthenaStorageFileListInput as bI, type AthenaStorageFileModule as bJ, type AthenaStorageFileNamespace as bK, type AthenaStorageFileUploadInput as bL, type AthenaStorageFileUploadManyRequest as bM, type AthenaStorageFileUploadRequest as bN, type AthenaStorageFileUploadResult as bO, type AthenaStorageFolderNamespace as bP, type AthenaStorageManagedUpload as bQ, type AthenaStorageModule as bR, type AthenaStorageMultipartNamespace as bS, type AthenaStorageObjectFolderNamespace as bT, type AthenaStorageObjectNamespace as bU, type AthenaStoragePathContext as bV, type AthenaStoragePermissionNamespace as bW, type AthenaStoragePrefixPath as bX, type AthenaStoragePutBody as bY, type AthenaStoragePutOptions as bZ, type AthenaStorageTemplateValue as b_, type AthenaQueryTraceOptions as ba, type AthenaRawQueryDebugAst as bb, type AthenaRelationSelectNode as bc, type AthenaResetPasswordRequest as bd, type AthenaResult as be, type AthenaResultError as bf, type AthenaRpcBuilderStateAst as bg, type AthenaRpcDebugAst as bh, type AthenaSdkClient as bi, type AthenaSdkClientWithAuth as bj, type AthenaSdkClientWithStorage as bk, type AthenaSelectDebugAst as bl, type AthenaSelectDebugTransport as bm, type AthenaSelectShape as bn, type AthenaSendVerificationEmailRequest as bo, type AthenaSocialSignInRequest as bp, type AthenaStorageAuditNamespace as bq, type AthenaStorageBaseModule as br, type AthenaStorageBinaryCallOptions as bs, type AthenaStorageBucketCorsNamespace as bt, type AthenaStorageBucketNamespace as bu, type AthenaStorageCallOptions as bv, type AthenaStorageCatalogNamespace as bw, type AthenaStorageClientConfig as bx, type AthenaStorageCredentialsNamespace as by, type AthenaStorageEnv as bz, type AthenaAdminEmailFailureDeleteRequest as c, type StorageMultipartListPartsRequest as c$, type AthenaStorageUploadConstraints as c0, type AthenaStorageUploadProgress as c1, type AthenaStorageUploadProgressHandler as c2, type AthenaStorageUploadSource as c3, type AthenaStorageUploadedFile as c4, type AthenaTableBuilderStateAst as c5, type AthenaUnlinkAccountRequest as c6, type AthenaUpdateDebugAst as c7, type AthenaUpdateUserRequest as c8, type AthenaUpsertDebugAst as c9, type S3CredentialListItem as cA, type SearchStorageFilesRequest as cB, type SetManyStorageFileVisibilityRequest as cC, type SetStorageFileVisibilityRequest as cD, type StorageAuditEventRecord as cE, type StorageAuditListResponse as cF, type StorageAuditQueryRequest as cG, type StorageBatchUploadUrlResponse as cH, type StorageBatchUploadUrlResponseWithPut as cI, type StorageBucketCorsRequest as cJ, type StorageBucketCorsRuleInput as cK, type StorageBucketLifecycleRequest as cL, type StorageBucketLifecycleRuleInput as cM, type StorageBucketPolicyRequest as cN, type StorageFileAccessPurpose as cO, type StorageFileMutationManyResponse as cP, type StorageFileMutationResponse as cQ, type StorageFilePermissionRecord as cR, type StorageFileRetentionRequest as cS, type StorageFileVersionPathRequest as cT, type StorageFolderMutationResponse as cU, type StorageListFilesResponse as cV, type StorageListObjectsRequest as cW, type StorageMultipartAbortRequest as cX, type StorageMultipartCompletePartInput as cY, type StorageMultipartCompleteRequest as cZ, type StorageMultipartCreateRequest as c_, type AthenaUsernameSignInRequest as ca, type AthenaVerifyEmailRequest as cb, type AthenaWhere as cc, type AthenaWhereBooleanOperand as cd, type AthenaWhereOperatorInput as ce, type ConfirmStorageUploadRequest as cf, type CopyStorageFileRequest as cg, type CreateStorageCatalogRequest as ch, type CreateStorageUploadUrlRequest as ci, type CreateStorageUploadUrlsRequest as cj, type DeleteManyStorageFilesRequest as ck, type DeleteStorageFolderRequest as cl, type GetStorageFileUrlQuery as cm, type IntCoercionOptions as cn, type ListStorageFilesRequest as co, type ListStorageFoldersRequest as cp, type ManagedFileRecord as cq, type MoveStorageFolderRequest as cr, type NormalizedAthenaError as cs, type PresignedFileUrlResponse as ct, type RequireAffectedOptions as cu, type RetryBackoffStrategy as cv, type RetryConfig as cw, type RpcOrderOptions as cx, type RpcQueryBuilder as cy, type S3CatalogItem as cz, type AthenaAdminEmailFailureGetQuery as d, type StorageMultipartSignPartRequest as d0, type StorageObjectBaseRequest as d1, type StorageObjectCopyRequest as d2, type StorageObjectFolderCreateRequest as d3, type StorageObjectFolderDeleteRequest as d4, type StorageObjectFolderRenameRequest as d5, type StorageObjectPublicUrlRequest as d6, type StorageObjectRequest as d7, type StorageObjectValidateRequest as d8, type StorageObjectVersionListRequest as d9, assertInt as dA, coerceInt as dB, createAthenaStorageError as dC, createClient as dD, createStorageModule as dE, getAthenaDebugAst as dF, isOk as dG, normalizeAthenaError as dH, parseBooleanFlag as dI, requireAffected as dJ, requireSuccess as dK, storageSdkManifest as dL, unwrap as dM, unwrapOne as dN, unwrapRows as dO, verifyAthenaGatewayUrl as dP, withRetry as dQ, type AthenaAuthFetchCompatibleInput as dR, type StorageObjectVersionMutationRequest as da, type StoragePermissionCheckRequest as db, type StoragePermissionCheckResponse as dc, type StoragePermissionGrantRequest as dd, type StoragePermissionListRequest as de, type StoragePermissionListResponse as df, type StoragePermissionRevokeRequest as dg, type StoragePresignUploadRequest as dh, type StoragePublicAccessBlockRequest as di, type StorageServerSideEncryptionOptions as dj, type StorageSetBucketCorsRequest as dk, type StorageSetBucketLifecycleRequest as dl, type StorageSetBucketPolicyRequest as dm, type StorageSetPublicAccessBlockRequest as dn, type StorageSignedPostPolicyRequest as dp, type StorageUpdateObjectRequest as dq, type StorageUploadUrlResponse as dr, type StorageUploadUrlResponseWithPut as ds, type TableQueryBuilder as dt, type TreeStorageFoldersRequest as du, type UnwrapOneOptions as dv, type UnwrapOptions as dw, type UpdateManyStorageFilesRequest as dx, type UpdateStorageCatalogRequest as dy, type UpdateStorageFileRequest as dz, type AthenaAdminEmailFailureGetResponse as e, type AthenaAdminEmailFailureListQuery as f, type AthenaAdminEmailFailureListResponse as g, type AthenaAdminEmailFailureUpdateRequest as h, type AthenaAdminEmailFailureUpdateResponse as i, type AthenaAdminEmailGetQuery as j, type AthenaAdminEmailGetResponse as k, type AthenaAdminEmailListQuery as l, type AthenaAdminEmailListResponse as m, type AthenaAdminEmailTemplateCreateRequest as n, type AthenaAdminEmailTemplateDeleteRequest as o, type AthenaAdminEmailTemplateGetQuery as p, type AthenaAdminEmailTemplateGetResponse as q, type AthenaAdminEmailTemplateListQuery as r, type AthenaAdminEmailTemplateListResponse as s, type AthenaAdminEmailTemplateUpdateRequest as t, type AthenaAdminEmailUpdateRequest as u, type AthenaAdminEmailUpdateResponse as v, type AthenaAdminListUsersFilterOperator as w, type AthenaAdminListUsersQuery as x, type AthenaAdminListUsersSearchOperator as y, type AthenaAuthAdminUserSessionRevokeBinding as z };
|
|
4132
|
+
export { type AthenaAuthGuardResult as $, type AthenaAdminEmailCreateRequest as A, type AthenaAdminEmailUpdateResponse as B, type AthenaAdminListUsersFilterOperator as C, type AthenaAdminListUsersQuery as D, type AthenaAdminListUsersSearchOperator as E, type AthenaAuthAdminUserSessionRevokeBinding as F, type AthenaAuthBindings as G, type AthenaAuthCallOptions as H, type AthenaAuthClientConfig as I, type AthenaAuthCredentials as J, type AthenaAuthEmailChangeResponse as K, type AthenaAuthEmailTemplateAttachment as L, type AthenaAuthEmailTemplateBuilder as M, type AthenaAuthEmailTemplateCreateFromDefinitionInput as N, type AthenaAuthEmailTemplateDefinition as O, type AthenaAuthEmailTemplateReactOverrides as P, type AthenaAuthEmailTemplateUpdateFromDefinitionInput as Q, type AthenaAuthEmailTemplateVariableBinding as R, type AthenaAuthEndpointPath as S, type AthenaAuthErrorCode as T, type AthenaAuthErrorDetails as U, type AthenaAuthFilterOperator as V, type AthenaAuthGenericInput as W, type AthenaAuthGenericQueryInput as X, type AthenaAuthGetUserResponse as Y, type AthenaAuthGuardFailure as Z, type AthenaAuthGuardReason as _, type AthenaAdminEmailDeleteRequest as a, type AthenaChatSearchHit as a$, type AthenaAuthGuardSuccess as a0, type AthenaAuthLinkedAccount as a1, type AthenaAuthMethod as a2, type AthenaAuthOrganization as a3, type AthenaAuthOrganizationBindings as a4, type AthenaAuthOrganizationInvitation as a5, type AthenaAuthOrganizationMember as a6, type AthenaAuthQueryPrimitive as a7, type AthenaAuthQueryValue as a8, type AthenaAuthReactEmailComponent as a9, type AthenaChatCallOptions as aA, type AthenaChatConnectOptions as aB, type AthenaChatCreateRoomRequest as aC, type AthenaChatDeleteResult as aD, type AthenaChatEditMessageRequest as aE, type AthenaChatListMessagesQuery as aF, type AthenaChatListRoomsQuery as aG, type AthenaChatMarkReadUpToRequest as aH, type AthenaChatMember as aI, type AthenaChatMemberRole as aJ, type AthenaChatMessage as aK, type AthenaChatMessageCreatedResponse as aL, type AthenaChatMessagePage as aM, type AthenaChatModule as aN, type AthenaChatPresenceUser as aO, type AthenaChatReactionCount as aP, type AthenaChatReactionSummary as aQ, type AthenaChatReadCursor as aR, type AthenaChatRealtimeConnection as aS, type AthenaChatRealtimeInfoResponse as aT, type AthenaChatRealtimeModule as aU, type AthenaChatRemoveResult as aV, type AthenaChatResumeRoomCursor as aW, type AthenaChatRoom as aX, type AthenaChatRoomCreatedResponse as aY, type AthenaChatRoomKind as aZ, type AthenaChatRoomPage as a_, type AthenaAuthReactEmailConfig as aa, type AthenaAuthReactEmailEventPhase as ab, type AthenaAuthReactEmailProps as ac, type AthenaAuthReactEmailRenderEvent as ad, type AthenaAuthReactEmailRenderInput as ae, type AthenaAuthReactEmailRenderOptions as af, type AthenaAuthRequestInput as ag, type AthenaAuthResetPasswordBinding as ah, type AthenaAuthResult as ai, type AthenaAuthRevokeSessionRequest as aj, type AthenaAuthSdkClient as ak, type AthenaAuthSearchOperator as al, type AthenaAuthSession as am, type AthenaAuthSessionResponse as an, type AthenaAuthSessionRevokeBinding as ao, type AthenaAuthSignInResponse as ap, type AthenaAuthSignOutResponse as aq, type AthenaAuthSocialRedirectResponse as ar, type AthenaAuthStatusResponse as as, type AthenaAuthUser as at, type AthenaChangeEmailRequest as au, type AthenaChangePasswordRequest as av, type AthenaChatAddMembersRequest as aw, type AthenaChatAddReactionRequest as ax, type AthenaChatAttachmentInput as ay, type AthenaChatAttachmentView as az, type AthenaAdminEmailEventTypeListResponse as b, type AthenaEmailSignUpRequest as b$, type AthenaChatSearchMessagesRequest as b0, type AthenaChatSearchPage as b1, type AthenaChatSendMessageRequest as b2, type AthenaChatUpdateRoomRequest as b3, type AthenaChatWebSocketFactory as b4, type AthenaChatWebSocketLike as b5, type AthenaChatWsAuthHelloCommand as b6, type AthenaChatWsClientCommand as b7, type AthenaChatWsErrorEvent as b8, type AthenaChatWsHelloOkEvent as b9, type AthenaClientBuilder as bA, type AthenaClientContextOptions as bB, type AthenaClientExperimentalOptions as bC, type AthenaClientFromEnvironmentOptions as bD, type AthenaClientFromEnvironmentOptionsWithStorage as bE, type AthenaClientFromEnvironmentOptionsWithStorageAndTypecheckedColumns as bF, type AthenaClientFromEnvironmentOptionsWithTypecheckedColumns as bG, type AthenaClientOverrideOptions as bH, type AthenaClientSessionLike as bI, type AthenaClientSessionOptions as bJ, type AthenaCreateClientAuthOptions as bK, type AthenaCreateClientChatOptions as bL, type AthenaCreateClientConfig as bM, type AthenaCreateClientConfigWithStorage as bN, type AthenaCreateClientConfigWithStorageAndTypecheckedColumns as bO, type AthenaCreateClientConfigWithTypecheckedColumns as bP, type AthenaCreateClientOptions as bQ, type AthenaCreateClientOptionsWithStorage as bR, type AthenaCreateClientOptionsWithStorageAndTypecheckedColumns as bS, type AthenaCreateClientOptionsWithTypecheckedColumns as bT, type AthenaCreateClientServiceUrlConfig as bU, type AthenaDbModule as bV, type AthenaDeleteDebugAst as bW, type AthenaDeleteUserCallbackRequest as bX, type AthenaDeleteUserRequest as bY, type AthenaDeleteUserResponse as bZ, type AthenaEmailSignInRequest as b_, type AthenaChatWsMembersUpdatedEvent as ba, type AthenaChatWsMessageCreatedEvent as bb, type AthenaChatWsMessageDeletedEvent as bc, type AthenaChatWsMessageEventBase as bd, type AthenaChatWsMessageUpdatedEvent as be, type AthenaChatWsPingCommand as bf, type AthenaChatWsPongEvent as bg, type AthenaChatWsPresenceHeartbeatCommand as bh, type AthenaChatWsPresenceUpdatedEvent as bi, type AthenaChatWsReactionUpdatedEvent as bj, type AthenaChatWsReadUpToCommand as bk, type AthenaChatWsReadUpdatedEvent as bl, type AthenaChatWsResumeCommand as bm, type AthenaChatWsRoomArchivedEvent as bn, type AthenaChatWsRoomCreatedEvent as bo, type AthenaChatWsRoomEventBase as bp, type AthenaChatWsRoomUpdatedEvent as bq, type AthenaChatWsServerEvent as br, type AthenaChatWsSubscribeCommand as bs, type AthenaChatWsSubscribedEvent as bt, type AthenaChatWsSyncRequiredEvent as bu, type AthenaChatWsTypingStartCommand as bv, type AthenaChatWsTypingStopCommand as bw, type AthenaChatWsTypingUpdatedEvent as bx, type AthenaChatWsUnsubscribeCommand as by, AthenaClient as bz, type AthenaAdminEmailEventTypeRecord as c, type AthenaStorageFileUploadInput as c$, type AthenaEnvelope as c0, AthenaError as c1, AthenaErrorCategory as c2, AthenaErrorCode as c3, type AthenaErrorInput as c4, AthenaErrorKind as c5, type AthenaFindManyDebugAst as c6, type AthenaFindManyOptions as c7, type AthenaFindManyResult as c8, type AthenaForgetPasswordRequest as c9, type AthenaSdkClientWithStorage as cA, type AthenaSelectDebugAst as cB, type AthenaSelectDebugTransport as cC, type AthenaSelectShape as cD, type AthenaSendVerificationEmailRequest as cE, type AthenaSocialSignInRequest as cF, type AthenaStorageAuditNamespace as cG, type AthenaStorageBaseModule as cH, type AthenaStorageBinaryCallOptions as cI, type AthenaStorageBucketCorsNamespace as cJ, type AthenaStorageBucketNamespace as cK, type AthenaStorageCallOptions as cL, type AthenaStorageCatalogNamespace as cM, type AthenaStorageClientConfig as cN, type AthenaStorageCredentialsNamespace as cO, type AthenaStorageEnv as cP, AthenaStorageError as cQ, AthenaStorageErrorCode as cR, type AthenaStorageErrorDetails as cS, type AthenaStorageErrorHandler as cT, type AthenaStorageErrorInput as cU, type AthenaStorageFileConfig as cV, type AthenaStorageFileDeleteInput as cW, type AthenaStorageFileDownloadInput as cX, type AthenaStorageFileListInput as cY, type AthenaStorageFileModule as cZ, type AthenaStorageFileNamespace as c_, type AthenaFromOptions as ca, type AthenaHeaderBag as cb, type AthenaInsertDebugAst as cc, type AthenaLinkSocialRequest as cd, type AthenaOAuthAccountTokenRequest as ce, type AthenaOAuthTokenBundle as cf, type AthenaOperationContext as cg, type AthenaOrderBy as ch, type AthenaQueryDebugAst as ci, type AthenaQueryTraceCallsite as cj, type AthenaQueryTraceEvent as ck, type AthenaQueryTraceOptions as cl, type AthenaRawQueryDebugAst as cm, type AthenaRelationSelectNode as cn, type AthenaRequestMethod as co, type AthenaRequestOptions as cp, type AthenaRequestQueryValueMap as cq, type AthenaRequestResponse as cr, type AthenaRequestService as cs, type AthenaResetPasswordRequest as ct, type AthenaResult as cu, type AthenaResultError as cv, type AthenaRpcBuilderStateAst as cw, type AthenaRpcDebugAst as cx, type AthenaSdkClient as cy, type AthenaSdkClientWithAuth as cz, type AthenaAdminEmailFailureCreateRequest as d, type StorageBucketCorsRuleInput as d$, type AthenaStorageFileUploadManyRequest as d0, type AthenaStorageFileUploadRequest as d1, type AthenaStorageFileUploadResult as d2, type AthenaStorageFolderNamespace as d3, type AthenaStorageManagedUpload as d4, type AthenaStorageModule as d5, type AthenaStorageMultipartNamespace as d6, type AthenaStorageObjectFolderNamespace as d7, type AthenaStorageObjectNamespace as d8, type AthenaStoragePathContext as d9, type CreateStorageUploadUrlsRequest as dA, type DeleteManyStorageFilesRequest as dB, type DeleteStorageFolderRequest as dC, type GetStorageFileUrlQuery as dD, type IntCoercionOptions as dE, type ListStorageFilesRequest as dF, type ListStorageFoldersRequest as dG, type ManagedFileRecord as dH, type MoveStorageFolderRequest as dI, type NormalizedAthenaError as dJ, type PresignedFileUrlResponse as dK, type RequireAffectedOptions as dL, type RetryBackoffStrategy as dM, type RetryConfig as dN, type RpcOrderOptions as dO, type RpcQueryBuilder as dP, type S3CatalogItem as dQ, type S3CredentialListItem as dR, type SearchStorageFilesRequest as dS, type SetManyStorageFileVisibilityRequest as dT, type SetStorageFileVisibilityRequest as dU, type StorageAuditEventRecord as dV, type StorageAuditListResponse as dW, type StorageAuditQueryRequest as dX, type StorageBatchUploadUrlResponse as dY, type StorageBatchUploadUrlResponseWithPut as dZ, type StorageBucketCorsRequest as d_, type AthenaStoragePermissionNamespace as da, type AthenaStoragePrefixPath as db, type AthenaStoragePutBody as dc, type AthenaStoragePutOptions as dd, type AthenaStorageTemplateValue as de, type AthenaStorageTemplateVars as df, type AthenaStorageUploadConstraints as dg, type AthenaStorageUploadProgress as dh, type AthenaStorageUploadProgressHandler as di, type AthenaStorageUploadSource as dj, type AthenaStorageUploadedFile as dk, type AthenaTableBuilderStateAst as dl, type AthenaUnlinkAccountRequest as dm, type AthenaUpdateDebugAst as dn, type AthenaUpdateUserRequest as dp, type AthenaUpsertDebugAst as dq, type AthenaUsernameSignInRequest as dr, type AthenaVerifyEmailRequest as ds, type AthenaWhere as dt, type AthenaWhereBooleanOperand as du, type AthenaWhereOperatorInput as dv, type ConfirmStorageUploadRequest as dw, type CopyStorageFileRequest as dx, type CreateStorageCatalogRequest as dy, type CreateStorageUploadUrlRequest as dz, type AthenaAdminEmailFailureDeleteRequest as e, storageSdkManifest as e$, type StorageBucketLifecycleRequest as e0, type StorageBucketLifecycleRuleInput as e1, type StorageBucketPolicyRequest as e2, type StorageFileAccessPurpose as e3, type StorageFileMutationManyResponse as e4, type StorageFileMutationResponse as e5, type StorageFilePermissionRecord as e6, type StorageFileRetentionRequest as e7, type StorageFileVersionPathRequest as e8, type StorageFolderMutationResponse as e9, type StorageServerSideEncryptionOptions as eA, type StorageSetBucketCorsRequest as eB, type StorageSetBucketLifecycleRequest as eC, type StorageSetBucketPolicyRequest as eD, type StorageSetPublicAccessBlockRequest as eE, type StorageSignedPostPolicyRequest as eF, type StorageUpdateObjectRequest as eG, type StorageUploadUrlResponse as eH, type StorageUploadUrlResponseWithPut as eI, type TableQueryBuilder as eJ, type TreeStorageFoldersRequest as eK, type UnwrapOneOptions as eL, type UnwrapOptions as eM, type UpdateManyStorageFilesRequest as eN, type UpdateStorageCatalogRequest as eO, type UpdateStorageFileRequest as eP, assertInt as eQ, coerceInt as eR, createAthenaStorageError as eS, createClient as eT, createStorageModule as eU, getAthenaDebugAst as eV, isOk as eW, normalizeAthenaError as eX, parseBooleanFlag as eY, requireAffected as eZ, requireSuccess as e_, type StorageListFilesResponse as ea, type StorageListObjectsRequest as eb, type StorageMultipartAbortRequest as ec, type StorageMultipartCompletePartInput as ed, type StorageMultipartCompleteRequest as ee, type StorageMultipartCreateRequest as ef, type StorageMultipartListPartsRequest as eg, type StorageMultipartSignPartRequest as eh, type StorageObjectBaseRequest as ei, type StorageObjectCopyRequest as ej, type StorageObjectFolderCreateRequest as ek, type StorageObjectFolderDeleteRequest as el, type StorageObjectFolderRenameRequest as em, type StorageObjectPublicUrlRequest as en, type StorageObjectRequest as eo, type StorageObjectValidateRequest as ep, type StorageObjectVersionListRequest as eq, type StorageObjectVersionMutationRequest as er, type StoragePermissionCheckRequest as es, type StoragePermissionCheckResponse as et, type StoragePermissionGrantRequest as eu, type StoragePermissionListRequest as ev, type StoragePermissionListResponse as ew, type StoragePermissionRevokeRequest as ex, type StoragePresignUploadRequest as ey, type StoragePublicAccessBlockRequest as ez, type AthenaAdminEmailFailureGetQuery as f, unwrap as f0, unwrapOne as f1, unwrapRows as f2, verifyAthenaGatewayUrl as f3, withRetry as f4, type AthenaAuthFetchCompatibleInput as f5, type AthenaAdminEmailFailureGetResponse as g, type AthenaAdminEmailFailureListQuery as h, type AthenaAdminEmailFailureListResponse as i, type AthenaAdminEmailFailureUpdateRequest as j, type AthenaAdminEmailFailureUpdateResponse as k, type AthenaAdminEmailGetQuery as l, type AthenaAdminEmailGetResponse as m, type AthenaAdminEmailListQuery as n, type AthenaAdminEmailListResponse as o, type AthenaAdminEmailTemplateCreateRequest as p, type AthenaAdminEmailTemplateDeleteRequest as q, type AthenaAdminEmailTemplateGetQuery as r, type AthenaAdminEmailTemplateGetResponse as s, type AthenaAdminEmailTemplateListQuery as t, type AthenaAdminEmailTemplateListResponse as u, type AthenaAdminEmailTemplateRecord as v, type AthenaAdminEmailTemplateSendRequest as w, type AthenaAdminEmailTemplateSendResponse as x, type AthenaAdminEmailTemplateUpdateRequest as y, type AthenaAdminEmailUpdateRequest as z };
|