@valentine-efagene/qshelter-common 2.0.63 → 2.0.65
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/generated/client/browser.d.ts +5 -0
- package/dist/generated/client/client.d.ts +5 -0
- package/dist/generated/client/commonInputTypes.d.ts +54 -54
- package/dist/generated/client/internal/class.d.ts +11 -0
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +121 -24
- package/dist/generated/client/internal/prismaNamespace.js +40 -12
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +45 -15
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +40 -12
- package/dist/generated/client/models/ApiKey.d.ts +1376 -0
- package/dist/generated/client/models/ApiKey.js +1 -0
- package/dist/generated/client/models/Tenant.d.ts +179 -0
- package/dist/generated/client/models/index.d.ts +1 -0
- package/dist/generated/client/models/index.js +1 -0
- package/dist/generated/client/models.d.ts +1 -0
- package/dist/src/auth/index.d.ts +0 -1
- package/dist/src/auth/index.js +0 -1
- package/package.json +1 -1
- package/prisma/migrations/20260105130633_add_api_keys/migration.sql +26 -0
- package/prisma/schema.prisma +57 -0
|
@@ -124,6 +124,43 @@ export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
|
124
124
|
_min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>;
|
|
125
125
|
_max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>;
|
|
126
126
|
};
|
|
127
|
+
export type JsonFilter<$PrismaModel = never> = Prisma.PatchUndefined<Prisma.Either<Required<JsonFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonFilterBase<$PrismaModel>>, 'path'>>, Required<JsonFilterBase<$PrismaModel>>> | Prisma.OptionalFlat<Omit<Required<JsonFilterBase<$PrismaModel>>, 'path'>>;
|
|
128
|
+
export type JsonFilterBase<$PrismaModel = never> = {
|
|
129
|
+
equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
130
|
+
path?: string;
|
|
131
|
+
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>;
|
|
132
|
+
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
133
|
+
string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
134
|
+
string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
135
|
+
array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
136
|
+
array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
137
|
+
array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
138
|
+
lt?: runtime.InputJsonValue;
|
|
139
|
+
lte?: runtime.InputJsonValue;
|
|
140
|
+
gt?: runtime.InputJsonValue;
|
|
141
|
+
gte?: runtime.InputJsonValue;
|
|
142
|
+
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
143
|
+
};
|
|
144
|
+
export type JsonWithAggregatesFilter<$PrismaModel = never> = Prisma.PatchUndefined<Prisma.Either<Required<JsonWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonWithAggregatesFilterBase<$PrismaModel>>, 'path'>>, Required<JsonWithAggregatesFilterBase<$PrismaModel>>> | Prisma.OptionalFlat<Omit<Required<JsonWithAggregatesFilterBase<$PrismaModel>>, 'path'>>;
|
|
145
|
+
export type JsonWithAggregatesFilterBase<$PrismaModel = never> = {
|
|
146
|
+
equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
147
|
+
path?: string;
|
|
148
|
+
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>;
|
|
149
|
+
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
150
|
+
string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
151
|
+
string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
152
|
+
array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
153
|
+
array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
154
|
+
array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
155
|
+
lt?: runtime.InputJsonValue;
|
|
156
|
+
lte?: runtime.InputJsonValue;
|
|
157
|
+
gt?: runtime.InputJsonValue;
|
|
158
|
+
gte?: runtime.InputJsonValue;
|
|
159
|
+
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
160
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
161
|
+
_min?: Prisma.NestedJsonFilter<$PrismaModel>;
|
|
162
|
+
_max?: Prisma.NestedJsonFilter<$PrismaModel>;
|
|
163
|
+
};
|
|
127
164
|
export type FloatFilter<$PrismaModel = never> = {
|
|
128
165
|
equals?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
129
166
|
in?: number[];
|
|
@@ -500,23 +537,6 @@ export type EnumTerminationStatusFilter<$PrismaModel = never> = {
|
|
|
500
537
|
notIn?: $Enums.TerminationStatus[];
|
|
501
538
|
not?: Prisma.NestedEnumTerminationStatusFilter<$PrismaModel> | $Enums.TerminationStatus;
|
|
502
539
|
};
|
|
503
|
-
export type JsonFilter<$PrismaModel = never> = Prisma.PatchUndefined<Prisma.Either<Required<JsonFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonFilterBase<$PrismaModel>>, 'path'>>, Required<JsonFilterBase<$PrismaModel>>> | Prisma.OptionalFlat<Omit<Required<JsonFilterBase<$PrismaModel>>, 'path'>>;
|
|
504
|
-
export type JsonFilterBase<$PrismaModel = never> = {
|
|
505
|
-
equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
506
|
-
path?: string;
|
|
507
|
-
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>;
|
|
508
|
-
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
509
|
-
string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
510
|
-
string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
511
|
-
array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
512
|
-
array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
513
|
-
array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
514
|
-
lt?: runtime.InputJsonValue;
|
|
515
|
-
lte?: runtime.InputJsonValue;
|
|
516
|
-
gt?: runtime.InputJsonValue;
|
|
517
|
-
gte?: runtime.InputJsonValue;
|
|
518
|
-
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
519
|
-
};
|
|
520
540
|
export type EnumRefundStatusFilter<$PrismaModel = never> = {
|
|
521
541
|
equals?: $Enums.RefundStatus | Prisma.EnumRefundStatusFieldRefInput<$PrismaModel>;
|
|
522
542
|
in?: $Enums.RefundStatus[];
|
|
@@ -550,26 +570,6 @@ export type EnumTerminationStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
|
550
570
|
_min?: Prisma.NestedEnumTerminationStatusFilter<$PrismaModel>;
|
|
551
571
|
_max?: Prisma.NestedEnumTerminationStatusFilter<$PrismaModel>;
|
|
552
572
|
};
|
|
553
|
-
export type JsonWithAggregatesFilter<$PrismaModel = never> = Prisma.PatchUndefined<Prisma.Either<Required<JsonWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonWithAggregatesFilterBase<$PrismaModel>>, 'path'>>, Required<JsonWithAggregatesFilterBase<$PrismaModel>>> | Prisma.OptionalFlat<Omit<Required<JsonWithAggregatesFilterBase<$PrismaModel>>, 'path'>>;
|
|
554
|
-
export type JsonWithAggregatesFilterBase<$PrismaModel = never> = {
|
|
555
|
-
equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
556
|
-
path?: string;
|
|
557
|
-
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>;
|
|
558
|
-
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
559
|
-
string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
560
|
-
string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
561
|
-
array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
562
|
-
array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
563
|
-
array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
564
|
-
lt?: runtime.InputJsonValue;
|
|
565
|
-
lte?: runtime.InputJsonValue;
|
|
566
|
-
gt?: runtime.InputJsonValue;
|
|
567
|
-
gte?: runtime.InputJsonValue;
|
|
568
|
-
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
569
|
-
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
570
|
-
_min?: Prisma.NestedJsonFilter<$PrismaModel>;
|
|
571
|
-
_max?: Prisma.NestedJsonFilter<$PrismaModel>;
|
|
572
|
-
};
|
|
573
573
|
export type EnumRefundStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
574
574
|
equals?: $Enums.RefundStatus | Prisma.EnumRefundStatusFieldRefInput<$PrismaModel>;
|
|
575
575
|
in?: $Enums.RefundStatus[];
|
|
@@ -748,6 +748,23 @@ export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
|
748
748
|
_min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>;
|
|
749
749
|
_max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>;
|
|
750
750
|
};
|
|
751
|
+
export type NestedJsonFilter<$PrismaModel = never> = Prisma.PatchUndefined<Prisma.Either<Required<NestedJsonFilterBase<$PrismaModel>>, Exclude<keyof Required<NestedJsonFilterBase<$PrismaModel>>, 'path'>>, Required<NestedJsonFilterBase<$PrismaModel>>> | Prisma.OptionalFlat<Omit<Required<NestedJsonFilterBase<$PrismaModel>>, 'path'>>;
|
|
752
|
+
export type NestedJsonFilterBase<$PrismaModel = never> = {
|
|
753
|
+
equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
754
|
+
path?: string;
|
|
755
|
+
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>;
|
|
756
|
+
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
757
|
+
string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
758
|
+
string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
759
|
+
array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
760
|
+
array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
761
|
+
array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
762
|
+
lt?: runtime.InputJsonValue;
|
|
763
|
+
lte?: runtime.InputJsonValue;
|
|
764
|
+
gt?: runtime.InputJsonValue;
|
|
765
|
+
gte?: runtime.InputJsonValue;
|
|
766
|
+
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
767
|
+
};
|
|
751
768
|
export type NestedFloatFilter<$PrismaModel = never> = {
|
|
752
769
|
equals?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
753
770
|
in?: number[];
|
|
@@ -1117,23 +1134,6 @@ export type NestedEnumTerminationStatusWithAggregatesFilter<$PrismaModel = never
|
|
|
1117
1134
|
_min?: Prisma.NestedEnumTerminationStatusFilter<$PrismaModel>;
|
|
1118
1135
|
_max?: Prisma.NestedEnumTerminationStatusFilter<$PrismaModel>;
|
|
1119
1136
|
};
|
|
1120
|
-
export type NestedJsonFilter<$PrismaModel = never> = Prisma.PatchUndefined<Prisma.Either<Required<NestedJsonFilterBase<$PrismaModel>>, Exclude<keyof Required<NestedJsonFilterBase<$PrismaModel>>, 'path'>>, Required<NestedJsonFilterBase<$PrismaModel>>> | Prisma.OptionalFlat<Omit<Required<NestedJsonFilterBase<$PrismaModel>>, 'path'>>;
|
|
1121
|
-
export type NestedJsonFilterBase<$PrismaModel = never> = {
|
|
1122
|
-
equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
1123
|
-
path?: string;
|
|
1124
|
-
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>;
|
|
1125
|
-
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
1126
|
-
string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
1127
|
-
string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
1128
|
-
array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
1129
|
-
array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
1130
|
-
array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
1131
|
-
lt?: runtime.InputJsonValue;
|
|
1132
|
-
lte?: runtime.InputJsonValue;
|
|
1133
|
-
gt?: runtime.InputJsonValue;
|
|
1134
|
-
gte?: runtime.InputJsonValue;
|
|
1135
|
-
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
1136
|
-
};
|
|
1137
1137
|
export type NestedEnumRefundStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
1138
1138
|
equals?: $Enums.RefundStatus | Prisma.EnumRefundStatusFieldRefInput<$PrismaModel>;
|
|
1139
1139
|
in?: $Enums.RefundStatus[];
|
|
@@ -177,6 +177,17 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
|
|
|
177
177
|
get tenant(): Prisma.TenantDelegate<ExtArgs, {
|
|
178
178
|
omit: OmitOpts;
|
|
179
179
|
}>;
|
|
180
|
+
/**
|
|
181
|
+
* `prisma.apiKey`: Exposes CRUD operations for the **ApiKey** model.
|
|
182
|
+
* Example usage:
|
|
183
|
+
* ```ts
|
|
184
|
+
* // Fetch zero or more ApiKeys
|
|
185
|
+
* const apiKeys = await prisma.apiKey.findMany()
|
|
186
|
+
* ```
|
|
187
|
+
*/
|
|
188
|
+
get apiKey(): Prisma.ApiKeyDelegate<ExtArgs, {
|
|
189
|
+
omit: OmitOpts;
|
|
190
|
+
}>;
|
|
180
191
|
/**
|
|
181
192
|
* `prisma.refreshToken`: Exposes CRUD operations for the **RefreshToken** model.
|
|
182
193
|
* Example usage:
|