@vritti/api-sdk 0.2.9 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/dist/cache.cjs +252 -0
  2. package/dist/cache.cjs.map +1 -0
  3. package/dist/cache.d.cts +25 -0
  4. package/dist/cache.d.ts +25 -0
  5. package/dist/cache.js +214 -0
  6. package/dist/cache.js.map +1 -0
  7. package/dist/cache.service-_SuJIcNA.d.cts +20 -0
  8. package/dist/cache.service-_SuJIcNA.d.ts +20 -0
  9. package/dist/catalog-resolver.cjs +364 -0
  10. package/dist/catalog-resolver.cjs.map +1 -0
  11. package/dist/catalog-resolver.d.cts +109 -0
  12. package/dist/catalog-resolver.d.ts +109 -0
  13. package/dist/catalog-resolver.js +330 -0
  14. package/dist/catalog-resolver.js.map +1 -0
  15. package/dist/email.cjs +691 -0
  16. package/dist/email.cjs.map +1 -0
  17. package/dist/email.d.cts +35 -0
  18. package/dist/email.d.ts +35 -0
  19. package/dist/email.js +665 -0
  20. package/dist/email.js.map +1 -0
  21. package/dist/fastify-augmentation-CQPBNS5a.d.cts +105 -0
  22. package/dist/fastify-augmentation-CQPBNS5a.d.ts +105 -0
  23. package/dist/icons.cjs +13803 -0
  24. package/dist/icons.cjs.map +1 -0
  25. package/dist/icons.d.cts +8 -0
  26. package/dist/icons.d.ts +8 -0
  27. package/dist/icons.js +13778 -0
  28. package/dist/icons.js.map +1 -0
  29. package/dist/index.cjs +750 -1368
  30. package/dist/index.cjs.map +1 -1
  31. package/dist/index.d.cts +103 -181
  32. package/dist/index.d.ts +103 -181
  33. package/dist/index.js +609 -1234
  34. package/dist/index.js.map +1 -1
  35. package/dist/license.cjs +104 -0
  36. package/dist/license.cjs.map +1 -0
  37. package/dist/license.d.cts +32 -0
  38. package/dist/license.d.ts +32 -0
  39. package/dist/license.js +75 -0
  40. package/dist/license.js.map +1 -0
  41. package/dist/money.cjs +93 -6
  42. package/dist/money.cjs.map +1 -1
  43. package/dist/money.d.cts +13 -1
  44. package/dist/money.d.ts +13 -1
  45. package/dist/money.js +115 -3
  46. package/dist/money.js.map +1 -1
  47. package/dist/nats.cjs +196 -179
  48. package/dist/nats.cjs.map +1 -1
  49. package/dist/nats.d.cts +13 -11
  50. package/dist/nats.d.ts +13 -11
  51. package/dist/nats.js +172 -155
  52. package/dist/nats.js.map +1 -1
  53. package/dist/types-DQRwj5rr.d.cts +113 -0
  54. package/dist/types-DQRwj5rr.d.ts +113 -0
  55. package/package.json +55 -1
package/dist/index.d.ts CHANGED
@@ -1,118 +1,21 @@
1
- import { FastifyRequest, FastifyReply } from 'fastify';
1
+ import { T as TokenExpiry, C as CookieConfig, G as GuardConfig, A as AuthConfig, a as TokenType, D as DecodedAccessToken, b as DecodedRefreshToken, R as RequestService } from './fastify-augmentation-CQPBNS5a.js';
2
+ export { d as AUTH_CONFIG, e as AUTH_CONFIG_DEFAULTS, c as AccessTokenPayload, f as CookieSerializeOptions, O as OnAuthenticatedCallback, g as RefreshTokenPayload, h as TokenExpiryString } from './fastify-augmentation-CQPBNS5a.js';
2
3
  import * as _nestjs_common from '@nestjs/common';
