@codemation/cli 0.0.20 → 0.0.22

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.ts CHANGED
@@ -5,6 +5,7 @@ import { Hono } from "hono";
5
5
  import { ReadableStream } from "node:stream/web";
6
6
  import { DependencyContainer as Container, InjectionToken as TypeToken } from "tsyringe";
7
7
  import { AnyNull, AnyNullClass, DbNull, DbNullClass, Decimal, JsonNull, JsonNullClass, NullTypes as NullTypes$1, ObjectEnumValue, PrismaClientInitializationError, PrismaClientKnownRequestError, PrismaClientRustPanicError, PrismaClientUnknownRequestError, PrismaClientValidationError, RawValue, Sql, Value, empty, isAnyNull, isDbNull, isJsonNull, isObjectEnumValue, join, raw, sql as sqltag } from "@prisma/client-runtime-utils";
8
+ import { BetterAuthOptions } from "better-auth";
8
9
 
9
10
  //#region rolldown:runtime
10
11
  //#endregion
@@ -639,431 +640,90 @@ type CredentialType<TPublicConfig extends CredentialJsonRecord = CredentialJsonR
639
640
  * Using `any` here avoids unsafe `as` casts while keeping typed `satisfies CredentialType<…>` definitions.
640
641
  */
641
642
  type AnyCredentialType = CredentialType<any, any, unknown>;
