expo-backend-types 0.22.0-EXPO-288-EB-Imagenes.1 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/README.md +1 -1
  2. package/dist/src/csv/dto/csv.dto.d.ts +18 -0
  3. package/dist/src/csv/dto/csv.dto.js +17 -0
  4. package/dist/src/csv/dto/download-all-tables.dto.d.ts +23 -0
  5. package/dist/src/csv/dto/download-all-tables.dto.js +19 -0
  6. package/dist/src/csv/dto/download-profiles.dto.d.ts +18 -0
  7. package/dist/src/csv/dto/download-profiles.dto.js +15 -0
  8. package/dist/src/csv/exports.d.ts +3 -0
  9. package/dist/src/{image → csv}/exports.js +3 -3
  10. package/dist/src/event/dto/event.dto.js +1 -1
  11. package/dist/src/event/dto/get-all-event.dto.d.ts +160 -160
  12. package/dist/src/event/dto/get-by-id-event.dto.d.ts +48 -48
  13. package/dist/src/event/dto/update-event.dto.d.ts +20 -20
  14. package/dist/src/i18n/es.d.ts +18 -20
  15. package/dist/src/i18n/es.js +18 -20
  16. package/dist/src/i18n/es.js.map +1 -1
  17. package/dist/src/location/dto/find-all-location.dto.d.ts +16 -16
  18. package/dist/src/message/dto/message.dto.d.ts +2 -2
  19. package/dist/src/profile/dto/find-all-profile.dto.d.ts +86 -86
  20. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +124 -124
  21. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +52 -52
  22. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +64 -64
  23. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +84 -84
  24. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +72 -72
  25. package/dist/src/profile/dto/update-profile.dto.d.ts +4 -4
  26. package/dist/types/prisma-schema/default.d.ts +1 -1
  27. package/dist/types/prisma-schema/edge.d.ts +1 -1
  28. package/dist/types/prisma-schema/edge.js +7 -11
  29. package/dist/types/prisma-schema/index-browser.js +4 -7
  30. package/dist/types/prisma-schema/index.d.ts +1036 -805
  31. package/dist/types/prisma-schema/index.js +7 -11
  32. package/dist/types/prisma-schema/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
  33. package/dist/types/prisma-schema/package.json +1 -14
  34. package/dist/types/prisma-schema/runtime/edge-esm.js +18 -21
  35. package/dist/types/prisma-schema/runtime/edge.js +18 -21
  36. package/dist/types/prisma-schema/runtime/index-browser.js +1 -1
  37. package/dist/types/prisma-schema/runtime/library.d.ts +87 -297
  38. package/dist/types/prisma-schema/runtime/library.js +61 -64
  39. package/dist/types/prisma-schema/runtime/react-native.js +28 -31
  40. package/dist/types/prisma-schema/runtime/wasm.js +19 -22
  41. package/dist/types/prisma-schema/wasm.d.ts +1 -1
  42. package/dist/types/prisma-schema/wasm.js +4 -7
  43. package/dist/types/schema.d.ts +32 -42
  44. package/package.json +7 -5
  45. package/dist/src/image/dto/delete-image.dto.d.ts +0 -18
  46. package/dist/src/image/dto/delete-image.dto.js +0 -12
  47. package/dist/src/image/dto/image.dto.d.ts +0 -24
  48. package/dist/src/image/dto/image.dto.js +0 -18
  49. package/dist/src/image/dto/update-image.dto.d.ts +0 -18
  50. package/dist/src/image/dto/update-image.dto.js +0 -15
  51. package/dist/src/image/exports.d.ts +0 -3