3
- import { InjectionToken, DynamicModule, CanActivate, ExecutionContext, OnModuleInit, OnModuleDestroy, Logger, HttpException, HttpStatus, ExceptionFilter, ArgumentsHost, ModuleMetadata, Type, LoggerService as LoggerService$1, NestInterceptor, CallHandler, NestModule, MiddlewareConsumer, NestMiddleware } from '@nestjs/common';
4
+ import { InjectionToken, DynamicModule, CanActivate, ExecutionContext, ArgumentsHost, OnModuleInit, OnModuleDestroy, Logger, HttpException, HttpStatus, ExceptionFilter, ModuleMetadata, Type, LoggerService as LoggerService$1, NestInterceptor, CallHandler, NestModule, MiddlewareConsumer, NestMiddleware } from '@nestjs/common';
4
5
  import { Reflector } from '@nestjs/core';
5
6
  import { JwtService, JwtSignOptions } from '@nestjs/jwt';
6
- import { ConfigService } from '@nestjs/config';
7
+ import { FastifyRequest, FastifyReply } from 'fastify';
7
8
  import * as drizzle_orm_pg_core from 'drizzle-orm/pg-core';
8
9
  import { PgTable, PgSequence, PgColumn } from 'drizzle-orm/pg-core';
9
- import { SQL, InferInsertModel, InferSelectModel, Column } from 'drizzle-orm';
10
+ import { ConfigService } from '@nestjs/config';
11
+ import { C as CacheService } from './cache.service-_SuJIcNA.js';
12
+ import { SQL, InferInsertModel, InferSelectModel, InferSelectViewModel, Column } from 'drizzle-orm';
13
+ import { PgViewBase } from 'drizzle-orm/pg-core/view-base';
10
14
  import { NodePgDatabase } from 'drizzle-orm/node-postgres';
11
15
  import { PoolClient } from 'pg';
12
16
  import { ValidationOptions } from 'class-validator';
13
17
  import { Observable } from 'rxjs';
14
18
  import { AsyncLocalStorage } from 'node:async_hooks';
15
- export { Currency, CurrencyCode, SUPPORTED_CURRENCIES, majorToMinor, minorToMajor } from './money.js';
16
- import 'dinero.js/bigint';
17
-
18
- declare class RequestService {
19
- private readonly request;
20
- private readonly config;
21
- constructor(request: FastifyRequest, config: AuthConfig);
22
- getAccessToken(): string | null;
23
- getRefreshToken(): string | null;
24
- getHeader(key: string): string | string[] | undefined;
25
- getHostname(): string;
26
- getAllHeaders(): FastifyRequest['headers'];
27
- }
28
-
29
- declare const AUTH_CONFIG: unique symbol;
30
- type OnAuthenticatedCallback = (requestService: RequestService, sessionInfo: NonNullable<FastifyRequest['sessionInfo']>) => void | Promise<void>;
31
- type TokenExpiryString = `${number}${'s' | 'm' | 'h' | 'd' | 'w' | 'y'}`;
32
- interface TokenExpiry {
33
- access: TokenExpiryString;
34
- refresh: TokenExpiryString;
35
- }
36
- interface CookieConfig {
37
- refreshCookieName: string;
38
- refreshCookieMaxAge: number;
39
- refreshCookiePath: string;
40
- refreshCookieSecure: boolean;
41
- refreshCookieSameSite: 'strict' | 'lax' | 'none';
42
- refreshCookieDomain?: string;
43
- }
44
- interface GuardConfig {
45
- authHeaderName: string;
46
- tokenPrefix: string;
47
- csrfExemptSessionTypes?: string[];
48
- refreshTokenBindingExemptSessionTypes?: string[];
49
- onAuthenticated?: OnAuthenticatedCallback;
50
- }
51
- interface AuthConfig {
52
- tokenExpiry: TokenExpiry;
53
- cookie: CookieConfig;
54
- guard: GuardConfig;
55
- }
56
- declare const AUTH_CONFIG_DEFAULTS: {
57
- cookie: {
58
- refreshCookieName: string;
59
- refreshCookieMaxAge: number;
60
- refreshCookiePath: string;
61
- refreshCookieSecure: boolean;
62
- refreshCookieSameSite: "strict";
63
- refreshCookieDomain: string;
64
- };
65
- guard: {
66
- authHeaderName: string;
67
- tokenPrefix: string;
68
- csrfExemptSessionTypes: never[];
69
- refreshTokenBindingExemptSessionTypes: never[];
70
- };
71
- };
72
- interface CookieSerializeOptions {
73
- httpOnly: boolean;
74
- secure: boolean;
75
- sameSite: 'strict' | 'lax' | 'none';
76
- path: string;
77
- maxAge: number;
78
- domain: string;
79
- }
80
- declare enum TokenType {
81
- ACCESS = "access",
82
- REFRESH = "refresh"
83
- }
84
- interface JwtClaims {
85
- exp: number;
86
- iat: number;
87
- }
88
- interface AccessTokenPayload {
89
- sessionType: string;
90
- tokenType: TokenType.ACCESS;
91
- userId: string;
92
- sessionId: string;
93
- refreshTokenHash: string;
94
- }
95
- type DecodedAccessToken = AccessTokenPayload & JwtClaims;
96
- interface RefreshTokenPayload {
97
- sessionType: string;
98
- tokenType: TokenType.REFRESH;
99
- userId: string;
100
- sessionId: string;
101
- }
102
- type DecodedRefreshToken = RefreshTokenPayload & JwtClaims;
103
-
104
- declare module 'fastify' {
105
- interface VrittiSessionInfo {
106
- userId: string;
107
- sessionId: string;
108
- sessionType: string;
109
- }
110
- interface FastifyRequest {
111
- sessionInfo?: VrittiSessionInfo;
112
- authConfig?: AuthConfig;
113
- cookies?: Record<string, string>;
114
- }
115
- }
116
19
 