642
- //#endregion
643
- //#region ../host/src/application/logging/Logger.d.ts
644
- interface Logger {
645
- info(message: string, exception?: Error): void;
646
- warn(message: string, exception?: Error): void;
647
- error(message: string, exception?: Error): void;
648
- debug(message: string, exception?: Error): void;
649
- }
650
- interface LoggerFactory {
651
- create(scope: string): Logger;
652
- }
653
- //#endregion
654
- //#region ../host/src/presentation/config/CodemationClassToken.d.ts
655
- type CodemationClassToken<TValue> = TypeToken<TValue> & (new (...args: never[]) => TValue);
656
- //#endregion
657
- //#region ../host/src/bootstrap/CodemationContainerRegistration.d.ts
658
- interface CodemationContainerRegistrationBase<TValue> {
659
- readonly token: TypeToken<TValue>;
660
- }
661
- interface CodemationValueRegistration<TValue> extends CodemationContainerRegistrationBase<TValue> {
662
- readonly useValue: TValue;
663
- }
664
- interface CodemationClassRegistration<TValue> extends CodemationContainerRegistrationBase<TValue> {
665
- readonly useClass: CodemationClassToken<TValue>;
666
- }
667
- interface CodemationFactoryRegistration<TValue> extends CodemationContainerRegistrationBase<TValue> {
668
- readonly useFactory: (container: Container) => TValue;
669
- }
670
- type CodemationContainerRegistration<TValue = unknown> = CodemationValueRegistration<TValue> | CodemationClassRegistration<TValue> | CodemationFactoryRegistration<TValue>;
671
- //#endregion
672
- //#region ../host/src/presentation/config/CodemationAppContext.d.ts
673
- interface CodemationRegistrationContextBase {
674
- readonly appConfig?: AppConfig;
675
- registerCredentialType(type: AnyCredentialType): void;
676
- registerNode<TValue>(token: TypeToken<TValue>, implementation?: CodemationClassToken<TValue>): void;
677
- registerValue<TValue>(token: TypeToken<TValue>, value: TValue): void;
678
- registerClass<TValue>(token: TypeToken<TValue>, implementation: CodemationClassToken<TValue>): void;
679
- registerFactory<TValue>(token: TypeToken<TValue>, factory: (container: Container) => TValue): void;
680
- }
681
- interface CodemationAppContext extends CodemationRegistrationContextBase {
682
- registerWorkflow(workflow: WorkflowDefinition): void;
683
- registerWorkflows(workflows: ReadonlyArray<WorkflowDefinition>): void;
684
- discoverWorkflows(...directories: ReadonlyArray<string>): void;
643
+ declare namespace client_d_exports {
644
+ export { Action, Aggregate, AllModelsToStringIndex, AnyNull, AnyNullClass, ApplyOmit, Args, Args_3, BaseDMMF, Bytes, Call, Cast, ClientArg, ClientArgs, ClientBuiltInProp, ClientOptionDef, ClientOtherOps, Compute, ComputeDeep, Count, DMMF, DbNull, DbNullClass, Debug, Decimal, DecimalJsLike, DefaultArgs, DefaultSelection, DevTypeMapDef, DevTypeMapFnDef, DynamicClientExtensionArgs, DynamicClientExtensionThis, DynamicClientExtensionThisBuiltin, DynamicModelExtensionArgs, DynamicModelExtensionFluentApi, DynamicModelExtensionFnResult, DynamicModelExtensionFnResultBase, DynamicModelExtensionFnResultNull, DynamicModelExtensionOperationFn, DynamicModelExtensionThis, DynamicQueryExtensionArgs, DynamicQueryExtensionCb, DynamicQueryExtensionCbArgs, DynamicQueryExtensionCbArgsArgs, DynamicResultExtensionArgs, DynamicResultExtensionData, DynamicResultExtensionNeeds, EmptyToUnknown, Equals, Exact, ExtendsHook, ExtensionArgs, Extensions, ExtractGlobalOmit, FieldRef$1 as FieldRef, Fn, GetAggregateResult, GetBatchResult, GetCountResult, GetFindResult, GetGroupByResult, GetOmit, GetPayloadResult, GetPayloadResultExtensionKeys, GetPayloadResultExtensionObject, GetPrismaClientConfig, GetResult, GetSelect, ITXClientDenyList, InputJsonArray, InputJsonObject, InputJsonValue, InternalArgs, JsArgs, JsInputValue, JsOutputValue, JsPromise, JsonArray, JsonBatchQuery, JsonConvertible, JsonNull, JsonNullClass, JsonObject, JsonQuery, JsonValue, MergeExtArgs, ModelArg, ModelArgs, ModelKey, ModelQueryOptionsCb, ModelQueryOptionsCbArgs, NameArgs, Narrow, Narrowable, NeverToUnknown, NullTypes$1 as NullTypes, ObjectEnumValue, Omission, Omit_2 as Omit, OmitValue, Operation, OperationPayload, Optional, OptionalFlat$1 as OptionalFlat, OptionalKeys, Or$1 as Or, Param, PatchFlat, Path, Payload, PayloadToResult, Pick_2 as Pick, PrismaClientInitializationError, PrismaClientKnownRequestError, PrismaClientOptions, PrismaClientRustPanicError, PrismaClientUnknownRequestError, PrismaClientValidationError, PrismaPromise, PrivateResultType, Public, QueryOptions, QueryOptionsCb, QueryOptionsCbArgs, RawParameters, RawQueryArgs, RawValue, ReadonlyDeep, Record_2 as Record, RenameAndNestPayloadKeys, RequiredExtensionArgs, RequiredKeys$1 as RequiredKeys, Result, ResultArg, ResultArgs, ResultArgsFieldCompute, ResultFieldDefinition, Result_2, Return, RuntimeDataModel, Select, SelectField, SelectablePayloadFields, Selection_2 as Selection, Sql, SqlCommenterContext, SqlCommenterPlugin, SqlCommenterQueryInfo, SqlCommenterSingleQueryInfo, SqlCommenterTags, SqlDriverAdapterFactory, ToTuple, TypeMapCbDef, TypeMapDef, TypedSql, Types, UnknownTypedSql, UnwrapPayload, UnwrapPromise, UnwrapTuple, RequiredExtensionArgs as UserArgs, Value, createParam, defineDmmfProperty, deserializeJsonObject, deserializeRawResult, dmmfToRuntimeDataModel, empty, getPrismaClient, getRuntime, isAnyNull, isDbNull, isJsonNull, isObjectEnumValue, isTypedSql, itxClientDenyList, join, makeStrictEnum, makeTypedQueryFactory, raw, serializeJsonQuery, skip, sqltag, warnOnce };
685
645
  }
686
- //#endregion
687
- //#region ../host/src/presentation/config/CodemationAuthConfig.d.ts
688
- /**
689
- * Consumer-declared authentication profile for the hosted UI + HTTP API.
690
- * NextAuth / Auth.js wires concrete providers from this configuration plus environment secrets.
646
+ /**
647
+ * @param this
691
648
  */
692
- type CodemationAuthKind = "local" | "oauth" | "oidc";
693
- interface CodemationAuthOAuthProviderConfig {
694
- readonly provider: "google" | "github" | "microsoft-entra-id";
695
- readonly clientIdEnv: string;
696
- readonly clientSecretEnv: string;
697
- /** Microsoft Entra ID tenant; environment variable name whose value is the tenant ID. */
698
- readonly tenantIdEnv?: string;
699
- }
700
- interface CodemationAuthOidcProviderConfig {
701
- readonly id: string;
702
- readonly issuer: string;
703
- readonly clientIdEnv: string;
704
- readonly clientSecretEnv: string;
705
- }
706
- interface CodemationAuthConfig {
707
- readonly kind: CodemationAuthKind;
708
- /**
709
- * When true and NODE_ENV is not production, the API accepts requests without a real session
710
- * (synthetic principal only — never honored in production).
649
+ declare function $extends(this: Client, extension: ExtensionArgs | ((client: Client) => Client)): Client;
650
+
651
+ /**
652
+ * Used by `@prisma/extension-accelerate` until we migrate it to a better API.
653
+ */
654
+ declare interface AccelerateEngineConfig extends EngineConfig {
655
+ /**
656
+ * Allows Accelerate to use runtime utilities from the client. These are
657
+ * necessary for `@prisma/extension-accelerate` to function correctly.
658
+ * See <https://github.com/prisma/prisma-extension-accelerate/blob/b6ffa853f038780f5ab2fc01bff584ca251f645b/src/extension.ts#L518>
711
659
  */
712
- readonly allowUnauthenticatedInDevelopment?: boolean;
713
- readonly oauth?: ReadonlyArray<CodemationAuthOAuthProviderConfig>;
714
- readonly oidc?: ReadonlyArray<CodemationAuthOidcProviderConfig>;
660
+ accelerateUtils: {
661
+ resolveDatasourceUrl: () => string;
662
+ };
715
663
  }
716
- //#endregion
717
- //#region ../host/src/presentation/config/CodemationLogConfig.d.ts
718
- /**
719
- * Minimum level for namespaces matched by {@link CodemationLogRule.filter}.
720
- * `silent` suppresses all log lines for matching namespaces.
721
- */
722
- type CodemationLogLevelName = "debug" | "info" | "warn" | "error" | "silent";
723
- /**
724
- * One rule: {@link filter} is one glob or several (`*` = any substring; a lone `*` matches all namespaces).
725
- * If multiple patterns are given, **any** match applies this rule’s level.
726
- * Rules are evaluated in order; the **first** rule whose filter set matches wins.
727
- */
728
- type CodemationLogRule = Readonly<{
729
- filter: string | ReadonlyArray<string>;
730
- level: CodemationLogLevelName;
731
- }>;
732
- /**
733
- * Either a single rule (`{ filter, level }`) or multiple `{ rules: [...] }`.
734
- * Put broader patterns last, e.g. `{ filter: "codemation.webhooks.*", level: "info" }` then `{ filter: "*", level: "warn" }`.
735
- * Use an array for `filter` to match several namespaces with the same level, e.g. `filter: ["codemation.webhooks.*", "codemation.engine.triggers"]`.
664
+
665
+ /**
666
+ * A stripped down interface of `fetch` that `@prisma/extension-accelerate`
667
+ * relies on. It must be in sync with the corresponding definition in the
668
+ * Accelerate extension.
669
+ *
670
+ * This is the actual interface exposed by the extension. We can't use the
671
+ * custom fetch function provided by it as normal fetch because the API is
672
+ * different. Notably, `headers` must be an object and not a `Headers`
673
+ * instance, and `url` must be a `string` and not a `URL`.
674
+ *
675
+ * The return type is `Response` but we can't specify this in an exported type
676
+ * because it would end up referencing external types from `@types/node` or DOM
677
+ * which can fail typechecking depending on TypeScript configuration in a user's
678
+ * project.
736
679
  */
737
- type CodemationLogConfig = Readonly<{
738
- rules: ReadonlyArray<CodemationLogRule>;
739
- }> | CodemationLogRule;
740
- //#endregion
741
- //#region ../host/src/presentation/config/CodemationWhitelabelConfig.d.ts
742
- /**
743
- * Optional host shell whitelabeling (sidebar, login, document title).
744
- * `logoPath` is resolved relative to the consumer project root.
680
+ declare type AccelerateExtensionFetch = (url: string, options: {
681
+ body?: string;
682
+ method?: string;
683
+ headers: Record<string, string>;
684
+ }) => Promise<unknown>;
685
+ declare type AccelerateExtensionFetchDecorator = (fetch: AccelerateExtensionFetch) => AccelerateExtensionFetch;
686
+ declare type Action = keyof typeof DMMF_2.ModelAction | 'executeRaw' | 'queryRaw' | 'runCommandRaw';
687
+ declare type ActiveConnectorType = Exclude<ConnectorType, 'postgres' | 'prisma+postgres'>;
688
+
689
+ /**
690
+ * An interface that exposes some basic information about the
691
+ * adapter like its name and provider type.
745
692
  */
746
- interface CodemationWhitelabelConfig {
747
- readonly productName?: string;
748
- /** Relative to consumer project root, e.g. `branding/logo.svg`. */
749
- readonly logoPath?: string;
750
- }
751
- //#endregion
752
- //#region ../host/src/presentation/config/CodemationWorkflowDiscovery.d.ts
753
- interface CodemationWorkflowDiscovery {
754
- readonly directories?: ReadonlyArray<string>;
755
- }
756
- //#endregion
757
- //#region ../host/src/presentation/config/CodemationConfig.d.ts
758
- type CodemationEventBusKind = "memory" | "redis";
759
- type CodemationSchedulerKind = "local" | "bullmq";
760
- type CodemationDatabaseKind = "postgresql" | "pglite";
761
- interface CodemationDatabaseConfig {
762
- readonly kind?: CodemationDatabaseKind;
763
- /** TCP PostgreSQL URL when `kind` is `postgresql` (or omitted with a postgres URL). */
764
- readonly url?: string;
765
- /** Directory for embedded PGlite data when `kind` is `pglite`. Relative paths resolve from the consumer app root. */
766
- readonly pgliteDataDir?: string;
767
- }
768
- interface CodemationEventBusConfig {
769
- readonly kind?: CodemationEventBusKind;
770
- readonly redisUrl?: string;
771
- readonly queuePrefix?: string;
772
- }
773
- interface CodemationSchedulerConfig {
774
- readonly kind?: CodemationSchedulerKind;
775
- readonly queuePrefix?: string;
776
- readonly workerQueues?: ReadonlyArray<string>;
777
- }
778
- type CodemationAppSchedulerKind = "inline" | "queue";
779
- interface CodemationAppSchedulerConfig {
780
- readonly kind?: CodemationAppSchedulerKind;
781
- readonly queuePrefix?: string;
782
- readonly workerQueues?: ReadonlyArray<string>;
783
- readonly redisUrl?: string;
693
+ declare interface AdapterInfo {
694
+ readonly provider: Provider;
695
+ readonly adapterName: (typeof officialPrismaAdapters)[number] | (string & {});
784
696
  }
785
- /**
786
- * Optional overrides for engine execution limits (activation budget and subworkflow depth caps).
787
- * Omitted fields keep framework defaults. Advanced users can bind `CoreTokens.EngineExecutionLimitsPolicy` for full control.
697
+ declare type Aggregate = '_count' | '_max' | '_min' | '_avg' | '_sum';
698
+ declare type AllModelsToStringIndex<TypeMap extends TypeMapDef, Args$1 extends Record<string, any>, K$1 extends PropertyKey> = Args$1 extends { [P in K$1]: {
699
+ $allModels: infer AllModels;
700
+ } } ? { [P in K$1]: Record<TypeMap['meta']['modelProps'], AllModels> } : {};
701
+ declare type ApplyOmit<T$1, OmitConfig> = Compute<{ [K in keyof T$1 as OmitValue<OmitConfig, K> extends true ? never : K]: T$1[K] }>;
702
+ declare type Args<T$1, F extends Operation> = T$1 extends {
703
+ [K: symbol]: {
704
+ types: {
705
+ operations: { [K in F]: {
706
+ args: any;
707
+ } };
708
+ };
709
+ };
710
+ } ? T$1[symbol]['types']['operations'][F]['args'] : any;
711
+ declare type Args_3<T$1, F extends Operation> = Args<T$1, F>;
712
+ declare type ArgScalarType = 'string' | 'int' | 'bigint' | 'float' | 'decimal' | 'boolean' | 'enum' | 'uuid' | 'json' | 'datetime' | 'bytes' | 'unknown';
713
+ declare type ArgType = {
714
+ scalarType: ArgScalarType;
715
+ dbType?: string;
716
+ arity: Arity;
717
+ };
718
+ declare type Arity = 'scalar' | 'list';
719
+
720
+ /**
721
+ * Attributes is a map from string to attribute values.
722
+ *
723
+ * Note: only the own enumerable keys are counted as valid attribute keys.
788
724
  */
789
- type CodemationEngineExecutionLimitsConfig = Readonly<Partial<EngineExecutionLimitsPolicyConfig>>;
790
- interface CodemationAppDefinition {
791
- readonly frontendPort?: number;
792
- readonly databaseUrl?: string;
793
- readonly database?: CodemationDatabaseConfig;
794
- readonly scheduler?: CodemationAppSchedulerConfig;
795
- readonly auth?: CodemationAuthConfig;
796
- readonly whitelabel?: CodemationWhitelabelConfig;
797
- readonly log?: CodemationLogConfig;
798
- readonly engineExecutionLimits?: CodemationEngineExecutionLimitsConfig;
799
- }
800
- interface CodemationApplicationRuntimeConfig {
801
- readonly frontendPort?: number;
802
- readonly database?: CodemationDatabaseConfig;
803
- readonly eventBus?: CodemationEventBusConfig;
804
- readonly scheduler?: CodemationSchedulerConfig;
805
- /** Merged with engine defaults when building the execution limits policy (API + workers). */
806
- readonly engineExecutionLimits?: CodemationEngineExecutionLimitsConfig;
807
- }
808
- interface CodemationConfig {
809
- readonly app?: CodemationAppDefinition;
810
- readonly register?: (context: CodemationAppContext) => void;
811
- readonly runtime?: CodemationApplicationRuntimeConfig;
812
- readonly workflows?: ReadonlyArray<WorkflowDefinition>;
813
- readonly workflowDiscovery?: CodemationWorkflowDiscovery;
814
- readonly plugins?: ReadonlyArray<CodemationPlugin>;
815
- /** Consumer-defined `CredentialType` entries (see `@codemation/core`), applied when the host loads config. */
816
- readonly credentialTypes?: ReadonlyArray<AnyCredentialType>;
817
- /** Optional shell whitelabel (product name, logo path). */
818
- readonly whitelabel?: CodemationWhitelabelConfig;
819
- /** Required for production hosts; optional only when using development bypass (never in production). */
820
- readonly auth?: CodemationAuthConfig;
821
- /**
822
- * Namespace-level log filters (first matching rule wins). Unmatched namespaces use `CODEMATION_LOG_LEVEL` / defaults.
823
- * Omit to keep env-only behavior.
824
- */
825
- readonly log?: CodemationLogConfig;
826
- }
827
- //#endregion
828
- //#region ../host/src/presentation/config/CodemationPlugin.d.ts
829
- interface CodemationPluginContext extends CodemationRegistrationContextBase {
830
- readonly container: Container;
831
- readonly appConfig: AppConfig;
832
- readonly loggerFactory: LoggerFactory;
833
- }
834
- interface CodemationPluginConfig {
835
- readonly pluginPackageId?: string;
836
- readonly credentialTypes?: ReadonlyArray<AnyCredentialType>;
837
- readonly register?: (context: CodemationPluginContext) => void | Promise<void>;
838
- readonly sandbox?: CodemationConfig;
839
- }
840
- type CodemationPlugin = CodemationPluginConfig;
841
- //#endregion
842
- //#region ../host/src/presentation/config/AppConfig.d.ts
843
- type AppPersistenceConfig = Readonly<{
844
- kind: "none";
845
- }> | Readonly<{
846
- kind: "postgresql";
847
- databaseUrl: string;
848
- }> | Readonly<{
849
- kind: "pglite";
850
- dataDir: string;
851
- }>;
852
- type AppPluginLoadSummary = Readonly<{
853
- packageName: string;
854
- source: "configured" | "discovered";
855
- }>;
856
- interface AppConfig {
857
- readonly consumerRoot: string;
858
- readonly repoRoot: string;
859
- readonly env: Readonly<NodeJS.ProcessEnv>;
860
- readonly workflowSources: ReadonlyArray<string>;
861
- readonly workflows: ReadonlyArray<WorkflowDefinition>;
862
- readonly containerRegistrations: ReadonlyArray<CodemationContainerRegistration<unknown>>;
863
- readonly credentialTypes: ReadonlyArray<AnyCredentialType>;
864
- readonly plugins: ReadonlyArray<CodemationPlugin>;
865
- readonly pluginLoadSummary?: ReadonlyArray<AppPluginLoadSummary>;
866
- readonly hasConfiguredCredentialSessionServiceRegistration: boolean;
867
- readonly log?: CodemationLogConfig;
868
- readonly engineExecutionLimits?: CodemationEngineExecutionLimitsConfig;
869
- readonly databaseUrl?: string;
870
- readonly database?: CodemationDatabaseConfig;
871
- readonly persistence: AppPersistenceConfig;
872
- readonly scheduler: Readonly<{
873
- kind: CodemationSchedulerKind;
874
- queuePrefix?: string;
875
- workerQueues: ReadonlyArray<string>;
876
- redisUrl?: string;
877
- }>;
878
- readonly eventing: Readonly<{
879
- kind: CodemationEventBusKind;
880
- queuePrefix?: string;
881
- redisUrl?: string;
882
- }>;
883
- readonly auth?: CodemationAuthConfig;
884
- readonly whitelabel: CodemationWhitelabelConfig;
885
- readonly webSocketPort: number;
886
- readonly webSocketBindHost: string;
887
- }
888
- //#endregion
889
- //#region ../host/src/infrastructure/config/CodemationPluginRegistrar.d.ts
890
- declare class CodemationPluginRegistrar {
891
- apply(args: Readonly<{
892
- plugins: ReadonlyArray<CodemationPlugin>;
893
- container: Container;
894
- appConfig: AppConfig;
895
- registerCredentialType: (type: AnyCredentialType) => void;
896
- loggerFactory: LoggerFactory;
897
- }>): Promise<void>;
898
- }
899
- //#endregion
900
- //#region ../host/src/application/contracts/WorkflowWebsocketMessage.d.ts
901
- type WorkflowWebsocketMessage = Readonly<{
902
- kind: "event";
903
- event: RunEvent;
904
- }> | Readonly<{
905
- kind: "workflowChanged";
906
- workflowId: string;
907
- }> | Readonly<{
908
- kind: "devBuildStarted";
909
- workflowId: string;
910
- buildVersion?: string;
911
- }> | Readonly<{
912
- kind: "devBuildCompleted";
913
- workflowId: string;
914
- buildVersion: string;
915
- }> | Readonly<{
916
- kind: "devBuildFailed";
917
- workflowId: string;
918
- message: string;
919
- }>;
920
- //#endregion
921
- //#region ../host/src/application/websocket/WorkflowWebsocketPublisher.d.ts
922
- interface WorkflowWebsocketPublisher {
923
- publishToRoom(roomId: string, message: WorkflowWebsocketMessage): Promise<void>;
924
- }
925
- //#endregion
926
- //#region ../host/src/presentation/websocket/WorkflowWebsocketServer.d.ts
927
- declare class WorkflowWebsocketServer implements WorkflowWebsocketPublisher {
928
- private readonly port;
929
- private readonly bindHost;
930
- private readonly logger;
931
- private websocketServer;
932
- private readonly sockets;
933
- private readonly roomIdsBySocket;
934
- private started;
935
- constructor(port: number, bindHost: string, logger: Logger);
936
- start(): Promise<void>;
937
- stop(): Promise<void>;
938
- publishToRoom(roomId: string, message: WorkflowWebsocketMessage): Promise<void>;
939
- private connect;
940
- private handleMessage;
941
- private awaitListening;
942
- private closeAfterFailedStart;
943
- private parseClientMessage;
944
- }
945
- //#endregion
946
- //#region ../host/src/bootstrap/CodemationContainerRegistrationRegistrar.d.ts
947
- declare class CodemationContainerRegistrationRegistrar {
948
- apply(container: Container, registrations: ReadonlyArray<CodemationContainerRegistration<unknown>>): void;
949
- private applyRegistration;
950
- private isValueRegistration;
951
- private isClassRegistration;
952
- }
953
- //#endregion
954
- //#region ../host/src/bootstrap/AppContainerFactory.d.ts
955
- type AppContainerInputs = Readonly<{
956
- appConfig: AppConfig;
957
- sharedWorkflowWebsocketServer: WorkflowWebsocketServer | null;
958
- }>;
959
- declare class AppContainerFactory {
960
- private readonly containerRegistrationRegistrar;
961
- private readonly pluginRegistrar;
962
- private static readonly queryHandlers;
963
- private static readonly commandHandlers;
964
- private static readonly honoRouteRegistrars;
965
- constructor(containerRegistrationRegistrar?: CodemationContainerRegistrationRegistrar, pluginRegistrar?: CodemationPluginRegistrar);
966
- create(inputs: AppContainerInputs): Promise<Container>;
967
- private collectCredentialTypes;
968
- private applyPlugins;
969
- private registerCredentialTypes;
970
- private registerConfiguredRegistrations;
971
- private registerCoreInfrastructure;
972
- private registerRepositoriesAndBuses;
973
- private registerApplicationServicesAndRoutes;
974
- private registerOperationalInfrastructure;
975
- private registerRuntimeInfrastructure;
976
- private resolvePrismaOwnership;
977
- private registerRuntimeNodeActivationScheduler;
978
- private createBinaryStorage;
979
- private createRuntimeSummary;
980
- private requireRedisUrl;
981
- private synchronizeLiveWorkflowRepository;
982
- }
983
- declare namespace client_d_exports {
984
- export { Action, Aggregate, AllModelsToStringIndex, AnyNull, AnyNullClass, ApplyOmit, Args, Args_3, BaseDMMF, Bytes, Call, Cast, ClientArg, ClientArgs, ClientBuiltInProp, ClientOptionDef, ClientOtherOps, Compute, ComputeDeep, Count, DMMF, DbNull, DbNullClass, Debug, Decimal, DecimalJsLike, DefaultArgs, DefaultSelection, DevTypeMapDef, DevTypeMapFnDef, DynamicClientExtensionArgs, DynamicClientExtensionThis, DynamicClientExtensionThisBuiltin, DynamicModelExtensionArgs, DynamicModelExtensionFluentApi, DynamicModelExtensionFnResult, DynamicModelExtensionFnResultBase, DynamicModelExtensionFnResultNull, DynamicModelExtensionOperationFn, DynamicModelExtensionThis, DynamicQueryExtensionArgs, DynamicQueryExtensionCb, DynamicQueryExtensionCbArgs, DynamicQueryExtensionCbArgsArgs, DynamicResultExtensionArgs, DynamicResultExtensionData, DynamicResultExtensionNeeds, EmptyToUnknown, Equals, Exact, ExtendsHook, ExtensionArgs, Extensions, ExtractGlobalOmit, FieldRef$1 as FieldRef, Fn, GetAggregateResult, GetBatchResult, GetCountResult, GetFindResult, GetGroupByResult, GetOmit, GetPayloadResult, GetPayloadResultExtensionKeys, GetPayloadResultExtensionObject, GetPrismaClientConfig, GetResult, GetSelect, ITXClientDenyList, InputJsonArray, InputJsonObject, InputJsonValue, InternalArgs, JsArgs, JsInputValue, JsOutputValue, JsPromise, JsonArray, JsonBatchQuery, JsonConvertible, JsonNull, JsonNullClass, JsonObject, JsonQuery, JsonValue, MergeExtArgs, ModelArg, ModelArgs, ModelKey, ModelQueryOptionsCb, ModelQueryOptionsCbArgs, NameArgs, Narrow, Narrowable, NeverToUnknown, NullTypes$1 as NullTypes, ObjectEnumValue, Omission, Omit_2 as Omit, OmitValue, Operation, OperationPayload, Optional, OptionalFlat$1 as OptionalFlat, OptionalKeys, Or$1 as Or, Param, PatchFlat, Path, Payload, PayloadToResult, Pick_2 as Pick, PrismaClientInitializationError, PrismaClientKnownRequestError, PrismaClientOptions, PrismaClientRustPanicError, PrismaClientUnknownRequestError, PrismaClientValidationError, PrismaPromise, PrivateResultType, Public, QueryOptions, QueryOptionsCb, QueryOptionsCbArgs, RawParameters, RawQueryArgs, RawValue, ReadonlyDeep, Record_2 as Record, RenameAndNestPayloadKeys, RequiredExtensionArgs, RequiredKeys$1 as RequiredKeys, Result, ResultArg, ResultArgs, ResultArgsFieldCompute, ResultFieldDefinition, Result_2, Return, RuntimeDataModel, Select, SelectField, SelectablePayloadFields, Selection_2 as Selection, Sql, SqlCommenterContext, SqlCommenterPlugin, SqlCommenterQueryInfo, SqlCommenterSingleQueryInfo, SqlCommenterTags, SqlDriverAdapterFactory, ToTuple, TypeMapCbDef, TypeMapDef, TypedSql, Types, UnknownTypedSql, UnwrapPayload, UnwrapPromise, UnwrapTuple, RequiredExtensionArgs as UserArgs, Value, createParam, defineDmmfProperty, deserializeJsonObject, deserializeRawResult, dmmfToRuntimeDataModel, empty, getPrismaClient, getRuntime, isAnyNull, isDbNull, isJsonNull, isObjectEnumValue, isTypedSql, itxClientDenyList, join, makeStrictEnum, makeTypedQueryFactory, raw, serializeJsonQuery, skip, sqltag, warnOnce };
985
- }
986
- /**
987
- * @param this
988
- */
989
- declare function $extends(this: Client, extension: ExtensionArgs | ((client: Client) => Client)): Client;
990
-
991
- /**
992
- * Used by `@prisma/extension-accelerate` until we migrate it to a better API.
993
- */
994
- declare interface AccelerateEngineConfig extends EngineConfig {
995
- /**
996
- * Allows Accelerate to use runtime utilities from the client. These are
997
- * necessary for `@prisma/extension-accelerate` to function correctly.
998
- * See <https://github.com/prisma/prisma-extension-accelerate/blob/b6ffa853f038780f5ab2fc01bff584ca251f645b/src/extension.ts#L518>
999
- */
1000
- accelerateUtils: {
1001
- resolveDatasourceUrl: () => string;
1002
- };
1003
- }
1004
-
1005
- /**
1006
- * A stripped down interface of `fetch` that `@prisma/extension-accelerate`
1007
- * relies on. It must be in sync with the corresponding definition in the
1008
- * Accelerate extension.
1009
- *
1010
- * This is the actual interface exposed by the extension. We can't use the
1011
- * custom fetch function provided by it as normal fetch because the API is
1012
- * different. Notably, `headers` must be an object and not a `Headers`
1013
- * instance, and `url` must be a `string` and not a `URL`.
1014
- *
1015
- * The return type is `Response` but we can't specify this in an exported type
1016
- * because it would end up referencing external types from `@types/node` or DOM
1017
- * which can fail typechecking depending on TypeScript configuration in a user's
1018
- * project.
1019
- */
1020
- declare type AccelerateExtensionFetch = (url: string, options: {
1021
- body?: string;
1022
- method?: string;
1023
- headers: Record<string, string>;
1024
- }) => Promise<unknown>;
1025
- declare type AccelerateExtensionFetchDecorator = (fetch: AccelerateExtensionFetch) => AccelerateExtensionFetch;
1026
- declare type Action = keyof typeof DMMF_2.ModelAction | 'executeRaw' | 'queryRaw' | 'runCommandRaw';
1027
- declare type ActiveConnectorType = Exclude<ConnectorType, 'postgres' | 'prisma+postgres'>;
1028
-
1029
- /**
1030
- * An interface that exposes some basic information about the
1031
- * adapter like its name and provider type.
1032
- */
1033
- declare interface AdapterInfo {
1034
- readonly provider: Provider;
1035
- readonly adapterName: (typeof officialPrismaAdapters)[number] | (string & {});
1036
- }
1037
- declare type Aggregate = '_count' | '_max' | '_min' | '_avg' | '_sum';
1038
- declare type AllModelsToStringIndex<TypeMap extends TypeMapDef, Args$1 extends Record<string, any>, K$1 extends PropertyKey> = Args$1 extends { [P in K$1]: {
1039
- $allModels: infer AllModels;
1040
- } } ? { [P in K$1]: Record<TypeMap['meta']['modelProps'], AllModels> } : {};
1041
- declare type ApplyOmit<T$1, OmitConfig> = Compute<{ [K in keyof T$1 as OmitValue<OmitConfig, K> extends true ? never : K]: T$1[K] }>;
1042
- declare type Args<T$1, F extends Operation> = T$1 extends {
1043
- [K: symbol]: {
1044
- types: {
1045
- operations: { [K in F]: {
1046
- args: any;
1047
- } };
1048
- };
1049
- };
1050
- } ? T$1[symbol]['types']['operations'][F]['args'] : any;
1051
- declare type Args_3<T$1, F extends Operation> = Args<T$1, F>;
1052
- declare type ArgScalarType = 'string' | 'int' | 'bigint' | 'float' | 'decimal' | 'boolean' | 'enum' | 'uuid' | 'json' | 'datetime' | 'bytes' | 'unknown';
1053
- declare type ArgType = {
1054
- scalarType: ArgScalarType;
1055
- dbType?: string;
1056
- arity: Arity;
1057
- };
1058
- declare type Arity = 'scalar' | 'list';
1059
-
1060
- /**
1061
- * Attributes is a map from string to attribute values.
1062
- *
1063
- * Note: only the own enumerable keys are counted as valid attribute keys.
1064
- */
1065
- declare interface Attributes {
1066
- [attributeKey: string]: AttributeValue | undefined;
725
+ declare interface Attributes {
726
+ [attributeKey: string]: AttributeValue | undefined;
1067
727
  }
1068
728
 
1069
729
  /**
@@ -14704,19 +14364,23 @@ declare namespace Prisma {
14704
14364
  id: string | null;
14705
14365
  name: string | null;
14706
14366
  email: string | null;
14707
- emailVerified: Date | null;
14367
+ emailVerified: boolean | null;
14708
14368
  image: string | null;
14709
14369
  passwordHash: string | null;
14710
14370
  accountStatus: string | null;
14371
+ createdAt: Date | null;
14372
+ updatedAt: Date | null;
14711
14373
  };
14712
14374
  export type UserMaxAggregateOutputType = {
14713
14375
  id: string | null;
14714
14376
  name: string | null;
14715
14377
  email: string | null;
14716
- emailVerified: Date | null;
14378
+ emailVerified: boolean | null;
14717
14379
  image: string | null;
14718
14380
  passwordHash: string | null;
14719
14381
  accountStatus: string | null;
14382
+ createdAt: Date | null;
14383
+ updatedAt: Date | null;
14720
14384
  };
14721
14385
  export type UserCountAggregateOutputType = {
14722
14386
  id: number;
@@ -14726,6 +14390,8 @@ declare namespace Prisma {
14726
14390
  image: number;
14727
14391
  passwordHash: number;
14728
14392
  accountStatus: number;
14393
+ createdAt: number;
14394
+ updatedAt: number;
14729
14395
  _all: number;
14730
14396
  };
14731
14397
  export type UserMinAggregateInputType = {
@@ -14736,6 +14402,8 @@ declare namespace Prisma {
14736
14402
  image?: true;
14737
14403
  passwordHash?: true;
14738
14404
  accountStatus?: true;
14405
+ createdAt?: true;
14406
+ updatedAt?: true;
14739
14407
  };
14740
14408
  export type UserMaxAggregateInputType = {
14741
14409
  id?: true;
@@ -14745,6 +14413,8 @@ declare namespace Prisma {
14745
14413
  image?: true;
14746
14414
  passwordHash?: true;
14747
14415
  accountStatus?: true;
14416
+ createdAt?: true;
14417
+ updatedAt?: true;
14748
14418
  };
14749
14419
  export type UserCountAggregateInputType = {
14750
14420
  id?: true;
@@ -14754,6 +14424,8 @@ declare namespace Prisma {
14754
14424
  image?: true;
14755
14425
  passwordHash?: true;
14756
14426
  accountStatus?: true;
14427
+ createdAt?: true;
14428
+ updatedAt?: true;
14757
14429
  _all?: true;
14758
14430
  };
14759
14431
  export type UserAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -14820,10 +14492,12 @@ declare namespace Prisma {
14820
14492
  id: string;
14821
14493
  name: string | null;
14822
14494
  email: string | null;
14823
- emailVerified: Date | null;
14495
+ emailVerified: boolean;
14824
14496
  image: string | null;
14825
14497
  passwordHash: string | null;
14826
14498
  accountStatus: string;
14499
+ createdAt: Date;
14500
+ updatedAt: Date;
14827
14501
  _count: UserCountAggregateOutputType | null;
14828
14502
  _min: UserMinAggregateOutputType | null;
14829
14503
  _max: UserMaxAggregateOutputType | null;
@@ -14837,6 +14511,8 @@ declare namespace Prisma {
14837
14511
  image?: boolean;
14838
14512
  passwordHash?: boolean;
14839
14513
  accountStatus?: boolean;
14514
+ createdAt?: boolean;
14515
+ updatedAt?: boolean;
14840
14516
  accounts?: boolean | User$accountsArgs<ExtArgs>;
14841
14517
  sessions?: boolean | User$sessionsArgs<ExtArgs>;
14842
14518
  invites?: boolean | User$invitesArgs<ExtArgs>;
@@ -14850,6 +14526,8 @@ declare namespace Prisma {
14850
14526
  image?: boolean;
14851
14527
  passwordHash?: boolean;
14852
14528
  accountStatus?: boolean;
14529
+ createdAt?: boolean;
14530
+ updatedAt?: boolean;
14853
14531
  }, ExtArgs["result"]["user"]>;
14854
14532
  export type UserSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
14855
14533
  id?: boolean;
@@ -14859,6 +14537,8 @@ declare namespace Prisma {
14859
14537
  image?: boolean;
14860
14538
  passwordHash?: boolean;
14861
14539
  accountStatus?: boolean;
14540
+ createdAt?: boolean;
14541
+ updatedAt?: boolean;
14862
14542
  }, ExtArgs["result"]["user"]>;
14863
14543
  export type UserSelectScalar = {
14864
14544
  id?: boolean;
@@ -14868,8 +14548,10 @@ declare namespace Prisma {
14868
14548
  image?: boolean;
14869
14549
  passwordHash?: boolean;
14870
14550
  accountStatus?: boolean;
14551
+ createdAt?: boolean;
14552
+ updatedAt?: boolean;
14871
14553
  };
14872
- export type UserOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "name" | "email" | "emailVerified" | "image" | "passwordHash" | "accountStatus", ExtArgs["result"]["user"]>;
14554
+ export type UserOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "name" | "email" | "emailVerified" | "image" | "passwordHash" | "accountStatus" | "createdAt" | "updatedAt", ExtArgs["result"]["user"]>;
14873
14555
  export type UserInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
14874
14556
  accounts?: boolean | User$accountsArgs<ExtArgs>;
14875
14557
  sessions?: boolean | User$sessionsArgs<ExtArgs>;
@@ -14889,13 +14571,15 @@ declare namespace Prisma {
14889
14571
  id: string;
14890
14572
  name: string | null;
14891
14573
  email: string | null;
14892
- emailVerified: Date | null;
14574
+ emailVerified: boolean;
14893
14575
  image: string | null;
14894
14576
  passwordHash: string | null;
14895
14577
  /**
14896
14578
  * invited | active | inactive (local directory / invite flow)
14897
14579
  */
14898
14580
  accountStatus: string;
14581
+ createdAt: Date;
14582
+ updatedAt: Date;
14899
14583
  }, ExtArgs["result"]["user"]>;
14900
14584
  composites: {};
14901
14585
  };
@@ -15261,10 +14945,12 @@ declare namespace Prisma {
15261
14945
  readonly id: FieldRef<"User", 'String'>;
15262
14946
  readonly name: FieldRef<"User", 'String'>;
15263
14947
  readonly email: FieldRef<"User", 'String'>;
15264
- readonly emailVerified: FieldRef<"User", 'DateTime'>;
14948
+ readonly emailVerified: FieldRef<"User", 'Boolean'>;
15265
14949
  readonly image: FieldRef<"User", 'String'>;
15266
14950
  readonly passwordHash: FieldRef<"User", 'String'>;
15267
14951
  readonly accountStatus: FieldRef<"User", 'String'>;
14952
+ readonly createdAt: FieldRef<"User", 'DateTime'>;
14953
+ readonly updatedAt: FieldRef<"User", 'DateTime'>;
15268
14954
  }
15269
14955
 
15270
14956
  // Custom InputTypes
@@ -15487,7 +15173,7 @@ declare namespace Prisma {
15487
15173
  /**
15488
15174
  * The data needed to create a User.
15489
15175
  */
15490
- data?: XOR<UserCreateInput, UserUncheckedCreateInput>;
15176
+ data: XOR<UserCreateInput, UserUncheckedCreateInput>;
15491
15177
  };
15492
15178
 
15493
15179
  /**
@@ -16740,13 +16426,18 @@ declare namespace Prisma {
16740
16426
  type: string | null;
16741
16427
  provider: string | null;
16742
16428
  providerAccountId: string | null;
16429
+ password: string | null;
16743
16430
  refresh_token: string | null;
16744
16431
  access_token: string | null;
16745
16432
  expires_at: number | null;
16433
+ accessTokenExpiresAt: Date | null;
16434
+ refreshTokenExpiresAt: Date | null;
16746
16435
  token_type: string | null;
16747
16436
  scope: string | null;
16748
16437
  id_token: string | null;
16749
16438
  session_state: string | null;
16439
+ createdAt: Date | null;
16440
+ updatedAt: Date | null;
16750
16441
  };
16751
16442
  export type AccountMaxAggregateOutputType = {
16752
16443
  id: string | null;
@@ -16754,13 +16445,18 @@ declare namespace Prisma {
16754
16445
  type: string | null;
16755
16446
  provider: string | null;
16756
16447
  providerAccountId: string | null;
16448
+ password: string | null;
16757
16449
  refresh_token: string | null;
16758
16450
  access_token: string | null;
16759
16451
  expires_at: number | null;
16452
+ accessTokenExpiresAt: Date | null;
16453
+ refreshTokenExpiresAt: Date | null;
16760
16454
  token_type: string | null;
16761
16455
  scope: string | null;
16762
16456
  id_token: string | null;
16763
16457
  session_state: string | null;
16458
+ createdAt: Date | null;
16459
+ updatedAt: Date | null;
16764
16460
  };
16765
16461
  export type AccountCountAggregateOutputType = {
16766
16462
  id: number;
@@ -16768,13 +16464,18 @@ declare namespace Prisma {
16768
16464
  type: number;
16769
16465
  provider: number;
16770
16466
  providerAccountId: number;
16467
+ password: number;
16771
16468
  refresh_token: number;
16772
16469
  access_token: number;
16773
16470
  expires_at: number;
16471
+ accessTokenExpiresAt: number;
16472
+ refreshTokenExpiresAt: number;
16774
16473
  token_type: number;
16775
16474
  scope: number;
16776
16475
  id_token: number;
16777
16476
  session_state: number;
16477
+ createdAt: number;
16478
+ updatedAt: number;
16778
16479
  _all: number;
16779
16480
  };
16780
16481
  export type AccountAvgAggregateInputType = {
@@ -16789,13 +16490,18 @@ declare namespace Prisma {
16789
16490
  type?: true;
16790
16491
  provider?: true;
16791
16492
  providerAccountId?: true;
16493
+ password?: true;
16792
16494
  refresh_token?: true;
16793
16495
  access_token?: true;
16794
16496
  expires_at?: true;
16497
+ accessTokenExpiresAt?: true;
16498
+ refreshTokenExpiresAt?: true;
16795
16499
  token_type?: true;
16796
16500
  scope?: true;
16797
16501
  id_token?: true;
16798
16502
  session_state?: true;
16503
+ createdAt?: true;
16504
+ updatedAt?: true;
16799
16505
  };
16800
16506
  export type AccountMaxAggregateInputType = {
16801
16507
  id?: true;
@@ -16803,27 +16509,37 @@ declare namespace Prisma {
16803
16509
  type?: true;
16804
16510
  provider?: true;
16805
16511
  providerAccountId?: true;
16512
+ password?: true;
16806
16513
  refresh_token?: true;
16807
16514
  access_token?: true;
16808
16515
  expires_at?: true;
16516
+ accessTokenExpiresAt?: true;
16517
+ refreshTokenExpiresAt?: true;
16809
16518
  token_type?: true;
16810
16519
  scope?: true;
16811
16520
  id_token?: true;
16812
16521
  session_state?: true;
16813
- };
16522
+ createdAt?: true;
16523
+ updatedAt?: true;
16524
+ };
16814
16525
  export type AccountCountAggregateInputType = {
16815
16526
  id?: true;
16816
16527
  userId?: true;
16817
16528
  type?: true;
16818
16529
  provider?: true;
16819
16530
  providerAccountId?: true;
16531
+ password?: true;
16820
16532
  refresh_token?: true;
16821
16533
  access_token?: true;
16822
16534
  expires_at?: true;
16535
+ accessTokenExpiresAt?: true;
16536
+ refreshTokenExpiresAt?: true;
16823
16537
  token_type?: true;
16824
16538
  scope?: true;
16825
16539
  id_token?: true;
16826
16540
  session_state?: true;
16541
+ createdAt?: true;
16542
+ updatedAt?: true;
16827
16543
  _all?: true;
16828
16544
  };
16829
16545
  export type AccountAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -16906,13 +16622,18 @@ declare namespace Prisma {
16906
16622
  type: string;
16907
16623
  provider: string;
16908
16624
  providerAccountId: string;
16625
+ password: string | null;
16909
16626
  refresh_token: string | null;
16910
16627
  access_token: string | null;
16911
16628
  expires_at: number | null;
16629
+ accessTokenExpiresAt: Date | null;
16630
+ refreshTokenExpiresAt: Date | null;
16912
16631
  token_type: string | null;
16913
16632
  scope: string | null;
16914
16633
  id_token: string | null;
16915
16634
  session_state: string | null;
16635
+ createdAt: Date;
16636
+ updatedAt: Date;
16916
16637
  _count: AccountCountAggregateOutputType | null;
16917
16638
  _avg: AccountAvgAggregateOutputType | null;
16918
16639
  _sum: AccountSumAggregateOutputType | null;
@@ -16926,13 +16647,18 @@ declare namespace Prisma {
16926
16647
  type?: boolean;
16927
16648
  provider?: boolean;
16928
16649
  providerAccountId?: boolean;
16650
+ password?: boolean;
16929
16651
  refresh_token?: boolean;
16930
16652
  access_token?: boolean;
16931
16653
  expires_at?: boolean;
16654
+ accessTokenExpiresAt?: boolean;
16655
+ refreshTokenExpiresAt?: boolean;
16932
16656
  token_type?: boolean;
16933
16657
  scope?: boolean;
16934
16658
  id_token?: boolean;
16935
16659
  session_state?: boolean;
16660
+ createdAt?: boolean;
16661
+ updatedAt?: boolean;
16936
16662
  user?: boolean | UserDefaultArgs<ExtArgs>;
16937
16663
  }, ExtArgs["result"]["account"]>;
16938
16664
  export type AccountSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
@@ -16941,13 +16667,18 @@ declare namespace Prisma {
16941
16667
  type?: boolean;
16942
16668
  provider?: boolean;
16943
16669
  providerAccountId?: boolean;
16670
+ password?: boolean;
16944
16671
  refresh_token?: boolean;
16945
16672
  access_token?: boolean;
16946
16673
  expires_at?: boolean;
16674
+ accessTokenExpiresAt?: boolean;
16675
+ refreshTokenExpiresAt?: boolean;
16947
16676
  token_type?: boolean;
16948
16677
  scope?: boolean;
16949
16678
  id_token?: boolean;
16950
16679
  session_state?: boolean;
16680
+ createdAt?: boolean;
16681
+ updatedAt?: boolean;
16951
16682
  user?: boolean | UserDefaultArgs<ExtArgs>;
16952
16683
  }, ExtArgs["result"]["account"]>;
16953
16684
  export type AccountSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
@@ -16956,13 +16687,18 @@ declare namespace Prisma {
16956
16687
  type?: boolean;
16957
16688
  provider?: boolean;
16958
16689
  providerAccountId?: boolean;
16690
+ password?: boolean;
16959
16691
  refresh_token?: boolean;
16960
16692
  access_token?: boolean;
16961
16693
  expires_at?: boolean;
16694
+ accessTokenExpiresAt?: boolean;
16695
+ refreshTokenExpiresAt?: boolean;
16962
16696
  token_type?: boolean;
16963
16697
  scope?: boolean;
16964
16698
  id_token?: boolean;
16965
16699
  session_state?: boolean;
16700
+ createdAt?: boolean;
16701
+ updatedAt?: boolean;
16966
16702
  user?: boolean | UserDefaultArgs<ExtArgs>;
16967
16703
  }, ExtArgs["result"]["account"]>;
16968
16704
  export type AccountSelectScalar = {
@@ -16971,15 +16707,20 @@ declare namespace Prisma {
16971
16707
  type?: boolean;
16972
16708
  provider?: boolean;
16973
16709
  providerAccountId?: boolean;
16710
+ password?: boolean;
16974
16711
  refresh_token?: boolean;
16975
16712
  access_token?: boolean;
16976
16713
  expires_at?: boolean;
16714
+ accessTokenExpiresAt?: boolean;
16715
+ refreshTokenExpiresAt?: boolean;
16977
16716
  token_type?: boolean;
16978
16717
  scope?: boolean;
16979
16718
  id_token?: boolean;
16980
16719
  session_state?: boolean;
16720
+ createdAt?: boolean;
16721
+ updatedAt?: boolean;
16981
16722
  };
16982
- export type AccountOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "userId" | "type" | "provider" | "providerAccountId" | "refresh_token" | "access_token" | "expires_at" | "token_type" | "scope" | "id_token" | "session_state", ExtArgs["result"]["account"]>;
16723
+ export type AccountOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "userId" | "type" | "provider" | "providerAccountId" | "password" | "refresh_token" | "access_token" | "expires_at" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "token_type" | "scope" | "id_token" | "session_state" | "createdAt" | "updatedAt", ExtArgs["result"]["account"]>;
16983
16724
  export type AccountInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16984
16725
  user?: boolean | UserDefaultArgs<ExtArgs>;
16985
16726
  };
@@ -16997,16 +16738,30 @@ declare namespace Prisma {
16997
16738
  scalars: $Extensions.GetPayloadResult<{
16998
16739
  id: string;
16999
16740
  userId: string;
16741
+ /**
16742
+ * Legacy Auth.js discriminator; Better Auth omits it on create — default keeps OAuth/credential rows valid.
16743
+ */
17000
16744
  type: string;
17001
16745
  provider: string;
17002
16746
  providerAccountId: string;
16747
+ /**
16748
+ * Better Auth email/password (credential provider) hash; kept in sync with `User.passwordHash` for local flows.
16749
+ */
16750
+ password: string | null;
17003
16751
  refresh_token: string | null;
17004
16752
  access_token: string | null;
16753
+ /**
16754
+ * Legacy Auth.js unix seconds expiry; retained for existing rows only.
16755
+ */
17005
16756
  expires_at: number | null;
16757
+ accessTokenExpiresAt: Date | null;
16758
+ refreshTokenExpiresAt: Date | null;
17006
16759
  token_type: string | null;
17007
16760
  scope: string | null;
17008
16761
  id_token: string | null;
17009
16762
  session_state: string | null;
16763
+ createdAt: Date;
16764
+ updatedAt: Date;
17010
16765
  }, ExtArgs["result"]["account"]>;
17011
16766
  composites: {};
17012
16767
  };
