import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model subscriptions
 * This model contains row level security and requires additional setup for migrations. Visit https://pris.ly/d/row-level-security for more info.
 */
export type subscriptionsModel = runtime.Types.Result.DefaultSelection<Prisma.$subscriptionsPayload>;
export type AggregateSubscriptions = {
    _count: SubscriptionsCountAggregateOutputType | null;
    _avg: SubscriptionsAvgAggregateOutputType | null;
    _sum: SubscriptionsSumAggregateOutputType | null;
    _min: SubscriptionsMinAggregateOutputType | null;
    _max: SubscriptionsMaxAggregateOutputType | null;
};
export type SubscriptionsAvgAggregateOutputType = {
    id: number | null;
};
export type SubscriptionsSumAggregateOutputType = {
    id: number | null;
};
export type SubscriptionsMinAggregateOutputType = {
    id: number | null;
    status: string | null;
    date_created: Date | null;
    date_updated: Date | null;
    subscription_number: string | null;
    start_date: Date | null;
    end_date: Date | null;
};
export type SubscriptionsMaxAggregateOutputType = {
    id: number | null;
    status: string | null;
    date_created: Date | null;
    date_updated: Date | null;
    subscription_number: string | null;
    start_date: Date | null;
    end_date: Date | null;
};
export type SubscriptionsCountAggregateOutputType = {
    id: number;
    status: number;
    date_created: number;
    date_updated: number;
    subscription_number: number;
    start_date: number;
    end_date: number;
    _all: number;
};
export type SubscriptionsAvgAggregateInputType = {
    id?: true;
};
export type SubscriptionsSumAggregateInputType = {
    id?: true;
};
export type SubscriptionsMinAggregateInputType = {
    id?: true;
    status?: true;
    date_created?: true;
    date_updated?: true;
    subscription_number?: true;
    start_date?: true;
    end_date?: true;
};
export type SubscriptionsMaxAggregateInputType = {
    id?: true;
    status?: true;
    date_created?: true;
    date_updated?: true;
    subscription_number?: true;
    start_date?: true;
    end_date?: true;
};
export type SubscriptionsCountAggregateInputType = {
    id?: true;
    status?: true;
    date_created?: true;
    date_updated?: true;
    subscription_number?: true;
    start_date?: true;
    end_date?: true;
    _all?: true;
};
export type SubscriptionsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which subscriptions to aggregate.
     */
    where?: Prisma.subscriptionsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of subscriptions to fetch.
     */
    orderBy?: Prisma.subscriptionsOrderByWithRelationInput | Prisma.subscriptionsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.subscriptionsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` subscriptions 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` subscriptions.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned subscriptions
    **/
    _count?: true | SubscriptionsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: SubscriptionsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: SubscriptionsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: SubscriptionsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: SubscriptionsMaxAggregateInputType;
};
export type GetSubscriptionsAggregateType<T extends SubscriptionsAggregateArgs> = {
    [P in keyof T & keyof AggregateSubscriptions]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateSubscriptions[P]> : Prisma.GetScalarType<T[P], AggregateSubscriptions[P]>;
};
export type subscriptionsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.subscriptionsWhereInput;
    orderBy?: Prisma.subscriptionsOrderByWithAggregationInput | Prisma.subscriptionsOrderByWithAggregationInput[];
    by: Prisma.SubscriptionsScalarFieldEnum[] | Prisma.SubscriptionsScalarFieldEnum;
    having?: Prisma.subscriptionsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: SubscriptionsCountAggregateInputType | true;
    _avg?: SubscriptionsAvgAggregateInputType;
    _sum?: SubscriptionsSumAggregateInputType;
    _min?: SubscriptionsMinAggregateInputType;
    _max?: SubscriptionsMaxAggregateInputType;
};
export type SubscriptionsGroupByOutputType = {
    id: number;
    status: string;
    date_created: Date | null;
    date_updated: Date | null;
    subscription_number: string | null;
    start_date: Date | null;
    end_date: Date | null;
    _count: SubscriptionsCountAggregateOutputType | null;
    _avg: SubscriptionsAvgAggregateOutputType | null;
    _sum: SubscriptionsSumAggregateOutputType | null;
    _min: SubscriptionsMinAggregateOutputType | null;
    _max: SubscriptionsMaxAggregateOutputType | null;
};
type GetSubscriptionsGroupByPayload<T extends subscriptionsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<SubscriptionsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof SubscriptionsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], SubscriptionsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], SubscriptionsGroupByOutputType[P]>;
}>>;
export type subscriptionsWhereInput = {
    AND?: Prisma.subscriptionsWhereInput | Prisma.subscriptionsWhereInput[];
    OR?: Prisma.subscriptionsWhereInput[];
    NOT?: Prisma.subscriptionsWhereInput | Prisma.subscriptionsWhereInput[];
    id?: Prisma.IntFilter<"subscriptions"> | number;
    status?: Prisma.StringFilter<"subscriptions"> | string;
    date_created?: Prisma.DateTimeNullableFilter<"subscriptions"> | Date | string | null;
    date_updated?: Prisma.DateTimeNullableFilter<"subscriptions"> | Date | string | null;
    subscription_number?: Prisma.UuidNullableFilter<"subscriptions"> | string | null;
    start_date?: Prisma.DateTimeNullableFilter<"subscriptions"> | Date | string | null;
    end_date?: Prisma.DateTimeNullableFilter<"subscriptions"> | Date | string | null;
    subscriptions_directus_users?: Prisma.Subscriptions_directus_usersListRelationFilter;
    subscriptions_products?: Prisma.Subscriptions_productsListRelationFilter;
};
export type subscriptionsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    status?: Prisma.SortOrder;
    date_created?: Prisma.SortOrderInput | Prisma.SortOrder;
    date_updated?: Prisma.SortOrderInput | Prisma.SortOrder;
    subscription_number?: Prisma.SortOrderInput | Prisma.SortOrder;
    start_date?: Prisma.SortOrderInput | Prisma.SortOrder;
    end_date?: Prisma.SortOrderInput | Prisma.SortOrder;
    subscriptions_directus_users?: Prisma.subscriptions_directus_usersOrderByRelationAggregateInput;
    subscriptions_products?: Prisma.subscriptions_productsOrderByRelationAggregateInput;
};
export type subscriptionsWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.subscriptionsWhereInput | Prisma.subscriptionsWhereInput[];
    OR?: Prisma.subscriptionsWhereInput[];
    NOT?: Prisma.subscriptionsWhereInput | Prisma.subscriptionsWhereInput[];
    status?: Prisma.StringFilter<"subscriptions"> | string;
    date_created?: Prisma.DateTimeNullableFilter<"subscriptions"> | Date | string | null;
    date_updated?: Prisma.DateTimeNullableFilter<"subscriptions"> | Date | string | null;
    subscription_number?: Prisma.UuidNullableFilter<"subscriptions"> | string | null;
    start_date?: Prisma.DateTimeNullableFilter<"subscriptions"> | Date | string | null;
    end_date?: Prisma.DateTimeNullableFilter<"subscriptions"> | Date | string | null;
    subscriptions_directus_users?: Prisma.Subscriptions_directus_usersListRelationFilter;
    subscriptions_products?: Prisma.Subscriptions_productsListRelationFilter;
}, "id">;
export type subscriptionsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    status?: Prisma.SortOrder;
    date_created?: Prisma.SortOrderInput | Prisma.SortOrder;
    date_updated?: Prisma.SortOrderInput | Prisma.SortOrder;
    subscription_number?: Prisma.SortOrderInput | Prisma.SortOrder;
    start_date?: Prisma.SortOrderInput | Prisma.SortOrder;
    end_date?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.subscriptionsCountOrderByAggregateInput;
    _avg?: Prisma.subscriptionsAvgOrderByAggregateInput;
    _max?: Prisma.subscriptionsMaxOrderByAggregateInput;
    _min?: Prisma.subscriptionsMinOrderByAggregateInput;
    _sum?: Prisma.subscriptionsSumOrderByAggregateInput;
};
export type subscriptionsScalarWhereWithAggregatesInput = {
    AND?: Prisma.subscriptionsScalarWhereWithAggregatesInput | Prisma.subscriptionsScalarWhereWithAggregatesInput[];
    OR?: Prisma.subscriptionsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.subscriptionsScalarWhereWithAggregatesInput | Prisma.subscriptionsScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"subscriptions"> | number;
    status?: Prisma.StringWithAggregatesFilter<"subscriptions"> | string;
    date_created?: Prisma.DateTimeNullableWithAggregatesFilter<"subscriptions"> | Date | string | null;
    date_updated?: Prisma.DateTimeNullableWithAggregatesFilter<"subscriptions"> | Date | string | null;
    subscription_number?: Prisma.UuidNullableWithAggregatesFilter<"subscriptions"> | string | null;
    start_date?: Prisma.DateTimeNullableWithAggregatesFilter<"subscriptions"> | Date | string | null;
    end_date?: Prisma.DateTimeNullableWithAggregatesFilter<"subscriptions"> | Date | string | null;
};
export type subscriptionsCreateInput = {
    status?: string;
    date_created?: Date | string | null;
    date_updated?: Date | string | null;
    subscription_number?: string | null;
    start_date?: Date | string | null;
    end_date?: Date | string | null;
    subscriptions_directus_users?: Prisma.subscriptions_directus_usersCreateNestedManyWithoutSubscriptionsInput;
    subscriptions_products?: Prisma.subscriptions_productsCreateNestedManyWithoutSubscriptionsInput;
};
export type subscriptionsUncheckedCreateInput = {
    id?: number;
    status?: string;
    date_created?: Date | string | null;
    date_updated?: Date | string | null;
    subscription_number?: string | null;
    start_date?: Date | string | null;
    end_date?: Date | string | null;
    subscriptions_directus_users?: Prisma.subscriptions_directus_usersUncheckedCreateNestedManyWithoutSubscriptionsInput;
    subscriptions_products?: Prisma.subscriptions_productsUncheckedCreateNestedManyWithoutSubscriptionsInput;
};
export type subscriptionsUpdateInput = {
    status?: Prisma.StringFieldUpdateOperationsInput | string;
    date_created?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    date_updated?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    subscription_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    start_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    end_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    subscriptions_directus_users?: Prisma.subscriptions_directus_usersUpdateManyWithoutSubscriptionsNestedInput;
    subscriptions_products?: Prisma.subscriptions_productsUpdateManyWithoutSubscriptionsNestedInput;
};
export type subscriptionsUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    status?: Prisma.StringFieldUpdateOperationsInput | string;
    date_created?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    date_updated?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    subscription_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    start_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    end_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    subscriptions_directus_users?: Prisma.subscriptions_directus_usersUncheckedUpdateManyWithoutSubscriptionsNestedInput;
    subscriptions_products?: Prisma.subscriptions_productsUncheckedUpdateManyWithoutSubscriptionsNestedInput;
};
export type subscriptionsCreateManyInput = {
    id?: number;
    status?: string;
    date_created?: Date | string | null;
    date_updated?: Date | string | null;
    subscription_number?: string | null;
    start_date?: Date | string | null;
    end_date?: Date | string | null;
};
export type subscriptionsUpdateManyMutationInput = {
    status?: Prisma.StringFieldUpdateOperationsInput | string;
    date_created?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    date_updated?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    subscription_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    start_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    end_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
};
export type subscriptionsUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    status?: Prisma.StringFieldUpdateOperationsInput | string;
    date_created?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    date_updated?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    subscription_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    start_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    end_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
};
export type subscriptionsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    status?: Prisma.SortOrder;
    date_created?: Prisma.SortOrder;
    date_updated?: Prisma.SortOrder;
    subscription_number?: Prisma.SortOrder;
    start_date?: Prisma.SortOrder;
    end_date?: Prisma.SortOrder;
};
export type subscriptionsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
};
export type subscriptionsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    status?: Prisma.SortOrder;
    date_created?: Prisma.SortOrder;
    date_updated?: Prisma.SortOrder;
    subscription_number?: Prisma.SortOrder;
    start_date?: Prisma.SortOrder;
    end_date?: Prisma.SortOrder;
};
export type subscriptionsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    status?: Prisma.SortOrder;
    date_created?: Prisma.SortOrder;
    date_updated?: Prisma.SortOrder;
    subscription_number?: Prisma.SortOrder;
    start_date?: Prisma.SortOrder;
    end_date?: Prisma.SortOrder;
};
export type subscriptionsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
};
export type SubscriptionsNullableScalarRelationFilter = {
    is?: Prisma.subscriptionsWhereInput | null;
    isNot?: Prisma.subscriptionsWhereInput | null;
};
export type subscriptionsCreateNestedOneWithoutSubscriptions_directus_usersInput = {
    create?: Prisma.XOR<Prisma.subscriptionsCreateWithoutSubscriptions_directus_usersInput, Prisma.subscriptionsUncheckedCreateWithoutSubscriptions_directus_usersInput>;
    connectOrCreate?: Prisma.subscriptionsCreateOrConnectWithoutSubscriptions_directus_usersInput;
    connect?: Prisma.subscriptionsWhereUniqueInput;
};
export type subscriptionsUpdateOneWithoutSubscriptions_directus_usersNestedInput = {
    create?: Prisma.XOR<Prisma.subscriptionsCreateWithoutSubscriptions_directus_usersInput, Prisma.subscriptionsUncheckedCreateWithoutSubscriptions_directus_usersInput>;
    connectOrCreate?: Prisma.subscriptionsCreateOrConnectWithoutSubscriptions_directus_usersInput;
    upsert?: Prisma.subscriptionsUpsertWithoutSubscriptions_directus_usersInput;
    disconnect?: Prisma.subscriptionsWhereInput | boolean;
    delete?: Prisma.subscriptionsWhereInput | boolean;
    connect?: Prisma.subscriptionsWhereUniqueInput;
    update?: Prisma.XOR<Prisma.XOR<Prisma.subscriptionsUpdateToOneWithWhereWithoutSubscriptions_directus_usersInput, Prisma.subscriptionsUpdateWithoutSubscriptions_directus_usersInput>, Prisma.subscriptionsUncheckedUpdateWithoutSubscriptions_directus_usersInput>;
};
export type subscriptionsCreateNestedOneWithoutSubscriptions_productsInput = {
    create?: Prisma.XOR<Prisma.subscriptionsCreateWithoutSubscriptions_productsInput, Prisma.subscriptionsUncheckedCreateWithoutSubscriptions_productsInput>;
    connectOrCreate?: Prisma.subscriptionsCreateOrConnectWithoutSubscriptions_productsInput;
    connect?: Prisma.subscriptionsWhereUniqueInput;
};
export type subscriptionsUpdateOneWithoutSubscriptions_productsNestedInput = {
    create?: Prisma.XOR<Prisma.subscriptionsCreateWithoutSubscriptions_productsInput, Prisma.subscriptionsUncheckedCreateWithoutSubscriptions_productsInput>;
    connectOrCreate?: Prisma.subscriptionsCreateOrConnectWithoutSubscriptions_productsInput;
    upsert?: Prisma.subscriptionsUpsertWithoutSubscriptions_productsInput;
    disconnect?: Prisma.subscriptionsWhereInput | boolean;
    delete?: Prisma.subscriptionsWhereInput | boolean;
    connect?: Prisma.subscriptionsWhereUniqueInput;
    update?: Prisma.XOR<Prisma.XOR<Prisma.subscriptionsUpdateToOneWithWhereWithoutSubscriptions_productsInput, Prisma.subscriptionsUpdateWithoutSubscriptions_productsInput>, Prisma.subscriptionsUncheckedUpdateWithoutSubscriptions_productsInput>;
};
export type subscriptionsCreateWithoutSubscriptions_directus_usersInput = {
    status?: string;
    date_created?: Date | string | null;
    date_updated?: Date | string | null;
    subscription_number?: string | null;
    start_date?: Date | string | null;
    end_date?: Date | string | null;
    subscriptions_products?: Prisma.subscriptions_productsCreateNestedManyWithoutSubscriptionsInput;
};
export type subscriptionsUncheckedCreateWithoutSubscriptions_directus_usersInput = {
    id?: number;
    status?: string;
    date_created?: Date | string | null;
    date_updated?: Date | string | null;
    subscription_number?: string | null;
    start_date?: Date | string | null;
    end_date?: Date | string | null;
    subscriptions_products?: Prisma.subscriptions_productsUncheckedCreateNestedManyWithoutSubscriptionsInput;
};
export type subscriptionsCreateOrConnectWithoutSubscriptions_directus_usersInput = {
    where: Prisma.subscriptionsWhereUniqueInput;
    create: Prisma.XOR<Prisma.subscriptionsCreateWithoutSubscriptions_directus_usersInput, Prisma.subscriptionsUncheckedCreateWithoutSubscriptions_directus_usersInput>;
};
export type subscriptionsUpsertWithoutSubscriptions_directus_usersInput = {
    update: Prisma.XOR<Prisma.subscriptionsUpdateWithoutSubscriptions_directus_usersInput, Prisma.subscriptionsUncheckedUpdateWithoutSubscriptions_directus_usersInput>;
    create: Prisma.XOR<Prisma.subscriptionsCreateWithoutSubscriptions_directus_usersInput, Prisma.subscriptionsUncheckedCreateWithoutSubscriptions_directus_usersInput>;
    where?: Prisma.subscriptionsWhereInput;
};
export type subscriptionsUpdateToOneWithWhereWithoutSubscriptions_directus_usersInput = {
    where?: Prisma.subscriptionsWhereInput;
    data: Prisma.XOR<Prisma.subscriptionsUpdateWithoutSubscriptions_directus_usersInput, Prisma.subscriptionsUncheckedUpdateWithoutSubscriptions_directus_usersInput>;
};
export type subscriptionsUpdateWithoutSubscriptions_directus_usersInput = {
    status?: Prisma.StringFieldUpdateOperationsInput | string;
    date_created?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    date_updated?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    subscription_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    start_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    end_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    subscriptions_products?: Prisma.subscriptions_productsUpdateManyWithoutSubscriptionsNestedInput;
};
export type subscriptionsUncheckedUpdateWithoutSubscriptions_directus_usersInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    status?: Prisma.StringFieldUpdateOperationsInput | string;
    date_created?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    date_updated?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    subscription_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    start_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    end_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    subscriptions_products?: Prisma.subscriptions_productsUncheckedUpdateManyWithoutSubscriptionsNestedInput;
};
export type subscriptionsCreateWithoutSubscriptions_productsInput = {
    status?: string;
    date_created?: Date | string | null;
    date_updated?: Date | string | null;
    subscription_number?: string | null;
    start_date?: Date | string | null;
    end_date?: Date | string | null;
    subscriptions_directus_users?: Prisma.subscriptions_directus_usersCreateNestedManyWithoutSubscriptionsInput;
};
export type subscriptionsUncheckedCreateWithoutSubscriptions_productsInput = {
    id?: number;
    status?: string;
    date_created?: Date | string | null;
    date_updated?: Date | string | null;
    subscription_number?: string | null;
    start_date?: Date | string | null;
    end_date?: Date | string | null;
    subscriptions_directus_users?: Prisma.subscriptions_directus_usersUncheckedCreateNestedManyWithoutSubscriptionsInput;
};
export type subscriptionsCreateOrConnectWithoutSubscriptions_productsInput = {
    where: Prisma.subscriptionsWhereUniqueInput;
    create: Prisma.XOR<Prisma.subscriptionsCreateWithoutSubscriptions_productsInput, Prisma.subscriptionsUncheckedCreateWithoutSubscriptions_productsInput>;
};
export type subscriptionsUpsertWithoutSubscriptions_productsInput = {
    update: Prisma.XOR<Prisma.subscriptionsUpdateWithoutSubscriptions_productsInput, Prisma.subscriptionsUncheckedUpdateWithoutSubscriptions_productsInput>;
    create: Prisma.XOR<Prisma.subscriptionsCreateWithoutSubscriptions_productsInput, Prisma.subscriptionsUncheckedCreateWithoutSubscriptions_productsInput>;
    where?: Prisma.subscriptionsWhereInput;
};
export type subscriptionsUpdateToOneWithWhereWithoutSubscriptions_productsInput = {
    where?: Prisma.subscriptionsWhereInput;
    data: Prisma.XOR<Prisma.subscriptionsUpdateWithoutSubscriptions_productsInput, Prisma.subscriptionsUncheckedUpdateWithoutSubscriptions_productsInput>;
};
export type subscriptionsUpdateWithoutSubscriptions_productsInput = {
    status?: Prisma.StringFieldUpdateOperationsInput | string;
    date_created?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    date_updated?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    subscription_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    start_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    end_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    subscriptions_directus_users?: Prisma.subscriptions_directus_usersUpdateManyWithoutSubscriptionsNestedInput;
};
export type subscriptionsUncheckedUpdateWithoutSubscriptions_productsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    status?: Prisma.StringFieldUpdateOperationsInput | string;
    date_created?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    date_updated?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    subscription_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    start_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    end_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    subscriptions_directus_users?: Prisma.subscriptions_directus_usersUncheckedUpdateManyWithoutSubscriptionsNestedInput;
};
/**
 * Count Type SubscriptionsCountOutputType
 */
