/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `App` model and its related types. * * 🟢 You can import this file directly. */ import type * as runtime from "@prisma/client/runtime/client" import type * as $Enums from "../enums.ts" import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model App * */ export type AppModel = runtime.Types.Result.DefaultSelection export type AggregateApp = { _count: AppCountAggregateOutputType | null _min: AppMinAggregateOutputType | null _max: AppMaxAggregateOutputType | null } export type AppMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null tenantId: string | null type: string | null config: string | null icon: string | null isActive: boolean | null installedByUserId: string | null } export type AppMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null tenantId: string | null type: string | null config: string | null icon: string | null isActive: boolean | null installedByUserId: string | null } export type AppCountAggregateOutputType = { id: number createdAt: number updatedAt: number tenantId: number type: number config: number icon: number isActive: number installedByUserId: number _all: number } export type AppMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true tenantId?: true type?: true config?: true icon?: true isActive?: true installedByUserId?: true } export type AppMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true tenantId?: true type?: true config?: true icon?: true isActive?: true installedByUserId?: true } export type AppCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true tenantId?: true type?: true config?: true icon?: true isActive?: true installedByUserId?: true _all?: true } export type AppAggregateArgs = { /** * Filter which App to aggregate. */ where?: Prisma.AppWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Apps to fetch. */ orderBy?: Prisma.AppOrderByWithRelationInput | Prisma.AppOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.AppWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Apps from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Apps. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Apps **/ _count?: true | AppCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AppMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AppMaxAggregateInputType } export type GetAppAggregateType = { [P in keyof T & keyof AggregateApp]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type AppGroupByArgs = { where?: Prisma.AppWhereInput orderBy?: Prisma.AppOrderByWithAggregationInput | Prisma.AppOrderByWithAggregationInput[] by: Prisma.AppScalarFieldEnum[] | Prisma.AppScalarFieldEnum having?: Prisma.AppScalarWhereWithAggregatesInput take?: number skip?: number _count?: AppCountAggregateInputType | true _min?: AppMinAggregateInputType _max?: AppMaxAggregateInputType } export type AppGroupByOutputType = { id: string createdAt: Date updatedAt: Date tenantId: string type: string config: string icon: string | null isActive: boolean installedByUserId: string | null _count: AppCountAggregateOutputType | null _min: AppMinAggregateOutputType | null _max: AppMaxAggregateOutputType | null } export type GetAppGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof AppGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type AppWhereInput = { AND?: Prisma.AppWhereInput | Prisma.AppWhereInput[] OR?: Prisma.AppWhereInput[] NOT?: Prisma.AppWhereInput | Prisma.AppWhereInput[] id?: Prisma.StringFilter<"App"> | string createdAt?: Prisma.DateTimeFilter<"App"> | Date | string updatedAt?: Prisma.DateTimeFilter<"App"> | Date | string tenantId?: Prisma.StringFilter<"App"> | string type?: Prisma.StringFilter<"App"> | string config?: Prisma.StringFilter<"App"> | string icon?: Prisma.StringNullableFilter<"App"> | string | null isActive?: Prisma.BoolFilter<"App"> | boolean installedByUserId?: Prisma.StringNullableFilter<"App"> | string | null tenant?: Prisma.XOR installedByUser?: Prisma.XOR | null syncRuns?: Prisma.AppSyncRunListRelationFilter } export type AppOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder type?: Prisma.SortOrder config?: Prisma.SortOrder icon?: Prisma.SortOrderInput | Prisma.SortOrder isActive?: Prisma.SortOrder installedByUserId?: Prisma.SortOrderInput | Prisma.SortOrder tenant?: Prisma.TenantOrderByWithRelationInput installedByUser?: Prisma.UserOrderByWithRelationInput syncRuns?: Prisma.AppSyncRunOrderByRelationAggregateInput } export type AppWhereUniqueInput = Prisma.AtLeast<{ id?: string tenantId_type?: Prisma.AppTenantIdTypeCompoundUniqueInput AND?: Prisma.AppWhereInput | Prisma.AppWhereInput[] OR?: Prisma.AppWhereInput[] NOT?: Prisma.AppWhereInput | Prisma.AppWhereInput[] createdAt?: Prisma.DateTimeFilter<"App"> | Date | string updatedAt?: Prisma.DateTimeFilter<"App"> | Date | string tenantId?: Prisma.StringFilter<"App"> | string type?: Prisma.StringFilter<"App"> | string config?: Prisma.StringFilter<"App"> | string icon?: Prisma.StringNullableFilter<"App"> | string | null isActive?: Prisma.BoolFilter<"App"> | boolean installedByUserId?: Prisma.StringNullableFilter<"App"> | string | null tenant?: Prisma.XOR installedByUser?: Prisma.XOR | null syncRuns?: Prisma.AppSyncRunListRelationFilter }, "id" | "tenantId_type"> export type AppOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder type?: Prisma.SortOrder config?: Prisma.SortOrder icon?: Prisma.SortOrderInput | Prisma.SortOrder isActive?: Prisma.SortOrder installedByUserId?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.AppCountOrderByAggregateInput _max?: Prisma.AppMaxOrderByAggregateInput _min?: Prisma.AppMinOrderByAggregateInput } export type AppScalarWhereWithAggregatesInput = { AND?: Prisma.AppScalarWhereWithAggregatesInput | Prisma.AppScalarWhereWithAggregatesInput[] OR?: Prisma.AppScalarWhereWithAggregatesInput[] NOT?: Prisma.AppScalarWhereWithAggregatesInput | Prisma.AppScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"App"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"App"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"App"> | Date | string tenantId?: Prisma.StringWithAggregatesFilter<"App"> | string type?: Prisma.StringWithAggregatesFilter<"App"> | string config?: Prisma.StringWithAggregatesFilter<"App"> | string icon?: Prisma.StringNullableWithAggregatesFilter<"App"> | string | null isActive?: Prisma.BoolWithAggregatesFilter<"App"> | boolean installedByUserId?: Prisma.StringNullableWithAggregatesFilter<"App"> | string | null } export type AppCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string type: string config?: string icon?: string | null isActive?: boolean tenant: Prisma.TenantCreateNestedOneWithoutAppsInput installedByUser?: Prisma.UserCreateNestedOneWithoutAppsInstalledInput syncRuns?: Prisma.AppSyncRunCreateNestedManyWithoutAppInput } export type AppUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string type: string config?: string icon?: string | null isActive?: boolean installedByUserId?: string | null syncRuns?: Prisma.AppSyncRunUncheckedCreateNestedManyWithoutAppInput } export type AppUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string config?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean tenant?: Prisma.TenantUpdateOneRequiredWithoutAppsNestedInput installedByUser?: Prisma.UserUpdateOneWithoutAppsInstalledNestedInput syncRuns?: Prisma.AppSyncRunUpdateManyWithoutAppNestedInput } export type AppUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string config?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean installedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null syncRuns?: Prisma.AppSyncRunUncheckedUpdateManyWithoutAppNestedInput } export type AppCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string type: string config?: string icon?: string | null isActive?: boolean installedByUserId?: string | null } export type AppUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string config?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type AppUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string config?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean installedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AppListRelationFilter = { every?: Prisma.AppWhereInput some?: Prisma.AppWhereInput none?: Prisma.AppWhereInput } export type AppOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type AppTenantIdTypeCompoundUniqueInput = { tenantId: string type: string } export type AppCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder type?: Prisma.SortOrder config?: Prisma.SortOrder icon?: Prisma.SortOrder isActive?: Prisma.SortOrder installedByUserId?: Prisma.SortOrder } export type AppMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder type?: Prisma.SortOrder config?: Prisma.SortOrder icon?: Prisma.SortOrder isActive?: Prisma.SortOrder installedByUserId?: Prisma.SortOrder } export type AppMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder type?: Prisma.SortOrder config?: Prisma.SortOrder icon?: Prisma.SortOrder isActive?: Prisma.SortOrder installedByUserId?: Prisma.SortOrder } export type AppScalarRelationFilter = { is?: Prisma.AppWhereInput isNot?: Prisma.AppWhereInput } export type AppCreateNestedManyWithoutInstalledByUserInput = { create?: Prisma.XOR | Prisma.AppCreateWithoutInstalledByUserInput[] | Prisma.AppUncheckedCreateWithoutInstalledByUserInput[] connectOrCreate?: Prisma.AppCreateOrConnectWithoutInstalledByUserInput | Prisma.AppCreateOrConnectWithoutInstalledByUserInput[] createMany?: Prisma.AppCreateManyInstalledByUserInputEnvelope connect?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[] } export type AppUncheckedCreateNestedManyWithoutInstalledByUserInput = { create?: Prisma.XOR | Prisma.AppCreateWithoutInstalledByUserInput[] | Prisma.AppUncheckedCreateWithoutInstalledByUserInput[] connectOrCreate?: Prisma.AppCreateOrConnectWithoutInstalledByUserInput | Prisma.AppCreateOrConnectWithoutInstalledByUserInput[] createMany?: Prisma.AppCreateManyInstalledByUserInputEnvelope connect?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[] } export type AppUpdateManyWithoutInstalledByUserNestedInput = { create?: Prisma.XOR | Prisma.AppCreateWithoutInstalledByUserInput[] | Prisma.AppUncheckedCreateWithoutInstalledByUserInput[] connectOrCreate?: Prisma.AppCreateOrConnectWithoutInstalledByUserInput | Prisma.AppCreateOrConnectWithoutInstalledByUserInput[] upsert?: Prisma.AppUpsertWithWhereUniqueWithoutInstalledByUserInput | Prisma.AppUpsertWithWhereUniqueWithoutInstalledByUserInput[] createMany?: Prisma.AppCreateManyInstalledByUserInputEnvelope set?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[] disconnect?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[] delete?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[] connect?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[] update?: Prisma.AppUpdateWithWhereUniqueWithoutInstalledByUserInput | Prisma.AppUpdateWithWhereUniqueWithoutInstalledByUserInput[] updateMany?: Prisma.AppUpdateManyWithWhereWithoutInstalledByUserInput | Prisma.AppUpdateManyWithWhereWithoutInstalledByUserInput[] deleteMany?: Prisma.AppScalarWhereInput | Prisma.AppScalarWhereInput[] } export type AppUncheckedUpdateManyWithoutInstalledByUserNestedInput = { create?: Prisma.XOR | Prisma.AppCreateWithoutInstalledByUserInput[] | Prisma.AppUncheckedCreateWithoutInstalledByUserInput[] connectOrCreate?: Prisma.AppCreateOrConnectWithoutInstalledByUserInput | Prisma.AppCreateOrConnectWithoutInstalledByUserInput[] upsert?: Prisma.AppUpsertWithWhereUniqueWithoutInstalledByUserInput | Prisma.AppUpsertWithWhereUniqueWithoutInstalledByUserInput[] createMany?: Prisma.AppCreateManyInstalledByUserInputEnvelope set?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[] disconnect?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[] delete?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[] connect?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[] update?: Prisma.AppUpdateWithWhereUniqueWithoutInstalledByUserInput | Prisma.AppUpdateWithWhereUniqueWithoutInstalledByUserInput[] updateMany?: Prisma.AppUpdateManyWithWhereWithoutInstalledByUserInput | Prisma.AppUpdateManyWithWhereWithoutInstalledByUserInput[] deleteMany?: Prisma.AppScalarWhereInput | Prisma.AppScalarWhereInput[] } export type AppCreateNestedManyWithoutTenantInput = { create?: Prisma.XOR | Prisma.AppCreateWithoutTenantInput[] | Prisma.AppUncheckedCreateWithoutTenantInput[] connectOrCreate?: Prisma.AppCreateOrConnectWithoutTenantInput | Prisma.AppCreateOrConnectWithoutTenantInput[] createMany?: Prisma.AppCreateManyTenantInputEnvelope connect?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[] } export type AppUncheckedCreateNestedManyWithoutTenantInput = { create?: Prisma.XOR | Prisma.AppCreateWithoutTenantInput[] | Prisma.AppUncheckedCreateWithoutTenantInput[] connectOrCreate?: Prisma.AppCreateOrConnectWithoutTenantInput | Prisma.AppCreateOrConnectWithoutTenantInput[] createMany?: Prisma.AppCreateManyTenantInputEnvelope connect?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[] } export type AppUpdateManyWithoutTenantNestedInput = { create?: Prisma.XOR | Prisma.AppCreateWithoutTenantInput[] | Prisma.AppUncheckedCreateWithoutTenantInput[] connectOrCreate?: Prisma.AppCreateOrConnectWithoutTenantInput | Prisma.AppCreateOrConnectWithoutTenantInput[] upsert?: Prisma.AppUpsertWithWhereUniqueWithoutTenantInput | Prisma.AppUpsertWithWhereUniqueWithoutTenantInput[] createMany?: Prisma.AppCreateManyTenantInputEnvelope set?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[] disconnect?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[] delete?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[] connect?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[] update?: Prisma.AppUpdateWithWhereUniqueWithoutTenantInput | Prisma.AppUpdateWithWhereUniqueWithoutTenantInput[] updateMany?: Prisma.AppUpdateManyWithWhereWithoutTenantInput | Prisma.AppUpdateManyWithWhereWithoutTenantInput[] deleteMany?: Prisma.AppScalarWhereInput | Prisma.AppScalarWhereInput[] } export type AppUncheckedUpdateManyWithoutTenantNestedInput = { create?: Prisma.XOR | Prisma.AppCreateWithoutTenantInput[] | Prisma.AppUncheckedCreateWithoutTenantInput[] connectOrCreate?: Prisma.AppCreateOrConnectWithoutTenantInput | Prisma.AppCreateOrConnectWithoutTenantInput[] upsert?: Prisma.AppUpsertWithWhereUniqueWithoutTenantInput | Prisma.AppUpsertWithWhereUniqueWithoutTenantInput[] createMany?: Prisma.AppCreateManyTenantInputEnvelope set?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[] disconnect?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[] delete?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[] connect?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[] update?: Prisma.AppUpdateWithWhereUniqueWithoutTenantInput | Prisma.AppUpdateWithWhereUniqueWithoutTenantInput[] updateMany?: Prisma.AppUpdateManyWithWhereWithoutTenantInput | Prisma.AppUpdateManyWithWhereWithoutTenantInput[] deleteMany?: Prisma.AppScalarWhereInput | Prisma.AppScalarWhereInput[] } export type AppCreateNestedOneWithoutSyncRunsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.AppCreateOrConnectWithoutSyncRunsInput connect?: Prisma.AppWhereUniqueInput } export type AppUpdateOneRequiredWithoutSyncRunsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.AppCreateOrConnectWithoutSyncRunsInput upsert?: Prisma.AppUpsertWithoutSyncRunsInput connect?: Prisma.AppWhereUniqueInput update?: Prisma.XOR, Prisma.AppUncheckedUpdateWithoutSyncRunsInput> } export type AppCreateWithoutInstalledByUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string type: string config?: string icon?: string | null isActive?: boolean tenant: Prisma.TenantCreateNestedOneWithoutAppsInput syncRuns?: Prisma.AppSyncRunCreateNestedManyWithoutAppInput } export type AppUncheckedCreateWithoutInstalledByUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string type: string config?: string icon?: string | null isActive?: boolean syncRuns?: Prisma.AppSyncRunUncheckedCreateNestedManyWithoutAppInput } export type AppCreateOrConnectWithoutInstalledByUserInput = { where: Prisma.AppWhereUniqueInput create: Prisma.XOR } export type AppCreateManyInstalledByUserInputEnvelope = { data: Prisma.AppCreateManyInstalledByUserInput | Prisma.AppCreateManyInstalledByUserInput[] skipDuplicates?: boolean } export type AppUpsertWithWhereUniqueWithoutInstalledByUserInput = { where: Prisma.AppWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AppUpdateWithWhereUniqueWithoutInstalledByUserInput = { where: Prisma.AppWhereUniqueInput data: Prisma.XOR } export type AppUpdateManyWithWhereWithoutInstalledByUserInput = { where: Prisma.AppScalarWhereInput data: Prisma.XOR } export type AppScalarWhereInput = { AND?: Prisma.AppScalarWhereInput | Prisma.AppScalarWhereInput[] OR?: Prisma.AppScalarWhereInput[] NOT?: Prisma.AppScalarWhereInput | Prisma.AppScalarWhereInput[] id?: Prisma.StringFilter<"App"> | string createdAt?: Prisma.DateTimeFilter<"App"> | Date | string updatedAt?: Prisma.DateTimeFilter<"App"> | Date | string tenantId?: Prisma.StringFilter<"App"> | string type?: Prisma.StringFilter<"App"> | string config?: Prisma.StringFilter<"App"> | string icon?: Prisma.StringNullableFilter<"App"> | string | null isActive?: Prisma.BoolFilter<"App"> | boolean installedByUserId?: Prisma.StringNullableFilter<"App"> | string | null } export type AppCreateWithoutTenantInput = { id?: string createdAt?: Date | string updatedAt?: Date | string type: string config?: string icon?: string | null isActive?: boolean installedByUser?: Prisma.UserCreateNestedOneWithoutAppsInstalledInput syncRuns?: Prisma.AppSyncRunCreateNestedManyWithoutAppInput } export type AppUncheckedCreateWithoutTenantInput = { id?: string createdAt?: Date | string updatedAt?: Date | string type: string config?: string icon?: string | null isActive?: boolean installedByUserId?: string | null syncRuns?: Prisma.AppSyncRunUncheckedCreateNestedManyWithoutAppInput } export type AppCreateOrConnectWithoutTenantInput = { where: Prisma.AppWhereUniqueInput create: Prisma.XOR } export type AppCreateManyTenantInputEnvelope = { data: Prisma.AppCreateManyTenantInput | Prisma.AppCreateManyTenantInput[] skipDuplicates?: boolean } export type AppUpsertWithWhereUniqueWithoutTenantInput = { where: Prisma.AppWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AppUpdateWithWhereUniqueWithoutTenantInput = { where: Prisma.AppWhereUniqueInput data: Prisma.XOR } export type AppUpdateManyWithWhereWithoutTenantInput = { where: Prisma.AppScalarWhereInput data: Prisma.XOR } export type AppCreateWithoutSyncRunsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string type: string config?: string icon?: string | null isActive?: boolean tenant: Prisma.TenantCreateNestedOneWithoutAppsInput installedByUser?: Prisma.UserCreateNestedOneWithoutAppsInstalledInput } export type AppUncheckedCreateWithoutSyncRunsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string type: string config?: string icon?: string | null isActive?: boolean installedByUserId?: string | null } export type AppCreateOrConnectWithoutSyncRunsInput = { where: Prisma.AppWhereUniqueInput create: Prisma.XOR } export type AppUpsertWithoutSyncRunsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.AppWhereInput } export type AppUpdateToOneWithWhereWithoutSyncRunsInput = { where?: Prisma.AppWhereInput data: Prisma.XOR } export type AppUpdateWithoutSyncRunsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string config?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean tenant?: Prisma.TenantUpdateOneRequiredWithoutAppsNestedInput installedByUser?: Prisma.UserUpdateOneWithoutAppsInstalledNestedInput } export type AppUncheckedUpdateWithoutSyncRunsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string config?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean installedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AppCreateManyInstalledByUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string type: string config?: string icon?: string | null isActive?: boolean } export type AppUpdateWithoutInstalledByUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string config?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean tenant?: Prisma.TenantUpdateOneRequiredWithoutAppsNestedInput syncRuns?: Prisma.AppSyncRunUpdateManyWithoutAppNestedInput } export type AppUncheckedUpdateWithoutInstalledByUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string config?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean syncRuns?: Prisma.AppSyncRunUncheckedUpdateManyWithoutAppNestedInput } export type AppUncheckedUpdateManyWithoutInstalledByUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string config?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type AppCreateManyTenantInput = { id?: string createdAt?: Date | string updatedAt?: Date | string type: string config?: string icon?: string | null isActive?: boolean installedByUserId?: string | null } export type AppUpdateWithoutTenantInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string config?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean installedByUser?: Prisma.UserUpdateOneWithoutAppsInstalledNestedInput syncRuns?: Prisma.AppSyncRunUpdateManyWithoutAppNestedInput } export type AppUncheckedUpdateWithoutTenantInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string config?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean installedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null syncRuns?: Prisma.AppSyncRunUncheckedUpdateManyWithoutAppNestedInput } export type AppUncheckedUpdateManyWithoutTenantInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string config?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean installedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } /** * Count Type AppCountOutputType */ export type AppCountOutputType = { syncRuns: number } export type AppCountOutputTypeSelect = { syncRuns?: boolean | AppCountOutputTypeCountSyncRunsArgs } /** * AppCountOutputType without action */ export type AppCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the AppCountOutputType */ select?: Prisma.AppCountOutputTypeSelect | null } /** * AppCountOutputType without action */ export type AppCountOutputTypeCountSyncRunsArgs = { where?: Prisma.AppSyncRunWhereInput } export type AppSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean type?: boolean config?: boolean icon?: boolean isActive?: boolean installedByUserId?: boolean tenant?: boolean | Prisma.TenantDefaultArgs installedByUser?: boolean | Prisma.App$installedByUserArgs syncRuns?: boolean | Prisma.App$syncRunsArgs _count?: boolean | Prisma.AppCountOutputTypeDefaultArgs }, ExtArgs["result"]["app"]> export type AppSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean type?: boolean config?: boolean icon?: boolean isActive?: boolean installedByUserId?: boolean tenant?: boolean | Prisma.TenantDefaultArgs installedByUser?: boolean | Prisma.App$installedByUserArgs }, ExtArgs["result"]["app"]> export type AppSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean type?: boolean config?: boolean icon?: boolean isActive?: boolean installedByUserId?: boolean tenant?: boolean | Prisma.TenantDefaultArgs installedByUser?: boolean | Prisma.App$installedByUserArgs }, ExtArgs["result"]["app"]> export type AppSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean type?: boolean config?: boolean icon?: boolean isActive?: boolean installedByUserId?: boolean } export type AppOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "type" | "config" | "icon" | "isActive" | "installedByUserId", ExtArgs["result"]["app"]> export type AppInclude = { tenant?: boolean | Prisma.TenantDefaultArgs installedByUser?: boolean | Prisma.App$installedByUserArgs syncRuns?: boolean | Prisma.App$syncRunsArgs _count?: boolean | Prisma.AppCountOutputTypeDefaultArgs } export type AppIncludeCreateManyAndReturn = { tenant?: boolean | Prisma.TenantDefaultArgs installedByUser?: boolean | Prisma.App$installedByUserArgs } export type AppIncludeUpdateManyAndReturn = { tenant?: boolean | Prisma.TenantDefaultArgs installedByUser?: boolean | Prisma.App$installedByUserArgs } export type $AppPayload = { name: "App" objects: { tenant: Prisma.$TenantPayload installedByUser: Prisma.$UserPayload | null syncRuns: Prisma.$AppSyncRunPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date tenantId: string type: string config: string icon: string | null isActive: boolean installedByUserId: string | null }, ExtArgs["result"]["app"]> composites: {} } export type AppGetPayload = runtime.Types.Result.GetResult export type AppCountArgs = Omit & { select?: AppCountAggregateInputType | true } export interface AppDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['App'], meta: { name: 'App' } } /** * Find zero or one App that matches the filter. * @param {AppFindUniqueArgs} args - Arguments to find a App * @example * // Get one App * const app = await prisma.app.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AppClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one App that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AppFindUniqueOrThrowArgs} args - Arguments to find a App * @example * // Get one App * const app = await prisma.app.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AppClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first App that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppFindFirstArgs} args - Arguments to find a App * @example * // Get one App * const app = await prisma.app.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AppClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first App that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppFindFirstOrThrowArgs} args - Arguments to find a App * @example * // Get one App * const app = await prisma.app.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AppClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Apps that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Apps * const apps = await prisma.app.findMany() * * // Get first 10 Apps * const apps = await prisma.app.findMany({ take: 10 }) * * // Only select the `id` * const appWithIdOnly = await prisma.app.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a App. * @param {AppCreateArgs} args - Arguments to create a App. * @example * // Create one App * const App = await prisma.app.create({ * data: { * // ... data to create a App * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__AppClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Apps. * @param {AppCreateManyArgs} args - Arguments to create many Apps. * @example * // Create many Apps * const app = await prisma.app.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many Apps and returns the data saved in the database. * @param {AppCreateManyAndReturnArgs} args - Arguments to create many Apps. * @example * // Create many Apps * const app = await prisma.app.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Apps and only return the `id` * const appWithIdOnly = await prisma.app.createManyAndReturn({ * select: { id: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a App. * @param {AppDeleteArgs} args - Arguments to delete one App. * @example * // Delete one App * const App = await prisma.app.delete({ * where: { * // ... filter to delete one App * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__AppClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one App. * @param {AppUpdateArgs} args - Arguments to update one App. * @example * // Update one App * const app = await prisma.app.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__AppClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Apps. * @param {AppDeleteManyArgs} args - Arguments to filter Apps to delete. * @example * // Delete a few Apps * const { count } = await prisma.app.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Apps. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Apps * const app = await prisma.app.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Apps and returns the data updated in the database. * @param {AppUpdateManyAndReturnArgs} args - Arguments to update many Apps. * @example * // Update many Apps * const app = await prisma.app.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Apps and only return the `id` * const appWithIdOnly = await prisma.app.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one App. * @param {AppUpsertArgs} args - Arguments to update or create a App. * @example * // Update or create a App * const app = await prisma.app.upsert({ * create: { * // ... data to create a App * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the App we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AppClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Apps. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppCountArgs} args - Arguments to filter Apps to count. * @example * // Count the number of Apps * const count = await prisma.app.count({ * where: { * // ... the filter for the Apps we want to count * } * }) **/ count( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a App. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Prisma.Subset): Prisma.PrismaPromise> /** * Group by App. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppGroupByArgs} args - Group by arguments. * @example * // Group by city, order by createdAt, get count * const result = await prisma.user.groupBy({ * by: ['city', 'createdAt'], * orderBy: { * createdAt: true * }, * _count: { * _all: true * }, * }) * **/ groupBy< T extends AppGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: AppGroupByArgs['orderBy'] } : { orderBy?: AppGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetAppGroupByPayload : Prisma.PrismaPromise /** * Fields of the App model */ readonly fields: AppFieldRefs; } /** * The delegate class that acts as a "Promise-like" for App. * Why is this prefixed with `Prisma__`? * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ export interface Prisma__AppClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" tenant = {}>(args?: Prisma.Subset>): Prisma.Prisma__TenantClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> installedByUser = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> syncRuns = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } /** * Fields of the App model */ export interface AppFieldRefs { readonly id: Prisma.FieldRef<"App", 'String'> readonly createdAt: Prisma.FieldRef<"App", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"App", 'DateTime'> readonly tenantId: Prisma.FieldRef<"App", 'String'> readonly type: Prisma.FieldRef<"App", 'String'> readonly config: Prisma.FieldRef<"App", 'String'> readonly icon: Prisma.FieldRef<"App", 'String'> readonly isActive: Prisma.FieldRef<"App", 'Boolean'> readonly installedByUserId: Prisma.FieldRef<"App", 'String'> } // Custom InputTypes /** * App findUnique */ export type AppFindUniqueArgs = { /** * Select specific fields to fetch from the App */ select?: Prisma.AppSelect | null /** * Omit specific fields from the App */ omit?: Prisma.AppOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppInclude | null /** * Filter, which App to fetch. */ where: Prisma.AppWhereUniqueInput } /** * App findUniqueOrThrow */ export type AppFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the App */ select?: Prisma.AppSelect | null /** * Omit specific fields from the App */ omit?: Prisma.AppOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppInclude | null /** * Filter, which App to fetch. */ where: Prisma.AppWhereUniqueInput } /** * App findFirst */ export type AppFindFirstArgs = { /** * Select specific fields to fetch from the App */ select?: Prisma.AppSelect | null /** * Omit specific fields from the App */ omit?: Prisma.AppOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppInclude | null /** * Filter, which App to fetch. */ where?: Prisma.AppWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Apps to fetch. */ orderBy?: Prisma.AppOrderByWithRelationInput | Prisma.AppOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Apps. */ cursor?: Prisma.AppWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Apps from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Apps. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Apps. */ distinct?: Prisma.AppScalarFieldEnum | Prisma.AppScalarFieldEnum[] } /** * App findFirstOrThrow */ export type AppFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the App */ select?: Prisma.AppSelect | null /** * Omit specific fields from the App */ omit?: Prisma.AppOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppInclude | null /** * Filter, which App to fetch. */ where?: Prisma.AppWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Apps to fetch. */ orderBy?: Prisma.AppOrderByWithRelationInput | Prisma.AppOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Apps. */ cursor?: Prisma.AppWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Apps from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Apps. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Apps. */ distinct?: Prisma.AppScalarFieldEnum | Prisma.AppScalarFieldEnum[] } /** * App findMany */ export type AppFindManyArgs = { /** * Select specific fields to fetch from the App */ select?: Prisma.AppSelect | null /** * Omit specific fields from the App */ omit?: Prisma.AppOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppInclude | null /** * Filter, which Apps to fetch. */ where?: Prisma.AppWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Apps to fetch. */ orderBy?: Prisma.AppOrderByWithRelationInput | Prisma.AppOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Apps. */ cursor?: Prisma.AppWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Apps from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Apps. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Apps. */ distinct?: Prisma.AppScalarFieldEnum | Prisma.AppScalarFieldEnum[] } /** * App create */ export type AppCreateArgs = { /** * Select specific fields to fetch from the App */ select?: Prisma.AppSelect | null /** * Omit specific fields from the App */ omit?: Prisma.AppOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppInclude | null /** * The data needed to create a App. */ data: Prisma.XOR } /** * App createMany */ export type AppCreateManyArgs = { /** * The data used to create many Apps. */ data: Prisma.AppCreateManyInput | Prisma.AppCreateManyInput[] skipDuplicates?: boolean } /** * App createManyAndReturn */ export type AppCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the App */ select?: Prisma.AppSelectCreateManyAndReturn | null /** * Omit specific fields from the App */ omit?: Prisma.AppOmit | null /** * The data used to create many Apps. */ data: Prisma.AppCreateManyInput | Prisma.AppCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppIncludeCreateManyAndReturn | null } /** * App update */ export type AppUpdateArgs = { /** * Select specific fields to fetch from the App */ select?: Prisma.AppSelect | null /** * Omit specific fields from the App */ omit?: Prisma.AppOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppInclude | null /** * The data needed to update a App. */ data: Prisma.XOR /** * Choose, which App to update. */ where: Prisma.AppWhereUniqueInput } /** * App updateMany */ export type AppUpdateManyArgs = { /** * The data used to update Apps. */ data: Prisma.XOR /** * Filter which Apps to update */ where?: Prisma.AppWhereInput /** * Limit how many Apps to update. */ limit?: number } /** * App updateManyAndReturn */ export type AppUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the App */ select?: Prisma.AppSelectUpdateManyAndReturn | null /** * Omit specific fields from the App */ omit?: Prisma.AppOmit | null /** * The data used to update Apps. */ data: Prisma.XOR /** * Filter which Apps to update */ where?: Prisma.AppWhereInput /** * Limit how many Apps to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppIncludeUpdateManyAndReturn | null } /** * App upsert */ export type AppUpsertArgs = { /** * Select specific fields to fetch from the App */ select?: Prisma.AppSelect | null /** * Omit specific fields from the App */ omit?: Prisma.AppOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppInclude | null /** * The filter to search for the App to update in case it exists. */ where: Prisma.AppWhereUniqueInput /** * In case the App found by the `where` argument doesn't exist, create a new App with this data. */ create: Prisma.XOR /** * In case the App was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * App delete */ export type AppDeleteArgs = { /** * Select specific fields to fetch from the App */ select?: Prisma.AppSelect | null /** * Omit specific fields from the App */ omit?: Prisma.AppOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppInclude | null /** * Filter which App to delete. */ where: Prisma.AppWhereUniqueInput } /** * App deleteMany */ export type AppDeleteManyArgs = { /** * Filter which Apps to delete */ where?: Prisma.AppWhereInput /** * Limit how many Apps to delete. */ limit?: number } /** * App.installedByUser */ export type App$installedByUserArgs = { /** * Select specific fields to fetch from the User */ select?: Prisma.UserSelect | null /** * Omit specific fields from the User */ omit?: Prisma.UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserInclude | null where?: Prisma.UserWhereInput } /** * App.syncRuns */ export type App$syncRunsArgs = { /** * Select specific fields to fetch from the AppSyncRun */ select?: Prisma.AppSyncRunSelect | null /** * Omit specific fields from the AppSyncRun */ omit?: Prisma.AppSyncRunOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncRunInclude | null where?: Prisma.AppSyncRunWhereInput orderBy?: Prisma.AppSyncRunOrderByWithRelationInput | Prisma.AppSyncRunOrderByWithRelationInput[] cursor?: Prisma.AppSyncRunWhereUniqueInput take?: number skip?: number distinct?: Prisma.AppSyncRunScalarFieldEnum | Prisma.AppSyncRunScalarFieldEnum[] } /** * App without action */ export type AppDefaultArgs = { /** * Select specific fields to fetch from the App */ select?: Prisma.AppSelect | null /** * Omit specific fields from the App */ omit?: Prisma.AppOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppInclude | null }