@@ -17372,13 +17127,18 @@ declare namespace Prisma {
17372
17127
  readonly type: FieldRef<"Account", 'String'>;
17373
17128
  readonly provider: FieldRef<"Account", 'String'>;
17374
17129
  readonly providerAccountId: FieldRef<"Account", 'String'>;
17130
+ readonly password: FieldRef<"Account", 'String'>;
17375
17131
  readonly refresh_token: FieldRef<"Account", 'String'>;
17376
17132
  readonly access_token: FieldRef<"Account", 'String'>;
17377
17133
  readonly expires_at: FieldRef<"Account", 'Int'>;
17134
+ readonly accessTokenExpiresAt: FieldRef<"Account", 'DateTime'>;
17135
+ readonly refreshTokenExpiresAt: FieldRef<"Account", 'DateTime'>;
17378
17136
  readonly token_type: FieldRef<"Account", 'String'>;
17379
17137
  readonly scope: FieldRef<"Account", 'String'>;
17380
17138
  readonly id_token: FieldRef<"Account", 'String'>;
17381
17139
  readonly session_state: FieldRef<"Account", 'String'>;
17140
+ readonly createdAt: FieldRef<"Account", 'DateTime'>;
17141
+ readonly updatedAt: FieldRef<"Account", 'DateTime'>;
17382
17142
  }
17383
17143
 
17384
17144
  // Custom InputTypes
@@ -17810,18 +17570,30 @@ declare namespace Prisma {
17810
17570
  sessionToken: string | null;
17811
17571
  userId: string | null;
17812
17572
  expires: Date | null;
17573
+ createdAt: Date | null;
17574
+ updatedAt: Date | null;
17575
+ ipAddress: string | null;
17576
+ userAgent: string | null;
17813
17577
  };
17814
17578
  export type SessionMaxAggregateOutputType = {
17815
17579
  id: string | null;
17816
17580
  sessionToken: string | null;
17817
17581
  userId: string | null;
17818
17582
  expires: Date | null;
17583
+ createdAt: Date | null;
17584
+ updatedAt: Date | null;
17585
+ ipAddress: string | null;
17586
+ userAgent: string | null;
17819
17587
  };
17820
17588
  export type SessionCountAggregateOutputType = {
17821
17589
  id: number;
17822
17590
  sessionToken: number;
17823
17591
  userId: number;
17824
17592
  expires: number;
17593
+ createdAt: number;
17594
+ updatedAt: number;
17595
+ ipAddress: number;
17596
+ userAgent: number;
17825
17597
  _all: number;
17826
17598
  };
17827
17599
  export type SessionMinAggregateInputType = {
@@ -17829,18 +17601,30 @@ declare namespace Prisma {
17829
17601
  sessionToken?: true;
17830
17602
  userId?: true;
17831
17603
  expires?: true;
17604
+ createdAt?: true;
17605
+ updatedAt?: true;
17606
+ ipAddress?: true;
17607
+ userAgent?: true;
17832
17608
  };
17833
17609
  export type SessionMaxAggregateInputType = {
17834
17610
  id?: true;
17835
17611
  sessionToken?: true;
17836
17612
  userId?: true;
17837
17613
  expires?: true;
17614
+ createdAt?: true;
17615
+ updatedAt?: true;
17616
+ ipAddress?: true;
17617
+ userAgent?: true;
17838
17618
  };
17839
17619
  export type SessionCountAggregateInputType = {
17840
17620
  id?: true;
17841
17621
  sessionToken?: true;
17842
17622
  userId?: true;
17843
17623
  expires?: true;
17624
+ createdAt?: true;
17625
+ updatedAt?: true;
17626
+ ipAddress?: true;
17627
+ userAgent?: true;
17844
17628
  _all?: true;
17845
17629
  };
17846
17630
  export type SessionAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -17908,6 +17692,10 @@ declare namespace Prisma {
17908
17692
  sessionToken: string;
17909
17693
  userId: string;
17910
17694
  expires: Date;
17695
+ createdAt: Date;
17696
+ updatedAt: Date;
17697
+ ipAddress: string | null;
17698
+ userAgent: string | null;
17911
17699
  _count: SessionCountAggregateOutputType | null;
17912
17700
  _min: SessionMinAggregateOutputType | null;
17913
17701
  _max: SessionMaxAggregateOutputType | null;
@@ -17918,6 +17706,10 @@ declare namespace Prisma {
17918
17706
  sessionToken?: boolean;
17919
17707
  userId?: boolean;
17920
17708
  expires?: boolean;
17709
+ createdAt?: boolean;
17710
+ updatedAt?: boolean;
17711
+ ipAddress?: boolean;
17712
+ userAgent?: boolean;
17921
17713
  user?: boolean | UserDefaultArgs<ExtArgs>;
17922
17714
  }, ExtArgs["result"]["session"]>;
17923
17715
  export type SessionSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
@@ -17925,6 +17717,10 @@ declare namespace Prisma {
17925
17717
  sessionToken?: boolean;
17926
17718
  userId?: boolean;
17927
17719
  expires?: boolean;
17720
+ createdAt?: boolean;
17721
+ updatedAt?: boolean;
17722
+ ipAddress?: boolean;
17723
+ userAgent?: boolean;
17928
17724
  user?: boolean | UserDefaultArgs<ExtArgs>;
17929
17725
  }, ExtArgs["result"]["session"]>;
17930
17726
  export type SessionSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
@@ -17932,6 +17728,10 @@ declare namespace Prisma {
17932
17728
  sessionToken?: boolean;
17933
17729
  userId?: boolean;
17934
17730
  expires?: boolean;
17731
+ createdAt?: boolean;
17732
+ updatedAt?: boolean;
17733
+ ipAddress?: boolean;
17734
+ userAgent?: boolean;
17935
17735
  user?: boolean | UserDefaultArgs<ExtArgs>;
17936
17736
  }, ExtArgs["result"]["session"]>;
17937
17737
  export type SessionSelectScalar = {
@@ -17939,8 +17739,12 @@ declare namespace Prisma {
17939
17739
  sessionToken?: boolean;
17940
17740
  userId?: boolean;
17941
17741
  expires?: boolean;
17742
+ createdAt?: boolean;
17743
+ updatedAt?: boolean;
17744
+ ipAddress?: boolean;
17745
+ userAgent?: boolean;
17942
17746
  };
17943
- export type SessionOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "sessionToken" | "userId" | "expires", ExtArgs["result"]["session"]>;
17747
+ export type SessionOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "sessionToken" | "userId" | "expires" | "createdAt" | "updatedAt" | "ipAddress" | "userAgent", ExtArgs["result"]["session"]>;
17944
17748
  export type SessionInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17945
17749
  user?: boolean | UserDefaultArgs<ExtArgs>;
17946
17750
  };
@@ -17960,6 +17764,10 @@ declare namespace Prisma {
17960
17764
  sessionToken: string;
17961
17765
  userId: string;
17962
17766
  expires: Date;
17767
+ createdAt: Date;
17768
+ updatedAt: Date;
17769
+ ipAddress: string | null;
17770
+ userAgent: string | null;
17963
17771
  }, ExtArgs["result"]["session"]>;
17964
17772
  composites: {};
17965
17773
  };
@@ -18324,6 +18132,10 @@ declare namespace Prisma {
18324
18132
  readonly sessionToken: FieldRef<"Session", 'String'>;
18325
18133
  readonly userId: FieldRef<"Session", 'String'>;
18326
18134
  readonly expires: FieldRef<"Session", 'DateTime'>;
18135
+ readonly createdAt: FieldRef<"Session", 'DateTime'>;
18136
+ readonly updatedAt: FieldRef<"Session", 'DateTime'>;
18137
+ readonly ipAddress: FieldRef<"Session", 'String'>;
18138
+ readonly userAgent: FieldRef<"Session", 'String'>;
18327
18139
  }
18328
18140
 
18329
18141
  // Custom InputTypes
@@ -18751,35 +18563,53 @@ declare namespace Prisma {
18751
18563
  _max: VerificationTokenMaxAggregateOutputType | null;
18752
18564
  };
18753
18565
  export type VerificationTokenMinAggregateOutputType = {
18566
+ id: string | null;
18754
18567
  identifier: string | null;
18755
18568
  token: string | null;
18756
18569
  expires: Date | null;
18570
+ createdAt: Date | null;
18571
+ updatedAt: Date | null;
18757
18572
  };
18758
18573
  export type VerificationTokenMaxAggregateOutputType = {
18574
+ id: string | null;
18759
18575
  identifier: string | null;
18760
18576
  token: string | null;
18761
18577
  expires: Date | null;
18578
+ createdAt: Date | null;
18579
+ updatedAt: Date | null;
18762
18580
  };
18763
18581
  export type VerificationTokenCountAggregateOutputType = {
18582
+ id: number;
18764
18583
  identifier: number;
18765
18584
  token: number;
18766
18585
  expires: number;
18586
+ createdAt: number;
18587
+ updatedAt: number;
18767
18588
  _all: number;
18768
18589
  };
18769
18590
  export type VerificationTokenMinAggregateInputType = {
18591
+ id?: true;
18770
18592
  identifier?: true;
18771
18593
  token?: true;
18772
18594
  expires?: true;
18595
+ createdAt?: true;
18596
+ updatedAt?: true;
18773
18597
  };
18774
18598
  export type VerificationTokenMaxAggregateInputType = {
18599
+ id?: true;
18775
18600
  identifier?: true;
18776
18601
  token?: true;
18777
18602
  expires?: true;
18603
+ createdAt?: true;
18604
+ updatedAt?: true;
18778
18605
  };
18779
18606
  export type VerificationTokenCountAggregateInputType = {
18607
+ id?: true;
18780
18608
  identifier?: true;
18781
18609
  token?: true;
18782
18610
  expires?: true;
18611
+ createdAt?: true;
18612
+ updatedAt?: true;
18783
18613
  _all?: true;
18784
18614
  };
18785
18615
  export type VerificationTokenAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -18843,42 +18673,60 @@ declare namespace Prisma {
18843
18673
  _max?: VerificationTokenMaxAggregateInputType;
18844
18674
  };
18845
18675
  export type VerificationTokenGroupByOutputType = {
18676
+ id: string;
18846
18677
  identifier: string;
18847
18678
  token: string;
18848
18679
  expires: Date;
18680
+ createdAt: Date;
18681
+ updatedAt: Date;
18849
18682
  _count: VerificationTokenCountAggregateOutputType | null;
18850
18683
  _min: VerificationTokenMinAggregateOutputType | null;
18851
18684
  _max: VerificationTokenMaxAggregateOutputType | null;
18852
18685
  };
18853
18686
  type GetVerificationTokenGroupByPayload<T$1 extends VerificationTokenGroupByArgs> = Prisma.PrismaPromise<Array<PickEnumerable<VerificationTokenGroupByOutputType, T$1['by']> & { [P in ((keyof T$1) & (keyof VerificationTokenGroupByOutputType))]: P extends '_count' ? T$1[P] extends boolean ? number : GetScalarType<T$1[P], VerificationTokenGroupByOutputType[P]> : GetScalarType<T$1[P], VerificationTokenGroupByOutputType[P]> }>>;
18854
18687
  export type VerificationTokenSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
18688
+ id?: boolean;
18855
18689
  identifier?: boolean;
18856
18690
  token?: boolean;
18857
18691
  expires?: boolean;
18692
+ createdAt?: boolean;
18693
+ updatedAt?: boolean;
18858
18694
  }, ExtArgs["result"]["verificationToken"]>;