export type SubscriptionsCountOutputType = {
    subscriptions_directus_users: number;
    subscriptions_products: number;
};
export type SubscriptionsCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    subscriptions_directus_users?: boolean | SubscriptionsCountOutputTypeCountSubscriptions_directus_usersArgs;
    subscriptions_products?: boolean | SubscriptionsCountOutputTypeCountSubscriptions_productsArgs;
};
/**
 * SubscriptionsCountOutputType without action
 */
export type SubscriptionsCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the SubscriptionsCountOutputType
     */
    select?: Prisma.SubscriptionsCountOutputTypeSelect<ExtArgs> | null;
};
/**
 * SubscriptionsCountOutputType without action
 */
export type SubscriptionsCountOutputTypeCountSubscriptions_directus_usersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.subscriptions_directus_usersWhereInput;
};
/**
 * SubscriptionsCountOutputType without action
 */
export type SubscriptionsCountOutputTypeCountSubscriptions_productsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.subscriptions_productsWhereInput;
};
export type subscriptionsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    status?: boolean;
    date_created?: boolean;
    date_updated?: boolean;
    subscription_number?: boolean;
    start_date?: boolean;
    end_date?: boolean;
    subscriptions_directus_users?: boolean | Prisma.subscriptions$subscriptions_directus_usersArgs<ExtArgs>;
    subscriptions_products?: boolean | Prisma.subscriptions$subscriptions_productsArgs<ExtArgs>;
    _count?: boolean | Prisma.SubscriptionsCountOutputTypeDefaultArgs<ExtArgs>;
}, ExtArgs["result"]["subscriptions"]>;
export type subscriptionsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    status?: boolean;
    date_created?: boolean;
    date_updated?: boolean;
    subscription_number?: boolean;
    start_date?: boolean;
    end_date?: boolean;
}, ExtArgs["result"]["subscriptions"]>;
export type subscriptionsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    status?: boolean;
    date_created?: boolean;
    date_updated?: boolean;
    subscription_number?: boolean;
    start_date?: boolean;
    end_date?: boolean;
}, ExtArgs["result"]["subscriptions"]>;
export type subscriptionsSelectScalar = {
    id?: boolean;
    status?: boolean;
    date_created?: boolean;
    date_updated?: boolean;
    subscription_number?: boolean;
    start_date?: boolean;
    end_date?: boolean;
};
export type subscriptionsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "status" | "date_created" | "date_updated" | "subscription_number" | "start_date" | "end_date", ExtArgs["result"]["subscriptions"]>;
export type subscriptionsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    subscriptions_directus_users?: boolean | Prisma.subscriptions$subscriptions_directus_usersArgs<ExtArgs>;
    subscriptions_products?: boolean | Prisma.subscriptions$subscriptions_productsArgs<ExtArgs>;
    _count?: boolean | Prisma.SubscriptionsCountOutputTypeDefaultArgs<ExtArgs>;
};
export type subscriptionsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
export type subscriptionsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
export type $subscriptionsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "subscriptions";
    objects: {
        subscriptions_directus_users: Prisma.$subscriptions_directus_usersPayload<ExtArgs>[];
        subscriptions_products: Prisma.$subscriptions_productsPayload<ExtArgs>[];
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        status: string;
        date_created: Date | null;
        date_updated: Date | null;
        subscription_number: string | null;
        start_date: Date | null;
        end_date: Date | null;
    }, ExtArgs["result"]["subscriptions"]>;
    composites: {};
};
export type subscriptionsGetPayload<S extends boolean | null | undefined | subscriptionsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$subscriptionsPayload, S>;
export type subscriptionsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<subscriptionsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: SubscriptionsCountAggregateInputType | true;
};
export interface subscriptionsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['subscriptions'];
        meta: {
            name: 'subscriptions';
        };
    };
    /**
     * Find zero or one Subscriptions that matches the filter.
     * @param {subscriptionsFindUniqueArgs} args - Arguments to find a Subscriptions
     * @example
     * // Get one Subscriptions
     * const subscriptions = await prisma.subscriptions.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends subscriptionsFindUniqueArgs>(args: Prisma.SelectSubset<T, subscriptionsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__subscriptionsClient<runtime.Types.Result.GetResult<Prisma.$subscriptionsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Subscriptions that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {subscriptionsFindUniqueOrThrowArgs} args - Arguments to find a Subscriptions
     * @example
     * // Get one Subscriptions
     * const subscriptions = await prisma.subscriptions.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends subscriptionsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, subscriptionsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__subscriptionsClient<runtime.Types.Result.GetResult<Prisma.$subscriptionsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Subscriptions 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 {subscriptionsFindFirstArgs} args - Arguments to find a Subscriptions
     * @example
     * // Get one Subscriptions
     * const subscriptions = await prisma.subscriptions.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends subscriptionsFindFirstArgs>(args?: Prisma.SelectSubset<T, subscriptionsFindFirstArgs<ExtArgs>>): Prisma.Prisma__subscriptionsClient<runtime.Types.Result.GetResult<Prisma.$subscriptionsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Subscriptions 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 {subscriptionsFindFirstOrThrowArgs} args - Arguments to find a Subscriptions
     * @example
     * // Get one Subscriptions
     * const subscriptions = await prisma.subscriptions.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends subscriptionsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, subscriptionsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__subscriptionsClient<runtime.Types.Result.GetResult<Prisma.$subscriptionsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Subscriptions 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 {subscriptionsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Subscriptions
     * const subscriptions = await prisma.subscriptions.findMany()
     *
     * // Get first 10 Subscriptions
     * const subscriptions = await prisma.subscriptions.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const subscriptionsWithIdOnly = await prisma.subscriptions.findMany({ select: { id: true } })
     *
     */
    findMany<T extends subscriptionsFindManyArgs>(args?: Prisma.SelectSubset<T, subscriptionsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$subscriptionsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Subscriptions.
     * @param {subscriptionsCreateArgs} args - Arguments to create a Subscriptions.
     * @example
     * // Create one Subscriptions
     * const Subscriptions = await prisma.subscriptions.create({
     *   data: {
     *     // ... data to create a Subscriptions
     *   }
     * })
     *
     */
    create<T extends subscriptionsCreateArgs>(args: Prisma.SelectSubset<T, subscriptionsCreateArgs<ExtArgs>>): Prisma.Prisma__subscriptionsClient<runtime.Types.Result.GetResult<Prisma.$subscriptionsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Subscriptions.
     * @param {subscriptionsCreateManyArgs} args - Arguments to create many Subscriptions.
     * @example
     * // Create many Subscriptions
     * const subscriptions = await prisma.subscriptions.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends subscriptionsCreateManyArgs>(args?: Prisma.SelectSubset<T, subscriptionsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Subscriptions and returns the data saved in the database.
     * @param {subscriptionsCreateManyAndReturnArgs} args - Arguments to create many Subscriptions.
     * @example
     * // Create many Subscriptions
     * const subscriptions = await prisma.subscriptions.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Subscriptions and only return the `id`
     * const subscriptionsWithIdOnly = await prisma.subscriptions.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<T extends subscriptionsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, subscriptionsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$subscriptionsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Subscriptions.
     * @param {subscriptionsDeleteArgs} args - Arguments to delete one Subscriptions.
     * @example
     * // Delete one Subscriptions
     * const Subscriptions = await prisma.subscriptions.delete({
     *   where: {
     *     // ... filter to delete one Subscriptions
     *   }
     * })
     *
     */
    delete<T extends subscriptionsDeleteArgs>(args: Prisma.SelectSubset<T, subscriptionsDeleteArgs<ExtArgs>>): Prisma.Prisma__subscriptionsClient<runtime.Types.Result.GetResult<Prisma.$subscriptionsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Subscriptions.
     * @param {subscriptionsUpdateArgs} args - Arguments to update one Subscriptions.
     * @example
     * // Update one Subscriptions
     * const subscriptions = await prisma.subscriptions.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends subscriptionsUpdateArgs>(args: Prisma.SelectSubset<T, subscriptionsUpdateArgs<ExtArgs>>): Prisma.Prisma__subscriptionsClient<runtime.Types.Result.GetResult<Prisma.$subscriptionsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Subscriptions.
     * @param {subscriptionsDeleteManyArgs} args - Arguments to filter Subscriptions to delete.
     * @example
     * // Delete a few Subscriptions
     * const { count } = await prisma.subscriptions.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends subscriptionsDeleteManyArgs>(args?: Prisma.SelectSubset<T, subscriptionsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Subscriptions.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {subscriptionsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Subscriptions
     * const subscriptions = await prisma.subscriptions.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends subscriptionsUpdateManyArgs>(args: Prisma.SelectSubset<T, subscriptionsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Subscriptions and returns the data updated in the database.
     * @param {subscriptionsUpdateManyAndReturnArgs} args - Arguments to update many Subscriptions.
     * @example
     * // Update many Subscriptions
     * const subscriptions = await prisma.subscriptions.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Subscriptions and only return the `id`
     * const subscriptionsWithIdOnly = await prisma.subscriptions.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<T extends subscriptionsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, subscriptionsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$subscriptionsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Subscriptions.
     * @param {subscriptionsUpsertArgs} args - Arguments to update or create a Subscriptions.
     * @example
     * // Update or create a Subscriptions
     * const subscriptions = await prisma.subscriptions.upsert({
     *   create: {
     *     // ... data to create a Subscriptions
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Subscriptions we want to update
     *   }
     * })
     */
    upsert<T extends subscriptionsUpsertArgs>(args: Prisma.SelectSubset<T, subscriptionsUpsertArgs<ExtArgs>>): Prisma.Prisma__subscriptionsClient<runtime.Types.Result.GetResult<Prisma.$subscriptionsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Subscriptions.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {subscriptionsCountArgs} args - Arguments to filter Subscriptions to count.
     * @example
     * // Count the number of Subscriptions
     * const count = await prisma.subscriptions.count({
     *   where: {
     *     // ... the filter for the Subscriptions we want to count
     *   }
     * })
    **/
    count<T extends subscriptionsCountArgs>(args?: Prisma.Subset<T, subscriptionsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], SubscriptionsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Subscriptions.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {SubscriptionsAggregateArgs} 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<T extends SubscriptionsAggregateArgs>(args: Prisma.Subset<T, SubscriptionsAggregateArgs>): Prisma.PrismaPromise<GetSubscriptionsAggregateType<T>>;
    /**
     * Group by Subscriptions.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {subscriptionsGroupByArgs} 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 subscriptionsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: subscriptionsGroupByArgs['orderBy'];
    } : {
        orderBy?: subscriptionsGroupByArgs['orderBy'];
    }, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, 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<T> ? 'orderBy' extends Prisma.Keys<T> ? 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<T> ? 'orderBy' extends Prisma.Keys<T> ? 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<T, subscriptionsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSubscriptionsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the subscriptions model
     */
    readonly fields: subscriptionsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for subscriptions.
 * 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__subscriptionsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    subscriptions_directus_users<T extends Prisma.subscriptions$subscriptions_directus_usersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.subscriptions$subscriptions_directus_usersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$subscriptions_directus_usersPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
    subscriptions_products<T extends Prisma.subscriptions$subscriptions_productsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.subscriptions$subscriptions_productsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$subscriptions_productsPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
    /**
     * 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
    /**
     * 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<T>;
}
/**
 * Fields of the subscriptions model
 */
export interface subscriptionsFieldRefs {
    readonly id: Prisma.FieldRef<"subscriptions", 'Int'>;
    readonly status: Prisma.FieldRef<"subscriptions", 'String'>;
    readonly date_created: Prisma.FieldRef<"subscriptions", 'DateTime'>;
    readonly date_updated: Prisma.FieldRef<"subscriptions", 'DateTime'>;
    readonly subscription_number: Prisma.FieldRef<"subscriptions", 'String'>;
    readonly start_date: Prisma.FieldRef<"subscriptions", 'DateTime'>;
    readonly end_date: Prisma.FieldRef<"subscriptions", 'DateTime'>;
}
/**
 * subscriptions findUnique
 */
export type subscriptionsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the subscriptions
     */
    select?: Prisma.subscriptionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the subscriptions
     */
    omit?: Prisma.subscriptionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.subscriptionsInclude<ExtArgs> | null;
    /**
     * Filter, which subscriptions to fetch.
     */
    where: Prisma.subscriptionsWhereUniqueInput;
};
/**
 * subscriptions findUniqueOrThrow
 */
export type subscriptionsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the subscriptions
     */
    select?: Prisma.subscriptionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the subscriptions
     */
    omit?: Prisma.subscriptionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.subscriptionsInclude<ExtArgs> | null;
    /**
     * Filter, which subscriptions to fetch.
     */
    where: Prisma.subscriptionsWhereUniqueInput;
};
/**
 * subscriptions findFirst
 */
export type subscriptionsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the subscriptions
     */
    select?: Prisma.subscriptionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the subscriptions
     */
    omit?: Prisma.subscriptionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.subscriptionsInclude<ExtArgs> | null;
    /**
     * Filter, which subscriptions to fetch.
     */
    where?: Prisma.subscriptionsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of subscriptions to fetch.
     */
    orderBy?: Prisma.subscriptionsOrderByWithRelationInput | Prisma.subscriptionsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for subscriptions.
     */
    cursor?: Prisma.subscriptionsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` subscriptions 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` subscriptions.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of subscriptions.
     */
    distinct?: Prisma.SubscriptionsScalarFieldEnum | Prisma.SubscriptionsScalarFieldEnum[];
};
/**
 * subscriptions findFirstOrThrow
 */
export type subscriptionsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the subscriptions
     */
    select?: Prisma.subscriptionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the subscriptions
     */
    omit?: Prisma.subscriptionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.subscriptionsInclude<ExtArgs> | null;
    /**
     * Filter, which subscriptions to fetch.
     */
    where?: Prisma.subscriptionsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of subscriptions to fetch.
     */
    orderBy?: Prisma.subscriptionsOrderByWithRelationInput | Prisma.subscriptionsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for subscriptions.
     */
    cursor?: Prisma.subscriptionsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` subscriptions 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` subscriptions.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of subscriptions.
     */
    distinct?: Prisma.SubscriptionsScalarFieldEnum | Prisma.SubscriptionsScalarFieldEnum[];
};
/**
 * subscriptions findMany
 */
export type subscriptionsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the subscriptions
     */
    select?: Prisma.subscriptionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the subscriptions
     */
    omit?: Prisma.subscriptionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.subscriptionsInclude<ExtArgs> | null;
    /**
     * Filter, which subscriptions to fetch.
     */
    where?: Prisma.subscriptionsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of subscriptions to fetch.
     */
    orderBy?: Prisma.subscriptionsOrderByWithRelationInput | Prisma.subscriptionsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing subscriptions.
     */
    cursor?: Prisma.subscriptionsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` subscriptions 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` subscriptions.
     */
    skip?: number;
    distinct?: Prisma.SubscriptionsScalarFieldEnum | Prisma.SubscriptionsScalarFieldEnum[];
};
/**
 * subscriptions create
 */