@@ -23,8 +23,6 @@ declare type AccelerateEngineConfig = {
23
23
 
24
24
  export declare type Action = keyof typeof DMMF.ModelAction | 'executeRaw' | 'queryRaw' | 'runCommandRaw';
25
25
 
26
- declare type ActiveConnectorType = Exclude<ConnectorType, 'postgres'>;
27
-
28
26
  export declare type Aggregate = '_count' | '_max' | '_min' | '_avg' | '_sum';
29
27
 
30
28
  export declare type AllModelsToStringIndex<TypeMap extends TypeMapDef, Args extends Record<string, any>, K extends PropertyKey> = Args extends {
@@ -38,10 +36,6 @@ export declare type AllModelsToStringIndex<TypeMap extends TypeMapDef, Args exte
38
36
  declare class AnyNull extends NullTypesEnumValue {
39
37
  }
40
38
 
41
- export declare type ApplyOmit<T, OmitConfig> = Compute<{
42
- [K in keyof T as OmitValue<OmitConfig, K> extends true ? never : K]: T[K];
43
- }>;
44
-
45
39
  export declare type Args<T, F extends Operation> = T extends {
46
40
  [K: symbol]: {
47
41
  types: {
@@ -56,13 +50,6 @@ export declare type Args<T, F extends Operation> = T extends {
56
50
 
57
51
  export declare type Args_3<T, F extends Operation> = Args<T, F>;
58
52
 
59
- /**
60
- * Original `quaint::ValueType` enum tag from Prisma's `quaint`.
61
- * Query arguments marked with this type are sanitized before being sent to the database.
62
- * Notice while a query argument may be `null`, `ArgType` is guaranteed to be defined.
63
- */
64
- declare type ArgType = 'Int32' | 'Int64' | 'Float' | 'Double' | 'Text' | 'Enum' | 'EnumArray' | 'Bytes' | 'Boolean' | 'Char' | 'Array' | 'Numeric' | 'Json' | 'Xml' | 'Uuid' | 'DateTime' | 'Date' | 'Time';
65
-
66
53
  /**
67
54
  * Attributes is a map from string to attribute values.
68
55
  *
@@ -79,9 +66,7 @@ declare interface Attributes {
79
66
  */
80
67
  declare type AttributeValue = string | number | boolean | Array<null | undefined | string> | Array<null | undefined | number> | Array<null | undefined | boolean>;
81
68
 
82
- export declare type BaseDMMF = {
83
- readonly datamodel: Omit<DMMF.Datamodel, 'indexes'>;
84
- };
69
+ export declare type BaseDMMF = Pick<DMMF.Document, 'datamodel'>;
85
70
 
86
71
  declare type BatchArgs = {
87
72
  queries: BatchQuery[];
@@ -141,20 +126,7 @@ export declare type ClientArgs = {
141
126
  client: ClientArg;
142
127
  };
143
128
 
144
- export declare type ClientBuiltInProp = keyof DynamicClientExtensionThisBuiltin<never, never, never, never>;
145
-
146
- export declare type ClientOptionDef = undefined | {
147
- [K in string]: any;
148
- };
149
-
150
- export declare type ClientOtherOps = {
151
- $queryRaw<T = unknown>(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise<T>;
152
- $queryRawTyped<T>(query: TypedSql<unknown[], T>): PrismaPromise<T[]>;
153
- $queryRawUnsafe<T = unknown>(query: string, ...values: any[]): PrismaPromise<T>;
154
- $executeRaw(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise<number>;
155
- $executeRawUnsafe(query: string, ...values: any[]): PrismaPromise<number>;
156
- $runCommandRaw(command: InputJsonObject): PrismaPromise<JsonObject>;
157
- };
129
+ export declare type ClientBuiltInProp = keyof DynamicClientExtensionThisBuiltin<never, never, never>;
158
130
 
159
131
  declare type ColumnType = (typeof ColumnTypeEnum)[keyof typeof ColumnTypeEnum];
160
132
 
@@ -213,11 +185,8 @@ declare type ComputedFieldsMap = {
213
185
 
214
186
  declare type ConnectionInfo = {
215
187
  schemaName?: string;
216
- maxBindValues?: number;
217
188
  };
218
189
 
219
- declare type ConnectorType = 'mysql' | 'mongodb' | 'sqlite' | 'postgresql' | 'postgres' | 'sqlserver' | 'cockroachdb';
220
-
221
190
  declare interface Context {
222
191
  /**
223
192
  * Get a value from the context.
@@ -605,13 +574,9 @@ export declare interface DecimalJsLike {
605
574
 
606
575
  export declare type DefaultArgs = InternalArgs<{}, {}, {}, {}>;
607
576
 
608
- export declare type DefaultSelection<Payload extends OperationPayload, Args = {}, ClientOptions = {}> = Args extends {
609
- omit: infer LocalOmit;
610
- } ? ApplyOmit<UnwrapPayload<{
611
- default: Payload;
612
- }>['default'], PatchFlat<LocalOmit, ExtractGlobalOmit<ClientOptions, Uncapitalize<Payload['name']>>>> : ApplyOmit<UnwrapPayload<{
613
- default: Payload;
614
- }>['default'], ExtractGlobalOmit<ClientOptions, Uncapitalize<Payload['name']>>>;
577
+ export declare type DefaultSelection<P> = UnwrapPayload<{
578
+ default: P;
579
+ }>['default'];
615
580
 
616
581
  export declare function defineDmmfProperty(target: object, runtimeDataModel: RuntimeDataModel): void;
617
582
 
@@ -619,8 +584,6 @@ declare function defineExtension(ext: ExtensionArgs | ((client: Client) => Clien
619
584
 
620
585
  declare const denylist: readonly ["$connect", "$disconnect", "$on", "$transaction", "$use", "$extends"];
621
586
 
622
- export declare function deserializeJsonResponse(result: unknown): unknown;
623
-
624
587
  export declare type DevTypeMapDef = {
625
588
  meta: {
626
589
  modelProps: string;
@@ -676,7 +639,6 @@ export declare namespace DMMF {
676
639
  models: Model[];
677
640
  enums: DatamodelEnum[];
678
641
  types: Model[];
679
- indexes: Index[];
680
642
  }>;
681
643
  export type uniqueIndex = ReadonlyDeep_2<{
682
644
  name: string;
@@ -728,24 +690,6 @@ export declare namespace DMMF {
728
690
  args: any[];
729
691
  }>;
730
692
  export type FieldDefaultScalar = string | boolean | number;
731
- export type Index = ReadonlyDeep_2<{
732
- model: string;
733
- type: IndexType;
734
- isDefinedOnField: boolean;
735
- name?: string;
736
- dbName?: string;
737
- algorithm?: string;
738
- clustered?: boolean;
739
- fields: IndexField[];
740
- }>;
741
- export type IndexType = 'id' | 'normal' | 'unique' | 'fulltext';
742
- export type IndexField = ReadonlyDeep_2<{
743
- name: string;
744
- sortOrder?: SortOrder;
745
- length?: number;
746
- operatorClass?: string;
747
- }>;
748
- export type SortOrder = 'asc' | 'desc';
749
693
  export type Schema = ReadonlyDeep_2<{
750
694
  rootQueryType?: string;
751
695
  rootMutationType?: string;
@@ -870,13 +814,11 @@ export declare namespace DMMF {
870
814
  }
871
815
  }
872
816
 
873
- export declare function dmmfToRuntimeDataModel(dmmfDataModel: DMMF.Datamodel): RuntimeDataModel;
874
-
875
817
  export declare interface DriverAdapter extends Queryable {
876
818
  /**
877
819
  * Starts new transaction.
878
820
  */
879
- transactionContext(): Promise<Result_4<TransactionContext>>;
821
+ startTransaction(): Promise<Result_4<Transaction>>;
880
822
  /**
881
823
  * Optional method that returns extra connection info
882
824
  */
@@ -884,38 +826,36 @@ export declare interface DriverAdapter extends Queryable {
884
826
  }
885
827
 
886
828
  /** Client */
887
- export declare type DynamicClientExtensionArgs<C_, TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>, ClientOptions> = {
829
+ export declare type DynamicClientExtensionArgs<C_, TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {
888
830
  [P in keyof C_]: unknown;
889
831
  } & {
890
832
  [K: symbol]: {
891
- ctx: Optional<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs, ClientOptions>, ITXClientDenyList> & {
892
- $parent: Optional<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs, ClientOptions>, ITXClientDenyList>;
833
+ ctx: Optional<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList> & {
834
+ $parent: Optional<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList>;
893
835
  };
894
836
  };
895
837
  };
896
838
 
897
- export declare type DynamicClientExtensionThis<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>, ClientOptions> = {
839
+ export declare type DynamicClientExtensionThis<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {
898
840
  [P in keyof ExtArgs['client']]: Return<ExtArgs['client'][P]>;
899
841
  } & {
900
- [P in Exclude<TypeMap['meta']['modelProps'], keyof ExtArgs['client']>]: DynamicModelExtensionThis<TypeMap, ModelKey<TypeMap, P>, ExtArgs, ClientOptions>;
842
+ [P in Exclude<TypeMap['meta']['modelProps'], keyof ExtArgs['client']>]: DynamicModelExtensionThis<TypeMap, ModelKey<TypeMap, P>, ExtArgs>;
901
843
  } & {
902
- [P in Exclude<keyof TypeMap['other']['operations'], keyof ExtArgs['client']>]: P extends keyof ClientOtherOps ? ClientOtherOps[P] : never;
844
+ [P in Exclude<keyof TypeMap['other']['operations'], keyof ExtArgs['client']>]: <R = GetResult<TypeMap['other']['payload'], any, P & Operation>>(...args: ToTuple<TypeMap['other']['operations'][P]['args']>) => PrismaPromise<R>;
903
845
  } & {
904
- [P in Exclude<ClientBuiltInProp, keyof ExtArgs['client']>]: DynamicClientExtensionThisBuiltin<TypeMap, TypeMapCb, ExtArgs, ClientOptions>[P];
846
+ [P in Exclude<ClientBuiltInProp, keyof ExtArgs['client']>]: DynamicClientExtensionThisBuiltin<TypeMap, TypeMapCb, ExtArgs>[P];
905
847
  } & {
906
848
  [K: symbol]: {
907
849
  types: TypeMap['other'];
908
850
  };
909
851
  };
910
852
 
911
- export declare type DynamicClientExtensionThisBuiltin<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>, ClientOptions> = {
912
- $extends: ExtendsHook<'extends', TypeMapCb, ExtArgs, Call<TypeMapCb, {
913
- extArgs: ExtArgs;
914
- }>, ClientOptions>;
853
+ export declare type DynamicClientExtensionThisBuiltin<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {
854
+ $extends: ExtendsHook<'extends', TypeMapCb, ExtArgs>;
915
855
  $transaction<P extends PrismaPromise<any>[]>(arg: [...P], options?: {
916
856
  isolationLevel?: TypeMap['meta']['txIsolationLevel'];
917
857
  }): Promise<UnwrapTuple<P>>;
918
- $transaction<R>(fn: (client: Omit<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs, ClientOptions>, ITXClientDenyList>) => Promise<R>, options?: {
858
+ $transaction<R>(fn: (client: Omit<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList>) => Promise<R>, options?: {
919
859
  maxWait?: number;
920
860
  timeout?: number;
921
861
  isolationLevel?: TypeMap['meta']['txIsolationLevel'];
@@ -925,7 +865,7 @@ export declare type DynamicClientExtensionThisBuiltin<TypeMap extends TypeMapDef
925
865
  };
926
866
 
927
867
  /** Model */
928
- export declare type DynamicModelExtensionArgs<M_, TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>, ClientOptions> = {
868
+ export declare type DynamicModelExtensionArgs<M_, TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {
929
869
  [K in keyof M_]: K extends '$allModels' ? {
930
870
  [P in keyof M_[K]]?: unknown;
931
871
  } & {
@@ -934,8 +874,8 @@ export declare type DynamicModelExtensionArgs<M_, TypeMap extends TypeMapDef, Ty
934
874
  [P in keyof M_[K]]?: unknown;
935
875
  } & {
936
876
  [K: symbol]: {
937
- ctx: DynamicModelExtensionThis<TypeMap, ModelKey<TypeMap, K>, ExtArgs, ClientOptions> & {
938
- $parent: DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs, ClientOptions>;
877
+ ctx: DynamicModelExtensionThis<TypeMap, ModelKey<TypeMap, K>, ExtArgs> & {
878
+ $parent: DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>;
939
879
  } & {
940
880
  $name: ModelKey<TypeMap, K>;
941
881
  } & {
@@ -948,26 +888,26 @@ export declare type DynamicModelExtensionArgs<M_, TypeMap extends TypeMapDef, Ty
948
888
  } : never;
949
889
  };
950
890
 
951
- export declare type DynamicModelExtensionFluentApi<TypeMap extends TypeMapDef, M extends PropertyKey, P extends PropertyKey, Null, ClientOptions> = {
891
+ export declare type DynamicModelExtensionFluentApi<TypeMap extends TypeMapDef, M extends PropertyKey, P extends PropertyKey, Null> = {
952
892
  [K in keyof TypeMap['model'][M]['payload']['objects']]: <A>(args?: Exact<A, Path<TypeMap['model'][M]['operations'][P]['args']['select'], [K]>>) => PrismaPromise<Path<DynamicModelExtensionFnResultBase<TypeMap, M, {
953
893
  select: {
954
894
  [P in K]: A;
955
895
  };
956
- }, P, ClientOptions>, [K]> | Null> & DynamicModelExtensionFluentApi<TypeMap, (TypeMap['model'][M]['payload']['objects'][K] & {})['name'], P, Null | Select<TypeMap['model'][M]['payload']['objects'][K], null>, ClientOptions>;
896
+ }, P>, [K]> | Null> & DynamicModelExtensionFluentApi<TypeMap, (TypeMap['model'][M]['payload']['objects'][K] & {})['name'], P, Null | Select<TypeMap['model'][M]['payload']['objects'][K], null>>;
957
897
  };
958
898
 
959
- export declare type DynamicModelExtensionFnResult<TypeMap extends TypeMapDef, M extends PropertyKey, A, P extends PropertyKey, Null, ClientOptions> = P extends FluentOperation ? DynamicModelExtensionFluentApi<TypeMap, M, P, Null, ClientOptions> & PrismaPromise<DynamicModelExtensionFnResultBase<TypeMap, M, A, P, ClientOptions> | Null> : PrismaPromise<DynamicModelExtensionFnResultBase<TypeMap, M, A, P, ClientOptions>>;
899
+ export declare type DynamicModelExtensionFnResult<TypeMap extends TypeMapDef, M extends PropertyKey, A, P extends PropertyKey, Null = DynamicModelExtensionFnResultNull<P>> = P extends FluentOperation ? DynamicModelExtensionFluentApi<TypeMap, M, P, Null> & PrismaPromise<DynamicModelExtensionFnResultBase<TypeMap, M, A, P> | Null> : PrismaPromise<DynamicModelExtensionFnResultBase<TypeMap, M, A, P>>;
960
900
 
961
- export declare type DynamicModelExtensionFnResultBase<TypeMap extends TypeMapDef, M extends PropertyKey, A, P extends PropertyKey, ClientOptions> = GetResult<TypeMap['model'][M]['payload'], A, P & Operation, ClientOptions>;
901
+ export declare type DynamicModelExtensionFnResultBase<TypeMap extends TypeMapDef, M extends PropertyKey, A, P extends PropertyKey> = GetResult<TypeMap['model'][M]['payload'], A, P & Operation>;
962
902
 
963
903
  export declare type DynamicModelExtensionFnResultNull<P extends PropertyKey> = P extends 'findUnique' | 'findFirst' ? null : never;
964
904
 
965
- export declare type DynamicModelExtensionOperationFn<TypeMap extends TypeMapDef, M extends PropertyKey, P extends PropertyKey, ClientOptions> = {} extends TypeMap['model'][M]['operations'][P]['args'] ? <A extends TypeMap['model'][M]['operations'][P]['args']>(args?: Exact<A, TypeMap['model'][M]['operations'][P]['args']>) => DynamicModelExtensionFnResult<TypeMap, M, A, P, DynamicModelExtensionFnResultNull<P>, ClientOptions> : <A extends TypeMap['model'][M]['operations'][P]['args']>(args: Exact<A, TypeMap['model'][M]['operations'][P]['args']>) => DynamicModelExtensionFnResult<TypeMap, M, A, P, DynamicModelExtensionFnResultNull<P>, ClientOptions>;
905
+ export declare type DynamicModelExtensionOperationFn<TypeMap extends TypeMapDef, M extends PropertyKey, P extends PropertyKey> = {} extends TypeMap['model'][M]['operations'][P]['args'] ? <A extends TypeMap['model'][M]['operations'][P]['args']>(args?: Exact<A, TypeMap['model'][M]['operations'][P]['args']>) => DynamicModelExtensionFnResult<TypeMap, M, A, P> : <A extends TypeMap['model'][M]['operations'][P]['args']>(args: Exact<A, TypeMap['model'][M]['operations'][P]['args']>) => DynamicModelExtensionFnResult<TypeMap, M, A, P>;
966
906
 
967
- export declare type DynamicModelExtensionThis<TypeMap extends TypeMapDef, M extends PropertyKey, ExtArgs extends Record<string, any>, ClientOptions> = {
907
+ export declare type DynamicModelExtensionThis<TypeMap extends TypeMapDef, M extends PropertyKey, ExtArgs extends Record<string, any>> = {
968
908
  [P in keyof ExtArgs['model'][Uncapitalize<M & string>]]: Return<ExtArgs['model'][Uncapitalize<M & string>][P]>;
969
909
  } & {
970
- [P in Exclude<keyof TypeMap['model'][M]['operations'], keyof ExtArgs['model'][Uncapitalize<M & string>]>]: DynamicModelExtensionOperationFn<TypeMap, M, P, ClientOptions>;
910
+ [P in Exclude<keyof TypeMap['model'][M]['operations'], keyof ExtArgs['model'][Uncapitalize<M & string>]>]: DynamicModelExtensionOperationFn<TypeMap, M, P>;
971
911
  } & {
972
912
  [P in Exclude<'fields', keyof ExtArgs['model'][Uncapitalize<M & string>]>]: TypeMap['model'][M]['fields'];
973
913
  } & {
@@ -1015,7 +955,7 @@ export declare type DynamicResultExtensionArgs<R_, TypeMap extends TypeMapDef> =
1015
955
 
1016
956
  export declare type DynamicResultExtensionData<TypeMap extends TypeMapDef, M extends PropertyKey, S> = GetFindResult<TypeMap['model'][M]['payload'], {
1017
957
  select: S;
1018
- }, {}>;
958
+ }>;
1019
959
 
1020
960
  export declare type DynamicResultExtensionNeeds<TypeMap extends TypeMapDef, M extends PropertyKey, S> = {
1021
961
  [K in keyof S]: K extends keyof TypeMap['model'][M]['payload']['scalars'] ? S[K] : never;
@@ -1141,7 +1081,6 @@ declare type EngineSpan = {
1141
1081
  trace_id: string;
1142
1082
  span_id: string;
1143
1083
  }[];
1144
- kind: EngineSpanKind;
1145
1084
  };
1146
1085
 
1147
1086
  declare type EngineSpanEvent = {
@@ -1149,13 +1088,6 @@ declare type EngineSpanEvent = {
1149
1088
  spans: EngineSpan[];
1150
1089
  };
1151
1090
 
1152
- declare type EngineSpanKind = 'client' | 'internal';
1153
-
1154
- declare type EnvPaths = {
1155
- rootEnvPath: string | null;
1156
- schemaEnvPath: string | undefined;
1157
- };
1158
-
1159
1091
  declare interface EnvValue {
1160
1092
  fromEnvVar: null | string;
1161
1093
  value: null | string;
@@ -1259,7 +1191,7 @@ declare type ExtendedSpanOptions = SpanOptions & {
1259
1191
  /** $extends, defineExtension */
1260
1192
  export declare interface ExtendsHook<Variant extends 'extends' | 'define', TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>, TypeMap extends TypeMapDef = Call<TypeMapCb, {
1261
1193
  extArgs: ExtArgs;
1262
- }>, ClientOptions = {}> {
1194
+ }>> {
1263
1195
  extArgs: ExtArgs;
1264
1196
  <R_ extends {
1265
1197
  [K in TypeMap['meta']['modelProps'] | '$allModels']?: unknown;
@@ -1269,7 +1201,7 @@ export declare interface ExtendsHook<Variant extends 'extends' | 'define', TypeM
1269
1201
  [K in TypeMap['meta']['modelProps'] | '$allModels' | keyof TypeMap['other']['operations'] | '$allOperations']?: unknown;
1270
1202
  }, C_ extends {
1271
1203
  [K in string]?: unknown;
1272
- }, C, Args extends InternalArgs = InternalArgs<R, M, {}, C>, MergedArgs extends InternalArgs = MergeExtArgs<TypeMap, ExtArgs, Args>>(extension: ((client: DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs, ClientOptions>) => {
1204
+ }, C, Args extends InternalArgs = InternalArgs<R, M, {}, C>, MergedArgs extends InternalArgs = MergeExtArgs<TypeMap, ExtArgs, Args>>(extension: ((client: DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>) => {
1273
1205
  $extends: {
1274
1206
  extArgs: Args;
1275
1207
  };
@@ -1277,12 +1209,12 @@ export declare interface ExtendsHook<Variant extends 'extends' | 'define', TypeM
1277
1209
  name?: string;
1278
1210
  query?: DynamicQueryExtensionArgs<Q_, TypeMap>;
1279
1211
  result?: DynamicResultExtensionArgs<R_, TypeMap> & R;
1280
- model?: DynamicModelExtensionArgs<M_, TypeMap, TypeMapCb, ExtArgs, ClientOptions> & M;
1281
- client?: DynamicClientExtensionArgs<C_, TypeMap, TypeMapCb, ExtArgs, ClientOptions> & C;
1212
+ model?: DynamicModelExtensionArgs<M_, TypeMap, TypeMapCb, ExtArgs> & M;
1213
+ client?: DynamicClientExtensionArgs<C_, TypeMap, TypeMapCb, ExtArgs> & C;
1282
1214
  }): {
1283
1215
  extends: DynamicClientExtensionThis<Call<TypeMapCb, {
1284
1216
  extArgs: MergedArgs;
1285
- }>, TypeMapCb, MergedArgs, ClientOptions>;
1217
+ }>, TypeMapCb, MergedArgs>;
1286
1218
  define: (client: any) => {
1287
1219
  $extends: {
1288
1220
  extArgs: Args;
@@ -1305,8 +1237,6 @@ declare namespace Extensions_2 {
1305
1237
  export {
1306
1238
  InternalArgs,
1307
1239
  DefaultArgs,
1308
- GetPayloadResultExtensionKeys,
1309
- GetPayloadResultExtensionObject,
1310
1240
  GetPayloadResult,
1311
1241
  GetSelect,
1312
1242
  GetOmit,
@@ -1334,20 +1264,12 @@ declare namespace Extensions_2 {
1334
1264
  TypeMapDef,
1335
1265
  DevTypeMapDef,
1336
1266
  DevTypeMapFnDef,
1337
- ClientOptionDef,
1338
- ClientOtherOps,
1339
1267
  TypeMapCbDef,
1340
1268
  ModelKey,
1341
1269
  RequiredExtensionArgs as UserArgs
1342
1270
  }
1343
1271
  }
1344
1272
 
1345
- export declare type ExtractGlobalOmit<Options, ModelName extends string> = Options extends {
1346
- omit: {
1347
- [K in ModelName]: infer GlobalOmit;
1348
- };
1349
- } ? GlobalOmit : {};
1350
-
1351
1273
  declare type Fetch = typeof nodeFetch;
1352
1274
 
1353
1275
  /**
@@ -1386,8 +1308,6 @@ declare interface GeneratorConfig {
1386
1308
  };
1387
1309
  binaryTargets: BinaryTargetsEnvValue[];
1388
1310
  previewFeatures: string[];
1389
- envPaths?: EnvPaths;
1390
- sourceFilePath: string;
1391
1311
  }
1392
1312
 
1393
1313
  export declare type GetAggregateResult<P extends OperationPayload, A> = {
@@ -1408,19 +1328,9 @@ export declare type GetCountResult<A> = A extends {
1408
1328
 
1409
1329
  declare function getExtensionContext<T>(that: T): Context_2<T>;
1410
1330
 
1411
- export declare type GetFindResult<P extends OperationPayload, A, ClientOptions> = Equals<A, any> extends 1 ? DefaultSelection<P, A, ClientOptions> : A extends {
1412
- select: infer S extends object;
1413
- } & Record<string, unknown> | {
1414
- include: infer I extends object;
1415
- } & Record<string, unknown> ? {
1416
- [K in keyof S | keyof I as (S & I)[K] extends false | undefined | Skip | null ? never : K]: (S & I)[K] extends object ? P extends SelectablePayloadFields<K, (infer O)[]> ? O extends OperationPayload ? GetFindResult<O, (S & I)[K], ClientOptions>[] : never : P extends SelectablePayloadFields<K, infer O | null> ? O extends OperationPayload ? GetFindResult<O, (S & I)[K], ClientOptions> | SelectField<P, K> & null : never : K extends '_count' ? Count<GetFindResult<P, (S & I)[K], ClientOptions>> : never : P extends SelectablePayloadFields<K, (infer O)[]> ? O extends OperationPayload ? DefaultSelection<O, {}, ClientOptions>[] : never : P extends SelectablePayloadFields<K, infer O | null> ? O extends OperationPayload ? DefaultSelection<O, {}, ClientOptions> | SelectField<P, K> & null : never : P extends {
1417
- scalars: {
1418
- [k in K]: infer O;
1419
- };
1420
- } ? O : K extends '_count' ? Count<P['objects']> : never;
1421
- } & (A extends {
1422
- include: any;
1423
- } & Record<string, unknown> ? DefaultSelection<P, A, ClientOptions> : unknown) : DefaultSelection<P, A, ClientOptions>;
1331
+ export declare type GetFindResult<P extends OperationPayload, A> = A extends {
1332
+ omit: infer Omission;
1333
+ } ? Compute<Omit_2<GetSelectIncludeResult<P, A>, TrueKeys<Omission>>> : GetSelectIncludeResult<P, A>;
1424
1334
 
1425
1335
  export declare type GetGroupByResult<P extends OperationPayload, A> = A extends {
1426
1336
  by: string[];
@@ -1432,18 +1342,14 @@ export declare type GetGroupByResult<P extends OperationPayload, A> = A extends
1432
1342
  [K in A['by']]: P['scalars'][K];
1433
1343
  }> : {}[];
1434
1344
 
1435
- export declare type GetOmit<BaseKeys extends string, R extends InternalArgs['result'][string], ExtraType = never> = {
1436
- [K in (string extends keyof R ? never : keyof R) | BaseKeys]?: boolean | ExtraType;
1345
+ export declare type GetOmit<BaseKeys extends string, R extends InternalArgs['result'][string]> = {
1346
+ [K in (string extends keyof R ? never : keyof R) | BaseKeys]?: boolean;
1437
1347
  };
1438
1348
 
1439
- export declare type GetPayloadResult<Base extends Record<any, any>, R extends InternalArgs['result'][string]> = Omit<Base, GetPayloadResultExtensionKeys<R>> & GetPayloadResultExtensionObject<R>;
1440
-
1441
- export declare type GetPayloadResultExtensionKeys<R extends InternalArgs['result'][string], KR extends keyof R = string extends keyof R ? never : keyof R> = KR;
1442
-
1443
- export declare type GetPayloadResultExtensionObject<R extends InternalArgs['result'][string]> = {
1444
- [K in GetPayloadResultExtensionKeys<R>]: R[K] extends () => {
1349
+ export declare type GetPayloadResult<Base extends Record<any, any>, R extends InternalArgs['result'][string], KR extends keyof R = string extends keyof R ? never : keyof R> = unknown extends R ? Base : {
1350
+ [K in KR | keyof Base]: K extends KR ? R[K] extends () => {
1445
1351
  compute: (...args: any) => infer C;
1446
- } ? C : never;
1352
+ } ? C : never : Base[K];
1447
1353
  };
1448
1354
 
1449
1355
  export declare function getPrismaClient(config: GetPrismaClientConfig): {
@@ -1462,7 +1368,6 @@ export declare function getPrismaClient(config: GetPrismaClientConfig): {
1462
1368
  _middlewares: MiddlewareHandler<QueryMiddleware>;
1463
1369
  _previewFeatures: string[];
1464
1370
  _activeProvider: string;
1465
- _globalOmit?: GlobalOmitOptions | undefined;
1466
1371
  _extensions: MergedExtensionsList;
1467
1372
  _engine: Engine;
1468
1373
  /**
@@ -1514,7 +1419,7 @@ export declare function getPrismaClient(config: GetPrismaClientConfig): {
1514
1419
  /**
1515
1420
  * Executes a raw query and returns selected data
1516
1421
  */
1517
- $queryRawInternal(transaction: PrismaPromiseTransaction | undefined, clientMethod: string, args: RawQueryArgs, middlewareArgsMapper?: MiddlewareArgsMapper<unknown, unknown>): Promise<any>;
1422
+ $queryRawInternal(transaction: PrismaPromiseTransaction | undefined, clientMethod: string, args: RawQueryArgs, middlewareArgsMapper?: MiddlewareArgsMapper<unknown, unknown>): Promise<unknown[]>;
1518
1423
  /**
1519
1424
  * Executes a raw query provided through a safe tag function
1520
1425
  * @see https://github.com/prisma/prisma/issues/7142
@@ -1524,11 +1429,6 @@ export declare function getPrismaClient(config: GetPrismaClientConfig): {
1524
1429
  * @returns
1525
1430
  */
1526
1431
  $queryRaw(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise_2<unknown>;
1527
- /**
1528
- * Counterpart to $queryRaw, that returns strongly typed results
1529
- * @param typedSql
1530
- */
1531
- $queryRawTyped(typedSql: UnknownTypedSql): PrismaPromise_2<unknown>;
1532
1432
  /**
1533
1433
  * Unsafe counterpart of `$queryRaw` that is susceptible to SQL injections
1534
1434
  * @see https://github.com/prisma/prisma/issues/7142
@@ -1603,7 +1503,7 @@ declare type GetPrismaClientConfig = {
1603
1503
  clientVersion: string;
1604
1504
  engineVersion: string;
1605
1505
  datasourceNames: string[];
1606
- activeProvider: ActiveConnectorType;
1506
+ activeProvider: string;
1607
1507
  /**
1608
1508
  * The contents of the schema encoded into a string
1609
1509
  * @remarks only used for the purpose of data proxy
@@ -1663,32 +1563,31 @@ declare type GetPrismaClientConfig = {
1663
1563
  engineWasm?: WasmLoadingConfig;
1664
1564
  };
1665
1565
 
1666
- export declare type GetResult<Payload extends OperationPayload, Args, OperationName extends Operation = 'findUniqueOrThrow', ClientOptions = {}> = {
1667
- findUnique: GetFindResult<Payload, Args, ClientOptions> | null;
1668
- findUniqueOrThrow: GetFindResult<Payload, Args, ClientOptions>;
1669
- findFirst: GetFindResult<Payload, Args, ClientOptions> | null;
1670
- findFirstOrThrow: GetFindResult<Payload, Args, ClientOptions>;
1671
- findMany: GetFindResult<Payload, Args, ClientOptions>[];
1672
- create: GetFindResult<Payload, Args, ClientOptions>;
1566
+ export declare type GetResult<P extends OperationPayload, A, O extends Operation = 'findUniqueOrThrow'> = {
1567
+ findUnique: GetFindResult<P, A> | null;
1568
+ findUniqueOrThrow: GetFindResult<P, A>;
1569
+ findFirst: GetFindResult<P, A> | null;
1570
+ findFirstOrThrow: GetFindResult<P, A>;
1571
+ findMany: GetFindResult<P, A>[];
1572
+ create: GetFindResult<P, A>;
1673
1573
  createMany: GetBatchResult;
1674
- createManyAndReturn: GetFindResult<Payload, Args, ClientOptions>[];
1675
- update: GetFindResult<Payload, Args, ClientOptions>;
1574
+ createManyAndReturn: GetFindResult<P, A>[];
1575
+ update: GetFindResult<P, A>;
1676
1576
  updateMany: GetBatchResult;
1677
- upsert: GetFindResult<Payload, Args, ClientOptions>;
1678
- delete: GetFindResult<Payload, Args, ClientOptions>;
1577
+ upsert: GetFindResult<P, A>;
1578
+ delete: GetFindResult<P, A>;
1679
1579
  deleteMany: GetBatchResult;
1680
- aggregate: GetAggregateResult<Payload, Args>;
1681
- count: GetCountResult<Args>;
1682
- groupBy: GetGroupByResult<Payload, Args>;
1580
+ aggregate: GetAggregateResult<P, A>;
1581
+ count: GetCountResult<A>;
1582
+ groupBy: GetGroupByResult<P, A>;
1683
1583
  $queryRaw: unknown;
1684
- $queryRawTyped: unknown;
1685
1584
  $executeRaw: number;
1686
1585
  $queryRawUnsafe: unknown;
1687
1586
  $executeRawUnsafe: number;
1688
1587
  $runCommandRaw: JsonObject;
1689
1588
  findRaw: JsonObject;
1690
1589
  aggregateRaw: JsonObject;
1691
- }[OperationName];
1590
+ }[O];
1692
1591
 
1693
1592
  export declare function getRuntime(): GetRuntimeOutput;
1694
1593
 
@@ -1702,11 +1601,19 @@ export declare type GetSelect<Base extends Record<any, any>, R extends InternalA
1702
1601
  [K in KR | keyof Base]?: K extends KR ? boolean : Base[K];
1703
1602
  };
1704
1603
 
1705
- declare type GlobalOmitOptions = {
1706
- [modelName: string]: {
1707
- [fieldName: string]: boolean;
1708
- };
1709
- };
1604
+ export declare type GetSelectIncludeResult<P extends OperationPayload, A> = Equals<A, any> extends 1 ? DefaultSelection<P> : A extends {
1605
+ select: infer S extends object;
1606
+ } & Record<string, unknown> | {
1607
+ include: infer I extends object;
1608
+ } & Record<string, unknown> ? {
1609
+ [K in keyof S | keyof I as (S & I)[K] extends false | undefined | null ? never : K]: (S & I)[K] extends object ? P extends SelectablePayloadFields<K, (infer O)[]> ? O extends OperationPayload ? GetFindResult<O, (S & I)[K]>[] : never : P extends SelectablePayloadFields<K, infer O | null> ? O extends OperationPayload ? GetFindResult<O, (S & I)[K]> | SelectField<P, K> & null : never : K extends '_count' ? Count<GetFindResult<P, (S & I)[K]>> : never : P extends SelectablePayloadFields<K, (infer O)[]> ? O extends OperationPayload ? DefaultSelection<O>[] : never : P extends SelectablePayloadFields<K, infer O | null> ? O extends OperationPayload ? DefaultSelection<O> | SelectField<P, K> & null : never : P extends {
1610
+ scalars: {
1611
+ [k in K]: infer O;
1612
+ };
1613
+ } ? O : K extends '_count' ? Count<P['objects']> : never;
1614
+ } & (A extends {
1615
+ include: any;
1616
+ } & Record<string, unknown> ? DefaultSelection<P> : unknown) : DefaultSelection<P>;
1710
1617
 
1711
1618
  declare type HandleErrorParams = {
1712
1619
  args: JsArgs;
@@ -1715,7 +1622,6 @@ declare type HandleErrorParams = {
1715
1622
  callsite?: CallSite;
1716
1623
  transaction?: PrismaPromiseTransaction;
1717
1624
  modelName?: string;
1718
- globalOmit?: GlobalOmitOptions;
1719
1625
  };
1720
1626
 
1721
1627
  /**
@@ -1732,38 +1638,6 @@ declare type HandleErrorParams = {
1732
1638
  */
1733
1639
  declare type HrTime = [number, number];
1734
1640
 
1735
- /**
1736
- * Matches a JSON array.
1737
- * Unlike \`JsonArray\`, readonly arrays are assignable to this type.
1738
- */
1739
- export declare interface InputJsonArray extends ReadonlyArray<InputJsonValue | null> {
1740
- }
1741
-
1742
- /**
1743
- * Matches a JSON object.
1744
- * Unlike \`JsonObject\`, this type allows undefined and read-only properties.
1745
- */
1746
- export declare type InputJsonObject = {
1747
- readonly [Key in string]?: InputJsonValue | null;
1748
- };
1749
-
1750
- /**
1751
- * Matches any valid value that can be used as an input for operations like
1752
- * create and update as the value of a JSON field. Unlike \`JsonValue\`, this
1753
- * type allows read-only arrays and read-only object properties and disallows
1754
- * \`null\` at the top level.
1755
- *
1756
- * \`null\` cannot be used as the value of a JSON field because its meaning
1757
- * would be ambiguous. Use \`Prisma.JsonNull\` to store the JSON null value or
1758
- * \`Prisma.DbNull\` to clear the JSON value and set the field to the database
1759
- * NULL value instead.
1760
- *
1761
- * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-by-null-values
1762
- */
1763
- export declare type InputJsonValue = string | number | boolean | InputJsonObject | InputJsonArray | {
1764
- toJSON(): unknown;
1765
- };
1766
-
1767
1641
  declare type InteractiveTransactionInfo<Payload = unknown> = {
1768
1642
  /**
1769
1643
  * Transaction ID returned by the query engine.
@@ -1847,10 +1721,6 @@ declare enum IsolationLevel {
1847
1721
  Serializable = "Serializable"
1848
1722
  }
1849
1723
 
1850
- declare function isSkip(value: unknown): value is Skip;
1851
-
1852
- export declare function isTypedSql(value: unknown): value is UnknownTypedSql;
1853
-
1854
1724
  export declare type ITXClientDenyList = (typeof denylist)[number];
1855
1725
 
1856
1726
  export declare const itxClientDenyList: readonly (string | symbol)[];
@@ -1873,7 +1743,7 @@ export declare type JsArgs = {
1873
1743
  [argName: string]: JsInputValue;
1874
1744
  };
1875
1745
 
1876
- export declare type JsInputValue = null | undefined | string | number | boolean | bigint | Uint8Array | Date | DecimalJsLike | ObjectEnumValue | RawParameters | JsonConvertible | FieldRef<string, unknown> | JsInputValue[] | Skip | {
1746
+ export declare type JsInputValue = null | undefined | string | number | boolean | bigint | Uint8Array | Date | DecimalJsLike | ObjectEnumValue | RawParameters | JsonConvertible | FieldRef<string, unknown> | JsInputValue[] | {
1877
1747
  [key: string]: JsInputValue;
1878
1748
  };
1879
1749
 
@@ -1881,14 +1751,10 @@ declare type JsonArgumentValue = number | string | boolean | null | RawTaggedVal
1881
1751
  [key: string]: JsonArgumentValue;
1882
1752
  };
1883
1753
 
1884
- /**
1885
- * From https://github.com/sindresorhus/type-fest/
1886
- * Matches a JSON array.
1887
- */
1888
1754
  export declare interface JsonArray extends Array<JsonValue> {
1889
1755
  }
1890
1756
 
1891
- export declare type JsonBatchQuery = {
1757
+ declare type JsonBatchQuery = {
1892
1758
  batch: JsonQuery[];
1893
1759
  transaction?: {
1894
1760
  isolationLevel?: Transaction_2.IsolationLevel;
@@ -1907,16 +1773,11 @@ declare type JsonFieldSelection = {
1907
1773
  declare class JsonNull extends NullTypesEnumValue {
1908
1774
  }
1909
1775
 
1910
- /**
1911
- * From https://github.com/sindresorhus/type-fest/
1912
- * Matches a JSON object.
1913
- * This type can be useful to enforce some input to be JSON-compatible or as a super-type to be extended from.
1914
- */
1915
1776
  export declare type JsonObject = {
1916
1777
  [Key in string]?: JsonValue;
1917
1778
  };
1918
1779
 
1919
- export declare type JsonQuery = {
1780
+ declare type JsonQuery = {
1920
1781
  modelName?: string;
1921
1782
  action: JsonQueryAction;
1922
1783
  query: JsonFieldSelection;
@@ -1931,10 +1792,6 @@ declare type JsonSelectionSet = {
1931
1792
  [fieldName: string]: boolean | JsonFieldSelection;
1932
1793
  };
1933
1794
 
1934
- /**
1935
- * From https://github.com/sindresorhus/type-fest/
1936
- * Matches any valid JSON value.
1937
- */
1938
1795
  export declare type JsonValue = string | number | boolean | JsonObject | JsonArray | null;
1939
1796
 
1940
1797
  export declare type JsOutputValue = null | string | number | boolean | bigint | Uint8Array | Date | Decimal | JsOutputValue[] | {
@@ -2032,8 +1889,6 @@ declare type LogLevel = 'info' | 'query' | 'warn' | 'error';
2032
1889
  */
2033
1890
  export declare function makeStrictEnum<T extends Record<PropertyKey, string | number>>(definition: T): T;
2034
1891
 
2035
- export declare function makeTypedQueryFactory(sql: string): (...values: any[]) => TypedSql<any[], unknown>;
2036
-
2037
1892
  /**
2038
1893
  * Class that holds the list of all extensions, applied to particular instance,
2039
1894
  * as well as resolved versions of the components that need to apply on
@@ -2231,19 +2086,16 @@ export declare const objectEnumValues: {
2231
2086
 
2232
2087
  declare const officialPrismaAdapters: readonly ["@prisma/adapter-planetscale", "@prisma/adapter-neon", "@prisma/adapter-libsql", "@prisma/adapter-d1", "@prisma/adapter-pg", "@prisma/adapter-pg-worker"];
2233
2088
 
2234
- export declare type Omission = Record<string, boolean | Skip>;
2089
+ export declare type Omission = Record<string, boolean>;
2235
2090
 
2236
2091
  declare type Omit_2<T, K extends string | number | symbol> = {
2237
2092
  [P in keyof T as P extends K ? never : P]: T[P];
2238
2093
  };
2239
2094
  export { Omit_2 as Omit }
2240
2095
 
2241
- export declare type OmitValue<Omit, Key> = Key extends keyof Omit ? Omit[Key] : false;
2242
-
2243
2096
  export declare type Operation = 'findFirst' | 'findFirstOrThrow' | 'findUnique' | 'findUniqueOrThrow' | 'findMany' | 'create' | 'createMany' | 'createManyAndReturn' | 'update' | 'updateMany' | 'upsert' | 'delete' | 'deleteMany' | 'aggregate' | 'count' | 'groupBy' | '$queryRaw' | '$executeRaw' | '$queryRawUnsafe' | '$executeRawUnsafe' | 'findRaw' | 'aggregateRaw' | '$runCommandRaw';
2244
2097
 
2245
2098
  export declare type OperationPayload = {
2246
- name: string;
2247
2099
  scalars: {
2248
2100
  [ScalarName in string]: unknown;
2249
2101
  };
@@ -2367,7 +2219,6 @@ export declare type PrismaClientOptions = {
2367
2219
  * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/logging#the-log-option).
2368
2220
  */
2369
2221
  log?: Array<LogLevel | LogDefinition>;
2370
- omit?: GlobalOmitOptions;
2371
2222
  /**
2372
2223
  * @internal
2373
2224
  * You probably don't want to use this. \`__internal\` is used by internal tooling.
@@ -2472,8 +2323,6 @@ declare type PrismaPromiseInteractiveTransaction<PayloadType = unknown> = {
2472
2323
 
2473
2324
  declare type PrismaPromiseTransaction<PayloadType = unknown> = PrismaPromiseBatchTransaction | PrismaPromiseInteractiveTransaction<PayloadType>;
2474
2325
 
2475
- export declare const PrivateResultType: unique symbol;
2476
-
2477
2326
  declare namespace Public {
2478
2327
  export {
2479
2328
  validator
@@ -2495,7 +2344,6 @@ declare namespace Public_2 {
2495
2344
  declare type Query = {
2496
2345
  sql: string;
2497
2346
  args: Array<unknown>;
2498
- argTypes: Array<ArgType>;
2499
2347
  };
2500
2348
 
2501
2349
  declare interface Queryable {
@@ -2627,7 +2475,7 @@ export declare type RawParameters = {
2627
2475
  values: string;
2628
2476
  };
2629
2477
 
2630
- export declare type RawQueryArgs = Sql | UnknownTypedSql | [query: string, ...values: RawValue[]];
2478
+ export declare type RawQueryArgs = Sql | [query: string, ...values: RawValue[]];
2631
2479
 
2632
2480
  declare type RawTaggedValue = {
2633
2481
  $type: 'Raw';
@@ -2687,7 +2535,7 @@ declare class RequestHandler {
2687
2535
  * handlers to finish.
2688
2536
  */
2689
2537
  handleAndLogRequestError(params: HandleErrorParams): never;
2690
- handleRequestError({ error, clientMethod, callsite, transaction, args, modelName, globalOmit, }: HandleErrorParams): never;
2538
+ handleRequestError({ error, clientMethod, callsite, transaction, args, modelName }: HandleErrorParams): never;
2691
2539
  sanitizeMessage(message: any): any;
2692
2540
  unpack(data: unknown, dataPath: string[], unpacker?: Unpacker): any;
2693
2541
  get [Symbol.toStringTag](): string;
@@ -2721,7 +2569,6 @@ declare type RequestParams = {
2721
2569
  unpacker?: Unpacker;
2722
2570
  otelParentCtx?: Context;
2723
2571
  otelChildCtx?: Context;
2724
- globalOmit?: GlobalOmitOptions;
2725
2572
  customDataProxyFetch?: (fetch: Fetch) => Fetch;
2726
2573
  };
2727
2574
 
@@ -2760,7 +2607,6 @@ export declare type Result<T, A, F extends Operation> = T extends {
2760
2607
  composites: {};
2761
2608
  objects: {};
2762
2609
  scalars: {};
2763
- name: '';
2764
2610
  }, {}, F>;
2765
2611
 
2766
2612
  export declare type Result_2<T, A, F extends Operation> = Result<T, A, F>;
@@ -2770,20 +2616,19 @@ declare namespace Result_3 {
2770
2616
  Operation,
2771
2617
  FluentOperation,
2772
2618
  Count,
2619
+ TrueKeys,
2773
2620
  GetFindResult,
2621
+ GetSelectIncludeResult,
2774
2622
  SelectablePayloadFields,
2775
2623
  SelectField,
2776
2624
  DefaultSelection,
2777
2625
  UnwrapPayload,
2778
- ApplyOmit,
2779
- OmitValue,
2780
2626
  GetCountResult,
2781
2627
  Aggregate,
2782
2628
  GetAggregateResult,
2783
2629
  GetBatchResult,
2784
2630
  GetGroupByResult,
2785
- GetResult,
2786
- ExtractGlobalOmit
2631
+ GetResult
2787
2632
  }
2788
2633
  }
2789
2634
 
@@ -2843,7 +2688,7 @@ export declare type Return<T> = T extends (...args: any[]) => infer R ? R : T;
2843
2688
 
2844
2689
  declare type Runtime = "edge-routine" | "workerd" | "deno" | "lagon" | "react-native" | "netlify" | "electron" | "node" | "bun" | "edge-light" | "fastly" | "unknown";
2845
2690
 
2846
- export declare type RuntimeDataModel = {
2691
+ declare type RuntimeDataModel = {
2847
2692
  readonly models: Record<string, RuntimeModel>;
2848
2693
  readonly enums: Record<string, RuntimeEnum>;
2849
2694
  readonly types: Record<string, RuntimeModel>;
@@ -2871,32 +2716,9 @@ export declare type SelectField<P extends SelectablePayloadFields<any, any>, K e
2871
2716
  composites: Record<K, any>;
2872
2717
  } ? P['composites'][K] : never;
2873
2718
 
2874
- declare type Selection_2 = Record<string, boolean | Skip | JsArgs>;
2719
+ declare type Selection_2 = Record<string, boolean | JsArgs>;
2875
2720
  export { Selection_2 as Selection }
2876
2721
 
2877
- export declare function serializeJsonQuery({ modelName, action, args, runtimeDataModel, extensions, callsite, clientMethod, errorFormat, clientVersion, previewFeatures, globalOmit, }: SerializeParams): JsonQuery;
2878
-
2879
- declare type SerializeParams = {
2880
- runtimeDataModel: RuntimeDataModel;
2881
- modelName?: string;
2882
- action: Action;
2883
- args?: JsArgs;
2884
- extensions?: MergedExtensionsList;
2885
- callsite?: CallSite;
2886
- clientMethod: string;
2887
- clientVersion: string;
2888
- errorFormat: ErrorFormat;
2889
- previewFeatures: string[];
2890
- globalOmit?: GlobalOmitOptions;
2891
- };
2892
-
2893
- declare class Skip {
2894
- constructor(param?: symbol);
2895
- ifUndefined<T>(value: T | undefined): T | Skip;
2896
- }
2897
-
2898
- export declare const skip: Skip;
2899
-
2900
2722
  /**
2901
2723
  * An interface that represents a span. A span represents a single operation
2902
2724
  * within a trace. Examples of span might include remote procedure calls or a
@@ -2945,24 +2767,6 @@ declare interface Span {
2945
2767
  * @param [startTime] start time of the event.
2946
2768
  */
2947
2769
  addEvent(name: string, attributesOrStartTime?: SpanAttributes | TimeInput, startTime?: TimeInput): this;
2948
- /**
2949
- * Adds a single link to the span.
2950
- *
2951
- * Links added after the creation will not affect the sampling decision.
2952
- * It is preferred span links be added at span creation.
2953
- *
2954
- * @param link the link to add.
2955
- */
2956
- addLink(link: Link): this;
2957
- /**
2958
- * Adds multiple links to the span.
2959
- *
2960
- * Links added after the creation will not affect the sampling decision.
2961
- * It is preferred span links be added at span creation.
2962
- *
2963
- * @param links the links to add.
2964
- */
2965
- addLinks(links: Link[]): this;
2966
2770
  /**
2967
2771
  * Sets a status to the span. If used, this will override the default Span
2968
2772
  * status. Default is {@link SpanStatusCode.UNSET}. SetStatus overrides the value
@@ -3249,13 +3053,6 @@ declare namespace Transaction_2 {
3249
3053
  }
3250
3054
  }
3251
3055
 
3252
- declare interface TransactionContext extends Queryable {
3253
- /**
3254
- * Starts new transaction.
3255
- */
3256
- startTransaction(): Promise<Result_4<Transaction>>;
3257
- }
3258
-
3259
3056
  declare type TransactionHeaders = {
3260
3057
  traceparent?: string;
3261
3058
  };
@@ -3272,16 +3069,12 @@ declare type TransactionOptions_2<InteractiveTransactionPayload> = {
3272
3069
  options: BatchTransactionOptions;
3273
3070
  };
3274
3071
 
3275
- export declare class TypedSql<Values extends readonly unknown[], Result> {
3276
- [PrivateResultType]: Result;
3277
- constructor(sql: string, values: Values);
3278
- get sql(): string;
3279
- get values(): Values;
3280
- }
3072
+ export declare type TrueKeys<T> = {
3073
+ [K in keyof T]: T[K] extends true ? K : never;
3074
+ }[keyof T];
3281
3075
 
3282
3076
  export declare type TypeMapCbDef = Fn<{
3283
3077
  extArgs: InternalArgs;
3284
- clientOptions: ClientOptionDef;
3285
3078
  }, TypeMapDef>;
3286
3079
 
3287
3080
  /** Shared */
@@ -3293,10 +3086,6 @@ declare namespace Types {
3293
3086
  Extensions_2 as Extensions,
3294
3087
  Utils,
3295
3088
  Public_2 as Public,
3296
- isSkip,
3297
- Skip,
3298
- skip,
3299
- UnknownTypedSql,
3300
3089
  OperationPayload as Payload
3301
3090
  }
3302
3091
  }
@@ -3307,8 +3096,6 @@ declare type UnknownErrorParams = {
3307
3096
  batchRequestIdx?: number;
3308
3097
  };
3309
3098
 
3310
- export declare type UnknownTypedSql = TypedSql<unknown[], unknown>;
3311
-
3312
3099
  declare type Unpacker = (data: any) => any;
3313
3100
 
3314
3101
  export declare type UnwrapPayload<P> = {} extends P ? unknown : {
@@ -3347,6 +3134,9 @@ declare namespace Utils {
3347
3134
  Narrow,
3348
3135
  Exact,
3349
3136
  Cast,
3137
+ JsonObject,
3138
+ JsonArray,
3139
+ JsonValue,
3350
3140
  Record_2 as Record,
3351
3141
  UnwrapPromise,
3352
3142
  UnwrapTuple,