18859
18695
  export type VerificationTokenSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
18696
+ id?: boolean;
18860
18697
  identifier?: boolean;
18861
18698
  token?: boolean;
18862
18699
  expires?: boolean;
18700
+ createdAt?: boolean;
18701
+ updatedAt?: boolean;
18863
18702
  }, ExtArgs["result"]["verificationToken"]>;
18864
18703
  export type VerificationTokenSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
18704
+ id?: boolean;
18865
18705
  identifier?: boolean;
18866
18706
  token?: boolean;
18867
18707
  expires?: boolean;
18708
+ createdAt?: boolean;
18709
+ updatedAt?: boolean;
18868
18710
  }, ExtArgs["result"]["verificationToken"]>;
18869
18711
  export type VerificationTokenSelectScalar = {
18712
+ id?: boolean;
18870
18713
  identifier?: boolean;
18871
18714
  token?: boolean;
18872
18715
  expires?: boolean;
18716
+ createdAt?: boolean;
18717
+ updatedAt?: boolean;
18873
18718
  };
18874
- export type VerificationTokenOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"identifier" | "token" | "expires", ExtArgs["result"]["verificationToken"]>;
18719
+ export type VerificationTokenOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "identifier" | "token" | "expires" | "createdAt" | "updatedAt", ExtArgs["result"]["verificationToken"]>;
18875
18720
  export type $VerificationTokenPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
18876
18721
  name: "VerificationToken";
18877
18722
  objects: {};
18878
18723
  scalars: $Extensions.GetPayloadResult<{
18724
+ id: string;
18879
18725
  identifier: string;
18880
18726
  token: string;
18881
18727
  expires: Date;
18728
+ createdAt: Date;
18729
+ updatedAt: Date;
18882
18730
  }, ExtArgs["result"]["verificationToken"]>;
18883
18731
  composites: {};
18884
18732
  };
@@ -18963,8 +18811,8 @@ declare namespace Prisma {
18963
18811
  * // Get first 10 VerificationTokens
18964
18812
  * const verificationTokens = await prisma.verificationToken.findMany({ take: 10 })
18965
18813
  *
18966
- * // Only select the `identifier`
18967
- * const verificationTokenWithIdentifierOnly = await prisma.verificationToken.findMany({ select: { identifier: true } })
18814
+ * // Only select the `id`
18815
+ * const verificationTokenWithIdOnly = await prisma.verificationToken.findMany({ select: { id: true } })
18968
18816
  *
18969
18817
  */
18970
18818
  findMany<T$1 extends VerificationTokenFindManyArgs>(args?: SelectSubset<T$1, VerificationTokenFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VerificationTokenPayload<ExtArgs>, T$1, "findMany", GlobalOmitOptions$1>>;
@@ -19008,9 +18856,9 @@ declare namespace Prisma {
19008
18856
  * ]
19009
18857
  * })
19010
18858
  *
