@xylex-group/athena 3.0.0 → 3.0.2
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 +24 -10
- package/dist/{athena-auth-url-oLux_57a.d.cts → athena-request-headers-C7Jy-c_D.d.ts} +85 -1
- package/dist/{athena-auth-url-oLux_57a.d.ts → athena-request-headers-DujFFyMU.d.cts} +85 -1
- package/dist/billing.cjs +133 -21
- package/dist/billing.cjs.map +1 -1
- package/dist/billing.d.cts +41 -1
- package/dist/billing.d.ts +41 -1
- package/dist/billing.js +133 -21
- package/dist/billing.js.map +1 -1
- package/dist/browser.cjs +138 -45
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +9 -9
- package/dist/browser.d.ts +9 -9
- package/dist/browser.js +138 -45
- package/dist/browser.js.map +1 -1
- package/dist/cli/index.cjs +130 -45
- 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 +130 -45
- package/dist/cli/index.js.map +1 -1
- package/dist/index.cjs +138 -45
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +138 -45
- package/dist/index.js.map +1 -1
- package/dist/{model-form-BKetpu6Q.d.ts → model-form-Dh0sisdL.d.ts} +1 -1
- package/dist/{model-form-BEfCGB5b.d.cts → model-form-oOAJUVd4.d.cts} +1 -1
- package/dist/{module-CrrSmpML.d.cts → module-CB25egcO.d.cts} +17 -5
- package/dist/{module-8dSMcy0K.d.cts → module-C_ab-MM1.d.cts} +46 -12
- package/dist/{module-8dSMcy0K.d.ts → module-C_ab-MM1.d.ts} +46 -12
- package/dist/{module-Bef_MAPO.d.ts → module-CkUM6v58.d.ts} +17 -5
- package/dist/next/client.cjs +9817 -3
- package/dist/next/client.cjs.map +1 -1
- package/dist/next/client.d.cts +26 -1
- package/dist/next/client.d.ts +26 -1
- package/dist/next/client.js +9788 -4
- package/dist/next/client.js.map +1 -1
- package/dist/next/server.cjs +10398 -42
- package/dist/next/server.cjs.map +1 -1
- package/dist/next/server.d.cts +39 -4
- package/dist/next/server.d.ts +39 -4
- package/dist/next/server.js +10339 -43
- package/dist/next/server.js.map +1 -1
- package/dist/{pipeline-BXFQbsUW.d.ts → pipeline-B8aN2EHe.d.ts} +1 -1
- package/dist/{pipeline-Dfsed4VD.d.cts → pipeline-D4W-Cc-A.d.cts} +1 -1
- package/dist/proxy-request-headers-DGxdoyA0.d.cts +59 -0
- package/dist/proxy-request-headers-m4D2Tduy.d.ts +59 -0
- package/dist/react.cjs +7 -7
- 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 +7 -7
- package/dist/react.js.map +1 -1
- package/dist/social-providers.cjs +15 -11
- package/dist/social-providers.cjs.map +1 -1
- package/dist/social-providers.d.cts +17 -57
- package/dist/social-providers.d.ts +17 -57
- package/dist/social-providers.js +15 -11
- package/dist/social-providers.js.map +1 -1
- package/dist/{types-jClgDy1J.d.ts → types-B75PdABb.d.ts} +1 -1
- package/dist/{types-Z3-rsiM3.d.cts → types-BBm-kEBL.d.cts} +1 -1
- package/dist/{types-CK7cBQbC.d.ts → types-BaAMXCqK.d.ts} +1 -1
- package/dist/{types-kO_Ut5wU.d.cts → types-CgCv5o6R.d.cts} +1 -1
- package/dist/utils.d.cts +4 -142
- package/dist/utils.d.ts +4 -142
- package/dist/{v3-client-G8JMOilK.d.cts → v3-client-CWfZHcKL.d.cts} +37 -21
- package/dist/{v3-client-CuCNy-JJ.d.ts → v3-client-DZp2NEhK.d.ts} +37 -21
- package/package.json +6 -3
package/dist/index.d.cts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { A as AthenaAuthConfig, a as AthenaBillingConfig, b as AthenaChatAddMembersRequest, c as AthenaChatAddReactionRequest, d as AthenaChatAttachmentInput, e as AthenaChatAttachmentView, f as AthenaChatCallOptions, g as AthenaChatConfig, h as AthenaChatConnectOptions, i as AthenaChatCreateRoomRequest, j as AthenaChatDeleteResult, k as AthenaChatEditMessageRequest, l as AthenaChatListMessagesQuery, m as AthenaChatListRoomsQuery, n as AthenaChatMarkReadUpToRequest, o as AthenaChatMember, p as AthenaChatMemberRole, q as AthenaChatMessage, r as AthenaChatMessageCreatedResponse, s as AthenaChatMessagePage, t as AthenaChatModule, u as AthenaChatPresenceUser, v as AthenaChatReactionCount, w as AthenaChatReactionSummary, x as AthenaChatReadCursor, y as AthenaChatRealtimeConnection, z as AthenaChatRealtimeInfoResponse, B as AthenaChatRealtimeModule, C as AthenaChatRemoveResult, D as AthenaChatResumeRoomCursor, E as AthenaChatRoom, F as AthenaChatRoomCreatedResponse, G as AthenaChatRoomKind, H as AthenaChatRoomPage, I as AthenaChatSearchHit, J as AthenaChatSearchMessagesRequest, K as AthenaChatSearchPage, L as AthenaChatSendMessageRequest, M as AthenaChatUpdateRoomRequest, N as AthenaChatWebSocketFactory, O as AthenaChatWebSocketLike, P as AthenaChatWsAuthHelloCommand, Q as AthenaChatWsClientCommand, R as AthenaChatWsErrorEvent, S as AthenaChatWsHelloOkEvent, T as AthenaChatWsMembersUpdatedEvent, U as AthenaChatWsMessageCreatedEvent, V as AthenaChatWsMessageDeletedEvent, W as AthenaChatWsMessageEventBase, X as AthenaChatWsMessageUpdatedEvent, Y as AthenaChatWsPingCommand, Z as AthenaChatWsPongEvent, _ as AthenaChatWsPresenceHeartbeatCommand, $ as AthenaChatWsPresenceUpdatedEvent, a0 as AthenaChatWsReactionUpdatedEvent, a1 as AthenaChatWsReadUpToCommand, a2 as AthenaChatWsReadUpdatedEvent, a3 as AthenaChatWsResumeCommand, a4 as AthenaChatWsRoomArchivedEvent, a5 as AthenaChatWsRoomCreatedEvent, a6 as AthenaChatWsRoomEventBase, a7 as AthenaChatWsRoomUpdatedEvent, a8 as AthenaChatWsServerEvent, a9 as AthenaChatWsSubscribeCommand, aa as AthenaChatWsSubscribedEvent, ab as AthenaChatWsSyncRequiredEvent, ac as AthenaChatWsTypingStartCommand, ad as AthenaChatWsTypingStopCommand, ae as AthenaChatWsTypingUpdatedEvent, af as AthenaChatWsUnsubscribeCommand, ag as AthenaClient, ah as AthenaClientConfig, ai as
|
|
1
|
+
export { A as AthenaAuthConfig, a as AthenaBillingConfig, b as AthenaChatAddMembersRequest, c as AthenaChatAddReactionRequest, d as AthenaChatAttachmentInput, e as AthenaChatAttachmentView, f as AthenaChatCallOptions, g as AthenaChatConfig, h as AthenaChatConnectOptions, i as AthenaChatCreateRoomRequest, j as AthenaChatDeleteResult, k as AthenaChatEditMessageRequest, l as AthenaChatListMessagesQuery, m as AthenaChatListRoomsQuery, n as AthenaChatMarkReadUpToRequest, o as AthenaChatMember, p as AthenaChatMemberRole, q as AthenaChatMessage, r as AthenaChatMessageCreatedResponse, s as AthenaChatMessagePage, t as AthenaChatModule, u as AthenaChatPresenceUser, v as AthenaChatReactionCount, w as AthenaChatReactionSummary, x as AthenaChatReadCursor, y as AthenaChatRealtimeConnection, z as AthenaChatRealtimeInfoResponse, B as AthenaChatRealtimeModule, C as AthenaChatRemoveResult, D as AthenaChatResumeRoomCursor, E as AthenaChatRoom, F as AthenaChatRoomCreatedResponse, G as AthenaChatRoomKind, H as AthenaChatRoomPage, I as AthenaChatSearchHit, J as AthenaChatSearchMessagesRequest, K as AthenaChatSearchPage, L as AthenaChatSendMessageRequest, M as AthenaChatUpdateRoomRequest, N as AthenaChatWebSocketFactory, O as AthenaChatWebSocketLike, P as AthenaChatWsAuthHelloCommand, Q as AthenaChatWsClientCommand, R as AthenaChatWsErrorEvent, S as AthenaChatWsHelloOkEvent, T as AthenaChatWsMembersUpdatedEvent, U as AthenaChatWsMessageCreatedEvent, V as AthenaChatWsMessageDeletedEvent, W as AthenaChatWsMessageEventBase, X as AthenaChatWsMessageUpdatedEvent, Y as AthenaChatWsPingCommand, Z as AthenaChatWsPongEvent, _ as AthenaChatWsPresenceHeartbeatCommand, $ as AthenaChatWsPresenceUpdatedEvent, a0 as AthenaChatWsReactionUpdatedEvent, a1 as AthenaChatWsReadUpToCommand, a2 as AthenaChatWsReadUpdatedEvent, a3 as AthenaChatWsResumeCommand, a4 as AthenaChatWsRoomArchivedEvent, a5 as AthenaChatWsRoomCreatedEvent, a6 as AthenaChatWsRoomEventBase, a7 as AthenaChatWsRoomUpdatedEvent, a8 as AthenaChatWsServerEvent, a9 as AthenaChatWsSubscribeCommand, aa as AthenaChatWsSubscribedEvent, ab as AthenaChatWsSyncRequiredEvent, ac as AthenaChatWsTypingStartCommand, ad as AthenaChatWsTypingStopCommand, ae as AthenaChatWsTypingUpdatedEvent, af as AthenaChatWsUnsubscribeCommand, ag as AthenaClient, ah as AthenaClientConfig, ai as AthenaDbConfig, aj as AthenaDbModule, ak as AthenaDeleteDebugAst, al as AthenaEnvelope, am as AthenaError, an as AthenaErrorCategory, ao as AthenaErrorCode, ap as AthenaErrorInput, aq as AthenaErrorKind, ar as AthenaFindManyDebugAst, df as AthenaFindManyOptions, dg as AthenaFindManyResult, as as AthenaFromOptions, at as AthenaInsertDebugAst, au as AthenaOperationContext, dh as AthenaOrderBy, av as AthenaQueryDebugAst, di as AthenaQueryTraceCallsite, dj as AthenaQueryTraceEvent, dk as AthenaQueryTraceOptions, aw as AthenaRawQueryDebugAst, dl as AthenaRelationSelectNode, ax as AthenaRequestContext, ay as AthenaRequestContextProvider, az as AthenaRequestMethod, aA as AthenaRequestOptions, aB as AthenaRequestQueryValueMap, aC as AthenaRequestResponse, aD as AthenaRequestService, aE as AthenaResult, dm as AthenaResultError, aF as AthenaRpcBuilderStateAst, aG as AthenaRpcDebugAst, aH as AthenaSelectDebugAst, aI as AthenaSelectDebugTransport, dn as AthenaSelectShape, aJ as AthenaStorageAuditNamespace, aK as AthenaStorageBackupNamespace, aL as AthenaStorageBaseModule, aM as AthenaStorageBinaryCallOptions, aN as AthenaStorageBucketCorsNamespace, aO as AthenaStorageBucketNamespace, aP as AthenaStorageCallOptions, aQ as AthenaStorageCatalogNamespace, aR as AthenaStorageClientConfig, aS as AthenaStorageConfig, aT as AthenaStorageCredentialsNamespace, aU as AthenaStorageDirectUploadConfig, aV as AthenaStorageEnv, aW as AthenaStorageError, aX as AthenaStorageErrorCode, aY as AthenaStorageErrorDetails, aZ as AthenaStorageErrorHandler, a_ as AthenaStorageErrorInput, a$ as AthenaStorageFileConfig, b0 as AthenaStorageFileDeleteInput, b1 as AthenaStorageFileDownloadInput, b2 as AthenaStorageFileListInput, b3 as AthenaStorageFileModule, b4 as AthenaStorageFileNamespace, b5 as AthenaStorageFileUploadInput, b6 as AthenaStorageFileUploadManyRequest, b7 as AthenaStorageFileUploadRequest, b8 as AthenaStorageFileUploadResult, b9 as AthenaStorageFolderNamespace, ba as AthenaStorageManagedUpload, bb as AthenaStorageModule, bc as AthenaStorageMultipartNamespace, bd as AthenaStorageObjectFolderNamespace, be as AthenaStorageObjectNamespace, bf as AthenaStoragePathContext, bg as AthenaStoragePermissionNamespace, bh as AthenaStoragePrefixPath, bi as AthenaStoragePutBody, bj as AthenaStoragePutOptions, bk as AthenaStorageTemplateValue, bl as AthenaStorageTemplateVars, bm as AthenaStorageUploadConstraints, bn as AthenaStorageUploadProgress, bo as AthenaStorageUploadProgressHandler, bp as AthenaStorageUploadSource, bq as AthenaStorageUploadedFile, br as AthenaTableBuilderStateAst, bs as AthenaUpdateDebugAst, bt as AthenaUpsertDebugAst, dp as AthenaValidatedSelectShape, dq as AthenaWhere, dr as AthenaWhereBooleanOperand, ds as AthenaWhereOperatorInput, bu as BackupRecoveryStrategy, bv as ConfirmStorageUploadRequest, bw as CopyStorageFileRequest, bx as CreateStorageCatalogRequest, by as CreateStorageUploadUrlRequest, bz as CreateStorageUploadUrlsRequest, dt as DEFAULT_MULTIPART_PART_SIZE_BYTES, du as DEFAULT_MULTIPART_THRESHOLD_BYTES, bA as DeleteManyStorageFilesRequest, bB as DeleteStorageFolderRequest, bC as DeprecatedInlineStorageConnectionFields, bD as GetStorageFileUrlQuery, bE as IntCoercionOptions, bF as ListStorageFilesRequest, bG as ListStorageFoldersRequest, bH as ManagedFileRecord, bI as MoveStorageFolderRequest, bJ as NormalizedAthenaError, bK as PresignedFileUrlResponse, bL as RequireAffectedOptions, bM as RetryBackoffStrategy, bN as RetryConfig, bO as RpcOrderOptions, bP as RpcQueryBuilder, bQ as S3CatalogItem, bR as S3CredentialListItem, bS as SearchStorageFilesRequest, bT as SetManyStorageFileVisibilityRequest, bU as SetStorageFileVisibilityRequest, bV as StorageAuditEventRecord, bW as StorageAuditListResponse, bX as StorageAuditQueryRequest, bY as StorageBackupCreateRequest, bZ as StorageBackupJob, b_ as StorageBackupListPage, b$ as StorageBackupListQuery, c0 as StorageBackupQueuedJob, c1 as StorageBackupRecord, c2 as StorageBackupRestoreRequest, c3 as StorageBackupSchedule, c4 as StorageBackupScheduleCreateRequest, c5 as StorageBatchUploadUrlResponse, c6 as StorageBatchUploadUrlResponseWithPut, c7 as StorageBucketCorsRequest, c8 as StorageBucketCorsRuleInput, c9 as StorageBucketLifecycleRequest, ca as StorageBucketLifecycleRuleInput, cb as StorageBucketPolicyRequest, cc as StorageConnectionSelector, cd as StorageFileAccessPurpose, ce as StorageFileMutationManyResponse, cf as StorageFileMutationResponse, cg as StorageFilePermissionRecord, ch as StorageFileRetentionRequest, ci as StorageFileVersionPathRequest, cj as StorageFolderMutationResponse, ck as StorageListFilesResponse, cl as StorageListObjectsRequest, cm as StorageMultipartAbortRequest, cn as StorageMultipartCompletePartInput, co as StorageMultipartCompleteRequest, cp as StorageMultipartCreateRequest, cq as StorageMultipartListPartsRequest, cr as StorageMultipartSignPartRequest, cs as StorageObjectBaseRequest, ct as StorageObjectCopyRequest, cu as StorageObjectFolderCreateRequest, cv as StorageObjectFolderDeleteRequest, cw as StorageObjectFolderRenameRequest, cx as StorageObjectPublicUrlRequest, cy as StorageObjectRequest, cz as StorageObjectValidateRequest, cA as StorageObjectVersionListRequest, cB as StorageObjectVersionMutationRequest, cC as StoragePermissionCheckRequest, cD as StoragePermissionCheckResponse, cE as StoragePermissionGrantRequest, cF as StoragePermissionListRequest, cG as StoragePermissionListResponse, cH as StoragePermissionRevokeRequest, cI as StoragePresignUploadRequest, cJ as StoragePublicAccessBlockRequest, cK as StorageServerSideEncryptionOptions, cL as StorageSetBucketCorsRequest, cM as StorageSetBucketLifecycleRequest, cN as StorageSetBucketPolicyRequest, cO as StorageSetPublicAccessBlockRequest, cP as StorageSignedPostPolicyRequest, cQ as StorageUpdateObjectRequest, cR as StorageUploadUrlResponse, cS as StorageUploadUrlResponseWithPut, cT as TableQueryBuilder, cU as TreeStorageFoldersRequest, cV as UnwrapOneOptions, cW as UnwrapOptions, cX as UpdateManyStorageFilesRequest, cY as UpdateStorageCatalogRequest, cZ as UpdateStorageFileRequest, c_ as assertInt, c$ as coerceInt, d0 as createAthenaStorageError, d1 as createClient, dv as createStorageFileModule, d2 as createStorageModule, d3 as getAthenaDebugAst, d4 as isOk, d5 as normalizeAthenaError, d6 as parseBooleanFlag, d7 as requireAffected, d8 as requireSuccess, dw as resolveStoragePath, d9 as storageSdkManifest, da as unwrap, db as unwrapOne, dc as unwrapRows, dd as verifyAthenaGatewayUrl, de as withRetry } from './v3-client-CWfZHcKL.cjs';
|
|
2
2
|
export { A as AthenaConditionCastType, a as AthenaGatewayCallOptions, b as AthenaGatewayConnectionOptions, c as AthenaGatewayConnectionResult, d as AthenaGatewayErrorCode, e as AthenaGatewayErrorDetails, f as AthenaJsonArray, g as AthenaJsonObject, h as AthenaJsonPrimitive, i as AthenaJsonValue, j as AthenaRpcCallOptions, k as AthenaRpcFilter, l as AthenaRpcFilterOperator, m as AthenaRpcOrder, n as AthenaRpcPayload, B as Backend, o as BackendConfig, p as BackendType } from './types-Bltx6iL6.cjs';
|
|
3
|
-
export { A as AthenaGatewayError, F as FormValuesOf, M as ModelFormAdapter, a as ModelFormDefaults, b as ModelFormNullishMode, c as ModelFormValues, T as ToModelFormDefaultsOptions, d as ToModelPayloadOptions, e as createModelFormAdapter, i as isAthenaGatewayError, t as toModelFormDefaults, f as toModelPayload } from './model-form-
|
|
4
|
-
export { A as ATHENA_AUTH_ADMIN_LIMITS, a as ATHENA_AUTH_BASE_ERROR_CODES, b as ATHENA_AUTH_MAX_ADMIN_JSON_BYTES, c as ATHENA_AUTH_MAX_ADMIN_JSON_DEPTH, d as ATHENA_AUTH_MAX_TEMPLATE_VARIABLES, e as ATHENA_AUTH_MAX_TEMPLATE_VARIABLE_LENGTH, f as AnyColumnBuilder, g as AthenaAuthAdminLimits,
|
|
5
|
-
import { I as IntrospectionSnapshot, S as SchemaIntrospectionProvider } from './types-
|
|
6
|
-
export {
|
|
7
|
-
import { A as AthenaGeneratorConfig, L as LoadGeneratorConfigOptions, a as LoadedGeneratorConfig, N as NormalizedAthenaGeneratorConfig, G as GeneratedArtifacts, b as GeneratorProviderConfig, c as GeneratorExperimentalFlags } from './types-
|
|
8
|
-
export { e as GeneratedArtifact, f as GeneratorArtifactKind, g as GeneratorFeatureFlags, h as GeneratorFilterConfig, i as GeneratorInternalConfig, j as GeneratorNamingConfig, k as GeneratorOutputConfig, l as GeneratorOutputFormat, m as GeneratorOutputPreset, n as GeneratorOutputTargets, o as GeneratorSchemaSelection, p as GeneratorTableSelection, q as NamingStyle, r as NormalizedGeneratorFilterConfig, s as NormalizedGeneratorOutputConfig, R as RunGeneratorOptions, d as RunGeneratorResult, S as SkippedGeneratedArtifact, t as SkippedGeneratedArtifactReason } from './types-
|
|
9
|
-
export { r as runSchemaGenerator } from './pipeline-
|
|
3
|
+
export { A as AthenaGatewayError, F as FormValuesOf, M as ModelFormAdapter, a as ModelFormDefaults, b as ModelFormNullishMode, c as ModelFormValues, T as ToModelFormDefaultsOptions, d as ToModelPayloadOptions, e as createModelFormAdapter, i as isAthenaGatewayError, t as toModelFormDefaults, f as toModelPayload } from './model-form-oOAJUVd4.cjs';
|
|
4
|
+
export { A as ATHENA_AUTH_ADMIN_LIMITS, a as ATHENA_AUTH_BASE_ERROR_CODES, b as ATHENA_AUTH_MAX_ADMIN_JSON_BYTES, c as ATHENA_AUTH_MAX_ADMIN_JSON_DEPTH, d as ATHENA_AUTH_MAX_TEMPLATE_VARIABLES, e as ATHENA_AUTH_MAX_TEMPLATE_VARIABLE_LENGTH, f as AnyColumnBuilder, g as AthenaAuthAdminLimits, W as AthenaAuthBaseURLConfig, X as AthenaAuthContext, Y as AthenaAuthCookieRuntimeInput, Z as AthenaAuthDatabaseFactory, _ as AthenaAuthHandlerResult, $ as AthenaAuthPlugin, a0 as AthenaAuthPluginContext, a1 as AthenaAuthPluginHandlerContext, a2 as AthenaAuthRequestContext, a3 as AthenaAuthServer, a4 as AthenaAuthServerApi, a5 as AthenaAuthServerConfig, a6 as AthenaAuthServerRuntimeOptions, a7 as AthenaAuthSocialProviderConfig, a8 as AthenaAuthTrustedOrigins, a9 as AthenaAuthTrustedProviders, h as AthenaChatError, i as AthenaColumnBuilder, j as AthenaConfigurationError, k as AthenaConfigurationErrorCode, l as AthenaService, m as AthenaTableDef, n as AthenaTableSchemaBundle, C as ColumnRuntimeConfig, D as DEFAULT_POSTGRES_SCHEMAS, F as FormValuesFromColumns, aa as GeneratorEnvBooleanOptions, ab as GeneratorEnvJsonOptions, ac as GeneratorEnvListOptions, ad as GeneratorEnvOneOfOptions, ae as GeneratorEnvStringOptions, I as InsertFromColumns, P as PostgresIntrospectionProviderOptions, R as RowFromColumns, U as UpdateFromColumns, o as athenaAuth, p as boolean, q as chatSdkManifest, r as createAuthReactEmailInput, af as createPostgresIntrospectionProvider, s as defineAthenaAuthConfig, t as defineAuthEmailTemplate, u as defineDatabase, v as defineModel, w as defineRegistry, x as defineSchema, y as enumeration, z as filterIntrospectionSnapshot, B as generatorEnv, E as identifier, G as json, H as normalizeAthenaGatewayBaseUrl, J as normalizeSchemaSelection, K as normalizeTableSelection, L as number, M as renderAthenaReactEmail, N as resolvePostgresColumnType, O as resolveProviderSchemas, Q as string, S as table, T as unwrapChatMessage, V as unwrapChatRoom } from './module-CB25egcO.cjs';
|
|
5
|
+
import { I as IntrospectionSnapshot, S as SchemaIntrospectionProvider } from './types-CgCv5o6R.cjs';
|
|
6
|
+
export { t as AthenaClientModelForTableName, r as AthenaClientModelsInput, u as AthenaClientTableName, A as AthenaModelTarget, D as DatabaseDef, a as InsertOf, b as IntrospectionColumn, c as IntrospectionInspectOptions, d as IntrospectionRelation, e as IntrospectionSchema, f as IntrospectionTable, g as IntrospectionTypeKind, M as ModelAt, h as ModelColumnKind, i as ModelColumnMetadata, j as ModelDef, k as ModelMetadata, l as ModelRelationKind, m as ModelRelationMetadata, R as RegistryDef, n as RowOf, o as SchemaDef, T as TenantContext, p as TenantContextValue, q as TenantKeyMap, U as UpdateOf } from './types-CgCv5o6R.cjs';
|
|
7
|
+
import { A as AthenaGeneratorConfig, L as LoadGeneratorConfigOptions, a as LoadedGeneratorConfig, N as NormalizedAthenaGeneratorConfig, G as GeneratedArtifacts, b as GeneratorProviderConfig, c as GeneratorExperimentalFlags } from './types-BBm-kEBL.cjs';
|
|
8
|
+
export { e as GeneratedArtifact, f as GeneratorArtifactKind, g as GeneratorFeatureFlags, h as GeneratorFilterConfig, i as GeneratorInternalConfig, j as GeneratorNamingConfig, k as GeneratorOutputConfig, l as GeneratorOutputFormat, m as GeneratorOutputPreset, n as GeneratorOutputTargets, o as GeneratorSchemaSelection, p as GeneratorTableSelection, q as NamingStyle, r as NormalizedGeneratorFilterConfig, s as NormalizedGeneratorOutputConfig, R as RunGeneratorOptions, d as RunGeneratorResult, S as SkippedGeneratedArtifact, t as SkippedGeneratedArtifactReason } from './types-BBm-kEBL.cjs';
|
|
9
|
+
export { r as runSchemaGenerator } from './pipeline-D4W-Cc-A.cjs';
|
|
10
10
|
export { A as AthenaAdminEmailCreateRequest, a as AthenaAdminEmailDeleteRequest, b as AthenaAdminEmailEventTypeListResponse, c as AthenaAdminEmailEventTypeRecord, d as AthenaAdminEmailFailureCreateRequest, e as AthenaAdminEmailFailureDeleteRequest, f as AthenaAdminEmailFailureGetQuery, g as AthenaAdminEmailFailureGetResponse, h as AthenaAdminEmailFailureListQuery, i as AthenaAdminEmailFailureListResponse, j as AthenaAdminEmailFailureUpdateRequest, k as AthenaAdminEmailFailureUpdateResponse, l as AthenaAdminEmailGetQuery, m as AthenaAdminEmailGetResponse, n as AthenaAdminEmailListQuery, o as AthenaAdminEmailListResponse, p as AthenaAdminEmailTemplateCreateRequest, q as AthenaAdminEmailTemplateDeleteRequest, r as AthenaAdminEmailTemplateGetQuery, s as AthenaAdminEmailTemplateGetResponse, t as AthenaAdminEmailTemplateListQuery, u as AthenaAdminEmailTemplateListResponse, v as AthenaAdminEmailTemplateRecord, w as AthenaAdminEmailTemplateSendRequest, x as AthenaAdminEmailTemplateSendResponse, y as AthenaAdminEmailTemplateUpdateRequest, z as AthenaAdminEmailUpdateRequest, B as AthenaAdminEmailUpdateResponse, aF as AthenaAdminListUsersFilterOperator, aG as AthenaAdminListUsersQuery, aH as AthenaAdminListUsersSearchOperator, C as AthenaAuthAdminUserSessionRevokeBinding, D as AthenaAuthBindings, E as AthenaAuthCallOptions, F as AthenaAuthClientConfig, G as AthenaAuthCredentials, H as AthenaAuthEmailChangeResponse, I as AthenaAuthEmailTemplateAttachment, J as AthenaAuthEmailTemplateBuilder, K as AthenaAuthEmailTemplateCreateFromDefinitionInput, L as AthenaAuthEmailTemplateDefinition, M as AthenaAuthEmailTemplateReactOverrides, N as AthenaAuthEmailTemplateUpdateFromDefinitionInput, O as AthenaAuthEmailTemplateVariableBinding, P as AthenaAuthEndpointPath, Q as AthenaAuthErrorCode, R as AthenaAuthErrorDetails, aI as AthenaAuthFilterOperator, S as AthenaAuthGenericInput, T as AthenaAuthGenericQueryInput, U as AthenaAuthGetUserResponse, aJ as AthenaAuthGuardFailure, aK as AthenaAuthGuardReason, aL as AthenaAuthGuardResult, aM as AthenaAuthGuardSuccess, V as AthenaAuthLinkedAccount, W as AthenaAuthMethod, X as AthenaAuthOrganization, Y as AthenaAuthOrganizationBindings, Z as AthenaAuthOrganizationInvitation, _ as AthenaAuthOrganizationMember, $ as AthenaAuthQueryPrimitive, a0 as AthenaAuthQueryValue, a1 as AthenaAuthReactEmailComponent, a2 as AthenaAuthReactEmailConfig, a3 as AthenaAuthReactEmailEventPhase, a4 as AthenaAuthReactEmailProps, a5 as AthenaAuthReactEmailRenderEvent, a6 as AthenaAuthReactEmailRenderInput, a7 as AthenaAuthReactEmailRenderOptions, a8 as AthenaAuthRequestInput, a9 as AthenaAuthResetPasswordBinding, aa as AthenaAuthResult, ab as AthenaAuthRevokeSessionRequest, aN as AthenaAuthSearchOperator, ac as AthenaAuthSession, ad as AthenaAuthSessionResponse, ae as AthenaAuthSessionRevokeBinding, af as AthenaAuthSignInResponse, ag as AthenaAuthSignOutResponse, aO as AthenaAuthSocialProviderExtensions, ah as AthenaAuthSocialRedirectResponse, ai as AthenaAuthStatusResponse, aj as AthenaAuthUser, ak as AthenaChangeEmailRequest, al as AthenaChangePasswordRequest, am as AthenaDeleteUserCallbackRequest, an as AthenaDeleteUserRequest, ao as AthenaDeleteUserResponse, ap as AthenaEmailSignInRequest, aq as AthenaEmailSignUpRequest, ar as AthenaForgetPasswordRequest, as as AthenaLinkSocialRequest, at as AthenaOAuthAccountTokenRequest, au as AthenaOAuthTokenBundle, av as AthenaResetPasswordRequest, aw as AthenaSendVerificationEmailRequest, ax as AthenaSocialSignInRequest, ay as AthenaUnlinkAccountRequest, az as AthenaUpdateUserRequest, aA as AthenaUsernameSignInRequest, aB as AthenaVerifyEmailRequest, aC as AuthBindings, aP as AuthOAuthProvider, aQ as AuthSocialProvider, aR as AuthSocialProviderBuiltin } from './types-AOY-GLu8.cjs';
|
|
11
11
|
export { ActiveOrganizationSessionLike, EnsureActiveOrganizationOptions, EnsureActiveOrganizationResult, OrganizationLike, ensureActiveOrganization } from './organization.cjs';
|
|
12
|
-
export { A as AthenaBillingCallOptions, a as AthenaBillingClientConfig, f as AthenaBillingEnvelope, b as AthenaBillingError, g as AthenaBillingHttpMethod, h as AthenaBillingJson, c as AthenaBillingModule, B as BillingConnectionRefInput, i as BillingCreateConnectionInput, j as BillingEnsureCustomerInput, k as BillingListQuery, l as BillingProvisionSinksInput, m as BillingReconcileInput, n as BillingUpdateConnectionInput, o as BillingUpdateCustomerInput, d as billingSdkManifest, e as createBillingModule } from './module-
|
|
12
|
+
export { A as AthenaBillingCallOptions, a as AthenaBillingClientConfig, f as AthenaBillingEnvelope, b as AthenaBillingError, g as AthenaBillingHttpMethod, h as AthenaBillingJson, c as AthenaBillingModule, B as BillingConnectionRefInput, i as BillingCreateConnectionInput, j as BillingEnsureCustomerInput, k as BillingListQuery, l as BillingProvisionSinksInput, m as BillingReconcileInput, n as BillingUpdateConnectionInput, o as BillingUpdateCustomerInput, d as billingSdkManifest, e as createBillingModule } from './module-C_ab-MM1.cjs';
|
|
13
13
|
import 'zod';
|
|
14
14
|
import './index-CFL9xbFR.cjs';
|
|
15
15
|
import './session-cookie-detection-BqOp9mO6.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { A as AthenaAuthConfig, a as AthenaBillingConfig, b as AthenaChatAddMembersRequest, c as AthenaChatAddReactionRequest, d as AthenaChatAttachmentInput, e as AthenaChatAttachmentView, f as AthenaChatCallOptions, g as AthenaChatConfig, h as AthenaChatConnectOptions, i as AthenaChatCreateRoomRequest, j as AthenaChatDeleteResult, k as AthenaChatEditMessageRequest, l as AthenaChatListMessagesQuery, m as AthenaChatListRoomsQuery, n as AthenaChatMarkReadUpToRequest, o as AthenaChatMember, p as AthenaChatMemberRole, q as AthenaChatMessage, r as AthenaChatMessageCreatedResponse, s as AthenaChatMessagePage, t as AthenaChatModule, u as AthenaChatPresenceUser, v as AthenaChatReactionCount, w as AthenaChatReactionSummary, x as AthenaChatReadCursor, y as AthenaChatRealtimeConnection, z as AthenaChatRealtimeInfoResponse, B as AthenaChatRealtimeModule, C as AthenaChatRemoveResult, D as AthenaChatResumeRoomCursor, E as AthenaChatRoom, F as AthenaChatRoomCreatedResponse, G as AthenaChatRoomKind, H as AthenaChatRoomPage, I as AthenaChatSearchHit, J as AthenaChatSearchMessagesRequest, K as AthenaChatSearchPage, L as AthenaChatSendMessageRequest, M as AthenaChatUpdateRoomRequest, N as AthenaChatWebSocketFactory, O as AthenaChatWebSocketLike, P as AthenaChatWsAuthHelloCommand, Q as AthenaChatWsClientCommand, R as AthenaChatWsErrorEvent, S as AthenaChatWsHelloOkEvent, T as AthenaChatWsMembersUpdatedEvent, U as AthenaChatWsMessageCreatedEvent, V as AthenaChatWsMessageDeletedEvent, W as AthenaChatWsMessageEventBase, X as AthenaChatWsMessageUpdatedEvent, Y as AthenaChatWsPingCommand, Z as AthenaChatWsPongEvent, _ as AthenaChatWsPresenceHeartbeatCommand, $ as AthenaChatWsPresenceUpdatedEvent, a0 as AthenaChatWsReactionUpdatedEvent, a1 as AthenaChatWsReadUpToCommand, a2 as AthenaChatWsReadUpdatedEvent, a3 as AthenaChatWsResumeCommand, a4 as AthenaChatWsRoomArchivedEvent, a5 as AthenaChatWsRoomCreatedEvent, a6 as AthenaChatWsRoomEventBase, a7 as AthenaChatWsRoomUpdatedEvent, a8 as AthenaChatWsServerEvent, a9 as AthenaChatWsSubscribeCommand, aa as AthenaChatWsSubscribedEvent, ab as AthenaChatWsSyncRequiredEvent, ac as AthenaChatWsTypingStartCommand, ad as AthenaChatWsTypingStopCommand, ae as AthenaChatWsTypingUpdatedEvent, af as AthenaChatWsUnsubscribeCommand, ag as AthenaClient, ah as AthenaClientConfig, ai as
|
|
1
|
+
export { A as AthenaAuthConfig, a as AthenaBillingConfig, b as AthenaChatAddMembersRequest, c as AthenaChatAddReactionRequest, d as AthenaChatAttachmentInput, e as AthenaChatAttachmentView, f as AthenaChatCallOptions, g as AthenaChatConfig, h as AthenaChatConnectOptions, i as AthenaChatCreateRoomRequest, j as AthenaChatDeleteResult, k as AthenaChatEditMessageRequest, l as AthenaChatListMessagesQuery, m as AthenaChatListRoomsQuery, n as AthenaChatMarkReadUpToRequest, o as AthenaChatMember, p as AthenaChatMemberRole, q as AthenaChatMessage, r as AthenaChatMessageCreatedResponse, s as AthenaChatMessagePage, t as AthenaChatModule, u as AthenaChatPresenceUser, v as AthenaChatReactionCount, w as AthenaChatReactionSummary, x as AthenaChatReadCursor, y as AthenaChatRealtimeConnection, z as AthenaChatRealtimeInfoResponse, B as AthenaChatRealtimeModule, C as AthenaChatRemoveResult, D as AthenaChatResumeRoomCursor, E as AthenaChatRoom, F as AthenaChatRoomCreatedResponse, G as AthenaChatRoomKind, H as AthenaChatRoomPage, I as AthenaChatSearchHit, J as AthenaChatSearchMessagesRequest, K as AthenaChatSearchPage, L as AthenaChatSendMessageRequest, M as AthenaChatUpdateRoomRequest, N as AthenaChatWebSocketFactory, O as AthenaChatWebSocketLike, P as AthenaChatWsAuthHelloCommand, Q as AthenaChatWsClientCommand, R as AthenaChatWsErrorEvent, S as AthenaChatWsHelloOkEvent, T as AthenaChatWsMembersUpdatedEvent, U as AthenaChatWsMessageCreatedEvent, V as AthenaChatWsMessageDeletedEvent, W as AthenaChatWsMessageEventBase, X as AthenaChatWsMessageUpdatedEvent, Y as AthenaChatWsPingCommand, Z as AthenaChatWsPongEvent, _ as AthenaChatWsPresenceHeartbeatCommand, $ as AthenaChatWsPresenceUpdatedEvent, a0 as AthenaChatWsReactionUpdatedEvent, a1 as AthenaChatWsReadUpToCommand, a2 as AthenaChatWsReadUpdatedEvent, a3 as AthenaChatWsResumeCommand, a4 as AthenaChatWsRoomArchivedEvent, a5 as AthenaChatWsRoomCreatedEvent, a6 as AthenaChatWsRoomEventBase, a7 as AthenaChatWsRoomUpdatedEvent, a8 as AthenaChatWsServerEvent, a9 as AthenaChatWsSubscribeCommand, aa as AthenaChatWsSubscribedEvent, ab as AthenaChatWsSyncRequiredEvent, ac as AthenaChatWsTypingStartCommand, ad as AthenaChatWsTypingStopCommand, ae as AthenaChatWsTypingUpdatedEvent, af as AthenaChatWsUnsubscribeCommand, ag as AthenaClient, ah as AthenaClientConfig, ai as AthenaDbConfig, aj as AthenaDbModule, ak as AthenaDeleteDebugAst, al as AthenaEnvelope, am as AthenaError, an as AthenaErrorCategory, ao as AthenaErrorCode, ap as AthenaErrorInput, aq as AthenaErrorKind, ar as AthenaFindManyDebugAst, df as AthenaFindManyOptions, dg as AthenaFindManyResult, as as AthenaFromOptions, at as AthenaInsertDebugAst, au as AthenaOperationContext, dh as AthenaOrderBy, av as AthenaQueryDebugAst, di as AthenaQueryTraceCallsite, dj as AthenaQueryTraceEvent, dk as AthenaQueryTraceOptions, aw as AthenaRawQueryDebugAst, dl as AthenaRelationSelectNode, ax as AthenaRequestContext, ay as AthenaRequestContextProvider, az as AthenaRequestMethod, aA as AthenaRequestOptions, aB as AthenaRequestQueryValueMap, aC as AthenaRequestResponse, aD as AthenaRequestService, aE as AthenaResult, dm as AthenaResultError, aF as AthenaRpcBuilderStateAst, aG as AthenaRpcDebugAst, aH as AthenaSelectDebugAst, aI as AthenaSelectDebugTransport, dn as AthenaSelectShape, aJ as AthenaStorageAuditNamespace, aK as AthenaStorageBackupNamespace, aL as AthenaStorageBaseModule, aM as AthenaStorageBinaryCallOptions, aN as AthenaStorageBucketCorsNamespace, aO as AthenaStorageBucketNamespace, aP as AthenaStorageCallOptions, aQ as AthenaStorageCatalogNamespace, aR as AthenaStorageClientConfig, aS as AthenaStorageConfig, aT as AthenaStorageCredentialsNamespace, aU as AthenaStorageDirectUploadConfig, aV as AthenaStorageEnv, aW as AthenaStorageError, aX as AthenaStorageErrorCode, aY as AthenaStorageErrorDetails, aZ as AthenaStorageErrorHandler, a_ as AthenaStorageErrorInput, a$ as AthenaStorageFileConfig, b0 as AthenaStorageFileDeleteInput, b1 as AthenaStorageFileDownloadInput, b2 as AthenaStorageFileListInput, b3 as AthenaStorageFileModule, b4 as AthenaStorageFileNamespace, b5 as AthenaStorageFileUploadInput, b6 as AthenaStorageFileUploadManyRequest, b7 as AthenaStorageFileUploadRequest, b8 as AthenaStorageFileUploadResult, b9 as AthenaStorageFolderNamespace, ba as AthenaStorageManagedUpload, bb as AthenaStorageModule, bc as AthenaStorageMultipartNamespace, bd as AthenaStorageObjectFolderNamespace, be as AthenaStorageObjectNamespace, bf as AthenaStoragePathContext, bg as AthenaStoragePermissionNamespace, bh as AthenaStoragePrefixPath, bi as AthenaStoragePutBody, bj as AthenaStoragePutOptions, bk as AthenaStorageTemplateValue, bl as AthenaStorageTemplateVars, bm as AthenaStorageUploadConstraints, bn as AthenaStorageUploadProgress, bo as AthenaStorageUploadProgressHandler, bp as AthenaStorageUploadSource, bq as AthenaStorageUploadedFile, br as AthenaTableBuilderStateAst, bs as AthenaUpdateDebugAst, bt as AthenaUpsertDebugAst, dp as AthenaValidatedSelectShape, dq as AthenaWhere, dr as AthenaWhereBooleanOperand, ds as AthenaWhereOperatorInput, bu as BackupRecoveryStrategy, bv as ConfirmStorageUploadRequest, bw as CopyStorageFileRequest, bx as CreateStorageCatalogRequest, by as CreateStorageUploadUrlRequest, bz as CreateStorageUploadUrlsRequest, dt as DEFAULT_MULTIPART_PART_SIZE_BYTES, du as DEFAULT_MULTIPART_THRESHOLD_BYTES, bA as DeleteManyStorageFilesRequest, bB as DeleteStorageFolderRequest, bC as DeprecatedInlineStorageConnectionFields, bD as GetStorageFileUrlQuery, bE as IntCoercionOptions, bF as ListStorageFilesRequest, bG as ListStorageFoldersRequest, bH as ManagedFileRecord, bI as MoveStorageFolderRequest, bJ as NormalizedAthenaError, bK as PresignedFileUrlResponse, bL as RequireAffectedOptions, bM as RetryBackoffStrategy, bN as RetryConfig, bO as RpcOrderOptions, bP as RpcQueryBuilder, bQ as S3CatalogItem, bR as S3CredentialListItem, bS as SearchStorageFilesRequest, bT as SetManyStorageFileVisibilityRequest, bU as SetStorageFileVisibilityRequest, bV as StorageAuditEventRecord, bW as StorageAuditListResponse, bX as StorageAuditQueryRequest, bY as StorageBackupCreateRequest, bZ as StorageBackupJob, b_ as StorageBackupListPage, b$ as StorageBackupListQuery, c0 as StorageBackupQueuedJob, c1 as StorageBackupRecord, c2 as StorageBackupRestoreRequest, c3 as StorageBackupSchedule, c4 as StorageBackupScheduleCreateRequest, c5 as StorageBatchUploadUrlResponse, c6 as StorageBatchUploadUrlResponseWithPut, c7 as StorageBucketCorsRequest, c8 as StorageBucketCorsRuleInput, c9 as StorageBucketLifecycleRequest, ca as StorageBucketLifecycleRuleInput, cb as StorageBucketPolicyRequest, cc as StorageConnectionSelector, cd as StorageFileAccessPurpose, ce as StorageFileMutationManyResponse, cf as StorageFileMutationResponse, cg as StorageFilePermissionRecord, ch as StorageFileRetentionRequest, ci as StorageFileVersionPathRequest, cj as StorageFolderMutationResponse, ck as StorageListFilesResponse, cl as StorageListObjectsRequest, cm as StorageMultipartAbortRequest, cn as StorageMultipartCompletePartInput, co as StorageMultipartCompleteRequest, cp as StorageMultipartCreateRequest, cq as StorageMultipartListPartsRequest, cr as StorageMultipartSignPartRequest, cs as StorageObjectBaseRequest, ct as StorageObjectCopyRequest, cu as StorageObjectFolderCreateRequest, cv as StorageObjectFolderDeleteRequest, cw as StorageObjectFolderRenameRequest, cx as StorageObjectPublicUrlRequest, cy as StorageObjectRequest, cz as StorageObjectValidateRequest, cA as StorageObjectVersionListRequest, cB as StorageObjectVersionMutationRequest, cC as StoragePermissionCheckRequest, cD as StoragePermissionCheckResponse, cE as StoragePermissionGrantRequest, cF as StoragePermissionListRequest, cG as StoragePermissionListResponse, cH as StoragePermissionRevokeRequest, cI as StoragePresignUploadRequest, cJ as StoragePublicAccessBlockRequest, cK as StorageServerSideEncryptionOptions, cL as StorageSetBucketCorsRequest, cM as StorageSetBucketLifecycleRequest, cN as StorageSetBucketPolicyRequest, cO as StorageSetPublicAccessBlockRequest, cP as StorageSignedPostPolicyRequest, cQ as StorageUpdateObjectRequest, cR as StorageUploadUrlResponse, cS as StorageUploadUrlResponseWithPut, cT as TableQueryBuilder, cU as TreeStorageFoldersRequest, cV as UnwrapOneOptions, cW as UnwrapOptions, cX as UpdateManyStorageFilesRequest, cY as UpdateStorageCatalogRequest, cZ as UpdateStorageFileRequest, c_ as assertInt, c$ as coerceInt, d0 as createAthenaStorageError, d1 as createClient, dv as createStorageFileModule, d2 as createStorageModule, d3 as getAthenaDebugAst, d4 as isOk, d5 as normalizeAthenaError, d6 as parseBooleanFlag, d7 as requireAffected, d8 as requireSuccess, dw as resolveStoragePath, d9 as storageSdkManifest, da as unwrap, db as unwrapOne, dc as unwrapRows, dd as verifyAthenaGatewayUrl, de as withRetry } from './v3-client-DZp2NEhK.js';
|
|
2
2
|
export { A as AthenaConditionCastType, a as AthenaGatewayCallOptions, b as AthenaGatewayConnectionOptions, c as AthenaGatewayConnectionResult, d as AthenaGatewayErrorCode, e as AthenaGatewayErrorDetails, f as AthenaJsonArray, g as AthenaJsonObject, h as AthenaJsonPrimitive, i as AthenaJsonValue, j as AthenaRpcCallOptions, k as AthenaRpcFilter, l as AthenaRpcFilterOperator, m as AthenaRpcOrder, n as AthenaRpcPayload, B as Backend, o as BackendConfig, p as BackendType } from './types-Bltx6iL6.js';
|
|
3
|
-
export { A as AthenaGatewayError, F as FormValuesOf, M as ModelFormAdapter, a as ModelFormDefaults, b as ModelFormNullishMode, c as ModelFormValues, T as ToModelFormDefaultsOptions, d as ToModelPayloadOptions, e as createModelFormAdapter, i as isAthenaGatewayError, t as toModelFormDefaults, f as toModelPayload } from './model-form-
|
|
4
|
-
export { A as ATHENA_AUTH_ADMIN_LIMITS, a as ATHENA_AUTH_BASE_ERROR_CODES, b as ATHENA_AUTH_MAX_ADMIN_JSON_BYTES, c as ATHENA_AUTH_MAX_ADMIN_JSON_DEPTH, d as ATHENA_AUTH_MAX_TEMPLATE_VARIABLES, e as ATHENA_AUTH_MAX_TEMPLATE_VARIABLE_LENGTH, f as AnyColumnBuilder, g as AthenaAuthAdminLimits,
|
|
5
|
-
import { I as IntrospectionSnapshot, S as SchemaIntrospectionProvider } from './types-
|
|
6
|
-
export {
|
|
7
|
-
import { A as AthenaGeneratorConfig, L as LoadGeneratorConfigOptions, a as LoadedGeneratorConfig, N as NormalizedAthenaGeneratorConfig, G as GeneratedArtifacts, b as GeneratorProviderConfig, c as GeneratorExperimentalFlags } from './types-
|
|
8
|
-
export { e as GeneratedArtifact, f as GeneratorArtifactKind, g as GeneratorFeatureFlags, h as GeneratorFilterConfig, i as GeneratorInternalConfig, j as GeneratorNamingConfig, k as GeneratorOutputConfig, l as GeneratorOutputFormat, m as GeneratorOutputPreset, n as GeneratorOutputTargets, o as GeneratorSchemaSelection, p as GeneratorTableSelection, q as NamingStyle, r as NormalizedGeneratorFilterConfig, s as NormalizedGeneratorOutputConfig, R as RunGeneratorOptions, d as RunGeneratorResult, S as SkippedGeneratedArtifact, t as SkippedGeneratedArtifactReason } from './types-
|
|
9
|
-
export { r as runSchemaGenerator } from './pipeline-
|
|
3
|
+
export { A as AthenaGatewayError, F as FormValuesOf, M as ModelFormAdapter, a as ModelFormDefaults, b as ModelFormNullishMode, c as ModelFormValues, T as ToModelFormDefaultsOptions, d as ToModelPayloadOptions, e as createModelFormAdapter, i as isAthenaGatewayError, t as toModelFormDefaults, f as toModelPayload } from './model-form-Dh0sisdL.js';
|
|
4
|
+
export { A as ATHENA_AUTH_ADMIN_LIMITS, a as ATHENA_AUTH_BASE_ERROR_CODES, b as ATHENA_AUTH_MAX_ADMIN_JSON_BYTES, c as ATHENA_AUTH_MAX_ADMIN_JSON_DEPTH, d as ATHENA_AUTH_MAX_TEMPLATE_VARIABLES, e as ATHENA_AUTH_MAX_TEMPLATE_VARIABLE_LENGTH, f as AnyColumnBuilder, g as AthenaAuthAdminLimits, W as AthenaAuthBaseURLConfig, X as AthenaAuthContext, Y as AthenaAuthCookieRuntimeInput, Z as AthenaAuthDatabaseFactory, _ as AthenaAuthHandlerResult, $ as AthenaAuthPlugin, a0 as AthenaAuthPluginContext, a1 as AthenaAuthPluginHandlerContext, a2 as AthenaAuthRequestContext, a3 as AthenaAuthServer, a4 as AthenaAuthServerApi, a5 as AthenaAuthServerConfig, a6 as AthenaAuthServerRuntimeOptions, a7 as AthenaAuthSocialProviderConfig, a8 as AthenaAuthTrustedOrigins, a9 as AthenaAuthTrustedProviders, h as AthenaChatError, i as AthenaColumnBuilder, j as AthenaConfigurationError, k as AthenaConfigurationErrorCode, l as AthenaService, m as AthenaTableDef, n as AthenaTableSchemaBundle, C as ColumnRuntimeConfig, D as DEFAULT_POSTGRES_SCHEMAS, F as FormValuesFromColumns, aa as GeneratorEnvBooleanOptions, ab as GeneratorEnvJsonOptions, ac as GeneratorEnvListOptions, ad as GeneratorEnvOneOfOptions, ae as GeneratorEnvStringOptions, I as InsertFromColumns, P as PostgresIntrospectionProviderOptions, R as RowFromColumns, U as UpdateFromColumns, o as athenaAuth, p as boolean, q as chatSdkManifest, r as createAuthReactEmailInput, af as createPostgresIntrospectionProvider, s as defineAthenaAuthConfig, t as defineAuthEmailTemplate, u as defineDatabase, v as defineModel, w as defineRegistry, x as defineSchema, y as enumeration, z as filterIntrospectionSnapshot, B as generatorEnv, E as identifier, G as json, H as normalizeAthenaGatewayBaseUrl, J as normalizeSchemaSelection, K as normalizeTableSelection, L as number, M as renderAthenaReactEmail, N as resolvePostgresColumnType, O as resolveProviderSchemas, Q as string, S as table, T as unwrapChatMessage, V as unwrapChatRoom } from './module-CkUM6v58.js';
|
|
5
|
+
import { I as IntrospectionSnapshot, S as SchemaIntrospectionProvider } from './types-B75PdABb.js';
|
|
6
|
+
export { t as AthenaClientModelForTableName, r as AthenaClientModelsInput, u as AthenaClientTableName, A as AthenaModelTarget, D as DatabaseDef, a as InsertOf, b as IntrospectionColumn, c as IntrospectionInspectOptions, d as IntrospectionRelation, e as IntrospectionSchema, f as IntrospectionTable, g as IntrospectionTypeKind, M as ModelAt, h as ModelColumnKind, i as ModelColumnMetadata, j as ModelDef, k as ModelMetadata, l as ModelRelationKind, m as ModelRelationMetadata, R as RegistryDef, n as RowOf, o as SchemaDef, T as TenantContext, p as TenantContextValue, q as TenantKeyMap, U as UpdateOf } from './types-B75PdABb.js';
|
|
7
|
+
import { A as AthenaGeneratorConfig, L as LoadGeneratorConfigOptions, a as LoadedGeneratorConfig, N as NormalizedAthenaGeneratorConfig, G as GeneratedArtifacts, b as GeneratorProviderConfig, c as GeneratorExperimentalFlags } from './types-BaAMXCqK.js';
|
|
8
|
+
export { e as GeneratedArtifact, f as GeneratorArtifactKind, g as GeneratorFeatureFlags, h as GeneratorFilterConfig, i as GeneratorInternalConfig, j as GeneratorNamingConfig, k as GeneratorOutputConfig, l as GeneratorOutputFormat, m as GeneratorOutputPreset, n as GeneratorOutputTargets, o as GeneratorSchemaSelection, p as GeneratorTableSelection, q as NamingStyle, r as NormalizedGeneratorFilterConfig, s as NormalizedGeneratorOutputConfig, R as RunGeneratorOptions, d as RunGeneratorResult, S as SkippedGeneratedArtifact, t as SkippedGeneratedArtifactReason } from './types-BaAMXCqK.js';
|
|
9
|
+
export { r as runSchemaGenerator } from './pipeline-B8aN2EHe.js';
|
|
10
10
|
export { A as AthenaAdminEmailCreateRequest, a as AthenaAdminEmailDeleteRequest, b as AthenaAdminEmailEventTypeListResponse, c as AthenaAdminEmailEventTypeRecord, d as AthenaAdminEmailFailureCreateRequest, e as AthenaAdminEmailFailureDeleteRequest, f as AthenaAdminEmailFailureGetQuery, g as AthenaAdminEmailFailureGetResponse, h as AthenaAdminEmailFailureListQuery, i as AthenaAdminEmailFailureListResponse, j as AthenaAdminEmailFailureUpdateRequest, k as AthenaAdminEmailFailureUpdateResponse, l as AthenaAdminEmailGetQuery, m as AthenaAdminEmailGetResponse, n as AthenaAdminEmailListQuery, o as AthenaAdminEmailListResponse, p as AthenaAdminEmailTemplateCreateRequest, q as AthenaAdminEmailTemplateDeleteRequest, r as AthenaAdminEmailTemplateGetQuery, s as AthenaAdminEmailTemplateGetResponse, t as AthenaAdminEmailTemplateListQuery, u as AthenaAdminEmailTemplateListResponse, v as AthenaAdminEmailTemplateRecord, w as AthenaAdminEmailTemplateSendRequest, x as AthenaAdminEmailTemplateSendResponse, y as AthenaAdminEmailTemplateUpdateRequest, z as AthenaAdminEmailUpdateRequest, B as AthenaAdminEmailUpdateResponse, aF as AthenaAdminListUsersFilterOperator, aG as AthenaAdminListUsersQuery, aH as AthenaAdminListUsersSearchOperator, C as AthenaAuthAdminUserSessionRevokeBinding, D as AthenaAuthBindings, E as AthenaAuthCallOptions, F as AthenaAuthClientConfig, G as AthenaAuthCredentials, H as AthenaAuthEmailChangeResponse, I as AthenaAuthEmailTemplateAttachment, J as AthenaAuthEmailTemplateBuilder, K as AthenaAuthEmailTemplateCreateFromDefinitionInput, L as AthenaAuthEmailTemplateDefinition, M as AthenaAuthEmailTemplateReactOverrides, N as AthenaAuthEmailTemplateUpdateFromDefinitionInput, O as AthenaAuthEmailTemplateVariableBinding, P as AthenaAuthEndpointPath, Q as AthenaAuthErrorCode, R as AthenaAuthErrorDetails, aI as AthenaAuthFilterOperator, S as AthenaAuthGenericInput, T as AthenaAuthGenericQueryInput, U as AthenaAuthGetUserResponse, aJ as AthenaAuthGuardFailure, aK as AthenaAuthGuardReason, aL as AthenaAuthGuardResult, aM as AthenaAuthGuardSuccess, V as AthenaAuthLinkedAccount, W as AthenaAuthMethod, X as AthenaAuthOrganization, Y as AthenaAuthOrganizationBindings, Z as AthenaAuthOrganizationInvitation, _ as AthenaAuthOrganizationMember, $ as AthenaAuthQueryPrimitive, a0 as AthenaAuthQueryValue, a1 as AthenaAuthReactEmailComponent, a2 as AthenaAuthReactEmailConfig, a3 as AthenaAuthReactEmailEventPhase, a4 as AthenaAuthReactEmailProps, a5 as AthenaAuthReactEmailRenderEvent, a6 as AthenaAuthReactEmailRenderInput, a7 as AthenaAuthReactEmailRenderOptions, a8 as AthenaAuthRequestInput, a9 as AthenaAuthResetPasswordBinding, aa as AthenaAuthResult, ab as AthenaAuthRevokeSessionRequest, aN as AthenaAuthSearchOperator, ac as AthenaAuthSession, ad as AthenaAuthSessionResponse, ae as AthenaAuthSessionRevokeBinding, af as AthenaAuthSignInResponse, ag as AthenaAuthSignOutResponse, aO as AthenaAuthSocialProviderExtensions, ah as AthenaAuthSocialRedirectResponse, ai as AthenaAuthStatusResponse, aj as AthenaAuthUser, ak as AthenaChangeEmailRequest, al as AthenaChangePasswordRequest, am as AthenaDeleteUserCallbackRequest, an as AthenaDeleteUserRequest, ao as AthenaDeleteUserResponse, ap as AthenaEmailSignInRequest, aq as AthenaEmailSignUpRequest, ar as AthenaForgetPasswordRequest, as as AthenaLinkSocialRequest, at as AthenaOAuthAccountTokenRequest, au as AthenaOAuthTokenBundle, av as AthenaResetPasswordRequest, aw as AthenaSendVerificationEmailRequest, ax as AthenaSocialSignInRequest, ay as AthenaUnlinkAccountRequest, az as AthenaUpdateUserRequest, aA as AthenaUsernameSignInRequest, aB as AthenaVerifyEmailRequest, aC as AuthBindings, aP as AuthOAuthProvider, aQ as AuthSocialProvider, aR as AuthSocialProviderBuiltin } from './types-AOY-GLu8.js';
|
|
11
11
|
export { ActiveOrganizationSessionLike, EnsureActiveOrganizationOptions, EnsureActiveOrganizationResult, OrganizationLike, ensureActiveOrganization } from './organization.js';
|
|
12
|
-
export { A as AthenaBillingCallOptions, a as AthenaBillingClientConfig, f as AthenaBillingEnvelope, b as AthenaBillingError, g as AthenaBillingHttpMethod, h as AthenaBillingJson, c as AthenaBillingModule, B as BillingConnectionRefInput, i as BillingCreateConnectionInput, j as BillingEnsureCustomerInput, k as BillingListQuery, l as BillingProvisionSinksInput, m as BillingReconcileInput, n as BillingUpdateConnectionInput, o as BillingUpdateCustomerInput, d as billingSdkManifest, e as createBillingModule } from './module-
|
|
12
|
+
export { A as AthenaBillingCallOptions, a as AthenaBillingClientConfig, f as AthenaBillingEnvelope, b as AthenaBillingError, g as AthenaBillingHttpMethod, h as AthenaBillingJson, c as AthenaBillingModule, B as BillingConnectionRefInput, i as BillingCreateConnectionInput, j as BillingEnsureCustomerInput, k as BillingListQuery, l as BillingProvisionSinksInput, m as BillingReconcileInput, n as BillingUpdateConnectionInput, o as BillingUpdateCustomerInput, d as billingSdkManifest, e as createBillingModule } from './module-C_ab-MM1.js';
|
|
13
13
|
import 'zod';
|
|
14
14
|
import './index-UKJpunc6.js';
|
|
15
15
|
import './session-cookie-detection-BqOp9mO6.js';
|
package/dist/index.js
CHANGED
|
@@ -1939,7 +1939,7 @@ function buildRpcDebugSql(payload) {
|
|
|
1939
1939
|
}
|
|
1940
1940
|
|
|
1941
1941
|
// src/gateway/url.ts
|
|
1942
|
-
var ATHENA_DEFAULT_BASE_URL = "https://athena-
|
|
1942
|
+
var ATHENA_DEFAULT_BASE_URL = "https://mirror2.athena-cluster.com";
|
|
1943
1943
|
function describeReceivedValue(value) {
|
|
1944
1944
|
if (value === void 0) return "undefined";
|
|
1945
1945
|
if (value === null) return "null";
|
|
@@ -1962,14 +1962,14 @@ function normalizeAthenaGatewayBaseUrl(input, options = {}) {
|
|
|
1962
1962
|
if (candidate === void 0 || candidate === null) {
|
|
1963
1963
|
throw invalidBaseUrlError(
|
|
1964
1964
|
`${label} must be a non-empty absolute http(s) URL. Received ${describeReceivedValue(input)}.`,
|
|
1965
|
-
'Set ATHENA_URL in the explicit env object (or pass createClient({ url, key })) to a full URL such as "https://
|
|
1965
|
+
'Set ATHENA_URL in the explicit env object (or pass createClient({ url, key })) to a full URL such as "https://mirror2.athena-cluster.com".'
|
|
1966
1966
|
);
|
|
1967
1967
|
}
|
|
1968
1968
|
const trimmed = candidate.trim();
|
|
1969
1969
|
if (!trimmed) {
|
|
1970
1970
|
throw invalidBaseUrlError(
|
|
1971
1971
|
`${label} must be a non-empty absolute http(s) URL. Received ${describeReceivedValue(candidate)}.`,
|
|
1972
|
-
'Set ATHENA_URL in the explicit env object (or pass createClient({ url, key })) to a full URL such as "https://
|
|
1972
|
+
'Set ATHENA_URL in the explicit env object (or pass createClient({ url, key })) to a full URL such as "https://mirror2.athena-cluster.com".'
|
|
1973
1973
|
);
|
|
1974
1974
|
}
|
|
1975
1975
|
let parsed;
|
|
@@ -1978,13 +1978,13 @@ function normalizeAthenaGatewayBaseUrl(input, options = {}) {
|
|
|
1978
1978
|
} catch {
|
|
1979
1979
|
throw invalidBaseUrlError(
|
|
1980
1980
|
`${label} must be a valid absolute http(s) URL. Received ${describeReceivedValue(candidate)}.`,
|
|
1981
|
-
'Use a full URL including the protocol, for example "https://
|
|
1981
|
+
'Use a full URL including the protocol, for example "https://mirror2.athena-cluster.com".'
|
|
1982
1982
|
);
|
|
1983
1983
|
}
|
|
1984
1984
|
if (parsed.protocol !== "http:" && parsed.protocol !== "https:") {
|
|
1985
1985
|
throw invalidBaseUrlError(
|
|
1986
1986
|
`${label} must use http or https. Received ${JSON.stringify(trimmed)}.`,
|
|
1987
|
-
'Use an Athena gateway URL such as "https://
|
|
1987
|
+
'Use an Athena gateway URL such as "https://mirror2.athena-cluster.com".'
|
|
1988
1988
|
);
|
|
1989
1989
|
}
|
|
1990
1990
|
if (parsed.search || parsed.hash) {
|
|
@@ -2007,7 +2007,7 @@ function buildAthenaGatewayUrl(baseUrl, path) {
|
|
|
2007
2007
|
|
|
2008
2008
|
// package.json
|
|
2009
2009
|
var package_default = {
|
|
2010
|
-
version: "3.0.
|
|
2010
|
+
version: "3.0.2"
|
|
2011
2011
|
};
|
|
2012
2012
|
|
|
2013
2013
|
// src/sdk-version.ts
|
|
@@ -3055,7 +3055,7 @@ function createAthenaRequest(config, resolveContext) {
|
|
|
3055
3055
|
}
|
|
3056
3056
|
|
|
3057
3057
|
// src/gateway/client.ts
|
|
3058
|
-
var DEFAULT_CLIENT = "
|
|
3058
|
+
var DEFAULT_CLIENT = "DEFAULT_CLIENT";
|
|
3059
3059
|
var SDK_NAME2 = "xylex-group/athena";
|
|
3060
3060
|
var SDK_HEADER_VALUE = buildSdkHeaderValue(SDK_NAME2);
|
|
3061
3061
|
function parseResponseBody(rawText, contentType) {
|
|
@@ -9884,6 +9884,8 @@ var billingSdkManifest = {
|
|
|
9884
9884
|
methods: [
|
|
9885
9885
|
{ name: "getCapabilities", method: "GET", path: "/billing/v1/capabilities" },
|
|
9886
9886
|
{ name: "createCheckout", method: "POST", path: "/billing/v1/checkouts" },
|
|
9887
|
+
{ name: "listProducts", method: "GET", path: "/billing/v1/products" },
|
|
9888
|
+
{ name: "listPrices", method: "GET", path: "/billing/v1/prices" },
|
|
9887
9889
|
{ name: "listCustomers", method: "GET", path: "/billing/v1/customers" },
|
|
9888
9890
|
{ name: "createCustomer", method: "POST", path: "/billing/v1/customers" },
|
|
9889
9891
|
{ name: "getCustomer", method: "GET", path: "/billing/v1/customers/{id}" },
|
|
@@ -9909,6 +9911,12 @@ var billingSdkManifest = {
|
|
|
9909
9911
|
{ name: "cancelSubscription", method: "POST", path: "/billing/v1/subscriptions/{id}/cancel" },
|
|
9910
9912
|
{ name: "listInvoices", method: "GET", path: "/billing/v1/invoices" },
|
|
9911
9913
|
{ name: "getInvoice", method: "GET", path: "/billing/v1/invoices/{id}" },
|
|
9914
|
+
{ name: "listWebhooks", method: "GET", path: "/billing/v1/webhooks" },
|
|
9915
|
+
{ name: "createWebhook", method: "POST", path: "/billing/v1/webhooks" },
|
|
9916
|
+
{ name: "getWebhook", method: "GET", path: "/billing/v1/webhooks/{id}" },
|
|
9917
|
+
{ name: "updateWebhook", method: "PATCH", path: "/billing/v1/webhooks/{id}" },
|
|
9918
|
+
{ name: "deleteWebhook", method: "DELETE", path: "/billing/v1/webhooks/{id}" },
|
|
9919
|
+
{ name: "testWebhook", method: "POST", path: "/billing/v1/webhooks/{id}/test" },
|
|
9912
9920
|
{
|
|
9913
9921
|
name: "listConnections",
|
|
9914
9922
|
method: "GET",
|
|
@@ -10077,6 +10085,25 @@ function createBillingModule(config) {
|
|
|
10077
10085
|
createCheckout(body, options) {
|
|
10078
10086
|
return call("POST", "/billing/v1/checkouts", body, options);
|
|
10079
10087
|
},
|
|
10088
|
+
listProducts(input, options) {
|
|
10089
|
+
return call(
|
|
10090
|
+
"GET",
|
|
10091
|
+
appendQuery3("/billing/v1/products", connectionQuery(input)),
|
|
10092
|
+
void 0,
|
|
10093
|
+
options
|
|
10094
|
+
);
|
|
10095
|
+
},
|
|
10096
|
+
listPrices(input, options) {
|
|
10097
|
+
return call(
|
|
10098
|
+
"GET",
|
|
10099
|
+
appendQuery3("/billing/v1/prices", {
|
|
10100
|
+
...connectionQuery(input),
|
|
10101
|
+
...input.productId ? { productId: input.productId } : {}
|
|
10102
|
+
}),
|
|
10103
|
+
void 0,
|
|
10104
|
+
options
|
|
10105
|
+
);
|
|
10106
|
+
},
|
|
10080
10107
|
listCustomers(input, options) {
|
|
10081
10108
|
return call(
|
|
10082
10109
|
"GET",
|
|
@@ -10223,10 +10250,7 @@ function createBillingModule(config) {
|
|
|
10223
10250
|
getRefund(id, input, options) {
|
|
10224
10251
|
return call(
|
|
10225
10252
|
"GET",
|
|
10226
|
-
appendQuery3(withPathParam2("/billing/v1/refunds/{id}", "id", id),
|
|
10227
|
-
...connectionQuery(input),
|
|
10228
|
-
...input.paymentId ? { paymentId: input.paymentId } : {}
|
|
10229
|
-
}),
|
|
10253
|
+
appendQuery3(withPathParam2("/billing/v1/refunds/{id}", "id", id), connectionQuery(input)),
|
|
10230
10254
|
void 0,
|
|
10231
10255
|
options
|
|
10232
10256
|
);
|
|
@@ -10234,10 +10258,7 @@ function createBillingModule(config) {
|
|
|
10234
10258
|
cancelRefund(id, input, options) {
|
|
10235
10259
|
return call(
|
|
10236
10260
|
"POST",
|
|
10237
|
-
appendQuery3(withPathParam2("/billing/v1/refunds/{id}/cancel", "id", id),
|
|
10238
|
-
...connectionQuery(input),
|
|
10239
|
-
...input.paymentId ? { paymentId: input.paymentId } : {}
|
|
10240
|
-
}),
|
|
10261
|
+
appendQuery3(withPathParam2("/billing/v1/refunds/{id}/cancel", "id", id), connectionQuery(input)),
|
|
10241
10262
|
{},
|
|
10242
10263
|
options
|
|
10243
10264
|
);
|
|
@@ -10256,10 +10277,10 @@ function createBillingModule(config) {
|
|
|
10256
10277
|
getSubscription(id, input, options) {
|
|
10257
10278
|
return call(
|
|
10258
10279
|
"GET",
|
|
10259
|
-
appendQuery3(
|
|
10260
|
-
|
|
10261
|
-
|
|
10262
|
-
|
|
10280
|
+
appendQuery3(
|
|
10281
|
+
withPathParam2("/billing/v1/subscriptions/{id}", "id", id),
|
|
10282
|
+
connectionQuery(input)
|
|
10283
|
+
),
|
|
10263
10284
|
void 0,
|
|
10264
10285
|
options
|
|
10265
10286
|
);
|
|
@@ -10275,10 +10296,10 @@ function createBillingModule(config) {
|
|
|
10275
10296
|
cancelSubscription(id, input, options) {
|
|
10276
10297
|
return call(
|
|
10277
10298
|
"POST",
|
|
10278
|
-
appendQuery3(
|
|
10279
|
-
|
|
10280
|
-
|
|
10281
|
-
|
|
10299
|
+
appendQuery3(
|
|
10300
|
+
withPathParam2("/billing/v1/subscriptions/{id}/cancel", "id", id),
|
|
10301
|
+
connectionQuery(input)
|
|
10302
|
+
),
|
|
10282
10303
|
{},
|
|
10283
10304
|
options
|
|
10284
10305
|
);
|
|
@@ -10302,6 +10323,57 @@ function createBillingModule(config) {
|
|
|
10302
10323
|
options
|
|
10303
10324
|
);
|
|
10304
10325
|
},
|
|
10326
|
+
listWebhooks(input, options) {
|
|
10327
|
+
return call(
|
|
10328
|
+
"GET",
|
|
10329
|
+
appendQuery3("/billing/v1/webhooks", connectionQuery(input)),
|
|
10330
|
+
void 0,
|
|
10331
|
+
options
|
|
10332
|
+
);
|
|
10333
|
+
},
|
|
10334
|
+
createWebhook(input, body, options) {
|
|
10335
|
+
return call(
|
|
10336
|
+
"POST",
|
|
10337
|
+
appendQuery3("/billing/v1/webhooks", connectionQuery(input)),
|
|
10338
|
+
body,
|
|
10339
|
+
options
|
|
10340
|
+
);
|
|
10341
|
+
},
|
|
10342
|
+
getWebhook(id, input, options) {
|
|
10343
|
+
return call(
|
|
10344
|
+
"GET",
|
|
10345
|
+
appendQuery3(withPathParam2("/billing/v1/webhooks/{id}", "id", id), connectionQuery(input)),
|
|
10346
|
+
void 0,
|
|
10347
|
+
options
|
|
10348
|
+
);
|
|
10349
|
+
},
|
|
10350
|
+
updateWebhook(id, input, body, options) {
|
|
10351
|
+
return call(
|
|
10352
|
+
"PATCH",
|
|
10353
|
+
appendQuery3(withPathParam2("/billing/v1/webhooks/{id}", "id", id), connectionQuery(input)),
|
|
10354
|
+
body,
|
|
10355
|
+
options
|
|
10356
|
+
);
|
|
10357
|
+
},
|
|
10358
|
+
deleteWebhook(id, input, options) {
|
|
10359
|
+
return call(
|
|
10360
|
+
"DELETE",
|
|
10361
|
+
appendQuery3(withPathParam2("/billing/v1/webhooks/{id}", "id", id), connectionQuery(input)),
|
|
10362
|
+
void 0,
|
|
10363
|
+
options
|
|
10364
|
+
);
|
|
10365
|
+
},
|
|
10366
|
+
testWebhook(id, input, options) {
|
|
10367
|
+
return call(
|
|
10368
|
+
"POST",
|
|
10369
|
+
appendQuery3(
|
|
10370
|
+
withPathParam2("/billing/v1/webhooks/{id}/test", "id", id),
|
|
10371
|
+
connectionQuery(input)
|
|
10372
|
+
),
|
|
10373
|
+
{},
|
|
10374
|
+
options
|
|
10375
|
+
);
|
|
10376
|
+
},
|
|
10305
10377
|
listConnections(clientName, options) {
|
|
10306
10378
|
return call(
|
|
10307
10379
|
"GET",
|
|
@@ -10479,6 +10551,31 @@ function createBillingModule(config) {
|
|
|
10479
10551
|
};
|
|
10480
10552
|
}
|
|
10481
10553
|
|
|
10554
|
+
// src/config/errors.ts
|
|
10555
|
+
var AthenaConfigurationError = class extends Error {
|
|
10556
|
+
code;
|
|
10557
|
+
service;
|
|
10558
|
+
constructor(code, message, service) {
|
|
10559
|
+
super(message);
|
|
10560
|
+
this.name = "AthenaConfigurationError";
|
|
10561
|
+
this.code = code;
|
|
10562
|
+
this.service = service;
|
|
10563
|
+
}
|
|
10564
|
+
};
|
|
10565
|
+
|
|
10566
|
+
// src/context/merge.ts
|
|
10567
|
+
function mergeAthenaRequestContexts(base, override) {
|
|
10568
|
+
if (!base && !override) return void 0;
|
|
10569
|
+
return {
|
|
10570
|
+
...base,
|
|
10571
|
+
...override,
|
|
10572
|
+
headers: base?.headers || override?.headers ? {
|
|
10573
|
+
...base?.headers ?? {},
|
|
10574
|
+
...override?.headers ?? {}
|
|
10575
|
+
} : void 0
|
|
10576
|
+
};
|
|
10577
|
+
}
|
|
10578
|
+
|
|
10482
10579
|
// src/v3-client.ts
|
|
10483
10580
|
var ENV_URL_KEYS = ["ATHENA_URL", "NEXT_PUBLIC_ATHENA_URL"];
|
|
10484
10581
|
var ENV_DB_URL_KEYS = ["ATHENA_DB_URL", "ATHENA_GATEWAY_URL", "NEXT_PUBLIC_ATHENA_DB_API_URL"];
|
|
@@ -10489,15 +10586,6 @@ var ENV_STORAGE_URL_KEYS = ["ATHENA_STORAGE_URL", "NEXT_PUBLIC_ATHENA_STORAGE_UR
|
|
|
10489
10586
|
var ENV_KEY_KEYS = ["ATHENA_API_KEY", "NEXT_PUBLIC_ATHENA_API_KEY", "ATHENA_GATEWAY_API_KEY", "X_API_KEY"];
|
|
10490
10587
|
var ENV_CLIENT_KEYS = ["ATHENA_CLIENT", "NEXT_PUBLIC_ATHENA_CLIENT"];
|
|
10491
10588
|
var MISSING_DB_SENTINEL = "https://athena.invalid/db";
|
|
10492
|
-
var AthenaConfigurationError = class extends Error {
|
|
10493
|
-
code = "ATHENA_SERVICE_NOT_CONFIGURED";
|
|
10494
|
-
service;
|
|
10495
|
-
constructor(service, message = `Athena ${service} is not configured.`) {
|
|
10496
|
-
super(message);
|
|
10497
|
-
this.name = "AthenaConfigurationError";
|
|
10498
|
-
this.service = service;
|
|
10499
|
-
}
|
|
10500
|
-
};
|
|
10501
10589
|
function readFirstEnv(env, keys) {
|
|
10502
10590
|
for (const key of keys) {
|
|
10503
10591
|
const value = env?.[key]?.trim();
|
|
@@ -10538,11 +10626,18 @@ function resolveCore(config) {
|
|
|
10538
10626
|
chatWs: normalizeOptional(config.chat?.wsUrl) ?? (explicitRootWinsOverEnvServices && root ? toWebSocketUrl(root) : void 0) ?? readFirstEnv(env, ENV_CHAT_WS_URL_KEYS) ?? (root ? toWebSocketUrl(root) : void 0)
|
|
10539
10627
|
};
|
|
10540
10628
|
if (!urls.db && !urls.auth && !urls.chat && !urls.storage && !urls.billing) {
|
|
10541
|
-
throw new AthenaConfigurationError(
|
|
10629
|
+
throw new AthenaConfigurationError(
|
|
10630
|
+
"ATHENA_NO_SERVICE_CONFIGURED",
|
|
10631
|
+
"Athena requires a unified URL or at least one configured service URL.",
|
|
10632
|
+
"db"
|
|
10633
|
+
);
|
|
10542
10634
|
}
|
|
10543
10635
|
const key = normalizeOptional(config.key) ?? readFirstEnv(env, ENV_KEY_KEYS);
|
|
10544
10636
|
if (!key) {
|
|
10545
|
-
throw new
|
|
10637
|
+
throw new AthenaConfigurationError(
|
|
10638
|
+
"ATHENA_API_KEY_REQUIRED",
|
|
10639
|
+
"Athena API key is required. Pass key or provide it through the explicit env object."
|
|
10640
|
+
);
|
|
10546
10641
|
}
|
|
10547
10642
|
const base = {
|
|
10548
10643
|
config,
|
|
@@ -10555,18 +10650,10 @@ function resolveCore(config) {
|
|
|
10555
10650
|
internalCore: createInternalClientCore(createInternalConfig(base))
|
|
10556
10651
|
};
|
|
10557
10652
|
}
|
|
10558
|
-
function mergeContexts(base, override) {
|
|
10559
|
-
if (!base && !override) return void 0;
|
|
10560
|
-
return {
|
|
10561
|
-
...base,
|
|
10562
|
-
...override,
|
|
10563
|
-
headers: base?.headers || override?.headers ? { ...base?.headers ?? {}, ...override?.headers ?? {} } : void 0
|
|
10564
|
-
};
|
|
10565
|
-
}
|
|
10566
10653
|
async function resolveConfiguredContext(core, viewContext) {
|
|
10567
10654
|
const configured = core.config.context;
|
|
10568
10655
|
const base = typeof configured === "function" ? await configured() : configured;
|
|
10569
|
-
return
|
|
10656
|
+
return mergeAthenaRequestContexts(base, viewContext);
|
|
10570
10657
|
}
|
|
10571
10658
|
function createInternalConfig(core) {
|
|
10572
10659
|
const { config, urls } = core;
|
|
@@ -10599,7 +10686,13 @@ function createInternalConfig(core) {
|
|
|
10599
10686
|
};
|
|
10600
10687
|
}
|
|
10601
10688
|
function serviceGuard(urls, service) {
|
|
10602
|
-
if (!urls[service])
|
|
10689
|
+
if (!urls[service]) {
|
|
10690
|
+
throw new AthenaConfigurationError(
|
|
10691
|
+
"ATHENA_SERVICE_NOT_CONFIGURED",
|
|
10692
|
+
`Athena ${service} is not configured.`,
|
|
10693
|
+
service
|
|
10694
|
+
);
|
|
10695
|
+
}
|
|
10603
10696
|
}
|
|
10604
10697
|
function createUnavailableNamespace(service, urls, path = []) {
|
|
10605
10698
|
return new Proxy(() => void 0, {
|
|
@@ -10658,7 +10751,7 @@ function createClientView(core, viewContext) {
|
|
|
10658
10751
|
return resolved.verifyConnection(options);
|
|
10659
10752
|
},
|
|
10660
10753
|
withContext(context) {
|
|
10661
|
-
return createClientView(core,
|
|
10754
|
+
return createClientView(core, mergeAthenaRequestContexts(viewContext, context));
|
|
10662
10755
|
}
|
|
10663
10756
|
};
|
|
10664
10757
|
return Object.freeze(client);
|