117
20
  interface AuthConfigInput {
118
21
  tokenExpiry: TokenExpiry;
@@ -129,6 +32,8 @@ declare class AuthConfigModule {
129
32
 
130
33
  declare const AccessToken: (...dataOrPipes: unknown[]) => ParameterDecorator;
131
34
 
35
+ declare const ClientIp: (...dataOrPipes: unknown[]) => ParameterDecorator;
36
+
132
37
  declare const CookieDomain: (...dataOrPipes: unknown[]) => ParameterDecorator;
133
38
 
134
39
  declare const CookieName: (...dataOrPipes: unknown[]) => ParameterDecorator;
@@ -153,6 +58,8 @@ declare const SessionData: (...dataOrPipes: unknown[]) => ParameterDecorator;
153
58
 
154
59
  declare const Subdomain: (...dataOrPipes: unknown[]) => ParameterDecorator;
155
60
 
61
+ declare const UserAgent: (...dataOrPipes: unknown[]) => ParameterDecorator;
62
+
156
63
  declare const UserId: (...dataOrPipes: unknown[]) => ParameterDecorator;
157
64
 
158
65
  type SessionInfo = NonNullable<FastifyRequest['sessionInfo']>;
@@ -196,43 +103,20 @@ declare function verifyTokenHash(token: string, expectedHash: string): boolean;
196
103
  declare const SKIP_CSRF_KEY = "skipCsrf";
197
104
  declare const SkipCsrf: () => _nestjs_common.CustomDecorator<string>;
198
105
 
199
- declare class CacheModule {
106
+ type TransportType = 'http' | 'rpc' | 'ws' | 'graphql';
107
+ interface RequestExtractor {
108
+ getRequest(host: ArgumentsHost): FastifyRequest;
109
+ getResponse(host: ArgumentsHost): FastifyReply;
200
110
  }
201
111
 
202
- interface ICacheProvider {
203
- set<T>(key: string, value: T, ttlSeconds: number): Promise<void>;
204
- get<T>(key: string): Promise<T | null>;
205
- del(...keys: string[]): Promise<void>;
206
- scanKeys(pattern: string): Promise<string[]>;
207
- getMemoryInfo(): Promise<string>;
208
- }
112
+ declare function registerTransport(type: TransportType, extractor: RequestExtractor): void;
113
+ declare function resolveExtractor(type: string): RequestExtractor;
209
114
 
210
- declare class CacheService {
211
- private readonly provider;
212
- private readonly logger;
213
- constructor(provider: ICacheProvider);
214
- set<T>(key: string, value: T, ttlSeconds: number): Promise<void>;
215
- get<T>(key: string): Promise<T | null>;
216
- del(...keys: string[]): Promise<void>;
217
- scanKeys(pattern: string): Promise<string[]>;
218
- getMemoryInfo(): Promise<string>;
219
- }
115
+ declare function getRequestFromContext(host: ArgumentsHost): FastifyRequest;
220
116
 
221
- declare const CACHE_PROVIDER: unique symbol;
117
+ declare function getResponseFromContext(host: ArgumentsHost): FastifyReply;
222
118
 
223
- declare class RedisCacheProvider implements ICacheProvider, OnModuleInit, OnModuleDestroy {
224
- private readonly configService;
225
- private readonly logger;
226
- private client;
227
- constructor(configService: ConfigService);
228
- onModuleInit(): void;
229
- onModuleDestroy(): Promise<void>;
230
- set<T>(key: string, value: T, ttlSeconds: number): Promise<void>;
231
- get<T>(key: string): Promise<T | null>;
232
- del(...keys: string[]): Promise<void>;
233
- scanKeys(pattern: string): Promise<string[]>;
234
- getMemoryInfo(): Promise<string>;
235
- }
119
+ declare function resolveInjectedRequest(injected: FastifyRequest): FastifyRequest;
236
120
 
237
121
  declare const DATA_TABLE_VIEWS_TABLE: unique symbol;
238
122
 
@@ -469,12 +353,13 @@ interface TypedRelationalQueryBuilder<TSelect> {
469
353
  columns?: Record<string, boolean>;
470
354
  }): Promise<TSelect[]>;
471
355
  }
472
- declare abstract class PrimaryBaseRepository<TTable extends PgTable, TInsert = InferInsertModel<TTable>, TSelect = InferSelectModel<TTable>> {
356
+ declare abstract class PrimaryBaseRepository<TTable extends PgTable | PgViewBase, TInsert = TTable extends PgTable ? InferInsertModel<TTable> : never, TSelect = TTable extends PgTable ? InferSelectModel<TTable> : TTable extends PgViewBase ? InferSelectViewModel<TTable> : never> {
473
357
  protected readonly database: PrimaryDatabaseService;
474
358
  protected readonly table: TTable;
475
359
  protected readonly logger: Logger;
476
360
  protected readonly sequence?: PgSequence;
477
361
  private readonly tableName;
362
+ private readonly isView;
478
363
  protected get db(): TypedDrizzleClient;
479
364
  protected get model(): TypedRelationalQueryBuilder<TSelect>;
480
365
  constructor(database: PrimaryDatabaseService, table: TTable, options?: {
@@ -510,6 +395,24 @@ declare abstract class PrimaryBaseRepository<TTable extends PgTable, TInsert = I
510
395
  result: TResult[];
511
396
  count: number;
512
397
  }>;
398
+ findKeyset<TResult = TSelect>(options: {
399
+ select?: Record<string, unknown>;
400
+ where?: SQL;
401
+ orderBy: SQL[];
402
+ limit: number;
403
+ leftJoin?: {
404
+ table: PgTable;
405
+ on: SQL | undefined;
406
+ };
407
+ leftJoins?: {
408
+ table: PgTable;
409
+ on: SQL | undefined;
410
+ }[];
411
+ groupBy?: (PgColumn | SQL)[];
412
+ }): Promise<{
413
+ rows: TResult[];
414
+ hasMore: boolean;
415
+ }>;
513
416
  update(id: string, data: Partial<TInsert>, tx?: TypedDrizzleClient): Promise<TSelect>;
514
417
  updateMany(where: SQL, data: Partial<TInsert>, tx?: TypedDrizzleClient): Promise<{
515
418
  count: number;
@@ -563,6 +466,12 @@ declare class CreateResponseDto<T> {
563
466
  data: T;
564
467
  }
565
468
 
469
+ declare class CursorListResponseDto<T> {
470
+ items: T[];
471
+ nextCursor: string | null;
472
+ hasMore: boolean;
473
+ }
474
+
566
475
  declare class ValidatedRowDto {
567
476
  index: number;
568
477
  data: Record<string, string>;
@@ -611,6 +520,11 @@ declare class TableResponseDto<T> {
611
520
  activeViewId: string | null;
612
521
  }
613
522
 
523
+ declare class CursorCodec {
524
+ static encode(values: unknown[]): string;
525
+ static decode(cursor: string): unknown[];
526
+ }
527
+
614
528
  type FieldDefinition = {
615
529
  column: Column;
616
530
  type: 'string' | 'number' | 'boolean';
@@ -625,9 +539,13 @@ declare class FilterProcessor {
625
539
  static buildOrderBy(sort: SortCondition[] | undefined, fieldMap: FieldMap): SQL[];
626
540
  }
627
541
 
628
- declare function IsCurrency(validationOptions?: ValidationOptions): PropertyDecorator;
629
-
630
- declare function IsCurrencyCode(validationOptions?: ValidationOptions): PropertyDecorator;
542
+ interface KeysetOrderBy {
543
+ column: Column;
544
+ direction: 'asc' | 'desc';
545
+ }
546
+ declare class KeysetProcessor {
547
+ static buildAfter(orderBy: KeysetOrderBy[], values: unknown[]): SQL;
548
+ }
631
549
 
632
550
  declare function IsDateTime(validationOptions?: ValidationOptions): PropertyDecorator;
633
551
 
@@ -673,45 +591,6 @@ declare const UploadedFile: (...dataOrPipes: (string | _nestjs_common.PipeTransf
673
591
  */
674
592
  declare const UploadedFiles: (...dataOrPipes: (string | _nestjs_common.PipeTransform<any, any> | _nestjs_common.Type<_nestjs_common.PipeTransform<any, any>> | undefined)[]) => ParameterDecorator;
675
593
 
676
- declare class CurrencyAmountDto {
677
- currency: string;
678
- value: string;
679
- static from(minor: bigint, currencyCode: string): CurrencyAmountDto;
680
- static from(minor: bigint | null | undefined, currencyCode: string): CurrencyAmountDto | null;
681
- }
682
-
683
- declare class EmailModule {
684
- }
685
-
686
- declare class EmailService {
687
- private readonly configService;
688
- private readonly logger;
689
- private readonly brevoClient;
690
- private readonly senderEmail;
691
- private readonly senderName;
692
- constructor(configService: ConfigService);
693
- sendVerificationEmail(email: string, otp: string, expiresAt: Date, displayName?: string): Promise<void>;
694
- sendPasswordResetEmail(email: string, otp: string, expiresAt: Date, displayName?: string): Promise<void>;
695
- sendEmailChangeNotification(oldEmail: string, newEmail: string, revertToken: string, revertExpiresAt: Date, displayName?: string): Promise<void>;
696
- sendEmailRevertConfirmation(email: string, displayName?: string): Promise<void>;
697
- sendInviteEmail(params: {
698
- to: string;
699
- name: string;
700
- inviteUrl: string;
701
- }): Promise<void>;
702
- sendTransactionalEmail(params: {
703
- to: {
704
- email: string;
705
- name?: string;
706
- };
707
- subject: string;
708
- htmlContent: string;
709
- textContent: string;
710
- }): Promise<void>;
711
- verifyConnection(): Promise<boolean>;
712
- private sendEmail;
713
- }
714
-
715
594
  interface FieldError {
716
595
  field: string;
717
596
  message: string;
@@ -810,7 +689,45 @@ declare class ValidationException extends HttpProblemException {
810
689
  constructor(detailOrOptions?: string | ProblemOptions);
811
690
  }
812
691
 
692
+ declare enum ErrorCode {
693
+ UNAUTHENTICATED = "UNAUTHENTICATED",
694
+ FORBIDDEN = "FORBIDDEN",
695
+ NOT_FOUND = "NOT_FOUND",
696
+ VALIDATION_FAILED = "VALIDATION_FAILED",
697
+ CONFLICT = "CONFLICT",
698
+ RATE_LIMITED = "RATE_LIMITED",
699
+ BAD_REQUEST = "BAD_REQUEST",
700
+ INTERNAL = "INTERNAL"
701
+ }
702
+ declare function errorCodeFromStatus(status: number): ErrorCode;
703
+
704
+ interface GraphqlFormattedErrorShape {
705
+ message: string;
706
+ locations?: ReadonlyArray<{
707
+ line: number;
708
+ column: number;
709
+ }>;
710
+ path?: ReadonlyArray<string | number>;
711
+ extensions?: Record<string, unknown>;
712
+ }
713
+ interface GraphqlFormatErrorOptions {
714
+ isProduction: boolean;
715
+ getTraceId?: () => string | undefined;
716
+ }
717
+ interface FormattedErrorExtensions {
718
+ code: ErrorCode;
719
+ traceId?: string;
720
+ timestamp: string;
721
+ fieldErrors?: Array<{
722
+ field: string;
723
+ message: string;
724
+ }>;
725
+ [key: string]: unknown;
726
+ }
727
+ declare function createGraphqlFormatError(opts: GraphqlFormatErrorOptions): (formattedError: GraphqlFormattedErrorShape, error: unknown) => GraphqlFormattedErrorShape;
728
+
813
729
  declare function getHttpStatusTitle(status: number): string;
730
+
814
731
  declare class HttpExceptionFilter implements ExceptionFilter {
815
732
  private readonly logger;
816
733
  catch(exception: unknown, host: ArgumentsHost): void;
@@ -819,6 +736,11 @@ declare class HttpExceptionFilter implements ExceptionFilter {
819
736
  private isProblemLikeObject;
820
737
  }
821
738
 
739
+ declare class TransportAwareExceptionFilter implements ExceptionFilter {
740
+ private readonly httpFilter;
741
+ catch(exception: unknown, host: ArgumentsHost): void;
742
+ }
743
+
822
744
  type LogLevel = 'error' | 'warn' | 'log' | 'debug' | 'verbose';
823
745
  type LogFormat = 'json' | 'text';
824
746
  interface LogMetadata {
@@ -941,4 +863,4 @@ declare function normalizePhoneNumber(phone: string): string;
941
863
 
942
864
  declare function parseExpiryToMs(expiry: string): number;
943
865
 
944
- export { AUTH_CONFIG, AUTH_CONFIG_DEFAULTS, AccessToken, type AccessTokenPayload, type ApiErrorResponse, type AuthConfig, AuthConfigModule, BadGatewayException, BadRequestException, CACHE_PROVIDER, CacheModule, CacheService, type ColumnPinning, ConflictException, type CookieConfig, CookieDomain, CookieName, type CookieSerializeOptions, type CorrelationContext, CorrelationIdMiddleware, CreateDataTableViewDto, CreateResponseDto, CurrencyAmountDto, DATA_TABLE_VIEWS_TABLE, DEFAULT_CORRELATION_HEADER, DataTableModule, type DataTableModuleOptions, DataTableStateService, DataTableViewDto, type DataTableViewRecord, DataTableViewsService, DatabaseModule, type DatabaseModuleOptions, type DecodedAccessToken, type DecodedRefreshToken, type DensityType, EmailModule, EmailService, type FieldDefinition, type FieldError, type FieldMap, type FilterCondition, type FilterOperator, FilterOperators, FilterProcessor, type FindForSelectConfig, type FindForSelectJoin, ForbiddenException, GoneException, type GuardConfig, Hostname, HttpExceptionFilter, HttpLoggerInterceptor, type HttpLoggerOptions, HttpProblemException, type ICacheProvider, ImportResponseDto, ImportSummaryDto, InternalServerErrorException, IsCurrency, IsCurrencyCode, IsDateTime, LOGGER_MODULE_OPTIONS, type LogFormat, type LogLevel, type LogMetadata, LoggerModule, type LoggerModuleAsyncOptions, type LoggerModuleOptions, type LoggerOptionsFactory, LoggerService, MethodNotAllowedException, type NewDataTableViewRecord, NotAcceptableException, NotFoundException, NotImplementedException, type OnAuthenticatedCallback, PayloadTooLargeException, PrimaryBaseRepository, PrimaryDatabaseService, type PrimaryDbConfig, type ProblemDetails, type ProblemOptions, Public, REQUIRE_SESSION_KEY, RedisCacheProvider, RefreshCookieOptions, RefreshTokenCookie, type RefreshTokenPayload, RenameDataTableViewDto, RequestTimeoutException, RequireSession, RootModule, SKIP_CSRF_KEY, type SearchState, SelectOptionsQueryDto, type SelectQueryGroup, type SelectQueryOption, type SelectQueryResult, ServiceUnavailableException, SessionData, type SessionInfo$1 as SessionInfo, SkipCsrf, type SortCondition, Subdomain, SuccessResponseDto, TableResponseDto, type TableViewState, ToggleShareDataTableViewDto, type TokenExpiry, type TokenExpiryString, TokenService, TokenType, TooManyRequestsException, type TypedDrizzleClient, UnauthorizedException, UnprocessableEntityException, UnsupportedMediaTypeException, UpdateDataTableViewDto, UploadedFile, type UploadedFileResult, UploadedFiles, UpsertDataTableStateDto, UserId, ValidatedRowDto, ValidationException, VrittiAuthGuard, addCorrelationIdToResponse, correlationStorage, dataTableViewsColumns, dataTableViewsIndexes, extractCountryFromPhone, gcd, generateCorrelationId, getCorrelationContext, getHttpStatusTitle, hashToken, normalizePhoneNumber, parseExpiryToMs, runWithCorrelationContext, updateCorrelationContext, verifyTokenHash };
866
+ export { AccessToken, type ApiErrorResponse, AuthConfig, AuthConfigModule, BadGatewayException, BadRequestException, ClientIp, type ColumnPinning, ConflictException, CookieConfig, CookieDomain, CookieName, type CorrelationContext, CorrelationIdMiddleware, CreateDataTableViewDto, CreateResponseDto, CursorCodec, CursorListResponseDto, DATA_TABLE_VIEWS_TABLE, DEFAULT_CORRELATION_HEADER, DataTableModule, type DataTableModuleOptions, DataTableStateService, DataTableViewDto, type DataTableViewRecord, DataTableViewsService, DatabaseModule, type DatabaseModuleOptions, DecodedAccessToken, DecodedRefreshToken, type DensityType, ErrorCode, type FieldDefinition, type FieldError, type FieldMap, type FilterCondition, type FilterOperator, FilterOperators, FilterProcessor, type FindForSelectConfig, type FindForSelectJoin, ForbiddenException, type FormattedErrorExtensions, GoneException, type GraphqlFormatErrorOptions, GuardConfig, Hostname, HttpExceptionFilter, HttpLoggerInterceptor, type HttpLoggerOptions, HttpProblemException, ImportResponseDto, ImportSummaryDto, InternalServerErrorException, IsDateTime, type KeysetOrderBy, KeysetProcessor, LOGGER_MODULE_OPTIONS, type LogFormat, type LogLevel, type LogMetadata, LoggerModule, type LoggerModuleAsyncOptions, type LoggerModuleOptions, type LoggerOptionsFactory, LoggerService, MethodNotAllowedException, type NewDataTableViewRecord, NotAcceptableException, NotFoundException, NotImplementedException, PayloadTooLargeException, PrimaryBaseRepository, PrimaryDatabaseService, type PrimaryDbConfig, type ProblemDetails, type ProblemOptions, Public, REQUIRE_SESSION_KEY, RefreshCookieOptions, RefreshTokenCookie, RenameDataTableViewDto, type RequestExtractor, RequestTimeoutException, RequireSession, RootModule, SKIP_CSRF_KEY, type SearchState, SelectOptionsQueryDto, type SelectQueryGroup, type SelectQueryOption, type SelectQueryResult, ServiceUnavailableException, SessionData, type SessionInfo$1 as SessionInfo, SkipCsrf, type SortCondition, Subdomain, SuccessResponseDto, TableResponseDto, type TableViewState, ToggleShareDataTableViewDto, TokenExpiry, TokenService, TokenType, TooManyRequestsException, TransportAwareExceptionFilter, type TransportType, type TypedDrizzleClient, UnauthorizedException, UnprocessableEntityException, UnsupportedMediaTypeException, UpdateDataTableViewDto, UploadedFile, type UploadedFileResult, UploadedFiles, UpsertDataTableStateDto, UserAgent, UserId, ValidatedRowDto, ValidationException, VrittiAuthGuard, addCorrelationIdToResponse, correlationStorage, createGraphqlFormatError, dataTableViewsColumns, dataTableViewsIndexes, errorCodeFromStatus, extractCountryFromPhone, gcd, generateCorrelationId, getCorrelationContext, getHttpStatusTitle, getRequestFromContext, getResponseFromContext, hashToken, normalizePhoneNumber, parseExpiryToMs, registerTransport, resolveExtractor, resolveInjectedRequest, runWithCorrelationContext, updateCorrelationContext, verifyTokenHash };