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