export type subscriptionsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the subscriptions
     */
    select?: Prisma.subscriptionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the subscriptions
     */
    omit?: Prisma.subscriptionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.subscriptionsInclude<ExtArgs> | null;
    /**
     * The data needed to create a subscriptions.
     */
    data?: Prisma.XOR<Prisma.subscriptionsCreateInput, Prisma.subscriptionsUncheckedCreateInput>;
};
/**
 * subscriptions createMany
 */
export type subscriptionsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many subscriptions.
     */
    data: Prisma.subscriptionsCreateManyInput | Prisma.subscriptionsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * subscriptions createManyAndReturn
 */
export type subscriptionsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the subscriptions
     */
    select?: Prisma.subscriptionsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the subscriptions
     */
    omit?: Prisma.subscriptionsOmit<ExtArgs> | null;
    /**
     * The data used to create many subscriptions.
     */
    data: Prisma.subscriptionsCreateManyInput | Prisma.subscriptionsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * subscriptions update
 */
export type subscriptionsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the subscriptions
     */
    select?: Prisma.subscriptionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the subscriptions
     */
    omit?: Prisma.subscriptionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.subscriptionsInclude<ExtArgs> | null;
    /**
     * The data needed to update a subscriptions.
     */
    data: Prisma.XOR<Prisma.subscriptionsUpdateInput, Prisma.subscriptionsUncheckedUpdateInput>;
    /**
     * Choose, which subscriptions to update.
     */
    where: Prisma.subscriptionsWhereUniqueInput;
};
/**
 * subscriptions updateMany
 */