19011
- * // Create many VerificationTokens and only return the `identifier`
19012
- * const verificationTokenWithIdentifierOnly = await prisma.verificationToken.createManyAndReturn({
19013
- * select: { identifier: true },
18859
+ * // Create many VerificationTokens and only return the `id`
18860
+ * const verificationTokenWithIdOnly = await prisma.verificationToken.createManyAndReturn({
18861
+ * select: { id: true },
19014
18862
  * data: [
19015
18863
  * // ... provide data here
19016
18864
  * ]
@@ -19099,9 +18947,9 @@ declare namespace Prisma {
19099
18947
  * ]
19100
18948
  * })
19101
18949
  *
19102
- * // Update zero or more VerificationTokens and only return the `identifier`
19103
- * const verificationTokenWithIdentifierOnly = await prisma.verificationToken.updateManyAndReturn({
19104
- * select: { identifier: true },
18950
+ * // Update zero or more VerificationTokens and only return the `id`
18951
+ * const verificationTokenWithIdOnly = await prisma.verificationToken.updateManyAndReturn({
18952
+ * select: { id: true },
19105
18953
  * where: {
19106
18954
  * // ... provide filter here
19107
18955
  * },
@@ -19238,9 +19086,12 @@ declare namespace Prisma {
19238
19086
  * Fields of the VerificationToken model
19239
19087
  */
19240
19088
  interface VerificationTokenFieldRefs {
19089
+ readonly id: FieldRef<"VerificationToken", 'String'>;
19241
19090
  readonly identifier: FieldRef<"VerificationToken", 'String'>;
19242
19091
  readonly token: FieldRef<"VerificationToken", 'String'>;
19243
19092
  readonly expires: FieldRef<"VerificationToken", 'DateTime'>;
19093
+ readonly createdAt: FieldRef<"VerificationToken", 'DateTime'>;
19094
+ readonly updatedAt: FieldRef<"VerificationToken", 'DateTime'>;
19244
19095
  }
19245
19096
 
19246
19097
  // Custom InputTypes
@@ -19721,6 +19572,8 @@ declare namespace Prisma {
19721
19572
  image: 'image';
19722
19573
  passwordHash: 'passwordHash';
19723
19574
  accountStatus: 'accountStatus';
19575
+ createdAt: 'createdAt';
19576
+ updatedAt: 'updatedAt';
19724
19577
  };
19725
19578
  export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum];
19726
19579
  export const UserInviteScalarFieldEnum: {
@@ -19738,13 +19591,18 @@ declare namespace Prisma {
19738
19591
  type: 'type';
19739
19592
  provider: 'provider';
19740
19593
  providerAccountId: 'providerAccountId';
19594
+ password: 'password';
19741
19595
  refresh_token: 'refresh_token';
19742
19596
  access_token: 'access_token';
19743
19597
  expires_at: 'expires_at';
19598
+ accessTokenExpiresAt: 'accessTokenExpiresAt';
19599
+ refreshTokenExpiresAt: 'refreshTokenExpiresAt';
19744
19600
  token_type: 'token_type';
19745
19601
  scope: 'scope';
19746
19602
  id_token: 'id_token';
19747
19603
  session_state: 'session_state';
19604
+ createdAt: 'createdAt';
19605
+ updatedAt: 'updatedAt';
19748
19606
  };
19749
19607
  export type AccountScalarFieldEnum = (typeof AccountScalarFieldEnum)[keyof typeof AccountScalarFieldEnum];
19750
19608
  export const SessionScalarFieldEnum: {
@@ -19752,12 +19610,19 @@ declare namespace Prisma {
19752
19610
  sessionToken: 'sessionToken';
19753
19611
  userId: 'userId';
19754
19612
  expires: 'expires';
19613
+ createdAt: 'createdAt';
19614
+ updatedAt: 'updatedAt';
19615
+ ipAddress: 'ipAddress';
19616
+ userAgent: 'userAgent';
19755
19617
  };
19756
19618
  export type SessionScalarFieldEnum = (typeof SessionScalarFieldEnum)[keyof typeof SessionScalarFieldEnum];
19757
19619
  export const VerificationTokenScalarFieldEnum: {
19620
+ id: 'id';
19758
19621
  identifier: 'identifier';
19759
19622
  token: 'token';
19760
19623
  expires: 'expires';
19624
+ createdAt: 'createdAt';
19625
+ updatedAt: 'updatedAt';
19761
19626
  };
19762
19627
  export type VerificationTokenScalarFieldEnum = (typeof VerificationTokenScalarFieldEnum)[keyof typeof VerificationTokenScalarFieldEnum];
19763
19628
  export const SortOrder: {
@@ -20372,10 +20237,12 @@ declare namespace Prisma {
20372
20237
  id?: StringFilter<"User"> | string;
20373
20238
  name?: StringNullableFilter<"User"> | string | null;
20374
20239
  email?: StringNullableFilter<"User"> | string | null;
20375
- emailVerified?: DateTimeNullableFilter<"User"> | Date | string | null;
20240
+ emailVerified?: BoolFilter<"User"> | boolean;
20376
20241
  image?: StringNullableFilter<"User"> | string | null;
20377
20242
  passwordHash?: StringNullableFilter<"User"> | string | null;
20378
20243
  accountStatus?: StringFilter<"User"> | string;
20244
+ createdAt?: DateTimeFilter<"User"> | Date | string;
20245
+ updatedAt?: DateTimeFilter<"User"> | Date | string;
20379
20246
  accounts?: AccountListRelationFilter;
20380
20247
  sessions?: SessionListRelationFilter;
20381
20248
  invites?: UserInviteListRelationFilter;
@@ -20384,10 +20251,12 @@ declare namespace Prisma {
20384
20251
  id?: SortOrder;
20385
20252
  name?: SortOrderInput | SortOrder;
20386
20253
  email?: SortOrderInput | SortOrder;
20387
- emailVerified?: SortOrderInput | SortOrder;
20254
+ emailVerified?: SortOrder;
20388
20255
  image?: SortOrderInput | SortOrder;
20389
20256
  passwordHash?: SortOrderInput | SortOrder;
20390
20257
  accountStatus?: SortOrder;
20258
+ createdAt?: SortOrder;
20259
+ updatedAt?: SortOrder;
20391
20260
  accounts?: AccountOrderByRelationAggregateInput;
20392
20261
  sessions?: SessionOrderByRelationAggregateInput;
20393
20262
  invites?: UserInviteOrderByRelationAggregateInput;
@@ -20399,10 +20268,12 @@ declare namespace Prisma {
20399
20268
  OR?: UserWhereInput[];
20400
20269
  NOT?: UserWhereInput | UserWhereInput[];
20401
20270
  name?: StringNullableFilter<"User"> | string | null;
20402
- emailVerified?: DateTimeNullableFilter<"User"> | Date | string | null;
20271
+ emailVerified?: BoolFilter<"User"> | boolean;
20403
20272
  image?: StringNullableFilter<"User"> | string | null;
20404
20273
  passwordHash?: StringNullableFilter<"User"> | string | null;
20405
20274
  accountStatus?: StringFilter<"User"> | string;
20275
+ createdAt?: DateTimeFilter<"User"> | Date | string;
20276
+ updatedAt?: DateTimeFilter<"User"> | Date | string;
20406
20277
  accounts?: AccountListRelationFilter;
20407
20278
  sessions?: SessionListRelationFilter;
20408
20279
  invites?: UserInviteListRelationFilter;
@@ -20411,10 +20282,12 @@ declare namespace Prisma {
20411
20282
  id?: SortOrder;
20412
20283
  name?: SortOrderInput | SortOrder;
20413
20284
  email?: SortOrderInput | SortOrder;
20414
- emailVerified?: SortOrderInput | SortOrder;
20285
+ emailVerified?: SortOrder;
20415
20286
  image?: SortOrderInput | SortOrder;
20416
20287
  passwordHash?: SortOrderInput | SortOrder;
20417
20288
  accountStatus?: SortOrder;
20289
+ createdAt?: SortOrder;
20290
+ updatedAt?: SortOrder;
20418
20291
  _count?: UserCountOrderByAggregateInput;
20419
20292
  _max?: UserMaxOrderByAggregateInput;
20420
20293
  _min?: UserMinOrderByAggregateInput;
@@ -20426,10 +20299,12 @@ declare namespace Prisma {
20426
20299
  id?: StringWithAggregatesFilter<"User"> | string;
20427
20300
  name?: StringNullableWithAggregatesFilter<"User"> | string | null;
20428
20301
  email?: StringNullableWithAggregatesFilter<"User"> | string | null;
20429
- emailVerified?: DateTimeNullableWithAggregatesFilter<"User"> | Date | string | null;
20302
+ emailVerified?: BoolWithAggregatesFilter<"User"> | boolean;
20430
20303
  image?: StringNullableWithAggregatesFilter<"User"> | string | null;
20431
20304
  passwordHash?: StringNullableWithAggregatesFilter<"User"> | string | null;
20432
20305
  accountStatus?: StringWithAggregatesFilter<"User"> | string;
20306
+ createdAt?: DateTimeWithAggregatesFilter<"User"> | Date | string;
20307
+ updatedAt?: DateTimeWithAggregatesFilter<"User"> | Date | string;
20433
20308
  };
20434
20309
  export type UserInviteWhereInput = {
20435
20310
  AND?: UserInviteWhereInput | UserInviteWhereInput[];
@@ -20495,13 +20370,18 @@ declare namespace Prisma {
20495
20370
  type?: StringFilter<"Account"> | string;
20496
20371
  provider?: StringFilter<"Account"> | string;
20497
20372
  providerAccountId?: StringFilter<"Account"> | string;
20373
+ password?: StringNullableFilter<"Account"> | string | null;
20498
20374
  refresh_token?: StringNullableFilter<"Account"> | string | null;
20499
20375
  access_token?: StringNullableFilter<"Account"> | string | null;
20500
20376
  expires_at?: IntNullableFilter<"Account"> | number | null;
20377
+ accessTokenExpiresAt?: DateTimeNullableFilter<"Account"> | Date | string | null;
20378
+ refreshTokenExpiresAt?: DateTimeNullableFilter<"Account"> | Date | string | null;
20501
20379
  token_type?: StringNullableFilter<"Account"> | string | null;
20502
20380
  scope?: StringNullableFilter<"Account"> | string | null;
20503
20381
  id_token?: StringNullableFilter<"Account"> | string | null;
20504
20382
  session_state?: StringNullableFilter<"Account"> | string | null;
20383
+ createdAt?: DateTimeFilter<"Account"> | Date | string;
20384
+ updatedAt?: DateTimeFilter<"Account"> | Date | string;
20505
20385
  user?: XOR<UserScalarRelationFilter, UserWhereInput>;
20506
20386
  };
20507
20387
  export type AccountOrderByWithRelationInput = {
@@ -20510,13 +20390,18 @@ declare namespace Prisma {
20510
20390
  type?: SortOrder;
20511
20391
  provider?: SortOrder;
20512
20392
  providerAccountId?: SortOrder;
20393
+ password?: SortOrderInput | SortOrder;
20513
20394
  refresh_token?: SortOrderInput | SortOrder;
20514
20395
  access_token?: SortOrderInput | SortOrder;
20515
20396
  expires_at?: SortOrderInput | SortOrder;
20397
+ accessTokenExpiresAt?: SortOrderInput | SortOrder;
20398
+ refreshTokenExpiresAt?: SortOrderInput | SortOrder;
20516
20399
  token_type?: SortOrderInput | SortOrder;
20517
20400
  scope?: SortOrderInput | SortOrder;
20518
20401
  id_token?: SortOrderInput | SortOrder;
20519
20402
  session_state?: SortOrderInput | SortOrder;
20403
+ createdAt?: SortOrder;
20404
+ updatedAt?: SortOrder;
20520
20405
  user?: UserOrderByWithRelationInput;
20521
20406
  };
20522
20407
  export type AccountWhereUniqueInput = Prisma.AtLeast<{
@@ -20529,13 +20414,18 @@ declare namespace Prisma {
20529
20414
  type?: StringFilter<"Account"> | string;
20530
20415
  provider?: StringFilter<"Account"> | string;
20531
20416
  providerAccountId?: StringFilter<"Account"> | string;
20417
+ password?: StringNullableFilter<"Account"> | string | null;
20532
20418
  refresh_token?: StringNullableFilter<"Account"> | string | null;
20533
20419
  access_token?: StringNullableFilter<"Account"> | string | null;
20534
20420
  expires_at?: IntNullableFilter<"Account"> | number | null;
20421
+ accessTokenExpiresAt?: DateTimeNullableFilter<"Account"> | Date | string | null;
20422
+ refreshTokenExpiresAt?: DateTimeNullableFilter<"Account"> | Date | string | null;
20535
20423
  token_type?: StringNullableFilter<"Account"> | string | null;
20536
20424
  scope?: StringNullableFilter<"Account"> | string | null;
20537
20425
  id_token?: StringNullableFilter<"Account"> | string | null;
20538
20426
  session_state?: StringNullableFilter<"Account"> | string | null;
20427
+ createdAt?: DateTimeFilter<"Account"> | Date | string;
20428
+ updatedAt?: DateTimeFilter<"Account"> | Date | string;
20539
20429
  user?: XOR<UserScalarRelationFilter, UserWhereInput>;
20540
20430
  }, "id" | "provider_providerAccountId">;
20541
20431
  export type AccountOrderByWithAggregationInput = {
@@ -20544,13 +20434,18 @@ declare namespace Prisma {
20544
20434
  type?: SortOrder;
20545
20435
  provider?: SortOrder;
20546
20436
  providerAccountId?: SortOrder;
20437
+ password?: SortOrderInput | SortOrder;
20547
20438
  refresh_token?: SortOrderInput | SortOrder;
20548
20439
  access_token?: SortOrderInput | SortOrder;
20549
20440
  expires_at?: SortOrderInput | SortOrder;
20441
+ accessTokenExpiresAt?: SortOrderInput | SortOrder;
20442
+ refreshTokenExpiresAt?: SortOrderInput | SortOrder;
20550
20443
  token_type?: SortOrderInput | SortOrder;
20551
20444
  scope?: SortOrderInput | SortOrder;
20552
20445
  id_token?: SortOrderInput | SortOrder;
20553
20446
  session_state?: SortOrderInput | SortOrder;
20447
+ createdAt?: SortOrder;
20448
+ updatedAt?: SortOrder;
20554
20449
  _count?: AccountCountOrderByAggregateInput;
20555
20450
  _avg?: AccountAvgOrderByAggregateInput;
20556
20451
  _max?: AccountMaxOrderByAggregateInput;
@@ -20566,13 +20461,18 @@ declare namespace Prisma {
20566
20461
  type?: StringWithAggregatesFilter<"Account"> | string;
20567
20462
  provider?: StringWithAggregatesFilter<"Account"> | string;
20568
20463
  providerAccountId?: StringWithAggregatesFilter<"Account"> | string;
20464
+ password?: StringNullableWithAggregatesFilter<"Account"> | string | null;
20569
20465
  refresh_token?: StringNullableWithAggregatesFilter<"Account"> | string | null;
20570
20466
  access_token?: StringNullableWithAggregatesFilter<"Account"> | string | null;
20571
20467
  expires_at?: IntNullableWithAggregatesFilter<"Account"> | number | null;
20468
+ accessTokenExpiresAt?: DateTimeNullableWithAggregatesFilter<"Account"> | Date | string | null;
20469
+ refreshTokenExpiresAt?: DateTimeNullableWithAggregatesFilter<"Account"> | Date | string | null;
20572
20470
  token_type?: StringNullableWithAggregatesFilter<"Account"> | string | null;
20573
20471
  scope?: StringNullableWithAggregatesFilter<"Account"> | string | null;
20574
20472
  id_token?: StringNullableWithAggregatesFilter<"Account"> | string | null;
20575
20473
  session_state?: StringNullableWithAggregatesFilter<"Account"> | string | null;
20474
+ createdAt?: DateTimeWithAggregatesFilter<"Account"> | Date | string;
20475
+ updatedAt?: DateTimeWithAggregatesFilter<"Account"> | Date | string;
20576
20476
  };
20577
20477
  export type SessionWhereInput = {
20578
20478
  AND?: SessionWhereInput | SessionWhereInput[];
@@ -20582,6 +20482,10 @@ declare namespace Prisma {
20582
20482
  sessionToken?: StringFilter<"Session"> | string;
20583
20483
  userId?: StringFilter<"Session"> | string;
20584
20484
  expires?: DateTimeFilter<"Session"> | Date | string;
20485
+ createdAt?: DateTimeFilter<"Session"> | Date | string;
20486
+ updatedAt?: DateTimeFilter<"Session"> | Date | string;
20487
+ ipAddress?: StringNullableFilter<"Session"> | string | null;
20488
+ userAgent?: StringNullableFilter<"Session"> | string | null;
20585
20489
  user?: XOR<UserScalarRelationFilter, UserWhereInput>;
20586
20490
  };
20587
20491
  export type SessionOrderByWithRelationInput = {
@@ -20589,6 +20493,10 @@ declare namespace Prisma {
20589
20493
  sessionToken?: SortOrder;
20590
20494
  userId?: SortOrder;
20591
20495
  expires?: SortOrder;
20496
+ createdAt?: SortOrder;
20497
+ updatedAt?: SortOrder;
20498
+ ipAddress?: SortOrderInput | SortOrder;
20499
+ userAgent?: SortOrderInput | SortOrder;
20592
20500
  user?: UserOrderByWithRelationInput;
20593
20501
  };
20594
20502
  export type SessionWhereUniqueInput = Prisma.AtLeast<{
@@ -20599,6 +20507,10 @@ declare namespace Prisma {
20599
20507
  NOT?: SessionWhereInput | SessionWhereInput[];
20600
20508
  userId?: StringFilter<"Session"> | string;
20601
20509
  expires?: DateTimeFilter<"Session"> | Date | string;
20510
+ createdAt?: DateTimeFilter<"Session"> | Date | string;
20511
+ updatedAt?: DateTimeFilter<"Session"> | Date | string;
20512
+ ipAddress?: StringNullableFilter<"Session"> | string | null;
20513
+ userAgent?: StringNullableFilter<"Session"> | string | null;
20602
20514
  user?: XOR<UserScalarRelationFilter, UserWhereInput>;
20603
20515
  }, "id" | "sessionToken">;
20604
20516
  export type SessionOrderByWithAggregationInput = {
@@ -20606,6 +20518,10 @@ declare namespace Prisma {
20606
20518
  sessionToken?: SortOrder;
20607
20519
  userId?: SortOrder;
20608
20520
  expires?: SortOrder;
20521
+ createdAt?: SortOrder;
20522
+ updatedAt?: SortOrder;
20523
+ ipAddress?: SortOrderInput | SortOrder;
20524
+ userAgent?: SortOrderInput | SortOrder;
20609
20525
  _count?: SessionCountOrderByAggregateInput;
20610
20526
  _max?: SessionMaxOrderByAggregateInput;
20611
20527
  _min?: SessionMinOrderByAggregateInput;
@@ -20618,21 +20534,32 @@ declare namespace Prisma {
20618
20534
  sessionToken?: StringWithAggregatesFilter<"Session"> | string;
20619
20535
  userId?: StringWithAggregatesFilter<"Session"> | string;
20620
20536
  expires?: DateTimeWithAggregatesFilter<"Session"> | Date | string;
20537
+ createdAt?: DateTimeWithAggregatesFilter<"Session"> | Date | string;
20538
+ updatedAt?: DateTimeWithAggregatesFilter<"Session"> | Date | string;
20539
+ ipAddress?: StringNullableWithAggregatesFilter<"Session"> | string | null;
20540
+ userAgent?: StringNullableWithAggregatesFilter<"Session"> | string | null;
20621
20541
  };
20622
20542
  export type VerificationTokenWhereInput = {
20623
20543
  AND?: VerificationTokenWhereInput | VerificationTokenWhereInput[];
20624
20544
  OR?: VerificationTokenWhereInput[];
20625
20545
  NOT?: VerificationTokenWhereInput | VerificationTokenWhereInput[];
20546
+ id?: StringFilter<"VerificationToken"> | string;
20626
20547
  identifier?: StringFilter<"VerificationToken"> | string;
20627
20548
  token?: StringFilter<"VerificationToken"> | string;
20628
20549
  expires?: DateTimeFilter<"VerificationToken"> | Date | string;
20550
+ createdAt?: DateTimeFilter<"VerificationToken"> | Date | string;
20551
+ updatedAt?: DateTimeFilter<"VerificationToken"> | Date | string;
20629
20552
  };
20630
20553
  export type VerificationTokenOrderByWithRelationInput = {
20554
+ id?: SortOrder;
20631
20555
  identifier?: SortOrder;
20632
20556
  token?: SortOrder;
20633
20557
  expires?: SortOrder;
20558
+ createdAt?: SortOrder;
20559
+ updatedAt?: SortOrder;
20634
20560
  };
20635
20561
  export type VerificationTokenWhereUniqueInput = Prisma.AtLeast<{
20562
+ id?: string;
20636
20563
  identifier_token?: VerificationTokenIdentifierTokenCompoundUniqueInput;
20637
20564
  AND?: VerificationTokenWhereInput | VerificationTokenWhereInput[];
20638
20565
  OR?: VerificationTokenWhereInput[];
@@ -20640,11 +20567,16 @@ declare namespace Prisma {
20640
20567
  identifier?: StringFilter<"VerificationToken"> | string;
20641
20568
  token?: StringFilter<"VerificationToken"> | string;
20642
20569
  expires?: DateTimeFilter<"VerificationToken"> | Date | string;
20643
- }, "identifier_token">;
20570
+ createdAt?: DateTimeFilter<"VerificationToken"> | Date | string;
20571
+ updatedAt?: DateTimeFilter<"VerificationToken"> | Date | string;
20572
+ }, "id" | "identifier_token">;
20644
20573
  export type VerificationTokenOrderByWithAggregationInput = {
20574
+ id?: SortOrder;
20645
20575
  identifier?: SortOrder;
20646
20576
  token?: SortOrder;
20647
20577
  expires?: SortOrder;
20578
+ createdAt?: SortOrder;
20579
+ updatedAt?: SortOrder;
20648
20580
  _count?: VerificationTokenCountOrderByAggregateInput;
20649
20581
  _max?: VerificationTokenMaxOrderByAggregateInput;
20650
20582
  _min?: VerificationTokenMinOrderByAggregateInput;
@@ -20653,9 +20585,12 @@ declare namespace Prisma {
20653
20585
  AND?: VerificationTokenScalarWhereWithAggregatesInput | VerificationTokenScalarWhereWithAggregatesInput[];
20654
20586
  OR?: VerificationTokenScalarWhereWithAggregatesInput[];
20655
20587
  NOT?: VerificationTokenScalarWhereWithAggregatesInput | VerificationTokenScalarWhereWithAggregatesInput[];
20588
+ id?: StringWithAggregatesFilter<"VerificationToken"> | string;
20656
20589
  identifier?: StringWithAggregatesFilter<"VerificationToken"> | string;
20657
20590
  token?: StringWithAggregatesFilter<"VerificationToken"> | string;
20658
20591
  expires?: DateTimeWithAggregatesFilter<"VerificationToken"> | Date | string;
20592
+ createdAt?: DateTimeWithAggregatesFilter<"VerificationToken"> | Date | string;
20593
+ updatedAt?: DateTimeWithAggregatesFilter<"VerificationToken"> | Date | string;
20659
20594
  };
20660
20595
  export type RunCreateInput = {
20661
20596
  runId: string;
@@ -21235,10 +21170,12 @@ declare namespace Prisma {
21235
21170
  id?: string;
21236
21171
  name?: string | null;
21237
21172
  email?: string | null;
21238
- emailVerified?: Date | string | null;
21173
+ emailVerified?: boolean;
21239
21174
  image?: string | null;
21240
21175
  passwordHash?: string | null;
21241
21176
  accountStatus?: string;
21177
+ createdAt?: Date | string;
21178
+ updatedAt?: Date | string;
21242
21179
  accounts?: AccountCreateNestedManyWithoutUserInput;
21243
21180
  sessions?: SessionCreateNestedManyWithoutUserInput;
21244
21181
  invites?: UserInviteCreateNestedManyWithoutUserInput;
@@ -21247,10 +21184,12 @@ declare namespace Prisma {
21247
21184
  id?: string;
21248
21185
  name?: string | null;
21249
21186
  email?: string | null;
21250
- emailVerified?: Date | string | null;
21187
+ emailVerified?: boolean;
21251
21188
  image?: string | null;
21252
21189
  passwordHash?: string | null;
21253
21190
  accountStatus?: string;
21191
+ createdAt?: Date | string;
21192
+ updatedAt?: Date | string;
21254
21193
  accounts?: AccountUncheckedCreateNestedManyWithoutUserInput;
21255
21194
  sessions?: SessionUncheckedCreateNestedManyWithoutUserInput;
21256
21195
  invites?: UserInviteUncheckedCreateNestedManyWithoutUserInput;
@@ -21259,10 +21198,12 @@ declare namespace Prisma {
21259
21198
  id?: StringFieldUpdateOperationsInput | string;
21260
21199
  name?: NullableStringFieldUpdateOperationsInput | string | null;
21261
21200
  email?: NullableStringFieldUpdateOperationsInput | string | null;
21262
- emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
21201
+ emailVerified?: BoolFieldUpdateOperationsInput | boolean;
21263
21202
  image?: NullableStringFieldUpdateOperationsInput | string | null;
21264
21203
  passwordHash?: NullableStringFieldUpdateOperationsInput | string | null;
21265
21204
  accountStatus?: StringFieldUpdateOperationsInput | string;
21205
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21206
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21266
21207
  accounts?: AccountUpdateManyWithoutUserNestedInput;
21267
21208
  sessions?: SessionUpdateManyWithoutUserNestedInput;
21268
21209
  invites?: UserInviteUpdateManyWithoutUserNestedInput;
@@ -21271,10 +21212,12 @@ declare namespace Prisma {
21271
21212
  id?: StringFieldUpdateOperationsInput | string;
21272
21213
  name?: NullableStringFieldUpdateOperationsInput | string | null;
21273
21214
  email?: NullableStringFieldUpdateOperationsInput | string | null;
21274
- emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
21215
+ emailVerified?: BoolFieldUpdateOperationsInput | boolean;
21275
21216
  image?: NullableStringFieldUpdateOperationsInput | string | null;
21276
21217
  passwordHash?: NullableStringFieldUpdateOperationsInput | string | null;
21277
21218
  accountStatus?: StringFieldUpdateOperationsInput | string;
21219
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21220
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21278
21221
  accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput;
21279
21222
  sessions?: SessionUncheckedUpdateManyWithoutUserNestedInput;
21280
21223
  invites?: UserInviteUncheckedUpdateManyWithoutUserNestedInput;
@@ -21283,28 +21226,34 @@ declare namespace Prisma {
21283
21226
  id?: string;
21284
21227
  name?: string | null;
21285
21228
  email?: string | null;
21286
- emailVerified?: Date | string | null;
21229
+ emailVerified?: boolean;
21287
21230
  image?: string | null;
21288
21231
  passwordHash?: string | null;
21289
21232
  accountStatus?: string;
21233
+ createdAt?: Date | string;
21234
+ updatedAt?: Date | string;
21290
21235
  };
21291
21236
  export type UserUpdateManyMutationInput = {
21292
21237
  id?: StringFieldUpdateOperationsInput | string;
21293
21238
  name?: NullableStringFieldUpdateOperationsInput | string | null;
21294
21239
  email?: NullableStringFieldUpdateOperationsInput | string | null;
21295
- emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
21240
+ emailVerified?: BoolFieldUpdateOperationsInput | boolean;
21296
21241
  image?: NullableStringFieldUpdateOperationsInput | string | null;
21297
21242
  passwordHash?: NullableStringFieldUpdateOperationsInput | string | null;
21298
21243
  accountStatus?: StringFieldUpdateOperationsInput | string;
21244
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21245
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21299
21246
  };
21300
21247
  export type UserUncheckedUpdateManyInput = {
21301
21248
  id?: StringFieldUpdateOperationsInput | string;
21302
21249
  name?: NullableStringFieldUpdateOperationsInput | string | null;
21303
21250
  email?: NullableStringFieldUpdateOperationsInput | string | null;
21304
- emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
21251
+ emailVerified?: BoolFieldUpdateOperationsInput | boolean;
21305
21252
  image?: NullableStringFieldUpdateOperationsInput | string | null;
21306
21253
  passwordHash?: NullableStringFieldUpdateOperationsInput | string | null;
21307
21254
  accountStatus?: StringFieldUpdateOperationsInput | string;
21255
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21256
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21308
21257
  };
21309
21258
  export type UserInviteCreateInput = {
21310
21259
  id?: string;
@@ -21363,44 +21312,59 @@ declare namespace Prisma {
21363
21312
  };
21364
21313
  export type AccountCreateInput = {
21365
21314
  id?: string;
21366
- type: string;
21315
+ type?: string;
21367
21316
  provider: string;
21368
21317
  providerAccountId: string;
21318
+ password?: string | null;
21369
21319
  refresh_token?: string | null;
21370
21320
  access_token?: string | null;
21371
21321
  expires_at?: number | null;
21322
+ accessTokenExpiresAt?: Date | string | null;
21323
+ refreshTokenExpiresAt?: Date | string | null;
21372
21324
  token_type?: string | null;
21373
21325
  scope?: string | null;
21374
21326
  id_token?: string | null;
21375
21327
  session_state?: string | null;
21328
+ createdAt?: Date | string;
21329
+ updatedAt?: Date | string;
21376
21330
  user: UserCreateNestedOneWithoutAccountsInput;
21377
21331
  };
21378
21332
  export type AccountUncheckedCreateInput = {
21379
21333
  id?: string;
21380
21334
  userId: string;
21381
- type: string;
21335
+ type?: string;
21382
21336
  provider: string;
21383
21337
  providerAccountId: string;
21338
+ password?: string | null;
21384
21339
  refresh_token?: string | null;
21385
21340
  access_token?: string | null;
21386
21341
  expires_at?: number | null;
21342
+ accessTokenExpiresAt?: Date | string | null;
21343
+ refreshTokenExpiresAt?: Date | string | null;
21387
21344
  token_type?: string | null;
21388
21345
  scope?: string | null;
21389
21346
  id_token?: string | null;
21390
21347
  session_state?: string | null;
21348
+ createdAt?: Date | string;
21349
+ updatedAt?: Date | string;
21391
21350
  };
21392
21351
  export type AccountUpdateInput = {
21393
21352
  id?: StringFieldUpdateOperationsInput | string;
21394
21353
  type?: StringFieldUpdateOperationsInput | string;
21395
21354
  provider?: StringFieldUpdateOperationsInput | string;
21396
21355
  providerAccountId?: StringFieldUpdateOperationsInput | string;
21356
+ password?: NullableStringFieldUpdateOperationsInput | string | null;
21397
21357
  refresh_token?: NullableStringFieldUpdateOperationsInput | string | null;
21398
21358
  access_token?: NullableStringFieldUpdateOperationsInput | string | null;
21399
21359
  expires_at?: NullableIntFieldUpdateOperationsInput | number | null;
21360
+ accessTokenExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
21361
+ refreshTokenExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
21400
21362
  token_type?: NullableStringFieldUpdateOperationsInput | string | null;
21401
21363
  scope?: NullableStringFieldUpdateOperationsInput | string | null;
21402
21364
  id_token?: NullableStringFieldUpdateOperationsInput | string | null;
21403
21365
  session_state?: NullableStringFieldUpdateOperationsInput | string | null;
21366
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21367
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21404
21368
  user?: UserUpdateOneRequiredWithoutAccountsNestedInput;
21405
21369
  };
21406
21370
  export type AccountUncheckedUpdateInput = {
@@ -21409,40 +21373,55 @@ declare namespace Prisma {
21409
21373
  type?: StringFieldUpdateOperationsInput | string;
21410
21374
  provider?: StringFieldUpdateOperationsInput | string;
21411
21375
  providerAccountId?: StringFieldUpdateOperationsInput | string;
21376
+ password?: NullableStringFieldUpdateOperationsInput | string | null;
21412
21377
  refresh_token?: NullableStringFieldUpdateOperationsInput | string | null;
21413
21378
  access_token?: NullableStringFieldUpdateOperationsInput | string | null;
21414
21379
  expires_at?: NullableIntFieldUpdateOperationsInput | number | null;
21380
+ accessTokenExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
21381
+ refreshTokenExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
21415
21382
  token_type?: NullableStringFieldUpdateOperationsInput | string | null;
21416
21383
  scope?: NullableStringFieldUpdateOperationsInput | string | null;
21417
21384
  id_token?: NullableStringFieldUpdateOperationsInput | string | null;
21418
21385
  session_state?: NullableStringFieldUpdateOperationsInput | string | null;
21386
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21387
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21419
21388
  };
21420
21389
  export type AccountCreateManyInput = {
21421
21390
  id?: string;
21422
21391
  userId: string;
21423
- type: string;
21392
+ type?: string;
21424
21393
  provider: string;
21425
21394
  providerAccountId: string;
21395
+ password?: string | null;
21426
21396
  refresh_token?: string | null;
21427
21397
  access_token?: string | null;
21428
21398
  expires_at?: number | null;
21399
+ accessTokenExpiresAt?: Date | string | null;
21400
+ refreshTokenExpiresAt?: Date | string | null;
21429
21401
  token_type?: string | null;
21430
21402
  scope?: string | null;
21431
21403
  id_token?: string | null;
21432
21404
  session_state?: string | null;
21405
+ createdAt?: Date | string;
21406
+ updatedAt?: Date | string;
21433
21407
  };
21434
21408
  export type AccountUpdateManyMutationInput = {
21435
21409
  id?: StringFieldUpdateOperationsInput | string;
21436
21410
  type?: StringFieldUpdateOperationsInput | string;
21437
21411
  provider?: StringFieldUpdateOperationsInput | string;
21438
21412
  providerAccountId?: StringFieldUpdateOperationsInput | string;
21413
+ password?: NullableStringFieldUpdateOperationsInput | string | null;
21439
21414
  refresh_token?: NullableStringFieldUpdateOperationsInput | string | null;
21440
21415
  access_token?: NullableStringFieldUpdateOperationsInput | string | null;
21441
21416
  expires_at?: NullableIntFieldUpdateOperationsInput | number | null;
21417
+ accessTokenExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
21418
+ refreshTokenExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
21442
21419
  token_type?: NullableStringFieldUpdateOperationsInput | string | null;
21443
21420
  scope?: NullableStringFieldUpdateOperationsInput | string | null;
21444
21421
  id_token?: NullableStringFieldUpdateOperationsInput | string | null;
21445
21422
  session_state?: NullableStringFieldUpdateOperationsInput | string | null;
21423
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21424
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21446
21425
  };
21447
21426
  export type AccountUncheckedUpdateManyInput = {
21448
21427
  id?: StringFieldUpdateOperationsInput | string;
@@ -21450,18 +21429,27 @@ declare namespace Prisma {
21450
21429
  type?: StringFieldUpdateOperationsInput | string;
21451
21430
  provider?: StringFieldUpdateOperationsInput | string;
21452
21431
  providerAccountId?: StringFieldUpdateOperationsInput | string;
21432
+ password?: NullableStringFieldUpdateOperationsInput | string | null;
21453
21433
  refresh_token?: NullableStringFieldUpdateOperationsInput | string | null;
21454
21434
  access_token?: NullableStringFieldUpdateOperationsInput | string | null;
21455
21435
  expires_at?: NullableIntFieldUpdateOperationsInput | number | null;
21436
+ accessTokenExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
21437
+ refreshTokenExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
21456
21438
  token_type?: NullableStringFieldUpdateOperationsInput | string | null;
21457
21439
  scope?: NullableStringFieldUpdateOperationsInput | string | null;
21458
21440
  id_token?: NullableStringFieldUpdateOperationsInput | string | null;
21459
21441
  session_state?: NullableStringFieldUpdateOperationsInput | string | null;
21442
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21443
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21460
21444
  };
21461
21445
  export type SessionCreateInput = {
21462
21446
  id?: string;
21463
21447
  sessionToken: string;
21464
21448
  expires: Date | string;
21449
+ createdAt?: Date | string;
21450
+ updatedAt?: Date | string;
21451
+ ipAddress?: string | null;
21452
+ userAgent?: string | null;
21465
21453
  user: UserCreateNestedOneWithoutSessionsInput;
21466
21454
  };
21467
21455
  export type SessionUncheckedCreateInput = {
@@ -21469,11 +21457,19 @@ declare namespace Prisma {
21469
21457
  sessionToken: string;
21470
21458
  userId: string;
21471
21459
  expires: Date | string;
21460
+ createdAt?: Date | string;
21461
+ updatedAt?: Date | string;
21462
+ ipAddress?: string | null;
21463
+ userAgent?: string | null;
21472
21464
  };
21473
21465
  export type SessionUpdateInput = {
21474
21466
  id?: StringFieldUpdateOperationsInput | string;
21475
21467
  sessionToken?: StringFieldUpdateOperationsInput | string;
21476
21468
  expires?: DateTimeFieldUpdateOperationsInput | Date | string;
21469
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21470
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21471
+ ipAddress?: NullableStringFieldUpdateOperationsInput | string | null;
21472
+ userAgent?: NullableStringFieldUpdateOperationsInput | string | null;
21477
21473
  user?: UserUpdateOneRequiredWithoutSessionsNestedInput;
21478
21474
  };
21479
21475
  export type SessionUncheckedUpdateInput = {
@@ -21481,58 +21477,95 @@ declare namespace Prisma {
21481
21477
  sessionToken?: StringFieldUpdateOperationsInput | string;
21482
21478
  userId?: StringFieldUpdateOperationsInput | string;
21483
21479
  expires?: DateTimeFieldUpdateOperationsInput | Date | string;
21480
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21481
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21482
+ ipAddress?: NullableStringFieldUpdateOperationsInput | string | null;
21483
+ userAgent?: NullableStringFieldUpdateOperationsInput | string | null;
21484
21484
  };
21485
21485
  export type SessionCreateManyInput = {
21486
21486
  id?: string;
21487
21487
  sessionToken: string;
21488
21488
  userId: string;
21489
21489
  expires: Date | string;
21490
+ createdAt?: Date | string;
21491
+ updatedAt?: Date | string;
21492
+ ipAddress?: string | null;
21493
+ userAgent?: string | null;
21490
21494
  };
21491
21495
  export type SessionUpdateManyMutationInput = {
21492
21496
  id?: StringFieldUpdateOperationsInput | string;
21493
21497
  sessionToken?: StringFieldUpdateOperationsInput | string;
21494
21498
  expires?: DateTimeFieldUpdateOperationsInput | Date | string;
21499
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21500
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21501
+ ipAddress?: NullableStringFieldUpdateOperationsInput | string | null;
21502
+ userAgent?: NullableStringFieldUpdateOperationsInput | string | null;
21495
21503
  };
21496
21504
  export type SessionUncheckedUpdateManyInput = {
21497
21505
  id?: StringFieldUpdateOperationsInput | string;
21498
21506
  sessionToken?: StringFieldUpdateOperationsInput | string;
21499
21507
  userId?: StringFieldUpdateOperationsInput | string;
21500
21508
  expires?: DateTimeFieldUpdateOperationsInput | Date | string;
21509
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21510
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21511
+ ipAddress?: NullableStringFieldUpdateOperationsInput | string | null;
21512
+ userAgent?: NullableStringFieldUpdateOperationsInput | string | null;
21501
21513
  };
21502
21514
  export type VerificationTokenCreateInput = {
21515
+ id?: string;
21503
21516
  identifier: string;
21504
21517
  token: string;
21505
21518
  expires: Date | string;
21519
+ createdAt?: Date | string;
21520
+ updatedAt?: Date | string;
21506
21521
  };
21507
21522
  export type VerificationTokenUncheckedCreateInput = {
21523
+ id?: string;
21508
21524
  identifier: string;
21509
21525
  token: string;
21510
21526
  expires: Date | string;
21527
+ createdAt?: Date | string;
21528
+ updatedAt?: Date | string;
21511
21529
  };
21512
21530
  export type VerificationTokenUpdateInput = {
21531
+ id?: StringFieldUpdateOperationsInput | string;
21513
21532
  identifier?: StringFieldUpdateOperationsInput | string;
21514
21533
  token?: StringFieldUpdateOperationsInput | string;
21515
21534
  expires?: DateTimeFieldUpdateOperationsInput | Date | string;
21535
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21536
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21516
21537
  };
21517
21538
  export type VerificationTokenUncheckedUpdateInput = {
21539
+ id?: StringFieldUpdateOperationsInput | string;
21518
21540
  identifier?: StringFieldUpdateOperationsInput | string;
21519
21541
  token?: StringFieldUpdateOperationsInput | string;
21520
21542
  expires?: DateTimeFieldUpdateOperationsInput | Date | string;
21543
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21544
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21521
21545
  };
21522
21546
  export type VerificationTokenCreateManyInput = {
21547
+ id?: string;
21523
21548
  identifier: string;
21524
21549
  token: string;
21525
21550
  expires: Date | string;
21551
+ createdAt?: Date | string;
21552
+ updatedAt?: Date | string;
21526
21553
  };
21527
21554
  export type VerificationTokenUpdateManyMutationInput = {
21555
+ id?: StringFieldUpdateOperationsInput | string;
21528
21556
  identifier?: StringFieldUpdateOperationsInput | string;
21529
21557
  token?: StringFieldUpdateOperationsInput | string;
21530
21558
  expires?: DateTimeFieldUpdateOperationsInput | Date | string;
21559
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21560
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21531
21561
  };
21532
21562
  export type VerificationTokenUncheckedUpdateManyInput = {
21563
+ id?: StringFieldUpdateOperationsInput | string;
21533
21564
  identifier?: StringFieldUpdateOperationsInput | string;
21534
21565
  token?: StringFieldUpdateOperationsInput | string;
21535
21566
  expires?: DateTimeFieldUpdateOperationsInput | Date | string;
21567
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21568
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
21536
21569
  };
21537
21570
  export type StringFilter<$PrismaModel = never> = {
21538
21571
  equals?: string | StringFieldRefInput<$PrismaModel>;
@@ -21903,15 +21936,15 @@ declare namespace Prisma {
21903
21936
  testedAt?: SortOrder;
21904
21937
  expiresAt?: SortOrder;
21905
21938
  };
21906
- export type DateTimeNullableFilter<$PrismaModel = never> = {
21907
- equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null;
21908
- in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null;
21909
- notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null;
21939
+ export type DateTimeFilter<$PrismaModel = never> = {
21940
+ equals?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
21941
+ in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>;
21942
+ notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>;
21910
21943
  lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
21911
21944
  lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
21912
21945
  gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
21913
21946
  gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
21914
- not?: NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null;
21947
+ not?: NestedDateTimeFilter<$PrismaModel> | Date | string;
21915
21948
  };
21916
21949
  export type AccountListRelationFilter = {
21917
21950
  every?: AccountWhereInput;
@@ -21945,6 +21978,8 @@ declare namespace Prisma {
21945
21978
  image?: SortOrder;
21946
21979
  passwordHash?: SortOrder;
21947
21980
  accountStatus?: SortOrder;
21981
+ createdAt?: SortOrder;
21982
+ updatedAt?: SortOrder;
21948
21983
  };
21949
21984
  export type UserMaxOrderByAggregateInput = {
21950
21985
  id?: SortOrder;
@@ -21954,6 +21989,8 @@ declare namespace Prisma {
21954
21989
  image?: SortOrder;
21955
21990
  passwordHash?: SortOrder;
21956
21991
  accountStatus?: SortOrder;
21992
+ createdAt?: SortOrder;
21993
+ updatedAt?: SortOrder;
21957
21994
  };
21958
21995
  export type UserMinOrderByAggregateInput = {
21959
21996
  id?: SortOrder;
@@ -21963,29 +22000,31 @@ declare namespace Prisma {
21963
22000
  image?: SortOrder;
21964
22001
  passwordHash?: SortOrder;
21965
22002
  accountStatus?: SortOrder;
22003
+ createdAt?: SortOrder;
22004
+ updatedAt?: SortOrder;
21966
22005
  };
21967
- export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
21968
- equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null;
21969
- in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null;
21970
- notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null;
22006
+ export type DateTimeWithAggregatesFilter<$PrismaModel = never> = {
22007
+ equals?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
22008
+ in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>;
22009
+ notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>;
21971
22010
  lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
21972
22011
  lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
21973
22012
  gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
21974
22013
  gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
21975
- not?: NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null;
21976
- _count?: NestedIntNullableFilter<$PrismaModel>;
21977
- _min?: NestedDateTimeNullableFilter<$PrismaModel>;
21978
- _max?: NestedDateTimeNullableFilter<$PrismaModel>;
22014
+ not?: NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string;
22015
+ _count?: NestedIntFilter<$PrismaModel>;
22016
+ _min?: NestedDateTimeFilter<$PrismaModel>;
22017
+ _max?: NestedDateTimeFilter<$PrismaModel>;
21979
22018
  };
21980
- export type DateTimeFilter<$PrismaModel = never> = {
21981
- equals?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
21982
- in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>;
21983
- notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>;
22019
+ export type DateTimeNullableFilter<$PrismaModel = never> = {
22020
+ equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null;
22021
+ in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null;
22022
+ notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null;
21984
22023
  lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
21985
22024
  lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
21986
22025
  gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
21987
22026
  gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
21988
- not?: NestedDateTimeFilter<$PrismaModel> | Date | string;
22027
+ not?: NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null;
21989
22028
  };
21990
22029
  export type UserScalarRelationFilter = {
21991
22030
  is?: UserWhereInput;
@@ -22015,18 +22054,18 @@ declare namespace Prisma {
22015
22054
  createdAt?: SortOrder;
22016
22055
  revokedAt?: SortOrder;
22017
22056
  };
22018
- export type DateTimeWithAggregatesFilter<$PrismaModel = never> = {
22019
- equals?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
22020
- in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>;
22021
- notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>;
22057
+ export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
22058
+ equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null;
22059
+ in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null;
22060
+ notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null;
22022
22061
  lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
22023
22062
  lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
22024
22063
  gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
22025
22064
  gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
22026
- not?: NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string;
22027
- _count?: NestedIntFilter<$PrismaModel>;
22028
- _min?: NestedDateTimeFilter<$PrismaModel>;
22029
- _max?: NestedDateTimeFilter<$PrismaModel>;
22065
+ not?: NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null;
22066
+ _count?: NestedIntNullableFilter<$PrismaModel>;
22067
+ _min?: NestedDateTimeNullableFilter<$PrismaModel>;
22068
+ _max?: NestedDateTimeNullableFilter<$PrismaModel>;
22030
22069
  };
22031
22070
  export type IntNullableFilter<$PrismaModel = never> = {
22032
22071
  equals?: number | IntFieldRefInput<$PrismaModel> | null;
@@ -22048,13 +22087,18 @@ declare namespace Prisma {
22048
22087
  type?: SortOrder;
22049
22088
  provider?: SortOrder;
22050
22089
  providerAccountId?: SortOrder;
22090
+ password?: SortOrder;
22051
22091
  refresh_token?: SortOrder;
22052
22092
  access_token?: SortOrder;
22053
22093
  expires_at?: SortOrder;
22094
+ accessTokenExpiresAt?: SortOrder;
22095
+ refreshTokenExpiresAt?: SortOrder;
22054
22096
  token_type?: SortOrder;
22055
22097
  scope?: SortOrder;
22056
22098
  id_token?: SortOrder;
22057
22099
  session_state?: SortOrder;
22100
+ createdAt?: SortOrder;
22101
+ updatedAt?: SortOrder;
22058
22102
  };
22059
22103
  export type AccountAvgOrderByAggregateInput = {
22060
22104
  expires_at?: SortOrder;
@@ -22065,13 +22109,18 @@ declare namespace Prisma {
22065
22109
  type?: SortOrder;
22066
22110
  provider?: SortOrder;
22067
22111
  providerAccountId?: SortOrder;
22112
+ password?: SortOrder;
22068
22113
  refresh_token?: SortOrder;
22069
22114
  access_token?: SortOrder;
22070
22115
  expires_at?: SortOrder;
22116
+ accessTokenExpiresAt?: SortOrder;
22117
+ refreshTokenExpiresAt?: SortOrder;
22071
22118
  token_type?: SortOrder;
22072
22119
  scope?: SortOrder;
22073
22120
  id_token?: SortOrder;
22074
22121
  session_state?: SortOrder;
22122
+ createdAt?: SortOrder;
22123
+ updatedAt?: SortOrder;
22075
22124
  };
22076
22125
  export type AccountMinOrderByAggregateInput = {
22077
22126
  id?: SortOrder;
@@ -22079,13 +22128,18 @@ declare namespace Prisma {
22079
22128
  type?: SortOrder;
22080
22129
  provider?: SortOrder;
22081
22130
  providerAccountId?: SortOrder;
22131
+ password?: SortOrder;
22082
22132
  refresh_token?: SortOrder;
22083
22133
  access_token?: SortOrder;
22084
22134
  expires_at?: SortOrder;
22135
+ accessTokenExpiresAt?: SortOrder;
22136
+ refreshTokenExpiresAt?: SortOrder;
22085
22137
  token_type?: SortOrder;
22086
22138
  scope?: SortOrder;
22087
22139
  id_token?: SortOrder;
22088
22140
  session_state?: SortOrder;
22141
+ createdAt?: SortOrder;
22142
+ updatedAt?: SortOrder;
22089
22143
  };
22090
22144
  export type AccountSumOrderByAggregateInput = {
22091
22145
  expires_at?: SortOrder;
@@ -22110,37 +22164,58 @@ declare namespace Prisma {
22110
22164
  sessionToken?: SortOrder;
22111
22165
  userId?: SortOrder;
22112
22166
  expires?: SortOrder;
22167
+ createdAt?: SortOrder;
22168
+ updatedAt?: SortOrder;
22169
+ ipAddress?: SortOrder;
22170
+ userAgent?: SortOrder;
22113
22171
  };
22114
22172
  export type SessionMaxOrderByAggregateInput = {
22115
22173
  id?: SortOrder;
22116
22174
  sessionToken?: SortOrder;
22117
22175
  userId?: SortOrder;
22118
22176
  expires?: SortOrder;
22177
+ createdAt?: SortOrder;
22178
+ updatedAt?: SortOrder;
22179
+ ipAddress?: SortOrder;
22180
+ userAgent?: SortOrder;
22119
22181
  };
22120
22182
  export type SessionMinOrderByAggregateInput = {
22121
22183
  id?: SortOrder;
22122
22184
  sessionToken?: SortOrder;
22123
22185
  userId?: SortOrder;
22124
22186
  expires?: SortOrder;
22187
+ createdAt?: SortOrder;
22188
+ updatedAt?: SortOrder;
22189
+ ipAddress?: SortOrder;
22190
+ userAgent?: SortOrder;
22125
22191
  };
22126
22192
  export type VerificationTokenIdentifierTokenCompoundUniqueInput = {
22127
22193
  identifier: string;
22128
22194
  token: string;
22129
22195
  };
22130
22196
  export type VerificationTokenCountOrderByAggregateInput = {
22197
+ id?: SortOrder;
22131
22198
  identifier?: SortOrder;
22132
22199
  token?: SortOrder;
22133
22200
  expires?: SortOrder;
22201
+ createdAt?: SortOrder;
22202
+ updatedAt?: SortOrder;
22134
22203
  };
22135
22204
  export type VerificationTokenMaxOrderByAggregateInput = {
22205
+ id?: SortOrder;
22136
22206
  identifier?: SortOrder;
22137
22207
  token?: SortOrder;
22138
22208
  expires?: SortOrder;
22209
+ createdAt?: SortOrder;
22210
+ updatedAt?: SortOrder;
22139
22211
  };
22140
22212
  export type VerificationTokenMinOrderByAggregateInput = {
22213
+ id?: SortOrder;
22141
22214
  identifier?: SortOrder;
22142
22215
  token?: SortOrder;
22143
22216
  expires?: SortOrder;
22217
+ createdAt?: SortOrder;
22218
+ updatedAt?: SortOrder;
22144
22219
  };
22145
22220
  export type StringFieldUpdateOperationsInput = {
22146
22221
  set?: string;
@@ -22194,8 +22269,8 @@ declare namespace Prisma {
22194
22269
  createMany?: UserInviteCreateManyUserInputEnvelope;
22195
22270
  connect?: UserInviteWhereUniqueInput | UserInviteWhereUniqueInput[];
22196
22271
  };
22197
- export type NullableDateTimeFieldUpdateOperationsInput = {
22198
- set?: Date | string | null;
22272
+ export type DateTimeFieldUpdateOperationsInput = {
22273
+ set?: Date | string;
22199
22274
  };
22200
22275
  export type AccountUpdateManyWithoutUserNestedInput = {
22201
22276
  create?: XOR<AccountCreateWithoutUserInput, AccountUncheckedCreateWithoutUserInput> | AccountCreateWithoutUserInput[] | AccountUncheckedCreateWithoutUserInput[];
@@ -22280,8 +22355,8 @@ declare namespace Prisma {
22280
22355
  connectOrCreate?: UserCreateOrConnectWithoutInvitesInput;
22281
22356
  connect?: UserWhereUniqueInput;
22282
22357
  };
22283
- export type DateTimeFieldUpdateOperationsInput = {
22284
- set?: Date | string;
22358
+ export type NullableDateTimeFieldUpdateOperationsInput = {
22359
+ set?: Date | string | null;
22285
22360
  };
22286
22361
  export type UserUpdateOneRequiredWithoutInvitesNestedInput = {
22287
22362
  create?: XOR<UserCreateWithoutInvitesInput, UserUncheckedCreateWithoutInvitesInput>;
@@ -22435,29 +22510,6 @@ declare namespace Prisma {
22435
22510
  gte?: number | FloatFieldRefInput<$PrismaModel>;
22436
22511
  not?: NestedFloatFilter<$PrismaModel> | number;
22437
22512
  };
22438
- export type NestedDateTimeNullableFilter<$PrismaModel = never> = {
22439
- equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null;
22440
- in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null;
22441
- notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null;
22442
- lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
22443
- lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
22444
- gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
22445
- gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
22446
- not?: NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null;
22447
- };
22448
- export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
22449
- equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null;
22450
- in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null;
22451
- notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null;
22452
- lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
22453
- lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
22454
- gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
22455
- gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
22456
- not?: NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null;
22457
- _count?: NestedIntNullableFilter<$PrismaModel>;
22458
- _min?: NestedDateTimeNullableFilter<$PrismaModel>;
22459
- _max?: NestedDateTimeNullableFilter<$PrismaModel>;
22460
- };
22461
22513
  export type NestedDateTimeFilter<$PrismaModel = never> = {
22462
22514
  equals?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
22463
22515
  in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>;
@@ -22481,17 +22533,40 @@ declare namespace Prisma {
22481
22533
  _min?: NestedDateTimeFilter<$PrismaModel>;
22482
22534
  _max?: NestedDateTimeFilter<$PrismaModel>;
22483
22535
  };
22484
- export type NestedIntNullableWithAggregatesFilter<$PrismaModel = never> = {
22485
- equals?: number | IntFieldRefInput<$PrismaModel> | null;
22486
- in?: number[] | ListIntFieldRefInput<$PrismaModel> | null;
22487
- notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null;
22488
- lt?: number | IntFieldRefInput<$PrismaModel>;
22489
- lte?: number | IntFieldRefInput<$PrismaModel>;
22490
- gt?: number | IntFieldRefInput<$PrismaModel>;
22491
- gte?: number | IntFieldRefInput<$PrismaModel>;
22492
- not?: NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null;
22493
- _count?: NestedIntNullableFilter<$PrismaModel>;
22494
- _avg?: NestedFloatNullableFilter<$PrismaModel>;
22536
+ export type NestedDateTimeNullableFilter<$PrismaModel = never> = {
22537
+ equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null;
22538
+ in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null;
22539
+ notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null;
22540
+ lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
22541
+ lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
22542
+ gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
22543
+ gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
22544
+ not?: NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null;
22545
+ };
22546
+ export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
22547
+ equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null;
22548
+ in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null;
22549
+ notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null;
22550
+ lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
22551
+ lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
22552
+ gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
22553
+ gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
22554
+ not?: NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null;
22555
+ _count?: NestedIntNullableFilter<$PrismaModel>;
22556
+ _min?: NestedDateTimeNullableFilter<$PrismaModel>;
22557
+ _max?: NestedDateTimeNullableFilter<$PrismaModel>;
22558
+ };
22559
+ export type NestedIntNullableWithAggregatesFilter<$PrismaModel = never> = {
22560
+ equals?: number | IntFieldRefInput<$PrismaModel> | null;
22561
+ in?: number[] | ListIntFieldRefInput<$PrismaModel> | null;
22562
+ notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null;
22563
+ lt?: number | IntFieldRefInput<$PrismaModel>;
22564
+ lte?: number | IntFieldRefInput<$PrismaModel>;
22565
+ gt?: number | IntFieldRefInput<$PrismaModel>;
22566
+ gte?: number | IntFieldRefInput<$PrismaModel>;
22567
+ not?: NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null;
22568
+ _count?: NestedIntNullableFilter<$PrismaModel>;
22569
+ _avg?: NestedFloatNullableFilter<$PrismaModel>;
22495
22570
  _sum?: NestedIntNullableFilter<$PrismaModel>;
22496
22571
  _min?: NestedIntNullableFilter<$PrismaModel>;
22497
22572
  _max?: NestedIntNullableFilter<$PrismaModel>;
@@ -22508,29 +22583,39 @@ declare namespace Prisma {
22508
22583
  };
22509
22584
  export type AccountCreateWithoutUserInput = {
22510
22585
  id?: string;
22511
- type: string;
22586
+ type?: string;
22512
22587
  provider: string;
22513
22588
  providerAccountId: string;
22589
+ password?: string | null;
22514
22590
  refresh_token?: string | null;
22515
22591
  access_token?: string | null;
22516
22592
  expires_at?: number | null;
22593
+ accessTokenExpiresAt?: Date | string | null;
22594
+ refreshTokenExpiresAt?: Date | string | null;
22517
22595
  token_type?: string | null;
22518
22596
  scope?: string | null;
22519
22597
  id_token?: string | null;
22520
22598
  session_state?: string | null;
22599
+ createdAt?: Date | string;
22600
+ updatedAt?: Date | string;
22521
22601
  };
22522
22602
  export type AccountUncheckedCreateWithoutUserInput = {
22523
22603
  id?: string;
22524
- type: string;
22604
+ type?: string;
22525
22605
  provider: string;
22526
22606
  providerAccountId: string;
22607
+ password?: string | null;
22527
22608
  refresh_token?: string | null;
22528
22609
  access_token?: string | null;
22529
22610
  expires_at?: number | null;
22611
+ accessTokenExpiresAt?: Date | string | null;
22612
+ refreshTokenExpiresAt?: Date | string | null;
22530
22613
  token_type?: string | null;
22531
22614
  scope?: string | null;
22532
22615
  id_token?: string | null;
22533
22616
  session_state?: string | null;
22617
+ createdAt?: Date | string;
22618
+ updatedAt?: Date | string;
22534
22619
  };
22535
22620
  export type AccountCreateOrConnectWithoutUserInput = {
22536
22621
  where: AccountWhereUniqueInput;
@@ -22544,11 +22629,19 @@ declare namespace Prisma {
22544
22629
  id?: string;
22545
22630
  sessionToken: string;
22546
22631
  expires: Date | string;
22632
+ createdAt?: Date | string;
22633
+ updatedAt?: Date | string;
22634
+ ipAddress?: string | null;
22635
+ userAgent?: string | null;
22547
22636
  };
22548
22637
  export type SessionUncheckedCreateWithoutUserInput = {
22549
22638
  id?: string;
22550
22639
  sessionToken: string;
22551
22640
  expires: Date | string;
22641
+ createdAt?: Date | string;
22642
+ updatedAt?: Date | string;
22643
+ ipAddress?: string | null;
22644
+ userAgent?: string | null;
22552
22645
  };
22553
22646
  export type SessionCreateOrConnectWithoutUserInput = {
22554
22647
  where: SessionWhereUniqueInput;
@@ -22602,13 +22695,18 @@ declare namespace Prisma {
22602
22695
  type?: StringFilter<"Account"> | string;
22603
22696
  provider?: StringFilter<"Account"> | string;
22604
22697
  providerAccountId?: StringFilter<"Account"> | string;
22698
+ password?: StringNullableFilter<"Account"> | string | null;
22605
22699
  refresh_token?: StringNullableFilter<"Account"> | string | null;
22606
22700
  access_token?: StringNullableFilter<"Account"> | string | null;
22607
22701
  expires_at?: IntNullableFilter<"Account"> | number | null;
22702
+ accessTokenExpiresAt?: DateTimeNullableFilter<"Account"> | Date | string | null;
22703
+ refreshTokenExpiresAt?: DateTimeNullableFilter<"Account"> | Date | string | null;
22608
22704
  token_type?: StringNullableFilter<"Account"> | string | null;
22609
22705
  scope?: StringNullableFilter<"Account"> | string | null;
22610
22706
  id_token?: StringNullableFilter<"Account"> | string | null;
22611
22707
  session_state?: StringNullableFilter<"Account"> | string | null;
22708
+ createdAt?: DateTimeFilter<"Account"> | Date | string;
22709
+ updatedAt?: DateTimeFilter<"Account"> | Date | string;
22612
22710
  };
22613
22711
  export type SessionUpsertWithWhereUniqueWithoutUserInput = {
22614
22712
  where: SessionWhereUniqueInput;
@@ -22631,6 +22729,10 @@ declare namespace Prisma {
22631
22729
  sessionToken?: StringFilter<"Session"> | string;
22632
22730
  userId?: StringFilter<"Session"> | string;
22633
22731
  expires?: DateTimeFilter<"Session"> | Date | string;
22732
+ createdAt?: DateTimeFilter<"Session"> | Date | string;
22733
+ updatedAt?: DateTimeFilter<"Session"> | Date | string;
22734
+ ipAddress?: StringNullableFilter<"Session"> | string | null;
22735
+ userAgent?: StringNullableFilter<"Session"> | string | null;
22634
22736
  };
22635
22737
  export type UserInviteUpsertWithWhereUniqueWithoutUserInput = {
22636
22738
  where: UserInviteWhereUniqueInput;
@@ -22660,10 +22762,12 @@ declare namespace Prisma {
22660
22762
  id?: string;
22661
22763
  name?: string | null;
22662
22764
  email?: string | null;
22663
- emailVerified?: Date | string | null;
22765
+ emailVerified?: boolean;
22664
22766
  image?: string | null;
22665
22767
  passwordHash?: string | null;
22666
22768
  accountStatus?: string;
22769
+ createdAt?: Date | string;
22770
+ updatedAt?: Date | string;
22667
22771
  accounts?: AccountCreateNestedManyWithoutUserInput;
22668
22772
  sessions?: SessionCreateNestedManyWithoutUserInput;
22669
22773
  };
@@ -22671,10 +22775,12 @@ declare namespace Prisma {
22671
22775
  id?: string;
22672
22776
  name?: string | null;
22673
22777
  email?: string | null;
22674
- emailVerified?: Date | string | null;
22778
+ emailVerified?: boolean;
22675
22779
  image?: string | null;
22676
22780
  passwordHash?: string | null;
22677
22781
  accountStatus?: string;
22782
+ createdAt?: Date | string;
22783
+ updatedAt?: Date | string;
22678
22784
  accounts?: AccountUncheckedCreateNestedManyWithoutUserInput;
22679
22785
  sessions?: SessionUncheckedCreateNestedManyWithoutUserInput;
22680
22786
  };
@@ -22695,10 +22801,12 @@ declare namespace Prisma {
22695
22801
  id?: StringFieldUpdateOperationsInput | string;
22696
22802
  name?: NullableStringFieldUpdateOperationsInput | string | null;
22697
22803
  email?: NullableStringFieldUpdateOperationsInput | string | null;
22698
- emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
22804
+ emailVerified?: BoolFieldUpdateOperationsInput | boolean;
22699
22805
  image?: NullableStringFieldUpdateOperationsInput | string | null;
22700
22806
  passwordHash?: NullableStringFieldUpdateOperationsInput | string | null;
22701
22807
  accountStatus?: StringFieldUpdateOperationsInput | string;
22808
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
22809
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
22702
22810
  accounts?: AccountUpdateManyWithoutUserNestedInput;
22703
22811
  sessions?: SessionUpdateManyWithoutUserNestedInput;
22704
22812
  };
@@ -22706,10 +22814,12 @@ declare namespace Prisma {
22706
22814
  id?: StringFieldUpdateOperationsInput | string;
22707
22815
  name?: NullableStringFieldUpdateOperationsInput | string | null;
22708
22816
  email?: NullableStringFieldUpdateOperationsInput | string | null;
22709
- emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
22817
+ emailVerified?: BoolFieldUpdateOperationsInput | boolean;
22710
22818
  image?: NullableStringFieldUpdateOperationsInput | string | null;
22711
22819
  passwordHash?: NullableStringFieldUpdateOperationsInput | string | null;
22712
22820
  accountStatus?: StringFieldUpdateOperationsInput | string;
22821
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
22822
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
22713
22823
  accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput;
22714
22824
  sessions?: SessionUncheckedUpdateManyWithoutUserNestedInput;
22715
22825
  };
@@ -22717,10 +22827,12 @@ declare namespace Prisma {
22717
22827
  id?: string;
22718
22828
  name?: string | null;
22719
22829
  email?: string | null;
22720
- emailVerified?: Date | string | null;
22830
+ emailVerified?: boolean;
22721
22831
  image?: string | null;
22722
22832
  passwordHash?: string | null;
22723
22833
  accountStatus?: string;
22834
+ createdAt?: Date | string;
22835
+ updatedAt?: Date | string;
22724
22836
  sessions?: SessionCreateNestedManyWithoutUserInput;
22725
22837
  invites?: UserInviteCreateNestedManyWithoutUserInput;
22726
22838
  };
@@ -22728,10 +22840,12 @@ declare namespace Prisma {
22728
22840
  id?: string;
22729
22841
  name?: string | null;
22730
22842
  email?: string | null;
22731
- emailVerified?: Date | string | null;
22843
+ emailVerified?: boolean;
22732
22844
  image?: string | null;
22733
22845
  passwordHash?: string | null;
22734
22846
  accountStatus?: string;
22847
+ createdAt?: Date | string;
22848
+ updatedAt?: Date | string;
22735
22849
  sessions?: SessionUncheckedCreateNestedManyWithoutUserInput;
22736
22850
  invites?: UserInviteUncheckedCreateNestedManyWithoutUserInput;
22737
22851
  };
@@ -22752,10 +22866,12 @@ declare namespace Prisma {
22752
22866
  id?: StringFieldUpdateOperationsInput | string;
22753
22867
  name?: NullableStringFieldUpdateOperationsInput | string | null;
22754
22868
  email?: NullableStringFieldUpdateOperationsInput | string | null;
22755
- emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
22869
+ emailVerified?: BoolFieldUpdateOperationsInput | boolean;
22756
22870
  image?: NullableStringFieldUpdateOperationsInput | string | null;
22757
22871
  passwordHash?: NullableStringFieldUpdateOperationsInput | string | null;
22758
22872
  accountStatus?: StringFieldUpdateOperationsInput | string;
22873
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
22874
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
22759
22875
  sessions?: SessionUpdateManyWithoutUserNestedInput;
22760
22876
  invites?: UserInviteUpdateManyWithoutUserNestedInput;
22761
22877
  };
@@ -22763,10 +22879,12 @@ declare namespace Prisma {
22763
22879
  id?: StringFieldUpdateOperationsInput | string;
22764
22880
  name?: NullableStringFieldUpdateOperationsInput | string | null;
22765
22881
  email?: NullableStringFieldUpdateOperationsInput | string | null;
22766
- emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
22882
+ emailVerified?: BoolFieldUpdateOperationsInput | boolean;
22767
22883
  image?: NullableStringFieldUpdateOperationsInput | string | null;
22768
22884
  passwordHash?: NullableStringFieldUpdateOperationsInput | string | null;
22769
22885
  accountStatus?: StringFieldUpdateOperationsInput | string;
22886
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
22887
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
22770
22888
  sessions?: SessionUncheckedUpdateManyWithoutUserNestedInput;
22771
22889
  invites?: UserInviteUncheckedUpdateManyWithoutUserNestedInput;
22772
22890
  };
@@ -22774,10 +22892,12 @@ declare namespace Prisma {
22774
22892
  id?: string;
22775
22893
  name?: string | null;
22776
22894
  email?: string | null;
22777
- emailVerified?: Date | string | null;
22895
+ emailVerified?: boolean;
22778
22896
  image?: string | null;
22779
22897
  passwordHash?: string | null;
22780
22898
  accountStatus?: string;
22899
+ createdAt?: Date | string;
22900
+ updatedAt?: Date | string;
22781
22901
  accounts?: AccountCreateNestedManyWithoutUserInput;
22782
22902
  invites?: UserInviteCreateNestedManyWithoutUserInput;
22783
22903
  };
@@ -22785,10 +22905,12 @@ declare namespace Prisma {
22785
22905
  id?: string;
22786
22906
  name?: string | null;
22787
22907
  email?: string | null;
22788
- emailVerified?: Date | string | null;
22908
+ emailVerified?: boolean;
22789
22909
  image?: string | null;
22790
22910
  passwordHash?: string | null;
22791
22911
  accountStatus?: string;
22912
+ createdAt?: Date | string;
22913
+ updatedAt?: Date | string;
22792
22914
  accounts?: AccountUncheckedCreateNestedManyWithoutUserInput;
22793
22915
  invites?: UserInviteUncheckedCreateNestedManyWithoutUserInput;
22794
22916
  };
@@ -22809,10 +22931,12 @@ declare namespace Prisma {
22809
22931
  id?: StringFieldUpdateOperationsInput | string;
22810
22932
  name?: NullableStringFieldUpdateOperationsInput | string | null;
22811
22933
  email?: NullableStringFieldUpdateOperationsInput | string | null;
22812
- emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
22934
+ emailVerified?: BoolFieldUpdateOperationsInput | boolean;
22813
22935
  image?: NullableStringFieldUpdateOperationsInput | string | null;
22814
22936
  passwordHash?: NullableStringFieldUpdateOperationsInput | string | null;
22815
22937
  accountStatus?: StringFieldUpdateOperationsInput | string;
22938
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
22939
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
22816
22940
  accounts?: AccountUpdateManyWithoutUserNestedInput;
22817
22941
  invites?: UserInviteUpdateManyWithoutUserNestedInput;
22818
22942
  };
@@ -22820,30 +22944,41 @@ declare namespace Prisma {
22820
22944
  id?: StringFieldUpdateOperationsInput | string;
22821
22945
  name?: NullableStringFieldUpdateOperationsInput | string | null;
22822
22946
  email?: NullableStringFieldUpdateOperationsInput | string | null;
22823
- emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
22947
+ emailVerified?: BoolFieldUpdateOperationsInput | boolean;
22824
22948
  image?: NullableStringFieldUpdateOperationsInput | string | null;
22825
22949
  passwordHash?: NullableStringFieldUpdateOperationsInput | string | null;
22826
22950
  accountStatus?: StringFieldUpdateOperationsInput | string;
22951
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
22952
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
22827
22953
  accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput;
22828
22954
  invites?: UserInviteUncheckedUpdateManyWithoutUserNestedInput;
22829
22955
  };
22830
22956
  export type AccountCreateManyUserInput = {
22831
22957
  id?: string;
22832
- type: string;
22958
+ type?: string;
22833
22959
  provider: string;
22834
22960
  providerAccountId: string;
22961
+ password?: string | null;
22835
22962
  refresh_token?: string | null;
22836
22963
  access_token?: string | null;
22837
22964
  expires_at?: number | null;
22965
+ accessTokenExpiresAt?: Date | string | null;
22966
+ refreshTokenExpiresAt?: Date | string | null;
22838
22967
  token_type?: string | null;
22839
22968
  scope?: string | null;
22840
22969
  id_token?: string | null;
22841
22970
  session_state?: string | null;
22971
+ createdAt?: Date | string;
22972
+ updatedAt?: Date | string;
22842
22973
  };
22843
22974
  export type SessionCreateManyUserInput = {
22844
22975
  id?: string;
22845
22976
  sessionToken: string;
22846
22977
  expires: Date | string;
22978
+ createdAt?: Date | string;
22979
+ updatedAt?: Date | string;
22980
+ ipAddress?: string | null;
22981
+ userAgent?: string | null;
22847
22982
  };
22848
22983
  export type UserInviteCreateManyUserInput = {
22849
22984
  id?: string;
@@ -22857,54 +22992,81 @@ declare namespace Prisma {
22857
22992
  type?: StringFieldUpdateOperationsInput | string;
22858
22993
  provider?: StringFieldUpdateOperationsInput | string;
22859
22994
  providerAccountId?: StringFieldUpdateOperationsInput | string;
22995
+ password?: NullableStringFieldUpdateOperationsInput | string | null;
22860
22996
  refresh_token?: NullableStringFieldUpdateOperationsInput | string | null;
22861
22997
  access_token?: NullableStringFieldUpdateOperationsInput | string | null;
22862
22998
  expires_at?: NullableIntFieldUpdateOperationsInput | number | null;
22999
+ accessTokenExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
23000
+ refreshTokenExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
22863
23001
  token_type?: NullableStringFieldUpdateOperationsInput | string | null;
22864
23002
  scope?: NullableStringFieldUpdateOperationsInput | string | null;
22865
23003
  id_token?: NullableStringFieldUpdateOperationsInput | string | null;
22866
23004
  session_state?: NullableStringFieldUpdateOperationsInput | string | null;
23005
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
23006
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
22867
23007
  };
22868
23008
  export type AccountUncheckedUpdateWithoutUserInput = {
22869
23009
  id?: StringFieldUpdateOperationsInput | string;
22870
23010
  type?: StringFieldUpdateOperationsInput | string;
22871
23011
  provider?: StringFieldUpdateOperationsInput | string;
22872
23012
  providerAccountId?: StringFieldUpdateOperationsInput | string;
23013
+ password?: NullableStringFieldUpdateOperationsInput | string | null;
22873
23014
  refresh_token?: NullableStringFieldUpdateOperationsInput | string | null;
22874
23015
  access_token?: NullableStringFieldUpdateOperationsInput | string | null;
22875
23016
  expires_at?: NullableIntFieldUpdateOperationsInput | number | null;
23017
+ accessTokenExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
23018
+ refreshTokenExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
22876
23019
  token_type?: NullableStringFieldUpdateOperationsInput | string | null;
22877
23020
  scope?: NullableStringFieldUpdateOperationsInput | string | null;
22878
23021
  id_token?: NullableStringFieldUpdateOperationsInput | string | null;
22879
23022
  session_state?: NullableStringFieldUpdateOperationsInput | string | null;
23023
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
23024
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
22880
23025
  };
22881
23026
  export type AccountUncheckedUpdateManyWithoutUserInput = {
22882
23027
  id?: StringFieldUpdateOperationsInput | string;
22883
23028
  type?: StringFieldUpdateOperationsInput | string;
22884
23029
  provider?: StringFieldUpdateOperationsInput | string;
22885
23030
  providerAccountId?: StringFieldUpdateOperationsInput | string;
23031
+ password?: NullableStringFieldUpdateOperationsInput | string | null;
22886
23032
  refresh_token?: NullableStringFieldUpdateOperationsInput | string | null;
22887
23033
  access_token?: NullableStringFieldUpdateOperationsInput | string | null;
22888
23034
  expires_at?: NullableIntFieldUpdateOperationsInput | number | null;
23035
+ accessTokenExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
23036
+ refreshTokenExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
22889
23037
  token_type?: NullableStringFieldUpdateOperationsInput | string | null;
22890
23038
  scope?: NullableStringFieldUpdateOperationsInput | string | null;
22891
23039
  id_token?: NullableStringFieldUpdateOperationsInput | string | null;
22892
23040
  session_state?: NullableStringFieldUpdateOperationsInput | string | null;
23041
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
23042
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
22893
23043
  };
22894
23044
  export type SessionUpdateWithoutUserInput = {
22895
23045
  id?: StringFieldUpdateOperationsInput | string;
22896
23046
  sessionToken?: StringFieldUpdateOperationsInput | string;
22897
23047
  expires?: DateTimeFieldUpdateOperationsInput | Date | string;
23048
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
23049
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
23050
+ ipAddress?: NullableStringFieldUpdateOperationsInput | string | null;
23051
+ userAgent?: NullableStringFieldUpdateOperationsInput | string | null;
22898
23052
  };
22899
23053
  export type SessionUncheckedUpdateWithoutUserInput = {
22900
23054
  id?: StringFieldUpdateOperationsInput | string;
22901
23055
  sessionToken?: StringFieldUpdateOperationsInput | string;
22902
23056
  expires?: DateTimeFieldUpdateOperationsInput | Date | string;
23057
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
23058
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
23059
+ ipAddress?: NullableStringFieldUpdateOperationsInput | string | null;
23060
+ userAgent?: NullableStringFieldUpdateOperationsInput | string | null;
22903
23061
  };
22904
23062
  export type SessionUncheckedUpdateManyWithoutUserInput = {
22905
23063
  id?: StringFieldUpdateOperationsInput | string;
22906
23064
  sessionToken?: StringFieldUpdateOperationsInput | string;
22907
23065
  expires?: DateTimeFieldUpdateOperationsInput | Date | string;
23066
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
23067
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
23068
+ ipAddress?: NullableStringFieldUpdateOperationsInput | string | null;
23069
+ userAgent?: NullableStringFieldUpdateOperationsInput | string | null;
22908
23070
  };
22909
23071
  export type UserInviteUpdateWithoutUserInput = {
22910
23072
  id?: StringFieldUpdateOperationsInput | string;
@@ -22942,6 +23104,351 @@ declare namespace Prisma {
22942
23104
  export const dmmf: BaseDMMF;
22943
23105
  }
22944
23106
  //#endregion
23107
+ //#region ../host/src/infrastructure/persistence/PrismaDatabaseClient.d.ts
23108
+ type PrismaDatabaseClient = PrismaClient;
23109
+ //#endregion
23110
+ //#region ../host/src/application/logging/Logger.d.ts
23111
+ interface Logger {
23112
+ info(message: string, exception?: Error): void;
23113
+ warn(message: string, exception?: Error): void;
23114
+ error(message: string, exception?: Error): void;
23115
+ debug(message: string, exception?: Error): void;
23116
+ }
23117
+ interface LoggerFactory {
23118
+ create(scope: string): Logger;
23119
+ }
23120
+ //#endregion
23121
+ //#region ../host/src/presentation/config/CodemationClassToken.d.ts
23122
+ type CodemationClassToken<TValue> = TypeToken<TValue> & (new (...args: never[]) => TValue);
23123
+ //#endregion
23124
+ //#region ../host/src/bootstrap/CodemationContainerRegistration.d.ts
23125
+ interface CodemationContainerRegistrationBase<TValue> {
23126
+ readonly token: TypeToken<TValue>;
23127
+ }
23128
+ interface CodemationValueRegistration<TValue> extends CodemationContainerRegistrationBase<TValue> {
23129
+ readonly useValue: TValue;
23130
+ }
23131
+ interface CodemationClassRegistration<TValue> extends CodemationContainerRegistrationBase<TValue> {
23132
+ readonly useClass: CodemationClassToken<TValue>;
23133
+ }
23134
+ interface CodemationFactoryRegistration<TValue> extends CodemationContainerRegistrationBase<TValue> {
23135
+ readonly useFactory: (container: Container) => TValue;
23136
+ }
23137
+ type CodemationContainerRegistration<TValue = unknown> = CodemationValueRegistration<TValue> | CodemationClassRegistration<TValue> | CodemationFactoryRegistration<TValue>;
23138
+ //#endregion
23139
+ //#region ../host/src/presentation/config/CodemationAppContext.d.ts
23140
+ interface CodemationRegistrationContextBase {
23141
+ readonly appConfig?: AppConfig;
23142
+ registerCredentialType(type: AnyCredentialType): void;
23143
+ registerNode<TValue>(token: TypeToken<TValue>, implementation?: CodemationClassToken<TValue>): void;
23144
+ registerValue<TValue>(token: TypeToken<TValue>, value: TValue): void;
23145
+ registerClass<TValue>(token: TypeToken<TValue>, implementation: CodemationClassToken<TValue>): void;
23146
+ registerFactory<TValue>(token: TypeToken<TValue>, factory: (container: Container) => TValue): void;
23147
+ }
23148
+ interface CodemationAppContext extends CodemationRegistrationContextBase {
23149
+ registerWorkflow(workflow: WorkflowDefinition): void;
23150
+ registerWorkflows(workflows: ReadonlyArray<WorkflowDefinition>): void;
23151
+ discoverWorkflows(...directories: ReadonlyArray<string>): void;
23152
+ }
23153
+ //#endregion
23154
+ //#region ../host/src/presentation/config/CodemationAuthConfig.d.ts
23155
+ /**
23156
+ * Consumer-declared authentication profile for the hosted UI + HTTP API.
23157
+ * Social provider ids intentionally match Better Auth's provider ids so config stays 1:1 with the auth runtime.
23158
+ */
23159
+ type CodemationAuthKind = "local" | "oauth" | "oidc";
23160
+ type CodemationAuthOAuthProviderId = Extract<keyof NonNullable<BetterAuthOptions["socialProviders"]>, "github" | "google" | "microsoft">;
23161
+ interface CodemationAuthOAuthProviderConfig {
23162
+ readonly provider: CodemationAuthOAuthProviderId;
23163
+ readonly clientIdEnv: string;
23164
+ readonly clientSecretEnv: string;
23165
+ /** Microsoft tenant; environment variable name whose value is the tenant ID. */
23166
+ readonly tenantIdEnv?: string;
23167
+ }
23168
+ interface CodemationAuthOidcProviderConfig {
23169
+ readonly id: string;
23170
+ readonly issuer: string;
23171
+ readonly clientIdEnv: string;
23172
+ readonly clientSecretEnv: string;
23173
+ }
23174
+ interface CodemationAuthConfig {
23175
+ readonly kind: CodemationAuthKind;
23176
+ /**
23177
+ * When true and NODE_ENV is not production, the API accepts requests without a real session
23178
+ * (synthetic principal only — never honored in production).
23179
+ */
23180
+ readonly allowUnauthenticatedInDevelopment?: boolean;
23181
+ readonly oauth?: ReadonlyArray<CodemationAuthOAuthProviderConfig>;
23182
+ readonly oidc?: ReadonlyArray<CodemationAuthOidcProviderConfig>;
23183
+ }
23184
+ //#endregion
23185
+ //#region ../host/src/presentation/config/CodemationLogConfig.d.ts
23186
+ /**
23187
+ * Minimum level for namespaces matched by {@link CodemationLogRule.filter}.
23188
+ * `silent` suppresses all log lines for matching namespaces.
23189
+ */
23190
+ type CodemationLogLevelName = "debug" | "info" | "warn" | "error" | "silent";
23191
+ /**
23192
+ * One rule: {@link filter} is one glob or several (`*` = any substring; a lone `*` matches all namespaces).
23193
+ * If multiple patterns are given, **any** match applies this rule’s level.
23194
+ * Rules are evaluated in order; the **first** rule whose filter set matches wins.
23195
+ */
23196
+ type CodemationLogRule = Readonly<{
23197
+ filter: string | ReadonlyArray<string>;
23198
+ level: CodemationLogLevelName;
23199
+ }>;
23200
+ /**
23201
+ * Either a single rule (`{ filter, level }`) or multiple `{ rules: [...] }`.
23202
+ * Put broader patterns last, e.g. `{ filter: "codemation.webhooks.*", level: "info" }` then `{ filter: "*", level: "warn" }`.
23203
+ * Use an array for `filter` to match several namespaces with the same level, e.g. `filter: ["codemation.webhooks.*", "codemation.engine.triggers"]`.
23204
+ */
23205
+ type CodemationLogConfig = Readonly<{
23206
+ rules: ReadonlyArray<CodemationLogRule>;
23207
+ }> | CodemationLogRule;
23208
+ //#endregion
23209
+ //#region ../host/src/presentation/config/CodemationWhitelabelConfig.d.ts
23210
+ /**
23211
+ * Optional host shell whitelabeling (sidebar, login, document title).
23212
+ * `logoPath` is resolved relative to the consumer project root.
23213
+ */
23214
+ interface CodemationWhitelabelConfig {
23215
+ readonly productName?: string;
23216
+ /** Relative to consumer project root, e.g. `branding/logo.svg`. */
23217
+ readonly logoPath?: string;
23218
+ }
23219
+ //#endregion
23220
+ //#region ../host/src/presentation/config/CodemationWorkflowDiscovery.d.ts
23221
+ interface CodemationWorkflowDiscovery {
23222
+ readonly directories?: ReadonlyArray<string>;
23223
+ }
23224
+ //#endregion
23225
+ //#region ../host/src/presentation/config/CodemationConfig.d.ts
23226
+ type CodemationEventBusKind = "memory" | "redis";
23227
+ type CodemationSchedulerKind = "local" | "bullmq";
23228
+ type CodemationDatabaseKind = "postgresql" | "sqlite";
23229
+ interface CodemationDatabaseConfig {
23230
+ readonly kind?: CodemationDatabaseKind;
23231
+ /** TCP PostgreSQL URL when `kind` is `postgresql` (or omitted with a postgres URL). */
23232
+ readonly url?: string;
23233
+ /** SQLite database file path when `kind` is `sqlite`. Relative paths resolve from the consumer app root. */
23234
+ readonly sqliteFilePath?: string;
23235
+ }
23236
+ interface CodemationEventBusConfig {
23237
+ readonly kind?: CodemationEventBusKind;
23238
+ readonly redisUrl?: string;
23239
+ readonly queuePrefix?: string;
23240
+ }
23241
+ interface CodemationSchedulerConfig {
23242
+ readonly kind?: CodemationSchedulerKind;
23243
+ readonly queuePrefix?: string;
23244
+ readonly workerQueues?: ReadonlyArray<string>;
23245
+ }
23246
+ type CodemationAppSchedulerKind = "inline" | "queue";
23247
+ interface CodemationAppSchedulerConfig {
23248
+ readonly kind?: CodemationAppSchedulerKind;
23249
+ readonly queuePrefix?: string;
23250
+ readonly workerQueues?: ReadonlyArray<string>;
23251
+ readonly redisUrl?: string;
23252
+ }
23253
+ /**
23254
+ * Optional overrides for engine execution limits (activation budget and subworkflow depth caps).
23255
+ * Omitted fields keep framework defaults. Advanced users can bind `CoreTokens.EngineExecutionLimitsPolicy` for full control.
23256
+ */
23257
+ type CodemationEngineExecutionLimitsConfig = Readonly<Partial<EngineExecutionLimitsPolicyConfig>>;
23258
+ interface CodemationAppDefinition {
23259
+ readonly frontendPort?: number;
23260
+ readonly databaseUrl?: string;
23261
+ readonly database?: CodemationDatabaseConfig;
23262
+ readonly scheduler?: CodemationAppSchedulerConfig;
23263
+ readonly auth?: CodemationAuthConfig;
23264
+ readonly whitelabel?: CodemationWhitelabelConfig;
23265
+ readonly log?: CodemationLogConfig;
23266
+ readonly engineExecutionLimits?: CodemationEngineExecutionLimitsConfig;
23267
+ }
23268
+ interface CodemationApplicationRuntimeConfig {
23269
+ readonly frontendPort?: number;
23270
+ readonly database?: CodemationDatabaseConfig;
23271
+ readonly eventBus?: CodemationEventBusConfig;
23272
+ readonly scheduler?: CodemationSchedulerConfig;
23273
+ /** Merged with engine defaults when building the execution limits policy (API + workers). */
23274
+ readonly engineExecutionLimits?: CodemationEngineExecutionLimitsConfig;
23275
+ }
23276
+ interface CodemationConfig {
23277
+ readonly app?: CodemationAppDefinition;
23278
+ readonly register?: (context: CodemationAppContext) => void;
23279
+ readonly runtime?: CodemationApplicationRuntimeConfig;
23280
+ readonly workflows?: ReadonlyArray<WorkflowDefinition>;
23281
+ readonly workflowDiscovery?: CodemationWorkflowDiscovery;
23282
+ readonly plugins?: ReadonlyArray<CodemationPlugin>;
23283
+ /** Consumer-defined `CredentialType` entries (see `@codemation/core`), applied when the host loads config. */
23284
+ readonly credentialTypes?: ReadonlyArray<AnyCredentialType>;
23285
+ /** Optional shell whitelabel (product name, logo path). */
23286
+ readonly whitelabel?: CodemationWhitelabelConfig;
23287
+ /** Required for production hosts; optional only when using development bypass (never in production). */
23288
+ readonly auth?: CodemationAuthConfig;
23289
+ /**
23290
+ * Namespace-level log filters (first matching rule wins). Unmatched namespaces use `CODEMATION_LOG_LEVEL` / defaults.
23291
+ * Omit to keep env-only behavior.
23292
+ */
23293
+ readonly log?: CodemationLogConfig;
23294
+ }
23295
+ //#endregion
23296
+ //#region ../host/src/presentation/config/CodemationPlugin.d.ts
23297
+ interface CodemationPluginContext extends CodemationRegistrationContextBase {
23298
+ readonly container: Container;
23299
+ readonly appConfig: AppConfig;
23300
+ readonly loggerFactory: LoggerFactory;
23301
+ }
23302
+ interface CodemationPluginConfig {
23303
+ readonly pluginPackageId?: string;
23304
+ readonly credentialTypes?: ReadonlyArray<AnyCredentialType>;
23305
+ readonly register?: (context: CodemationPluginContext) => void | Promise<void>;
23306
+ readonly sandbox?: CodemationConfig;
23307
+ }
23308
+ type CodemationPlugin = CodemationPluginConfig;
23309
+ //#endregion
23310
+ //#region ../host/src/presentation/config/AppConfig.d.ts
23311
+ type AppPersistenceConfig = Readonly<{
23312
+ kind: "none";
23313
+ }> | Readonly<{
23314
+ kind: "postgresql";
23315
+ databaseUrl: string;
23316
+ }> | Readonly<{
23317
+ kind: "sqlite";
23318
+ databaseFilePath: string;
23319
+ }>;
23320
+ type AppPluginLoadSummary = Readonly<{
23321
+ packageName: string;
23322
+ source: "configured" | "discovered";
23323
+ }>;
23324
+ interface AppConfig {
23325
+ readonly consumerRoot: string;
23326
+ readonly repoRoot: string;
23327
+ readonly env: Readonly<NodeJS.ProcessEnv>;
23328
+ readonly workflowSources: ReadonlyArray<string>;
23329
+ readonly workflows: ReadonlyArray<WorkflowDefinition>;
23330
+ readonly containerRegistrations: ReadonlyArray<CodemationContainerRegistration<unknown>>;
23331
+ readonly credentialTypes: ReadonlyArray<AnyCredentialType>;
23332
+ readonly plugins: ReadonlyArray<CodemationPlugin>;
23333
+ readonly pluginLoadSummary?: ReadonlyArray<AppPluginLoadSummary>;
23334
+ readonly hasConfiguredCredentialSessionServiceRegistration: boolean;
23335
+ readonly log?: CodemationLogConfig;
23336
+ readonly engineExecutionLimits?: CodemationEngineExecutionLimitsConfig;
23337
+ readonly databaseUrl?: string;
23338
+ readonly database?: CodemationDatabaseConfig;
23339
+ readonly persistence: AppPersistenceConfig;
23340
+ readonly scheduler: Readonly<{
23341
+ kind: CodemationSchedulerKind;
23342
+ queuePrefix?: string;
23343
+ workerQueues: ReadonlyArray<string>;
23344
+ redisUrl?: string;
23345
+ }>;
23346
+ readonly eventing: Readonly<{
23347
+ kind: CodemationEventBusKind;
23348
+ queuePrefix?: string;
23349
+ redisUrl?: string;
23350
+ }>;
23351
+ readonly auth?: CodemationAuthConfig;
23352
+ readonly whitelabel: CodemationWhitelabelConfig;
23353
+ readonly webSocketPort: number;
23354
+ readonly webSocketBindHost: string;
23355
+ }
23356
+ //#endregion
23357
+ //#region ../host/src/infrastructure/config/CodemationPluginRegistrar.d.ts
23358
+ declare class CodemationPluginRegistrar {
23359
+ apply(args: Readonly<{
23360
+ plugins: ReadonlyArray<CodemationPlugin>;
23361
+ container: Container;
23362
+ appConfig: AppConfig;
23363
+ registerCredentialType: (type: AnyCredentialType) => void;
23364
+ loggerFactory: LoggerFactory;
23365
+ }>): Promise<void>;
23366
+ }
23367
+ //#endregion
23368
+ //#region ../host/src/application/contracts/WorkflowWebsocketMessage.d.ts
23369
+ type WorkflowWebsocketMessage = Readonly<{
23370
+ kind: "event";
23371
+ event: RunEvent;
23372
+ }> | Readonly<{
23373
+ kind: "workflowChanged";
23374
+ workflowId: string;
23375
+ }> | Readonly<{
23376
+ kind: "devBuildStarted";
23377
+ workflowId: string;
23378
+ buildVersion?: string;
23379
+ }> | Readonly<{
23380
+ kind: "devBuildCompleted";
23381
+ workflowId: string;
23382
+ buildVersion: string;
23383
+ }> | Readonly<{
23384
+ kind: "devBuildFailed";
23385
+ workflowId: string;
23386
+ message: string;
23387
+ }>;
23388
+ //#endregion
23389
+ //#region ../host/src/application/websocket/WorkflowWebsocketPublisher.d.ts
23390
+ interface WorkflowWebsocketPublisher {
23391
+ publishToRoom(roomId: string, message: WorkflowWebsocketMessage): Promise<void>;
23392
+ }
23393
+ //#endregion
23394
+ //#region ../host/src/presentation/websocket/WorkflowWebsocketServer.d.ts
23395
+ declare class WorkflowWebsocketServer implements WorkflowWebsocketPublisher {
23396
+ private readonly port;
23397
+ private readonly bindHost;
23398
+ private readonly logger;
23399
+ private websocketServer;
23400
+ private readonly sockets;
23401
+ private readonly roomIdsBySocket;
23402
+ private started;
23403
+ constructor(port: number, bindHost: string, logger: Logger);
23404
+ start(): Promise<void>;
23405
+ stop(): Promise<void>;
23406
+ publishToRoom(roomId: string, message: WorkflowWebsocketMessage): Promise<void>;
23407
+ private connect;
23408
+ private handleMessage;
23409
+ private awaitListening;
23410
+ private closeAfterFailedStart;
23411
+ private parseClientMessage;
23412
+ }
23413
+ //#endregion
23414
+ //#region ../host/src/bootstrap/CodemationContainerRegistrationRegistrar.d.ts
23415
+ declare class CodemationContainerRegistrationRegistrar {
23416
+ apply(container: Container, registrations: ReadonlyArray<CodemationContainerRegistration<unknown>>): void;
23417
+ private applyRegistration;
23418
+ private isValueRegistration;
23419
+ private isClassRegistration;
23420
+ }
23421
+ //#endregion
23422
+ //#region ../host/src/bootstrap/AppContainerFactory.d.ts
23423
+ type AppContainerInputs = Readonly<{
23424
+ appConfig: AppConfig;
23425
+ sharedWorkflowWebsocketServer: WorkflowWebsocketServer | null;
23426
+ }>;
23427
+ declare class AppContainerFactory {
23428
+ private readonly containerRegistrationRegistrar;
23429
+ private readonly pluginRegistrar;
23430
+ private static readonly queryHandlers;
23431
+ private static readonly commandHandlers;
23432
+ private static readonly honoRouteRegistrars;
23433
+ constructor(containerRegistrationRegistrar?: CodemationContainerRegistrationRegistrar, pluginRegistrar?: CodemationPluginRegistrar);
23434
+ create(inputs: AppContainerInputs): Promise<Container>;
23435
+ private collectCredentialTypes;
23436
+ private applyPlugins;
23437
+ private registerCredentialTypes;
23438
+ private registerConfiguredRegistrations;
23439
+ private registerCoreInfrastructure;
23440
+ private registerRepositoriesAndBuses;
23441
+ private registerApplicationServicesAndRoutes;
23442
+ private registerOperationalInfrastructure;
23443
+ private registerRuntimeInfrastructure;
23444
+ private resolvePrismaOwnership;
23445
+ private registerRuntimeNodeActivationScheduler;
23446
+ private createBinaryStorage;
23447
+ private createRuntimeSummary;
23448
+ private requireRedisUrl;
23449
+ private synchronizeLiveWorkflowRepository;
23450
+ }
23451
+ //#endregion
22945
23452
  //#region ../host/src/presentation/config/CodemationConfigNormalizer.d.ts
22946
23453
  type NormalizedCodemationConfig = CodemationConfig & Readonly<{
22947
23454
  containerRegistrations: ReadonlyArray<CodemationContainerRegistration<unknown>>;
@@ -22960,7 +23467,7 @@ declare class AppConfigFactory {
22960
23467
  private createConfiguredPluginLoadSummary;
22961
23468
  private resolvePersistence;
22962
23469
  private resolveDatabaseKind;
22963
- private resolvePgliteDataDir;
23470
+ private resolveSqliteFilePath;
22964
23471
  private resolveSchedulerKind;
22965
23472
  private resolveEventBusKind;
22966
23473
  private readSchedulerKind;
@@ -23063,7 +23570,7 @@ declare class CodemationCliApplicationSession {
23063
23570
  static open(args: Readonly<{
23064
23571
  appConfig: AppConfig;
23065
23572
  }>): Promise<CodemationCliApplicationSession>;
23066
- getPrismaClient(): PrismaClient | undefined;
23573
+ getPrismaClient(): PrismaDatabaseClient | undefined;
23067
23574
  getCommandBus(): CommandBus;
23068
23575
  getQueryBus(): QueryBus;
23069
23576
  close(): Promise<void>;
@@ -23276,12 +23783,12 @@ declare class ConsumerCliTsconfigPreparation {
23276
23783
  //#endregion
23277
23784
  //#region src/database/ConsumerDatabaseConnectionResolver.d.ts
23278
23785
  /**
23279
- * Resolves TCP PostgreSQL vs PGlite vs none from env + {@link CodemationConfig} (same rules as the host runtime).
23786
+ * Resolves TCP PostgreSQL vs SQLite vs none from env + {@link CodemationConfig} (same rules as the host runtime).
23280
23787
  */
23281
23788
  declare class ConsumerDatabaseConnectionResolver {
23282
23789
  resolve(processEnv: NodeJS.ProcessEnv, config: CodemationConfig, consumerRoot: string): AppPersistenceConfig;
23283
23790
  private resolveDatabaseKind;
23284
- private resolvePgliteDataDir;
23791
+ private resolveSqliteFilePath;
23285
23792
  }
23286
23793
  //#endregion
23287
23794
  //#region src/user/CliDatabaseUrlDescriptor.d.ts