@vritti/api-sdk 0.2.3 → 0.2.4

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/dist/index.d.cts CHANGED
@@ -5,7 +5,9 @@ import { Reflector } from '@nestjs/core';
5
5
  import { JwtService, JwtModuleOptions, JwtSignOptions } from '@nestjs/jwt';
6
6
  import { FastifyRequest, FastifyReply } from 'fastify';
7
7
  import { NodePgDatabase } from 'drizzle-orm/node-postgres';
8
+ import * as drizzle_orm from 'drizzle-orm';
8
9
  import { Column, SQL, InferInsertModel, InferSelectModel } from 'drizzle-orm';
10
+ import * as drizzle_orm_pg_core from 'drizzle-orm/pg-core';
9
11
  import { PgTable } from 'drizzle-orm/pg-core';
10
12
  import { Observable } from 'rxjs';
11
13
  import { AsyncLocalStorage } from 'node:async_hooks';
@@ -350,8 +352,6 @@ declare class PrimaryDatabaseService implements OnModuleInit, OnModuleDestroy {
350
352
  constructor(options: DatabaseModuleOptions);
351
353
  onModuleInit(): Promise<void>;
352
354
  private initializeDrizzleClient;
353
- private buildPrimaryDbUrl;
354
- private maskPassword;
355
355
  getTenantInfo(tenantIdentifier: string): Promise<TenantInfo | null>;
356
356
  private cacheInfo;
357
357
  clearTenantCache(tenantIdentifier: string): void;
@@ -649,6 +649,7 @@ declare function getHttpStatusTitle(status: number): string;
649
649
  declare class HttpExceptionFilter implements ExceptionFilter {
650
650
  private readonly logger;
651
651
  catch(exception: unknown, host: ArgumentsHost): void;
652
+ private isHttpException;
652
653
  private isAxiosError;
653
654
  }
654
655
 
@@ -772,4 +773,118 @@ declare function normalizePhoneNumber(phone: string): string;
772
773
 
773
774
  declare function parseExpiryToMs(expiry: string): number;
774
775
 
775
- export { AccessToken, type AccessTokenPayload, type ApiErrorResponse, type ApiSdkConfig, AuthConfigModule, BadGatewayException, BadRequestException, CACHE_PROVIDER, CacheModule, CacheService, type ColumnPinning, ConflictException, type CookieConfig, CookieDomain, type CookieSerializeOptions, type CorrelationContext, CorrelationIdMiddleware, DEFAULT_CORRELATION_HEADER, DatabaseModule, type DatabaseModuleOptions, type DensityType, EmailModule, EmailService, type FieldDefinition, type FieldError, type FieldMap, type FilterCondition, type FilterOperator, FilterProcessor, type FindForSelectConfig, type FindForSelectJoin, ForbiddenException, GoneException, type GuardConfig, HttpExceptionFilter, HttpLoggerInterceptor, type HttpLoggerOptions, HttpProblemException, type ICacheProvider, InternalServerErrorException, JwtAuthService, type JwtConfig, LOGGER_MODULE_OPTIONS, type LogFormat, type LogLevel, type LogMetadata, LoggerModule, type LoggerModuleAsyncOptions, type LoggerModuleOptions, type LoggerOptionsFactory, LoggerService, MethodNotAllowedException, NotAcceptableException, NotFoundException, NotImplementedException, Onboarding, PayloadTooLargeException, PrimaryBaseRepository, PrimaryDatabaseService, type PrimaryDbConfig, type ProblemDetails, type ProblemOptions, Public, RESET_KEY, RedisCacheProvider, RefreshCookieOptions, RefreshTokenCookie, type RefreshTokenPayload, type RegisteredSchema, RequestTimeoutException, Reset, RootModule, SKIP_CSRF_KEY, SelectOptionsQueryDto, type SelectQueryGroup, type SelectQueryOption, type SelectQueryResult, ServiceUnavailableException, SessionData, type SessionInfo, SkipCsrf, type SortCondition, SuccessResponseDto, TableResponseDto, type TableViewState, Tenant, TenantBaseRepository, TenantContextService, TenantDatabaseService, type TenantInfo, type TokenExpiry, TokenType, TooManyRequestsException, type TypedDrizzleClient, UnauthorizedException, UnprocessableEntityException, UnsupportedMediaTypeException, UserId, ValidationException, VrittiAuthGuard, addCorrelationIdToResponse, configureApiSdk, correlationStorage, defineConfig, extractCountryFromPhone, generateCorrelationId, getConfig, getCorrelationContext, getHttpStatusTitle, getJwtExpiry, getRefreshCookieOptions, getRefreshCookieOptionsForHost, getTokenExpiry, hashToken, jwtConfigFactory, normalizePhoneNumber, parseExpiryToMs, resetConfig, runWithCorrelationContext, updateCorrelationContext, verifyTokenHash };
776
+ declare const DATA_TABLE_VIEWS_TABLE: unique symbol;
777
+
778
+ interface DataTableModuleOptions {
779
+ tableViews: PgTable;
780
+ }
781
+ declare class DataTableModule {
782
+ static forRoot(options: DataTableModuleOptions): DynamicModule;
783
+ }
784
+
785
+ declare function dataTableViewsColumns(): {
786
+ id: drizzle_orm.HasDefault<drizzle_orm.IsPrimaryKey<drizzle_orm_pg_core.PgUUIDBuilder>>;
787
+ userId: drizzle_orm.NotNull<drizzle_orm_pg_core.PgUUIDBuilder>;
788
+ tableSlug: drizzle_orm.NotNull<drizzle_orm_pg_core.PgVarcharBuilder<[string, ...string[]]>>;
789
+ name: drizzle_orm.NotNull<drizzle_orm_pg_core.PgVarcharBuilder<[string, ...string[]]>>;
790
+ state: drizzle_orm.$Type<drizzle_orm.NotNull<drizzle_orm_pg_core.PgJsonbBuilder>, TableViewState>;
791
+ isShared: drizzle_orm.HasDefault<drizzle_orm.NotNull<drizzle_orm_pg_core.PgBooleanBuilder>>;
792
+ createdAt: drizzle_orm.HasDefault<drizzle_orm.NotNull<drizzle_orm_pg_core.PgTimestampBuilder>>;
793
+ updatedAt: drizzle_orm.HasDefault<drizzle_orm_pg_core.PgTimestampBuilder>;
794
+ };
795
+ declare function dataTableViewsIndexes(table: any): drizzle_orm_pg_core.IndexBuilder[];
796
+ interface DataTableViewRecord {
797
+ id: string;
798
+ userId: string;
799
+ tableSlug: string;
800
+ name: string;
801
+ state: TableViewState;
802
+ isShared: boolean;
803
+ createdAt: Date;
804
+ updatedAt: Date | null | undefined;
805
+ }
806
+ interface NewDataTableViewRecord {
807
+ userId: string;
808
+ tableSlug: string;
809
+ name: string;
810
+ state: TableViewState;
811
+ isShared?: boolean;
812
+ }
813
+
814
+ declare class DataTableViewDto {
815
+ id: string;
816
+ name: string | null;
817
+ tableSlug: string;
818
+ state: TableViewState;
819
+ isShared: boolean;
820
+ isOwn: boolean;
821
+ createdAt: Date;
822
+ updatedAt: Date | null;
823
+ static from(view: DataTableViewRecord, userId: string): DataTableViewDto;
824
+ }
825
+
826
+ declare class CreateDataTableViewDto {
827
+ name: string;
828
+ tableSlug: string;
829
+ state: TableViewState;
830
+ isShared?: boolean;
831
+ }
832
+
833
+ declare class UpdateDataTableViewDto {
834
+ state: TableViewState;
835
+ }
836
+
837
+ declare class DataTableViewsRepository extends PrimaryBaseRepository<PgTable, NewDataTableViewRecord, DataTableViewRecord> {
838
+ constructor(database: PrimaryDatabaseService, table: PgTable);
839
+ findPersonalViewsBySlug(userId: string, tableSlug: string): Promise<DataTableViewRecord[]>;
840
+ findSharedViewsBySlug(tableSlug: string): Promise<DataTableViewRecord[]>;
841
+ }
842
+
843
+ declare class DataTableViewsService {
844
+ private readonly dataTableViewsRepository;
845
+ private readonly cacheService;
846
+ private readonly configService;
847
+ private readonly logger;
848
+ constructor(dataTableViewsRepository: DataTableViewsRepository, cacheService: CacheService, configService: ConfigService);
849
+ private personalViewsKey;
850
+ private sharedViewsKey;
851
+ private get viewsTtl();
852
+ private getOrCachePersonalViews;
853
+ private getOrCacheSharedViews;
854
+ private invalidateViewsCache;
855
+ findViews(userId: string, tableSlug: string): Promise<DataTableViewDto[]>;
856
+ createView(userId: string, dto: CreateDataTableViewDto): Promise<DataTableViewDto>;
857
+ updateView(userId: string, id: string, dto: UpdateDataTableViewDto): Promise<DataTableViewDto>;
858
+ toggleShareView(userId: string, id: string, isShared: boolean): Promise<DataTableViewDto>;
859
+ renameView(userId: string, id: string, name: string): Promise<DataTableViewDto>;
860
+ deleteView(userId: string, id: string): Promise<DataTableViewDto>;
861
+ }
862
+
863
+ declare class UpsertDataTableStateDto {
864
+ tableSlug: string;
865
+ state: TableViewState;
866
+ activeViewId?: string | null;
867
+ }
868
+
869
+ declare class DataTableStateService {
870
+ private readonly cacheService;
871
+ private readonly configService;
872
+ private readonly logger;
873
+ constructor(cacheService: CacheService, configService: ConfigService);
874
+ private get stateTtl();
875
+ upsertCurrentState(userId: string, dto: UpsertDataTableStateDto): Promise<void>;
876
+ getCurrentState(userId: string, tableSlug: string): Promise<{
877
+ state: TableViewState;
878
+ activeViewId: string | null;
879
+ }>;
880
+ }
881
+
882
+ declare class RenameDataTableViewDto {
883
+ name: string;
884
+ }
885
+
886
+ declare class ToggleShareDataTableViewDto {
887
+ isShared: boolean;
888
+ }
889
+
890
+ export { AccessToken, type AccessTokenPayload, type ApiErrorResponse, type ApiSdkConfig, AuthConfigModule, BadGatewayException, BadRequestException, CACHE_PROVIDER, CacheModule, CacheService, type ColumnPinning, ConflictException, type CookieConfig, CookieDomain, type CookieSerializeOptions, type CorrelationContext, CorrelationIdMiddleware, CreateDataTableViewDto, DATA_TABLE_VIEWS_TABLE, DEFAULT_CORRELATION_HEADER, DataTableModule, type DataTableModuleOptions, DataTableStateService, DataTableViewDto, type DataTableViewRecord, DataTableViewsService, DatabaseModule, type DatabaseModuleOptions, type DensityType, EmailModule, EmailService, type FieldDefinition, type FieldError, type FieldMap, type FilterCondition, type FilterOperator, FilterProcessor, type FindForSelectConfig, type FindForSelectJoin, ForbiddenException, GoneException, type GuardConfig, HttpExceptionFilter, HttpLoggerInterceptor, type HttpLoggerOptions, HttpProblemException, type ICacheProvider, InternalServerErrorException, JwtAuthService, type JwtConfig, LOGGER_MODULE_OPTIONS, type LogFormat, type LogLevel, type LogMetadata, LoggerModule, type LoggerModuleAsyncOptions, type LoggerModuleOptions, type LoggerOptionsFactory, LoggerService, MethodNotAllowedException, type NewDataTableViewRecord, NotAcceptableException, NotFoundException, NotImplementedException, Onboarding, PayloadTooLargeException, PrimaryBaseRepository, PrimaryDatabaseService, type PrimaryDbConfig, type ProblemDetails, type ProblemOptions, Public, RESET_KEY, RedisCacheProvider, RefreshCookieOptions, RefreshTokenCookie, type RefreshTokenPayload, type RegisteredSchema, RenameDataTableViewDto, RequestTimeoutException, Reset, RootModule, SKIP_CSRF_KEY, SelectOptionsQueryDto, type SelectQueryGroup, type SelectQueryOption, type SelectQueryResult, ServiceUnavailableException, SessionData, type SessionInfo, SkipCsrf, type SortCondition, SuccessResponseDto, TableResponseDto, type TableViewState, Tenant, TenantBaseRepository, TenantContextService, TenantDatabaseService, type TenantInfo, ToggleShareDataTableViewDto, type TokenExpiry, TokenType, TooManyRequestsException, type TypedDrizzleClient, UnauthorizedException, UnprocessableEntityException, UnsupportedMediaTypeException, UpdateDataTableViewDto, UpsertDataTableStateDto, UserId, ValidationException, VrittiAuthGuard, addCorrelationIdToResponse, configureApiSdk, correlationStorage, dataTableViewsColumns, dataTableViewsIndexes, defineConfig, extractCountryFromPhone, generateCorrelationId, getConfig, getCorrelationContext, getHttpStatusTitle, getJwtExpiry, getRefreshCookieOptions, getRefreshCookieOptionsForHost, getTokenExpiry, hashToken, jwtConfigFactory, normalizePhoneNumber, parseExpiryToMs, resetConfig, runWithCorrelationContext, updateCorrelationContext, verifyTokenHash };
package/dist/index.d.ts CHANGED
@@ -5,7 +5,9 @@ import { Reflector } from '@nestjs/core';
5
5
  import { JwtService, JwtModuleOptions, JwtSignOptions } from '@nestjs/jwt';
6
6
  import { FastifyRequest, FastifyReply } from 'fastify';
7
7
  import { NodePgDatabase } from 'drizzle-orm/node-postgres';
8
+ import * as drizzle_orm from 'drizzle-orm';
8
9
  import { Column, SQL, InferInsertModel, InferSelectModel } from 'drizzle-orm';
10
+ import * as drizzle_orm_pg_core from 'drizzle-orm/pg-core';
9
11
  import { PgTable } from 'drizzle-orm/pg-core';
10
12
  import { Observable } from 'rxjs';
11
13
  import { AsyncLocalStorage } from 'node:async_hooks';
@@ -350,8 +352,6 @@ declare class PrimaryDatabaseService implements OnModuleInit, OnModuleDestroy {
350
352
  constructor(options: DatabaseModuleOptions);
351
353
  onModuleInit(): Promise<void>;
352
354
  private initializeDrizzleClient;
353
- private buildPrimaryDbUrl;
354
- private maskPassword;
355
355
  getTenantInfo(tenantIdentifier: string): Promise<TenantInfo | null>;
356
356
  private cacheInfo;
357
357
  clearTenantCache(tenantIdentifier: string): void;
@@ -649,6 +649,7 @@ declare function getHttpStatusTitle(status: number): string;
649
649
  declare class HttpExceptionFilter implements ExceptionFilter {
650
650
  private readonly logger;
651
651
  catch(exception: unknown, host: ArgumentsHost): void;
652
+ private isHttpException;
652
653
  private isAxiosError;
653
654
  }
654
655
 
@@ -772,4 +773,118 @@ declare function normalizePhoneNumber(phone: string): string;
772
773
 
773
774
  declare function parseExpiryToMs(expiry: string): number;
774
775
 
775
- export { AccessToken, type AccessTokenPayload, type ApiErrorResponse, type ApiSdkConfig, AuthConfigModule, BadGatewayException, BadRequestException, CACHE_PROVIDER, CacheModule, CacheService, type ColumnPinning, ConflictException, type CookieConfig, CookieDomain, type CookieSerializeOptions, type CorrelationContext, CorrelationIdMiddleware, DEFAULT_CORRELATION_HEADER, DatabaseModule, type DatabaseModuleOptions, type DensityType, EmailModule, EmailService, type FieldDefinition, type FieldError, type FieldMap, type FilterCondition, type FilterOperator, FilterProcessor, type FindForSelectConfig, type FindForSelectJoin, ForbiddenException, GoneException, type GuardConfig, HttpExceptionFilter, HttpLoggerInterceptor, type HttpLoggerOptions, HttpProblemException, type ICacheProvider, InternalServerErrorException, JwtAuthService, type JwtConfig, LOGGER_MODULE_OPTIONS, type LogFormat, type LogLevel, type LogMetadata, LoggerModule, type LoggerModuleAsyncOptions, type LoggerModuleOptions, type LoggerOptionsFactory, LoggerService, MethodNotAllowedException, NotAcceptableException, NotFoundException, NotImplementedException, Onboarding, PayloadTooLargeException, PrimaryBaseRepository, PrimaryDatabaseService, type PrimaryDbConfig, type ProblemDetails, type ProblemOptions, Public, RESET_KEY, RedisCacheProvider, RefreshCookieOptions, RefreshTokenCookie, type RefreshTokenPayload, type RegisteredSchema, RequestTimeoutException, Reset, RootModule, SKIP_CSRF_KEY, SelectOptionsQueryDto, type SelectQueryGroup, type SelectQueryOption, type SelectQueryResult, ServiceUnavailableException, SessionData, type SessionInfo, SkipCsrf, type SortCondition, SuccessResponseDto, TableResponseDto, type TableViewState, Tenant, TenantBaseRepository, TenantContextService, TenantDatabaseService, type TenantInfo, type TokenExpiry, TokenType, TooManyRequestsException, type TypedDrizzleClient, UnauthorizedException, UnprocessableEntityException, UnsupportedMediaTypeException, UserId, ValidationException, VrittiAuthGuard, addCorrelationIdToResponse, configureApiSdk, correlationStorage, defineConfig, extractCountryFromPhone, generateCorrelationId, getConfig, getCorrelationContext, getHttpStatusTitle, getJwtExpiry, getRefreshCookieOptions, getRefreshCookieOptionsForHost, getTokenExpiry, hashToken, jwtConfigFactory, normalizePhoneNumber, parseExpiryToMs, resetConfig, runWithCorrelationContext, updateCorrelationContext, verifyTokenHash };
776
+ declare const DATA_TABLE_VIEWS_TABLE: unique symbol;
777
+
778
+ interface DataTableModuleOptions {
779
+ tableViews: PgTable;
780
+ }
781
+ declare class DataTableModule {
782
+ static forRoot(options: DataTableModuleOptions): DynamicModule;
783
+ }
784
+
785
+ declare function dataTableViewsColumns(): {
786
+ id: drizzle_orm.HasDefault<drizzle_orm.IsPrimaryKey<drizzle_orm_pg_core.PgUUIDBuilder>>;
787
+ userId: drizzle_orm.NotNull<drizzle_orm_pg_core.PgUUIDBuilder>;
788
+ tableSlug: drizzle_orm.NotNull<drizzle_orm_pg_core.PgVarcharBuilder<[string, ...string[]]>>;
789
+ name: drizzle_orm.NotNull<drizzle_orm_pg_core.PgVarcharBuilder<[string, ...string[]]>>;
790
+ state: drizzle_orm.$Type<drizzle_orm.NotNull<drizzle_orm_pg_core.PgJsonbBuilder>, TableViewState>;
791
+ isShared: drizzle_orm.HasDefault<drizzle_orm.NotNull<drizzle_orm_pg_core.PgBooleanBuilder>>;
792
+ createdAt: drizzle_orm.HasDefault<drizzle_orm.NotNull<drizzle_orm_pg_core.PgTimestampBuilder>>;
793
+ updatedAt: drizzle_orm.HasDefault<drizzle_orm_pg_core.PgTimestampBuilder>;
794
+ };
795
+ declare function dataTableViewsIndexes(table: any): drizzle_orm_pg_core.IndexBuilder[];
796
+ interface DataTableViewRecord {
797
+ id: string;
798
+ userId: string;
799
+ tableSlug: string;
800
+ name: string;
801
+ state: TableViewState;
802
+ isShared: boolean;
803
+ createdAt: Date;
804
+ updatedAt: Date | null | undefined;
805
+ }
806
+ interface NewDataTableViewRecord {
807
+ userId: string;
808
+ tableSlug: string;
809
+ name: string;
810
+ state: TableViewState;
811
+ isShared?: boolean;
812
+ }
813
+
814
+ declare class DataTableViewDto {
815
+ id: string;
816
+ name: string | null;
817
+ tableSlug: string;
818
+ state: TableViewState;
819
+ isShared: boolean;
820
+ isOwn: boolean;
821
+ createdAt: Date;
822
+ updatedAt: Date | null;
823
+ static from(view: DataTableViewRecord, userId: string): DataTableViewDto;
824
+ }
825
+
826
+ declare class CreateDataTableViewDto {
827
+ name: string;
828
+ tableSlug: string;
829
+ state: TableViewState;
830
+ isShared?: boolean;
831
+ }
832
+
833
+ declare class UpdateDataTableViewDto {
834
+ state: TableViewState;
835
+ }
836
+
837
+ declare class DataTableViewsRepository extends PrimaryBaseRepository<PgTable, NewDataTableViewRecord, DataTableViewRecord> {
838
+ constructor(database: PrimaryDatabaseService, table: PgTable);
839
+ findPersonalViewsBySlug(userId: string, tableSlug: string): Promise<DataTableViewRecord[]>;
840
+ findSharedViewsBySlug(tableSlug: string): Promise<DataTableViewRecord[]>;
841
+ }
842
+
843
+ declare class DataTableViewsService {
844
+ private readonly dataTableViewsRepository;
845
+ private readonly cacheService;
846
+ private readonly configService;
847
+ private readonly logger;
848
+ constructor(dataTableViewsRepository: DataTableViewsRepository, cacheService: CacheService, configService: ConfigService);
849
+ private personalViewsKey;
850
+ private sharedViewsKey;
851
+ private get viewsTtl();
852
+ private getOrCachePersonalViews;
853
+ private getOrCacheSharedViews;
854
+ private invalidateViewsCache;
855
+ findViews(userId: string, tableSlug: string): Promise<DataTableViewDto[]>;
856
+ createView(userId: string, dto: CreateDataTableViewDto): Promise<DataTableViewDto>;
857
+ updateView(userId: string, id: string, dto: UpdateDataTableViewDto): Promise<DataTableViewDto>;
858
+ toggleShareView(userId: string, id: string, isShared: boolean): Promise<DataTableViewDto>;
859
+ renameView(userId: string, id: string, name: string): Promise<DataTableViewDto>;
860
+ deleteView(userId: string, id: string): Promise<DataTableViewDto>;
861
+ }
862
+
863
+ declare class UpsertDataTableStateDto {
864
+ tableSlug: string;
865
+ state: TableViewState;
866
+ activeViewId?: string | null;
867
+ }
868
+
869
+ declare class DataTableStateService {
870
+ private readonly cacheService;
871
+ private readonly configService;
872
+ private readonly logger;
873
+ constructor(cacheService: CacheService, configService: ConfigService);
874
+ private get stateTtl();
875
+ upsertCurrentState(userId: string, dto: UpsertDataTableStateDto): Promise<void>;
876
+ getCurrentState(userId: string, tableSlug: string): Promise<{
877
+ state: TableViewState;
878
+ activeViewId: string | null;
879
+ }>;
880
+ }
881
+
882
+ declare class RenameDataTableViewDto {
883
+ name: string;
884
+ }
885
+
886
+ declare class ToggleShareDataTableViewDto {
887
+ isShared: boolean;
888
+ }
889
+
890
+ export { AccessToken, type AccessTokenPayload, type ApiErrorResponse, type ApiSdkConfig, AuthConfigModule, BadGatewayException, BadRequestException, CACHE_PROVIDER, CacheModule, CacheService, type ColumnPinning, ConflictException, type CookieConfig, CookieDomain, type CookieSerializeOptions, type CorrelationContext, CorrelationIdMiddleware, CreateDataTableViewDto, DATA_TABLE_VIEWS_TABLE, DEFAULT_CORRELATION_HEADER, DataTableModule, type DataTableModuleOptions, DataTableStateService, DataTableViewDto, type DataTableViewRecord, DataTableViewsService, DatabaseModule, type DatabaseModuleOptions, type DensityType, EmailModule, EmailService, type FieldDefinition, type FieldError, type FieldMap, type FilterCondition, type FilterOperator, FilterProcessor, type FindForSelectConfig, type FindForSelectJoin, ForbiddenException, GoneException, type GuardConfig, HttpExceptionFilter, HttpLoggerInterceptor, type HttpLoggerOptions, HttpProblemException, type ICacheProvider, InternalServerErrorException, JwtAuthService, type JwtConfig, LOGGER_MODULE_OPTIONS, type LogFormat, type LogLevel, type LogMetadata, LoggerModule, type LoggerModuleAsyncOptions, type LoggerModuleOptions, type LoggerOptionsFactory, LoggerService, MethodNotAllowedException, type NewDataTableViewRecord, NotAcceptableException, NotFoundException, NotImplementedException, Onboarding, PayloadTooLargeException, PrimaryBaseRepository, PrimaryDatabaseService, type PrimaryDbConfig, type ProblemDetails, type ProblemOptions, Public, RESET_KEY, RedisCacheProvider, RefreshCookieOptions, RefreshTokenCookie, type RefreshTokenPayload, type RegisteredSchema, RenameDataTableViewDto, RequestTimeoutException, Reset, RootModule, SKIP_CSRF_KEY, SelectOptionsQueryDto, type SelectQueryGroup, type SelectQueryOption, type SelectQueryResult, ServiceUnavailableException, SessionData, type SessionInfo, SkipCsrf, type SortCondition, SuccessResponseDto, TableResponseDto, type TableViewState, Tenant, TenantBaseRepository, TenantContextService, TenantDatabaseService, type TenantInfo, ToggleShareDataTableViewDto, type TokenExpiry, TokenType, TooManyRequestsException, type TypedDrizzleClient, UnauthorizedException, UnprocessableEntityException, UnsupportedMediaTypeException, UpdateDataTableViewDto, UpsertDataTableStateDto, UserId, ValidationException, VrittiAuthGuard, addCorrelationIdToResponse, configureApiSdk, correlationStorage, dataTableViewsColumns, dataTableViewsIndexes, defineConfig, extractCountryFromPhone, generateCorrelationId, getConfig, getCorrelationContext, getHttpStatusTitle, getJwtExpiry, getRefreshCookieOptions, getRefreshCookieOptionsForHost, getTokenExpiry, hashToken, jwtConfigFactory, normalizePhoneNumber, parseExpiryToMs, resetConfig, runWithCorrelationContext, updateCorrelationContext, verifyTokenHash };