@danielcok17/prisma-db 1.3.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/prisma/app.prisma +13 -4
- package/prisma/generated/app/edge.js +10 -4
- package/prisma/generated/app/index-browser.js +7 -0
- package/prisma/generated/app/index.d.ts +102 -1
- package/prisma/generated/app/index.js +10 -4
- package/prisma/generated/app/package.json +1 -1
- package/prisma/generated/app/schema.prisma +15 -6
- package/prisma/generated/app/wasm.js +10 -4
- package/prisma/migrations/20260102162551_add_billing_interval/migration.sql +8 -0
- package/prisma/migrations/20260102220947_add_lawyer_pro_tier/migration.sql +2 -0
|
@@ -338,6 +338,7 @@ exports.Prisma.StripeSubscriptionScalarFieldEnum = {
|
|
|
338
338
|
stripeProductId: 'stripeProductId',
|
|
339
339
|
status: 'status',
|
|
340
340
|
tier: 'tier',
|
|
341
|
+
billingInterval: 'billingInterval',
|
|
341
342
|
currentPeriodStart: 'currentPeriodStart',
|
|
342
343
|
currentPeriodEnd: 'currentPeriodEnd',
|
|
343
344
|
cancelAtPeriodEnd: 'cancelAtPeriodEnd',
|
|
@@ -464,6 +465,7 @@ exports.Prisma.JsonNullValueFilter = {
|
|
|
464
465
|
exports.SubscriptionTier = exports.$Enums.SubscriptionTier = {
|
|
465
466
|
FREE: 'FREE',
|
|
466
467
|
LAWYER: 'LAWYER',
|
|
468
|
+
LAWYER_PRO: 'LAWYER_PRO',
|
|
467
469
|
LAW_FIRM: 'LAW_FIRM',
|
|
468
470
|
ENTERPRISE: 'ENTERPRISE'
|
|
469
471
|
};
|
|
@@ -511,6 +513,11 @@ exports.SubscriptionStatus = exports.$Enums.SubscriptionStatus = {
|
|
|
511
513
|
PAUSED: 'PAUSED'
|
|
512
514
|
};
|
|
513
515
|
|
|
516
|
+
exports.BillingInterval = exports.$Enums.BillingInterval = {
|
|
517
|
+
MONTHLY: 'MONTHLY',
|
|
518
|
+
YEARLY: 'YEARLY'
|
|
519
|
+
};
|
|
520
|
+
|
|
514
521
|
exports.WorkflowStatus = exports.$Enums.WorkflowStatus = {
|
|
515
522
|
IN_PROGRESS: 'IN_PROGRESS',
|
|
516
523
|
COMPLETED: 'COMPLETED',
|
|
@@ -192,6 +192,7 @@ export type SubscriptionStatus = (typeof SubscriptionStatus)[keyof typeof Subscr
|
|
|
192
192
|
export const SubscriptionTier: {
|
|
193
193
|
FREE: 'FREE',
|
|
194
194
|
LAWYER: 'LAWYER',
|
|
195
|
+
LAWYER_PRO: 'LAWYER_PRO',
|
|
195
196
|
LAW_FIRM: 'LAW_FIRM',
|
|
196
197
|
ENTERPRISE: 'ENTERPRISE'
|
|
197
198
|
};
|
|
@@ -199,6 +200,14 @@ export const SubscriptionTier: {
|
|
|
199
200
|
export type SubscriptionTier = (typeof SubscriptionTier)[keyof typeof SubscriptionTier]
|
|
200
201
|
|
|
201
202
|
|
|
203
|
+
export const BillingInterval: {
|
|
204
|
+
MONTHLY: 'MONTHLY',
|
|
205
|
+
YEARLY: 'YEARLY'
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
export type BillingInterval = (typeof BillingInterval)[keyof typeof BillingInterval]
|
|
209
|
+
|
|
210
|
+
|
|
202
211
|
export const WorkflowStatus: {
|
|
203
212
|
IN_PROGRESS: 'IN_PROGRESS',
|
|
204
213
|
COMPLETED: 'COMPLETED',
|
|
@@ -260,6 +269,10 @@ export type SubscriptionTier = $Enums.SubscriptionTier
|
|
|
260
269
|
|
|
261
270
|
export const SubscriptionTier: typeof $Enums.SubscriptionTier
|
|
262
271
|
|
|
272
|
+
export type BillingInterval = $Enums.BillingInterval
|
|
273
|
+
|
|
274
|
+
export const BillingInterval: typeof $Enums.BillingInterval
|
|
275
|
+
|
|
263
276
|
export type WorkflowStatus = $Enums.WorkflowStatus
|
|
264
277
|
|
|
265
278
|
export const WorkflowStatus: typeof $Enums.WorkflowStatus
|
|
@@ -20541,6 +20554,7 @@ export namespace Prisma {
|
|
|
20541
20554
|
stripeProductId: string | null
|
|
20542
20555
|
status: $Enums.SubscriptionStatus | null
|
|
20543
20556
|
tier: $Enums.SubscriptionTier | null
|
|
20557
|
+
billingInterval: $Enums.BillingInterval | null
|
|
20544
20558
|
currentPeriodStart: Date | null
|
|
20545
20559
|
currentPeriodEnd: Date | null
|
|
20546
20560
|
cancelAtPeriodEnd: boolean | null
|
|
@@ -20562,6 +20576,7 @@ export namespace Prisma {
|
|
|
20562
20576
|
stripeProductId: string | null
|
|
20563
20577
|
status: $Enums.SubscriptionStatus | null
|
|
20564
20578
|
tier: $Enums.SubscriptionTier | null
|
|
20579
|
+
billingInterval: $Enums.BillingInterval | null
|
|
20565
20580
|
currentPeriodStart: Date | null
|
|
20566
20581
|
currentPeriodEnd: Date | null
|
|
20567
20582
|
cancelAtPeriodEnd: boolean | null
|
|
@@ -20583,6 +20598,7 @@ export namespace Prisma {
|
|
|
20583
20598
|
stripeProductId: number
|
|
20584
20599
|
status: number
|
|
20585
20600
|
tier: number
|
|
20601
|
+
billingInterval: number
|
|
20586
20602
|
currentPeriodStart: number
|
|
20587
20603
|
currentPeriodEnd: number
|
|
20588
20604
|
cancelAtPeriodEnd: number
|
|
@@ -20615,6 +20631,7 @@ export namespace Prisma {
|
|
|
20615
20631
|
stripeProductId?: true
|
|
20616
20632
|
status?: true
|
|
20617
20633
|
tier?: true
|
|
20634
|
+
billingInterval?: true
|
|
20618
20635
|
currentPeriodStart?: true
|
|
20619
20636
|
currentPeriodEnd?: true
|
|
20620
20637
|
cancelAtPeriodEnd?: true
|
|
@@ -20636,6 +20653,7 @@ export namespace Prisma {
|
|
|
20636
20653
|
stripeProductId?: true
|
|
20637
20654
|
status?: true
|
|
20638
20655
|
tier?: true
|
|
20656
|
+
billingInterval?: true
|
|
20639
20657
|
currentPeriodStart?: true
|
|
20640
20658
|
currentPeriodEnd?: true
|
|
20641
20659
|
cancelAtPeriodEnd?: true
|
|
@@ -20657,6 +20675,7 @@ export namespace Prisma {
|
|
|
20657
20675
|
stripeProductId?: true
|
|
20658
20676
|
status?: true
|
|
20659
20677
|
tier?: true
|
|
20678
|
+
billingInterval?: true
|
|
20660
20679
|
currentPeriodStart?: true
|
|
20661
20680
|
currentPeriodEnd?: true
|
|
20662
20681
|
cancelAtPeriodEnd?: true
|
|
@@ -20766,6 +20785,7 @@ export namespace Prisma {
|
|
|
20766
20785
|
stripeProductId: string
|
|
20767
20786
|
status: $Enums.SubscriptionStatus
|
|
20768
20787
|
tier: $Enums.SubscriptionTier
|
|
20788
|
+
billingInterval: $Enums.BillingInterval
|
|
20769
20789
|
currentPeriodStart: Date
|
|
20770
20790
|
currentPeriodEnd: Date
|
|
20771
20791
|
cancelAtPeriodEnd: boolean
|
|
@@ -20807,6 +20827,7 @@ export namespace Prisma {
|
|
|
20807
20827
|
stripeProductId?: boolean
|
|
20808
20828
|
status?: boolean
|
|
20809
20829
|
tier?: boolean
|
|
20830
|
+
billingInterval?: boolean
|
|
20810
20831
|
currentPeriodStart?: boolean
|
|
20811
20832
|
currentPeriodEnd?: boolean
|
|
20812
20833
|
cancelAtPeriodEnd?: boolean
|
|
@@ -20830,6 +20851,7 @@ export namespace Prisma {
|
|
|
20830
20851
|
stripeProductId?: boolean
|
|
20831
20852
|
status?: boolean
|
|
20832
20853
|
tier?: boolean
|
|
20854
|
+
billingInterval?: boolean
|
|
20833
20855
|
currentPeriodStart?: boolean
|
|
20834
20856
|
currentPeriodEnd?: boolean
|
|
20835
20857
|
cancelAtPeriodEnd?: boolean
|
|
@@ -20853,6 +20875,7 @@ export namespace Prisma {
|
|
|
20853
20875
|
stripeProductId?: boolean
|
|
20854
20876
|
status?: boolean
|
|
20855
20877
|
tier?: boolean
|
|
20878
|
+
billingInterval?: boolean
|
|
20856
20879
|
currentPeriodStart?: boolean
|
|
20857
20880
|
currentPeriodEnd?: boolean
|
|
20858
20881
|
cancelAtPeriodEnd?: boolean
|
|
@@ -20876,6 +20899,7 @@ export namespace Prisma {
|
|
|
20876
20899
|
stripeProductId?: boolean
|
|
20877
20900
|
status?: boolean
|
|
20878
20901
|
tier?: boolean
|
|
20902
|
+
billingInterval?: boolean
|
|
20879
20903
|
currentPeriodStart?: boolean
|
|
20880
20904
|
currentPeriodEnd?: boolean
|
|
20881
20905
|
cancelAtPeriodEnd?: boolean
|
|
@@ -20889,7 +20913,7 @@ export namespace Prisma {
|
|
|
20889
20913
|
updatedAt?: boolean
|
|
20890
20914
|
}
|
|
20891
20915
|
|
|
20892
|
-
export type StripeSubscriptionOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "customerId" | "stripeCustomerId" | "stripeSubscriptionId" | "stripePriceId" | "stripeProductId" | "status" | "tier" | "currentPeriodStart" | "currentPeriodEnd" | "cancelAtPeriodEnd" | "canceledAt" | "trialStart" | "trialEnd" | "quantity" | "defaultPaymentMethodId" | "metadata" | "createdAt" | "updatedAt", ExtArgs["result"]["stripeSubscription"]>
|
|
20916
|
+
export type StripeSubscriptionOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "customerId" | "stripeCustomerId" | "stripeSubscriptionId" | "stripePriceId" | "stripeProductId" | "status" | "tier" | "billingInterval" | "currentPeriodStart" | "currentPeriodEnd" | "cancelAtPeriodEnd" | "canceledAt" | "trialStart" | "trialEnd" | "quantity" | "defaultPaymentMethodId" | "metadata" | "createdAt" | "updatedAt", ExtArgs["result"]["stripeSubscription"]>
|
|
20893
20917
|
export type StripeSubscriptionInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
20894
20918
|
customer?: boolean | StripeCustomerDefaultArgs<ExtArgs>
|
|
20895
20919
|
}
|
|
@@ -20914,6 +20938,7 @@ export namespace Prisma {
|
|
|
20914
20938
|
stripeProductId: string
|
|
20915
20939
|
status: $Enums.SubscriptionStatus
|
|
20916
20940
|
tier: $Enums.SubscriptionTier
|
|
20941
|
+
billingInterval: $Enums.BillingInterval
|
|
20917
20942
|
currentPeriodStart: Date
|
|
20918
20943
|
currentPeriodEnd: Date
|
|
20919
20944
|
cancelAtPeriodEnd: boolean
|
|
@@ -21357,6 +21382,7 @@ export namespace Prisma {
|
|
|
21357
21382
|
readonly stripeProductId: FieldRef<"StripeSubscription", 'String'>
|
|
21358
21383
|
readonly status: FieldRef<"StripeSubscription", 'SubscriptionStatus'>
|
|
21359
21384
|
readonly tier: FieldRef<"StripeSubscription", 'SubscriptionTier'>
|
|
21385
|
+
readonly billingInterval: FieldRef<"StripeSubscription", 'BillingInterval'>
|
|
21360
21386
|
readonly currentPeriodStart: FieldRef<"StripeSubscription", 'DateTime'>
|
|
21361
21387
|
readonly currentPeriodEnd: FieldRef<"StripeSubscription", 'DateTime'>
|
|
21362
21388
|
readonly cancelAtPeriodEnd: FieldRef<"StripeSubscription", 'Boolean'>
|
|
@@ -29846,6 +29872,7 @@ export namespace Prisma {
|
|
|
29846
29872
|
stripeProductId: 'stripeProductId',
|
|
29847
29873
|
status: 'status',
|
|
29848
29874
|
tier: 'tier',
|
|
29875
|
+
billingInterval: 'billingInterval',
|
|
29849
29876
|
currentPeriodStart: 'currentPeriodStart',
|
|
29850
29877
|
currentPeriodEnd: 'currentPeriodEnd',
|
|
29851
29878
|
cancelAtPeriodEnd: 'cancelAtPeriodEnd',
|
|
@@ -30192,6 +30219,20 @@ export namespace Prisma {
|
|
|
30192
30219
|
|
|
30193
30220
|
|
|
30194
30221
|
|
|
30222
|
+
/**
|
|
30223
|
+
* Reference to a field of type 'BillingInterval'
|
|
30224
|
+
*/
|
|
30225
|
+
export type EnumBillingIntervalFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'BillingInterval'>
|
|
30226
|
+
|
|
30227
|
+
|
|
30228
|
+
|
|
30229
|
+
/**
|
|
30230
|
+
* Reference to a field of type 'BillingInterval[]'
|
|
30231
|
+
*/
|
|
30232
|
+
export type ListEnumBillingIntervalFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'BillingInterval[]'>
|
|
30233
|
+
|
|
30234
|
+
|
|
30235
|
+
|
|
30195
30236
|
/**
|
|
30196
30237
|
* Reference to a field of type 'WorkflowStatus'
|
|
30197
30238
|
*/
|
|
@@ -31614,6 +31655,7 @@ export namespace Prisma {
|
|
|
31614
31655
|
stripeProductId?: StringFilter<"StripeSubscription"> | string
|
|
31615
31656
|
status?: EnumSubscriptionStatusFilter<"StripeSubscription"> | $Enums.SubscriptionStatus
|
|
31616
31657
|
tier?: EnumSubscriptionTierFilter<"StripeSubscription"> | $Enums.SubscriptionTier
|
|
31658
|
+
billingInterval?: EnumBillingIntervalFilter<"StripeSubscription"> | $Enums.BillingInterval
|
|
31617
31659
|
currentPeriodStart?: DateTimeFilter<"StripeSubscription"> | Date | string
|
|
31618
31660
|
currentPeriodEnd?: DateTimeFilter<"StripeSubscription"> | Date | string
|
|
31619
31661
|
cancelAtPeriodEnd?: BoolFilter<"StripeSubscription"> | boolean
|
|
@@ -31637,6 +31679,7 @@ export namespace Prisma {
|
|
|
31637
31679
|
stripeProductId?: SortOrder
|
|
31638
31680
|
status?: SortOrder
|
|
31639
31681
|
tier?: SortOrder
|
|
31682
|
+
billingInterval?: SortOrder
|
|
31640
31683
|
currentPeriodStart?: SortOrder
|
|
31641
31684
|
currentPeriodEnd?: SortOrder
|
|
31642
31685
|
cancelAtPeriodEnd?: SortOrder
|
|
@@ -31663,6 +31706,7 @@ export namespace Prisma {
|
|
|
31663
31706
|
stripeProductId?: StringFilter<"StripeSubscription"> | string
|
|
31664
31707
|
status?: EnumSubscriptionStatusFilter<"StripeSubscription"> | $Enums.SubscriptionStatus
|
|
31665
31708
|
tier?: EnumSubscriptionTierFilter<"StripeSubscription"> | $Enums.SubscriptionTier
|
|
31709
|
+
billingInterval?: EnumBillingIntervalFilter<"StripeSubscription"> | $Enums.BillingInterval
|
|
31666
31710
|
currentPeriodStart?: DateTimeFilter<"StripeSubscription"> | Date | string
|
|
31667
31711
|
currentPeriodEnd?: DateTimeFilter<"StripeSubscription"> | Date | string
|
|
31668
31712
|
cancelAtPeriodEnd?: BoolFilter<"StripeSubscription"> | boolean
|
|
@@ -31686,6 +31730,7 @@ export namespace Prisma {
|
|
|
31686
31730
|
stripeProductId?: SortOrder
|
|
31687
31731
|
status?: SortOrder
|
|
31688
31732
|
tier?: SortOrder
|
|
31733
|
+
billingInterval?: SortOrder
|
|
31689
31734
|
currentPeriodStart?: SortOrder
|
|
31690
31735
|
currentPeriodEnd?: SortOrder
|
|
31691
31736
|
cancelAtPeriodEnd?: SortOrder
|
|
@@ -31716,6 +31761,7 @@ export namespace Prisma {
|
|
|
31716
31761
|
stripeProductId?: StringWithAggregatesFilter<"StripeSubscription"> | string
|
|
31717
31762
|
status?: EnumSubscriptionStatusWithAggregatesFilter<"StripeSubscription"> | $Enums.SubscriptionStatus
|
|
31718
31763
|
tier?: EnumSubscriptionTierWithAggregatesFilter<"StripeSubscription"> | $Enums.SubscriptionTier
|
|
31764
|
+
billingInterval?: EnumBillingIntervalWithAggregatesFilter<"StripeSubscription"> | $Enums.BillingInterval
|
|
31719
31765
|
currentPeriodStart?: DateTimeWithAggregatesFilter<"StripeSubscription"> | Date | string
|
|
31720
31766
|
currentPeriodEnd?: DateTimeWithAggregatesFilter<"StripeSubscription"> | Date | string
|
|
31721
31767
|
cancelAtPeriodEnd?: BoolWithAggregatesFilter<"StripeSubscription"> | boolean
|
|
@@ -33808,6 +33854,7 @@ export namespace Prisma {
|
|
|
33808
33854
|
stripeProductId: string
|
|
33809
33855
|
status: $Enums.SubscriptionStatus
|
|
33810
33856
|
tier?: $Enums.SubscriptionTier
|
|
33857
|
+
billingInterval?: $Enums.BillingInterval
|
|
33811
33858
|
currentPeriodStart: Date | string
|
|
33812
33859
|
currentPeriodEnd: Date | string
|
|
33813
33860
|
cancelAtPeriodEnd?: boolean
|
|
@@ -33831,6 +33878,7 @@ export namespace Prisma {
|
|
|
33831
33878
|
stripeProductId: string
|
|
33832
33879
|
status: $Enums.SubscriptionStatus
|
|
33833
33880
|
tier?: $Enums.SubscriptionTier
|
|
33881
|
+
billingInterval?: $Enums.BillingInterval
|
|
33834
33882
|
currentPeriodStart: Date | string
|
|
33835
33883
|
currentPeriodEnd: Date | string
|
|
33836
33884
|
cancelAtPeriodEnd?: boolean
|
|
@@ -33852,6 +33900,7 @@ export namespace Prisma {
|
|
|
33852
33900
|
stripeProductId?: StringFieldUpdateOperationsInput | string
|
|
33853
33901
|
status?: EnumSubscriptionStatusFieldUpdateOperationsInput | $Enums.SubscriptionStatus
|
|
33854
33902
|
tier?: EnumSubscriptionTierFieldUpdateOperationsInput | $Enums.SubscriptionTier
|
|
33903
|
+
billingInterval?: EnumBillingIntervalFieldUpdateOperationsInput | $Enums.BillingInterval
|
|
33855
33904
|
currentPeriodStart?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
33856
33905
|
currentPeriodEnd?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
33857
33906
|
cancelAtPeriodEnd?: BoolFieldUpdateOperationsInput | boolean
|
|
@@ -33875,6 +33924,7 @@ export namespace Prisma {
|
|
|
33875
33924
|
stripeProductId?: StringFieldUpdateOperationsInput | string
|
|
33876
33925
|
status?: EnumSubscriptionStatusFieldUpdateOperationsInput | $Enums.SubscriptionStatus
|
|
33877
33926
|
tier?: EnumSubscriptionTierFieldUpdateOperationsInput | $Enums.SubscriptionTier
|
|
33927
|
+
billingInterval?: EnumBillingIntervalFieldUpdateOperationsInput | $Enums.BillingInterval
|
|
33878
33928
|
currentPeriodStart?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
33879
33929
|
currentPeriodEnd?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
33880
33930
|
cancelAtPeriodEnd?: BoolFieldUpdateOperationsInput | boolean
|
|
@@ -33897,6 +33947,7 @@ export namespace Prisma {
|
|
|
33897
33947
|
stripeProductId: string
|
|
33898
33948
|
status: $Enums.SubscriptionStatus
|
|
33899
33949
|
tier?: $Enums.SubscriptionTier
|
|
33950
|
+
billingInterval?: $Enums.BillingInterval
|
|
33900
33951
|
currentPeriodStart: Date | string
|
|
33901
33952
|
currentPeriodEnd: Date | string
|
|
33902
33953
|
cancelAtPeriodEnd?: boolean
|
|
@@ -33918,6 +33969,7 @@ export namespace Prisma {
|
|
|
33918
33969
|
stripeProductId?: StringFieldUpdateOperationsInput | string
|
|
33919
33970
|
status?: EnumSubscriptionStatusFieldUpdateOperationsInput | $Enums.SubscriptionStatus
|
|
33920
33971
|
tier?: EnumSubscriptionTierFieldUpdateOperationsInput | $Enums.SubscriptionTier
|
|
33972
|
+
billingInterval?: EnumBillingIntervalFieldUpdateOperationsInput | $Enums.BillingInterval
|
|
33921
33973
|
currentPeriodStart?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
33922
33974
|
currentPeriodEnd?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
33923
33975
|
cancelAtPeriodEnd?: BoolFieldUpdateOperationsInput | boolean
|
|
@@ -33940,6 +33992,7 @@ export namespace Prisma {
|
|
|
33940
33992
|
stripeProductId?: StringFieldUpdateOperationsInput | string
|
|
33941
33993
|
status?: EnumSubscriptionStatusFieldUpdateOperationsInput | $Enums.SubscriptionStatus
|
|
33942
33994
|
tier?: EnumSubscriptionTierFieldUpdateOperationsInput | $Enums.SubscriptionTier
|
|
33995
|
+
billingInterval?: EnumBillingIntervalFieldUpdateOperationsInput | $Enums.BillingInterval
|
|
33943
33996
|
currentPeriodStart?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
33944
33997
|
currentPeriodEnd?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
33945
33998
|
cancelAtPeriodEnd?: BoolFieldUpdateOperationsInput | boolean
|
|
@@ -35817,6 +35870,13 @@ export namespace Prisma {
|
|
|
35817
35870
|
not?: NestedEnumSubscriptionStatusFilter<$PrismaModel> | $Enums.SubscriptionStatus
|
|
35818
35871
|
}
|
|
35819
35872
|
|
|
35873
|
+
export type EnumBillingIntervalFilter<$PrismaModel = never> = {
|
|
35874
|
+
equals?: $Enums.BillingInterval | EnumBillingIntervalFieldRefInput<$PrismaModel>
|
|
35875
|
+
in?: $Enums.BillingInterval[] | ListEnumBillingIntervalFieldRefInput<$PrismaModel>
|
|
35876
|
+
notIn?: $Enums.BillingInterval[] | ListEnumBillingIntervalFieldRefInput<$PrismaModel>
|
|
35877
|
+
not?: NestedEnumBillingIntervalFilter<$PrismaModel> | $Enums.BillingInterval
|
|
35878
|
+
}
|
|
35879
|
+
|
|
35820
35880
|
export type StripeCustomerScalarRelationFilter = {
|
|
35821
35881
|
is?: StripeCustomerWhereInput
|
|
35822
35882
|
isNot?: StripeCustomerWhereInput
|
|
@@ -35831,6 +35891,7 @@ export namespace Prisma {
|
|
|
35831
35891
|
stripeProductId?: SortOrder
|
|
35832
35892
|
status?: SortOrder
|
|
35833
35893
|
tier?: SortOrder
|
|
35894
|
+
billingInterval?: SortOrder
|
|
35834
35895
|
currentPeriodStart?: SortOrder
|
|
35835
35896
|
currentPeriodEnd?: SortOrder
|
|
35836
35897
|
cancelAtPeriodEnd?: SortOrder
|
|
@@ -35857,6 +35918,7 @@ export namespace Prisma {
|
|
|
35857
35918
|
stripeProductId?: SortOrder
|
|
35858
35919
|
status?: SortOrder
|
|
35859
35920
|
tier?: SortOrder
|
|
35921
|
+
billingInterval?: SortOrder
|
|
35860
35922
|
currentPeriodStart?: SortOrder
|
|
35861
35923
|
currentPeriodEnd?: SortOrder
|
|
35862
35924
|
cancelAtPeriodEnd?: SortOrder
|
|
@@ -35878,6 +35940,7 @@ export namespace Prisma {
|
|
|
35878
35940
|
stripeProductId?: SortOrder
|
|
35879
35941
|
status?: SortOrder
|
|
35880
35942
|
tier?: SortOrder
|
|
35943
|
+
billingInterval?: SortOrder
|
|
35881
35944
|
currentPeriodStart?: SortOrder
|
|
35882
35945
|
currentPeriodEnd?: SortOrder
|
|
35883
35946
|
cancelAtPeriodEnd?: SortOrder
|
|
@@ -35903,6 +35966,16 @@ export namespace Prisma {
|
|
|
35903
35966
|
_min?: NestedEnumSubscriptionStatusFilter<$PrismaModel>
|
|
35904
35967
|
_max?: NestedEnumSubscriptionStatusFilter<$PrismaModel>
|
|
35905
35968
|
}
|
|
35969
|
+
|
|
35970
|
+
export type EnumBillingIntervalWithAggregatesFilter<$PrismaModel = never> = {
|
|
35971
|
+
equals?: $Enums.BillingInterval | EnumBillingIntervalFieldRefInput<$PrismaModel>
|
|
35972
|
+
in?: $Enums.BillingInterval[] | ListEnumBillingIntervalFieldRefInput<$PrismaModel>
|
|
35973
|
+
notIn?: $Enums.BillingInterval[] | ListEnumBillingIntervalFieldRefInput<$PrismaModel>
|
|
35974
|
+
not?: NestedEnumBillingIntervalWithAggregatesFilter<$PrismaModel> | $Enums.BillingInterval
|
|
35975
|
+
_count?: NestedIntFilter<$PrismaModel>
|
|
35976
|
+
_min?: NestedEnumBillingIntervalFilter<$PrismaModel>
|
|
35977
|
+
_max?: NestedEnumBillingIntervalFilter<$PrismaModel>
|
|
35978
|
+
}
|
|
35906
35979
|
export type JsonFilter<$PrismaModel = never> =
|
|
35907
35980
|
| PatchUndefined<
|
|
35908
35981
|
Either<Required<JsonFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonFilterBase<$PrismaModel>>, 'path'>>,
|
|
@@ -37697,6 +37770,10 @@ export namespace Prisma {
|
|
|
37697
37770
|
set?: $Enums.SubscriptionStatus
|
|
37698
37771
|
}
|
|
37699
37772
|
|
|
37773
|
+
export type EnumBillingIntervalFieldUpdateOperationsInput = {
|
|
37774
|
+
set?: $Enums.BillingInterval
|
|
37775
|
+
}
|
|
37776
|
+
|
|
37700
37777
|
export type StripeCustomerUpdateOneRequiredWithoutSubscriptionsNestedInput = {
|
|
37701
37778
|
create?: XOR<StripeCustomerCreateWithoutSubscriptionsInput, StripeCustomerUncheckedCreateWithoutSubscriptionsInput>
|
|
37702
37779
|
connectOrCreate?: StripeCustomerCreateOrConnectWithoutSubscriptionsInput
|
|
@@ -38226,6 +38303,13 @@ export namespace Prisma {
|
|
|
38226
38303
|
not?: NestedEnumSubscriptionStatusFilter<$PrismaModel> | $Enums.SubscriptionStatus
|
|
38227
38304
|
}
|
|
38228
38305
|
|
|
38306
|
+
export type NestedEnumBillingIntervalFilter<$PrismaModel = never> = {
|
|
38307
|
+
equals?: $Enums.BillingInterval | EnumBillingIntervalFieldRefInput<$PrismaModel>
|
|
38308
|
+
in?: $Enums.BillingInterval[] | ListEnumBillingIntervalFieldRefInput<$PrismaModel>
|
|
38309
|
+
notIn?: $Enums.BillingInterval[] | ListEnumBillingIntervalFieldRefInput<$PrismaModel>
|
|
38310
|
+
not?: NestedEnumBillingIntervalFilter<$PrismaModel> | $Enums.BillingInterval
|
|
38311
|
+
}
|
|
38312
|
+
|
|
38229
38313
|
export type NestedEnumSubscriptionStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
38230
38314
|
equals?: $Enums.SubscriptionStatus | EnumSubscriptionStatusFieldRefInput<$PrismaModel>
|
|
38231
38315
|
in?: $Enums.SubscriptionStatus[] | ListEnumSubscriptionStatusFieldRefInput<$PrismaModel>
|
|
@@ -38235,6 +38319,16 @@ export namespace Prisma {
|
|
|
38235
38319
|
_min?: NestedEnumSubscriptionStatusFilter<$PrismaModel>
|
|
38236
38320
|
_max?: NestedEnumSubscriptionStatusFilter<$PrismaModel>
|
|
38237
38321
|
}
|
|
38322
|
+
|
|
38323
|
+
export type NestedEnumBillingIntervalWithAggregatesFilter<$PrismaModel = never> = {
|
|
38324
|
+
equals?: $Enums.BillingInterval | EnumBillingIntervalFieldRefInput<$PrismaModel>
|
|
38325
|
+
in?: $Enums.BillingInterval[] | ListEnumBillingIntervalFieldRefInput<$PrismaModel>
|
|
38326
|
+
notIn?: $Enums.BillingInterval[] | ListEnumBillingIntervalFieldRefInput<$PrismaModel>
|
|
38327
|
+
not?: NestedEnumBillingIntervalWithAggregatesFilter<$PrismaModel> | $Enums.BillingInterval
|
|
38328
|
+
_count?: NestedIntFilter<$PrismaModel>
|
|
38329
|
+
_min?: NestedEnumBillingIntervalFilter<$PrismaModel>
|
|
38330
|
+
_max?: NestedEnumBillingIntervalFilter<$PrismaModel>
|
|
38331
|
+
}
|
|
38238
38332
|
export type NestedJsonFilter<$PrismaModel = never> =
|
|
38239
38333
|
| PatchUndefined<
|
|
38240
38334
|
Either<Required<NestedJsonFilterBase<$PrismaModel>>, Exclude<keyof Required<NestedJsonFilterBase<$PrismaModel>>, 'path'>>,
|
|
@@ -42167,6 +42261,7 @@ export namespace Prisma {
|
|
|
42167
42261
|
stripeProductId: string
|
|
42168
42262
|
status: $Enums.SubscriptionStatus
|
|
42169
42263
|
tier?: $Enums.SubscriptionTier
|
|
42264
|
+
billingInterval?: $Enums.BillingInterval
|
|
42170
42265
|
currentPeriodStart: Date | string
|
|
42171
42266
|
currentPeriodEnd: Date | string
|
|
42172
42267
|
cancelAtPeriodEnd?: boolean
|
|
@@ -42188,6 +42283,7 @@ export namespace Prisma {
|
|
|
42188
42283
|
stripeProductId: string
|
|
42189
42284
|
status: $Enums.SubscriptionStatus
|
|
42190
42285
|
tier?: $Enums.SubscriptionTier
|
|
42286
|
+
billingInterval?: $Enums.BillingInterval
|
|
42191
42287
|
currentPeriodStart: Date | string
|
|
42192
42288
|
currentPeriodEnd: Date | string
|
|
42193
42289
|
cancelAtPeriodEnd?: boolean
|
|
@@ -42425,6 +42521,7 @@ export namespace Prisma {
|
|
|
42425
42521
|
stripeProductId?: StringFilter<"StripeSubscription"> | string
|
|
42426
42522
|
status?: EnumSubscriptionStatusFilter<"StripeSubscription"> | $Enums.SubscriptionStatus
|
|
42427
42523
|
tier?: EnumSubscriptionTierFilter<"StripeSubscription"> | $Enums.SubscriptionTier
|
|
42524
|
+
billingInterval?: EnumBillingIntervalFilter<"StripeSubscription"> | $Enums.BillingInterval
|
|
42428
42525
|
currentPeriodStart?: DateTimeFilter<"StripeSubscription"> | Date | string
|
|
42429
42526
|
currentPeriodEnd?: DateTimeFilter<"StripeSubscription"> | Date | string
|
|
42430
42527
|
cancelAtPeriodEnd?: BoolFilter<"StripeSubscription"> | boolean
|
|
@@ -44505,6 +44602,7 @@ export namespace Prisma {
|
|
|
44505
44602
|
stripeProductId: string
|
|
44506
44603
|
status: $Enums.SubscriptionStatus
|
|
44507
44604
|
tier?: $Enums.SubscriptionTier
|
|
44605
|
+
billingInterval?: $Enums.BillingInterval
|
|
44508
44606
|
currentPeriodStart: Date | string
|
|
44509
44607
|
currentPeriodEnd: Date | string
|
|
44510
44608
|
cancelAtPeriodEnd?: boolean
|
|
@@ -44541,6 +44639,7 @@ export namespace Prisma {
|
|
|
44541
44639
|
stripeProductId?: StringFieldUpdateOperationsInput | string
|
|
44542
44640
|
status?: EnumSubscriptionStatusFieldUpdateOperationsInput | $Enums.SubscriptionStatus
|
|
44543
44641
|
tier?: EnumSubscriptionTierFieldUpdateOperationsInput | $Enums.SubscriptionTier
|
|
44642
|
+
billingInterval?: EnumBillingIntervalFieldUpdateOperationsInput | $Enums.BillingInterval
|
|
44544
44643
|
currentPeriodStart?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
44545
44644
|
currentPeriodEnd?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
44546
44645
|
cancelAtPeriodEnd?: BoolFieldUpdateOperationsInput | boolean
|
|
@@ -44562,6 +44661,7 @@ export namespace Prisma {
|
|
|
44562
44661
|
stripeProductId?: StringFieldUpdateOperationsInput | string
|
|
44563
44662
|
status?: EnumSubscriptionStatusFieldUpdateOperationsInput | $Enums.SubscriptionStatus
|
|
44564
44663
|
tier?: EnumSubscriptionTierFieldUpdateOperationsInput | $Enums.SubscriptionTier
|
|
44664
|
+
billingInterval?: EnumBillingIntervalFieldUpdateOperationsInput | $Enums.BillingInterval
|
|
44565
44665
|
currentPeriodStart?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
44566
44666
|
currentPeriodEnd?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
44567
44667
|
cancelAtPeriodEnd?: BoolFieldUpdateOperationsInput | boolean
|
|
@@ -44583,6 +44683,7 @@ export namespace Prisma {
|
|
|
44583
44683
|
stripeProductId?: StringFieldUpdateOperationsInput | string
|
|
44584
44684
|
status?: EnumSubscriptionStatusFieldUpdateOperationsInput | $Enums.SubscriptionStatus
|
|
44585
44685
|
tier?: EnumSubscriptionTierFieldUpdateOperationsInput | $Enums.SubscriptionTier
|
|
44686
|
+
billingInterval?: EnumBillingIntervalFieldUpdateOperationsInput | $Enums.BillingInterval
|
|
44586
44687
|
currentPeriodStart?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
44587
44688
|
currentPeriodEnd?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
44588
44689
|
cancelAtPeriodEnd?: BoolFieldUpdateOperationsInput | boolean
|