export type subscriptionsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update subscriptions.
     */
    data: Prisma.XOR<Prisma.subscriptionsUpdateManyMutationInput, Prisma.subscriptionsUncheckedUpdateManyInput>;
    /**
     * Filter which subscriptions to update
     */
    where?: Prisma.subscriptionsWhereInput;
    /**
     * Limit how many subscriptions to update.
     */
    limit?: number;
};
/**
 * subscriptions updateManyAndReturn
 */
export type subscriptionsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the subscriptions
     */
    select?: Prisma.subscriptionsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the subscriptions
     */
    omit?: Prisma.subscriptionsOmit<ExtArgs> | null;
    /**
     * The data used to update subscriptions.
     */
    data: Prisma.XOR<Prisma.subscriptionsUpdateManyMutationInput, Prisma.subscriptionsUncheckedUpdateManyInput>;
    /**
     * Filter which subscriptions to update
     */
    where?: Prisma.subscriptionsWhereInput;
    /**
     * Limit how many subscriptions to update.
     */
    limit?: number;
};
/**
 * subscriptions upsert
 */
export type subscriptionsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the subscriptions
     */
    select?: Prisma.subscriptionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the subscriptions
     */
    omit?: Prisma.subscriptionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.subscriptionsInclude<ExtArgs> | null;
    /**
     * The filter to search for the subscriptions to update in case it exists.
     */
    where: Prisma.subscriptionsWhereUniqueInput;
    /**
     * In case the subscriptions found by the `where` argument doesn't exist, create a new subscriptions with this data.
     */
    create: Prisma.XOR<Prisma.subscriptionsCreateInput, Prisma.subscriptionsUncheckedCreateInput>;
    /**
     * In case the subscriptions was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.subscriptionsUpdateInput, Prisma.subscriptionsUncheckedUpdateInput>;
};
/**
 * subscriptions delete
 */
