reset-infra 1.0.4 → 1.0.7
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 +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/schemas/index.d.ts +31 -3
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +226 -49
- package/dist/schemas/index.js.map +1 -1
- package/package.json +35 -35
- package/prisma/schema.prisma +232 -222
package/dist/schemas/index.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.StreakDeleteManyArgsSchema = exports.StreakUpdateManyAndReturnArgsSchema = exports.StreakUpdateManyArgsSchema = exports.StreakUpdateArgsSchema = exports.StreakDeleteArgsSchema = exports.StreakCreateManyAndReturnArgsSchema = exports.StreakCreateManyArgsSchema = exports.StreakUpsertArgsSchema = exports.StreakCreateArgsSchema = exports.EmergencyAlertDeleteManyArgsSchema = exports.EmergencyAlertUpdateManyAndReturnArgsSchema = exports.EmergencyAlertUpdateManyArgsSchema = exports.EmergencyAlertUpdateArgsSchema = exports.EmergencyAlertDeleteArgsSchema = exports.EmergencyAlertCreateManyAndReturnArgsSchema = exports.EmergencyAlertCreateManyArgsSchema = exports.EmergencyAlertUpsertArgsSchema = exports.EmergencyAlertCreateArgsSchema = exports.SupportContactDeleteManyArgsSchema = exports.SupportContactUpdateManyAndReturnArgsSchema = exports.SupportContactUpdateManyArgsSchema = exports.SupportContactUpdateArgsSchema = exports.SupportContactDeleteArgsSchema = exports.SupportContactCreateManyAndReturnArgsSchema = exports.SupportContactCreateManyArgsSchema = exports.SupportContactUpsertArgsSchema = exports.SupportContactCreateArgsSchema = exports.LogAbsenceDeleteManyArgsSchema = exports.LogAbsenceUpdateManyAndReturnArgsSchema = void 0;
|
|
3
|
+
exports.UserAddictionCountOutputTypeSelectSchema = exports.UserAddictionCountOutputTypeArgsSchema = exports.UserAddictionArgsSchema = exports.UserAddictionIncludeSchema = exports.EmotionalStateSelectSchema = exports.EmotionalStateCountOutputTypeSelectSchema = exports.EmotionalStateCountOutputTypeArgsSchema = exports.EmotionalStateArgsSchema = exports.EmotionalStateIncludeSchema = exports.CravingLevelSelectSchema = exports.CravingLevelCountOutputTypeSelectSchema = exports.CravingLevelCountOutputTypeArgsSchema = exports.CravingLevelArgsSchema = exports.CravingLevelIncludeSchema = exports.UserSelectSchema = exports.UserCountOutputTypeSelectSchema = exports.UserCountOutputTypeArgsSchema = exports.UserArgsSchema = exports.UserIncludeSchema = exports.StreakSchema = exports.EmergencyAlertSchema = exports.SupportContactSchema = exports.LogAbsenceSchema = exports.StreakEventSchema = exports.DailyLogSchema = exports.SponsorshipSchema = exports.UserAddictionSchema = exports.EmotionalStateSchema = exports.CravingLevelSchema = exports.UserSchema = exports.SponsorshipStatusSchema = exports.UserRoleSchema = exports.NullsOrderSchema = exports.QueryModeSchema = exports.SortOrderSchema = exports.StreakScalarFieldEnumSchema = exports.EmergencyAlertScalarFieldEnumSchema = exports.SupportContactScalarFieldEnumSchema = exports.LogAbsenceScalarFieldEnumSchema = exports.StreakEventScalarFieldEnumSchema = exports.DailyLogScalarFieldEnumSchema = exports.SponsorshipScalarFieldEnumSchema = exports.UserAddictionScalarFieldEnumSchema = exports.EmotionalStateScalarFieldEnumSchema = exports.CravingLevelScalarFieldEnumSchema = exports.UserScalarFieldEnumSchema = exports.TransactionIsolationLevelSchema = exports.isValidDecimalInput = exports.DECIMAL_STRING_REGEX = exports.DecimalJsLikeSchema = void 0;
|
|
4
|
+
exports.SponsorshipOrderByWithAggregationInputSchema = exports.SponsorshipWhereUniqueInputSchema = exports.SponsorshipOrderByWithRelationInputSchema = exports.SponsorshipWhereInputSchema = exports.UserAddictionScalarWhereWithAggregatesInputSchema = exports.UserAddictionOrderByWithAggregationInputSchema = exports.UserAddictionWhereUniqueInputSchema = exports.UserAddictionOrderByWithRelationInputSchema = exports.UserAddictionWhereInputSchema = exports.EmotionalStateScalarWhereWithAggregatesInputSchema = exports.EmotionalStateOrderByWithAggregationInputSchema = exports.EmotionalStateWhereUniqueInputSchema = exports.EmotionalStateOrderByWithRelationInputSchema = exports.EmotionalStateWhereInputSchema = exports.CravingLevelScalarWhereWithAggregatesInputSchema = exports.CravingLevelOrderByWithAggregationInputSchema = exports.CravingLevelWhereUniqueInputSchema = exports.CravingLevelOrderByWithRelationInputSchema = exports.CravingLevelWhereInputSchema = exports.UserScalarWhereWithAggregatesInputSchema = exports.UserOrderByWithAggregationInputSchema = exports.UserWhereUniqueInputSchema = exports.UserOrderByWithRelationInputSchema = exports.UserWhereInputSchema = exports.StreakSelectSchema = exports.StreakCountOutputTypeSelectSchema = exports.StreakCountOutputTypeArgsSchema = exports.StreakArgsSchema = exports.StreakIncludeSchema = exports.EmergencyAlertSelectSchema = exports.EmergencyAlertArgsSchema = exports.EmergencyAlertIncludeSchema = exports.SupportContactSelectSchema = exports.SupportContactArgsSchema = exports.SupportContactIncludeSchema = exports.LogAbsenceSelectSchema = exports.LogAbsenceArgsSchema = exports.LogAbsenceIncludeSchema = exports.StreakEventSelectSchema = exports.StreakEventCountOutputTypeSelectSchema = exports.StreakEventCountOutputTypeArgsSchema = exports.StreakEventArgsSchema = exports.StreakEventIncludeSchema = exports.DailyLogSelectSchema = exports.DailyLogArgsSchema = exports.DailyLogIncludeSchema = exports.SponsorshipSelectSchema = exports.SponsorshipArgsSchema = exports.SponsorshipIncludeSchema = exports.UserAddictionSelectSchema = void 0;
|
|
5
|
+
exports.EmotionalStateCreateManyInputSchema = exports.EmotionalStateUncheckedUpdateInputSchema = exports.EmotionalStateUpdateInputSchema = exports.EmotionalStateUncheckedCreateInputSchema = exports.EmotionalStateCreateInputSchema = exports.CravingLevelUncheckedUpdateManyInputSchema = exports.CravingLevelUpdateManyMutationInputSchema = exports.CravingLevelCreateManyInputSchema = exports.CravingLevelUncheckedUpdateInputSchema = exports.CravingLevelUpdateInputSchema = exports.CravingLevelUncheckedCreateInputSchema = exports.CravingLevelCreateInputSchema = exports.UserUncheckedUpdateManyInputSchema = exports.UserUpdateManyMutationInputSchema = exports.UserCreateManyInputSchema = exports.UserUncheckedUpdateInputSchema = exports.UserUpdateInputSchema = exports.UserUncheckedCreateInputSchema = exports.UserCreateInputSchema = exports.StreakScalarWhereWithAggregatesInputSchema = exports.StreakOrderByWithAggregationInputSchema = exports.StreakWhereUniqueInputSchema = exports.StreakOrderByWithRelationInputSchema = exports.StreakWhereInputSchema = exports.EmergencyAlertScalarWhereWithAggregatesInputSchema = exports.EmergencyAlertOrderByWithAggregationInputSchema = exports.EmergencyAlertWhereUniqueInputSchema = exports.EmergencyAlertOrderByWithRelationInputSchema = exports.EmergencyAlertWhereInputSchema = exports.SupportContactScalarWhereWithAggregatesInputSchema = exports.SupportContactOrderByWithAggregationInputSchema = exports.SupportContactWhereUniqueInputSchema = exports.SupportContactOrderByWithRelationInputSchema = exports.SupportContactWhereInputSchema = exports.LogAbsenceScalarWhereWithAggregatesInputSchema = exports.LogAbsenceOrderByWithAggregationInputSchema = exports.LogAbsenceWhereUniqueInputSchema = exports.LogAbsenceOrderByWithRelationInputSchema = exports.LogAbsenceWhereInputSchema = exports.StreakEventScalarWhereWithAggregatesInputSchema = exports.StreakEventOrderByWithAggregationInputSchema = exports.StreakEventWhereUniqueInputSchema = exports.StreakEventOrderByWithRelationInputSchema = exports.StreakEventWhereInputSchema = exports.DailyLogScalarWhereWithAggregatesInputSchema = exports.DailyLogOrderByWithAggregationInputSchema = exports.DailyLogWhereUniqueInputSchema = exports.DailyLogOrderByWithRelationInputSchema = exports.DailyLogWhereInputSchema = exports.SponsorshipScalarWhereWithAggregatesInputSchema = void 0;
|
|
6
|
+
exports.EmergencyAlertUpdateManyMutationInputSchema = exports.EmergencyAlertCreateManyInputSchema = exports.EmergencyAlertUncheckedUpdateInputSchema = exports.EmergencyAlertUpdateInputSchema = exports.EmergencyAlertUncheckedCreateInputSchema = exports.EmergencyAlertCreateInputSchema = exports.SupportContactUncheckedUpdateManyInputSchema = exports.SupportContactUpdateManyMutationInputSchema = exports.SupportContactCreateManyInputSchema = exports.SupportContactUncheckedUpdateInputSchema = exports.SupportContactUpdateInputSchema = exports.SupportContactUncheckedCreateInputSchema = exports.SupportContactCreateInputSchema = exports.LogAbsenceUncheckedUpdateManyInputSchema = exports.LogAbsenceUpdateManyMutationInputSchema = exports.LogAbsenceCreateManyInputSchema = exports.LogAbsenceUncheckedUpdateInputSchema = exports.LogAbsenceUpdateInputSchema = exports.LogAbsenceUncheckedCreateInputSchema = exports.LogAbsenceCreateInputSchema = exports.StreakEventUncheckedUpdateManyInputSchema = exports.StreakEventUpdateManyMutationInputSchema = exports.StreakEventCreateManyInputSchema = exports.StreakEventUncheckedUpdateInputSchema = exports.StreakEventUpdateInputSchema = exports.StreakEventUncheckedCreateInputSchema = exports.StreakEventCreateInputSchema = exports.DailyLogUncheckedUpdateManyInputSchema = exports.DailyLogUpdateManyMutationInputSchema = exports.DailyLogCreateManyInputSchema = exports.DailyLogUncheckedUpdateInputSchema = exports.DailyLogUpdateInputSchema = exports.DailyLogUncheckedCreateInputSchema = exports.DailyLogCreateInputSchema = exports.SponsorshipUncheckedUpdateManyInputSchema = exports.SponsorshipUpdateManyMutationInputSchema = exports.SponsorshipCreateManyInputSchema = exports.SponsorshipUncheckedUpdateInputSchema = exports.SponsorshipUpdateInputSchema = exports.SponsorshipUncheckedCreateInputSchema = exports.SponsorshipCreateInputSchema = exports.UserAddictionUncheckedUpdateManyInputSchema = exports.UserAddictionUpdateManyMutationInputSchema = exports.UserAddictionCreateManyInputSchema = exports.UserAddictionUncheckedUpdateInputSchema = exports.UserAddictionUpdateInputSchema = exports.UserAddictionUncheckedCreateInputSchema = exports.UserAddictionCreateInputSchema = exports.EmotionalStateUncheckedUpdateManyInputSchema = exports.EmotionalStateUpdateManyMutationInputSchema = void 0;
|
|
7
|
+
exports.UserScalarRelationFilterSchema = exports.BoolFilterSchema = exports.EmotionalStateSumOrderByAggregateInputSchema = exports.EmotionalStateMinOrderByAggregateInputSchema = exports.EmotionalStateMaxOrderByAggregateInputSchema = exports.EmotionalStateAvgOrderByAggregateInputSchema = exports.EmotionalStateCountOrderByAggregateInputSchema = exports.IntWithAggregatesFilterSchema = exports.CravingLevelSumOrderByAggregateInputSchema = exports.CravingLevelMinOrderByAggregateInputSchema = exports.CravingLevelMaxOrderByAggregateInputSchema = exports.CravingLevelAvgOrderByAggregateInputSchema = exports.CravingLevelCountOrderByAggregateInputSchema = exports.IntFilterSchema = exports.StringNullableWithAggregatesFilterSchema = exports.DateTimeWithAggregatesFilterSchema = exports.EnumUserRoleWithAggregatesFilterSchema = exports.StringWithAggregatesFilterSchema = exports.UuidWithAggregatesFilterSchema = exports.UserMinOrderByAggregateInputSchema = exports.UserMaxOrderByAggregateInputSchema = exports.UserCountOrderByAggregateInputSchema = exports.LogAbsenceOrderByRelationAggregateInputSchema = exports.StreakOrderByRelationAggregateInputSchema = exports.EmergencyAlertOrderByRelationAggregateInputSchema = exports.SupportContactOrderByRelationAggregateInputSchema = exports.SponsorshipOrderByRelationAggregateInputSchema = exports.DailyLogOrderByRelationAggregateInputSchema = exports.UserAddictionOrderByRelationAggregateInputSchema = exports.SortOrderInputSchema = exports.LogAbsenceListRelationFilterSchema = exports.StreakListRelationFilterSchema = exports.EmergencyAlertListRelationFilterSchema = exports.SupportContactListRelationFilterSchema = exports.SponsorshipListRelationFilterSchema = exports.DailyLogListRelationFilterSchema = exports.UserAddictionListRelationFilterSchema = exports.StringNullableFilterSchema = exports.DateTimeFilterSchema = exports.EnumUserRoleFilterSchema = exports.StringFilterSchema = exports.UuidFilterSchema = exports.StreakUncheckedUpdateManyInputSchema = exports.StreakUpdateManyMutationInputSchema = exports.StreakCreateManyInputSchema = exports.StreakUncheckedUpdateInputSchema = exports.StreakUpdateInputSchema = exports.StreakUncheckedCreateInputSchema = exports.StreakCreateInputSchema = exports.EmergencyAlertUncheckedUpdateManyInputSchema = void 0;
|
|
8
|
+
exports.SupportContactCreateNestedManyWithoutUserInputSchema = exports.SponsorshipCreateNestedManyWithoutAddictInputSchema = exports.SponsorshipCreateNestedManyWithoutSponsorInputSchema = exports.DailyLogCreateNestedManyWithoutUserInputSchema = exports.UserAddictionCreateNestedManyWithoutUserInputSchema = exports.StreakSumOrderByAggregateInputSchema = exports.StreakMinOrderByAggregateInputSchema = exports.StreakMaxOrderByAggregateInputSchema = exports.StreakAvgOrderByAggregateInputSchema = exports.StreakCountOrderByAggregateInputSchema = exports.StreakEventOrderByRelationAggregateInputSchema = exports.StreakEventListRelationFilterSchema = exports.EmergencyAlertMinOrderByAggregateInputSchema = exports.EmergencyAlertMaxOrderByAggregateInputSchema = exports.EmergencyAlertCountOrderByAggregateInputSchema = exports.UserAddictionScalarRelationFilterSchema = exports.SupportContactSumOrderByAggregateInputSchema = exports.SupportContactMinOrderByAggregateInputSchema = exports.SupportContactMaxOrderByAggregateInputSchema = exports.SupportContactAvgOrderByAggregateInputSchema = exports.SupportContactCountOrderByAggregateInputSchema = exports.LogAbsenceSumOrderByAggregateInputSchema = exports.LogAbsenceMinOrderByAggregateInputSchema = exports.LogAbsenceMaxOrderByAggregateInputSchema = exports.LogAbsenceAvgOrderByAggregateInputSchema = exports.LogAbsenceCountOrderByAggregateInputSchema = exports.StreakEventScalarRelationFilterSchema = exports.DecimalWithAggregatesFilterSchema = exports.StreakEventSumOrderByAggregateInputSchema = exports.StreakEventMinOrderByAggregateInputSchema = exports.StreakEventMaxOrderByAggregateInputSchema = exports.StreakEventAvgOrderByAggregateInputSchema = exports.StreakEventCountOrderByAggregateInputSchema = exports.StreakScalarRelationFilterSchema = exports.DecimalFilterSchema = exports.DailyLogMinOrderByAggregateInputSchema = exports.DailyLogMaxOrderByAggregateInputSchema = exports.DailyLogCountOrderByAggregateInputSchema = exports.DailyLogUser_idLog_dateCompoundUniqueInputSchema = exports.EmotionalStateScalarRelationFilterSchema = exports.CravingLevelScalarRelationFilterSchema = exports.EnumSponsorshipStatusWithAggregatesFilterSchema = exports.SponsorshipMinOrderByAggregateInputSchema = exports.SponsorshipMaxOrderByAggregateInputSchema = exports.SponsorshipCountOrderByAggregateInputSchema = exports.EnumSponsorshipStatusFilterSchema = exports.BoolWithAggregatesFilterSchema = exports.UserAddictionMinOrderByAggregateInputSchema = exports.UserAddictionMaxOrderByAggregateInputSchema = exports.UserAddictionCountOrderByAggregateInputSchema = void 0;
|
|
9
|
+
exports.StreakUncheckedUpdateManyWithoutAddictionNestedInputSchema = exports.EmergencyAlertUpdateManyWithoutAddictionNestedInputSchema = exports.StreakUpdateManyWithoutAddictionNestedInputSchema = exports.UserUpdateOneRequiredWithoutAddictionsNestedInputSchema = exports.BoolFieldUpdateOperationsInputSchema = exports.EmergencyAlertUncheckedCreateNestedManyWithoutAddictionInputSchema = exports.StreakUncheckedCreateNestedManyWithoutAddictionInputSchema = exports.EmergencyAlertCreateNestedManyWithoutAddictionInputSchema = exports.StreakCreateNestedManyWithoutAddictionInputSchema = exports.UserCreateNestedOneWithoutAddictionsInputSchema = exports.DailyLogUncheckedUpdateManyWithoutEmotional_stateNestedInputSchema = exports.DailyLogUpdateManyWithoutEmotional_stateNestedInputSchema = exports.DailyLogUncheckedCreateNestedManyWithoutEmotional_stateInputSchema = exports.DailyLogCreateNestedManyWithoutEmotional_stateInputSchema = exports.DailyLogUncheckedUpdateManyWithoutCraving_levelNestedInputSchema = exports.DailyLogUpdateManyWithoutCraving_levelNestedInputSchema = exports.IntFieldUpdateOperationsInputSchema = exports.DailyLogUncheckedCreateNestedManyWithoutCraving_levelInputSchema = exports.DailyLogCreateNestedManyWithoutCraving_levelInputSchema = exports.LogAbsenceUncheckedUpdateManyWithoutUserNestedInputSchema = exports.StreakUncheckedUpdateManyWithoutUserNestedInputSchema = exports.EmergencyAlertUncheckedUpdateManyWithoutUserNestedInputSchema = exports.SupportContactUncheckedUpdateManyWithoutUserNestedInputSchema = exports.SponsorshipUncheckedUpdateManyWithoutAddictNestedInputSchema = exports.SponsorshipUncheckedUpdateManyWithoutSponsorNestedInputSchema = exports.DailyLogUncheckedUpdateManyWithoutUserNestedInputSchema = exports.UserAddictionUncheckedUpdateManyWithoutUserNestedInputSchema = exports.LogAbsenceUpdateManyWithoutUserNestedInputSchema = exports.StreakUpdateManyWithoutUserNestedInputSchema = exports.EmergencyAlertUpdateManyWithoutUserNestedInputSchema = exports.SupportContactUpdateManyWithoutUserNestedInputSchema = exports.SponsorshipUpdateManyWithoutAddictNestedInputSchema = exports.SponsorshipUpdateManyWithoutSponsorNestedInputSchema = exports.DailyLogUpdateManyWithoutUserNestedInputSchema = exports.UserAddictionUpdateManyWithoutUserNestedInputSchema = exports.NullableStringFieldUpdateOperationsInputSchema = exports.DateTimeFieldUpdateOperationsInputSchema = exports.EnumUserRoleFieldUpdateOperationsInputSchema = exports.StringFieldUpdateOperationsInputSchema = exports.LogAbsenceUncheckedCreateNestedManyWithoutUserInputSchema = exports.StreakUncheckedCreateNestedManyWithoutUserInputSchema = exports.EmergencyAlertUncheckedCreateNestedManyWithoutUserInputSchema = exports.SupportContactUncheckedCreateNestedManyWithoutUserInputSchema = exports.SponsorshipUncheckedCreateNestedManyWithoutAddictInputSchema = exports.SponsorshipUncheckedCreateNestedManyWithoutSponsorInputSchema = exports.DailyLogUncheckedCreateNestedManyWithoutUserInputSchema = exports.UserAddictionUncheckedCreateNestedManyWithoutUserInputSchema = exports.LogAbsenceCreateNestedManyWithoutUserInputSchema = exports.StreakCreateNestedManyWithoutUserInputSchema = exports.EmergencyAlertCreateNestedManyWithoutUserInputSchema = void 0;
|
|
10
|
+
exports.NestedIntWithAggregatesFilterSchema = exports.NestedIntNullableFilterSchema = exports.NestedStringNullableWithAggregatesFilterSchema = exports.NestedDateTimeWithAggregatesFilterSchema = exports.NestedEnumUserRoleWithAggregatesFilterSchema = exports.NestedStringWithAggregatesFilterSchema = exports.NestedIntFilterSchema = exports.NestedUuidWithAggregatesFilterSchema = exports.NestedStringNullableFilterSchema = exports.NestedDateTimeFilterSchema = exports.NestedEnumUserRoleFilterSchema = exports.NestedStringFilterSchema = exports.NestedUuidFilterSchema = exports.StreakEventUncheckedUpdateManyWithoutStreakNestedInputSchema = exports.StreakEventUpdateManyWithoutStreakNestedInputSchema = exports.UserAddictionUpdateOneRequiredWithoutStreakNestedInputSchema = exports.UserUpdateOneRequiredWithoutStreakNestedInputSchema = exports.StreakEventUncheckedCreateNestedManyWithoutStreakInputSchema = exports.StreakEventCreateNestedManyWithoutStreakInputSchema = exports.UserAddictionCreateNestedOneWithoutStreakInputSchema = exports.UserCreateNestedOneWithoutStreakInputSchema = exports.UserAddictionUpdateOneRequiredWithoutAlertsNestedInputSchema = exports.UserUpdateOneRequiredWithoutAlertsNestedInputSchema = exports.UserAddictionCreateNestedOneWithoutAlertsInputSchema = exports.UserCreateNestedOneWithoutAlertsInputSchema = exports.UserUpdateOneRequiredWithoutContactsNestedInputSchema = exports.UserCreateNestedOneWithoutContactsInputSchema = exports.StreakEventUpdateOneRequiredWithoutAbsencesNestedInputSchema = exports.UserUpdateOneRequiredWithoutAbsencesNestedInputSchema = exports.StreakEventCreateNestedOneWithoutAbsencesInputSchema = exports.UserCreateNestedOneWithoutAbsencesInputSchema = exports.LogAbsenceUncheckedUpdateManyWithoutStreak_eventNestedInputSchema = exports.LogAbsenceUpdateManyWithoutStreak_eventNestedInputSchema = exports.StreakUpdateOneRequiredWithoutEventsNestedInputSchema = exports.DecimalFieldUpdateOperationsInputSchema = exports.LogAbsenceUncheckedCreateNestedManyWithoutStreak_eventInputSchema = exports.LogAbsenceCreateNestedManyWithoutStreak_eventInputSchema = exports.StreakCreateNestedOneWithoutEventsInputSchema = exports.EmotionalStateUpdateOneRequiredWithoutDaily_logsNestedInputSchema = exports.CravingLevelUpdateOneRequiredWithoutDaily_logsNestedInputSchema = exports.UserUpdateOneRequiredWithoutDaily_logsNestedInputSchema = exports.EmotionalStateCreateNestedOneWithoutDaily_logsInputSchema = exports.CravingLevelCreateNestedOneWithoutDaily_logsInputSchema = exports.UserCreateNestedOneWithoutDaily_logsInputSchema = exports.UserUpdateOneRequiredWithoutSponsorships_as_addictNestedInputSchema = exports.UserUpdateOneRequiredWithoutSponsorships_as_sponsorNestedInputSchema = exports.EnumSponsorshipStatusFieldUpdateOperationsInputSchema = exports.UserCreateNestedOneWithoutSponsorships_as_addictInputSchema = exports.UserCreateNestedOneWithoutSponsorships_as_sponsorInputSchema = exports.EmergencyAlertUncheckedUpdateManyWithoutAddictionNestedInputSchema = void 0;
|
|
11
|
+
exports.SponsorshipUpdateManyWithWhereWithoutSponsorInputSchema = exports.SponsorshipUpdateWithWhereUniqueWithoutSponsorInputSchema = exports.SponsorshipUpsertWithWhereUniqueWithoutSponsorInputSchema = exports.DailyLogScalarWhereInputSchema = exports.DailyLogUpdateManyWithWhereWithoutUserInputSchema = exports.DailyLogUpdateWithWhereUniqueWithoutUserInputSchema = exports.DailyLogUpsertWithWhereUniqueWithoutUserInputSchema = exports.UserAddictionScalarWhereInputSchema = exports.UserAddictionUpdateManyWithWhereWithoutUserInputSchema = exports.UserAddictionUpdateWithWhereUniqueWithoutUserInputSchema = exports.UserAddictionUpsertWithWhereUniqueWithoutUserInputSchema = exports.LogAbsenceCreateManyUserInputEnvelopeSchema = exports.LogAbsenceCreateOrConnectWithoutUserInputSchema = exports.LogAbsenceUncheckedCreateWithoutUserInputSchema = exports.LogAbsenceCreateWithoutUserInputSchema = exports.StreakCreateManyUserInputEnvelopeSchema = exports.StreakCreateOrConnectWithoutUserInputSchema = exports.StreakUncheckedCreateWithoutUserInputSchema = exports.StreakCreateWithoutUserInputSchema = exports.EmergencyAlertCreateManyUserInputEnvelopeSchema = exports.EmergencyAlertCreateOrConnectWithoutUserInputSchema = exports.EmergencyAlertUncheckedCreateWithoutUserInputSchema = exports.EmergencyAlertCreateWithoutUserInputSchema = exports.SupportContactCreateManyUserInputEnvelopeSchema = exports.SupportContactCreateOrConnectWithoutUserInputSchema = exports.SupportContactUncheckedCreateWithoutUserInputSchema = exports.SupportContactCreateWithoutUserInputSchema = exports.SponsorshipCreateManyAddictInputEnvelopeSchema = exports.SponsorshipCreateOrConnectWithoutAddictInputSchema = exports.SponsorshipUncheckedCreateWithoutAddictInputSchema = exports.SponsorshipCreateWithoutAddictInputSchema = exports.SponsorshipCreateManySponsorInputEnvelopeSchema = exports.SponsorshipCreateOrConnectWithoutSponsorInputSchema = exports.SponsorshipUncheckedCreateWithoutSponsorInputSchema = exports.SponsorshipCreateWithoutSponsorInputSchema = exports.DailyLogCreateManyUserInputEnvelopeSchema = exports.DailyLogCreateOrConnectWithoutUserInputSchema = exports.DailyLogUncheckedCreateWithoutUserInputSchema = exports.DailyLogCreateWithoutUserInputSchema = exports.UserAddictionCreateManyUserInputEnvelopeSchema = exports.UserAddictionCreateOrConnectWithoutUserInputSchema = exports.UserAddictionUncheckedCreateWithoutUserInputSchema = exports.UserAddictionCreateWithoutUserInputSchema = exports.NestedDecimalWithAggregatesFilterSchema = exports.NestedDecimalFilterSchema = exports.NestedEnumSponsorshipStatusWithAggregatesFilterSchema = exports.NestedEnumSponsorshipStatusFilterSchema = exports.NestedBoolWithAggregatesFilterSchema = exports.NestedBoolFilterSchema = exports.NestedFloatFilterSchema = void 0;
|
|
12
|
+
exports.StreakUpsertWithWhereUniqueWithoutAddictionInputSchema = exports.UserUncheckedUpdateWithoutAddictionsInputSchema = exports.UserUpdateWithoutAddictionsInputSchema = exports.UserUpdateToOneWithWhereWithoutAddictionsInputSchema = exports.UserUpsertWithoutAddictionsInputSchema = exports.EmergencyAlertCreateManyAddictionInputEnvelopeSchema = exports.EmergencyAlertCreateOrConnectWithoutAddictionInputSchema = exports.EmergencyAlertUncheckedCreateWithoutAddictionInputSchema = exports.EmergencyAlertCreateWithoutAddictionInputSchema = exports.StreakCreateManyAddictionInputEnvelopeSchema = exports.StreakCreateOrConnectWithoutAddictionInputSchema = exports.StreakUncheckedCreateWithoutAddictionInputSchema = exports.StreakCreateWithoutAddictionInputSchema = exports.UserCreateOrConnectWithoutAddictionsInputSchema = exports.UserUncheckedCreateWithoutAddictionsInputSchema = exports.UserCreateWithoutAddictionsInputSchema = exports.DailyLogUpdateManyWithWhereWithoutEmotional_stateInputSchema = exports.DailyLogUpdateWithWhereUniqueWithoutEmotional_stateInputSchema = exports.DailyLogUpsertWithWhereUniqueWithoutEmotional_stateInputSchema = exports.DailyLogCreateManyEmotional_stateInputEnvelopeSchema = exports.DailyLogCreateOrConnectWithoutEmotional_stateInputSchema = exports.DailyLogUncheckedCreateWithoutEmotional_stateInputSchema = exports.DailyLogCreateWithoutEmotional_stateInputSchema = exports.DailyLogUpdateManyWithWhereWithoutCraving_levelInputSchema = exports.DailyLogUpdateWithWhereUniqueWithoutCraving_levelInputSchema = exports.DailyLogUpsertWithWhereUniqueWithoutCraving_levelInputSchema = exports.DailyLogCreateManyCraving_levelInputEnvelopeSchema = exports.DailyLogCreateOrConnectWithoutCraving_levelInputSchema = exports.DailyLogUncheckedCreateWithoutCraving_levelInputSchema = exports.DailyLogCreateWithoutCraving_levelInputSchema = exports.LogAbsenceScalarWhereInputSchema = exports.LogAbsenceUpdateManyWithWhereWithoutUserInputSchema = exports.LogAbsenceUpdateWithWhereUniqueWithoutUserInputSchema = exports.LogAbsenceUpsertWithWhereUniqueWithoutUserInputSchema = exports.StreakScalarWhereInputSchema = exports.StreakUpdateManyWithWhereWithoutUserInputSchema = exports.StreakUpdateWithWhereUniqueWithoutUserInputSchema = exports.StreakUpsertWithWhereUniqueWithoutUserInputSchema = exports.EmergencyAlertScalarWhereInputSchema = exports.EmergencyAlertUpdateManyWithWhereWithoutUserInputSchema = exports.EmergencyAlertUpdateWithWhereUniqueWithoutUserInputSchema = exports.EmergencyAlertUpsertWithWhereUniqueWithoutUserInputSchema = exports.SupportContactScalarWhereInputSchema = exports.SupportContactUpdateManyWithWhereWithoutUserInputSchema = exports.SupportContactUpdateWithWhereUniqueWithoutUserInputSchema = exports.SupportContactUpsertWithWhereUniqueWithoutUserInputSchema = exports.SponsorshipUpdateManyWithWhereWithoutAddictInputSchema = exports.SponsorshipUpdateWithWhereUniqueWithoutAddictInputSchema = exports.SponsorshipUpsertWithWhereUniqueWithoutAddictInputSchema = exports.SponsorshipScalarWhereInputSchema = void 0;
|
|
13
|
+
exports.StreakUpdateWithoutEventsInputSchema = exports.StreakUpdateToOneWithWhereWithoutEventsInputSchema = exports.StreakUpsertWithoutEventsInputSchema = exports.LogAbsenceCreateManyStreak_eventInputEnvelopeSchema = exports.LogAbsenceCreateOrConnectWithoutStreak_eventInputSchema = exports.LogAbsenceUncheckedCreateWithoutStreak_eventInputSchema = exports.LogAbsenceCreateWithoutStreak_eventInputSchema = exports.StreakCreateOrConnectWithoutEventsInputSchema = exports.StreakUncheckedCreateWithoutEventsInputSchema = exports.StreakCreateWithoutEventsInputSchema = exports.EmotionalStateUncheckedUpdateWithoutDaily_logsInputSchema = exports.EmotionalStateUpdateWithoutDaily_logsInputSchema = exports.EmotionalStateUpdateToOneWithWhereWithoutDaily_logsInputSchema = exports.EmotionalStateUpsertWithoutDaily_logsInputSchema = exports.CravingLevelUncheckedUpdateWithoutDaily_logsInputSchema = exports.CravingLevelUpdateWithoutDaily_logsInputSchema = exports.CravingLevelUpdateToOneWithWhereWithoutDaily_logsInputSchema = exports.CravingLevelUpsertWithoutDaily_logsInputSchema = exports.UserUncheckedUpdateWithoutDaily_logsInputSchema = exports.UserUpdateWithoutDaily_logsInputSchema = exports.UserUpdateToOneWithWhereWithoutDaily_logsInputSchema = exports.UserUpsertWithoutDaily_logsInputSchema = exports.EmotionalStateCreateOrConnectWithoutDaily_logsInputSchema = exports.EmotionalStateUncheckedCreateWithoutDaily_logsInputSchema = exports.EmotionalStateCreateWithoutDaily_logsInputSchema = exports.CravingLevelCreateOrConnectWithoutDaily_logsInputSchema = exports.CravingLevelUncheckedCreateWithoutDaily_logsInputSchema = exports.CravingLevelCreateWithoutDaily_logsInputSchema = exports.UserCreateOrConnectWithoutDaily_logsInputSchema = exports.UserUncheckedCreateWithoutDaily_logsInputSchema = exports.UserCreateWithoutDaily_logsInputSchema = exports.UserUncheckedUpdateWithoutSponsorships_as_addictInputSchema = exports.UserUpdateWithoutSponsorships_as_addictInputSchema = exports.UserUpdateToOneWithWhereWithoutSponsorships_as_addictInputSchema = exports.UserUpsertWithoutSponsorships_as_addictInputSchema = exports.UserUncheckedUpdateWithoutSponsorships_as_sponsorInputSchema = exports.UserUpdateWithoutSponsorships_as_sponsorInputSchema = exports.UserUpdateToOneWithWhereWithoutSponsorships_as_sponsorInputSchema = exports.UserUpsertWithoutSponsorships_as_sponsorInputSchema = exports.UserCreateOrConnectWithoutSponsorships_as_addictInputSchema = exports.UserUncheckedCreateWithoutSponsorships_as_addictInputSchema = exports.UserCreateWithoutSponsorships_as_addictInputSchema = exports.UserCreateOrConnectWithoutSponsorships_as_sponsorInputSchema = exports.UserUncheckedCreateWithoutSponsorships_as_sponsorInputSchema = exports.UserCreateWithoutSponsorships_as_sponsorInputSchema = exports.EmergencyAlertUpdateManyWithWhereWithoutAddictionInputSchema = exports.EmergencyAlertUpdateWithWhereUniqueWithoutAddictionInputSchema = exports.EmergencyAlertUpsertWithWhereUniqueWithoutAddictionInputSchema = exports.StreakUpdateManyWithWhereWithoutAddictionInputSchema = exports.StreakUpdateWithWhereUniqueWithoutAddictionInputSchema = void 0;
|
|
14
|
+
exports.UserUpsertWithoutStreakInputSchema = exports.StreakEventCreateManyStreakInputEnvelopeSchema = exports.StreakEventCreateOrConnectWithoutStreakInputSchema = exports.StreakEventUncheckedCreateWithoutStreakInputSchema = exports.StreakEventCreateWithoutStreakInputSchema = exports.UserAddictionCreateOrConnectWithoutStreakInputSchema = exports.UserAddictionUncheckedCreateWithoutStreakInputSchema = exports.UserAddictionCreateWithoutStreakInputSchema = exports.UserCreateOrConnectWithoutStreakInputSchema = exports.UserUncheckedCreateWithoutStreakInputSchema = exports.UserCreateWithoutStreakInputSchema = exports.UserAddictionUncheckedUpdateWithoutAlertsInputSchema = exports.UserAddictionUpdateWithoutAlertsInputSchema = exports.UserAddictionUpdateToOneWithWhereWithoutAlertsInputSchema = exports.UserAddictionUpsertWithoutAlertsInputSchema = exports.UserUncheckedUpdateWithoutAlertsInputSchema = exports.UserUpdateWithoutAlertsInputSchema = exports.UserUpdateToOneWithWhereWithoutAlertsInputSchema = exports.UserUpsertWithoutAlertsInputSchema = exports.UserAddictionCreateOrConnectWithoutAlertsInputSchema = exports.UserAddictionUncheckedCreateWithoutAlertsInputSchema = exports.UserAddictionCreateWithoutAlertsInputSchema = exports.UserCreateOrConnectWithoutAlertsInputSchema = exports.UserUncheckedCreateWithoutAlertsInputSchema = exports.UserCreateWithoutAlertsInputSchema = exports.UserUncheckedUpdateWithoutContactsInputSchema = exports.UserUpdateWithoutContactsInputSchema = exports.UserUpdateToOneWithWhereWithoutContactsInputSchema = exports.UserUpsertWithoutContactsInputSchema = exports.UserCreateOrConnectWithoutContactsInputSchema = exports.UserUncheckedCreateWithoutContactsInputSchema = exports.UserCreateWithoutContactsInputSchema = exports.StreakEventUncheckedUpdateWithoutAbsencesInputSchema = exports.StreakEventUpdateWithoutAbsencesInputSchema = exports.StreakEventUpdateToOneWithWhereWithoutAbsencesInputSchema = exports.StreakEventUpsertWithoutAbsencesInputSchema = exports.UserUncheckedUpdateWithoutAbsencesInputSchema = exports.UserUpdateWithoutAbsencesInputSchema = exports.UserUpdateToOneWithWhereWithoutAbsencesInputSchema = exports.UserUpsertWithoutAbsencesInputSchema = exports.StreakEventCreateOrConnectWithoutAbsencesInputSchema = exports.StreakEventUncheckedCreateWithoutAbsencesInputSchema = exports.StreakEventCreateWithoutAbsencesInputSchema = exports.UserCreateOrConnectWithoutAbsencesInputSchema = exports.UserUncheckedCreateWithoutAbsencesInputSchema = exports.UserCreateWithoutAbsencesInputSchema = exports.LogAbsenceUpdateManyWithWhereWithoutStreak_eventInputSchema = exports.LogAbsenceUpdateWithWhereUniqueWithoutStreak_eventInputSchema = exports.LogAbsenceUpsertWithWhereUniqueWithoutStreak_eventInputSchema = exports.StreakUncheckedUpdateWithoutEventsInputSchema = void 0;
|
|
15
|
+
exports.DailyLogUncheckedUpdateWithoutEmotional_stateInputSchema = exports.DailyLogUpdateWithoutEmotional_stateInputSchema = exports.DailyLogCreateManyEmotional_stateInputSchema = exports.DailyLogUncheckedUpdateManyWithoutCraving_levelInputSchema = exports.DailyLogUncheckedUpdateWithoutCraving_levelInputSchema = exports.DailyLogUpdateWithoutCraving_levelInputSchema = exports.DailyLogCreateManyCraving_levelInputSchema = exports.LogAbsenceUncheckedUpdateManyWithoutUserInputSchema = exports.LogAbsenceUncheckedUpdateWithoutUserInputSchema = exports.LogAbsenceUpdateWithoutUserInputSchema = exports.StreakUncheckedUpdateManyWithoutUserInputSchema = exports.StreakUncheckedUpdateWithoutUserInputSchema = exports.StreakUpdateWithoutUserInputSchema = exports.EmergencyAlertUncheckedUpdateManyWithoutUserInputSchema = exports.EmergencyAlertUncheckedUpdateWithoutUserInputSchema = exports.EmergencyAlertUpdateWithoutUserInputSchema = exports.SupportContactUncheckedUpdateManyWithoutUserInputSchema = exports.SupportContactUncheckedUpdateWithoutUserInputSchema = exports.SupportContactUpdateWithoutUserInputSchema = exports.SponsorshipUncheckedUpdateManyWithoutAddictInputSchema = exports.SponsorshipUncheckedUpdateWithoutAddictInputSchema = exports.SponsorshipUpdateWithoutAddictInputSchema = exports.SponsorshipUncheckedUpdateManyWithoutSponsorInputSchema = exports.SponsorshipUncheckedUpdateWithoutSponsorInputSchema = exports.SponsorshipUpdateWithoutSponsorInputSchema = exports.DailyLogUncheckedUpdateManyWithoutUserInputSchema = exports.DailyLogUncheckedUpdateWithoutUserInputSchema = exports.DailyLogUpdateWithoutUserInputSchema = exports.UserAddictionUncheckedUpdateManyWithoutUserInputSchema = exports.UserAddictionUncheckedUpdateWithoutUserInputSchema = exports.UserAddictionUpdateWithoutUserInputSchema = exports.LogAbsenceCreateManyUserInputSchema = exports.StreakCreateManyUserInputSchema = exports.EmergencyAlertCreateManyUserInputSchema = exports.SupportContactCreateManyUserInputSchema = exports.SponsorshipCreateManyAddictInputSchema = exports.SponsorshipCreateManySponsorInputSchema = exports.DailyLogCreateManyUserInputSchema = exports.UserAddictionCreateManyUserInputSchema = exports.StreakEventScalarWhereInputSchema = exports.StreakEventUpdateManyWithWhereWithoutStreakInputSchema = exports.StreakEventUpdateWithWhereUniqueWithoutStreakInputSchema = exports.StreakEventUpsertWithWhereUniqueWithoutStreakInputSchema = exports.UserAddictionUncheckedUpdateWithoutStreakInputSchema = exports.UserAddictionUpdateWithoutStreakInputSchema = exports.UserAddictionUpdateToOneWithWhereWithoutStreakInputSchema = exports.UserAddictionUpsertWithoutStreakInputSchema = exports.UserUncheckedUpdateWithoutStreakInputSchema = exports.UserUpdateWithoutStreakInputSchema = exports.UserUpdateToOneWithWhereWithoutStreakInputSchema = void 0;
|
|
16
|
+
exports.SponsorshipGroupByArgsSchema = exports.SponsorshipAggregateArgsSchema = exports.SponsorshipFindManyArgsSchema = exports.SponsorshipFindFirstOrThrowArgsSchema = exports.SponsorshipFindFirstArgsSchema = exports.UserAddictionFindUniqueOrThrowArgsSchema = exports.UserAddictionFindUniqueArgsSchema = exports.UserAddictionGroupByArgsSchema = exports.UserAddictionAggregateArgsSchema = exports.UserAddictionFindManyArgsSchema = exports.UserAddictionFindFirstOrThrowArgsSchema = exports.UserAddictionFindFirstArgsSchema = exports.EmotionalStateFindUniqueOrThrowArgsSchema = exports.EmotionalStateFindUniqueArgsSchema = exports.EmotionalStateGroupByArgsSchema = exports.EmotionalStateAggregateArgsSchema = exports.EmotionalStateFindManyArgsSchema = exports.EmotionalStateFindFirstOrThrowArgsSchema = exports.EmotionalStateFindFirstArgsSchema = exports.CravingLevelFindUniqueOrThrowArgsSchema = exports.CravingLevelFindUniqueArgsSchema = exports.CravingLevelGroupByArgsSchema = exports.CravingLevelAggregateArgsSchema = exports.CravingLevelFindManyArgsSchema = exports.CravingLevelFindFirstOrThrowArgsSchema = exports.CravingLevelFindFirstArgsSchema = exports.UserFindUniqueOrThrowArgsSchema = exports.UserFindUniqueArgsSchema = exports.UserGroupByArgsSchema = exports.UserAggregateArgsSchema = exports.UserFindManyArgsSchema = exports.UserFindFirstOrThrowArgsSchema = exports.UserFindFirstArgsSchema = exports.StreakEventUncheckedUpdateManyWithoutStreakInputSchema = exports.StreakEventUncheckedUpdateWithoutStreakInputSchema = exports.StreakEventUpdateWithoutStreakInputSchema = exports.StreakEventCreateManyStreakInputSchema = exports.LogAbsenceUncheckedUpdateManyWithoutStreak_eventInputSchema = exports.LogAbsenceUncheckedUpdateWithoutStreak_eventInputSchema = exports.LogAbsenceUpdateWithoutStreak_eventInputSchema = exports.LogAbsenceCreateManyStreak_eventInputSchema = exports.EmergencyAlertUncheckedUpdateManyWithoutAddictionInputSchema = exports.EmergencyAlertUncheckedUpdateWithoutAddictionInputSchema = exports.EmergencyAlertUpdateWithoutAddictionInputSchema = exports.StreakUncheckedUpdateManyWithoutAddictionInputSchema = exports.StreakUncheckedUpdateWithoutAddictionInputSchema = exports.StreakUpdateWithoutAddictionInputSchema = exports.EmergencyAlertCreateManyAddictionInputSchema = exports.StreakCreateManyAddictionInputSchema = exports.DailyLogUncheckedUpdateManyWithoutEmotional_stateInputSchema = void 0;
|
|
17
|
+
exports.UserUpdateArgsSchema = exports.UserDeleteArgsSchema = exports.UserCreateManyAndReturnArgsSchema = exports.UserCreateManyArgsSchema = exports.UserUpsertArgsSchema = exports.UserCreateArgsSchema = exports.StreakFindUniqueOrThrowArgsSchema = exports.StreakFindUniqueArgsSchema = exports.StreakGroupByArgsSchema = exports.StreakAggregateArgsSchema = exports.StreakFindManyArgsSchema = exports.StreakFindFirstOrThrowArgsSchema = exports.StreakFindFirstArgsSchema = exports.EmergencyAlertFindUniqueOrThrowArgsSchema = exports.EmergencyAlertFindUniqueArgsSchema = exports.EmergencyAlertGroupByArgsSchema = exports.EmergencyAlertAggregateArgsSchema = exports.EmergencyAlertFindManyArgsSchema = exports.EmergencyAlertFindFirstOrThrowArgsSchema = exports.EmergencyAlertFindFirstArgsSchema = exports.SupportContactFindUniqueOrThrowArgsSchema = exports.SupportContactFindUniqueArgsSchema = exports.SupportContactGroupByArgsSchema = exports.SupportContactAggregateArgsSchema = exports.SupportContactFindManyArgsSchema = exports.SupportContactFindFirstOrThrowArgsSchema = exports.SupportContactFindFirstArgsSchema = exports.LogAbsenceFindUniqueOrThrowArgsSchema = exports.LogAbsenceFindUniqueArgsSchema = exports.LogAbsenceGroupByArgsSchema = exports.LogAbsenceAggregateArgsSchema = exports.LogAbsenceFindManyArgsSchema = exports.LogAbsenceFindFirstOrThrowArgsSchema = exports.LogAbsenceFindFirstArgsSchema = exports.StreakEventFindUniqueOrThrowArgsSchema = exports.StreakEventFindUniqueArgsSchema = exports.StreakEventGroupByArgsSchema = exports.StreakEventAggregateArgsSchema = exports.StreakEventFindManyArgsSchema = exports.StreakEventFindFirstOrThrowArgsSchema = exports.StreakEventFindFirstArgsSchema = exports.DailyLogFindUniqueOrThrowArgsSchema = exports.DailyLogFindUniqueArgsSchema = exports.DailyLogGroupByArgsSchema = exports.DailyLogAggregateArgsSchema = exports.DailyLogFindManyArgsSchema = exports.DailyLogFindFirstOrThrowArgsSchema = exports.DailyLogFindFirstArgsSchema = exports.SponsorshipFindUniqueOrThrowArgsSchema = exports.SponsorshipFindUniqueArgsSchema = void 0;
|
|
18
|
+
exports.StreakEventUpsertArgsSchema = exports.StreakEventCreateArgsSchema = exports.DailyLogDeleteManyArgsSchema = exports.DailyLogUpdateManyAndReturnArgsSchema = exports.DailyLogUpdateManyArgsSchema = exports.DailyLogUpdateArgsSchema = exports.DailyLogDeleteArgsSchema = exports.DailyLogCreateManyAndReturnArgsSchema = exports.DailyLogCreateManyArgsSchema = exports.DailyLogUpsertArgsSchema = exports.DailyLogCreateArgsSchema = exports.SponsorshipDeleteManyArgsSchema = exports.SponsorshipUpdateManyAndReturnArgsSchema = exports.SponsorshipUpdateManyArgsSchema = exports.SponsorshipUpdateArgsSchema = exports.SponsorshipDeleteArgsSchema = exports.SponsorshipCreateManyAndReturnArgsSchema = exports.SponsorshipCreateManyArgsSchema = exports.SponsorshipUpsertArgsSchema = exports.SponsorshipCreateArgsSchema = exports.UserAddictionDeleteManyArgsSchema = exports.UserAddictionUpdateManyAndReturnArgsSchema = exports.UserAddictionUpdateManyArgsSchema = exports.UserAddictionUpdateArgsSchema = exports.UserAddictionDeleteArgsSchema = exports.UserAddictionCreateManyAndReturnArgsSchema = exports.UserAddictionCreateManyArgsSchema = exports.UserAddictionUpsertArgsSchema = exports.UserAddictionCreateArgsSchema = exports.EmotionalStateDeleteManyArgsSchema = exports.EmotionalStateUpdateManyAndReturnArgsSchema = exports.EmotionalStateUpdateManyArgsSchema = exports.EmotionalStateUpdateArgsSchema = exports.EmotionalStateDeleteArgsSchema = exports.EmotionalStateCreateManyAndReturnArgsSchema = exports.EmotionalStateCreateManyArgsSchema = exports.EmotionalStateUpsertArgsSchema = exports.EmotionalStateCreateArgsSchema = exports.CravingLevelDeleteManyArgsSchema = exports.CravingLevelUpdateManyAndReturnArgsSchema = exports.CravingLevelUpdateManyArgsSchema = exports.CravingLevelUpdateArgsSchema = exports.CravingLevelDeleteArgsSchema = exports.CravingLevelCreateManyAndReturnArgsSchema = exports.CravingLevelCreateManyArgsSchema = exports.CravingLevelUpsertArgsSchema = exports.CravingLevelCreateArgsSchema = exports.UserDeleteManyArgsSchema = exports.UserUpdateManyAndReturnArgsSchema = exports.UserUpdateManyArgsSchema = void 0;
|
|
19
|
+
exports.StreakDeleteManyArgsSchema = exports.StreakUpdateManyAndReturnArgsSchema = exports.StreakUpdateManyArgsSchema = exports.StreakUpdateArgsSchema = exports.StreakDeleteArgsSchema = exports.StreakCreateManyAndReturnArgsSchema = exports.StreakCreateManyArgsSchema = exports.StreakUpsertArgsSchema = exports.StreakCreateArgsSchema = exports.EmergencyAlertDeleteManyArgsSchema = exports.EmergencyAlertUpdateManyAndReturnArgsSchema = exports.EmergencyAlertUpdateManyArgsSchema = exports.EmergencyAlertUpdateArgsSchema = exports.EmergencyAlertDeleteArgsSchema = exports.EmergencyAlertCreateManyAndReturnArgsSchema = exports.EmergencyAlertCreateManyArgsSchema = exports.EmergencyAlertUpsertArgsSchema = exports.EmergencyAlertCreateArgsSchema = exports.SupportContactDeleteManyArgsSchema = exports.SupportContactUpdateManyAndReturnArgsSchema = exports.SupportContactUpdateManyArgsSchema = exports.SupportContactUpdateArgsSchema = exports.SupportContactDeleteArgsSchema = exports.SupportContactCreateManyAndReturnArgsSchema = exports.SupportContactCreateManyArgsSchema = exports.SupportContactUpsertArgsSchema = exports.SupportContactCreateArgsSchema = exports.LogAbsenceDeleteManyArgsSchema = exports.LogAbsenceUpdateManyAndReturnArgsSchema = exports.LogAbsenceUpdateManyArgsSchema = exports.LogAbsenceUpdateArgsSchema = exports.LogAbsenceDeleteArgsSchema = exports.LogAbsenceCreateManyAndReturnArgsSchema = exports.LogAbsenceCreateManyArgsSchema = exports.LogAbsenceUpsertArgsSchema = exports.LogAbsenceCreateArgsSchema = exports.StreakEventDeleteManyArgsSchema = exports.StreakEventUpdateManyAndReturnArgsSchema = exports.StreakEventUpdateManyArgsSchema = exports.StreakEventUpdateArgsSchema = exports.StreakEventDeleteArgsSchema = exports.StreakEventCreateManyAndReturnArgsSchema = exports.StreakEventCreateManyArgsSchema = void 0;
|
|
20
20
|
const zod_1 = require("zod");
|
|
21
21
|
const client_1 = require("@prisma/client");
|
|
22
22
|
/////////////////////////////////////////
|
|
@@ -43,11 +43,11 @@ exports.isValidDecimalInput = isValidDecimalInput;
|
|
|
43
43
|
// ENUMS
|
|
44
44
|
/////////////////////////////////////////
|
|
45
45
|
exports.TransactionIsolationLevelSchema = zod_1.z.enum(['ReadUncommitted', 'ReadCommitted', 'RepeatableRead', 'Serializable']);
|
|
46
|
-
exports.UserScalarFieldEnumSchema = zod_1.z.enum(['id', 'name', 'email', 'password_hash', 'role', 'created_at', 'updated_at']);
|
|
46
|
+
exports.UserScalarFieldEnumSchema = zod_1.z.enum(['id', 'name', 'email', 'password_hash', 'role', 'created_at', 'updated_at', 'sponsor_code']);
|
|
47
47
|
exports.CravingLevelScalarFieldEnumSchema = zod_1.z.enum(['id', 'level', 'label', 'description', 'recommendation']);
|
|
48
48
|
exports.EmotionalStateScalarFieldEnumSchema = zod_1.z.enum(['id', 'level', 'label', 'description', 'category']);
|
|
49
49
|
exports.UserAddictionScalarFieldEnumSchema = zod_1.z.enum(['id', 'user_id', 'custom_name', 'classification', 'is_active', 'registered_at', 'created_at']);
|
|
50
|
-
exports.SponsorshipScalarFieldEnumSchema = zod_1.z.enum(['id', 'sponsor_id', 'addict_id', 'started_at', 'ended_at', '
|
|
50
|
+
exports.SponsorshipScalarFieldEnumSchema = zod_1.z.enum(['id', 'sponsor_id', 'addict_id', 'started_at', 'ended_at', 'status', 'termination_reason', 'created_at']);
|
|
51
51
|
exports.DailyLogScalarFieldEnumSchema = zod_1.z.enum(['id', 'user_id', 'log_date', 'consumed', 'craving_level_id', 'emotional_state_id', 'triggers', 'notes', 'created_at']);
|
|
52
52
|
exports.StreakEventScalarFieldEnumSchema = zod_1.z.enum(['id', 'streak_id', 'emergency_alert_id', 'event_type', 'event_date', 'days_achieved', 'avg_craving_period', 'avg_emotion_period', 'created_at']);
|
|
53
53
|
exports.LogAbsenceScalarFieldEnumSchema = zod_1.z.enum(['id', 'user_id', 'streak_id', 'last_log_date', 'detected_at', 'absence_hours', 'event_generated', 'streak_event_id']);
|
|
@@ -56,7 +56,9 @@ exports.EmergencyAlertScalarFieldEnumSchema = zod_1.z.enum(['id', 'user_id', 'us
|
|
|
56
56
|
exports.StreakScalarFieldEnumSchema = zod_1.z.enum(['id', 'user_id', 'user_addiction_id', 'status', 'started_at', 'day_counter', 'last_log_date', 'updated_at']);
|
|
57
57
|
exports.SortOrderSchema = zod_1.z.enum(['asc', 'desc']);
|
|
58
58
|
exports.QueryModeSchema = zod_1.z.enum(['default', 'insensitive']);
|
|
59
|
+
exports.NullsOrderSchema = zod_1.z.enum(['first', 'last']);
|
|
59
60
|
exports.UserRoleSchema = zod_1.z.enum(['ADICTO', 'PADRINO', 'ADMIN']);
|
|
61
|
+
exports.SponsorshipStatusSchema = zod_1.z.enum(['PENDING', 'ACTIVE', 'INACTIVE']);
|
|
60
62
|
/////////////////////////////////////////
|
|
61
63
|
// MODELS
|
|
62
64
|
/////////////////////////////////////////
|
|
@@ -71,6 +73,7 @@ exports.UserSchema = zod_1.z.object({
|
|
|
71
73
|
password_hash: zod_1.z.string(),
|
|
72
74
|
created_at: zod_1.z.coerce.date(),
|
|
73
75
|
updated_at: zod_1.z.coerce.date(),
|
|
76
|
+
sponsor_code: zod_1.z.string().nullable(),
|
|
74
77
|
});
|
|
75
78
|
/////////////////////////////////////////
|
|
76
79
|
// CRAVING LEVEL SCHEMA
|
|
@@ -108,12 +111,12 @@ exports.UserAddictionSchema = zod_1.z.object({
|
|
|
108
111
|
// SPONSORSHIP SCHEMA
|
|
109
112
|
/////////////////////////////////////////
|
|
110
113
|
exports.SponsorshipSchema = zod_1.z.object({
|
|
114
|
+
status: exports.SponsorshipStatusSchema,
|
|
111
115
|
id: zod_1.z.uuid(),
|
|
112
116
|
sponsor_id: zod_1.z.string(),
|
|
113
117
|
addict_id: zod_1.z.string(),
|
|
114
118
|
started_at: zod_1.z.coerce.date(),
|
|
115
119
|
ended_at: zod_1.z.coerce.date(),
|
|
116
|
-
is_active: zod_1.z.boolean(),
|
|
117
120
|
termination_reason: zod_1.z.string(),
|
|
118
121
|
created_at: zod_1.z.coerce.date(),
|
|
119
122
|
});
|
|
@@ -240,6 +243,7 @@ exports.UserSelectSchema = zod_1.z.object({
|
|
|
240
243
|
role: zod_1.z.boolean().optional(),
|
|
241
244
|
created_at: zod_1.z.boolean().optional(),
|
|
242
245
|
updated_at: zod_1.z.boolean().optional(),
|
|
246
|
+
sponsor_code: zod_1.z.boolean().optional(),
|
|
243
247
|
addictions: zod_1.z.union([zod_1.z.boolean(), zod_1.z.lazy(() => exports.UserAddictionFindManyArgsSchema)]).optional(),
|
|
244
248
|
daily_logs: zod_1.z.union([zod_1.z.boolean(), zod_1.z.lazy(() => exports.DailyLogFindManyArgsSchema)]).optional(),
|
|
245
249
|
sponsorships_as_sponsor: zod_1.z.union([zod_1.z.boolean(), zod_1.z.lazy(() => exports.SponsorshipFindManyArgsSchema)]).optional(),
|
|
@@ -348,7 +352,7 @@ exports.SponsorshipSelectSchema = zod_1.z.object({
|
|
|
348
352
|
addict_id: zod_1.z.boolean().optional(),
|
|
349
353
|
started_at: zod_1.z.boolean().optional(),
|
|
350
354
|
ended_at: zod_1.z.boolean().optional(),
|
|
351
|
-
|
|
355
|
+
status: zod_1.z.boolean().optional(),
|
|
352
356
|
termination_reason: zod_1.z.boolean().optional(),
|
|
353
357
|
created_at: zod_1.z.boolean().optional(),
|
|
354
358
|
sponsor: zod_1.z.union([zod_1.z.boolean(), zod_1.z.lazy(() => exports.UserArgsSchema)]).optional(),
|
|
@@ -522,6 +526,7 @@ exports.UserWhereInputSchema = zod_1.z.strictObject({
|
|
|
522
526
|
role: zod_1.z.union([zod_1.z.lazy(() => exports.EnumUserRoleFilterSchema), zod_1.z.lazy(() => exports.UserRoleSchema)]).optional(),
|
|
523
527
|
created_at: zod_1.z.union([zod_1.z.lazy(() => exports.DateTimeFilterSchema), zod_1.z.coerce.date()]).optional(),
|
|
524
528
|
updated_at: zod_1.z.union([zod_1.z.lazy(() => exports.DateTimeFilterSchema), zod_1.z.coerce.date()]).optional(),
|
|
529
|
+
sponsor_code: zod_1.z.union([zod_1.z.lazy(() => exports.StringNullableFilterSchema), zod_1.z.string()]).optional().nullable(),
|
|
525
530
|
addictions: zod_1.z.lazy(() => exports.UserAddictionListRelationFilterSchema).optional(),
|
|
526
531
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogListRelationFilterSchema).optional(),
|
|
527
532
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipListRelationFilterSchema).optional(),
|
|
@@ -539,6 +544,7 @@ exports.UserOrderByWithRelationInputSchema = zod_1.z.strictObject({
|
|
|
539
544
|
role: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
540
545
|
created_at: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
541
546
|
updated_at: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
547
|
+
sponsor_code: zod_1.z.union([zod_1.z.lazy(() => exports.SortOrderSchema), zod_1.z.lazy(() => exports.SortOrderInputSchema)]).optional(),
|
|
542
548
|
addictions: zod_1.z.lazy(() => exports.UserAddictionOrderByRelationAggregateInputSchema).optional(),
|
|
543
549
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogOrderByRelationAggregateInputSchema).optional(),
|
|
544
550
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipOrderByRelationAggregateInputSchema).optional(),
|
|
@@ -552,17 +558,34 @@ exports.UserWhereUniqueInputSchema = zod_1.z.union([
|
|
|
552
558
|
zod_1.z.object({
|
|
553
559
|
id: zod_1.z.uuid(),
|
|
554
560
|
email: zod_1.z.string(),
|
|
561
|
+
sponsor_code: zod_1.z.string(),
|
|
562
|
+
}),
|
|
563
|
+
zod_1.z.object({
|
|
564
|
+
id: zod_1.z.uuid(),
|
|
565
|
+
email: zod_1.z.string(),
|
|
566
|
+
}),
|
|
567
|
+
zod_1.z.object({
|
|
568
|
+
id: zod_1.z.uuid(),
|
|
569
|
+
sponsor_code: zod_1.z.string(),
|
|
555
570
|
}),
|
|
556
571
|
zod_1.z.object({
|
|
557
572
|
id: zod_1.z.uuid(),
|
|
558
573
|
}),
|
|
559
574
|
zod_1.z.object({
|
|
560
575
|
email: zod_1.z.string(),
|
|
576
|
+
sponsor_code: zod_1.z.string(),
|
|
577
|
+
}),
|
|
578
|
+
zod_1.z.object({
|
|
579
|
+
email: zod_1.z.string(),
|
|
580
|
+
}),
|
|
581
|
+
zod_1.z.object({
|
|
582
|
+
sponsor_code: zod_1.z.string(),
|
|
561
583
|
}),
|
|
562
584
|
])
|
|
563
585
|
.and(zod_1.z.strictObject({
|
|
564
586
|
id: zod_1.z.uuid().optional(),
|
|
565
587
|
email: zod_1.z.string().optional(),
|
|
588
|
+
sponsor_code: zod_1.z.string().optional(),
|
|
566
589
|
AND: zod_1.z.union([zod_1.z.lazy(() => exports.UserWhereInputSchema), zod_1.z.lazy(() => exports.UserWhereInputSchema).array()]).optional(),
|
|
567
590
|
OR: zod_1.z.lazy(() => exports.UserWhereInputSchema).array().optional(),
|
|
568
591
|
NOT: zod_1.z.union([zod_1.z.lazy(() => exports.UserWhereInputSchema), zod_1.z.lazy(() => exports.UserWhereInputSchema).array()]).optional(),
|
|
@@ -588,6 +611,7 @@ exports.UserOrderByWithAggregationInputSchema = zod_1.z.strictObject({
|
|
|
588
611
|
role: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
589
612
|
created_at: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
590
613
|
updated_at: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
614
|
+
sponsor_code: zod_1.z.union([zod_1.z.lazy(() => exports.SortOrderSchema), zod_1.z.lazy(() => exports.SortOrderInputSchema)]).optional(),
|
|
591
615
|
_count: zod_1.z.lazy(() => exports.UserCountOrderByAggregateInputSchema).optional(),
|
|
592
616
|
_max: zod_1.z.lazy(() => exports.UserMaxOrderByAggregateInputSchema).optional(),
|
|
593
617
|
_min: zod_1.z.lazy(() => exports.UserMinOrderByAggregateInputSchema).optional(),
|
|
@@ -603,6 +627,7 @@ exports.UserScalarWhereWithAggregatesInputSchema = zod_1.z.strictObject({
|
|
|
603
627
|
role: zod_1.z.union([zod_1.z.lazy(() => exports.EnumUserRoleWithAggregatesFilterSchema), zod_1.z.lazy(() => exports.UserRoleSchema)]).optional(),
|
|
604
628
|
created_at: zod_1.z.union([zod_1.z.lazy(() => exports.DateTimeWithAggregatesFilterSchema), zod_1.z.coerce.date()]).optional(),
|
|
605
629
|
updated_at: zod_1.z.union([zod_1.z.lazy(() => exports.DateTimeWithAggregatesFilterSchema), zod_1.z.coerce.date()]).optional(),
|
|
630
|
+
sponsor_code: zod_1.z.union([zod_1.z.lazy(() => exports.StringNullableWithAggregatesFilterSchema), zod_1.z.string()]).optional().nullable(),
|
|
606
631
|
});
|
|
607
632
|
exports.CravingLevelWhereInputSchema = zod_1.z.strictObject({
|
|
608
633
|
AND: zod_1.z.union([zod_1.z.lazy(() => exports.CravingLevelWhereInputSchema), zod_1.z.lazy(() => exports.CravingLevelWhereInputSchema).array()]).optional(),
|
|
@@ -819,7 +844,7 @@ exports.SponsorshipWhereInputSchema = zod_1.z.strictObject({
|
|
|
819
844
|
addict_id: zod_1.z.union([zod_1.z.lazy(() => exports.UuidFilterSchema), zod_1.z.string()]).optional(),
|
|
820
845
|
started_at: zod_1.z.union([zod_1.z.lazy(() => exports.DateTimeFilterSchema), zod_1.z.coerce.date()]).optional(),
|
|
821
846
|
ended_at: zod_1.z.union([zod_1.z.lazy(() => exports.DateTimeFilterSchema), zod_1.z.coerce.date()]).optional(),
|
|
822
|
-
|
|
847
|
+
status: zod_1.z.union([zod_1.z.lazy(() => exports.EnumSponsorshipStatusFilterSchema), zod_1.z.lazy(() => exports.SponsorshipStatusSchema)]).optional(),
|
|
823
848
|
termination_reason: zod_1.z.union([zod_1.z.lazy(() => exports.StringFilterSchema), zod_1.z.string()]).optional(),
|
|
824
849
|
created_at: zod_1.z.union([zod_1.z.lazy(() => exports.DateTimeFilterSchema), zod_1.z.coerce.date()]).optional(),
|
|
825
850
|
sponsor: zod_1.z.union([zod_1.z.lazy(() => exports.UserScalarRelationFilterSchema), zod_1.z.lazy(() => exports.UserWhereInputSchema)]).optional(),
|
|
@@ -831,7 +856,7 @@ exports.SponsorshipOrderByWithRelationInputSchema = zod_1.z.strictObject({
|
|
|
831
856
|
addict_id: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
832
857
|
started_at: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
833
858
|
ended_at: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
834
|
-
|
|
859
|
+
status: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
835
860
|
termination_reason: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
836
861
|
created_at: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
837
862
|
sponsor: zod_1.z.lazy(() => exports.UserOrderByWithRelationInputSchema).optional(),
|
|
@@ -874,7 +899,7 @@ exports.SponsorshipWhereUniqueInputSchema = zod_1.z.union([
|
|
|
874
899
|
NOT: zod_1.z.union([zod_1.z.lazy(() => exports.SponsorshipWhereInputSchema), zod_1.z.lazy(() => exports.SponsorshipWhereInputSchema).array()]).optional(),
|
|
875
900
|
started_at: zod_1.z.union([zod_1.z.lazy(() => exports.DateTimeFilterSchema), zod_1.z.coerce.date()]).optional(),
|
|
876
901
|
ended_at: zod_1.z.union([zod_1.z.lazy(() => exports.DateTimeFilterSchema), zod_1.z.coerce.date()]).optional(),
|
|
877
|
-
|
|
902
|
+
status: zod_1.z.union([zod_1.z.lazy(() => exports.EnumSponsorshipStatusFilterSchema), zod_1.z.lazy(() => exports.SponsorshipStatusSchema)]).optional(),
|
|
878
903
|
termination_reason: zod_1.z.union([zod_1.z.lazy(() => exports.StringFilterSchema), zod_1.z.string()]).optional(),
|
|
879
904
|
created_at: zod_1.z.union([zod_1.z.lazy(() => exports.DateTimeFilterSchema), zod_1.z.coerce.date()]).optional(),
|
|
880
905
|
sponsor: zod_1.z.union([zod_1.z.lazy(() => exports.UserScalarRelationFilterSchema), zod_1.z.lazy(() => exports.UserWhereInputSchema)]).optional(),
|
|
@@ -886,7 +911,7 @@ exports.SponsorshipOrderByWithAggregationInputSchema = zod_1.z.strictObject({
|
|
|
886
911
|
addict_id: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
887
912
|
started_at: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
888
913
|
ended_at: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
889
|
-
|
|
914
|
+
status: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
890
915
|
termination_reason: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
891
916
|
created_at: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
892
917
|
_count: zod_1.z.lazy(() => exports.SponsorshipCountOrderByAggregateInputSchema).optional(),
|
|
@@ -902,7 +927,7 @@ exports.SponsorshipScalarWhereWithAggregatesInputSchema = zod_1.z.strictObject({
|
|
|
902
927
|
addict_id: zod_1.z.union([zod_1.z.lazy(() => exports.UuidWithAggregatesFilterSchema), zod_1.z.string()]).optional(),
|
|
903
928
|
started_at: zod_1.z.union([zod_1.z.lazy(() => exports.DateTimeWithAggregatesFilterSchema), zod_1.z.coerce.date()]).optional(),
|
|
904
929
|
ended_at: zod_1.z.union([zod_1.z.lazy(() => exports.DateTimeWithAggregatesFilterSchema), zod_1.z.coerce.date()]).optional(),
|
|
905
|
-
|
|
930
|
+
status: zod_1.z.union([zod_1.z.lazy(() => exports.EnumSponsorshipStatusWithAggregatesFilterSchema), zod_1.z.lazy(() => exports.SponsorshipStatusSchema)]).optional(),
|
|
906
931
|
termination_reason: zod_1.z.union([zod_1.z.lazy(() => exports.StringWithAggregatesFilterSchema), zod_1.z.string()]).optional(),
|
|
907
932
|
created_at: zod_1.z.union([zod_1.z.lazy(() => exports.DateTimeWithAggregatesFilterSchema), zod_1.z.coerce.date()]).optional(),
|
|
908
933
|
});
|
|
@@ -1406,6 +1431,7 @@ exports.UserCreateInputSchema = zod_1.z.strictObject({
|
|
|
1406
1431
|
role: zod_1.z.lazy(() => exports.UserRoleSchema).optional(),
|
|
1407
1432
|
created_at: zod_1.z.coerce.date().optional(),
|
|
1408
1433
|
updated_at: zod_1.z.coerce.date().optional(),
|
|
1434
|
+
sponsor_code: zod_1.z.string().optional().nullable(),
|
|
1409
1435
|
addictions: zod_1.z.lazy(() => exports.UserAddictionCreateNestedManyWithoutUserInputSchema).optional(),
|
|
1410
1436
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogCreateNestedManyWithoutUserInputSchema).optional(),
|
|
1411
1437
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipCreateNestedManyWithoutSponsorInputSchema).optional(),
|
|
@@ -1423,6 +1449,7 @@ exports.UserUncheckedCreateInputSchema = zod_1.z.strictObject({
|
|
|
1423
1449
|
role: zod_1.z.lazy(() => exports.UserRoleSchema).optional(),
|
|
1424
1450
|
created_at: zod_1.z.coerce.date().optional(),
|
|
1425
1451
|
updated_at: zod_1.z.coerce.date().optional(),
|
|
1452
|
+
sponsor_code: zod_1.z.string().optional().nullable(),
|
|
1426
1453
|
addictions: zod_1.z.lazy(() => exports.UserAddictionUncheckedCreateNestedManyWithoutUserInputSchema).optional(),
|
|
1427
1454
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogUncheckedCreateNestedManyWithoutUserInputSchema).optional(),
|
|
1428
1455
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipUncheckedCreateNestedManyWithoutSponsorInputSchema).optional(),
|
|
@@ -1440,6 +1467,7 @@ exports.UserUpdateInputSchema = zod_1.z.strictObject({
|
|
|
1440
1467
|
role: zod_1.z.union([zod_1.z.lazy(() => exports.UserRoleSchema), zod_1.z.lazy(() => exports.EnumUserRoleFieldUpdateOperationsInputSchema)]).optional(),
|
|
1441
1468
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
1442
1469
|
updated_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
1470
|
+
sponsor_code: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.NullableStringFieldUpdateOperationsInputSchema)]).optional().nullable(),
|
|
1443
1471
|
addictions: zod_1.z.lazy(() => exports.UserAddictionUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
1444
1472
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
1445
1473
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipUpdateManyWithoutSponsorNestedInputSchema).optional(),
|
|
@@ -1457,6 +1485,7 @@ exports.UserUncheckedUpdateInputSchema = zod_1.z.strictObject({
|
|
|
1457
1485
|
role: zod_1.z.union([zod_1.z.lazy(() => exports.UserRoleSchema), zod_1.z.lazy(() => exports.EnumUserRoleFieldUpdateOperationsInputSchema)]).optional(),
|
|
1458
1486
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
1459
1487
|
updated_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
1488
|
+
sponsor_code: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.NullableStringFieldUpdateOperationsInputSchema)]).optional().nullable(),
|
|
1460
1489
|
addictions: zod_1.z.lazy(() => exports.UserAddictionUncheckedUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
1461
1490
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogUncheckedUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
1462
1491
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipUncheckedUpdateManyWithoutSponsorNestedInputSchema).optional(),
|
|
@@ -1474,6 +1503,7 @@ exports.UserCreateManyInputSchema = zod_1.z.strictObject({
|
|
|
1474
1503
|
role: zod_1.z.lazy(() => exports.UserRoleSchema).optional(),
|
|
1475
1504
|
created_at: zod_1.z.coerce.date().optional(),
|
|
1476
1505
|
updated_at: zod_1.z.coerce.date().optional(),
|
|
1506
|
+
sponsor_code: zod_1.z.string().optional().nullable(),
|
|
1477
1507
|
});
|
|
1478
1508
|
exports.UserUpdateManyMutationInputSchema = zod_1.z.strictObject({
|
|
1479
1509
|
id: zod_1.z.union([zod_1.z.uuid(), zod_1.z.lazy(() => exports.StringFieldUpdateOperationsInputSchema)]).optional(),
|
|
@@ -1483,6 +1513,7 @@ exports.UserUpdateManyMutationInputSchema = zod_1.z.strictObject({
|
|
|
1483
1513
|
role: zod_1.z.union([zod_1.z.lazy(() => exports.UserRoleSchema), zod_1.z.lazy(() => exports.EnumUserRoleFieldUpdateOperationsInputSchema)]).optional(),
|
|
1484
1514
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
1485
1515
|
updated_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
1516
|
+
sponsor_code: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.NullableStringFieldUpdateOperationsInputSchema)]).optional().nullable(),
|
|
1486
1517
|
});
|
|
1487
1518
|
exports.UserUncheckedUpdateManyInputSchema = zod_1.z.strictObject({
|
|
1488
1519
|
id: zod_1.z.union([zod_1.z.uuid(), zod_1.z.lazy(() => exports.StringFieldUpdateOperationsInputSchema)]).optional(),
|
|
@@ -1492,6 +1523,7 @@ exports.UserUncheckedUpdateManyInputSchema = zod_1.z.strictObject({
|
|
|
1492
1523
|
role: zod_1.z.union([zod_1.z.lazy(() => exports.UserRoleSchema), zod_1.z.lazy(() => exports.EnumUserRoleFieldUpdateOperationsInputSchema)]).optional(),
|
|
1493
1524
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
1494
1525
|
updated_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
1526
|
+
sponsor_code: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.NullableStringFieldUpdateOperationsInputSchema)]).optional().nullable(),
|
|
1495
1527
|
});
|
|
1496
1528
|
exports.CravingLevelCreateInputSchema = zod_1.z.strictObject({
|
|
1497
1529
|
id: zod_1.z.uuid().optional(),
|
|
@@ -1673,7 +1705,7 @@ exports.SponsorshipCreateInputSchema = zod_1.z.strictObject({
|
|
|
1673
1705
|
id: zod_1.z.uuid().optional(),
|
|
1674
1706
|
started_at: zod_1.z.coerce.date().optional(),
|
|
1675
1707
|
ended_at: zod_1.z.coerce.date().optional(),
|
|
1676
|
-
|
|
1708
|
+
status: zod_1.z.lazy(() => exports.SponsorshipStatusSchema).optional(),
|
|
1677
1709
|
termination_reason: zod_1.z.string().optional(),
|
|
1678
1710
|
created_at: zod_1.z.coerce.date().optional(),
|
|
1679
1711
|
sponsor: zod_1.z.lazy(() => exports.UserCreateNestedOneWithoutSponsorships_as_sponsorInputSchema).optional(),
|
|
@@ -1685,7 +1717,7 @@ exports.SponsorshipUncheckedCreateInputSchema = zod_1.z.strictObject({
|
|
|
1685
1717
|
addict_id: zod_1.z.string().optional(),
|
|
1686
1718
|
started_at: zod_1.z.coerce.date().optional(),
|
|
1687
1719
|
ended_at: zod_1.z.coerce.date().optional(),
|
|
1688
|
-
|
|
1720
|
+
status: zod_1.z.lazy(() => exports.SponsorshipStatusSchema).optional(),
|
|
1689
1721
|
termination_reason: zod_1.z.string().optional(),
|
|
1690
1722
|
created_at: zod_1.z.coerce.date().optional(),
|
|
1691
1723
|
});
|
|
@@ -1693,7 +1725,7 @@ exports.SponsorshipUpdateInputSchema = zod_1.z.strictObject({
|
|
|
1693
1725
|
id: zod_1.z.union([zod_1.z.uuid(), zod_1.z.lazy(() => exports.StringFieldUpdateOperationsInputSchema)]).optional(),
|
|
1694
1726
|
started_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
1695
1727
|
ended_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
1696
|
-
|
|
1728
|
+
status: zod_1.z.union([zod_1.z.lazy(() => exports.SponsorshipStatusSchema), zod_1.z.lazy(() => exports.EnumSponsorshipStatusFieldUpdateOperationsInputSchema)]).optional(),
|
|
1697
1729
|
termination_reason: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.StringFieldUpdateOperationsInputSchema)]).optional(),
|
|
1698
1730
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
1699
1731
|
sponsor: zod_1.z.lazy(() => exports.UserUpdateOneRequiredWithoutSponsorships_as_sponsorNestedInputSchema).optional(),
|
|
@@ -1705,7 +1737,7 @@ exports.SponsorshipUncheckedUpdateInputSchema = zod_1.z.strictObject({
|
|
|
1705
1737
|
addict_id: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.StringFieldUpdateOperationsInputSchema)]).optional(),
|
|
1706
1738
|
started_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
1707
1739
|
ended_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
1708
|
-
|
|
1740
|
+
status: zod_1.z.union([zod_1.z.lazy(() => exports.SponsorshipStatusSchema), zod_1.z.lazy(() => exports.EnumSponsorshipStatusFieldUpdateOperationsInputSchema)]).optional(),
|
|
1709
1741
|
termination_reason: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.StringFieldUpdateOperationsInputSchema)]).optional(),
|
|
1710
1742
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
1711
1743
|
});
|
|
@@ -1715,7 +1747,7 @@ exports.SponsorshipCreateManyInputSchema = zod_1.z.strictObject({
|
|
|
1715
1747
|
addict_id: zod_1.z.string().optional(),
|
|
1716
1748
|
started_at: zod_1.z.coerce.date().optional(),
|
|
1717
1749
|
ended_at: zod_1.z.coerce.date().optional(),
|
|
1718
|
-
|
|
1750
|
+
status: zod_1.z.lazy(() => exports.SponsorshipStatusSchema).optional(),
|
|
1719
1751
|
termination_reason: zod_1.z.string().optional(),
|
|
1720
1752
|
created_at: zod_1.z.coerce.date().optional(),
|
|
1721
1753
|
});
|
|
@@ -1723,7 +1755,7 @@ exports.SponsorshipUpdateManyMutationInputSchema = zod_1.z.strictObject({
|
|
|
1723
1755
|
id: zod_1.z.union([zod_1.z.uuid(), zod_1.z.lazy(() => exports.StringFieldUpdateOperationsInputSchema)]).optional(),
|
|
1724
1756
|
started_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
1725
1757
|
ended_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
1726
|
-
|
|
1758
|
+
status: zod_1.z.union([zod_1.z.lazy(() => exports.SponsorshipStatusSchema), zod_1.z.lazy(() => exports.EnumSponsorshipStatusFieldUpdateOperationsInputSchema)]).optional(),
|
|
1727
1759
|
termination_reason: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.StringFieldUpdateOperationsInputSchema)]).optional(),
|
|
1728
1760
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
1729
1761
|
});
|
|
@@ -1733,7 +1765,7 @@ exports.SponsorshipUncheckedUpdateManyInputSchema = zod_1.z.strictObject({
|
|
|
1733
1765
|
addict_id: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.StringFieldUpdateOperationsInputSchema)]).optional(),
|
|
1734
1766
|
started_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
1735
1767
|
ended_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
1736
|
-
|
|
1768
|
+
status: zod_1.z.union([zod_1.z.lazy(() => exports.SponsorshipStatusSchema), zod_1.z.lazy(() => exports.EnumSponsorshipStatusFieldUpdateOperationsInputSchema)]).optional(),
|
|
1737
1769
|
termination_reason: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.StringFieldUpdateOperationsInputSchema)]).optional(),
|
|
1738
1770
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
1739
1771
|
});
|
|
@@ -2223,6 +2255,20 @@ exports.DateTimeFilterSchema = zod_1.z.strictObject({
|
|
|
2223
2255
|
gte: zod_1.z.coerce.date().optional(),
|
|
2224
2256
|
not: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.NestedDateTimeFilterSchema)]).optional(),
|
|
2225
2257
|
});
|
|
2258
|
+
exports.StringNullableFilterSchema = zod_1.z.strictObject({
|
|
2259
|
+
equals: zod_1.z.string().optional().nullable(),
|
|
2260
|
+
in: zod_1.z.string().array().optional().nullable(),
|
|
2261
|
+
notIn: zod_1.z.string().array().optional().nullable(),
|
|
2262
|
+
lt: zod_1.z.string().optional(),
|
|
2263
|
+
lte: zod_1.z.string().optional(),
|
|
2264
|
+
gt: zod_1.z.string().optional(),
|
|
2265
|
+
gte: zod_1.z.string().optional(),
|
|
2266
|
+
contains: zod_1.z.string().optional(),
|
|
2267
|
+
startsWith: zod_1.z.string().optional(),
|
|
2268
|
+
endsWith: zod_1.z.string().optional(),
|
|
2269
|
+
mode: zod_1.z.lazy(() => exports.QueryModeSchema).optional(),
|
|
2270
|
+
not: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.NestedStringNullableFilterSchema)]).optional().nullable(),
|
|
2271
|
+
});
|
|
2226
2272
|
exports.UserAddictionListRelationFilterSchema = zod_1.z.strictObject({
|
|
2227
2273
|
every: zod_1.z.lazy(() => exports.UserAddictionWhereInputSchema).optional(),
|
|
2228
2274
|
some: zod_1.z.lazy(() => exports.UserAddictionWhereInputSchema).optional(),
|
|
@@ -2258,6 +2304,10 @@ exports.LogAbsenceListRelationFilterSchema = zod_1.z.strictObject({
|
|
|
2258
2304
|
some: zod_1.z.lazy(() => exports.LogAbsenceWhereInputSchema).optional(),
|
|
2259
2305
|
none: zod_1.z.lazy(() => exports.LogAbsenceWhereInputSchema).optional(),
|
|
2260
2306
|
});
|
|
2307
|
+
exports.SortOrderInputSchema = zod_1.z.strictObject({
|
|
2308
|
+
sort: zod_1.z.lazy(() => exports.SortOrderSchema),
|
|
2309
|
+
nulls: zod_1.z.lazy(() => exports.NullsOrderSchema).optional(),
|
|
2310
|
+
});
|
|
2261
2311
|
exports.UserAddictionOrderByRelationAggregateInputSchema = zod_1.z.strictObject({
|
|
2262
2312
|
_count: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2263
2313
|
});
|
|
@@ -2287,6 +2337,7 @@ exports.UserCountOrderByAggregateInputSchema = zod_1.z.strictObject({
|
|
|
2287
2337
|
role: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2288
2338
|
created_at: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2289
2339
|
updated_at: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2340
|
+
sponsor_code: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2290
2341
|
});
|
|
2291
2342
|
exports.UserMaxOrderByAggregateInputSchema = zod_1.z.strictObject({
|
|
2292
2343
|
id: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
@@ -2296,6 +2347,7 @@ exports.UserMaxOrderByAggregateInputSchema = zod_1.z.strictObject({
|
|
|
2296
2347
|
role: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2297
2348
|
created_at: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2298
2349
|
updated_at: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2350
|
+
sponsor_code: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2299
2351
|
});
|
|
2300
2352
|
exports.UserMinOrderByAggregateInputSchema = zod_1.z.strictObject({
|
|
2301
2353
|
id: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
@@ -2305,6 +2357,7 @@ exports.UserMinOrderByAggregateInputSchema = zod_1.z.strictObject({
|
|
|
2305
2357
|
role: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2306
2358
|
created_at: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2307
2359
|
updated_at: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2360
|
+
sponsor_code: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2308
2361
|
});
|
|
2309
2362
|
exports.UuidWithAggregatesFilterSchema = zod_1.z.strictObject({
|
|
2310
2363
|
equals: zod_1.z.string().optional(),
|
|
@@ -2359,6 +2412,23 @@ exports.DateTimeWithAggregatesFilterSchema = zod_1.z.strictObject({
|
|
|
2359
2412
|
_min: zod_1.z.lazy(() => exports.NestedDateTimeFilterSchema).optional(),
|
|
2360
2413
|
_max: zod_1.z.lazy(() => exports.NestedDateTimeFilterSchema).optional(),
|
|
2361
2414
|
});
|
|
2415
|
+
exports.StringNullableWithAggregatesFilterSchema = zod_1.z.strictObject({
|
|
2416
|
+
equals: zod_1.z.string().optional().nullable(),
|
|
2417
|
+
in: zod_1.z.string().array().optional().nullable(),
|
|
2418
|
+
notIn: zod_1.z.string().array().optional().nullable(),
|
|
2419
|
+
lt: zod_1.z.string().optional(),
|
|
2420
|
+
lte: zod_1.z.string().optional(),
|
|
2421
|
+
gt: zod_1.z.string().optional(),
|
|
2422
|
+
gte: zod_1.z.string().optional(),
|
|
2423
|
+
contains: zod_1.z.string().optional(),
|
|
2424
|
+
startsWith: zod_1.z.string().optional(),
|
|
2425
|
+
endsWith: zod_1.z.string().optional(),
|
|
2426
|
+
mode: zod_1.z.lazy(() => exports.QueryModeSchema).optional(),
|
|
2427
|
+
not: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.NestedStringNullableWithAggregatesFilterSchema)]).optional().nullable(),
|
|
2428
|
+
_count: zod_1.z.lazy(() => exports.NestedIntNullableFilterSchema).optional(),
|
|
2429
|
+
_min: zod_1.z.lazy(() => exports.NestedStringNullableFilterSchema).optional(),
|
|
2430
|
+
_max: zod_1.z.lazy(() => exports.NestedStringNullableFilterSchema).optional(),
|
|
2431
|
+
});
|
|
2362
2432
|
exports.IntFilterSchema = zod_1.z.strictObject({
|
|
2363
2433
|
equals: zod_1.z.number().optional(),
|
|
2364
2434
|
in: zod_1.z.number().array().optional(),
|
|
@@ -2480,13 +2550,19 @@ exports.BoolWithAggregatesFilterSchema = zod_1.z.strictObject({
|
|
|
2480
2550
|
_min: zod_1.z.lazy(() => exports.NestedBoolFilterSchema).optional(),
|
|
2481
2551
|
_max: zod_1.z.lazy(() => exports.NestedBoolFilterSchema).optional(),
|
|
2482
2552
|
});
|
|
2553
|
+
exports.EnumSponsorshipStatusFilterSchema = zod_1.z.strictObject({
|
|
2554
|
+
equals: zod_1.z.lazy(() => exports.SponsorshipStatusSchema).optional(),
|
|
2555
|
+
in: zod_1.z.lazy(() => exports.SponsorshipStatusSchema).array().optional(),
|
|
2556
|
+
notIn: zod_1.z.lazy(() => exports.SponsorshipStatusSchema).array().optional(),
|
|
2557
|
+
not: zod_1.z.union([zod_1.z.lazy(() => exports.SponsorshipStatusSchema), zod_1.z.lazy(() => exports.NestedEnumSponsorshipStatusFilterSchema)]).optional(),
|
|
2558
|
+
});
|
|
2483
2559
|
exports.SponsorshipCountOrderByAggregateInputSchema = zod_1.z.strictObject({
|
|
2484
2560
|
id: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2485
2561
|
sponsor_id: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2486
2562
|
addict_id: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2487
2563
|
started_at: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2488
2564
|
ended_at: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2489
|
-
|
|
2565
|
+
status: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2490
2566
|
termination_reason: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2491
2567
|
created_at: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2492
2568
|
});
|
|
@@ -2496,7 +2572,7 @@ exports.SponsorshipMaxOrderByAggregateInputSchema = zod_1.z.strictObject({
|
|
|
2496
2572
|
addict_id: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2497
2573
|
started_at: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2498
2574
|
ended_at: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2499
|
-
|
|
2575
|
+
status: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2500
2576
|
termination_reason: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2501
2577
|
created_at: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2502
2578
|
});
|
|
@@ -2506,10 +2582,19 @@ exports.SponsorshipMinOrderByAggregateInputSchema = zod_1.z.strictObject({
|
|
|
2506
2582
|
addict_id: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2507
2583
|
started_at: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2508
2584
|
ended_at: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2509
|
-
|
|
2585
|
+
status: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2510
2586
|
termination_reason: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2511
2587
|
created_at: zod_1.z.lazy(() => exports.SortOrderSchema).optional(),
|
|
2512
2588
|
});
|
|
2589
|
+
exports.EnumSponsorshipStatusWithAggregatesFilterSchema = zod_1.z.strictObject({
|
|
2590
|
+
equals: zod_1.z.lazy(() => exports.SponsorshipStatusSchema).optional(),
|
|
2591
|
+
in: zod_1.z.lazy(() => exports.SponsorshipStatusSchema).array().optional(),
|
|
2592
|
+
notIn: zod_1.z.lazy(() => exports.SponsorshipStatusSchema).array().optional(),
|
|
2593
|
+
not: zod_1.z.union([zod_1.z.lazy(() => exports.SponsorshipStatusSchema), zod_1.z.lazy(() => exports.NestedEnumSponsorshipStatusWithAggregatesFilterSchema)]).optional(),
|
|
2594
|
+
_count: zod_1.z.lazy(() => exports.NestedIntFilterSchema).optional(),
|
|
2595
|
+
_min: zod_1.z.lazy(() => exports.NestedEnumSponsorshipStatusFilterSchema).optional(),
|
|
2596
|
+
_max: zod_1.z.lazy(() => exports.NestedEnumSponsorshipStatusFilterSchema).optional(),
|
|
2597
|
+
});
|
|
2513
2598
|
exports.CravingLevelScalarRelationFilterSchema = zod_1.z.strictObject({
|
|
2514
2599
|
is: zod_1.z.lazy(() => exports.CravingLevelWhereInputSchema).optional(),
|
|
2515
2600
|
isNot: zod_1.z.lazy(() => exports.CravingLevelWhereInputSchema).optional(),
|
|
@@ -2892,6 +2977,9 @@ exports.EnumUserRoleFieldUpdateOperationsInputSchema = zod_1.z.strictObject({
|
|
|
2892
2977
|
exports.DateTimeFieldUpdateOperationsInputSchema = zod_1.z.strictObject({
|
|
2893
2978
|
set: zod_1.z.coerce.date().optional(),
|
|
2894
2979
|
});
|
|
2980
|
+
exports.NullableStringFieldUpdateOperationsInputSchema = zod_1.z.strictObject({
|
|
2981
|
+
set: zod_1.z.string().optional().nullable(),
|
|
2982
|
+
});
|
|
2895
2983
|
exports.UserAddictionUpdateManyWithoutUserNestedInputSchema = zod_1.z.strictObject({
|
|
2896
2984
|
create: zod_1.z.union([zod_1.z.lazy(() => exports.UserAddictionCreateWithoutUserInputSchema), zod_1.z.lazy(() => exports.UserAddictionCreateWithoutUserInputSchema).array(), zod_1.z.lazy(() => exports.UserAddictionUncheckedCreateWithoutUserInputSchema), zod_1.z.lazy(() => exports.UserAddictionUncheckedCreateWithoutUserInputSchema).array()]).optional(),
|
|
2897
2985
|
connectOrCreate: zod_1.z.union([zod_1.z.lazy(() => exports.UserAddictionCreateOrConnectWithoutUserInputSchema), zod_1.z.lazy(() => exports.UserAddictionCreateOrConnectWithoutUserInputSchema).array()]).optional(),
|
|
@@ -3284,6 +3372,9 @@ exports.UserCreateNestedOneWithoutSponsorships_as_addictInputSchema = zod_1.z.st
|
|
|
3284
3372
|
connectOrCreate: zod_1.z.lazy(() => exports.UserCreateOrConnectWithoutSponsorships_as_addictInputSchema).optional(),
|
|
3285
3373
|
connect: zod_1.z.lazy(() => exports.UserWhereUniqueInputSchema).optional(),
|
|
3286
3374
|
});
|
|
3375
|
+
exports.EnumSponsorshipStatusFieldUpdateOperationsInputSchema = zod_1.z.strictObject({
|
|
3376
|
+
set: zod_1.z.lazy(() => exports.SponsorshipStatusSchema).optional(),
|
|
3377
|
+
});
|
|
3287
3378
|
exports.UserUpdateOneRequiredWithoutSponsorships_as_sponsorNestedInputSchema = zod_1.z.strictObject({
|
|
3288
3379
|
create: zod_1.z.union([zod_1.z.lazy(() => exports.UserCreateWithoutSponsorships_as_sponsorInputSchema), zod_1.z.lazy(() => exports.UserUncheckedCreateWithoutSponsorships_as_sponsorInputSchema)]).optional(),
|
|
3289
3380
|
connectOrCreate: zod_1.z.lazy(() => exports.UserCreateOrConnectWithoutSponsorships_as_sponsorInputSchema).optional(),
|
|
@@ -3552,6 +3643,19 @@ exports.NestedDateTimeFilterSchema = zod_1.z.strictObject({
|
|
|
3552
3643
|
gte: zod_1.z.coerce.date().optional(),
|
|
3553
3644
|
not: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.NestedDateTimeFilterSchema)]).optional(),
|
|
3554
3645
|
});
|
|
3646
|
+
exports.NestedStringNullableFilterSchema = zod_1.z.strictObject({
|
|
3647
|
+
equals: zod_1.z.string().optional().nullable(),
|
|
3648
|
+
in: zod_1.z.string().array().optional().nullable(),
|
|
3649
|
+
notIn: zod_1.z.string().array().optional().nullable(),
|
|
3650
|
+
lt: zod_1.z.string().optional(),
|
|
3651
|
+
lte: zod_1.z.string().optional(),
|
|
3652
|
+
gt: zod_1.z.string().optional(),
|
|
3653
|
+
gte: zod_1.z.string().optional(),
|
|
3654
|
+
contains: zod_1.z.string().optional(),
|
|
3655
|
+
startsWith: zod_1.z.string().optional(),
|
|
3656
|
+
endsWith: zod_1.z.string().optional(),
|
|
3657
|
+
not: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.NestedStringNullableFilterSchema)]).optional().nullable(),
|
|
3658
|
+
});
|
|
3555
3659
|
exports.NestedUuidWithAggregatesFilterSchema = zod_1.z.strictObject({
|
|
3556
3660
|
equals: zod_1.z.string().optional(),
|
|
3557
3661
|
in: zod_1.z.string().array().optional(),
|
|
@@ -3613,6 +3717,32 @@ exports.NestedDateTimeWithAggregatesFilterSchema = zod_1.z.strictObject({
|
|
|
3613
3717
|
_min: zod_1.z.lazy(() => exports.NestedDateTimeFilterSchema).optional(),
|
|
3614
3718
|
_max: zod_1.z.lazy(() => exports.NestedDateTimeFilterSchema).optional(),
|
|
3615
3719
|
});
|
|
3720
|
+
exports.NestedStringNullableWithAggregatesFilterSchema = zod_1.z.strictObject({
|
|
3721
|
+
equals: zod_1.z.string().optional().nullable(),
|
|
3722
|
+
in: zod_1.z.string().array().optional().nullable(),
|
|
3723
|
+
notIn: zod_1.z.string().array().optional().nullable(),
|
|
3724
|
+
lt: zod_1.z.string().optional(),
|
|
3725
|
+
lte: zod_1.z.string().optional(),
|
|
3726
|
+
gt: zod_1.z.string().optional(),
|
|
3727
|
+
gte: zod_1.z.string().optional(),
|
|
3728
|
+
contains: zod_1.z.string().optional(),
|
|
3729
|
+
startsWith: zod_1.z.string().optional(),
|
|
3730
|
+
endsWith: zod_1.z.string().optional(),
|
|
3731
|
+
not: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.NestedStringNullableWithAggregatesFilterSchema)]).optional().nullable(),
|
|
3732
|
+
_count: zod_1.z.lazy(() => exports.NestedIntNullableFilterSchema).optional(),
|
|
3733
|
+
_min: zod_1.z.lazy(() => exports.NestedStringNullableFilterSchema).optional(),
|
|
3734
|
+
_max: zod_1.z.lazy(() => exports.NestedStringNullableFilterSchema).optional(),
|
|
3735
|
+
});
|
|
3736
|
+
exports.NestedIntNullableFilterSchema = zod_1.z.strictObject({
|
|
3737
|
+
equals: zod_1.z.number().optional().nullable(),
|
|
3738
|
+
in: zod_1.z.number().array().optional().nullable(),
|
|
3739
|
+
notIn: zod_1.z.number().array().optional().nullable(),
|
|
3740
|
+
lt: zod_1.z.number().optional(),
|
|
3741
|
+
lte: zod_1.z.number().optional(),
|
|
3742
|
+
gt: zod_1.z.number().optional(),
|
|
3743
|
+
gte: zod_1.z.number().optional(),
|
|
3744
|
+
not: zod_1.z.union([zod_1.z.number(), zod_1.z.lazy(() => exports.NestedIntNullableFilterSchema)]).optional().nullable(),
|
|
3745
|
+
});
|
|
3616
3746
|
exports.NestedIntWithAggregatesFilterSchema = zod_1.z.strictObject({
|
|
3617
3747
|
equals: zod_1.z.number().optional(),
|
|
3618
3748
|
in: zod_1.z.number().array().optional(),
|
|
@@ -3649,6 +3779,21 @@ exports.NestedBoolWithAggregatesFilterSchema = zod_1.z.strictObject({
|
|
|
3649
3779
|
_min: zod_1.z.lazy(() => exports.NestedBoolFilterSchema).optional(),
|
|
3650
3780
|
_max: zod_1.z.lazy(() => exports.NestedBoolFilterSchema).optional(),
|
|
3651
3781
|
});
|
|
3782
|
+
exports.NestedEnumSponsorshipStatusFilterSchema = zod_1.z.strictObject({
|
|
3783
|
+
equals: zod_1.z.lazy(() => exports.SponsorshipStatusSchema).optional(),
|
|
3784
|
+
in: zod_1.z.lazy(() => exports.SponsorshipStatusSchema).array().optional(),
|
|
3785
|
+
notIn: zod_1.z.lazy(() => exports.SponsorshipStatusSchema).array().optional(),
|
|
3786
|
+
not: zod_1.z.union([zod_1.z.lazy(() => exports.SponsorshipStatusSchema), zod_1.z.lazy(() => exports.NestedEnumSponsorshipStatusFilterSchema)]).optional(),
|
|
3787
|
+
});
|
|
3788
|
+
exports.NestedEnumSponsorshipStatusWithAggregatesFilterSchema = zod_1.z.strictObject({
|
|
3789
|
+
equals: zod_1.z.lazy(() => exports.SponsorshipStatusSchema).optional(),
|
|
3790
|
+
in: zod_1.z.lazy(() => exports.SponsorshipStatusSchema).array().optional(),
|
|
3791
|
+
notIn: zod_1.z.lazy(() => exports.SponsorshipStatusSchema).array().optional(),
|
|
3792
|
+
not: zod_1.z.union([zod_1.z.lazy(() => exports.SponsorshipStatusSchema), zod_1.z.lazy(() => exports.NestedEnumSponsorshipStatusWithAggregatesFilterSchema)]).optional(),
|
|
3793
|
+
_count: zod_1.z.lazy(() => exports.NestedIntFilterSchema).optional(),
|
|
3794
|
+
_min: zod_1.z.lazy(() => exports.NestedEnumSponsorshipStatusFilterSchema).optional(),
|
|
3795
|
+
_max: zod_1.z.lazy(() => exports.NestedEnumSponsorshipStatusFilterSchema).optional(),
|
|
3796
|
+
});
|
|
3652
3797
|
exports.NestedDecimalFilterSchema = zod_1.z.strictObject({
|
|
3653
3798
|
equals: zod_1.z.union([zod_1.z.number(), zod_1.z.string(), zod_1.z.instanceof(client_1.Prisma.Decimal), exports.DecimalJsLikeSchema,]).refine((v) => (0, exports.isValidDecimalInput)(v), { message: 'Must be a Decimal' }).optional(),
|
|
3654
3799
|
in: zod_1.z.union([zod_1.z.number().array(), zod_1.z.string().array(), zod_1.z.instanceof(client_1.Prisma.Decimal).array(), exports.DecimalJsLikeSchema.array(),]).refine((v) => Array.isArray(v) && v.every((v) => (0, exports.isValidDecimalInput)(v)), { message: 'Must be a Decimal' }).optional(),
|
|
@@ -3734,7 +3879,7 @@ exports.SponsorshipCreateWithoutSponsorInputSchema = zod_1.z.strictObject({
|
|
|
3734
3879
|
id: zod_1.z.uuid().optional(),
|
|
3735
3880
|
started_at: zod_1.z.coerce.date().optional(),
|
|
3736
3881
|
ended_at: zod_1.z.coerce.date().optional(),
|
|
3737
|
-
|
|
3882
|
+
status: zod_1.z.lazy(() => exports.SponsorshipStatusSchema).optional(),
|
|
3738
3883
|
termination_reason: zod_1.z.string().optional(),
|
|
3739
3884
|
created_at: zod_1.z.coerce.date().optional(),
|
|
3740
3885
|
addict: zod_1.z.lazy(() => exports.UserCreateNestedOneWithoutSponsorships_as_addictInputSchema).optional(),
|
|
@@ -3744,7 +3889,7 @@ exports.SponsorshipUncheckedCreateWithoutSponsorInputSchema = zod_1.z.strictObje
|
|
|
3744
3889
|
addict_id: zod_1.z.string().optional(),
|
|
3745
3890
|
started_at: zod_1.z.coerce.date().optional(),
|
|
3746
3891
|
ended_at: zod_1.z.coerce.date().optional(),
|
|
3747
|
-
|
|
3892
|
+
status: zod_1.z.lazy(() => exports.SponsorshipStatusSchema).optional(),
|
|
3748
3893
|
termination_reason: zod_1.z.string().optional(),
|
|
3749
3894
|
created_at: zod_1.z.coerce.date().optional(),
|
|
3750
3895
|
});
|
|
@@ -3760,7 +3905,7 @@ exports.SponsorshipCreateWithoutAddictInputSchema = zod_1.z.strictObject({
|
|
|
3760
3905
|
id: zod_1.z.uuid().optional(),
|
|
3761
3906
|
started_at: zod_1.z.coerce.date().optional(),
|
|
3762
3907
|
ended_at: zod_1.z.coerce.date().optional(),
|
|
3763
|
-
|
|
3908
|
+
status: zod_1.z.lazy(() => exports.SponsorshipStatusSchema).optional(),
|
|
3764
3909
|
termination_reason: zod_1.z.string().optional(),
|
|
3765
3910
|
created_at: zod_1.z.coerce.date().optional(),
|
|
3766
3911
|
sponsor: zod_1.z.lazy(() => exports.UserCreateNestedOneWithoutSponsorships_as_sponsorInputSchema).optional(),
|
|
@@ -3770,7 +3915,7 @@ exports.SponsorshipUncheckedCreateWithoutAddictInputSchema = zod_1.z.strictObjec
|
|
|
3770
3915
|
sponsor_id: zod_1.z.string().optional(),
|
|
3771
3916
|
started_at: zod_1.z.coerce.date().optional(),
|
|
3772
3917
|
ended_at: zod_1.z.coerce.date().optional(),
|
|
3773
|
-
|
|
3918
|
+
status: zod_1.z.lazy(() => exports.SponsorshipStatusSchema).optional(),
|
|
3774
3919
|
termination_reason: zod_1.z.string().optional(),
|
|
3775
3920
|
created_at: zod_1.z.coerce.date().optional(),
|
|
3776
3921
|
});
|
|
@@ -3966,7 +4111,7 @@ exports.SponsorshipScalarWhereInputSchema = zod_1.z.strictObject({
|
|
|
3966
4111
|
addict_id: zod_1.z.union([zod_1.z.lazy(() => exports.UuidFilterSchema), zod_1.z.string()]).optional(),
|
|
3967
4112
|
started_at: zod_1.z.union([zod_1.z.lazy(() => exports.DateTimeFilterSchema), zod_1.z.coerce.date()]).optional(),
|
|
3968
4113
|
ended_at: zod_1.z.union([zod_1.z.lazy(() => exports.DateTimeFilterSchema), zod_1.z.coerce.date()]).optional(),
|
|
3969
|
-
|
|
4114
|
+
status: zod_1.z.union([zod_1.z.lazy(() => exports.EnumSponsorshipStatusFilterSchema), zod_1.z.lazy(() => exports.SponsorshipStatusSchema)]).optional(),
|
|
3970
4115
|
termination_reason: zod_1.z.union([zod_1.z.lazy(() => exports.StringFilterSchema), zod_1.z.string()]).optional(),
|
|
3971
4116
|
created_at: zod_1.z.union([zod_1.z.lazy(() => exports.DateTimeFilterSchema), zod_1.z.coerce.date()]).optional(),
|
|
3972
4117
|
});
|
|
@@ -4179,6 +4324,7 @@ exports.UserCreateWithoutAddictionsInputSchema = zod_1.z.strictObject({
|
|
|
4179
4324
|
role: zod_1.z.lazy(() => exports.UserRoleSchema).optional(),
|
|
4180
4325
|
created_at: zod_1.z.coerce.date().optional(),
|
|
4181
4326
|
updated_at: zod_1.z.coerce.date().optional(),
|
|
4327
|
+
sponsor_code: zod_1.z.string().optional().nullable(),
|
|
4182
4328
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogCreateNestedManyWithoutUserInputSchema).optional(),
|
|
4183
4329
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipCreateNestedManyWithoutSponsorInputSchema).optional(),
|
|
4184
4330
|
sponsorships_as_addict: zod_1.z.lazy(() => exports.SponsorshipCreateNestedManyWithoutAddictInputSchema).optional(),
|
|
@@ -4195,6 +4341,7 @@ exports.UserUncheckedCreateWithoutAddictionsInputSchema = zod_1.z.strictObject({
|
|
|
4195
4341
|
role: zod_1.z.lazy(() => exports.UserRoleSchema).optional(),
|
|
4196
4342
|
created_at: zod_1.z.coerce.date().optional(),
|
|
4197
4343
|
updated_at: zod_1.z.coerce.date().optional(),
|
|
4344
|
+
sponsor_code: zod_1.z.string().optional().nullable(),
|
|
4198
4345
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogUncheckedCreateNestedManyWithoutUserInputSchema).optional(),
|
|
4199
4346
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipUncheckedCreateNestedManyWithoutSponsorInputSchema).optional(),
|
|
4200
4347
|
sponsorships_as_addict: zod_1.z.lazy(() => exports.SponsorshipUncheckedCreateNestedManyWithoutAddictInputSchema).optional(),
|
|
@@ -4276,6 +4423,7 @@ exports.UserUpdateWithoutAddictionsInputSchema = zod_1.z.strictObject({
|
|
|
4276
4423
|
role: zod_1.z.union([zod_1.z.lazy(() => exports.UserRoleSchema), zod_1.z.lazy(() => exports.EnumUserRoleFieldUpdateOperationsInputSchema)]).optional(),
|
|
4277
4424
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
4278
4425
|
updated_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
4426
|
+
sponsor_code: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.NullableStringFieldUpdateOperationsInputSchema)]).optional().nullable(),
|
|
4279
4427
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
4280
4428
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipUpdateManyWithoutSponsorNestedInputSchema).optional(),
|
|
4281
4429
|
sponsorships_as_addict: zod_1.z.lazy(() => exports.SponsorshipUpdateManyWithoutAddictNestedInputSchema).optional(),
|
|
@@ -4292,6 +4440,7 @@ exports.UserUncheckedUpdateWithoutAddictionsInputSchema = zod_1.z.strictObject({
|
|
|
4292
4440
|
role: zod_1.z.union([zod_1.z.lazy(() => exports.UserRoleSchema), zod_1.z.lazy(() => exports.EnumUserRoleFieldUpdateOperationsInputSchema)]).optional(),
|
|
4293
4441
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
4294
4442
|
updated_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
4443
|
+
sponsor_code: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.NullableStringFieldUpdateOperationsInputSchema)]).optional().nullable(),
|
|
4295
4444
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogUncheckedUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
4296
4445
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipUncheckedUpdateManyWithoutSponsorNestedInputSchema).optional(),
|
|
4297
4446
|
sponsorships_as_addict: zod_1.z.lazy(() => exports.SponsorshipUncheckedUpdateManyWithoutAddictNestedInputSchema).optional(),
|
|
@@ -4334,6 +4483,7 @@ exports.UserCreateWithoutSponsorships_as_sponsorInputSchema = zod_1.z.strictObje
|
|
|
4334
4483
|
role: zod_1.z.lazy(() => exports.UserRoleSchema).optional(),
|
|
4335
4484
|
created_at: zod_1.z.coerce.date().optional(),
|
|
4336
4485
|
updated_at: zod_1.z.coerce.date().optional(),
|
|
4486
|
+
sponsor_code: zod_1.z.string().optional().nullable(),
|
|
4337
4487
|
addictions: zod_1.z.lazy(() => exports.UserAddictionCreateNestedManyWithoutUserInputSchema).optional(),
|
|
4338
4488
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogCreateNestedManyWithoutUserInputSchema).optional(),
|
|
4339
4489
|
sponsorships_as_addict: zod_1.z.lazy(() => exports.SponsorshipCreateNestedManyWithoutAddictInputSchema).optional(),
|
|
@@ -4350,6 +4500,7 @@ exports.UserUncheckedCreateWithoutSponsorships_as_sponsorInputSchema = zod_1.z.s
|
|
|
4350
4500
|
role: zod_1.z.lazy(() => exports.UserRoleSchema).optional(),
|
|
4351
4501
|
created_at: zod_1.z.coerce.date().optional(),
|
|
4352
4502
|
updated_at: zod_1.z.coerce.date().optional(),
|
|
4503
|
+
sponsor_code: zod_1.z.string().optional().nullable(),
|
|
4353
4504
|
addictions: zod_1.z.lazy(() => exports.UserAddictionUncheckedCreateNestedManyWithoutUserInputSchema).optional(),
|
|
4354
4505
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogUncheckedCreateNestedManyWithoutUserInputSchema).optional(),
|
|
4355
4506
|
sponsorships_as_addict: zod_1.z.lazy(() => exports.SponsorshipUncheckedCreateNestedManyWithoutAddictInputSchema).optional(),
|
|
@@ -4370,6 +4521,7 @@ exports.UserCreateWithoutSponsorships_as_addictInputSchema = zod_1.z.strictObjec
|
|
|
4370
4521
|
role: zod_1.z.lazy(() => exports.UserRoleSchema).optional(),
|
|
4371
4522
|
created_at: zod_1.z.coerce.date().optional(),
|
|
4372
4523
|
updated_at: zod_1.z.coerce.date().optional(),
|
|
4524
|
+
sponsor_code: zod_1.z.string().optional().nullable(),
|
|
4373
4525
|
addictions: zod_1.z.lazy(() => exports.UserAddictionCreateNestedManyWithoutUserInputSchema).optional(),
|
|
4374
4526
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogCreateNestedManyWithoutUserInputSchema).optional(),
|
|
4375
4527
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipCreateNestedManyWithoutSponsorInputSchema).optional(),
|
|
@@ -4386,6 +4538,7 @@ exports.UserUncheckedCreateWithoutSponsorships_as_addictInputSchema = zod_1.z.st
|
|
|
4386
4538
|
role: zod_1.z.lazy(() => exports.UserRoleSchema).optional(),
|
|
4387
4539
|
created_at: zod_1.z.coerce.date().optional(),
|
|
4388
4540
|
updated_at: zod_1.z.coerce.date().optional(),
|
|
4541
|
+
sponsor_code: zod_1.z.string().optional().nullable(),
|
|
4389
4542
|
addictions: zod_1.z.lazy(() => exports.UserAddictionUncheckedCreateNestedManyWithoutUserInputSchema).optional(),
|
|
4390
4543
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogUncheckedCreateNestedManyWithoutUserInputSchema).optional(),
|
|
4391
4544
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipUncheckedCreateNestedManyWithoutSponsorInputSchema).optional(),
|
|
@@ -4415,6 +4568,7 @@ exports.UserUpdateWithoutSponsorships_as_sponsorInputSchema = zod_1.z.strictObje
|
|
|
4415
4568
|
role: zod_1.z.union([zod_1.z.lazy(() => exports.UserRoleSchema), zod_1.z.lazy(() => exports.EnumUserRoleFieldUpdateOperationsInputSchema)]).optional(),
|
|
4416
4569
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
4417
4570
|
updated_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
4571
|
+
sponsor_code: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.NullableStringFieldUpdateOperationsInputSchema)]).optional().nullable(),
|
|
4418
4572
|
addictions: zod_1.z.lazy(() => exports.UserAddictionUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
4419
4573
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
4420
4574
|
sponsorships_as_addict: zod_1.z.lazy(() => exports.SponsorshipUpdateManyWithoutAddictNestedInputSchema).optional(),
|
|
@@ -4431,6 +4585,7 @@ exports.UserUncheckedUpdateWithoutSponsorships_as_sponsorInputSchema = zod_1.z.s
|
|
|
4431
4585
|
role: zod_1.z.union([zod_1.z.lazy(() => exports.UserRoleSchema), zod_1.z.lazy(() => exports.EnumUserRoleFieldUpdateOperationsInputSchema)]).optional(),
|
|
4432
4586
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
4433
4587
|
updated_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
4588
|
+
sponsor_code: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.NullableStringFieldUpdateOperationsInputSchema)]).optional().nullable(),
|
|
4434
4589
|
addictions: zod_1.z.lazy(() => exports.UserAddictionUncheckedUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
4435
4590
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogUncheckedUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
4436
4591
|
sponsorships_as_addict: zod_1.z.lazy(() => exports.SponsorshipUncheckedUpdateManyWithoutAddictNestedInputSchema).optional(),
|
|
@@ -4456,6 +4611,7 @@ exports.UserUpdateWithoutSponsorships_as_addictInputSchema = zod_1.z.strictObjec
|
|
|
4456
4611
|
role: zod_1.z.union([zod_1.z.lazy(() => exports.UserRoleSchema), zod_1.z.lazy(() => exports.EnumUserRoleFieldUpdateOperationsInputSchema)]).optional(),
|
|
4457
4612
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
4458
4613
|
updated_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
4614
|
+
sponsor_code: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.NullableStringFieldUpdateOperationsInputSchema)]).optional().nullable(),
|
|
4459
4615
|
addictions: zod_1.z.lazy(() => exports.UserAddictionUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
4460
4616
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
4461
4617
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipUpdateManyWithoutSponsorNestedInputSchema).optional(),
|
|
@@ -4472,6 +4628,7 @@ exports.UserUncheckedUpdateWithoutSponsorships_as_addictInputSchema = zod_1.z.st
|
|
|
4472
4628
|
role: zod_1.z.union([zod_1.z.lazy(() => exports.UserRoleSchema), zod_1.z.lazy(() => exports.EnumUserRoleFieldUpdateOperationsInputSchema)]).optional(),
|
|
4473
4629
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
4474
4630
|
updated_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
4631
|
+
sponsor_code: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.NullableStringFieldUpdateOperationsInputSchema)]).optional().nullable(),
|
|
4475
4632
|
addictions: zod_1.z.lazy(() => exports.UserAddictionUncheckedUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
4476
4633
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogUncheckedUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
4477
4634
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipUncheckedUpdateManyWithoutSponsorNestedInputSchema).optional(),
|
|
@@ -4488,6 +4645,7 @@ exports.UserCreateWithoutDaily_logsInputSchema = zod_1.z.strictObject({
|
|
|
4488
4645
|
role: zod_1.z.lazy(() => exports.UserRoleSchema).optional(),
|
|
4489
4646
|
created_at: zod_1.z.coerce.date().optional(),
|
|
4490
4647
|
updated_at: zod_1.z.coerce.date().optional(),
|
|
4648
|
+
sponsor_code: zod_1.z.string().optional().nullable(),
|
|
4491
4649
|
addictions: zod_1.z.lazy(() => exports.UserAddictionCreateNestedManyWithoutUserInputSchema).optional(),
|
|
4492
4650
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipCreateNestedManyWithoutSponsorInputSchema).optional(),
|
|
4493
4651
|
sponsorships_as_addict: zod_1.z.lazy(() => exports.SponsorshipCreateNestedManyWithoutAddictInputSchema).optional(),
|
|
@@ -4504,6 +4662,7 @@ exports.UserUncheckedCreateWithoutDaily_logsInputSchema = zod_1.z.strictObject({
|
|
|
4504
4662
|
role: zod_1.z.lazy(() => exports.UserRoleSchema).optional(),
|
|
4505
4663
|
created_at: zod_1.z.coerce.date().optional(),
|
|
4506
4664
|
updated_at: zod_1.z.coerce.date().optional(),
|
|
4665
|
+
sponsor_code: zod_1.z.string().optional().nullable(),
|
|
4507
4666
|
addictions: zod_1.z.lazy(() => exports.UserAddictionUncheckedCreateNestedManyWithoutUserInputSchema).optional(),
|
|
4508
4667
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipUncheckedCreateNestedManyWithoutSponsorInputSchema).optional(),
|
|
4509
4668
|
sponsorships_as_addict: zod_1.z.lazy(() => exports.SponsorshipUncheckedCreateNestedManyWithoutAddictInputSchema).optional(),
|
|
@@ -4569,6 +4728,7 @@ exports.UserUpdateWithoutDaily_logsInputSchema = zod_1.z.strictObject({
|
|
|
4569
4728
|
role: zod_1.z.union([zod_1.z.lazy(() => exports.UserRoleSchema), zod_1.z.lazy(() => exports.EnumUserRoleFieldUpdateOperationsInputSchema)]).optional(),
|
|
4570
4729
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
4571
4730
|
updated_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
4731
|
+
sponsor_code: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.NullableStringFieldUpdateOperationsInputSchema)]).optional().nullable(),
|
|
4572
4732
|
addictions: zod_1.z.lazy(() => exports.UserAddictionUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
4573
4733
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipUpdateManyWithoutSponsorNestedInputSchema).optional(),
|
|
4574
4734
|
sponsorships_as_addict: zod_1.z.lazy(() => exports.SponsorshipUpdateManyWithoutAddictNestedInputSchema).optional(),
|
|
@@ -4585,6 +4745,7 @@ exports.UserUncheckedUpdateWithoutDaily_logsInputSchema = zod_1.z.strictObject({
|
|
|
4585
4745
|
role: zod_1.z.union([zod_1.z.lazy(() => exports.UserRoleSchema), zod_1.z.lazy(() => exports.EnumUserRoleFieldUpdateOperationsInputSchema)]).optional(),
|
|
4586
4746
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
4587
4747
|
updated_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
4748
|
+
sponsor_code: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.NullableStringFieldUpdateOperationsInputSchema)]).optional().nullable(),
|
|
4588
4749
|
addictions: zod_1.z.lazy(() => exports.UserAddictionUncheckedUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
4589
4750
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipUncheckedUpdateManyWithoutSponsorNestedInputSchema).optional(),
|
|
4590
4751
|
sponsorships_as_addict: zod_1.z.lazy(() => exports.SponsorshipUncheckedUpdateManyWithoutAddictNestedInputSchema).optional(),
|
|
@@ -4739,6 +4900,7 @@ exports.UserCreateWithoutAbsencesInputSchema = zod_1.z.strictObject({
|
|
|
4739
4900
|
role: zod_1.z.lazy(() => exports.UserRoleSchema).optional(),
|
|
4740
4901
|
created_at: zod_1.z.coerce.date().optional(),
|
|
4741
4902
|
updated_at: zod_1.z.coerce.date().optional(),
|
|
4903
|
+
sponsor_code: zod_1.z.string().optional().nullable(),
|
|
4742
4904
|
addictions: zod_1.z.lazy(() => exports.UserAddictionCreateNestedManyWithoutUserInputSchema).optional(),
|
|
4743
4905
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogCreateNestedManyWithoutUserInputSchema).optional(),
|
|
4744
4906
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipCreateNestedManyWithoutSponsorInputSchema).optional(),
|
|
@@ -4755,6 +4917,7 @@ exports.UserUncheckedCreateWithoutAbsencesInputSchema = zod_1.z.strictObject({
|
|
|
4755
4917
|
role: zod_1.z.lazy(() => exports.UserRoleSchema).optional(),
|
|
4756
4918
|
created_at: zod_1.z.coerce.date().optional(),
|
|
4757
4919
|
updated_at: zod_1.z.coerce.date().optional(),
|
|
4920
|
+
sponsor_code: zod_1.z.string().optional().nullable(),
|
|
4758
4921
|
addictions: zod_1.z.lazy(() => exports.UserAddictionUncheckedCreateNestedManyWithoutUserInputSchema).optional(),
|
|
4759
4922
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogUncheckedCreateNestedManyWithoutUserInputSchema).optional(),
|
|
4760
4923
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipUncheckedCreateNestedManyWithoutSponsorInputSchema).optional(),
|
|
@@ -4810,6 +4973,7 @@ exports.UserUpdateWithoutAbsencesInputSchema = zod_1.z.strictObject({
|
|
|
4810
4973
|
role: zod_1.z.union([zod_1.z.lazy(() => exports.UserRoleSchema), zod_1.z.lazy(() => exports.EnumUserRoleFieldUpdateOperationsInputSchema)]).optional(),
|
|
4811
4974
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
4812
4975
|
updated_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
4976
|
+
sponsor_code: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.NullableStringFieldUpdateOperationsInputSchema)]).optional().nullable(),
|
|
4813
4977
|
addictions: zod_1.z.lazy(() => exports.UserAddictionUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
4814
4978
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
4815
4979
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipUpdateManyWithoutSponsorNestedInputSchema).optional(),
|
|
@@ -4826,6 +4990,7 @@ exports.UserUncheckedUpdateWithoutAbsencesInputSchema = zod_1.z.strictObject({
|
|
|
4826
4990
|
role: zod_1.z.union([zod_1.z.lazy(() => exports.UserRoleSchema), zod_1.z.lazy(() => exports.EnumUserRoleFieldUpdateOperationsInputSchema)]).optional(),
|
|
4827
4991
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
4828
4992
|
updated_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
4993
|
+
sponsor_code: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.NullableStringFieldUpdateOperationsInputSchema)]).optional().nullable(),
|
|
4829
4994
|
addictions: zod_1.z.lazy(() => exports.UserAddictionUncheckedUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
4830
4995
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogUncheckedUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
4831
4996
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipUncheckedUpdateManyWithoutSponsorNestedInputSchema).optional(),
|
|
@@ -4873,6 +5038,7 @@ exports.UserCreateWithoutContactsInputSchema = zod_1.z.strictObject({
|
|
|
4873
5038
|
role: zod_1.z.lazy(() => exports.UserRoleSchema).optional(),
|
|
4874
5039
|
created_at: zod_1.z.coerce.date().optional(),
|
|
4875
5040
|
updated_at: zod_1.z.coerce.date().optional(),
|
|
5041
|
+
sponsor_code: zod_1.z.string().optional().nullable(),
|
|
4876
5042
|
addictions: zod_1.z.lazy(() => exports.UserAddictionCreateNestedManyWithoutUserInputSchema).optional(),
|
|
4877
5043
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogCreateNestedManyWithoutUserInputSchema).optional(),
|
|
4878
5044
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipCreateNestedManyWithoutSponsorInputSchema).optional(),
|
|
@@ -4889,6 +5055,7 @@ exports.UserUncheckedCreateWithoutContactsInputSchema = zod_1.z.strictObject({
|
|
|
4889
5055
|
role: zod_1.z.lazy(() => exports.UserRoleSchema).optional(),
|
|
4890
5056
|
created_at: zod_1.z.coerce.date().optional(),
|
|
4891
5057
|
updated_at: zod_1.z.coerce.date().optional(),
|
|
5058
|
+
sponsor_code: zod_1.z.string().optional().nullable(),
|
|
4892
5059
|
addictions: zod_1.z.lazy(() => exports.UserAddictionUncheckedCreateNestedManyWithoutUserInputSchema).optional(),
|
|
4893
5060
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogUncheckedCreateNestedManyWithoutUserInputSchema).optional(),
|
|
4894
5061
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipUncheckedCreateNestedManyWithoutSponsorInputSchema).optional(),
|
|
@@ -4918,6 +5085,7 @@ exports.UserUpdateWithoutContactsInputSchema = zod_1.z.strictObject({
|
|
|
4918
5085
|
role: zod_1.z.union([zod_1.z.lazy(() => exports.UserRoleSchema), zod_1.z.lazy(() => exports.EnumUserRoleFieldUpdateOperationsInputSchema)]).optional(),
|
|
4919
5086
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
4920
5087
|
updated_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
5088
|
+
sponsor_code: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.NullableStringFieldUpdateOperationsInputSchema)]).optional().nullable(),
|
|
4921
5089
|
addictions: zod_1.z.lazy(() => exports.UserAddictionUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
4922
5090
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
4923
5091
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipUpdateManyWithoutSponsorNestedInputSchema).optional(),
|
|
@@ -4934,6 +5102,7 @@ exports.UserUncheckedUpdateWithoutContactsInputSchema = zod_1.z.strictObject({
|
|
|
4934
5102
|
role: zod_1.z.union([zod_1.z.lazy(() => exports.UserRoleSchema), zod_1.z.lazy(() => exports.EnumUserRoleFieldUpdateOperationsInputSchema)]).optional(),
|
|
4935
5103
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
4936
5104
|
updated_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
5105
|
+
sponsor_code: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.NullableStringFieldUpdateOperationsInputSchema)]).optional().nullable(),
|
|
4937
5106
|
addictions: zod_1.z.lazy(() => exports.UserAddictionUncheckedUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
4938
5107
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogUncheckedUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
4939
5108
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipUncheckedUpdateManyWithoutSponsorNestedInputSchema).optional(),
|
|
@@ -4950,6 +5119,7 @@ exports.UserCreateWithoutAlertsInputSchema = zod_1.z.strictObject({
|
|
|
4950
5119
|
role: zod_1.z.lazy(() => exports.UserRoleSchema).optional(),
|
|
4951
5120
|
created_at: zod_1.z.coerce.date().optional(),
|
|
4952
5121
|
updated_at: zod_1.z.coerce.date().optional(),
|
|
5122
|
+
sponsor_code: zod_1.z.string().optional().nullable(),
|
|
4953
5123
|
addictions: zod_1.z.lazy(() => exports.UserAddictionCreateNestedManyWithoutUserInputSchema).optional(),
|
|
4954
5124
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogCreateNestedManyWithoutUserInputSchema).optional(),
|
|
4955
5125
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipCreateNestedManyWithoutSponsorInputSchema).optional(),
|
|
@@ -4966,6 +5136,7 @@ exports.UserUncheckedCreateWithoutAlertsInputSchema = zod_1.z.strictObject({
|
|
|
4966
5136
|
role: zod_1.z.lazy(() => exports.UserRoleSchema).optional(),
|
|
4967
5137
|
created_at: zod_1.z.coerce.date().optional(),
|
|
4968
5138
|
updated_at: zod_1.z.coerce.date().optional(),
|
|
5139
|
+
sponsor_code: zod_1.z.string().optional().nullable(),
|
|
4969
5140
|
addictions: zod_1.z.lazy(() => exports.UserAddictionUncheckedCreateNestedManyWithoutUserInputSchema).optional(),
|
|
4970
5141
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogUncheckedCreateNestedManyWithoutUserInputSchema).optional(),
|
|
4971
5142
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipUncheckedCreateNestedManyWithoutSponsorInputSchema).optional(),
|
|
@@ -5019,6 +5190,7 @@ exports.UserUpdateWithoutAlertsInputSchema = zod_1.z.strictObject({
|
|
|
5019
5190
|
role: zod_1.z.union([zod_1.z.lazy(() => exports.UserRoleSchema), zod_1.z.lazy(() => exports.EnumUserRoleFieldUpdateOperationsInputSchema)]).optional(),
|
|
5020
5191
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
5021
5192
|
updated_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
5193
|
+
sponsor_code: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.NullableStringFieldUpdateOperationsInputSchema)]).optional().nullable(),
|
|
5022
5194
|
addictions: zod_1.z.lazy(() => exports.UserAddictionUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
5023
5195
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
5024
5196
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipUpdateManyWithoutSponsorNestedInputSchema).optional(),
|
|
@@ -5035,6 +5207,7 @@ exports.UserUncheckedUpdateWithoutAlertsInputSchema = zod_1.z.strictObject({
|
|
|
5035
5207
|
role: zod_1.z.union([zod_1.z.lazy(() => exports.UserRoleSchema), zod_1.z.lazy(() => exports.EnumUserRoleFieldUpdateOperationsInputSchema)]).optional(),
|
|
5036
5208
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
5037
5209
|
updated_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
5210
|
+
sponsor_code: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.NullableStringFieldUpdateOperationsInputSchema)]).optional().nullable(),
|
|
5038
5211
|
addictions: zod_1.z.lazy(() => exports.UserAddictionUncheckedUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
5039
5212
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogUncheckedUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
5040
5213
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipUncheckedUpdateManyWithoutSponsorNestedInputSchema).optional(),
|
|
@@ -5080,6 +5253,7 @@ exports.UserCreateWithoutStreakInputSchema = zod_1.z.strictObject({
|
|
|
5080
5253
|
role: zod_1.z.lazy(() => exports.UserRoleSchema).optional(),
|
|
5081
5254
|
created_at: zod_1.z.coerce.date().optional(),
|
|
5082
5255
|
updated_at: zod_1.z.coerce.date().optional(),
|
|
5256
|
+
sponsor_code: zod_1.z.string().optional().nullable(),
|
|
5083
5257
|
addictions: zod_1.z.lazy(() => exports.UserAddictionCreateNestedManyWithoutUserInputSchema).optional(),
|
|
5084
5258
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogCreateNestedManyWithoutUserInputSchema).optional(),
|
|
5085
5259
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipCreateNestedManyWithoutSponsorInputSchema).optional(),
|
|
@@ -5096,6 +5270,7 @@ exports.UserUncheckedCreateWithoutStreakInputSchema = zod_1.z.strictObject({
|
|
|
5096
5270
|
role: zod_1.z.lazy(() => exports.UserRoleSchema).optional(),
|
|
5097
5271
|
created_at: zod_1.z.coerce.date().optional(),
|
|
5098
5272
|
updated_at: zod_1.z.coerce.date().optional(),
|
|
5273
|
+
sponsor_code: zod_1.z.string().optional().nullable(),
|
|
5099
5274
|
addictions: zod_1.z.lazy(() => exports.UserAddictionUncheckedCreateNestedManyWithoutUserInputSchema).optional(),
|
|
5100
5275
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogUncheckedCreateNestedManyWithoutUserInputSchema).optional(),
|
|
5101
5276
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipUncheckedCreateNestedManyWithoutSponsorInputSchema).optional(),
|
|
@@ -5179,6 +5354,7 @@ exports.UserUpdateWithoutStreakInputSchema = zod_1.z.strictObject({
|
|
|
5179
5354
|
role: zod_1.z.union([zod_1.z.lazy(() => exports.UserRoleSchema), zod_1.z.lazy(() => exports.EnumUserRoleFieldUpdateOperationsInputSchema)]).optional(),
|
|
5180
5355
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
5181
5356
|
updated_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
5357
|
+
sponsor_code: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.NullableStringFieldUpdateOperationsInputSchema)]).optional().nullable(),
|
|
5182
5358
|
addictions: zod_1.z.lazy(() => exports.UserAddictionUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
5183
5359
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
5184
5360
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipUpdateManyWithoutSponsorNestedInputSchema).optional(),
|
|
@@ -5195,6 +5371,7 @@ exports.UserUncheckedUpdateWithoutStreakInputSchema = zod_1.z.strictObject({
|
|
|
5195
5371
|
role: zod_1.z.union([zod_1.z.lazy(() => exports.UserRoleSchema), zod_1.z.lazy(() => exports.EnumUserRoleFieldUpdateOperationsInputSchema)]).optional(),
|
|
5196
5372
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
5197
5373
|
updated_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
5374
|
+
sponsor_code: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.NullableStringFieldUpdateOperationsInputSchema)]).optional().nullable(),
|
|
5198
5375
|
addictions: zod_1.z.lazy(() => exports.UserAddictionUncheckedUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
5199
5376
|
daily_logs: zod_1.z.lazy(() => exports.DailyLogUncheckedUpdateManyWithoutUserNestedInputSchema).optional(),
|
|
5200
5377
|
sponsorships_as_sponsor: zod_1.z.lazy(() => exports.SponsorshipUncheckedUpdateManyWithoutSponsorNestedInputSchema).optional(),
|
|
@@ -5282,7 +5459,7 @@ exports.SponsorshipCreateManySponsorInputSchema = zod_1.z.strictObject({
|
|
|
5282
5459
|
addict_id: zod_1.z.string().optional(),
|
|
5283
5460
|
started_at: zod_1.z.coerce.date().optional(),
|
|
5284
5461
|
ended_at: zod_1.z.coerce.date().optional(),
|
|
5285
|
-
|
|
5462
|
+
status: zod_1.z.lazy(() => exports.SponsorshipStatusSchema).optional(),
|
|
5286
5463
|
termination_reason: zod_1.z.string().optional(),
|
|
5287
5464
|
created_at: zod_1.z.coerce.date().optional(),
|
|
5288
5465
|
});
|
|
@@ -5291,7 +5468,7 @@ exports.SponsorshipCreateManyAddictInputSchema = zod_1.z.strictObject({
|
|
|
5291
5468
|
sponsor_id: zod_1.z.string().optional(),
|
|
5292
5469
|
started_at: zod_1.z.coerce.date().optional(),
|
|
5293
5470
|
ended_at: zod_1.z.coerce.date().optional(),
|
|
5294
|
-
|
|
5471
|
+
status: zod_1.z.lazy(() => exports.SponsorshipStatusSchema).optional(),
|
|
5295
5472
|
termination_reason: zod_1.z.string().optional(),
|
|
5296
5473
|
created_at: zod_1.z.coerce.date().optional(),
|
|
5297
5474
|
});
|
|
@@ -5395,7 +5572,7 @@ exports.SponsorshipUpdateWithoutSponsorInputSchema = zod_1.z.strictObject({
|
|
|
5395
5572
|
id: zod_1.z.union([zod_1.z.uuid(), zod_1.z.lazy(() => exports.StringFieldUpdateOperationsInputSchema)]).optional(),
|
|
5396
5573
|
started_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
5397
5574
|
ended_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
5398
|
-
|
|
5575
|
+
status: zod_1.z.union([zod_1.z.lazy(() => exports.SponsorshipStatusSchema), zod_1.z.lazy(() => exports.EnumSponsorshipStatusFieldUpdateOperationsInputSchema)]).optional(),
|
|
5399
5576
|
termination_reason: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.StringFieldUpdateOperationsInputSchema)]).optional(),
|
|
5400
5577
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
5401
5578
|
addict: zod_1.z.lazy(() => exports.UserUpdateOneRequiredWithoutSponsorships_as_addictNestedInputSchema).optional(),
|
|
@@ -5405,7 +5582,7 @@ exports.SponsorshipUncheckedUpdateWithoutSponsorInputSchema = zod_1.z.strictObje
|
|
|
5405
5582
|
addict_id: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.StringFieldUpdateOperationsInputSchema)]).optional(),
|
|
5406
5583
|
started_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
5407
5584
|
ended_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
5408
|
-
|
|
5585
|
+
status: zod_1.z.union([zod_1.z.lazy(() => exports.SponsorshipStatusSchema), zod_1.z.lazy(() => exports.EnumSponsorshipStatusFieldUpdateOperationsInputSchema)]).optional(),
|
|
5409
5586
|
termination_reason: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.StringFieldUpdateOperationsInputSchema)]).optional(),
|
|
5410
5587
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
5411
5588
|
});
|
|
@@ -5414,7 +5591,7 @@ exports.SponsorshipUncheckedUpdateManyWithoutSponsorInputSchema = zod_1.z.strict
|
|
|
5414
5591
|
addict_id: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.StringFieldUpdateOperationsInputSchema)]).optional(),
|
|
5415
5592
|
started_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
5416
5593
|
ended_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
5417
|
-
|
|
5594
|
+
status: zod_1.z.union([zod_1.z.lazy(() => exports.SponsorshipStatusSchema), zod_1.z.lazy(() => exports.EnumSponsorshipStatusFieldUpdateOperationsInputSchema)]).optional(),
|
|
5418
5595
|
termination_reason: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.StringFieldUpdateOperationsInputSchema)]).optional(),
|
|
5419
5596
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
5420
5597
|
});
|
|
@@ -5422,7 +5599,7 @@ exports.SponsorshipUpdateWithoutAddictInputSchema = zod_1.z.strictObject({
|
|
|
5422
5599
|
id: zod_1.z.union([zod_1.z.uuid(), zod_1.z.lazy(() => exports.StringFieldUpdateOperationsInputSchema)]).optional(),
|
|
5423
5600
|
started_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
5424
5601
|
ended_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
5425
|
-
|
|
5602
|
+
status: zod_1.z.union([zod_1.z.lazy(() => exports.SponsorshipStatusSchema), zod_1.z.lazy(() => exports.EnumSponsorshipStatusFieldUpdateOperationsInputSchema)]).optional(),
|
|
5426
5603
|
termination_reason: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.StringFieldUpdateOperationsInputSchema)]).optional(),
|
|
5427
5604
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
5428
5605
|
sponsor: zod_1.z.lazy(() => exports.UserUpdateOneRequiredWithoutSponsorships_as_sponsorNestedInputSchema).optional(),
|
|
@@ -5432,7 +5609,7 @@ exports.SponsorshipUncheckedUpdateWithoutAddictInputSchema = zod_1.z.strictObjec
|
|
|
5432
5609
|
sponsor_id: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.StringFieldUpdateOperationsInputSchema)]).optional(),
|
|
5433
5610
|
started_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
5434
5611
|
ended_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
5435
|
-
|
|
5612
|
+
status: zod_1.z.union([zod_1.z.lazy(() => exports.SponsorshipStatusSchema), zod_1.z.lazy(() => exports.EnumSponsorshipStatusFieldUpdateOperationsInputSchema)]).optional(),
|
|
5436
5613
|
termination_reason: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.StringFieldUpdateOperationsInputSchema)]).optional(),
|
|
5437
5614
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
5438
5615
|
});
|
|
@@ -5441,7 +5618,7 @@ exports.SponsorshipUncheckedUpdateManyWithoutAddictInputSchema = zod_1.z.strictO
|
|
|
5441
5618
|
sponsor_id: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.StringFieldUpdateOperationsInputSchema)]).optional(),
|
|
5442
5619
|
started_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
5443
5620
|
ended_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
5444
|
-
|
|
5621
|
+
status: zod_1.z.union([zod_1.z.lazy(() => exports.SponsorshipStatusSchema), zod_1.z.lazy(() => exports.EnumSponsorshipStatusFieldUpdateOperationsInputSchema)]).optional(),
|
|
5445
5622
|
termination_reason: zod_1.z.union([zod_1.z.string(), zod_1.z.lazy(() => exports.StringFieldUpdateOperationsInputSchema)]).optional(),
|
|
5446
5623
|
created_at: zod_1.z.union([zod_1.z.coerce.date(), zod_1.z.lazy(() => exports.DateTimeFieldUpdateOperationsInputSchema)]).optional(),
|
|
5447
5624
|
});
|