tempest-express-sdk 0.10.0 → 0.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 +1 -1
- package/dist/chunk-IHO6X75J.js +6 -0
- package/dist/{chunk-U3SXT3KR.js.map → chunk-IHO6X75J.js.map} +1 -1
- package/dist/cli.cjs +1 -1
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.cjs +86 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +83 -2
- package/dist/index.d.ts +83 -2
- package/dist/index.js +85 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-U3SXT3KR.js +0 -6
package/dist/index.d.cts
CHANGED
|
@@ -2686,6 +2686,87 @@ declare class EmailProvider implements MessagingProvider {
|
|
|
2686
2686
|
status(): Promise<string>;
|
|
2687
2687
|
}
|
|
2688
2688
|
|
|
2689
|
+
/**
|
|
2690
|
+
* Broadcast + multi-channel helpers over {@link MessagingProvider}.
|
|
2691
|
+
*
|
|
2692
|
+
* {@link broadcastText} fans one message out to many recipients through a single
|
|
2693
|
+
* provider, with bounded concurrency and a per-recipient result (one failure
|
|
2694
|
+
* never aborts the rest). {@link MessagingHub} keeps named providers so app code
|
|
2695
|
+
* sends by channel name and can broadcast across all of them.
|
|
2696
|
+
*/
|
|
2697
|
+
|
|
2698
|
+
/** The outcome of a single recipient's send within a broadcast. */
|
|
2699
|
+
interface BroadcastResult {
|
|
2700
|
+
/** The recipient address/handle. */
|
|
2701
|
+
to: string;
|
|
2702
|
+
/** Whether the send succeeded. */
|
|
2703
|
+
ok: boolean;
|
|
2704
|
+
/** The provider result, when successful. */
|
|
2705
|
+
result?: OutboundResult;
|
|
2706
|
+
/** The error message, when failed. */
|
|
2707
|
+
error?: string;
|
|
2708
|
+
}
|
|
2709
|
+
/** Options for {@link broadcastText}. */
|
|
2710
|
+
interface BroadcastOptions extends SendOptions {
|
|
2711
|
+
/** Maximum concurrent sends. Default 10. */
|
|
2712
|
+
concurrency?: number;
|
|
2713
|
+
}
|
|
2714
|
+
/**
|
|
2715
|
+
* Send `text` to every recipient through `provider`, bounded by concurrency.
|
|
2716
|
+
*
|
|
2717
|
+
* A failed recipient is captured in its {@link BroadcastResult} (`ok: false`)
|
|
2718
|
+
* rather than aborting the batch.
|
|
2719
|
+
*
|
|
2720
|
+
* @param provider - The channel to send through.
|
|
2721
|
+
* @param recipients - Recipient addresses/handles.
|
|
2722
|
+
* @param text - The message body.
|
|
2723
|
+
* @param options - Concurrency + send options.
|
|
2724
|
+
* @returns One result per recipient, in input order.
|
|
2725
|
+
*/
|
|
2726
|
+
declare function broadcastText(provider: MessagingProvider, recipients: string[], text: string, options?: BroadcastOptions): Promise<BroadcastResult[]>;
|
|
2727
|
+
/** A registry of named messaging channels. */
|
|
2728
|
+
declare class MessagingHub {
|
|
2729
|
+
private readonly channels;
|
|
2730
|
+
/**
|
|
2731
|
+
* Register a provider under a channel name.
|
|
2732
|
+
*
|
|
2733
|
+
* @param name - The channel name (e.g. `"whatsapp"`, `"sms"`).
|
|
2734
|
+
* @param provider - The provider implementation.
|
|
2735
|
+
* @returns The hub (chainable).
|
|
2736
|
+
*/
|
|
2737
|
+
register(name: string, provider: MessagingProvider): this;
|
|
2738
|
+
/**
|
|
2739
|
+
* Get a registered provider, throwing when the channel is unknown.
|
|
2740
|
+
*
|
|
2741
|
+
* @param name - The channel name.
|
|
2742
|
+
* @returns The provider.
|
|
2743
|
+
* @throws {Error} When no provider is registered under `name`.
|
|
2744
|
+
*/
|
|
2745
|
+
get(name: string): MessagingProvider;
|
|
2746
|
+
/** The registered channel names. */
|
|
2747
|
+
channelNames(): string[];
|
|
2748
|
+
/**
|
|
2749
|
+
* Send text through a named channel.
|
|
2750
|
+
*
|
|
2751
|
+
* @param channel - The channel name.
|
|
2752
|
+
* @param to - The recipient.
|
|
2753
|
+
* @param text - The message body.
|
|
2754
|
+
* @param options - Send options.
|
|
2755
|
+
* @returns The provider result.
|
|
2756
|
+
*/
|
|
2757
|
+
send(channel: string, to: string, text: string, options?: SendOptions): Promise<OutboundResult>;
|
|
2758
|
+
/**
|
|
2759
|
+
* Broadcast text to many recipients on a named channel.
|
|
2760
|
+
*
|
|
2761
|
+
* @param channel - The channel name.
|
|
2762
|
+
* @param recipients - Recipient addresses/handles.
|
|
2763
|
+
* @param text - The message body.
|
|
2764
|
+
* @param options - Broadcast + send options.
|
|
2765
|
+
* @returns One result per recipient.
|
|
2766
|
+
*/
|
|
2767
|
+
broadcast(channel: string, recipients: string[], text: string, options?: BroadcastOptions): Promise<BroadcastResult[]>;
|
|
2768
|
+
}
|
|
2769
|
+
|
|
2689
2770
|
/**
|
|
2690
2771
|
* Admin site + resource registry, mirroring `admin.site` / `admin.config`.
|
|
2691
2772
|
*
|
|
@@ -3716,6 +3797,6 @@ interface RunServerOptions {
|
|
|
3716
3797
|
declare function runServer(app: Express, options?: RunServerOptions): Promise<Server>;
|
|
3717
3798
|
|
|
3718
3799
|
/** The installed SDK version. Single source of truth for the barrel + CLI. */
|
|
3719
|
-
declare const VERSION = "0.
|
|
3800
|
+
declare const VERSION = "0.11.0";
|
|
3720
3801
|
|
|
3721
|
-
export { type ActivationInput, ActivationService, type ActivationServiceOptions, type ActivationStore, type AdminField, type AdminListQuery, type AdminListResult, type AdminResource, type AdminRouterOptions, AdminSite, AppException, type AppExceptionHandlerOptions, type AppExceptionOptions, type AttachWebSocketOptions, AttemptThrottle, type AttemptThrottleOptions, type AuthResponse, type AuthRouterOptions, type AuthUser, type BaseAppSettings, BaseController, BaseModel, type BaseResponse, BaseService, type BrokerManager, CEP_PATTERN, CNPJ_PATTERN, CPF_PATTERN, type CPUMetrics, type CacheManager, type CachedOptions, type CatalogData, CircuitOpenError, type ClientIpOptions, CompositeFeatureFlagBackend, ConflictException, type CreateAppOpenApi, type CreateAppOptions, type CursorPaginationFilter, DEFAULT_LOCALE, type EmailMessage, type EmailOptions, EmailProvider, type EmailProviderOptions, EmailUtils, type Enum, type EnumHelpers, type EnumSpec, EnvFeatureFlagBackend, EventStream, type EventStreamOptions, type ExceptionDetails, ExpiredTokenException, type FeatureFlagBackend, FeatureFlags, type FlagContext, ForbiddenException, type GPUMetrics, type GenerateOpenApiOptions, HTTPClient, type HTTPClientOptions, HTTP_500_MARKER, type HandshakeInfo, type HealthCheck, type HealthRouterOptions, type InboundHandler, type InboundMessage, InvalidTokenException, type IssuedSession, JSONLogger, JWTUtils, type JWTUtilsOptions, type JwtAuthOptions, type JwtClaims, LocalUploadStorage, type LocalUploadStorageOptions, type LogExtra, type LogLevel, type LoginInput, type LoginResult, type MediaKind, MemoryBroker, MemoryCacheManager, MemoryFeatureFlagBackend, type MemoryMetrics, MemorySessionStore, MemoryThrottleBackend, MessageCatalog, type MessageHandler, type MessagingProvider, type MetricsRouterOptions, MetricsUtils, type MfaChallenge, type MfaChallengeInput, type MfaCodeInput, type MfaEnrollment, MfaService, type MfaServiceOptions, type MfaStore, NotFoundException, type OpenApiDocument, type OpenApiInfo, type OutboundMedia, type OutboundResult, PHONE_BR_PATTERN, type PaginationFilter, type PasswordResetConfirmInput, type PasswordResetRequestInput, PasswordResetService, type PasswordResetServiceOptions, type PasswordResetStore, PasswordUtils, REQUEST_ID_HEADER, RabbitBroker, type RabbitBrokerOptions, RedisCacheManager, type RedisLike, type RedisPublisherLike, RedisSSEBroker, type RedisSSEBrokerOptions, RedisSessionStore, type RedisSubscriberLike, type RedocOptions, type RefreshInput, Region, type RegionValue, type RegisterExceptionHandlersOptions, type RequestContext, type ResponseMapper, RetryPolicy, type RunServerOptions, SSEBroker, type SaveOptions, type SendOptions, ServerSentEvent, type ServerSentEventInit, type Session, type SessionMiddlewareOptions, type SessionRedisLike, SessionService, type SessionServiceOptions, type SessionStore, type SignupInput, type StateBR, type SwaggerOptions, type SystemMetrics, TOTPHelper, type TOTPOptions, type TaskHandler, TaskManager, type TaskManagerOptions, TelegramProvider, type TelegramProviderOptions, type ThrottleBackend, type ThrottleStatus, type ToDictOptions, type TokenPair, TooManyRequestsException, type TooManyRequestsOptions, TwilioSmsProvider, type TwilioSmsProviderOptions, type TwilioWebhookOptions, UF, type UFValue, UnauthorizedException, type UnhandledExceptionHandlerOptions, type UploadResult, type UploadStorage, UserAuthService, type UserAuthServiceOptions, type UserPublic, type UserStore, VERSION, ValidationException, type WSEnvelope, WebPushDispatcher, type WebPushDispatcherOptions, WebPushError, WebPushGoneError, type WebPushKeys, type WebPushPayload, type WebPushSubscription, type WebSocketConnection, WebSocketHub, type WebSocketHubOptions, type WebSocketLike, WhatsAppProvider, type WhatsAppProviderOptions, type WhatsAppWebhookOptions, activationSchema, attachWebSocketHub, authResponseSchema, baseAppSettingsSchema, baseAppSettingsShape, baseResponseSchema, bearerToken, buildContentDisposition, cached, cepField, citiesByUf, cnpjField, coerceFlag, configureLogging, corsSettingsShape, cpfField, cpfOrCnpjField, createApp, createOpenApiRegistry, createdByColumn, cursorPaginationFilterSchema, cursorPaginationSchema, databaseSettingsShape, decodeCursor, defaultMessageCatalog, defineEnum, deletedAtColumn, encodeCursor, generateOpaqueToken, generateOpenApiDocument, getAuth, getClientIp, getConditions, getPaginationConditions, getRequestId, getState, hashOpaqueToken, inboundMessageSchema, isValidCep, isValidCity, isValidCnpj, isValidCpf, isValidCpfCnpj, isValidPhoneBr, isValidUf, listStates, loadSettings, loginSchema, makeAdminRouter, makeAppExceptionHandler, makeAuthRouter, makeFlagGuard, makeHealthRouter, makeJwtAuthMiddleware, makeMetricsRouter, makeSessionMiddleware, makeTwilioWebhookRouter, makeUnhandledExceptionHandler, makeWhatsAppWebhookRouter, mfaChallengeSchema, mfaCodeSchema, mfaEnrollResponseSchema, modifyDict, mountOpenApiJson, mountRedoc, mountSwaggerUi, normalizeCep, normalizeCnpj, normalizeCpf, normalizeCpfCnpj, normalizePhoneBr, normalizeUf, notFoundHandler, onlyDigits, paginationFilterSchema, paginationSchema, parseAcceptLanguage, parseCookies, passwordResetConfirmSchema, passwordResetRequestSchema, phoneBrField, refreshSchema, registerExceptionHandlers, requestIdMiddleware, requireRoles, runServer, runWithRequestContext, serverSettingsShape, sessionCookie, setRequestId, signupSchema, sseResponse, statesByRegion, tableNameFor, toDict, toUtc, tokenFromUrl, tokenPairSchema, ufField, updatedByColumn, userPublicSchema, utcnow, validateTwilioSignature, verifyOpaqueToken, webPushKeysSchema, webPushPayloadSchema, webPushSubscriptionSchema, wsEnvelopeSchema };
|
|
3802
|
+
export { type ActivationInput, ActivationService, type ActivationServiceOptions, type ActivationStore, type AdminField, type AdminListQuery, type AdminListResult, type AdminResource, type AdminRouterOptions, AdminSite, AppException, type AppExceptionHandlerOptions, type AppExceptionOptions, type AttachWebSocketOptions, AttemptThrottle, type AttemptThrottleOptions, type AuthResponse, type AuthRouterOptions, type AuthUser, type BaseAppSettings, BaseController, BaseModel, type BaseResponse, BaseService, type BroadcastOptions, type BroadcastResult, type BrokerManager, CEP_PATTERN, CNPJ_PATTERN, CPF_PATTERN, type CPUMetrics, type CacheManager, type CachedOptions, type CatalogData, CircuitOpenError, type ClientIpOptions, CompositeFeatureFlagBackend, ConflictException, type CreateAppOpenApi, type CreateAppOptions, type CursorPaginationFilter, DEFAULT_LOCALE, type EmailMessage, type EmailOptions, EmailProvider, type EmailProviderOptions, EmailUtils, type Enum, type EnumHelpers, type EnumSpec, EnvFeatureFlagBackend, EventStream, type EventStreamOptions, type ExceptionDetails, ExpiredTokenException, type FeatureFlagBackend, FeatureFlags, type FlagContext, ForbiddenException, type GPUMetrics, type GenerateOpenApiOptions, HTTPClient, type HTTPClientOptions, HTTP_500_MARKER, type HandshakeInfo, type HealthCheck, type HealthRouterOptions, type InboundHandler, type InboundMessage, InvalidTokenException, type IssuedSession, JSONLogger, JWTUtils, type JWTUtilsOptions, type JwtAuthOptions, type JwtClaims, LocalUploadStorage, type LocalUploadStorageOptions, type LogExtra, type LogLevel, type LoginInput, type LoginResult, type MediaKind, MemoryBroker, MemoryCacheManager, MemoryFeatureFlagBackend, type MemoryMetrics, MemorySessionStore, MemoryThrottleBackend, MessageCatalog, type MessageHandler, MessagingHub, type MessagingProvider, type MetricsRouterOptions, MetricsUtils, type MfaChallenge, type MfaChallengeInput, type MfaCodeInput, type MfaEnrollment, MfaService, type MfaServiceOptions, type MfaStore, NotFoundException, type OpenApiDocument, type OpenApiInfo, type OutboundMedia, type OutboundResult, PHONE_BR_PATTERN, type PaginationFilter, type PasswordResetConfirmInput, type PasswordResetRequestInput, PasswordResetService, type PasswordResetServiceOptions, type PasswordResetStore, PasswordUtils, REQUEST_ID_HEADER, RabbitBroker, type RabbitBrokerOptions, RedisCacheManager, type RedisLike, type RedisPublisherLike, RedisSSEBroker, type RedisSSEBrokerOptions, RedisSessionStore, type RedisSubscriberLike, type RedocOptions, type RefreshInput, Region, type RegionValue, type RegisterExceptionHandlersOptions, type RequestContext, type ResponseMapper, RetryPolicy, type RunServerOptions, SSEBroker, type SaveOptions, type SendOptions, ServerSentEvent, type ServerSentEventInit, type Session, type SessionMiddlewareOptions, type SessionRedisLike, SessionService, type SessionServiceOptions, type SessionStore, type SignupInput, type StateBR, type SwaggerOptions, type SystemMetrics, TOTPHelper, type TOTPOptions, type TaskHandler, TaskManager, type TaskManagerOptions, TelegramProvider, type TelegramProviderOptions, type ThrottleBackend, type ThrottleStatus, type ToDictOptions, type TokenPair, TooManyRequestsException, type TooManyRequestsOptions, TwilioSmsProvider, type TwilioSmsProviderOptions, type TwilioWebhookOptions, UF, type UFValue, UnauthorizedException, type UnhandledExceptionHandlerOptions, type UploadResult, type UploadStorage, UserAuthService, type UserAuthServiceOptions, type UserPublic, type UserStore, VERSION, ValidationException, type WSEnvelope, WebPushDispatcher, type WebPushDispatcherOptions, WebPushError, WebPushGoneError, type WebPushKeys, type WebPushPayload, type WebPushSubscription, type WebSocketConnection, WebSocketHub, type WebSocketHubOptions, type WebSocketLike, WhatsAppProvider, type WhatsAppProviderOptions, type WhatsAppWebhookOptions, activationSchema, attachWebSocketHub, authResponseSchema, baseAppSettingsSchema, baseAppSettingsShape, baseResponseSchema, bearerToken, broadcastText, buildContentDisposition, cached, cepField, citiesByUf, cnpjField, coerceFlag, configureLogging, corsSettingsShape, cpfField, cpfOrCnpjField, createApp, createOpenApiRegistry, createdByColumn, cursorPaginationFilterSchema, cursorPaginationSchema, databaseSettingsShape, decodeCursor, defaultMessageCatalog, defineEnum, deletedAtColumn, encodeCursor, generateOpaqueToken, generateOpenApiDocument, getAuth, getClientIp, getConditions, getPaginationConditions, getRequestId, getState, hashOpaqueToken, inboundMessageSchema, isValidCep, isValidCity, isValidCnpj, isValidCpf, isValidCpfCnpj, isValidPhoneBr, isValidUf, listStates, loadSettings, loginSchema, makeAdminRouter, makeAppExceptionHandler, makeAuthRouter, makeFlagGuard, makeHealthRouter, makeJwtAuthMiddleware, makeMetricsRouter, makeSessionMiddleware, makeTwilioWebhookRouter, makeUnhandledExceptionHandler, makeWhatsAppWebhookRouter, mfaChallengeSchema, mfaCodeSchema, mfaEnrollResponseSchema, modifyDict, mountOpenApiJson, mountRedoc, mountSwaggerUi, normalizeCep, normalizeCnpj, normalizeCpf, normalizeCpfCnpj, normalizePhoneBr, normalizeUf, notFoundHandler, onlyDigits, paginationFilterSchema, paginationSchema, parseAcceptLanguage, parseCookies, passwordResetConfirmSchema, passwordResetRequestSchema, phoneBrField, refreshSchema, registerExceptionHandlers, requestIdMiddleware, requireRoles, runServer, runWithRequestContext, serverSettingsShape, sessionCookie, setRequestId, signupSchema, sseResponse, statesByRegion, tableNameFor, toDict, toUtc, tokenFromUrl, tokenPairSchema, ufField, updatedByColumn, userPublicSchema, utcnow, validateTwilioSignature, verifyOpaqueToken, webPushKeysSchema, webPushPayloadSchema, webPushSubscriptionSchema, wsEnvelopeSchema };
|
package/dist/index.d.ts
CHANGED
|
@@ -2686,6 +2686,87 @@ declare class EmailProvider implements MessagingProvider {
|
|
|
2686
2686
|
status(): Promise<string>;
|
|
2687
2687
|
}
|
|
2688
2688
|
|
|
2689
|
+
/**
|
|
2690
|
+
* Broadcast + multi-channel helpers over {@link MessagingProvider}.
|
|
2691
|
+
*
|
|
2692
|
+
* {@link broadcastText} fans one message out to many recipients through a single
|
|
2693
|
+
* provider, with bounded concurrency and a per-recipient result (one failure
|
|
2694
|
+
* never aborts the rest). {@link MessagingHub} keeps named providers so app code
|
|
2695
|
+
* sends by channel name and can broadcast across all of them.
|
|
2696
|
+
*/
|
|
2697
|
+
|
|
2698
|
+
/** The outcome of a single recipient's send within a broadcast. */
|
|
2699
|
+
interface BroadcastResult {
|
|
2700
|
+
/** The recipient address/handle. */
|
|
2701
|
+
to: string;
|
|
2702
|
+
/** Whether the send succeeded. */
|
|
2703
|
+
ok: boolean;
|
|
2704
|
+
/** The provider result, when successful. */
|
|
2705
|
+
result?: OutboundResult;
|
|
2706
|
+
/** The error message, when failed. */
|
|
2707
|
+
error?: string;
|
|
2708
|
+
}
|
|
2709
|
+
/** Options for {@link broadcastText}. */
|
|
2710
|
+
interface BroadcastOptions extends SendOptions {
|
|
2711
|
+
/** Maximum concurrent sends. Default 10. */
|
|
2712
|
+
concurrency?: number;
|
|
2713
|
+
}
|
|
2714
|
+
/**
|
|
2715
|
+
* Send `text` to every recipient through `provider`, bounded by concurrency.
|
|
2716
|
+
*
|
|
2717
|
+
* A failed recipient is captured in its {@link BroadcastResult} (`ok: false`)
|
|
2718
|
+
* rather than aborting the batch.
|
|
2719
|
+
*
|
|
2720
|
+
* @param provider - The channel to send through.
|
|
2721
|
+
* @param recipients - Recipient addresses/handles.
|
|
2722
|
+
* @param text - The message body.
|
|
2723
|
+
* @param options - Concurrency + send options.
|
|
2724
|
+
* @returns One result per recipient, in input order.
|
|
2725
|
+
*/
|
|
2726
|
+
declare function broadcastText(provider: MessagingProvider, recipients: string[], text: string, options?: BroadcastOptions): Promise<BroadcastResult[]>;
|
|
2727
|
+
/** A registry of named messaging channels. */
|
|
2728
|
+
declare class MessagingHub {
|
|
2729
|
+
private readonly channels;
|
|
2730
|
+
/**
|
|
2731
|
+
* Register a provider under a channel name.
|
|
2732
|
+
*
|
|
2733
|
+
* @param name - The channel name (e.g. `"whatsapp"`, `"sms"`).
|
|
2734
|
+
* @param provider - The provider implementation.
|
|
2735
|
+
* @returns The hub (chainable).
|
|
2736
|
+
*/
|
|
2737
|
+
register(name: string, provider: MessagingProvider): this;
|
|
2738
|
+
/**
|
|
2739
|
+
* Get a registered provider, throwing when the channel is unknown.
|
|
2740
|
+
*
|
|
2741
|
+
* @param name - The channel name.
|
|
2742
|
+
* @returns The provider.
|
|
2743
|
+
* @throws {Error} When no provider is registered under `name`.
|
|
2744
|
+
*/
|
|
2745
|
+
get(name: string): MessagingProvider;
|
|
2746
|
+
/** The registered channel names. */
|
|
2747
|
+
channelNames(): string[];
|
|
2748
|
+
/**
|
|
2749
|
+
* Send text through a named channel.
|
|
2750
|
+
*
|
|
2751
|
+
* @param channel - The channel name.
|
|
2752
|
+
* @param to - The recipient.
|
|
2753
|
+
* @param text - The message body.
|
|
2754
|
+
* @param options - Send options.
|
|
2755
|
+
* @returns The provider result.
|
|
2756
|
+
*/
|
|
2757
|
+
send(channel: string, to: string, text: string, options?: SendOptions): Promise<OutboundResult>;
|
|
2758
|
+
/**
|
|
2759
|
+
* Broadcast text to many recipients on a named channel.
|
|
2760
|
+
*
|
|
2761
|
+
* @param channel - The channel name.
|
|
2762
|
+
* @param recipients - Recipient addresses/handles.
|
|
2763
|
+
* @param text - The message body.
|
|
2764
|
+
* @param options - Broadcast + send options.
|
|
2765
|
+
* @returns One result per recipient.
|
|
2766
|
+
*/
|
|
2767
|
+
broadcast(channel: string, recipients: string[], text: string, options?: BroadcastOptions): Promise<BroadcastResult[]>;
|
|
2768
|
+
}
|
|
2769
|
+
|
|
2689
2770
|
/**
|
|
2690
2771
|
* Admin site + resource registry, mirroring `admin.site` / `admin.config`.
|
|
2691
2772
|
*
|
|
@@ -3716,6 +3797,6 @@ interface RunServerOptions {
|
|
|
3716
3797
|
declare function runServer(app: Express, options?: RunServerOptions): Promise<Server>;
|
|
3717
3798
|
|
|
3718
3799
|
/** The installed SDK version. Single source of truth for the barrel + CLI. */
|
|
3719
|
-
declare const VERSION = "0.
|
|
3800
|
+
declare const VERSION = "0.11.0";
|
|
3720
3801
|
|
|
3721
|
-
export { type ActivationInput, ActivationService, type ActivationServiceOptions, type ActivationStore, type AdminField, type AdminListQuery, type AdminListResult, type AdminResource, type AdminRouterOptions, AdminSite, AppException, type AppExceptionHandlerOptions, type AppExceptionOptions, type AttachWebSocketOptions, AttemptThrottle, type AttemptThrottleOptions, type AuthResponse, type AuthRouterOptions, type AuthUser, type BaseAppSettings, BaseController, BaseModel, type BaseResponse, BaseService, type BrokerManager, CEP_PATTERN, CNPJ_PATTERN, CPF_PATTERN, type CPUMetrics, type CacheManager, type CachedOptions, type CatalogData, CircuitOpenError, type ClientIpOptions, CompositeFeatureFlagBackend, ConflictException, type CreateAppOpenApi, type CreateAppOptions, type CursorPaginationFilter, DEFAULT_LOCALE, type EmailMessage, type EmailOptions, EmailProvider, type EmailProviderOptions, EmailUtils, type Enum, type EnumHelpers, type EnumSpec, EnvFeatureFlagBackend, EventStream, type EventStreamOptions, type ExceptionDetails, ExpiredTokenException, type FeatureFlagBackend, FeatureFlags, type FlagContext, ForbiddenException, type GPUMetrics, type GenerateOpenApiOptions, HTTPClient, type HTTPClientOptions, HTTP_500_MARKER, type HandshakeInfo, type HealthCheck, type HealthRouterOptions, type InboundHandler, type InboundMessage, InvalidTokenException, type IssuedSession, JSONLogger, JWTUtils, type JWTUtilsOptions, type JwtAuthOptions, type JwtClaims, LocalUploadStorage, type LocalUploadStorageOptions, type LogExtra, type LogLevel, type LoginInput, type LoginResult, type MediaKind, MemoryBroker, MemoryCacheManager, MemoryFeatureFlagBackend, type MemoryMetrics, MemorySessionStore, MemoryThrottleBackend, MessageCatalog, type MessageHandler, type MessagingProvider, type MetricsRouterOptions, MetricsUtils, type MfaChallenge, type MfaChallengeInput, type MfaCodeInput, type MfaEnrollment, MfaService, type MfaServiceOptions, type MfaStore, NotFoundException, type OpenApiDocument, type OpenApiInfo, type OutboundMedia, type OutboundResult, PHONE_BR_PATTERN, type PaginationFilter, type PasswordResetConfirmInput, type PasswordResetRequestInput, PasswordResetService, type PasswordResetServiceOptions, type PasswordResetStore, PasswordUtils, REQUEST_ID_HEADER, RabbitBroker, type RabbitBrokerOptions, RedisCacheManager, type RedisLike, type RedisPublisherLike, RedisSSEBroker, type RedisSSEBrokerOptions, RedisSessionStore, type RedisSubscriberLike, type RedocOptions, type RefreshInput, Region, type RegionValue, type RegisterExceptionHandlersOptions, type RequestContext, type ResponseMapper, RetryPolicy, type RunServerOptions, SSEBroker, type SaveOptions, type SendOptions, ServerSentEvent, type ServerSentEventInit, type Session, type SessionMiddlewareOptions, type SessionRedisLike, SessionService, type SessionServiceOptions, type SessionStore, type SignupInput, type StateBR, type SwaggerOptions, type SystemMetrics, TOTPHelper, type TOTPOptions, type TaskHandler, TaskManager, type TaskManagerOptions, TelegramProvider, type TelegramProviderOptions, type ThrottleBackend, type ThrottleStatus, type ToDictOptions, type TokenPair, TooManyRequestsException, type TooManyRequestsOptions, TwilioSmsProvider, type TwilioSmsProviderOptions, type TwilioWebhookOptions, UF, type UFValue, UnauthorizedException, type UnhandledExceptionHandlerOptions, type UploadResult, type UploadStorage, UserAuthService, type UserAuthServiceOptions, type UserPublic, type UserStore, VERSION, ValidationException, type WSEnvelope, WebPushDispatcher, type WebPushDispatcherOptions, WebPushError, WebPushGoneError, type WebPushKeys, type WebPushPayload, type WebPushSubscription, type WebSocketConnection, WebSocketHub, type WebSocketHubOptions, type WebSocketLike, WhatsAppProvider, type WhatsAppProviderOptions, type WhatsAppWebhookOptions, activationSchema, attachWebSocketHub, authResponseSchema, baseAppSettingsSchema, baseAppSettingsShape, baseResponseSchema, bearerToken, buildContentDisposition, cached, cepField, citiesByUf, cnpjField, coerceFlag, configureLogging, corsSettingsShape, cpfField, cpfOrCnpjField, createApp, createOpenApiRegistry, createdByColumn, cursorPaginationFilterSchema, cursorPaginationSchema, databaseSettingsShape, decodeCursor, defaultMessageCatalog, defineEnum, deletedAtColumn, encodeCursor, generateOpaqueToken, generateOpenApiDocument, getAuth, getClientIp, getConditions, getPaginationConditions, getRequestId, getState, hashOpaqueToken, inboundMessageSchema, isValidCep, isValidCity, isValidCnpj, isValidCpf, isValidCpfCnpj, isValidPhoneBr, isValidUf, listStates, loadSettings, loginSchema, makeAdminRouter, makeAppExceptionHandler, makeAuthRouter, makeFlagGuard, makeHealthRouter, makeJwtAuthMiddleware, makeMetricsRouter, makeSessionMiddleware, makeTwilioWebhookRouter, makeUnhandledExceptionHandler, makeWhatsAppWebhookRouter, mfaChallengeSchema, mfaCodeSchema, mfaEnrollResponseSchema, modifyDict, mountOpenApiJson, mountRedoc, mountSwaggerUi, normalizeCep, normalizeCnpj, normalizeCpf, normalizeCpfCnpj, normalizePhoneBr, normalizeUf, notFoundHandler, onlyDigits, paginationFilterSchema, paginationSchema, parseAcceptLanguage, parseCookies, passwordResetConfirmSchema, passwordResetRequestSchema, phoneBrField, refreshSchema, registerExceptionHandlers, requestIdMiddleware, requireRoles, runServer, runWithRequestContext, serverSettingsShape, sessionCookie, setRequestId, signupSchema, sseResponse, statesByRegion, tableNameFor, toDict, toUtc, tokenFromUrl, tokenPairSchema, ufField, updatedByColumn, userPublicSchema, utcnow, validateTwilioSignature, verifyOpaqueToken, webPushKeysSchema, webPushPayloadSchema, webPushSubscriptionSchema, wsEnvelopeSchema };
|
|
3802
|
+
export { type ActivationInput, ActivationService, type ActivationServiceOptions, type ActivationStore, type AdminField, type AdminListQuery, type AdminListResult, type AdminResource, type AdminRouterOptions, AdminSite, AppException, type AppExceptionHandlerOptions, type AppExceptionOptions, type AttachWebSocketOptions, AttemptThrottle, type AttemptThrottleOptions, type AuthResponse, type AuthRouterOptions, type AuthUser, type BaseAppSettings, BaseController, BaseModel, type BaseResponse, BaseService, type BroadcastOptions, type BroadcastResult, type BrokerManager, CEP_PATTERN, CNPJ_PATTERN, CPF_PATTERN, type CPUMetrics, type CacheManager, type CachedOptions, type CatalogData, CircuitOpenError, type ClientIpOptions, CompositeFeatureFlagBackend, ConflictException, type CreateAppOpenApi, type CreateAppOptions, type CursorPaginationFilter, DEFAULT_LOCALE, type EmailMessage, type EmailOptions, EmailProvider, type EmailProviderOptions, EmailUtils, type Enum, type EnumHelpers, type EnumSpec, EnvFeatureFlagBackend, EventStream, type EventStreamOptions, type ExceptionDetails, ExpiredTokenException, type FeatureFlagBackend, FeatureFlags, type FlagContext, ForbiddenException, type GPUMetrics, type GenerateOpenApiOptions, HTTPClient, type HTTPClientOptions, HTTP_500_MARKER, type HandshakeInfo, type HealthCheck, type HealthRouterOptions, type InboundHandler, type InboundMessage, InvalidTokenException, type IssuedSession, JSONLogger, JWTUtils, type JWTUtilsOptions, type JwtAuthOptions, type JwtClaims, LocalUploadStorage, type LocalUploadStorageOptions, type LogExtra, type LogLevel, type LoginInput, type LoginResult, type MediaKind, MemoryBroker, MemoryCacheManager, MemoryFeatureFlagBackend, type MemoryMetrics, MemorySessionStore, MemoryThrottleBackend, MessageCatalog, type MessageHandler, MessagingHub, type MessagingProvider, type MetricsRouterOptions, MetricsUtils, type MfaChallenge, type MfaChallengeInput, type MfaCodeInput, type MfaEnrollment, MfaService, type MfaServiceOptions, type MfaStore, NotFoundException, type OpenApiDocument, type OpenApiInfo, type OutboundMedia, type OutboundResult, PHONE_BR_PATTERN, type PaginationFilter, type PasswordResetConfirmInput, type PasswordResetRequestInput, PasswordResetService, type PasswordResetServiceOptions, type PasswordResetStore, PasswordUtils, REQUEST_ID_HEADER, RabbitBroker, type RabbitBrokerOptions, RedisCacheManager, type RedisLike, type RedisPublisherLike, RedisSSEBroker, type RedisSSEBrokerOptions, RedisSessionStore, type RedisSubscriberLike, type RedocOptions, type RefreshInput, Region, type RegionValue, type RegisterExceptionHandlersOptions, type RequestContext, type ResponseMapper, RetryPolicy, type RunServerOptions, SSEBroker, type SaveOptions, type SendOptions, ServerSentEvent, type ServerSentEventInit, type Session, type SessionMiddlewareOptions, type SessionRedisLike, SessionService, type SessionServiceOptions, type SessionStore, type SignupInput, type StateBR, type SwaggerOptions, type SystemMetrics, TOTPHelper, type TOTPOptions, type TaskHandler, TaskManager, type TaskManagerOptions, TelegramProvider, type TelegramProviderOptions, type ThrottleBackend, type ThrottleStatus, type ToDictOptions, type TokenPair, TooManyRequestsException, type TooManyRequestsOptions, TwilioSmsProvider, type TwilioSmsProviderOptions, type TwilioWebhookOptions, UF, type UFValue, UnauthorizedException, type UnhandledExceptionHandlerOptions, type UploadResult, type UploadStorage, UserAuthService, type UserAuthServiceOptions, type UserPublic, type UserStore, VERSION, ValidationException, type WSEnvelope, WebPushDispatcher, type WebPushDispatcherOptions, WebPushError, WebPushGoneError, type WebPushKeys, type WebPushPayload, type WebPushSubscription, type WebSocketConnection, WebSocketHub, type WebSocketHubOptions, type WebSocketLike, WhatsAppProvider, type WhatsAppProviderOptions, type WhatsAppWebhookOptions, activationSchema, attachWebSocketHub, authResponseSchema, baseAppSettingsSchema, baseAppSettingsShape, baseResponseSchema, bearerToken, broadcastText, buildContentDisposition, cached, cepField, citiesByUf, cnpjField, coerceFlag, configureLogging, corsSettingsShape, cpfField, cpfOrCnpjField, createApp, createOpenApiRegistry, createdByColumn, cursorPaginationFilterSchema, cursorPaginationSchema, databaseSettingsShape, decodeCursor, defaultMessageCatalog, defineEnum, deletedAtColumn, encodeCursor, generateOpaqueToken, generateOpenApiDocument, getAuth, getClientIp, getConditions, getPaginationConditions, getRequestId, getState, hashOpaqueToken, inboundMessageSchema, isValidCep, isValidCity, isValidCnpj, isValidCpf, isValidCpfCnpj, isValidPhoneBr, isValidUf, listStates, loadSettings, loginSchema, makeAdminRouter, makeAppExceptionHandler, makeAuthRouter, makeFlagGuard, makeHealthRouter, makeJwtAuthMiddleware, makeMetricsRouter, makeSessionMiddleware, makeTwilioWebhookRouter, makeUnhandledExceptionHandler, makeWhatsAppWebhookRouter, mfaChallengeSchema, mfaCodeSchema, mfaEnrollResponseSchema, modifyDict, mountOpenApiJson, mountRedoc, mountSwaggerUi, normalizeCep, normalizeCnpj, normalizeCpf, normalizeCpfCnpj, normalizePhoneBr, normalizeUf, notFoundHandler, onlyDigits, paginationFilterSchema, paginationSchema, parseAcceptLanguage, parseCookies, passwordResetConfirmSchema, passwordResetRequestSchema, phoneBrField, refreshSchema, registerExceptionHandlers, requestIdMiddleware, requireRoles, runServer, runWithRequestContext, serverSettingsShape, sessionCookie, setRequestId, signupSchema, sseResponse, statesByRegion, tableNameFor, toDict, toUtc, tokenFromUrl, tokenPairSchema, ufField, updatedByColumn, userPublicSchema, utcnow, validateTwilioSignature, verifyOpaqueToken, webPushKeysSchema, webPushPayloadSchema, webPushSubscriptionSchema, wsEnvelopeSchema };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { VERSION } from './chunk-
|
|
1
|
+
export { VERSION } from './chunk-IHO6X75J.js';
|
|
2
2
|
import { AsyncLocalStorage } from 'async_hooks';
|
|
3
3
|
import { extendZodWithOpenApi, OpenAPIRegistry, OpenApiGeneratorV31, OpenApiGeneratorV3 } from '@asteasolutions/zod-to-openapi';
|
|
4
4
|
export { OpenAPIRegistry } from '@asteasolutions/zod-to-openapi';
|
|
@@ -8625,6 +8625,89 @@ var EmailProvider = class {
|
|
|
8625
8625
|
}
|
|
8626
8626
|
};
|
|
8627
8627
|
|
|
8628
|
+
// src/integrations/broadcast.ts
|
|
8629
|
+
async function pool(items, limit, worker) {
|
|
8630
|
+
const results = new Array(items.length);
|
|
8631
|
+
let cursor = 0;
|
|
8632
|
+
const runners = Array.from({ length: Math.min(limit, items.length) }, async () => {
|
|
8633
|
+
while (cursor < items.length) {
|
|
8634
|
+
const index = cursor++;
|
|
8635
|
+
results[index] = await worker(items[index], index);
|
|
8636
|
+
}
|
|
8637
|
+
});
|
|
8638
|
+
await Promise.all(runners);
|
|
8639
|
+
return results;
|
|
8640
|
+
}
|
|
8641
|
+
function broadcastText(provider, recipients, text, options = {}) {
|
|
8642
|
+
const { concurrency = 10, ...sendOptions } = options;
|
|
8643
|
+
return pool(recipients, concurrency, async (to) => {
|
|
8644
|
+
try {
|
|
8645
|
+
const result = await provider.sendText(to, text, sendOptions);
|
|
8646
|
+
return { to, ok: true, result };
|
|
8647
|
+
} catch (error) {
|
|
8648
|
+
return {
|
|
8649
|
+
to,
|
|
8650
|
+
ok: false,
|
|
8651
|
+
error: error instanceof Error ? error.message : String(error)
|
|
8652
|
+
};
|
|
8653
|
+
}
|
|
8654
|
+
});
|
|
8655
|
+
}
|
|
8656
|
+
var MessagingHub = class {
|
|
8657
|
+
channels = /* @__PURE__ */ new Map();
|
|
8658
|
+
/**
|
|
8659
|
+
* Register a provider under a channel name.
|
|
8660
|
+
*
|
|
8661
|
+
* @param name - The channel name (e.g. `"whatsapp"`, `"sms"`).
|
|
8662
|
+
* @param provider - The provider implementation.
|
|
8663
|
+
* @returns The hub (chainable).
|
|
8664
|
+
*/
|
|
8665
|
+
register(name, provider) {
|
|
8666
|
+
this.channels.set(name, provider);
|
|
8667
|
+
return this;
|
|
8668
|
+
}
|
|
8669
|
+
/**
|
|
8670
|
+
* Get a registered provider, throwing when the channel is unknown.
|
|
8671
|
+
*
|
|
8672
|
+
* @param name - The channel name.
|
|
8673
|
+
* @returns The provider.
|
|
8674
|
+
* @throws {Error} When no provider is registered under `name`.
|
|
8675
|
+
*/
|
|
8676
|
+
get(name) {
|
|
8677
|
+
const provider = this.channels.get(name);
|
|
8678
|
+
if (!provider) throw new Error(`Unknown messaging channel: ${name}`);
|
|
8679
|
+
return provider;
|
|
8680
|
+
}
|
|
8681
|
+
/** The registered channel names. */
|
|
8682
|
+
channelNames() {
|
|
8683
|
+
return [...this.channels.keys()];
|
|
8684
|
+
}
|
|
8685
|
+
/**
|
|
8686
|
+
* Send text through a named channel.
|
|
8687
|
+
*
|
|
8688
|
+
* @param channel - The channel name.
|
|
8689
|
+
* @param to - The recipient.
|
|
8690
|
+
* @param text - The message body.
|
|
8691
|
+
* @param options - Send options.
|
|
8692
|
+
* @returns The provider result.
|
|
8693
|
+
*/
|
|
8694
|
+
send(channel, to, text, options) {
|
|
8695
|
+
return this.get(channel).sendText(to, text, options);
|
|
8696
|
+
}
|
|
8697
|
+
/**
|
|
8698
|
+
* Broadcast text to many recipients on a named channel.
|
|
8699
|
+
*
|
|
8700
|
+
* @param channel - The channel name.
|
|
8701
|
+
* @param recipients - Recipient addresses/handles.
|
|
8702
|
+
* @param text - The message body.
|
|
8703
|
+
* @param options - Broadcast + send options.
|
|
8704
|
+
* @returns One result per recipient.
|
|
8705
|
+
*/
|
|
8706
|
+
broadcast(channel, recipients, text, options) {
|
|
8707
|
+
return broadcastText(this.get(channel), recipients, text, options);
|
|
8708
|
+
}
|
|
8709
|
+
};
|
|
8710
|
+
|
|
8628
8711
|
// src/admin/site.ts
|
|
8629
8712
|
var AdminSite = class {
|
|
8630
8713
|
/**
|
|
@@ -9532,6 +9615,6 @@ function runServer(app, options = {}) {
|
|
|
9532
9615
|
});
|
|
9533
9616
|
}
|
|
9534
9617
|
|
|
9535
|
-
export { ActivationService, AdminSite, AppException, AttemptThrottle, BaseController, BaseModel, BaseService, CEP_PATTERN, CNPJ_PATTERN, CPF_PATTERN, CircuitOpenError, CompositeFeatureFlagBackend, ConflictException, DEFAULT_LOCALE, EmailProvider, EmailUtils, EnvFeatureFlagBackend, EventStream, ExpiredTokenException, FeatureFlags, ForbiddenException, HTTPClient, HTTP_500_MARKER, InvalidTokenException, JSONLogger, JWTUtils, LocalUploadStorage, MemoryBroker, MemoryCacheManager, MemoryFeatureFlagBackend, MemorySessionStore, MemoryThrottleBackend, MessageCatalog, MetricsUtils, MfaService, NotFoundException, PHONE_BR_PATTERN, PasswordResetService, PasswordUtils, REQUEST_ID_HEADER, RabbitBroker, RedisCacheManager, RedisSSEBroker, RedisSessionStore, Region, RetryPolicy, SSEBroker, ServerSentEvent, SessionService, TOTPHelper, TaskManager, TelegramProvider, TooManyRequestsException, TwilioSmsProvider, UF, UnauthorizedException, UserAuthService, ValidationException, WebPushDispatcher, WebPushError, WebPushGoneError, WebSocketHub, WhatsAppProvider, activationSchema, attachWebSocketHub, authResponseSchema, baseAppSettingsSchema, baseAppSettingsShape, baseResponseSchema, bearerToken, buildContentDisposition, cached3 as cached, cepField, citiesByUf, cnpjField, coerceFlag, configureLogging, corsSettingsShape, cpfField, cpfOrCnpjField, createApp, createOpenApiRegistry, createdByColumn, cursorPaginationFilterSchema, cursorPaginationSchema, databaseSettingsShape, decodeCursor, defaultMessageCatalog, defineEnum, deletedAtColumn, encodeCursor, generateOpaqueToken, generateOpenApiDocument, getAuth, getClientIp, getConditions, getPaginationConditions, getRequestId, getState, hashOpaqueToken, inboundMessageSchema, isValidCep, isValidCity, isValidCnpj, isValidCpf, isValidCpfCnpj, isValidPhoneBr, isValidUf, listStates, loadSettings, loginSchema, makeAdminRouter, makeAppExceptionHandler, makeAuthRouter, makeFlagGuard, makeHealthRouter, makeJwtAuthMiddleware, makeMetricsRouter, makeSessionMiddleware, makeTwilioWebhookRouter, makeUnhandledExceptionHandler, makeWhatsAppWebhookRouter, mfaChallengeSchema, mfaCodeSchema, mfaEnrollResponseSchema, modifyDict, mountOpenApiJson, mountRedoc, mountSwaggerUi, normalizeCep, normalizeCnpj, normalizeCpf, normalizeCpfCnpj, normalizePhoneBr, normalizeUf, notFoundHandler, onlyDigits, paginationFilterSchema, paginationSchema, parseAcceptLanguage, parseCookies, passwordResetConfirmSchema, passwordResetRequestSchema, phoneBrField, refreshSchema, registerExceptionHandlers, requestIdMiddleware, requireRoles, runServer, runWithRequestContext, serverSettingsShape, sessionCookie, setRequestId, signupSchema, sseResponse, statesByRegion, tableNameFor, toDict, toUtc, tokenFromUrl, tokenPairSchema, ufField, updatedByColumn, userPublicSchema, utcnow, validateTwilioSignature, verifyOpaqueToken, webPushKeysSchema, webPushPayloadSchema, webPushSubscriptionSchema, wsEnvelopeSchema };
|
|
9618
|
+
export { ActivationService, AdminSite, AppException, AttemptThrottle, BaseController, BaseModel, BaseService, CEP_PATTERN, CNPJ_PATTERN, CPF_PATTERN, CircuitOpenError, CompositeFeatureFlagBackend, ConflictException, DEFAULT_LOCALE, EmailProvider, EmailUtils, EnvFeatureFlagBackend, EventStream, ExpiredTokenException, FeatureFlags, ForbiddenException, HTTPClient, HTTP_500_MARKER, InvalidTokenException, JSONLogger, JWTUtils, LocalUploadStorage, MemoryBroker, MemoryCacheManager, MemoryFeatureFlagBackend, MemorySessionStore, MemoryThrottleBackend, MessageCatalog, MessagingHub, MetricsUtils, MfaService, NotFoundException, PHONE_BR_PATTERN, PasswordResetService, PasswordUtils, REQUEST_ID_HEADER, RabbitBroker, RedisCacheManager, RedisSSEBroker, RedisSessionStore, Region, RetryPolicy, SSEBroker, ServerSentEvent, SessionService, TOTPHelper, TaskManager, TelegramProvider, TooManyRequestsException, TwilioSmsProvider, UF, UnauthorizedException, UserAuthService, ValidationException, WebPushDispatcher, WebPushError, WebPushGoneError, WebSocketHub, WhatsAppProvider, activationSchema, attachWebSocketHub, authResponseSchema, baseAppSettingsSchema, baseAppSettingsShape, baseResponseSchema, bearerToken, broadcastText, buildContentDisposition, cached3 as cached, cepField, citiesByUf, cnpjField, coerceFlag, configureLogging, corsSettingsShape, cpfField, cpfOrCnpjField, createApp, createOpenApiRegistry, createdByColumn, cursorPaginationFilterSchema, cursorPaginationSchema, databaseSettingsShape, decodeCursor, defaultMessageCatalog, defineEnum, deletedAtColumn, encodeCursor, generateOpaqueToken, generateOpenApiDocument, getAuth, getClientIp, getConditions, getPaginationConditions, getRequestId, getState, hashOpaqueToken, inboundMessageSchema, isValidCep, isValidCity, isValidCnpj, isValidCpf, isValidCpfCnpj, isValidPhoneBr, isValidUf, listStates, loadSettings, loginSchema, makeAdminRouter, makeAppExceptionHandler, makeAuthRouter, makeFlagGuard, makeHealthRouter, makeJwtAuthMiddleware, makeMetricsRouter, makeSessionMiddleware, makeTwilioWebhookRouter, makeUnhandledExceptionHandler, makeWhatsAppWebhookRouter, mfaChallengeSchema, mfaCodeSchema, mfaEnrollResponseSchema, modifyDict, mountOpenApiJson, mountRedoc, mountSwaggerUi, normalizeCep, normalizeCnpj, normalizeCpf, normalizeCpfCnpj, normalizePhoneBr, normalizeUf, notFoundHandler, onlyDigits, paginationFilterSchema, paginationSchema, parseAcceptLanguage, parseCookies, passwordResetConfirmSchema, passwordResetRequestSchema, phoneBrField, refreshSchema, registerExceptionHandlers, requestIdMiddleware, requireRoles, runServer, runWithRequestContext, serverSettingsShape, sessionCookie, setRequestId, signupSchema, sseResponse, statesByRegion, tableNameFor, toDict, toUtc, tokenFromUrl, tokenPairSchema, ufField, updatedByColumn, userPublicSchema, utcnow, validateTwilioSignature, verifyOpaqueToken, webPushKeysSchema, webPushPayloadSchema, webPushSubscriptionSchema, wsEnvelopeSchema };
|
|
9536
9619
|
//# sourceMappingURL=index.js.map
|
|
9537
9620
|
//# sourceMappingURL=index.js.map
|