export type subscriptionsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the subscriptions
     */
    select?: Prisma.subscriptionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the subscriptions
     */
    omit?: Prisma.subscriptionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.subscriptionsInclude<ExtArgs> | null;
    /**
     * Filter which subscriptions to delete.
     */
    where: Prisma.subscriptionsWhereUniqueInput;
};
/**
 * subscriptions deleteMany
 */
export type subscriptionsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which subscriptions to delete
     */
    where?: Prisma.subscriptionsWhereInput;
    /**
     * Limit how many subscriptions to delete.
     */
    limit?: number;
};
/**
 * subscriptions.subscriptions_directus_users
 */
export type subscriptions$subscriptions_directus_usersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the subscriptions_directus_users
     */
    select?: Prisma.subscriptions_directus_usersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the subscriptions_directus_users
     */
    omit?: Prisma.subscriptions_directus_usersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.subscriptions_directus_usersInclude<ExtArgs> | null;
    where?: Prisma.subscriptions_directus_usersWhereInput;
    orderBy?: Prisma.subscriptions_directus_usersOrderByWithRelationInput | Prisma.subscriptions_directus_usersOrderByWithRelationInput[];
    cursor?: Prisma.subscriptions_directus_usersWhereUniqueInput;
    take?: number;
    skip?: number;
    distinct?: Prisma.Subscriptions_directus_usersScalarFieldEnum | Prisma.Subscriptions_directus_usersScalarFieldEnum[];
};
/**
 * subscriptions.subscriptions_products
 */
export type subscriptions$subscriptions_productsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the subscriptions_products
     */
    select?: Prisma.subscriptions_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the subscriptions_products
     */
    omit?: Prisma.subscriptions_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.subscriptions_productsInclude<ExtArgs> | null;
    where?: Prisma.subscriptions_productsWhereInput;
    orderBy?: Prisma.subscriptions_productsOrderByWithRelationInput | Prisma.subscriptions_productsOrderByWithRelationInput[];
    cursor?: Prisma.subscriptions_productsWhereUniqueInput;
    take?: number;
    skip?: number;
    distinct?: Prisma.Subscriptions_productsScalarFieldEnum | Prisma.Subscriptions_productsScalarFieldEnum[];
};
/**
 * subscriptions without action
 */
export type subscriptionsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the subscriptions
     */
    select?: Prisma.subscriptionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the subscriptions
     */
    omit?: Prisma.subscriptionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.subscriptionsInclude<ExtArgs> | null;
};
export {};
